aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2010-02-16 15:51:15 +0900
committerKenichi Handa2010-02-16 15:51:15 +0900
commita622127f2bb84962ca65daf4dbee25ae723122de (patch)
tree319f0527357561aec14a25e308abbbc99995d1ca
parentfa6ea913cb32e92839590f40c696b42a613f47cc (diff)
parentdc4d62739d4f483514c9763edea82e5858fa0460 (diff)
downloademacs-a622127f2bb84962ca65daf4dbee25ae723122de.tar.gz
emacs-a622127f2bb84962ca65daf4dbee25ae723122de.zip
from trunk
-rw-r--r--doc/lispintro/ChangeLog4
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi21
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/nxml-mode.texi2
-rw-r--r--lisp/ChangeLog21
-rw-r--r--lisp/emacs-lisp/advice.el4
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/message.el18
-rw-r--r--lisp/net/tramp-cache.el7
-rw-r--r--lisp/net/tramp-gvfs.el3
-rw-r--r--lisp/net/tramp.el48
-rw-r--r--lisp/textmodes/tex-mode.el6
12 files changed, 99 insertions, 44 deletions
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog
index c22d7523fa0..e683cc1054f 100644
--- a/doc/lispintro/ChangeLog
+++ b/doc/lispintro/ChangeLog
@@ -1,3 +1,7 @@
12010-02-16 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp-intro.texi: Fix typo in name of `find-tag' command.
4
12010-02-01 Stefan Monnier <monnier@iro.umontreal.ca> 52010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * emacs-lisp-intro.texi (Text and Auto-fill, Mode Line): 7 * emacs-lisp-intro.texi (Text and Auto-fill, Mode Line):
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 5efbb81ee1b..a785f964660 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -229,7 +229,8 @@ people who are not programmers.
229Edition @value{edition-number}, @value{update-date} 229Edition @value{edition-number}, @value{update-date}
230@sp 1 230@sp 1
231Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2001, 231Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2001,
232 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 232 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
233 Free Software Foundation, Inc.
233@sp 1 234@sp 1
234 235
235@iftex 236@iftex
@@ -4732,16 +4733,16 @@ definition.
4732@end ignore 4733@end ignore
4733 4734
4734More generally, if you want to see a function in its original source 4735More generally, if you want to see a function in its original source
4735file, you can use the @code{find-tags} function to jump to it. 4736file, you can use the @code{find-tag} function to jump to it.
4736@code{find-tags} works with a wide variety of languages, not just 4737@code{find-tag} works with a wide variety of languages, not just
4737Lisp, and C, and it works with non-programming text as well. For 4738Lisp, and C, and it works with non-programming text as well. For
4738example, @code{find-tags} will jump to the various nodes in the 4739example, @code{find-tag} will jump to the various nodes in the
4739Texinfo source file of this document. 4740Texinfo source file of this document.
4740The @code{find-tags} function depends on `tags tables' that record 4741The @code{find-tag} function depends on `tags tables' that record
4741the locations of the functions, variables, and other items to which 4742the locations of the functions, variables, and other items to which
4742@code{find-tags} jumps. 4743@code{find-tag} jumps.
4743 4744
4744To use the @code{find-tags} command, type @kbd{M-.} (i.e., press the 4745To use the @code{find-tag} command, type @kbd{M-.} (i.e., press the
4745period key while holding down the @key{META} key, or else type the 4746period key while holding down the @key{META} key, or else type the
4746@key{ESC} key and then type the period key), and then, at the prompt, 4747@key{ESC} key and then type the period key), and then, at the prompt,
4747type in the name of the function whose source code you want to see, 4748type in the name of the function whose source code you want to see,
@@ -4753,7 +4754,7 @@ screen. To switch back to your current buffer, type @kbd{C-x b
4753 4754
4754@c !!! 22.1.1 tags table location in this paragraph 4755@c !!! 22.1.1 tags table location in this paragraph
4755@cindex TAGS table, specifying 4756@cindex TAGS table, specifying
4756@findex find-tags 4757@findex find-tag
4757Depending on how the initial default values of your copy of Emacs are 4758Depending on how the initial default values of your copy of Emacs are
4758set, you may also need to specify the location of your `tags table', 4759set, you may also need to specify the location of your `tags table',
4759which is a file called @file{TAGS}. For example, if you are 4760which is a file called @file{TAGS}. For example, if you are
@@ -4778,7 +4779,7 @@ M-x compile RET etags *.el RET
4778For more information, see @ref{etags, , Create Your Own @file{TAGS} File}. 4779For more information, see @ref{etags, , Create Your Own @file{TAGS} File}.
4779 4780
4780After you become more familiar with Emacs Lisp, you will find that you will 4781After you become more familiar with Emacs Lisp, you will find that you will
4781frequently use @code{find-tags} to navigate your way around source code; 4782frequently use @code{find-tag} to navigate your way around source code;
4782and you will create your own @file{TAGS} tables. 4783and you will create your own @file{TAGS} tables.
4783 4784
4784@cindex Library, as term for `file' 4785@cindex Library, as term for `file'
@@ -18961,7 +18962,7 @@ introduction, it comes as a Texinfo source file, so you can read it
18961on-line and as a typeset, printed book.) 18962on-line and as a typeset, printed book.)
18962 18963
18963Go to the other on-line help that is part of GNU Emacs: the on-line 18964Go to the other on-line help that is part of GNU Emacs: the on-line
18964documentation for all functions and variables, and @code{find-tags}, 18965documentation for all functions and variables, and @code{find-tag},
18965the program that takes you to sources. 18966the program that takes you to sources.
18966 18967
18967Here is an example of how I explore the sources. Because of its name, 18968Here is an example of how I explore the sources. Because of its name,
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 9560073251b..7c9dd36e953 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12010-02-16 Glenn Morris <rgm@gnu.org>
2
3 * nxml-mode.texi (Commands for locating a schema): Fix keybinding.
4
12010-02-05 Mark A. Hershberger <mah@everybody.org> 52010-02-05 Mark A. Hershberger <mah@everybody.org>
2 6
3 * ede.texi, eieio.texi, semantic.texi: Use standard direntry format. 7 * ede.texi, eieio.texi, semantic.texi: Use standard direntry format.
diff --git a/doc/misc/nxml-mode.texi b/doc/misc/nxml-mode.texi
index 2dc36588350..c1ea64fe9a9 100644
--- a/doc/misc/nxml-mode.texi
+++ b/doc/misc/nxml-mode.texi
@@ -512,7 +512,7 @@ The rules for locating a schema are applied automatically when
512you visit a file in nXML mode. However, if you have just created a new 512you visit a file in nXML mode. However, if you have just created a new
513file and the schema cannot be inferred from the file-name, then this 513file and the schema cannot be inferred from the file-name, then this
514will not locate the right schema. In this case, you should insert the 514will not locate the right schema. In this case, you should insert the
515start-tag of the root element and then use the command @kbd{C-c 515start-tag of the root element and then use the command @kbd{C-c C-s
516C-a}, which reapplies the rules based on the current content of 516C-a}, which reapplies the rules based on the current content of
517the document. It is usually not necessary to insert the complete 517the document. It is usually not necessary to insert the complete
518start-tag; often just @samp{<@var{name}} is 518start-tag; often just @samp{<@var{name}} is
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 681af61a897..0dbc97c0df8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -4,6 +4,27 @@
4 (skkdic-convert-okuri-ari): Ignore lines starting with '>'. 4 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
5 (skkdic-convert): Use `euc-japan' coding system for writing. 5 (skkdic-convert): Use `euc-japan' coding system for writing.
6 6
72010-02-16 Glenn Morris <rgm@gnu.org>
8
9 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10 tex-main-file before using it. (Bug#5562)
11
122010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
15 warnings, since it is annoying for the user to see them each time he
16 runs the code.
17
182010-02-15 Michael Albinus <michael.albinus@gmx.de>
19
20 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
21 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
22 instead of PROC for caching "first-password-request". Otherwise,
23 new processes would not profit from passwords already entered.
24
25 * net/tramp-cache.el (tramp-dump-connection-properties):
26 Don't save "first-password-request" property.
27
72010-02-14 Juanma Barranquero <lekktu@gmail.com> 282010-02-14 Juanma Barranquero <lekktu@gmail.com>
8 29
9 * outline.el (outline-head-from-level): 30 * outline.el (outline-head-from-level):
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index 003f70ea4a5..17f2ed53ba5 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -2685,7 +2685,9 @@ For that it has to be fbound with a non-autoload definition."
2685 (ad-with-auto-activation-disabled 2685 (ad-with-auto-activation-disabled
2686 (require 'bytecomp) 2686 (require 'bytecomp)
2687 (let ((symbol (make-symbol "advice-compilation")) 2687 (let ((symbol (make-symbol "advice-compilation"))
2688 (byte-compile-warnings byte-compile-warnings)) 2688 (byte-compile-warnings byte-compile-warnings)
2689 ;; Don't pop up windows showing byte-compiler warnings.
2690 (warning-suppress-types '((bytecomp))))
2689 (if (featurep 'cl) 2691 (if (featurep 'cl)
2690 (byte-compile-disable-warning 'cl-functions)) 2692 (byte-compile-disable-warning 'cl-functions))
2691 (fset symbol (symbol-function function)) 2693 (fset symbol (symbol-function function))
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 1c1c62bb1b0..a6d5f2040fe 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12010-02-16 Glenn Morris <rgm@gnu.org>
2
3 * message.el (message-default-mail-headers): Change the default value
4 to ease the transition from mail-mode to message-mode. (Bug#5555)
5
12010-01-17 Chong Yidong <cyd@stupidchicken.com> 62010-01-17 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * message.el (message-mail): Just pass yank-action on to message-setup. 8 * message.el (message-mail): Just pass yank-action on to message-setup.
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 7194813422a..3a8c104b8e5 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -1178,8 +1178,22 @@ these lines."
1178 :link '(custom-manual "(message)Message Headers") 1178 :link '(custom-manual "(message)Message Headers")
1179 :type 'message-header-lines) 1179 :type 'message-header-lines)
1180 1180
1181(defcustom message-default-mail-headers "" 1181(defcustom message-default-mail-headers
1182 ;; Ease the transition from mail-mode to message-mode. See bugs#4431, 5555.
1183 (concat (if (and (boundp 'mail-default-reply-to)
1184 (stringp mail-default-reply-to))
1185 (format "Reply-to: %s\n" mail-default-reply-to)
1186 "")
1187 (if (and (boundp 'mail-self-blind)
1188 mail-self-blind)
1189 (format "BCC: %s\n" user-mail-address)
1190 "")
1191 (if (and (boundp 'mail-archive-file-name)
1192 (stringp mail-archive-file-name))
1193 (format "FCC: %s\n" mail-archive-file-name)
1194 ""))
1182 "*A string of header lines to be inserted in outgoing mails." 1195 "*A string of header lines to be inserted in outgoing mails."
1196 :version "23.2"
1183 :group 'message-headers 1197 :group 'message-headers
1184 :group 'message-mail 1198 :group 'message-mail
1185 :link '(custom-manual "(message)Mail Headers") 1199 :link '(custom-manual "(message)Mail Headers")
@@ -2768,7 +2782,7 @@ PGG manual, depending on the value of `mml2015-use'."
2768;;; Forbidden properties 2782;;; Forbidden properties
2769;; 2783;;
2770;; We use `after-change-functions' to keep special text properties 2784;; We use `after-change-functions' to keep special text properties
2771;; that interfer with the normal function of message mode out of the 2785;; that interfere with the normal function of message mode out of the
2772;; buffer. 2786;; buffer.
2773 2787
2774(defcustom message-strip-special-text-properties t 2788(defcustom message-strip-special-text-properties t
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el
index 4338a6edad1..ac86fabe3a9 100644
--- a/lisp/net/tramp-cache.el
+++ b/lisp/net/tramp-cache.el
@@ -1,7 +1,7 @@
1;;; tramp-cache.el --- file information caching for Tramp 1;;; tramp-cache.el --- file information caching for Tramp
2 2
3;; Copyright (C) 2000, 2005, 2006, 2007, 2008, 3;; Copyright (C) 2000, 2005, 2006, 2007, 2008, 2009,
4;; 2009, 2010 Free Software Foundation, Inc. 4;; 2010 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pittman <daniel@inanna.danann.net> 6;; Author: Daniel Pittman <daniel@inanna.danann.net>
7;; Michael Albinus <michael.albinus@gmx.de> 7;; Michael Albinus <michael.albinus@gmx.de>
@@ -295,7 +295,8 @@ KEY identifies the connection, it is either a process or a vector."
295 (if (and (vectorp key) (not (tramp-file-name-localname key))) 295 (if (and (vectorp key) (not (tramp-file-name-localname key)))
296 (progn 296 (progn
297 (remhash "process-name" value) 297 (remhash "process-name" value)
298 (remhash "process-buffer" value)) 298 (remhash "process-buffer" value)
299 (remhash "first-password-request" value))
299 (remhash key cache))) 300 (remhash key cache)))
300 cache) 301 cache)
301 ;; Dump it. 302 ;; Dump it.
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
index 3f1e1a463d3..a80e0f27752 100644
--- a/lisp/net/tramp-gvfs.el
+++ b/lisp/net/tramp-gvfs.el
@@ -1057,8 +1057,7 @@ connection if a previous connection has died for some reason."
1057 vec 3 "Opening connection for %s@%s using %s..." user host method)) 1057 vec 3 "Opening connection for %s@%s using %s..." user host method))
1058 1058
1059 ;; Enable auth-sorce and password-cache. 1059 ;; Enable auth-sorce and password-cache.
1060 (tramp-set-connection-property 1060 (tramp-set-connection-property vec "first-password-request" t)
1061 (tramp-get-connection-process vec) "first-password-request" t)
1062 1061
1063 ;; There will be a callback of "askPassword", when a password is 1062 ;; There will be a callback of "askPassword", when a password is
1064 ;; needed. 1063 ;; needed.
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index a573a75afe2..e59383e31e7 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -6539,7 +6539,7 @@ The terminal type can be configured with `tramp-terminal-type'."
6539(defun tramp-process-actions (proc vec actions &optional timeout) 6539(defun tramp-process-actions (proc vec actions &optional timeout)
6540 "Perform actions until success or TIMEOUT." 6540 "Perform actions until success or TIMEOUT."
6541 ;; Enable auth-source and password-cache. 6541 ;; Enable auth-source and password-cache.
6542 (tramp-set-connection-property proc "first-password-request" t) 6542 (tramp-set-connection-property vec "first-password-request" t)
6543 (let (exit) 6543 (let (exit)
6544 (while (not exit) 6544 (while (not exit)
6545 (tramp-message proc 3 "Waiting for prompts from remote shell") 6545 (tramp-message proc 3 "Waiting for prompts from remote shell")
@@ -8320,26 +8320,27 @@ Invokes `password-read' if available, `read-passwd' else."
8320 (with-current-buffer (process-buffer proc) 8320 (with-current-buffer (process-buffer proc)
8321 (tramp-check-for-regexp proc tramp-password-prompt-regexp) 8321 (tramp-check-for-regexp proc tramp-password-prompt-regexp)
8322 (format "%s for %s " (capitalize (match-string 1)) key))))) 8322 (format "%s for %s " (capitalize (match-string 1)) key)))))
8323 (prog1 8323 (with-parsed-tramp-file-name key nil
8324 (or 8324 (prog1
8325 ;; See if auth-sources contains something useful, if it's bound. 8325 (or
8326 (and (boundp 'auth-sources) 8326 ;; See if auth-sources contains something useful, if it's bound.
8327 (tramp-get-connection-property proc "first-password-request" nil) 8327 (and (boundp 'auth-sources)
8328 ;; Try with Tramp's current method. 8328 (tramp-get-connection-property v "first-password-request" nil)
8329 (funcall (symbol-function 'auth-source-user-or-password) 8329 ;; Try with Tramp's current method.
8330 "password" tramp-current-host tramp-current-method)) 8330 (funcall (symbol-function 'auth-source-user-or-password)
8331 ;; Try the password cache. 8331 "password" tramp-current-host tramp-current-method))
8332 (when (functionp 'password-read) 8332 ;; Try the password cache.
8333 (unless (tramp-get-connection-property 8333 (when (functionp 'password-read)
8334 proc "first-password-request" nil) 8334 (unless (tramp-get-connection-property
8335 (funcall (symbol-function 'password-cache-remove) key)) 8335 v "first-password-request" nil)
8336 (let ((password 8336 (funcall (symbol-function 'password-cache-remove) key))
8337 (funcall (symbol-function 'password-read) pw-prompt key))) 8337 (let ((password
8338 (funcall (symbol-function 'password-cache-add) key password) 8338 (funcall (symbol-function 'password-read) pw-prompt key)))
8339 password)) 8339 (funcall (symbol-function 'password-cache-add) key password)
8340 ;; Else, get the password interactively. 8340 password))
8341 (read-passwd pw-prompt)) 8341 ;; Else, get the password interactively.
8342 (tramp-set-connection-property proc "first-password-request" nil)))) 8342 (read-passwd pw-prompt))
8343 (tramp-set-connection-property v "first-password-request" nil)))))
8343 8344
8344(defun tramp-clear-passwd (vec) 8345(defun tramp-clear-passwd (vec)
8345 "Clear password cache for connection related to VEC." 8346 "Clear password cache for connection related to VEC."
@@ -8585,7 +8586,7 @@ Only works for Bourne-like shells."
8585;; rsync). 8586;; rsync).
8586;; * Keep a second connection open for out-of-band methods like scp or 8587;; * Keep a second connection open for out-of-band methods like scp or
8587;; rsync. 8588;; rsync.
8588;; * Support ptys in `tramp-handle-start-file-process'. 8589;; * Support ptys in `tramp-handle-start-file-process'. (Bug#4604)
8589;; * IMHO, it's a drawback that currently Tramp doesn't support 8590;; * IMHO, it's a drawback that currently Tramp doesn't support
8590;; Unicode in Dired file names by default. Is it possible to 8591;; Unicode in Dired file names by default. Is it possible to
8591;; improve Tramp to set LC_ALL to "C" only for commands where Tramp 8592;; improve Tramp to set LC_ALL to "C" only for commands where Tramp
@@ -8596,6 +8597,9 @@ Only works for Bourne-like shells."
8596;; * Load Tramp subpackages only when needed. (Bug#1529, Bug#5448) 8597;; * Load Tramp subpackages only when needed. (Bug#1529, Bug#5448)
8597;; * Try telnet+curl as new method. It might be useful for busybox, 8598;; * Try telnet+curl as new method. It might be useful for busybox,
8598;; without built-in uuencode/uudecode. 8599;; without built-in uuencode/uudecode.
8600;; * Let `shell-dynamic-complete-*' and `comint-dynamic-complete' work
8601;; on remote hosts.
8602;; * Use secrets.el for password handling.
8599 8603
8600;; Functions for file-name-handler-alist: 8604;; Functions for file-name-handler-alist:
8601;; diff-latest-backup-file -- in diff.el 8605;; diff-latest-backup-file -- in diff.el
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index f2367caf66e..38698af7885 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -921,8 +921,8 @@ Inherits `shell-mode-map' with a few additions.")
921;; remaining warning from byte-compiling all of Emacs... 921;; remaining warning from byte-compiling all of Emacs...
922(eval-when-compile 922(eval-when-compile
923 (setq byte-compile-function-environment 923 (setq byte-compile-function-environment
924 (delq (assq 'tex-mode byte-compile-function-environment) 924 (delq (assq 'tex-mode byte-compile-function-environment)
925 byte-compile-function-environment))) 925 byte-compile-function-environment)))
926 926
927;;;###autoload 927;;;###autoload
928(defun tex-mode () 928(defun tex-mode ()
@@ -2643,7 +2643,7 @@ Runs the shell command defined by `tex-show-queue-command'."
2643 (tex-kill-job) 2643 (tex-kill-job)
2644 (tex-start-shell)) 2644 (tex-start-shell))
2645 (let* (shell-dirtrack-verbose 2645 (let* (shell-dirtrack-verbose
2646 (source-file (tex-main-file)) 2646 (source-file (expand-file-name (tex-main-file)))
2647 (tex-out-file 2647 (tex-out-file
2648 (tex-append (file-name-nondirectory source-file) "")) 2648 (tex-append (file-name-nondirectory source-file) ""))
2649 (file-dir (file-name-directory source-file))) 2649 (file-dir (file-name-directory source-file)))