aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJoakim Verona2011-09-29 00:01:51 +0200
committerJoakim Verona2011-09-29 00:01:51 +0200
commit7a982f9eef56799ebe5857f7b8b3e636c6715090 (patch)
tree8014baca5849ccb340771eadf87b89d4cde00a64 /lisp
parentf0f8db4c04d0d3bdfa645cd79a9b7a915587a7c5 (diff)
parent88d9610cae8004cf9856be84d76c389e7fc3b14b (diff)
downloademacs-7a982f9eef56799ebe5857f7b8b3e636c6715090.tar.gz
emacs-7a982f9eef56799ebe5857f7b8b3e636c6715090.zip
upstream
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog36
-rw-r--r--lisp/ChangeLog.132
-rw-r--r--lisp/emacs-lisp/debug.el4
-rw-r--r--lisp/emacs-lisp/package.el5
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-uu.el1
-rw-r--r--lisp/mail/smtpmail.el2
-rw-r--r--lisp/minibuffer.el7
-rw-r--r--lisp/net/quickurl.el4
-rw-r--r--lisp/org/ChangeLog6
-rw-r--r--lisp/org/org.el1
-rw-r--r--lisp/pcmpl-cvs.el14
-rw-r--r--lisp/progmodes/perl-mode.el3
-rw-r--r--lisp/simple.el4
-rw-r--r--lisp/subr.el2
15 files changed, 76 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ec867fee08b..0927ff478c2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,39 @@
12011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (delete-trailing-whitespace): Fix last change.
4
5 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6 Don't confuse "y => 3" as the beginning of a `y' operation.
7
8 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9 object has more than 4 slots (bug#9613).
10
112011-09-28 Juanma Barranquero <lekktu@gmail.com>
12
13 * subr.el (with-output-to-temp-buffer):
14 * net/quickurl.el (quickurl, quickurl-browse-url):
15 Fix typos in docstrings.
16
172011-09-27 Eli Zaretskii <eliz@gnu.org>
18
19 * minibuffer.el (completion-styles)
20 (completion-category-overrides): Cross reference each other in doc
21 strings.
22
232011-09-27 Glenn Morris <rgm@gnu.org>
24
25 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
26 to split-string. (Bug#9606)
27
282011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
29
30 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
31 (bug#9615).
32
332011-09-27 Chong Yidong <cyd@stupidchicken.com>
34
35 * emacs-lisp/package.el (list-packages): Fix echo area message.
36
12011-09-27 Leo Liu <sdl.web@gmail.com> 372011-09-27 Leo Liu <sdl.web@gmail.com>
2 38
3 * ido.el (ido-read-internal): Accept cons cell HIST arg. 39 * ido.el (ido-read-internal): Accept cons cell HIST arg.
diff --git a/lisp/ChangeLog.13 b/lisp/ChangeLog.13
index 8cbe1ad5776..993c51163cb 100644
--- a/lisp/ChangeLog.13
+++ b/lisp/ChangeLog.13
@@ -1743,7 +1743,7 @@
1743 auto-composition-function to it. 1743 auto-composition-function to it.
1744 (toggle-auto-composition): New function. 1744 (toggle-auto-composition): New function.
1745 1745
1746 * international/characters.el: Make all chararacters in the 1746 * international/characters.el: Make all characters in the
1747 charset tibetan to tibetan script. 1747 charset tibetan to tibetan script.
1748 1748
1749 * international/mule-conf.el (tibetan): Fix :code-space property. 1749 * international/mule-conf.el (tibetan): Fix :code-space property.
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index d7021a46165..d05a518e590 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -869,8 +869,10 @@ To specify a nil argument interactively, exit with an empty minibuffer."
869 ,defn 869 ,defn
870 ,@(remq '&rest (remq '&optional args)))))) 870 ,@(remq '&rest (remq '&optional args))))))
871 (if (> (length defn) 5) 871 (if (> (length defn) 5)
872 ;; The mere presence of field 5 is sufficient to make
873 ;; it interactive.
872 (push `(interactive ,(aref defn 5)) body)) 874 (push `(interactive ,(aref defn 5)) body))
873 (if (aref defn 4) 875 (if (and (> (length defn) 4) (aref defn 4))
874 ;; Use `documentation' here, to get the actual string, 876 ;; Use `documentation' here, to get the actual string,
875 ;; in case the compiled function has a reference 877 ;; in case the compiled function has a reference
876 ;; to the .elc file. 878 ;; to the .elc file.
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 4cab8f43480..2e340a442a6 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1658,10 +1658,11 @@ The list is displayed in a buffer named `*Packages*'."
1658 (switch-to-buffer buf)) 1658 (switch-to-buffer buf))
1659 (let ((upgrades (package-menu--find-upgrades))) 1659 (let ((upgrades (package-menu--find-upgrades)))
1660 (if upgrades 1660 (if upgrades
1661 (message "%d package%s can be upgraded; type `%s' to mark them for upgrading." 1661 (message "%d package%s can be upgraded; type `%s' to mark %s for upgrading."
1662 (length upgrades) 1662 (length upgrades)
1663 (if (= (length upgrades) 1) "" "s") 1663 (if (= (length upgrades) 1) "" "s")
1664 (substitute-command-keys "\\[package-menu-mark-upgrades]"))))) 1664 (substitute-command-keys "\\[package-menu-mark-upgrades]")
1665 (if (= (length upgrades) 1) "it" "them")))))
1665 1666
1666;;;###autoload 1667;;;###autoload
1667(defalias 'package-list-packages 'list-packages) 1668(defalias 'package-list-packages 'list-packages)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index c535f4a9549..a330d5c6be8 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -3,6 +3,11 @@
3 * plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify 3 * plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify
4 documentation. 4 documentation.
5 5
62011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7
8 * gnus-uu.el (gnus-uu-grab-articles): Require gnus-async so that
9 `gnus-asynchronous' isn't shadowed.
10
62011-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org> 112011-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7 12
8 * nnimap.el (nnimap-wait-for-response): Message less (bug#9540). 13 * nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el
index 05ba3595479..15c3d41bece 100644
--- a/lisp/gnus/gnus-uu.el
+++ b/lisp/gnus/gnus-uu.el
@@ -1290,6 +1290,7 @@ When called interactively, prompt for REGEXP."
1290;; the process-function has been successful and nil otherwise. 1290;; the process-function has been successful and nil otherwise.
1291(defun gnus-uu-grab-articles (articles process-function 1291(defun gnus-uu-grab-articles (articles process-function
1292 &optional sloppy limit no-errors) 1292 &optional sloppy limit no-errors)
1293 (require 'gnus-async)
1293 (let ((state 'first) 1294 (let ((state 'first)
1294 (gnus-asynchronous nil) 1295 (gnus-asynchronous nil)
1295 (gnus-inhibit-treatment t) 1296 (gnus-inhibit-treatment t)
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 1c6f2c7b7ed..edcc82011af 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -658,7 +658,7 @@ The list is in preference order.")
658 :always-query-capabilities t 658 :always-query-capabilities t
659 :starttls-function 659 :starttls-function
660 (lambda (capabilities) 660 (lambda (capabilities)
661 (and (string-match "-STARTTLS" capabilities) 661 (and (string-match "[ -]STARTTLS" capabilities)
662 "STARTTLS\r\n")) 662 "STARTTLS\r\n"))
663 :client-certificate t 663 :client-certificate t
664 :use-starttls-if-possible t))) 664 :use-starttls-if-possible t)))
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index c6f28b14415..021e46d5053 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -482,7 +482,10 @@ and DOC describes the way this style of completion works.")
482 ;; and simply add "bar" to the end of the result. 482 ;; and simply add "bar" to the end of the result.
483 emacs22) 483 emacs22)
484 "List of completion styles to use. 484 "List of completion styles to use.
485The available styles are listed in `completion-styles-alist'." 485The available styles are listed in `completion-styles-alist'.
486
487Note that `completion-category-overrides' may override these
488styles for specific categories, such as files, buffers, etc."
486 :type `(repeat (choice ,@(mapcar (lambda (x) (list 'const (car x))) 489 :type `(repeat (choice ,@(mapcar (lambda (x) (list 'const (car x)))
487 completion-styles-alist))) 490 completion-styles-alist)))
488 :group 'minibuffer 491 :group 'minibuffer
@@ -490,7 +493,7 @@ The available styles are listed in `completion-styles-alist'."
490 493
491(defcustom completion-category-overrides 494(defcustom completion-category-overrides
492 '((buffer (styles . (basic substring)))) 495 '((buffer (styles . (basic substring))))
493 "List of overrides for specific categories. 496 "List of `completion-styles' overrides for specific categories.
494Each override has the shape (CATEGORY . ALIST) where ALIST is 497Each override has the shape (CATEGORY . ALIST) where ALIST is
495an association list that can specify properties such as: 498an association list that can specify properties such as:
496- `styles': the list of `completion-styles' to use for that category. 499- `styles': the list of `completion-styles' to use for that category.
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el
index 712f0b0c924..3f1437f0799 100644
--- a/lisp/net/quickurl.el
+++ b/lisp/net/quickurl.el
@@ -307,7 +307,7 @@ Also display a `message' saying what the URL was unless SILENT is non-nil."
307 "Insert a URL based on LOOKUP. 307 "Insert a URL based on LOOKUP.
308 308
309If not supplied LOOKUP is taken to be the word at point in the current 309If not supplied LOOKUP is taken to be the word at point in the current
310buffer, this default action can be modifed via 310buffer, this default action can be modified via
311`quickurl-grab-lookup-function'." 311`quickurl-grab-lookup-function'."
312 (interactive) 312 (interactive)
313 (when (or lookup 313 (when (or lookup
@@ -402,7 +402,7 @@ is decided."
402 "Browse the URL associated with LOOKUP. 402 "Browse the URL associated with LOOKUP.
403 403
404If not supplied LOOKUP is taken to be the word at point in the 404If not supplied LOOKUP is taken to be the word at point in the
405current buffer, this default action can be modifed via 405current buffer, this default action can be modified via
406`quickurl-grab-lookup-function'." 406`quickurl-grab-lookup-function'."
407 (interactive) 407 (interactive)
408 (when (or lookup 408 (when (or lookup
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 1c320f20e51..9fbeb9f1882 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,9 @@
12011-09-27 Eli Zaretskii <eliz@gnu.org>
2
3 * org.el (org-mode): Force left-to-right paragraphs in Org
4 buffers. For a related discussions, see
5 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
6
12011-09-17 Juanma Barranquero <lekktu@gmail.com> 72011-09-17 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * org.el (org-toggle-pretty-entities): Fix typo in message. 9 * org.el (org-toggle-pretty-entities): Fix typo in message.
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 32ca5288d6e..da39aa189ba 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -4748,6 +4748,7 @@ The following commands are available:
4748 (org-set-local 'line-move-ignore-invisible t)) 4748 (org-set-local 'line-move-ignore-invisible t))
4749 (org-set-local 'outline-regexp org-outline-regexp) 4749 (org-set-local 'outline-regexp org-outline-regexp)
4750 (org-set-local 'outline-level 'org-outline-level) 4750 (org-set-local 'outline-level 'org-outline-level)
4751 (setq bidi-paragraph-direction 'left-to-right)
4751 (when (and org-ellipsis 4752 (when (and org-ellipsis
4752 (fboundp 'set-display-table-slot) (boundp 'buffer-display-table) 4753 (fboundp 'set-display-table-slot) (boundp 'buffer-display-table)
4753 (fboundp 'make-glyph-code)) 4754 (fboundp 'make-glyph-code))
diff --git a/lisp/pcmpl-cvs.el b/lisp/pcmpl-cvs.el
index b6c5eb62b17..3ff07bca20e 100644
--- a/lisp/pcmpl-cvs.el
+++ b/lisp/pcmpl-cvs.el
@@ -169,13 +169,13 @@ operation character applies, as displayed by 'cvs -n update'."
169 (insert-file-contents (concat dir "CVS/Entries")) 169 (insert-file-contents (concat dir "CVS/Entries"))
170 (goto-char (point-min)) 170 (goto-char (point-min))
171 (while (not (eobp)) 171 (while (not (eobp))
172 (let* ((line (buffer-substring (line-beginning-position) 172 ;; Normal file: /NAME -> "" "NAME"
173 (line-end-position))) 173 ;; Directory : D/NAME -> "D" "NAME"
174 (fields (split-string line "/")) 174 (let* ((fields (split-string (buffer-substring
175 text) 175 (line-beginning-position)
176 (if (eq (aref line 0) ?/) 176 (line-end-position))
177 (setq fields (cons "" fields))) 177 "/"))
178 (setq text (nth 1 fields)) 178 (text (nth 1 fields)))
179 (when text 179 (when text
180 (if (string= (nth 0 fields) "D") 180 (if (string= (nth 0 fields) "D")
181 (setq text (file-name-as-directory text))) 181 (setq text (file-name-as-directory text)))
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 8ca8c690f92..933f004bb5d 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -304,11 +304,12 @@ The expansion is entirely correct because it uses the C preprocessor."
304 (put-text-property (match-beginning 2) (match-end 2) 304 (put-text-property (match-beginning 2) (match-end 2)
305 'syntax-table (string-to-syntax "\"")) 305 'syntax-table (string-to-syntax "\""))
306 (perl-syntax-propertize-special-constructs end))))) 306 (perl-syntax-propertize-special-constructs end)))))
307 ("\\(^\\|[?:.,;=!~({[ \t]\\)\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)" 307 ("\\(^\\|[?:.,;=!~({[ \t]\\)\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\(?:\\([^])}>= \n\t]\\)\\|\\(?3:=\\)[^>]\\)"
308 ;; Nasty cases: 308 ;; Nasty cases:
309 ;; /foo/m $a->m $#m $m @m %m 309 ;; /foo/m $a->m $#m $m @m %m
310 ;; \s (appears often in regexps). 310 ;; \s (appears often in regexps).
311 ;; -s file 311 ;; -s file
312 ;; y => 3
312 ;; sub tr {...} 313 ;; sub tr {...}
313 (3 (ignore 314 (3 (ignore
314 (if (save-excursion (goto-char (match-beginning 0)) 315 (if (save-excursion (goto-char (match-beginning 0))
diff --git a/lisp/simple.el b/lisp/simple.el
index 142270930ca..14ce5ed18ec 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -589,9 +589,9 @@ If the region is active, only delete whitespace within the region."
589 ;; Delete trailing empty lines. 589 ;; Delete trailing empty lines.
590 (goto-char end-marker) 590 (goto-char end-marker)
591 (when (and (not end) 591 (when (and (not end)
592 (<= (skip-chars-backward "\n") -2)
593 ;; Really the end of buffer. 592 ;; Really the end of buffer.
594 (save-restriction (widen) (eobp))) 593 (save-restriction (widen) (eobp))
594 (<= (skip-chars-backward "\n") -2))
595 (delete-region (1+ (point)) end-marker)) 595 (delete-region (1+ (point)) end-marker))
596 (set-marker end-marker nil)))) 596 (set-marker end-marker nil))))
597 ;; Return nil for the benefit of `write-file-functions'. 597 ;; Return nil for the benefit of `write-file-functions'.
diff --git a/lisp/subr.el b/lisp/subr.el
index 1aa714fa883..4946f3eef7a 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3002,7 +3002,7 @@ Instead it binds `standard-output' to that buffer, so that output
3002generated with `prin1' and similar functions in BODY goes into 3002generated with `prin1' and similar functions in BODY goes into
3003the buffer. 3003the buffer.
3004 3004
3005At the end of BODY, this marks buffer BUFNAME unmodifed and displays 3005At the end of BODY, this marks buffer BUFNAME unmodified and displays
3006it in a window, but does not select it. The normal way to do this is 3006it in a window, but does not select it. The normal way to do this is
3007by calling `display-buffer', then running `temp-buffer-show-hook'. 3007by calling `display-buffer', then running `temp-buffer-show-hook'.
3008However, if `temp-buffer-show-function' is non-nil, it calls that 3008However, if `temp-buffer-show-function' is non-nil, it calls that