diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 14 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 8 | ||||
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-cookie.el | 3 | ||||
| -rw-r--r-- | lisp/window.el | 18 |
8 files changed, 61 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a94987284de..eb276721dbc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2011-11-04 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * window.el (window-body-height, window-body-width): Mention in | ||
| 4 | the doc string that the return values are in frame's canonical | ||
| 5 | units. (Bug#9949) | ||
| 6 | |||
| 7 | 2011-11-03 Alan Mackenzie <acm@muc.de> | ||
| 8 | |||
| 9 | * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for | ||
| 10 | change in cc-engine.el. | ||
| 11 | |||
| 1 | 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca> | 12 | 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 13 | ||
| 3 | * window.el (switch-to-buffer): Use `force-same-window' interactively. | 14 | * window.el (switch-to-buffer): Use `force-same-window' interactively. |
| @@ -136,7 +147,6 @@ | |||
| 136 | 147 | ||
| 137 | * progmodes/cc-langs.el (c-defun-tactic): Move this variable to | 148 | * progmodes/cc-langs.el (c-defun-tactic): Move this variable to |
| 138 | cc-vars.el. | 149 | cc-vars.el. |
| 139 | (c-nonlabel-token-2-key): New variable for change in cc-engine.el. | ||
| 140 | 150 | ||
| 141 | * progmodes/cc-engine.el (c-beginning-of-statement-1): | 151 | * progmodes/cc-engine.el (c-beginning-of-statement-1): |
| 142 | Prevent "class foo : bar" being spuriously recognized as a label. | 152 | Prevent "class foo : bar" being spuriously recognized as a label. |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3fb44bb5b10..c36d4729518 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-articles-to-read): Change wording in prompt to be | ||
| 4 | slightly clearer. | ||
| 5 | |||
| 6 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 7 | |||
| 8 | * message.el (message-send-and-exit): Document `arg'. | ||
| 9 | |||
| 1 | 2011-11-03 Stefan Monnier <monnier@iro.umontreal.ca> | 10 | 2011-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 11 | ||
| 3 | * nnimap.el (nnimap-open-connection-1): Use tcp-keealive if possible. | 12 | * nnimap.el (nnimap-open-connection-1): Use tcp-keealive if possible. |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 66b661884e9..b84c493cc58 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -5859,15 +5859,15 @@ If SELECT-ARTICLES, only select those articles from GROUP." | |||
| 5859 | (read-string | 5859 | (read-string |
| 5860 | (if only-read-p | 5860 | (if only-read-p |
| 5861 | (format | 5861 | (format |
| 5862 | "How many articles from %s (available %d, default %d): " | 5862 | "How many articles from %s (available %d, default %d): " |
| 5863 | (gnus-group-decoded-name | ||
| 5864 | (gnus-group-real-name gnus-newsgroup-name)) | ||
| 5865 | number default) | ||
| 5866 | (format | ||
| 5867 | "How many articles from %s (%d available): " | ||
| 5868 | (gnus-group-decoded-name | 5863 | (gnus-group-decoded-name |
| 5869 | (gnus-group-real-name gnus-newsgroup-name)) | 5864 | (gnus-group-real-name gnus-newsgroup-name)) |
| 5870 | default)) | 5865 | number default) |
| 5866 | (format | ||
| 5867 | "How many articles from %s (%d default): " | ||
| 5868 | (gnus-group-decoded-name | ||
| 5869 | (gnus-group-real-name gnus-newsgroup-name)) | ||
| 5870 | default)) | ||
| 5871 | nil | 5871 | nil |
| 5872 | nil | 5872 | nil |
| 5873 | (number-to-string default)))) | 5873 | (number-to-string default)))) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 723f8fb72b5..1d0830afd28 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -4022,7 +4022,9 @@ The text will also be indented the normal way." | |||
| 4022 | ;;; | 4022 | ;;; |
| 4023 | 4023 | ||
| 4024 | (defun message-send-and-exit (&optional arg) | 4024 | (defun message-send-and-exit (&optional arg) |
| 4025 | "Send message like `message-send', then, if no errors, exit from mail buffer." | 4025 | "Send message like `message-send', then, if no errors, exit from mail buffer. |
| 4026 | The usage of ARG is defined by the instance that called Message. | ||
| 4027 | It should typically alter the sending method in some way or other." | ||
| 4026 | (interactive "P") | 4028 | (interactive "P") |
| 4027 | (let ((buf (current-buffer)) | 4029 | (let ((buf (current-buffer)) |
| 4028 | (actions message-exit-actions)) | 4030 | (actions message-exit-actions)) |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 09f8b318378..e1fb69c30c8 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -3012,6 +3012,14 @@ i.e. before \":\". Only used if `c-recognize-colon-labels' is set." | |||
| 3012 | c++ (concat "\\s\(\\|" (c-lang-const c-nonlabel-token-key))) | 3012 | c++ (concat "\\s\(\\|" (c-lang-const c-nonlabel-token-key))) |
| 3013 | (c-lang-defvar c-nonlabel-token-key (c-lang-const c-nonlabel-token-key)) | 3013 | (c-lang-defvar c-nonlabel-token-key (c-lang-const c-nonlabel-token-key)) |
| 3014 | 3014 | ||
| 3015 | (c-lang-defconst c-nonlabel-token-2-key | ||
| 3016 | "Regexp matching things that can't occur two symbols before a colon in | ||
| 3017 | a label construct. This catches C++'s inheritance construct \"class foo | ||
| 3018 | : bar\". Only used if `c-recognize-colon-labels' is set." | ||
| 3019 | t "\\<\\>" ; matches nothing | ||
| 3020 | c++ (c-make-keywords-re t '("class"))) | ||
| 3021 | (c-lang-defvar c-nonlabel-token-2-key (c-lang-const c-nonlabel-token-2-key)) | ||
| 3022 | |||
| 3015 | (c-lang-defconst c-opt-extra-label-key | 3023 | (c-lang-defconst c-opt-extra-label-key |
| 3016 | "Optional regexp matching labels. | 3024 | "Optional regexp matching labels. |
| 3017 | Normally, labels are detected according to `c-nonlabel-token-key', | 3025 | Normally, labels are detected according to `c-nonlabel-token-key', |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 1b6890e5252..a2a1b451258 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * url-cookie.el (url-cookie-expired-p): Protect against | ||
| 4 | zero-length cookie expiry dates. | ||
| 5 | |||
| 1 | 2011-10-19 Chong Yidong <cyd@gnu.org> | 6 | 2011-10-19 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * url-handlers.el (url-handler-mode): Doc fix. | 8 | * url-handlers.el (url-handler-mode): Doc fix. |
diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el index 78afa1633b6..f8417791ce5 100644 --- a/lisp/url/url-cookie.el +++ b/lisp/url/url-cookie.el | |||
| @@ -156,7 +156,8 @@ telling Microsoft that." | |||
| 156 | (defun url-cookie-expired-p (cookie) | 156 | (defun url-cookie-expired-p (cookie) |
| 157 | "Return non-nil if COOKIE is expired." | 157 | "Return non-nil if COOKIE is expired." |
| 158 | (let ((exp (url-cookie-expires cookie))) | 158 | (let ((exp (url-cookie-expires cookie))) |
| 159 | (and exp (> (float-time) (float-time (date-to-time exp)))))) | 159 | (and (> (length exp) 0) |
| 160 | (> (float-time) (float-time (date-to-time exp)))))) | ||
| 160 | 161 | ||
| 161 | (defun url-cookie-retrieve (host &optional localpart secure) | 162 | (defun url-cookie-retrieve (host &optional localpart secure) |
| 162 | "Retrieve all cookies for a specified HOST and LOCALPART." | 163 | "Retrieve all cookies for a specified HOST and LOCALPART." |
diff --git a/lisp/window.el b/lisp/window.el index 9b12c204d48..d6ab5e0e6cc 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -972,7 +972,14 @@ The return value does not include WINDOW's mode line and header | |||
| 972 | line, if any. If a line at the bottom of the window is only | 972 | line, if any. If a line at the bottom of the window is only |
| 973 | partially visible, that line is included in the return value. If | 973 | partially visible, that line is included in the return value. If |
| 974 | you do not want to include a partially visible bottom line in the | 974 | you do not want to include a partially visible bottom line in the |
| 975 | return value, use `window-text-height' instead." | 975 | return value, use `window-text-height' instead. |
| 976 | |||
| 977 | Note that the return value is measured in canonical units, i.e. for | ||
| 978 | the default frame's face. If the window shows some characters with | ||
| 979 | non-default face, e.g., if the font of some characters is larger or | ||
| 980 | smaller than the default font, the value returned by this function | ||
| 981 | will not match the actual number of lines shown in the window. To | ||
| 982 | get the actual number of lines, use `posn-at-point'." | ||
| 976 | (window-body-size window)) | 983 | (window-body-size window)) |
| 977 | 984 | ||
| 978 | (defsubst window-body-width (&optional window) | 985 | (defsubst window-body-width (&optional window) |
| @@ -982,7 +989,14 @@ WINDOW must be a live window and defaults to the selected one. | |||
| 982 | The return value does not include any vertical dividers or scroll | 989 | The return value does not include any vertical dividers or scroll |
| 983 | bars owned by WINDOW. On a window-system the return value does | 990 | bars owned by WINDOW. On a window-system the return value does |
| 984 | not include the number of columns used for WINDOW's fringes or | 991 | not include the number of columns used for WINDOW's fringes or |
| 985 | display margins either." | 992 | display margins either. |
| 993 | |||
| 994 | Note that the return value is measured in canonical units, i.e. for | ||
| 995 | the default frame's face. If the window shows some characters with | ||
| 996 | non-default face, e.g., if the font of some characters is larger or | ||
| 997 | smaller than the default font, the value returned by this function | ||
| 998 | will not match the actual number of characters per line shown in the | ||
| 999 | window. To get the actual number of columns, use `posn-at-point'." | ||
| 986 | (window-body-size window t)) | 1000 | (window-body-size window t)) |
| 987 | 1001 | ||
| 988 | ;; Eventually we should make `window-height' obsolete. | 1002 | ;; Eventually we should make `window-height' obsolete. |