Fix point motion bug in term-emulate-terminal.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
eb4a8a9a
CY
12012-06-17 Chong Yidong <cyd@gnu.org>
2
3 * term.el (term-emulate-terminal): If term-check-size is called,
4 move point to the process mark without resetting point (Bug#4635).
5
9c758578
GM
62012-06-13 Glenn Morris <rgm@gnu.org>
7
8 * international/mule-cmds.el (mule-menu-keymap)
9 (set-language-environment, set-locale-environment): Doc tweaks.
10
9b0e3eba
AA
112012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12
13 * cus-face.el (custom-face-attributes): Add wave-style underline
14 attribute.
15 * faces.el (set-face-attribute): Update docstring to describe
16 wave-style underline attribute.
17
771e3eae
CY
182012-06-16 Chong Yidong <cyd@gnu.org>
19
20 * term/xterm.el (terminal-init-xterm): Discard input before
21 querying background mode (Bug#10959).
22
7ae2ea10
SM
232012-06-16 Stefan Merten <smerten@oekonux.de>
24
25 * textmodes/rst.el: Added and corrected some comments.
26 (rst-re-alist-def): Improve symbol syntax.
27 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
28 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
29 (rst-official-version, rst-official-cvs-rev): Update version
30 information.
7ae2ea10 31
b6974efa
JB
322012-06-15 Juanma Barranquero <lekktu@gmail.com>
33
34 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
35 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
36
8826d473
GM
372012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
38
39 * progmodes/python.el: New python.el merge.
40 (python-guess-indent): Obsolete var.
41 (python-indent-guess-indent-offset): New defcustom.
42 (python-indent): Obsolete var.
43 (python-indent-offset): New defcustom.
44 (python-python-command, python-jython-command): Delete var.
45 (python-shell-interpreter): New defcustom.
46 (python-pdbtrack-do-tracking-p): Delete var.
47 (python-pdbtrack-activate): New defcustom.
48 (python-use-skeletons): Obsolete var.
49 (python-skeleton-autoinsert): New defcustom.
50 (inferior-python-filter-regexp, python-continuation-offset)
51 (python-honour-comment-indentation, python-indent-string-contents)
52 (python-jython-packages, python-mode-hook)
53 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
54 (python-shell-prompt-alist)
55 (python-source-modes): Delete defcustoms.
56 (python-check-buffer-name, python-eldoc-setup-code)
57 (python-eldoc-string-code, python-ffap-setup-code)
58 (python-ffap-string-code, python-fill-comment-function)
59 (python-fill-decorator-function, python-fill-paren-function)
60 (python-fill-string-function, python-imenu-include-defun-type)
61 (python-imenu-make-tree, python-imenu-subtree-root-label)
62 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
63 (python-shell-compilation-regexp-alist)
64 (python-shell-completion-module-string-code)
65 (python-shell-completion-pdb-string-code)
66 (python-shell-completion-setup-code)
67 (python-shell-completion-string-code)
68 (python-shell-enable-font-lock, python-shell-exec-path)
69 (python-shell-extra-pythonpaths)
70 (python-shell-internal-buffer-name, python-shell-interpreter-args)
71 (python-shell-process-environment)
72 (python-shell-prompt-block-regexp)
73 (python-shell-prompt-output-regexp)
74 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
75 (python-shell-send-setup-max-wait, python-shell-setup-codes)
76 (python-shell-virtualenv-path): New defcustoms.
77 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
78 (inferior-python-mode-syntax-table, python--prompt-regexp)
79 (python-buffer, python-command python-python-command)
80 (python-default-template, python-imports, python-indent-index)
81 (python-indent-list, python-indent-list-length)
82 (python-mode-running, python-pdbtrack-is-tracking-p)
83 (python-preoutput-continuation, python-preoutput-leftover)
84 (python-preoutput-result, python-preoutput-skip-next-prompt)
85 (python-prev-dir/file, python-recursing)
86 (python-saved-check-command, python-version-checked)
87 (python-which-func-length-limit)
88 (view-return-to-alist): Delete vars.
89 (python-check-custom-command, python-dotty-syntax-table)
90 (python-imenu-index-alist, python-indent-current-level)
91 (python-indent-dedenters, python-indent-levels)
92 (python-nav-beginning-of-defun-regexp)
93 (python-nav-list-defun-positions-cache)
94 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
95 (python-shell-internal-buffer)
96 (python-skeleton-available): New vars.
97 (def-python-skeleton): Delete macro.
98 (python-skeleton-define): New macro.
99 (python-define-auxiliary-skeleton, python-rx): New macros.
100 (python-insert-class): Delete command.
101 (python-skeleton-class): New command.
102 (python-insert-def): Delete command.
103 (python-skeleton-def): New command.
104 (python-insert-for): Delete command.
105 (python-skeleton-for): New command.
106 (python-insert-if): Delete command.
107 (python-skeleton-if): New command.
108 (python-insert-try/except, python-insert-try/finally): Delete commands.
109 (python-skeleton-try): New command.
110 (python-insert-while): Delete command.
111 (python-skeleton-while): New command.
112 (python-backspace): Delete command.
113 (python-indent-dedent-line-backspace): New command.
114 (python-electric-colon): Delete command.
115 (python-indent-electric-colon): New command.
116 (python-guess-indent): Delete command.
117 (python-indent-guess-indent-offset): New command.
118 (python-shift-left): Delete command.
119 (python-indent-shift-left): New command.
120 (python-shift-right): Delete command.
121 (python-indent-shift-right): New command.
122 (python-find-function): Delete command.
123 (python-nav-jump-to-defun): New command.
124 (python-next-statement): Delete command.
125 (python-nav-forward-sentence): New command.
126 (python-previous-statement): Delete command.
127 (python-nav-backward-sentence): New command.
128 (python-fill-paragraph): Delete command.
129 (python-fill-paragraph-function): New command.
130 (python-send-buffer): Delete command.
131 (python-shell-send-buffer): New command.
132 (python-send-defun): Delete command.
133 (python-shell-send-defun): New command.
134 (python-send-region, python-send-region-and-go): Delete commands.
135 (python-shell-send-region)
136 (python-shell-switch-to-shell): New commands.
137 (python-send-string): Delete command.
138 (python-shell-send-string): New command.
139 (python-switch-to-python): Delete command.
140 (python-shell-switch-to-shell): New command.
141 (python-describe-symbol): Delete command.
142 (python-eldoc-at-point): New command.
143 (python--set-prompt-regexp, python-args-to-list)
144 (python-after-info-look, python-check-version)
145 (python-check-comint-prompt, python-find-imports)
146 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
147 (python-unload-function, python-expand-template)
148 (python-maybe-jython, python-preoutput-filter)
149 (python-pdbtrack-get-source-buffer)
150 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
151 (python-pdbtrack-toggle-stack-tracking)
152 (python-pdbtrack-track-stack-file, python-initial-text)
153 (python-first-word, python-comment-line-p, python-send-command)
154 (python-setup-brm, python-sentinel, python-set-proc)
155 (python-skip-out, python-input-filter, python-outdent-p)
156 (python-outline-level, python-backslash-continuation-line-p)
157 (python-end-of-block, python-end-of-statement, python-mark-block)
158 (python-beginning-of-block, python-beginning-of-statement)
159 (python-blank-line-p, python-beginning-of-string)
160 (python-open-block-statement-p): Delete functions.
161 (python-indent-line, python-indent-line-1): Delete functions.
162 (python-indent-line): New function.
163 (python-indentation-levels): Delete function.
164 (python-indent-calculate-levels): New function.
165 (python-proc): Delete function.
166 (python-shell-get-process): New function.
167 (python-send-receive): Delete function.
168 (python-shell-send-string-no-output): New function.
169 (python-module-path): Delete function.
170 (python-ffap-module-path): New function.
171 (python-completion-at-point)
172 (python-symbol-completions): Delete functions.
173 (python-completion-complete-at-point): New function.
174 (python-load-file): Delete function.
175 (python-shell-send-file): New function.
176 (python-calculate-indentation): Delete function.
177 (python-indent-calculate-indentation): New function.
178 (python-skip-comments/blanks): Delete function.
179 (python-util-forward-comment): New function.
180 (python-continuation-line-p): Delete function.
181 (python-info-continuation-line-p): New function.
182 (python-which-func, python-current-defun): Delete function.
183 (python-info-current-defun): New function.
184 (python-beginning-of-defun): Delete function.
185 (python-nav-beginning-of-defun): New function.
186 (python-close-block-statement-p)
187 (python-block-end-p): Delete function.
188 (python-info-closing-block): New function.
189 (python-comint-output-filter-function)
190 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
191 (python-fill-comment, python-fill-decorator, python-fill-paren)
192 (python-fill-string, python-imenu-make-element-tree)
193 (python-imenu-make-tree, python-imenu-tree-assoc)
194 (python-indent-context, python-indent-dedent-line)
195 (python-indent-line-function)
196 (python-indent-post-self-insert-function)
197 (python-indent-toggle-levels)
198 (python-info-assignment-continuation-line-p)
199 (python-info-beginning-of-backlash)
200 (python-info-block-continuation-line-p)
201 (python-info-closing-block-message)
202 (python-info-line-ends-backslash-p)
203 (python-info-looking-at-beginning-of-defun)
204 (python-info-ppss-context, python-info-ppss-context-type)
205 (python-nav-list-defun-positions, python-nav-read-defun)
206 (python-nav-sentence-end, python-nav-sentence-start)
207 (python-pdbtrack-comint-output-filter-function)
208 (python-pdbtrack-set-tracked-buffer)
209 (python-shell-calculate-exec-path)
210 (python-shell-calculate-process-environment)
211 (python-shell-completion--do-completion-at-point)
212 (python-shell-completion--get-completions)
213 (python-shell-completion-complete-at-point)
214 (python-shell-completion-complete-or-indent)
215 (python-shell-get-or-create-process)
216 (python-shell-get-process-name)
217 (python-shell-internal-get-or-create-process)
218 (python-shell-internal-get-process-name)
219 (python-shell-internal-send-string, python-shell-make-comint)
220 (python-shell-parse-command, python-shell-send-setup-code)
221 (python-skeleton-add-menu-items)
222 (python-util-clone-local-variables, python-util-position)
223 (run-python-internal, python-indentation-levels)
224 (python-nav-beginning-of-defun)
225 (python-completion-complete-at-point): New functions.
226 (run-python): Change arguments. New API requirements.
227
4302f5ba
SM
2282012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
229
f38ea36d
SM
230 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
231 (bug#11649).
232
233 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
234 (macroexp--expand-all): Use it.
235
4302f5ba
SM
236 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
237 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
238 Use `cl-function' instead.
239
33377562
JB
2402012-06-14 Juanma Barranquero <lekktu@gmail.com>
241
242 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
243 Suggested by Stefan Monnier while discussing bug#11657.
244
54c5ba1a
SS
2452012-06-14 Sam Steingold <sds@gnu.org>
246
247 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
248
f9f1b1fe
AS
2492012-06-14 Andreas Schwab <schwab@linux-m68k.org>
250
251 * play/doctor.el (doctor-doc): Remove parameter and use
252 doctor-sent instead of sent.
253 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
254
a81068ba
SM
2552012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
256
5a315f9c
SM
257 * files.el: Require cl-lib.
258 (file-name-non-special): Replace case -> cl-case.
259
260 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
261
a81068ba
SM
262 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
263 mapping from #' to function*.
264
8cca9703
CY
2652012-06-13 Chong Yidong <cyd@gnu.org>
266
267 * mouse.el (mouse-drag-track): Do not set the mark if the user
268 releases the mouse without selecting anything (Bug#11588).
269
a12ac9d7
SM
2702012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
271
ccf1dc18
SM
272 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
273 as well (bug#11646).
274
ef62b23d
SM
275 * loadup.el: Count byte-code functions as well.
276
c4c8444a
SM
277 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
278 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
279
a12ac9d7
SM
280 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
281 (bug#11649). Add cl-defun and cl-defmacro.
282
87e6e64f
DA
2832012-06-13 Drew Adams <drew.adams@oracle.com>
284
285 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
286 Fix last change.
287
682cefaf
MA
2882012-06-13 Michael Albinus <michael.albinus@gmx.de>
289
290 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
291 Otherwise, it blocks in batch mode.
292
773e1f08
JB
2932012-06-13 Juanma Barranquero <lekktu@gmail.com>
294
295 * help-mode.el (bookmark-make-record-default): Declare.
296
60057926
CY
2972012-06-13 Chong Yidong <cyd@gnu.org>
298
299 * emacs-lisp/package.el (list-packages): Compute a list of
300 packages that are newly-available since the last list-packages
301 invocation.
302 (package-menu--new-package-list): New var.
303 (package-menu--generate, package-menu--print-info)
304 (package-menu--status-predicate, package-menu-mark-install):
305 Handle new status label "new".
306
ad4d226c
SM
3072012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
310 conversion to backquotes.
311
f1a4e679
CY
3122012-06-12 Chong Yidong <cyd@gnu.org>
313
314 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
315 Rename from gud-inhibit-global-bindings.
316
317 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
318
319 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
320 hook from nxml-glyph-set-hook.
321
322 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
323 declaration.
324
325 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
326
327 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
328 Convert to defcustom.
329
0c9e42b5
DA
3302012-06-12 Drew Adams <drew.adams@oracle.com>
331
332 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
333 New functions.
334 (help-mode): Use them.
335
09e06855
GM
3362012-06-11 Glenn Morris <rgm@gnu.org>
337
338 * progmodes/fortran.el (fortran-font-lock-keywords-3):
339 Use preprocessor face for directives.
340 (fortran-directive-re): Doc fix.
341
71adb94b
SM
3422012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
343
2eb87922
SM
344 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
345 conversion to backquotes (bug#11652).
346
71adb94b
SM
347 Fix compiler-expansion of CL's cXXr functions (bug#11673).
348 * emacs-lisp/cl-lib.el (cl--defalias): New function.
349 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
350 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
351 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
352 (cl-ninth, cl-tenth): Mark them as inlinable.
353 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
354 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
355 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
356 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
357 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
358 (cl-list*, cl-adjoin): Don't put an autoload manually.
359 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
360 (cl--compiler-macro-list*): Add autoload cookie.
361 (cl--compiler-macro-cXXr): New function.
2eb87922 362
71adb94b
SM
363 * help-fns.el (help-fns--compiler-macro): New function extracted from
364 describe-function-1; follow aliases and use `compiler-macro' property.
365 (describe-function-1): Use it.
366
a6674402
CY
3672012-06-11 Chong Yidong <cyd@gnu.org>
368
369 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
370 is uninstalled, if imagemagick is installed.
371
bb3faf5b
SM
3722012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * emacs-lisp/cl-lib.el: Use lexical-binding.
375 (cl-map-extents, cl-maclisp-member): Remove.
376 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
377 (cl--set-substring, cl--block-wrapper, cl--block-throw)
378 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
379 * emacs-lisp/cl-extra.el: Use lexical-binding.
380 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
381 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
382 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
383 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
384 * emacs-lisp/cl-seq.el: Use lexical-binding.
385 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
386 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
387 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
388 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
389 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
390 CL's internals.
391
2fe4b125
MA
3922012-06-11 Michael Albinus <michael.albinus@gmx.de>
393
394 Sync with Tramp 2.2.6-pre.
395
396 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
397 `print-length' and `print-level' to nil, in order to avoid
398 truncation. Reported by Christopher Schmidt
399 <christopher@ristopher.com>.
400
401 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
402
403 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
404 New defmacro.
405 (tramp-compat-copy-directory): Add optional argument
406 COPY-CONTENTS. It is not handled yet.
407
408 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
409 (tramp-ftp-file-name-p): Simplify.
410
411 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
412 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
413 connection vector.
414
415 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
416 (tramp-methods): Do not use `tramp-password-end-of-line'.
417 (tramp-completion-function-alist-putty): Handle UNIX case.
418 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
419 (tramp-do-file-attributes-with-stat)
420 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
421 gid as real numbers. They could run out of integer range on cygwin.
422 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
423 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
424 (tramp-open-connection-setup-interactive-shell):
425 Use `tramp-cleanup'. Move check for busyboxes ...
426 (tramp-find-shell): ... here. Simplify implementation.
427 Set "remote-shell" property also for alternative shells.
428 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
429 If failing, a regular file would be written otherwise.
430 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
431 (tramp-find-inline-encoding): Cache the coding commands in the
432 process cache. Apply test command on the remote side, if defined.
433 (tramp-find-inline-compress): Cache the compress commands in the
434 process cache.
435 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
436 when requested. Handle hops.
437 (tramp-current-connection): New defvar.
87e6e64f
DA
438 (tramp-maybe-open-connection): Use `tramp-cleanup'.
439 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 440 Handle user interrupt. (Bug#10187)
87e6e64f
DA
441 (tramp-get-inline-compress, tramp-get-inline-coding):
442 Read connection properties from the process cache.
2fe4b125
MA
443
444 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
445 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
446 New defconsts.
2fe4b125
MA
447 (tramp-smb-prompt): Extend for powershell prompt.
448 (tramp-smb-file-name-handler-alist): Add handlers for
449 `process-file', `shell-command' and `start-file-process'.
450 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
451 (tramp-smb-winexe-shell-command-switch): New defcustoms.
452 (tramp-smb-file-name-p): Simplify.
453 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
454 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
455 (tramp-smb-shell-quote-argument): New defuns.
456 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
457 Implement using "tar". By this, time-stamps are preserved.
458 (tramp-smb-handle-copy-file): Handle also the case of directories.
459 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
460 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
461 Use `tramp-get-connection-buffer').
2fe4b125
MA
462 (tramp-smb-handle-rename-file): Use "rename", when source and
463 target are on the same share.
87e6e64f
DA
464 (tramp-smb-maybe-open-connection): Handle wrong passwords.
465 Use `tramp-smb-server-version'.
2fe4b125
MA
466 (tramp-smb-wait-for-output): Remove prompt.
467
468 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
469 (tramp-methods, tramp-rsh-end-of-line):
470 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
471 (tramp-save-ad-hoc-proxies): New defcustom.
472 (tramp-completion-function-alist): Adapt docstring.
473 (tramp-default-password-end-of-line): Remove defcustom.
474 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
475 (tramp-user-regexp, tramp-file-name-regexp-unified)
476 (tramp-file-name-regexp-url): Extend regexp by hop separator.
477 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
478 (tramp-remote-file-name-spec-regexp): New defconst.
479 (tramp-file-name-structure): Extend structure for hops.
480 (tramp-get-method-parameter): Move up.
481 (tramp-file-name-p, tramp-dissect-file-name)
482 (with-parsed-tramp-file-name): Handle hops.
483 (tramp-file-name-hop): New defun.
484 (tramp-make-tramp-file-name): New optional arg HOP.
485 (tramp-message-show-progress-reporter-message): New defvar.
486 (tramp-with-progress-reporter): Use it. We cannot use
487 `tramp-message-show-message' here, because this suppresses also
488 error buffers.
489 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
490 `tramp-message-show-message' is nil.
491 Use `tramp-get-connection-buffer'.
2fe4b125
MA
492 (tramp-cleanup): New defun.
493 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
494 (tramp-file-name-handler): If `debug-on-error' is set, propagate
495 an error unchanged.
496 (tramp-completion-handle-file-name-all-completions): Handle hops.
497 Fix an error when called from ido.
498 (tramp-completion-dissect-file-name): Use better local variable
499 name. Add hop to the vector.
500 (tramp-handle-insert-file-contents): Use progress-reporter for the
501 whole scenario.
502 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
503 to `t'.
504 (tramp-check-for-regexp): Simplify search.
505 (tramp-enter-password): Remove it. Move implementation ...
506 (tramp-action-password): ... here.
507 (tramp-mode-string-to-int, tramp-local-host-p)
508 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
509 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
510 Set tramp-autoload cookie.
2fe4b125
MA
511
512 * net/trampver.el: Update release number.
513
5142012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
515 Michael Albinus <michael.albinus@gmx.de>
516
517 * net/tramp.el (tramp-set-completion-function): Fix docstring.
518 (tramp-parse-group, tramp-parse-file)
519 (tramp-parse-shostkeys-sknownhosts): New defuns.
520 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
521 (tramp-parse-shosts-group, tramp-parse-sconfig)
522 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
523 (tramp-parse-sknownhosts, tramp-parse-hosts)
524 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
525 Use them.
526 (tramp-parse-passwd-group, tramp-parse-netrc-group)
527 (tramp-parse-putty-group): Don't narrow.
528 (tramp-parse-putty): Make a loop.
529 (tramp-file-name-handler): Catch the `suppress' signal.
530
72834e10
CY
5312012-06-11 Chong Yidong <cyd@gnu.org>
532
533 * image.el (imagemagick-register-types): Put the ImageMagick entry
534 at the end of image-type-file-name-regexps.
535
a4712e11
JB
5362012-06-11 Johan Bockgård <bojohan@gnu.org>
537
538 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
539 (pcase, pcase-let*, pcase-dolist): Use them.
540
82ad98e3
SM
5412012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * emacs-lisp/pcase.el (pcase--let*): New function.
544 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
545 (pcase--expand): Use macroexp-let².
546
f80efb86
SM
5472012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
550 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
551 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
552 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
553 * emacs-lisp/derived.el: Use pcase instead of `cl'.
554 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
555
31ca4639 5562012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 557
31ca4639
CY
558 * mail/rmail.el (rmail-yank-current-message): Leave point at
559 correct position. (Bug#11660)
94f0aa34 560
31ca4639 5612012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 562
31ca4639 563 * allout-widgets.el: Fix code header.
9e1b8ec4 564
31ca4639 5652012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 566
f80efb86
SM
567 * cus-edit.el (customize-changed-options-previous-release):
568 Bump to 24.1.
31ca4639 569
642b6d30
AS
5702012-06-09 Andreas Schwab <schwab@linux-m68k.org>
571
572 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
573
4f5d2ba1
CY
5742012-06-09 Chong Yidong <cyd@gnu.org>
575
576 * ebuff-menu.el (electric-buffer-list): Preserve header line.
577
e75852fd
MR
5782012-06-09 Martin Rudalics <rudalics@gmx.at>
579
580 * window.el (special-display-popup-frame): Don't use
581 window--display-buffer (Bug#11651).
582
1e48e282
EZ
5832012-06-09 Eli Zaretskii <eliz@gnu.org>
584
8a26b487
EZ
585 Fix parallel builds: make sure loaddefs.el is not being written
586 while Lisp files are compiled.
587 (compile): Don't depend on 'mh-autoloads'.
588 (compile-CMD, compile-SH): Depend on 'autoloads'.
589 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
590
1e48e282
EZ
591 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
592
6175e34b
CY
5932012-06-09 Chong Yidong <cyd@gnu.org>
594
595 * face-remap.el (face-remap-add-relative, face-remap-set-base)
596 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
597 Doc fixes (Bug#11225).
598
d9857e53
SM
5992012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
602 a function if there's a clear indication that it has a compiler-macro.
603 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
604 (macro-declarations-alist): Add arglist to declaration functions.
605 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
606 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
607 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
608 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
609 Also add autoload to find the compiler macro.
610 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
611 (cl--compiler-macro-member, cl--compiler-macro-assoc)
612 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
613 (cl--compiler-macro-get): New functions, replacing calls to
614 cl-define-compiler-macro.
615 (cl-typep) [compiler-macro]: Use macroexp-let².
616
f81298f8 6172012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
618
619 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
620 string properly, fixes Bug#11473.
621
4b56d0fe
CY
6222012-06-08 Chong Yidong <cyd@gnu.org>
623
624 * faces.el (set-face-attribute): Doc fix.
625 (modify-face): Don't use :bold and :italic.
626 (error, warning, success): Tweak definitions.
627
628 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
629 (custom-modified, custom-set, custom-changed, custom-themed)
630 (custom-saved, custom-button, custom-button-mouse)
631 (custom-button-pressed, custom-state, custom-comment-tag)
632 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
633 (custom-group-subtitle): Use new-style face specs.
634 (custom-invalid-face, custom-rogue-face, custom-modified-face)
635 (custom-set-face, custom-changed-face, custom-saved-face)
636 (custom-button-face, custom-button-pressed-face)
637 (custom-documentation-face, custom-state-face)
638 (custom-comment-face, custom-comment-tag-face)
639 (custom-variable-tag-face, custom-variable-button-face)
640 (custom-face-tag-face, custom-group-tag-face-1)
641 (custom-group-tag-face): Remove obsolete face alias.
642
643 * epa.el (epa-validity-high, epa-validity-medium)
644 (epa-validity-low, epa-mark, epa-field-name, epa-string)
645 (epa-field-name, epa-field-body):
646 * font-lock.el (font-lock-comment-face, font-lock-string-face)
647 (font-lock-keyword-face, font-lock-builtin-face)
648 (font-lock-function-name-face, font-lock-variable-name-face)
649 (font-lock-type-face, font-lock-constant-face):
650 * ido.el (ido-first-match, ido-only-match, ido-subdir)
651 (ido-virtual, ido-indicator, ido-incomplete-regexp):
652 * speedbar.el (speedbar-button-face, speedbar-file-face)
653 (speedbar-directory-face, speedbar-tag-face)
654 (speedbar-selected-face, speedbar-highlight-face)
655 (speedbar-separator-face):
656 * whitespace.el (whitespace-newline, whitespace-space)
657 (whitespace-hspace, whitespace-tab, whitespace-trailing)
658 (whitespace-line, whitespace-space-before-tab)
659 (whitespace-space-after-tab, whitespace-indentation)
660 (whitespace-empty):
661 * emulation/cua-base.el (cua-global-mark):
662 * eshell/em-prompt.el (eshell-prompt):
663 * net/newst-plainview.el (newsticker-new-item-face)
664 (newsticker-old-item-face, newsticker-immortal-item-face)
665 (newsticker-obsolete-item-face, newsticker-date-face)
666 (newsticker-statistics-face, newsticker-default-face):
667 * net/newst-reader.el (newsticker-feed-face)
668 (newsticker-extra-face, newsticker-enclosure-face):
669 * net/newst-treeview.el (newsticker-treeview-face)
670 (newsticker-treeview-new-face, newsticker-treeview-old-face)
671 (newsticker-treeview-immortal-face)
672 (newsticker-treeview-obsolete-face)
673 (newsticker-treeview-selection-face):
674 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
675 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
676 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
677 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
678 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
679 (nxml-outline-active-indicator, nxml-outline-ellipsis):
680 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
681 (mpuz-text):
682 * progmodes/vera-mode.el (vera-font-lock-number)
683 (vera-font-lock-function, vera-font-lock-interface):
684 * textmodes/table.el (table-cell): Use new-style face specs, and
685 don't use the old :bold and :italic attributes.
686
687 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
688 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
689 (ebrowse-member-class, ebrowse-progress): Likewise.
690 (ebrowse-tree-mark-face, ebrowse-root-class-face)
691 (ebrowse-file-name-face, ebrowse-default-face)
692 (ebrowse-member-attribute-face, ebrowse-member-class-face)
693 (ebrowse-progress-face): Remove obsolete faces.
694
695 * progmodes/flymake.el (flymake-errline, flymake-warnline):
696 Inherit from error and warning faces respectively.
697
698 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
699 Likewise.
f80efb86
SM
700 (flyspell-incorrect-face, flyspell-duplicate-face):
701 Remove obsolete aliases.
4b56d0fe 702
03310646
MA
7032012-06-08 Michael Albinus <michael.albinus@gmx.de>
704
705 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
706 Avoid infloop.
707
513749ee
SM
7082012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * startup.el (argv, argi): Make lexically scoped.
711 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
712 * emacs-lisp/cl-macs.el: Use lexical-binding.
713 Rename cl-bind-* to cl--bind-*.
714 * files.el: Don't require `cl' since it doesn't use it.
715 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
716
595ef4ad
JB
7172012-06-08 Juanma Barranquero <lekktu@gmail.com>
718
719 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
720 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
721 instead of calling external sort utility.
722 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
723
e9f66fcb
EZ
7242012-06-08 Eli Zaretskii <eliz@gnu.org>
725
726 * descr-text.el (describe-char): Mention how to insert the
727 character, if the current input method doesn't support it.
728 See the discussion in this thread for the details:
729 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
730
3d10db47
SS
7312012-06-08 Sam Steingold <sds@gnu.org>
732
733 * bindings.el (global-map): Bind XF86Forward to next-buffer and
734 XF86Back to previous-buffer.
735 (minibuffer-local-map): Bind them to next-history-element and
736 previous-history-element respectively.
737 * help-mode.el (help-mode-map): Bind them to help-go-forward and
738 help-go-back respectively.
739 * info.el (Info-mode-map): Bind them to Info-history-forward and
740 Info-history-back respectively.
741 These are the keys next to Up on the ThinkPad keyboard.
742
de7e2b36
SM
7432012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
746 * emacs-lisp/cl-macs.el: Provide itself.
747 (cl--labels-convert-cache): New var.
748 (cl--labels-convert): New function.
749 (cl-flet, cl-labels): New implementation with new semantics, relying on
750 lexical-binding.
751 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
752 (cl-closure-vars, cl--function-convert-cache)
753 (cl--function-convert): Move from cl-macs.el.
754 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
755 rename by removing the "cl-" prefix.
756 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
757
6fa6c4ae
SM
7582012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
761 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
762 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
763 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
764 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
765 (cl-hash-table-count): Add old compatibility aliases.
766
767 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
768 Use macroexpand-all-environment instead.
769 (cl--old-macroexpand): New var.
770 (cl--sm-macroexpand): New function.
771 (cl-symbol-macrolet): Use it during macro expansion.
772 (cl--function-convert-cache): New var.
773 (cl--function-convert): New function, extracted from
774 cl-macroexpand-all.
775 (cl-lexical-let): Use it.
776
777 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
778 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
779 (cl-member): Remove old alias.
780
781 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
782 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
783 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
784 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
785 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
786 (cl-macroexpand-cmacs): Remove var.
787 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
788 Use macroexpand-all instead.
789
4dd1c416
SM
7902012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
793 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
794 (macroexp-copyable-p): New functions and macros.
795 * emacs-lisp/edebug.el (edebug-unwrap):
796 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
797 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
798 (pcase--let*): Remove.
799 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
800 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
801 macroexp-const-p instead.
802 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
803
804 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
805 instead of "cl-" for internal definitions. Use macroexp-const-p.
806 (cl-old-bc-file-form): Remove var.
807 (cl-const-exprs-p): Remove fun.
808 (cl-labels, cl-macrolet): Use backquote.
809 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
810 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
811 (cl-define-setf-expander): Rename from cl-define-setf-method.
812 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
813
814 * international/mule-cmds.el: Don't require CL.
815 (view-hello-file): Don't use `letf'.
816
ed8bd4d7
SM
8172012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
818
7287f2f3
SM
819 * tmm.el (tmm-prompt): Use string-prefix-p.
820 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
821 (tmm-add-prompt): Use minibuffer-completion-help.
822 (tmm-delete-map): Remove.
823
ed8bd4d7
SM
824 * subr.el (kbd): Make it its own function.
825
7b4cdbf4
SM
8262012-06-07 Stefan Merten <smerten@oekonux.de>
827
828 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
829 Silence compiler warnings. Fix versions.
ed8bd4d7 830 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 831 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 832 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
833 (rst-package-emacs-version-alist): Correct Emacs version to
834 represent major merge with upstream.
ed8bd4d7 835 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 836
2b48d721
GM
8372012-06-06 Glenn Morris <rgm@gnu.org>
838
839 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
840 Only print environment variables if set.
841
fa779ab0
SM
8422012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
845 (macroexp--cons): Rename from maybe-cons.
846 (macroexp--accumulate): Rename from macroexp-accumulate.
847 (macroexp--all-forms): Rename from macroexpand-all-forms.
848 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
849 (macroexp--expand-all): Rename from macroexpand-all-1.
850
628299e0
SS
8512012-06-06 Sam Steingold <sds@gnu.org>
852
853 * calendar/calendar.el (calendar-in-read-only-buffer):
854 Call `special-mode' to enable the standard read-only keybindings.
855
b7bb5838
SM
8562012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
859 with "loading" messages (bug#11635).
860
dfb308ba
MA
8612012-06-06 Michael Albinus <michael.albinus@gmx.de>
862
863 * files.el (enable-remote-dir-locals): New option.
864 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
865
0372ee92
MA
866 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
867 Ensure, that the temp directory is local.
868
869 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
870 `temporary-file-directory'.
871
eed0bb91
MA
872 * progmodes/python.el (python-send-region): Ensure, that the
873 temporary file is created also in the remote case.
874
7a58f64d
GM
8752012-06-06 Glenn Morris <rgm@gnu.org>
876
f7dd4e98
GM
877 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
878 (vc-rcs-update-changelog): Use it.
879
276d5f5d
GM
880 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
881
7a58f64d
GM
882 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
883 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
884 (vc-sccs-diff): Replace use of the external vcdiff script.
885
daed4003
GM
8862012-06-05 Glenn Morris <rgm@gnu.org>
887
888 * ledit.el: Move to obsolete/.
889
48c455c7
SS
8902012-06-05 Sam Steingold <sds@gnu.org>
891
892 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
893 patch (Bug#11140).
894
57a7d507
SM
8952012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
896
d32926ff
SM
897 * emacs-list/cust-print.el: Move to obsolete.
898
53aacf21
SM
899 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
900 compiler-macro expansion.
901
57a7d507
SM
902 Add native compiler-macro support.
903 * emacs-lisp/macroexp.el (macroexpand-all-1):
904 Support compiler-macros directly. Properly follow aliases and apply
905 the compiler macros more thoroughly.
906 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
907 macroexpand now properly follows aliases.
908 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
909 (cl-compiler-macroexpand): Use new prop.
910 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
911
912 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
913
51a5f9d8
MR
9142012-06-05 Martin Rudalics <rudalics@gmx.at>
915
916 * window.el (get-lru-window, get-mru-window, get-largest-window):
917 New argument NOT-SELECTED to avoid picking the selected window.
918 (window--display-buffer-1, window--display-buffer-2): Replace by
919 new function window--display-buffer
920 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
921 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
922 Use window--display-buffer.
51a5f9d8
MR
923 (display-buffer-use-some-window): Remove temporary dedication
924 hack by calling get-lru-window and get-largest-window with
925 NOT-SELECTED argument non-nil. Call window--display-buffer.
926
08f9f738
GM
9272012-06-05 Glenn Morris <rgm@gnu.org>
928
929 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
930 Replace external vcdiff script.
931
e364a2b7
SM
9322012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
935
041df390
CY
9362012-06-04 Chong Yidong <cyd@gnu.org>
937
e364a2b7
SM
938 * image.el (imagemagick-types-inhibit): Revert last change.
939 Add INFO and M.
47b36b94 940 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 941
7c1898a7
SM
9422012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * emacs-lisp/cl-lib.el: Rename from cl.el.
945 * emacs-lisp/cl.el: New compatibility file.
946 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
947 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
948 to obey the "cl-" prefix.
949 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
950
0c3461de
GM
9512012-06-03 Glenn Morris <rgm@gnu.org>
952
1e266c88
GM
953 * emacs-lisp/authors.el (authors-aliases): Addition.
954
0c3461de
GM
955 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
956 Fix :version.
957
d8a52e15
SM
9582012-06-03 Stefan Merten <smerten@oekonux.de>
959
960 * textmodes/rst.el: Add comments.
961 (rst-transition, rst-adornment): New faces.
962 (rst-adornment-faces-alist): Make default safe to reevaluate.
963 Fixes
964 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
965 Improve customization tags.
966 (rst-define-level-faces): Clarify meaning.
967
5205d6f6
CY
9682012-06-03 Chong Yidong <cyd@gnu.org>
969
970 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
971 (compilation-mode-line-run, compilation-mode-line-exit):
972 New faces.
5205d6f6
CY
973 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
974
757ee657
JD
9752012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
976
7c1898a7
SM
977 * progmodes/which-func.el (which-func-update-ediff-windows):
978 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 979
5f2c76c6
CY
9802012-06-03 Chong Yidong <cyd@gnu.org>
981
982 * bindings.el: Remove explicit help text from format-mode-line.
983 It is now supplied by mode-line-default-help-echo.
984 (mode-line-front-space, mode-line-end-spaces)
985 (mode-line-misc-info): New variables.
986 (mode-line-modes, mode-line-position): Move the default value to
987 the variable definition.
988 (mode-line-default-help-echo): New defcustom.
383f7350
CY
989 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
990 (mode-line-modified-help-echo): New functions.
991 (mode-line-mule-info, mode-line-modified): Use them.
992 (mode-line-eol-desc, propertized-buffer-identification):
993 Consistency fixes for help text.
cbe46e5f
CY
994 (mode-line-coding-system-map): Allow using mouse-3 to invoke
995 set-buffer-file-coding-system (Bug#289).
996 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 997
f2d6a3df
SM
9982012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * simple.el (execute-extended-command): Set real-this-command
1001 (bug#11506).
1002
37269466
CY
10032012-06-02 Chong Yidong <cyd@gnu.org>
1004
1005 Remove incorrect uses of "modeline" in comments, docstrings, and
1006 function/variable names (Bug#10329).
1007
1008 * cus-edit.el (mode-line):
1009 * dframe.el (dframe-mouse-hscroll):
1010 * emacs-lisp/re-builder.el:
1011 * emacs-lisp/easy-mmode.el (define-minor-mode):
1012 * frame.el (set-frame-name):
1013 * help.el (lookup-minor-mode-from-indicator):
1014 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1015 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1016 (c-toggle-hungry-state):
1017 * progmodes/antlr-mode.el (antlr-language-alist):
1018 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1019 * progmodes/vhdl-mode.el (vhdl-mode):
1020 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1021 * term/ns-win.el (ns-face-at-pos):
1022 * term/sup-mouse.el (sup-mouse-report):
1023 * textmodes/flyspell.el (flyspell-mode-line-string):
1024 * textmodes/ispell.el (ispell-highlight-face):
1025 * textmodes/reftex-global.el:
1026 * vc/vc-arch.el (vc-arch-mode-line-string):
1027 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1028 * vc/vc-git.el (vc-git-mode-line-string):
1029 * vc/vc-hooks.el (vc-display-status)
1030 (vc-default-mode-line-string):
1031 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1032
1033 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1034
1035 * dired.el (dired-sort-set-mode-line): Rename from
1036 dired-sort-set-modeline. All callers changed.
1037
1038 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1039 eshell-status-in-modeline.
1040
1041 * foldout.el (foldout-mode-line-string): Rename from
1042 foldout-modeline-string. All callers changed.
1043 (foldout-update-mode-line): Rename from foldout-update-modeline.
1044
1045 * subr.el (redraw-modeline): Make into obsolete alias.
1046
1047 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1048 timeclock-modeline-display. Make old name an alias.
1049 (timeclock-update-mode-line): Likewise. All callers changed.
1050 (timeclock-mode-line-display): No need to check before using
1051 add-hook.
1052 (timeclock-relative, timeclock-day-over-hook)
1053 (timeclock-use-elapsed, timeclock-mode-string)
1054 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1055
1056 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1057 crisp-mode-modeline-string.
1058
1059 * play/solitaire.el (solitaire-build-mode-line): Rename from
1060 solitaire-build-modeline. All callers changed.
1061
1062 * play/zone.el (zone-hiding-mode-line): Rename from
1063 zone-hiding-modeline. All callers changed.
1064 (zone): Remove unusued `modeline-hidden-level' property.
1065
1066 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1067 xscheme-modeline-initialize. All callers changed.
1068
1069 * strokes.el (strokes-lighter): Rename from
1070 strokes-modeline-string.
1071
1072 * textmodes/sgml-mode.el (html-face-tag-alist)
1073 (html-tag-face-alist): Use mode-line face instead of obsolete
1074 alias modeline.
1075
42152ee4
SM
10762012-06-02 Stefan Merten <smerten@oekonux.de>
1077
1078 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1079 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1080
95f520b5
CY
10812012-06-02 Chong Yidong <cyd@gnu.org>
1082
1083 * image.el (imagemagick-enabled-types): Rename from
1084 imagemagick-types-enable. Add many more types.
1085 (imagemagick-types-inhibit): Change default to nil.
1086 (imagemagick-filter-types): Caller changed.
1087
4a5f187a
SM
10882012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1089
03fef3e6
SM
1090 * emacs-lisp/cl-macs.el: Use backquotes.
1091 (cl-transform-function-property): Use eval-and-compile rather than
1092 abusing `require'.
1093 (defstruct): Use declare-function instead of with-no-warnings.
1094
4a5f187a
SM
1095 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1096 (byte-compile-output-docform): Re-add the print-circle bindings.
1097 (byte-compile-fix-header): Use #$ just because it's shorter.
1098 (byte-compile-output-file-form): Remove defun/defmacro.
1099
bd56924f
MR
11002012-06-01 Martin Rudalics <rudalics@gmx.at>
1101
1102 * simple.el (choose-completion): Remove now obsolete binding for
1103 owindow.
1104
046e38ce
MA
11052012-06-01 Michael Albinus <michael.albinus@gmx.de>
1106
1107 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1108 in order to avoid "Stack overflow in regexp matcher".
1109
32d72c2f
GM
11102012-05-31 Glenn Morris <rgm@gnu.org>
1111
1112 * image.el: For clarity, call imagemagick-register-types at
1113 top-level, rather than relying on a custom :initialize.
1114 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1115 (imagemagick-filter-types): New function. (Bug#7406)
1116 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1117 If disabling support, remove elements altogether rather
1118 than using an impossible regexp.
1119 (imagemagick-types-inhibit): Give it the default init function.
1120
dd41169b
SM
11212012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1122
4a5f187a
SM
1123 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1124 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1125
efc00ab1 11262012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1127
1128 * desktop.el (desktop-read): Clear previous and next buffers for
1129 all windows and bury *Messages* buffer (bug#11556).
1130
500fcedc
SM
11312012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 Add `declare' for `defun'. Align `defmacro's with it.
1134 * emacs-lisp/easy-mmode.el (define-minor-mode)
1135 (define-globalized-minor-mode): Don't autoload the var definitions.
1136 * emacs-lisp/byte-run.el: Use lexical-binding.
1137 (defun-declarations-alist, macro-declarations-alist): New vars.
1138 (defmacro, defun): Use them.
1139 (make-obsolete, define-obsolete-function-alias)
1140 (make-obsolete-variable, define-obsolete-variable-alias):
1141 Use `declare'.
1142 (macro-declaration-function): Mark obsolete.
1143 * emacs-lisp/autoload.el: Use lexical-binding.
1144 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1145
6e8a1786
AM
11462012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1147
1148 * textmodes/ispell.el (ispell-with-no-warnings):
1149 Define as a macro.
500fcedc
SM
1150 (ispell-kill-ispell, ispell-change-dictionary):
1151 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1152 `interactive-p'.
1153
61b108cc
SM
11542012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1157 (macro-declaration-function): Move var from C code.
1158 (macro-declaration-function): Define function with defalias.
1159 * emacs-lisp/macroexp.el (macroexpand-all-1):
1160 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1161 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1162 defun/defmacro any more.
1163 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1164 Provide fallback for unknown arglist.
1165 (byte-compile-arglist-warn): Change calling convention.
1166 (byte-compile-output-file-form): Move print-vars binding.
1167 (byte-compile-output-docform): Simplify accordingly.
1168 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1169 (byte-compile-defmacro-declaration): Remove.
1170 (byte-compile-file-form-defmumble): Generalize to defalias.
1171 (byte-compile-output-as-comment): Return byte-positions.
1172 Simplify callers accordingly.
1173 (byte-compile-lambda): Use `assert'.
1174 (byte-compile-defun, byte-compile-defmacro): Remove.
1175 (byte-compile-file-form-defalias):
1176 Use byte-compile-file-form-defmumble.
1177 (byte-compile-defalias-warn): Remove.
1178
6d3f7c2f
SM
11792012-05-29 Stefan Merten <smerten@oekonux.de>
1180
1181 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1182 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1183
1184 (rst-mode-abbrev-table): Merge definition.
1185 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1186 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1187
6dbaa1c7
UJ
11882012-05-29 Ulf Jasper <ulf.jasper@web.de>
1189
1190 * calendar/icalendar.el
1191 (icalendar-export-region): Export UID properly.
1192
11932012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1194 * calendar/icalendar.el (icalendar-import-format):
1195 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1196 (icalendar-import-format-uid): New.
1197 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1198 Export UID.
1199
6876a58d
SM
12002012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1203 different alternative patterns.
1204 (pcase-codegen): Be more careful to preserve identity.
1205 (pcase--u1): Don't forget to mark vars as used.
1206
1207 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1208 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1209 (byte-compile-from-buffer): ...rather than here.
1210
1211 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1212 functions from byte-compile-function-environment.
1213
46b7967e
TN
12142012-05-29 Troels Nielsen <bn.troels@gmail.com>
1215
1216 * window.el (window-deletable-p): Avoid deleting the root window
1217 of a frame with an active minibuffer.
1218
69d565e2
MR
12192012-05-29 Martin Rudalics <rudalics@gmx.at>
1220
1221 * simple.el (choose-completion): Use quit-window (Bug#11567).
1222
a149fa51
CY
12232012-05-29 Chong Yidong <cyd@gnu.org>
1224
1225 * whitespace.el (whitespace-cleanup): Fix usage of
1226 whitespace-empty-at-bob-regexp (Bug#11492).
1227
2b311310
AH
12282012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1229
1230 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1231 revert (Bug#11488).
1232
b9cb2387
JL
12332012-05-29 Juri Linkov <juri@jurta.org>
1234
1235 * isearch.el (isearch-mode-map): Bind `M-s _' to
1236 `isearch-toggle-symbol'. Bind `M-s c' to
1237 `isearch-toggle-case-fold'.
1238 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1239 (isearch-forward): Add `M-s _' to the docstring.
1240 (isearch-forward-symbol, isearch-toggle-case-fold)
1241 (isearch-symbol-regexp): New functions. (Bug#11381)
1242
d5e61c1c
JL
12432012-05-29 Juri Linkov <juri@jurta.org>
1244
1245 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1246 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1247 a function, call it to get the regexp.
1248 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1249 property `isearch-message-prefix' instead of the string "word ".
1250 (isearch-search-fun-default): For the case of `isearch-word',
1251 return a lambda that calls re-search-forward/re-search-backward
1252 with a regexp returned by `word-search-regexp' or by the function
1253 in `isearch-word'.
1254
8cbd80f7
JL
12552012-05-29 Juri Linkov <juri@jurta.org>
1256
1257 * isearch.el (isearch-search-fun-default): New function.
1258 (isearch-search-fun): Move default part to the new function
1259 `isearch-search-fun-default'.
1260 (isearch-search-fun-function): Set the default value to
1261 `isearch-search-fun-default'. (Bug#11381)
1262
1263 * comint.el (comint-history-isearch-end):
1264 Use `isearch-search-fun-default'.
1265 (comint-history-isearch-search): Use `isearch-search-fun-default'
1266 and remove spacial case for `isearch-word'.
1267 (comint-history-isearch-wrap): Remove spacial case for
1268 `isearch-word'.
1269
1270 * hexl.el (hexl-isearch-search-function):
1271 Use `isearch-search-fun-default'.
1272
1273 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1274 Use `word-search-regexp' for `isearch-word'.
1275
1276 * misearch.el (multi-isearch-search-fun):
1277 Use `isearch-search-fun-default'.
1278
1279 * simple.el (minibuffer-history-isearch-search):
1280 Use `isearch-search-fun-default' and remove spacial case for
1281 `isearch-word'.
1282 (minibuffer-history-isearch-wrap): Remove spacial case for
1283 `isearch-word'.
1284
1285 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1286 Remove spacial case for `isearch-word'.
1287 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1288
85c8c5b6
AM
12892012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1290
1291 Decrease XEmacs incompatibilities.
1292 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1293 Use `string-match'.
1294 (flyspell-delete-region-overlays): Use alternative definition for
1295 XEmacs.
1296 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1297 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1298 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1299 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1300 `define-obsolete-face-alias' under XEmacs, but old method.
1301
1302 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1303 `with-no-warnings' definition or Emacs alias.
1304 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1305 (ispell-word): Do not use `region-p' if XEmacs.
1306
8cab9efc
AM
13072012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1308
1309 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1310 Check for `ispell-dictionary-base-alist' instead of full
1311 `ispell-dictionary-alist'.
1312 (ispell-init-process): Show spellchecker when starting new Ispell
1313 process.
1314
fda91268
RZ
13152012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1318 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1319
694ea8e3
JB
13202012-05-27 Juanma Barranquero <lekktu@gmail.com>
1321
1322 * version.el (motif-version-string, gtk-version-string)
1323 (ns-version-string): Declare.
1324
e4d4f539
JL
13252012-05-27 Juri Linkov <juri@jurta.org>
1326
1327 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1328 after the `eval-defun-1' specialcaseing
1329 like in `edebug-eval-defun' (bug#10181).
1330
1331 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1332 like in `eval-defun-1'.
1333
33017faf 13342012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1335
fda91268
RZ
1336 * mail/sendmail.el (mail-yank-region):
1337 Recognize rmail-yank-current-message in addition to insert-buffer.
1338 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1339 a *mail* buffer created through rmail-start-mail with sendmail as
1340 mail-user-agent.
1341
33017faf
GM
13422012-05-27 Chong Yidong <cyd@gnu.org>
1343
1344 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1345 Default to 256 (Bug#11267).
1346
1347 * help.el (describe-mode): Doc fix.
1348
04188bb9
GM
13492012-05-26 Glenn Morris <rgm@gnu.org>
1350
38264cc9
GM
1351 * w32-fns.el (w32-init-info): Remove.
1352 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1353
eb7afdad
GM
1354 * info.el (info-initialize): For self-contained NS builds, put the
1355 included info/ directory at the front. (Bug#2791)
1356
04188bb9
GM
1357 * paths.el (Info-default-directory-list): Make it a defcustom,
1358 mainly so that we can use custom-initialize-delay.
1359
a179e3f7
SM
13602012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1361
43416392
SM
1362 * subr.el (buffer-has-markers-at): Mark obsolete.
1363
a179e3f7 1364 * subr.el (lambda): Use declare.
43416392 1365
a179e3f7
SM
1366 * emacs-lisp/lisp-mode.el (lambda):
1367 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1368
34a008d9
AH
13692012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1370
1371 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1372
0a3b289f
GM
13732012-05-26 Glenn Morris <rgm@gnu.org>
1374
1375 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1376
758c81e8
GM
13772012-05-25 Glenn Morris <rgm@gnu.org>
1378
f9f334f0
GM
1379 * paths.el: Remove no-byte-compile.
1380 * loadup.el: No need to load paths.el uncompiled.
1381
87eb79c2
GM
1382 * image.el (imagemagick-types-inhibit): Doc fix.
1383
758c81e8
GM
1384 * version.el: Remove no-byte-compile and associated formatting.
1385 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1386 is ancient code from when there was an "inc-vers.el".
1387
e7e85dc0
SM
13882012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * progmodes/gdb-mi.el: Minor style changes.
1391 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1392 Turn into minor modes.
1393 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1394 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1395 (gdb-shell): Remove unneeded let-binding.
1396 (gdb-get-many-fields): Eliminate O(n²) behavior.
1397
f31237a4
EZ
13982012-05-25 Eli Zaretskii <eliz@gnu.org>
1399
1400 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1401 platforms that don't link in fontset.c.
1402
bc1b21bb
JL
14032012-05-25 Juri Linkov <juri@jurta.org>
1404
1405 Use the same diff color scheme as in modern VCSes (bug#10181).
1406
1407 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1408 to avoid confusion with `diff-added' that now uses green colors.
1409 (diff-removed): Use shades of red.
1410 (diff-added): Use shades of green.
1411 (diff-changed): Leave just the yellow color.
1412 (diff-use-changed-face): New variable.
1413 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1414 how to highlight context diff changes.
1415 (diff-refine-change): Use shades of yellow.
1416 (diff-refine-removed): New face that uses shades of red.
1417 (diff-refine-added): New face that uses shades of green.
1418 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1419 `diff-refine-removed' in the call to `smerge-refine-subst'
1420 depending on the value of `diff-use-changed-face'.
1421
1422 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1423 (smerge-other): Use shades of green.
1424 (smerge-base): Use shades of yellow.
1425 (smerge-refined-change): Empty face.
1426 (smerge-refined-removed): New face that uses shades of red.
1427 (smerge-refined-added): New face that uses shades of green.
1428 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1429 args `props-r' and `props-a', and use them. Doc fix.
1430 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1431 on its value use different faces `smerge-refined-change',
1432 `smerge-refined-removed', `smerge-refined-added' in the call to
1433 `smerge-refine-subst'.
1434
1435 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1436 Add face condition `min-colors 88' with shades of red.
1437 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1438 `min-colors 88' with shades of green.
1439 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1440 `min-colors 88' with shades of yellow.
1441
6df9112c
GM
14422012-05-24 Glenn Morris <rgm@gnu.org>
1443
ead5edc0
GM
1444 * paths.el (prune-directory-list, remote-shell-program): Move to...
1445 * files.el (prune-directory-list, remote-shell-program): ...here.
1446 For the latter, delay initialization, prefer ssh, just search PATH.
1447
f18b81e6
GM
1448 * paths.el (term-file-prefix): Move to faces.el (the only user).
1449 * faces.el (term-file-prefix): Move here, make it a defcustom.
1450
ee2f89a6
GM
1451 * paths.el (news-directory, news-path, news-inews-program):
1452 Move to gnus/nnspool.el.
61a583ca 1453
f8815e4c
GM
1454 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1455
c8f3b42c
GM
1456 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1457 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1458 Make the latter a defcustom, with a delayed initialization.
1459
6df9112c
GM
1460 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1461 These were deleted from Gnus itself late 2010.
1462
5dadff36
JB
14632012-05-22 Juanma Barranquero <lekktu@gmail.com>
1464
9e1701c6
JB
1465 * progmodes/which-func.el (which-func-ff-hook):
1466 Check against user-error, not error.
1467
bd7239f5 1468 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1469 cl-specs.el, which no longer exists.
1470
3290526d
GM
14712012-05-22 Glenn Morris <rgm@gnu.org>
1472
1473 * info.el (info-emacs-bug): New command.
1474 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1475 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1476
ff0c3cfb
GM
14772012-05-21 Glenn Morris <rgm@gnu.org>
1478
1479 * makefile.w32-in (update-subdirs-SH):
1480 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1481
5814f126
SM
14822012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1483
a52c0aa0
SM
1484 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1485
5814f126
SM
1486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1487 Simplify Maven regexp, and make sure the file can't start with a space
1488 (bug#11517).
1489
b847032c
GM
14902012-05-21 Glenn Morris <rgm@gnu.org>
1491
1492 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1493 Scrap superfluous subshells.
1494
3858bfe7
SM
14952012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1498 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1499
d14b0029
JB
15002012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1501
1502 * calc/calc.el (calc-ensure-consistent-units): New variable.
1503
a52c0aa0
SM
1504 * calc/calc-units.el (math-consistent-units-p)
1505 (math-check-unit-consistency): New functions.
1506 (calc-quick-units, calc-convert-units):
1507 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1508 is non-nil.
d14b0029
JB
1509 (calc-extract-units): Fix typo.
1510
60c4db3a
SM
15112012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1512
77f3b62e
SM
1513 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1514
60c4db3a
SM
1515 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1516 (flyspell-default-deplacement-commands): Don't spell check after
1517 repeated window/frame switches (e.g. triggered by mouse-movement).
1518 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1519 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1520 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1521 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1522 Remove unused vars.
1523 (flyspell-get-casechars, flyspell-get-not-casechars):
1524 Simplify; Don't bother removing a ] just to add it back.
1525 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1526
b1a10716
RS
15272012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1528
1529 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1530 New functions.
bd7239f5 1531 (math-function-table): Add support for more C functions.
b1a10716 1532
3f1b25b5
AM
15332012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1534
1535 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1536 (flyspell-debug-signal-word-checked): Protect delay handling for
1537 otherchars against empty otherchars.
1538
b581bb5c
SM
15392012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1542 their respective macro declarations.
1543 * skeleton.el (define-skeleton):
1544 * progmodes/compile.el (define-compilation-mode):
1545 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1546 (define-ibuffer-filter):
1547 * emacs-lisp/generic.el (define-generic-mode):
1548 * emacs-lisp/easy-mmode.el (define-minor-mode)
1549 (define-globalized-minor-mode):
1550 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1551 * emacs-lisp/byte-run.el (defsubst):
1552 * custom.el (deftheme): Add doc-string metadata.
1553
70b8ef8f
SM
15542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1557
b1198e17
SM
15582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1559
9abdc45d
SM
1560 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1561
b1198e17
SM
1562 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1563 * emacs-lisp/cl-macs.el: Idem.
1564 * emacs-lisp/cl-specs.el: Remove.
1565
4735906a
SM
15662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 Minor renaming of internal CL functions and variables.
1569 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1570 (cl--position): Rename from cl-position.
1571 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1572 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1573 (cl--random-state): Rename from *random-state*.
1574
ac348012
SM
15752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1578 parens around the arg list (bug#11499).
1579
a0a79cde
JL
15802012-05-17 Juri Linkov <juri@jurta.org>
1581
1582 * isearch.el (word-search-regexp, word-search-backward)
1583 (word-search-forward, word-search-backward-lax)
1584 (word-search-forward-lax): Move functions from search.c
1585 (bug#10145, bug#11381).
1586
65034a51
AM
15872012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1588
1589 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1590 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1591 normal word components.
1592
1a72a195
SM
15932012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * minibuffer.el (completion--sifn-requote): Fix last change.
1596 (minibuffer-local-must-match-filename-map):
1597 Move define-obsolete-variable-alias before its var.
1598
fdb058c2
SM
15992012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1600
c41045e6
SM
1601 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1602
036dfb8b
SM
1603 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1604 behavior.
1605 (completion--string-equal-p): New function.
1606 (completion--twq-all): Use it to get better assertion failure data.
1607
2473256d
SM
1608 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1609 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1610 (shell--requote-argument): New functions.
1611 (shell-completion-vars): Use them.
1612 (shell--parse-pcomplete-arguments): Rename from
1613 shell-parse-pcomplete-arguments.
1614 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1615 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1616 Obey comint-file-name-quote-list.
1617
fdb058c2
SM
1618 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1619 (smie-indent-keyword): Use it.
1620
51fa99f1
SM
16212012-05-14 Stefan Merten <smerten@oekonux.de>
1622
1623 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1624
e18afed7 16252012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1626
1627 * net/rlogin.el (rlogin-mode-map): Fix last change.
1628
e18afed7 16292012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1630
1631 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1632 the following \r\n using a single `process-send-string', since the
1633 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1634 with two `process-send-string's (Bug#11444).
8633b1f4 1635
e18afed7 16362012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1637
fdb058c2
SM
1638 * shell.el (shell-parse-pcomplete-arguments):
1639 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1640
2d21d7f6
WJ
16412012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1642
e18afed7 1643 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1644 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1645 (image-transform-width, image-transform-fit-width): New functions.
1646 (image-transform-properties): Use them.
1647 (image-transform-check-size): New function.
1648 (image-toggle-display-image): Use it (for testing).
1649 (image-transform-set-rotation): Reduce angle mod 360.
1650 Delete obsolete comment.
1651
7102e6d0
WJ
16522012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1653
1654 * image-mode.el: Fix scaling (bug#11399).
1655 (image-transform-resize): Doc fix.
1656 (image-transform-properties): Default scale is 1 and height should
1657 be an integer.
1658
06bc5e6e
SM
16592012-05-13 Johan Bockgård <bojohan@gnu.org>
1660
1661 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1662 than hard-coding `car', to fix misbehavior when moving forward.
1663
0ae03b6a
CY
16642012-05-13 Chong Yidong <cyd@gnu.org>
1665
1666 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1667 (tabulated-list-entries, tabulated-list-padding)
1668 (tabulated-list-sort-key): Make permanent-local.
1669
1670 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1671 (electric-buffer-list): Put electric buffer menu
1672 command descriptions in this docstring, instead of the docstring
1673 of electric-buffer-menu-mode. Code cleanups.
1674 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1675 Electric-buffer-menu-mode.
1676 (electric-buffer-update-highlight): Minor code cleanup.
1677
205a7391
MA
16782012-05-13 Michael Albinus <michael.albinus@gmx.de>
1679
1680 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1681 (Bug#11447)
1682
e5bd0a28
SM
16832012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 Move define-obsolete-variable-alias before the var's definition.
1686 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1687 * tooltip.el (tooltip-hook):
1688 * textmodes/reftex-toc.el (reftex-toc-map):
1689 * textmodes/reftex-sel.el (reftex-select-label-map)
1690 (reftex-select-bib-map):
1691 * textmodes/reftex-index.el (reftex-index-map)
1692 (reftex-index-phrases-map):
1693 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1694 * progmodes/meta-mode.el (meta-mode-map):
1695 * novice.el (disabled-command-hook):
1696 * loadhist.el (unload-hook-features-list):
1697 * frame.el (blink-cursor):
1698 * files.el (find-file-not-found-hooks, write-file-hooks)
1699 (write-contents-hooks):
1700 * emulation/tpu-edt.el (GOLD-map):
1701 * emacs-lock.el (emacs-lock-from-exiting):
1702 * emacs-lisp/generic.el (generic-font-lock-defaults):
1703 * emacs-lisp/chart.el (chart-map):
1704 * dos-fns.el (register-name-alist):
1705 * dired-x.el (dired-omit-files-p):
1706 * desktop.el (desktop-enable):
1707 * cus-edit.el (custom-mode-hook):
1708 * buff-menu.el (buffer-menu-mode-hook):
1709 * bookmark.el (bookmark-read-annotation-text-func)
1710 (bookmark-exit-hooks):
1711 * allout.el (allout-mode-deactivate-hook)
1712 (allout-exposure-change-hook, allout-structure-added-hook)
1713 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1714 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1715 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1716 comes before the corresponding variable's definition.
1717
ac59c2f6
CY
17182012-05-12 Chong Yidong <cyd@gnu.org>
1719
1720 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1721 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1722 (Buffer-menu-mode-map): Bind it.
1723 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1724
dee6c9a3
SM
17252012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1726
2171cea5
SM
1727 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1728 (prolog-upper-case-string, prolog-lower-case-string)
1729 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1730 (prolog-use-smie, prolog-smie-grammar): New vars.
1731 (prolog-smie-forward-token, prolog-smie-backward-token)
1732 (prolog-smie-rules): New funs.
1733 (prolog-comment-indent): Remove.
1734 (prolog-mode-variables): Use default comment indentation instead.
1735 Setup SMIE.
1736 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1737 (prolog-mode): Don't call them any more.
1738 (prolog-electric-colon, prolog-electric-dash)
1739 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1740
aa0382bd
SM
1741 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1742
dbacb4bd
SM
1743 * minibuffer.el (completion--twq-all): Again, allow case differences.
1744
13bdd94c
SM
1745 * term.el: Move keymap initialization code to be more idiomatic.
1746 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1747 (term-terminal-menu): Move initialization into declaration.
1748 (term-escape-char): Let the user set it in her .emacs.
1749
ff46c759
SM
1750 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1751 Provide SMIE-based indentation (not enabled by default yet).
1752 (sh-mode-map): Don't bind electric keys.
1753 Use electric-pair-mode instead of skeleton-pair.
1754 (sh-assignment-regexp): Fit within 80 columns.
1755 (sh-indent-supported): Specify actual shell name instead of boolean.
1756 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1757 (sh-maybe-here-document): Use it. Make obsolete.
1758 (sh-electric-here-document-mode) New minor mode.
1759 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1760 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1761 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1762 (sh-smie-rc-grammar, sh-use-smie): New vars.
1763 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1764 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1765 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1766 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1767 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1768 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1769 (sh-set-shell): Use smie-setup if requested.
1770
dee6c9a3
SM
1771 * term.el (term-set-escape-char): Properly set term-escape-char.
1772 See http://stackoverflow.com/questions/10524656.
1773
9f9aa044
CY
17742012-05-10 Chong Yidong <cyd@gnu.org>
1775
1776 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1777 Use url-generic-parse-url, and handle host names and Windows
1778 filenames properly.
1779 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1780 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1781 URL schemes to work on.
1782 (ffap--toggle-read-only): New function.
1783 (ffap-read-only, ffap-read-only-other-window)
1784 (ffap-read-only-other-frame): Use it.
1785 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1786 necessary for ffap-url-unwrap-remote.
1787
836d29b3
DA
17882012-05-10 Dave Abrahams <dave@boostpro.com>
1789
1790 * cus-start.el (create-lockfiles): Add it.
1791
00fd78ed
CY
17922012-05-09 Chong Yidong <cyd@gnu.org>
1793
1794 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1795 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1796
666b903b 17972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1798
1799 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1800
666b903b 18012012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1802
1803 * ansi-color.el (ansi-color-process-output): Check for validity of
1804 comint-last-output-start before using it. This avoids a bad
1805 interaction with gdb-mi's input/output buffer.
1806
666b903b 18072012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1808
1809 * files.el (dir-locals-read-from-file):
1810 Mention dir-locals in any error message.
1811
666b903b 18122012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1813
1814 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1815 package (Bug#11410).
1816
f677562b
CY
1817 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1818 variables into description.
1819
666b903b 18202012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1821
1822 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1823 shell-delimiter-argument-list (bug#11348).
1824 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1825
b499d8d0
JB
18262012-05-09 Juanma Barranquero <lekktu@gmail.com>
1827
8f6b6da8
JB
1828 * textmodes/rst.el: Silence byte-compiler warnings.
1829 (rst-re-alist, rst-reset-section-caches): Move around.
1830 (rst-re): Use `characterp', not `char-valid-p'.
1831 (font-lock-beg, font-lock-end): Declare.
1832
4824146a
JB
1833 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1834 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1835
b499d8d0
JB
1836 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1837
ad89bb83
GM
18382012-05-08 Glenn Morris <rgm@gnu.org>
1839
1840 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1841
8bba5a75
SM
18422012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1843
49ed9c8e
SM
1844 * vc/log-edit.el: Add GNU coding standards highlighting.
1845 (log-edit-font-lock-gnu-style)
1846 (log-edit-font-lock-gnu-keywords): New vars.
1847 (log-edit-font-lock-keywords): New fun.
1848 (log-edit-mode): Don't fold case in font-lock.
1849 (log-edit-font-lock-keywords): Do not assume case-folding.
1850
07d00b56
SM
1851 * imenu.el: Misc cleanup. Make docstrings out of comments.
1852 Use lexical-binding.
1853 (imenu--index-alist, imenu--last-menubar-index-alist)
1854 (imenu-menubar-modified-tick): Use defvar-local.
1855 (imenu--split-menu): Remove unused var.
1856 (imenu--cleanup-seen): Declare as global.
1857 (imenu--cleanup): Use dolist.
1858
8bba5a75
SM
1859 * subr.el (defvar-local): Add debug spec and doc-string position.
1860
5075bdb5
GM
18612012-05-08 Glenn Morris <rgm@gnu.org>
1862
c052c904
GM
1863 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1864 * language/english.el, language/georgian.el, language/greek.el:
1865 * language/japanese.el, language/khmer.el, language/korean.el:
1866 * language/lao.el, language/misc-lang.el, language/romanian.el:
1867 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1868 * language/thai.el, language/utf-8-lang.el:
1869 Remove no-byte-compile setting.
1870
5075bdb5
GM
1871 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1872
06f679a7
AH
18732012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1874
1875 * progmodes/make-mode.el (makefile-browse):
1876 Remove unnecessary interactive. (Bug#11324)
1877
03794570
GM
18782012-05-07 Glenn Morris <rgm@gnu.org>
1879
af8630f4
GM
1880 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1881
03794570
GM
1882 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1883
f0809a9d
SM
18842012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1885
28be5ce7
SM
1886 * loadup.el: Preload newcomment.el.
1887 * newcomment.el: Move autoload-only code to toplevel.
1888
f0809a9d
SM
1889 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1890 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1891 Handle new :right-align column property.
1892 (tabulated-list-print-col): Idem, plus use `display' text-property to
1893 try and preserve alignment for variable pitch fonts.
1894
1241b724
CY
18952012-05-07 Chong Yidong <cyd@gnu.org>
1896
1897 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1898 (tabulated-list-use-header-line): New var.
1899 (tabulated-list-init-header): Use it.
1900 (tabulated-list-print-fake-header): New function.
1901 (tabulated-list-print): Use it.
1902 (tabulated-list-sort-button-map): Add non-header-line commands.
1903 (tabulated-list-init-header): Add column name property to basic
1904 labels as well.
1905 (tabulated-list-col-sort): Handle non-header-line button case.
1906 (tabulated-list--sort-by-column-name): Fix a corner case.
1907
f0809a9d
SM
1908 * buff-menu.el (list-buffers--refresh):
1909 Handle Buffer-menu-use-header-line.
1241b724 1910
e5f9458f
CY
19112012-05-06 Chong Yidong <cyd@gnu.org>
1912
1913 * buff-menu.el: Convert to Tabulated List mode.
1914 (Buffer-menu-buffer+size-width): Make obsolete.
1915 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1916 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1917 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1918 documentation into docstring of buffer-menu.
1919 (Buffer-menu-toggle-files-only): Add an informative message.
1920 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1921 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1922 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1923 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1924 (Buffer-menu-execute, Buffer-menu-select)
1925 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1926 (Buffer-menu-bury): Use Tabulated List machinery.
1927 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1928 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1929 Delete.
e5f9458f
CY
1930 (list-buffers--refresh): New function.
1931 (list-buffers-noselect): Use it.
1932 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1933 (Buffer-menu--pretty-file-name): New helper functions.
1934
1935 * loadup.el: Preload tabulated-list.
1936
1937 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1938 tabulated-list-sort-column.
1939 (tabulated-list-init-header): Add the initial aligning space even
1940 if tabulated-list-padding is zero.
1941
e129292c
CS
19422012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1943
1944 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1945 whose cdr is not a cons cell correctly (bug#11038).
1946
6632d361
CY
19472012-05-06 Chong Yidong <cyd@gnu.org>
1948
e129292c
CS
1949 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1950 Accept additional plist in column descriptors.
6632d361
CY
1951 (tabulated-list-init-header): Obey it.
1952 (tabulated-list-get-entry): New function.
1953 (tabulated-list-put-tag): Use it. Use string-width instead of
1954 length.
1955 (tabulated-list--column-number): New function.
1956 (tabulated-list-print): Use it.
e129292c
CS
1957 (tabulated-list-print-col): New function.
1958 Set `tabulated-list-column-name' property on each column's text.
6632d361 1959 (tabulated-list-print-entry): Use it.
e129292c
CS
1960 (tabulated-list-delete-entry, tabulated-list-set-col):
1961 New functions.
6632d361
CY
1962 (tabulated-list-sort-column): New command (Bug#11337).
1963
3cc99f68
CY
1964 * buff-menu.el (list-buffers): Move C-x C-b binding from
1965 buff-menu.el to bindings.el.
1966
1967 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1968 :advertised-binding feature.
1969
52b61776
TN
19702012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1971
1972 * progmodes/compile.el (compilation-internal-error-properties):
1973 Calculate start position correctly when end-col is set but
1974 end-line is not (Bug#11382).
1975
ebfe2597
WJ
19762012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1977
1978 * man.el (Man-unindent): Use text-property-default-nonsticky to
1979 prevent untabify from inheriting face properties (Bug#11408).
1980
6d3f7c2f
SM
19812012-05-05 Stefan Merten <smerten@oekonux.de>
1982
1983 * textmodes/rst.el: Major merge with upstream development up to
1984 Docutils SVN r7399 / rst.el V1.2.1.
1985
1986 Clarify maintainership and authors.
1987
1988 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1989 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1990 (rst-official-version, rst-official-cvs-rev, rst-version)
1991 (rst-package-emacs-version-alist): New functions and variables
1992 for version information.
1993
1994 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1995 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1996 (rst-mode-syntax-table, rst-mode): New and corrected functions
1997 and variables representing reStructuredText features.
1998
1999 (rst-re): New function for reStructuredText regexes. Use in
2000 many places.
2001
2002 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2003 (rst-mode-map): Rebind keys.
2004
2005 (rst-mode-lazy, rst-font-lock-keywords)
2006 (rst-font-lock-extend-region)
2007 (rst-font-lock-extend-region-internal)
2008 (rst-font-lock-extend-region-extend)
2009 (rst-font-lock-find-unindented-line-limit)
2010 (rst-font-lock-find-unindented-line-match)
2011 (rst-adornment-level, rst-font-lock-adornment-level)
2012 (rst-font-lock-adornment-match)
2013 (rst-font-lock-handle-adornment-pre-match-form)
2014 (rst-font-lock-handle-adornment-matcher): Major revision of
2015 font-locking. Integrate with other code. Use `jit-lock-mode'.
2016
2017 (rst-preferred-adornments, rst-adjust-hook)
2018 (rst-new-adornment-down, rst-preferred-bullets)
2019 (rst-preferred-bullets, rst-indent, rst-indent-width)
2020 (rst-indent-field, rst-indent-literal-normal)
2021 (rst-indent-literal-minimized, rst-indent-comment): Change,
2022 extend and improve customization.
2023
2024 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2025 (rst-normalize-cursor-position, rst-get-decoration)
2026 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2027 (rst-rstrip, rst-toc-insert-find-delete-contents)
2028 (rst-shift-fill-region, rst-compute-bullet-tabs)
2029 (rst-debug-print-tabs, rst-debug-mark-found)
2030 (rst-shift-region-guts, rst-shift-region-right)
2031 (rst-shift-region-left, rst-use-char-classes)
2032 (rst-font-lock-keywords-function)
2033 (rst-font-lock-indentation-point)
2034 (rst-font-lock-find-unindented-line-begin)
2035 (rst-font-lock-find-unindented-line-end)
2036 (rst-font-lock-find-unindented-line)
2037 (rst-font-lock-adornment-point, rst-font-lock-level)
2038 (rst-adornment-level-alist): Remove functions and variables.
2039
2040 (rst-compare-adornments, rst-get-adornment-match)
2041 (rst-suggest-new-adornment, rst-get-adornments-around)
2042 (rst-adornment-complete-p, rst-get-next-adornment)
2043 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2044 (rst-straighten-adornments): Standardize function names to
2045 use "adornment" instead of "decoration". Correct callers.
2046 Similar standardizing in many places.
2047
2048 (rst-update-section, rst-adjust, rst-promote-region)
2049 (rst-enumerate-region, rst-bullet-list-region)
2050 (rst-repeat-last-character): Correct use of `interactive'.
2051
2052 (rst-classify-adornment, rst-find-all-adornments)
2053 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2054 (rst-find-leftmost-column, rst-repeat-last-character):
2055 Refactor functions.
2056
2057 (rst-find-title-line, rst-reset-section-caches)
2058 (rst-get-adornments-around, rst-adjust-adornment-work)
2059 (rst-arabic-to-roman, rst-roman-to-arabic)
2060 (rst-insert-list-pos, rst-insert-list-new-item)
2061 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2062 New functions.
2063
2064 (rst-all-sections, rst-section-hierarchy)
2065 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2066 New variables.
2067
2068 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2069 configuration instead of only buffer. Change where necessary.
2070
2071 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2072 (rst-shift-region, rst-adaptive-fill): New functions for
2073 indentation and filling.
2074
2075 (rst-comment-line-break, rst-comment-indent)
2076 (rst-comment-insert-comment, rst-comment-region)
2077 (rst-uncomment-region): New functions for handling comments.
2078
2079 (rst-compile): Quote shell arguments.
2080
2081 (rst-compile-pdf-preview, rst-compile-slides-preview):
2082 Delete temporary files after use.
2083
a43f98b3
GM
20842012-05-05 Glenn Morris <rgm@gnu.org>
2085
48176e8b
GM
2086 * calendar/cal-html.el: Optionally include holidays in the output.
2087 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2088 (cal-html-holidays): New option.
2089 (cal-html-css-default): Add holiday entry.
2090 (holiday-in-range): Autoload it.
2091 (cal-html-htmlify-entry): Add optional class argument.
2092 (cal-html-htmlify-list): Add optional holidays argument.
2093 (cal-html-insert-agenda-days): Include holidays in the output.
2094 (cal-html-one-month): Maybe include holidays.
2095
a43f98b3
GM
2096 * calendar/holidays.el (holiday-in-range):
2097 Move here from cal-tex-list-holidays.
2098 * calendar/cal-tex.el (cal-tex-list-holidays):
2099 Make it an obsolete alias for holiday-in-range. Update all callers.
2100
fef9d149 21012012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2102
2103 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2104 Nextstep.
2105
248da2f4
RW
21062012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2107
2108 * files.el (file-auto-mode-skip): New var.
2109 (set-auto-mode-1): Use it.
2110
f95e9344
SM
21112012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2112
df96ab1e
SM
2113 * repeat.el: Use lexical-binding.
2114 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2115 (repeat-undo-count): Remove.
2116 (repeat):
2117 * progmodes/octave-mod.el (octave-abbrev-start):
2118 * progmodes/f90.el (f90-abbrev-start):
2119 * face-remap.el (text-scale-adjust):
2120 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2121
5342bb06
SM
2122 * emacs-lisp/pcase.el (pcase--let*): New function.
2123 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2124 a bit more.
2125 (pcase--split-pred): Be more clever about ruling out overlap between
2126 a predicate and some constant pattern.
2127 (pcase--q1): Use `null' instead of (eq foo nil).
2128
f95e9344
SM
2129 * subr.el (setq-local, defvar-local): New macros.
2130 (kbd): Redefine as an alias.
2131 (with-selected-window): Leave unrelated frames alone.
2132 (set-temporary-overlay-map): New function.
2133
71873e2b
SM
21342012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * subr.el (user-error): New function.
2137 * window.el (switch-to-buffer):
2138 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2139 (smerge-match-conflict):
2140 * simple.el (previous-matching-history-element)
2141 (next-matching-history-element, goto-history-element, undo-more)
2142 (undo-start):
2143 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2144 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2145 (next-file, tags-loop-scan, list-tags, complete-tag):
2146 * progmodes/compile.el (compilation-loop):
2147 * mouse.el (mouse-minibuffer-check):
2148 * man.el (Man-bgproc-sentinel, Man-goto-page):
2149 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2150 (Info-history-forward, Info-follow-reference, Info-menu)
2151 (Info-extract-menu-item, Info-extract-menu-counting)
2152 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2153 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2154 (Info-next-reference, Info-prev-reference, Info-index)
2155 (Info-index-next, Info-follow-nearest-node)
2156 (Info-copy-current-node-name):
2157 * imenu.el (imenu--make-index-alist)
2158 (imenu-default-create-index-function, imenu-add-to-menubar):
2159 * files.el (basic-save-buffer, recover-file):
2160 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2161 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2162 (checkdoc-message-text, checkdoc-defun):
2163 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2164 * cus-edit.el (customize-changed-options, customize-rogue)
2165 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2166 (custom-variable-mark-to-reset-standard)
2167 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2168 (custom-file):
2169 * completion.el (check-completion-length):
2170 * comint.el (comint-search-arg)
2171 (comint-previous-matching-input-string-position)
2172 (comint-previous-matching-input)
2173 (comint-replace-by-expanded-history-before-point, comint-send-input)
2174 (comint-copy-old-input, comint-backward-matching-input)
2175 (comint-goto-process-mark, comint-set-process-mark):
2176 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2177 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2178
8a61ee22
SM
21792012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2180
66408d1e
SM
2181 * dabbrev.el (dabbrev--ignore-case-p): New function.
2182 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2183 Use it.
2184
8a61ee22
SM
2185 * files.el (automount-dir-prefix): Mark as obsolete.
2186
3c74813a
GM
21872012-05-04 Glenn Morris <rgm@gnu.org>
2188
2189 * patcomp.el, play/bruce.el: Move to obsolete/.
2190
0bfcf5c5
PE
21912012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2192
2193 Fix minor Y10k bugs.
2194 * arc-mode.el (archive-unixdate):
2195 * autoinsert.el (auto-insert-alist):
2196 * calc/calc-forms.el (math-this-year):
2197 * emacs-lisp/copyright.el (copyright-current-year)
2198 (copyright-update-year, copyright):
2199 * tar-mode.el (tar-clip-time-string):
2200 * time.el (display-time-update):
2201 Don't assume years have 4 digits.
2202
78f3273a
CY
22032012-05-04 Chong Yidong <cyd@gnu.org>
2204
2205 * dos-w32.el (file-name-buffer-file-type-alist)
2206 (direct-print-region-use-command-dot-com):
2207 * ffap.el (ffap-menu-regexp):
2208 * find-file.el (ff-special-constructs):
2209 * follow.el (follow-debug):
2210 * forms.el (forms--debug):
2211 * iswitchb.el (iswitchb-all-frames):
2212 * ido.el (ido-all-frames):
2213 * emacs-lisp/timer.el (timer-max-repeats):
2214 * mail/feedmail.el (feedmail-mail-send-hook)
2215 (feedmail-mail-send-hook-queued):
2216 * mail/footnote.el (footnote-signature-separator):
2217 * mail/mailabbrev.el (mail-alias-separator-string)
2218 (mail-abbrev-mode-regexp):
2219 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2220 * progmodes/idlwave.el (idlwave-libinfo-file)
2221 (idlwave-default-completion-case-is-down)
2222 (idlwave-library-routines): Convert defvars to defcustoms.
2223
2224 * mail/rmail.el (rmail-decode-mime-charset):
2225 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2226 (idlwave-shell-fix-inserted-breaks)
2227 (idlwave-shell-activate-alt-keybindings)
2228 (idlwave-shell-use-breakpoint-glyph):
2229 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2230
f7ae6719
SM
22312012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2234
47086495
WS
22352012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2236
2237 * progmodes/verilog-mode.el (font-lock-keywords):
2238 Fix mis-highligting auto. Reported by Craig Barner.
2239 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2240 defines from global name space. Reported by Dan Dever.
2241 (verilog-auto-reset, verilog-auto-reset-widths)
2242 (verilog-auto-tieoff): Support using unbased numbers for
2243 AUTORESET and AUTOTIEOFF.
2244 (verilog-submit-bug-report): Update variable list.
2245 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2246 parenthesis from not matching. Reported by Michael Rytting.
2247 (verilog-auto-template-lint): Fix hash error when linting modules
2248 with no used templates.
2249 (verilog-warn, verilog-warn-error)
2250 (verilog-warn-fatal): When non-interactive report multiple
2251 warnings before exiting. Suggested by Brad Dobbie.
2252 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2253 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2254 to report unused template errors. Reported by Brad Dobbie.
2255 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2256 nets, bug438. Reported by Vns Blore.
2257 (verilog-auto-inout-module, verilog-auto-reg)
2258 (verilog-read-decls, verilog-read-sub-decls-sig)
2259 (verilog-signals-edit-wire-reg, verilog-signals-with):
2260 Fix passing of Verilog data types in ANSI input/output ports
2261 such as "output logic" into the AUTOs. Special case "wire" and
2262 "reg" for backwards compatibility presuming Verilog 2001.
2263 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2264 (verilog-preprocess): Fix replication of preprocess output.
2265 Reported by Brad Dobbie.
2266 (verilog-auto-inst-interfaced-ports):
2267 Create verilog-auto-inst-interfaced-ports, bug429.
2268 Reported by Julian Gorfajn.
2269 (verilog-after-save-font-hook)
2270 (verilog-before-save-font-hook): New variable.
2271 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2272 (verilog-save-font-mods): Wrap disabling fontification, reported
2273 by David Rogoff.
2274 (verilog-do-indent, verilog-pretty-declarations-auto)
2275 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2276 Reported by Pierre-David Pfister.
2277 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2278 of class declarations, bug292. Reported by Kevin Heilman.
2279 (verilog-read-decls): Fix 'parameter type' not appearing in
2280 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2281 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2282 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2283 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2284 Reported by David Kravitz.
2285
22862012-05-03 Michael McNamara <mac@mail.brushroad.com>
2287
2288 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2289 assignment with tests in ifs and for loops.
2290 (verilog-extended-complete-re, verilog-complete-reg): Change so
2291 that DPI inport functions don't look like fuction declarations.
2292 (verilog-pretty-expr): Don't line up assignment
2293 operations to the test and increment in if and for loops
2294 (verilog-extended-complete-re, verilog-complete-reg): Change so
2295 that DPI inport functions don't look like fuction declarations
2296
2e51d4b5
KH
22972012-05-03 Kenichi Handa <handa@m17n.org>
2298
2299 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2300 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2301 (Bug#11282).
2302
2bd785a2
SM
23032012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * emacs-lisp/bytecomp.el
2306 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2307 since cconv.el might have introduced :fun-body, internal-make-closure,
2308 and friends for bytecomp to handle (bug#11391).
2309 * custom.el (defcustom): Avoid ((λ ..) ..).
2310
99d27583
SM
23112012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2314
55a71479
JB
23152012-05-02 Juanma Barranquero <lekktu@gmail.com>
2316
2317 * notifications.el (dbus-debug):
2318 * term/linux.el (gpm-mouse-enable):
2319 * term/screen.el (xterm-register-default-colors): Declare.
2320
7b97c764
CY
23212012-05-02 Chong Yidong <cyd@gnu.org>
2322
2bc356d7
CY
2323 * cus-start.el (gc-cons-percentage, exec-suffixes)
2324 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2325 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2326 (make-cursor-line-fully-visible, void-text-area-pointer)
2327 (font-list-limit): Add customization data.
2328
7b97c764
CY
2329 * allout.el (allout-exposure-change-functions)
2330 (allout-structure-added-functions)
2331 (allout-structure-deleted-functions)
2332 (allout-structure-shifted-functions): Rename abnormal hooks from
2333 *-hook, and convert to defcustoms.
5d3385a0
JB
2334 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2335 Convert to defcustoms.
7b97c764
CY
2336 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2337
2338 * allout-widgets.el: Hook callers changed.
2339
90207a15 23402012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2341
2342 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2343 the yanked message in preference to the default value of
2344 buffer-file-coding-system.
2345
90207a15 23462012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2347
5d3385a0
JB
2348 * window.el (display-buffer--action-function-custom-type):
2349 Fix entry.
d9558cad 2350
90207a15 23512012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2352
2353 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2354
d80ac57b
GM
23552012-05-01 Glenn Morris <rgm@gnu.org>
2356
976f7668
GM
2357 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2358
beb83b5a
GM
2359 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2360
d80ac57b
GM
2361 * cus-edit.el (custom-variable-documentation): Simplify with format.
2362
b593d6a9
AH
23632012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2364 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * simple.el (suggest-key-bindings, execute-extended-command):
2367 Move from keyboard.c.
2368
782fbf2a
CY
23692012-05-01 Chong Yidong <cyd@gnu.org>
2370
2371 * follow.el: Eliminate advice.
2372 (set-process-filter, process-filter, sit-for): Advice deleted.
2373 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2374 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2375 Vars deleted.
782fbf2a
CY
2376 (follow-auto): Use a :set function.
2377 (follow-mode): Rewritten. Don't advise process filters.
2378 (follow-switch-to-current-buffer-all, follow-scroll-up)
2379 (follow-scroll-down): Assume follow-mode is bound.
2380 (follow-comint-scroll-to-bottom)
2381 (follow-align-compilation-windows): New functions.
2382 (follow--window-sorter): New function.
2383 (follow-all-followers): Use it to explicitly sort windows by their
2384 positions; don't make assumptions about next-window order.
2385 (follow-windows-start-end, follow-delete-other-windows-and-split)
2386 (follow-calc-win-start): Doc fix.
2387 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2388 vertical-motion unnecessarily.
2389 (follow-adjust-window): New function.
2390 (follow-post-command-hook): Use it.
2391 (follow-call-set-process-filter, follow-call-process-filter)
2392 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2393 (follow-stop-intercept-process-output, follow-generic-filter):
2394 Functions deleted.
2395 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2396 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2397 New functions, replacing advice on scroll-bar-* commands.
87233a14 2398 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2399
2400 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2401 (comint-postoutput-scroll-to-bottom): Use it.
2402 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2403
290af740
GM
24042012-05-01 Glenn Morris <rgm@gnu.org>
2405
2406 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2407 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2408 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2409 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2410 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2411 Remove no-byte-compile setting.
2412
6eac8dc9
SM
24132012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2416 all-completions code to not return a number in the last cdr.
2417
9cc7819c
LL
24182012-04-30 Leo Liu <sdl.web@gmail.com>
2419
2420 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2421 read-only error.
2422
c93b886f
CY
24232012-04-29 Chong Yidong <cyd@gnu.org>
2424
2425 * follow.el (follow-calc-win-end): Rewrite to handle partial
2426 screen lines correctly (Bug#8390).
2427 (follow-avoid-tail-recenter): Minor cleanup.
2428
8b6c19f4
SM
24292012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 Avoid the obsolete `assoc' package.
2432 * speedbar.el (speedbar-refresh): Avoid adelete.
2433 (speedbar-file-lists): Simplify and avoid aput.
2434 * man.el (Man--sections, Man--refpages): New vars, replacing
2435 Man-sections-alist and Man-refpages-alist.
2436 (Man-build-section-alist, Man-build-references-alist):
2437 Use them; avoid aput.
2438 (Man--last-section, Man--last-refpage): New vars.
2439 (Man-follow-manual-reference): Use them.
2440 Use the `default' arg of completing-read.
2441 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2442
c5bb7569
CY
24432012-04-27 Chong Yidong <cyd@gnu.org>
2444
d1d2e2e8
CY
2445 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2446
15cd8efd
CY
2447 * startup.el (x-apply-session-resources): New function.
2448
2449 * term/ns-win.el (ns-initialize-window-system):
2450 * term/w32-win.el (w32-initialize-window-system):
2451 * term/x-win.el (x-initialize-window-system): Use it to properly
2452 set menu-bar-mode and other vars from X resources, even if the
2453 initial frame is not a window-system frame (Bug#2299).
2454
c5bb7569
CY
2455 * subr.el (read-key): Avoid running filter function when setting
2456 up temporary tool bar entries (Bug#9922).
2457
a8e7d6d7 24582012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2459
2460 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2461 (Bug#11344)
2462
a8e7d6d7 24632012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2464
2465 * select.el (xselect--encode-string): New function, split from
2466 xselect-convert-to-string.
2467 (xselect-convert-to-string): Use it.
2468 (xselect-convert-to-filename, xselect-convert-to-os)
2469 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2470 returned strings are properly encoded (Bug#11315).
2471
a8e7d6d7 24722012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2473
2474 * simple.el (delete-active-region): Move to killing custom group.
2475
a8e7d6d7 24762012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2477
2478 * progmodes/which-func.el (which-func-current): Quote %
2479 characters for mode-line processing.
2480
578c1d4b 24812012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2482
2483 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2484 reaching eob (Bug#11286).
2485
a8e7d6d7 24862012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2487
2488 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2489 (gdb): Make it buffer-local and init to zero.
2490 (gdb-control-commands-regexp): New variable.
2491 (gdb-send): Don't wrap in "-interpreter-exec console" if
2492 gdb-control-level is positive. Increment gdb-control-level
2493 whenever the command matches gdb-control-commands-regexp, and
2494 decrement it each time the command is "end". (Bug#11279)
2495
a8e7d6d7 24962012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2497
2498 * window.el (adjust-window-trailing-edge, enlarge-window)
2499 (shrink-window, window-resize):
2500 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2501 windows (Bug#11276).
2502
b3608390
CY
25032012-04-27 Chong Yidong <cyd@gnu.org>
2504
2505 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2506 fix "missing prefix" warning. All callers changed.
b3608390 2507
797e6e88
SM
25082012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * emacs-lisp/assoc.el: Move to obsolete/.
2511
e95a67dc
SM
25122012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2513
657c21e4 2514 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2515
2516 * term/ns-win.el (ns-define-service):
2517 * progmodes/pascal.el (pascal-goto-defun):
2518 * progmodes/js.el (js--read-tab):
2519 * progmodes/etags.el (tags-lazy-completion-table):
2520 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2521 * emacs-lisp/ewoc.el (ewoc--wrap):
2522 * emacs-lisp/assoc.el (aput, adelete, amake):
2523 * doc-view.el (doc-view-convert-current-doc):
2524 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2525
cb3e7ae0
CY
25262012-04-26 Chong Yidong <cyd@gnu.org>
2527
dce04f7f
CY
2528 * image.el (image-type-from-buffer): Only return supported image
2529 type (Bug#9045).
2530
cb3e7ae0
CY
2531 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2532 value, for symmetry with diff-end-of-hunk.
2533 (diff-split-hunk, diff-find-source-location)
2534 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2535 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2536 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2537 compute the relevant hunk or file properly (Bug#6005).
2538 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2539
0d42eb3e
SM
25402012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * vc/vc-mtn.el:
2543 * vc/vc-hg.el:
2544 * vc/vc-git.el:
2545 * vc/vc-dir.el:
2546 * vc/vc-cvs.el:
2547 * vc/vc-bzr.el:
2548 * vc/vc-arch.el:
2549 * vc/vc.el: Replace lexical-let by lexical-binding.
2550 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2551 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2552 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2553
f08ae1c9
CY
25542012-04-26 Chong Yidong <cyd@gnu.org>
2555
8b71081d
CY
2556 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2557 (diff-mode-shared-map): Bind it to / and [remap undo].
2558
f08ae1c9
CY
2559 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2560 (ediff-window-setup-function): Use it as the default, to set up
2561 windows based on whether the current frame is graphical (Bug#2138).
2562 (ediff-choose-window-setup-function-automatically): Make obsolete.
2563
2564 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2565
ef24141c
SM
25662012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2567
cc356a5d
SM
2568 * ffap.el: Remove old code for obsolete package.
2569 (ffap-complete-as-file-p): Remove.
2570
b4ff4f1f
SM
2571 Use completion-table-with-quoting for comint and pcomplete.
2572 * comint.el (comint--unquote&requote-argument)
2573 (comint--unquote-argument, comint--requote-argument): New functions.
2574 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2575 (comint-quote-filename): Use regexp-opt-charset.
2576 (comint--common-suffix, comint--common-quoted-suffix)
2577 (comint--table-subvert): Remove.
2578 (comint-unquote-function, comint-requote-function): New vars.
2579 (comint--complete-file-name-data): Use them with
2580 completion-table-with-quoting.
2581 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2582 * pcomplete.el (pcomplete-arg-quote-list)
2583 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2584 (pcomplete-unquote-argument-function): Default to non-nil.
2585 (pcomplete-unquote-argument): Simplify.
2586 (pcomplete--common-quoted-suffix): Remove.
2587 (pcomplete-requote-argument-function): New var.
2588 (pcomplete--common-suffix): New function.
2589 (pcomplete-completions-at-point): Use completion-table-with-quoting
2590 and completion-table-subvert.
2591
79c4eeb4
SM
2592 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2593 (minibuffer--double-dollars): Preserve properties.
2594 (completion--sifn-requote): New function.
2595 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2596
ef24141c
SM
2597 * minibuffer.el: Add support for completion of quoted/escaped data.
2598 (completion-table-with-quoting, completion-table-subvert): New funs.
2599 (completion--twq-try, completion--twq-all): New functions.
2600 (completion--nth-completion): New function.
2601 (completion-try-completion, completion-all-completions): Use it.
2602
784e7d6e
LL
26032012-04-25 Leo Liu <sdl.web@gmail.com>
2604
dd2ac746
SM
2605 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2606 Use compilation-message if available to find real filename.
784e7d6e 2607
07875ee7
CY
26082012-04-25 Chong Yidong <cyd@gnu.org>
2609
2610 * vc/diff-mode.el (diff-setup-whitespace): New function.
2611 (diff-mode): Use it.
2612
2613 * vc/diff.el (diff-sentinel):
2614 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2615 Whitespace mode variables based on diff style (Bug#8612).
2616
5055880d
LL
26172012-04-25 Leo Liu <sdl.web@gmail.com>
2618
daf75653
LL
2619 * progmodes/python.el (python-send-region): Add suffix .py to the
2620 temp file.
2621
5055880d
LL
2622 * files.el (auto-mode-alist): Use javascript-mode instead.
2623
db9b177b
AH
26242012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2625
ef24141c 2626 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2627
2628 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2629 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2630 references, see Bug#9.
ef24141c 2631 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2632 when receiving a fault reply.
ef24141c 2633 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2634
2635 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2636 (soap-inspect-simple-type): New function.
db9b177b 2637
ef24141c 2638 * soap-client.el (soap-simple-type): New struct.
db9b177b 2639 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2640 (soap-decode-basic-type, soap-encode-basic-type):
2641 support unsignedInt and double basic types.
db9b177b 2642 (soap-resolve-references-for-simple-type)
ef24141c
SM
2643 (soap-parse-simple-type, soap-encode-simple-type): New function.
2644 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2645
2646 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2647 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2648 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2649 the local name of "soapenc:Array".
2650 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2651 decoding integer, byte and anyURI xsd types.
2652
1fc6097b
CY
26532012-04-25 Chong Yidong <cyd@gnu.org>
2654
2655 * cus-edit.el (custom-buffer-create-internal): Update header text.
2656
afc6df87
EZ
26572012-04-25 Eli Zaretskii <eliz@gnu.org>
2658
2659 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2660 settings on 'system-type', not on 'window-system'. On MS-Windows,
2661 set interactive-mode on in GDB.
2662
dfbd787f
SM
26632012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2666 (ruby-syntax-propertize-regexp): Remove.
2667 (ruby-syntax-propertize-function): Split regexp into chunks.
2668 Match following code directly.
2669
85222d44
DG
26702012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2671
51a8ea2a
DG
2672 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2673 (ruby-syntax-propertize-regexp): New function.
2674 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2675 by a special keyword.
2676
85222d44
DG
2677 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2678 (ruby-syntax-general-delimiters-goto-beg)
2679 (ruby-syntax-propertize-general-delimiters): New functions.
2680 (ruby-syntax-propertize-function): Use them to handle GDL.
2681 (ruby-font-lock-keywords): Move old handling of GDL...
2682 (ruby-font-lock-syntactic-keywords): .. to here.
2683 (ruby-calculate-indent): Adjust indentation for GDL.
2684
b613912b
MA
26852012-04-24 Michael Albinus <michael.albinus@gmx.de>
2686
b5380639
MA
2687 * notifications.el (top): Remove unneeded declarations.
2688 (notifications-specification-version): Change to "1.2".
e43042fe 2689 (notifications-interface, notifications-notify-method)
b613912b
MA
2690 (notifications-close-notification-method): Fix docstring.
2691 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2692 (notifications-notify): Add :action-items, :resident and
2693 :transient hints. Change "image_data" to "image-data" and
2694 "image_path" to "image-path".
b613912b
MA
2695 (notifications-get-capabilities): New defun.
2696
257440aa
LL
26972012-04-24 Leo Liu <sdl.web@gmail.com>
2698
2699 * progmodes/python.el: Move hideshow setup to the end.
2700
b1bac16e
MR
27012012-04-24 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (handle-select-window): Clear echo area since this is
2704 no more done by read_char (Bug#11304).
2705
d81bd059
SM
27062012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2709 and `/ M' to filter-derived-mode.
2710 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2711 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2712 (ibuffer-mark-by-mode): Use default rather than initial-input.
2713 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2714
c4cf6d91
IA
27152012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2716
2717 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2718 (ibuffer-filter-by-derived-mode): New filter.
2719 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2720
7511ded8
CY
27212012-04-23 Andreas Politz <politza@fh-trier.de>
2722
2723 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2724
775c916b
CY
27252012-04-23 Chong Yidong <cyd@gnu.org>
2726
2727 * cus-edit.el (customize-apropos, customize-apropos-options):
2728 Disable matching of non-option variables (Bug#11176).
2729 (customize-option, customize-option-other-window)
2730 (customize-changed-options): Doc fix.
2731 (customize-apropos-options, customize-apropos-faces)
2732 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2733
2734 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2735 Fix word list splitting (Bug#11132).
46c71e23
CY
2736 (apropos-symbol, apropos-keybinding, apropos-label)
2737 (apropos-property, apropos-function-button)
2738 (apropos-variable-button, apropos-misc-button): New faces.
2739 (apropos-symbol-face, apropos-keybinding-face)
2740 (apropos-label-face, apropos-property-face, apropos-match-face):
2741 Variables removed (Bug#8396).
2742 (apropos-library-button, apropos-format-plist, apropos-print)
2743 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2744
2df41f9c
MA
27452012-04-23 Michael Albinus <michael.albinus@gmx.de>
2746
2747 * net/xesam.el (xesam-mode-map): Use let-bound map in
2748 initialization. (Bug#11292)
2749
da00640a
AM
27502012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2751
2752 Preserve ispell session localwords when switching back to
2753 original buffer.
2754
2755 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2756 variable to hold buffer session localwords.
2757 (ispell-kill-ispell): add option 'clear to delete session
2758 localwords.
2759 (ispell-command-loop, ispell-change-dictionary)
2760 (ispell-buffer-local-words): Preserve session localwords when
2761 needed.
2762
2763 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2764 Preserve session localwords when needed.
2765
f621ccf5
AM
27662012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2767
2768 * ispell.el (ispell-insert-word) Remove unneeded function using
2769 obsolete `translation-table-for-input'.
ef24141c
SM
2770 (ispell-word, ispell-process-line, ispell-complete-word):
2771 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2772
c2d1019e
CY
27732012-04-22 Chong Yidong <cyd@gnu.org>
2774
2775 * cus-edit.el (custom-variable-menu)
2776 (custom-variable-reset-saved, custom-face-menu)
2777 (custom-face-reset-saved): If there is no saved value, make the
2778 "reset-saved" operation bring back the default (Bug#9509).
2779 (custom-face-state): Properly detect themed faces.
2780
eeddc531
CY
2781 * faces.el (face-spec-set): Stop supporting deprecated form of
2782 third arg.
2783
dcbf5805
MA
27842012-04-22 Michael Albinus <michael.albinus@gmx.de>
2785
2786 Move functions from C to Lisp. Make non-blocking method calls
2787 the default. Implement further D-Bus standard interfaces.
2788
ef24141c
SM
2789 * net/dbus.el (dbus-message-internal): Declare function.
2790 Remove unneeded function declarations.
dcbf5805
MA
2791 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2792 (dbus-message-type-method-return, dbus-message-type-error)
2793 (dbus-message-type-signal): Declare variables. Remove local
2794 definitions.
2795 (dbus-interface-dbus, dbus-interface-peer)
2796 (dbus-interface-introspectable, dbus-interface-properties)
2797 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2798 Adapt docstring.
2799 (dbus-interface-objectmanager): New defconst.
2800 (dbus-call-method, dbus-call-method-asynchronously)
2801 (dbus-send-signal, dbus-method-return-internal)
2802 (dbus-method-error-internal, dbus-register-service)
2803 (dbus-register-signal, dbus-register-method): New defuns, moved
2804 from dbusbind.c
2805 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2806 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2807 New defuns.
dcbf5805
MA
2808 (dbus-call-method-non-blocking): Make it an obsolete function.
2809 (dbus-unregister-object, dbus-unregister-service)
2810 (dbus-handle-event, dbus-register-property)
2811 (dbus-property-handler): Obey the new structure of
2812 `bus-registered-objects'.
2813 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2814 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2815 Use `dbus-call-method'.
2816
cf20dee0
CY
28172012-04-22 Chong Yidong <cyd@gnu.org>
2818
2819 * cus-edit.el (custom-commands, custom-reset-menu)
2820 (Custom-reset-standard): Tweak labels.
2821 (custom-reset-button-menu): Change default to t.
2822 (custom-buffer-create-internal): For the custom-reset-button-menu
2823 case, put the revert button first.
2824 (custom-group-subtitle): New face.
2825 (custom-group-value-create): Align docstring to a specific column.
2826
2827 * wid-edit.el (widget-documentation-link-add): Don't handle
2828 indentation in this function.
2829 (widget-documentation-string-indent-to): New function.
2830 (widget-documentation-string-value-create): Use it.
2831
2832 * autorevert.el (auto-revert):
2833 * epg-config.el (epg):
2834 * ibuffer.el (ibuffer):
2835 * mpc.el (mpc):
2836 * ses.el (ses):
2837 * eshell/eshell.el (eshell):
2838 * net/ange-ftp.el (ange-ftp):
2839 * progmodes/ebnf2ps.el (postscript):
2840 * progmodes/flymake.el (flymake):
2841 * progmodes/prolog.el (prolog):
2842 * progmodes/verilog-mode.el (verilog-mode):
2843 * progmodes/which-func.el (which-func):
2844 * term/xterm.el (xterm):
2845 * textmodes/picture.el (picture):
2846 * textmodes/tildify.el (tildify):
2847 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2848 customization buffers.
2849
583e23bd
AM
28502012-04-22 Alan Mackenzie <acm@muc.de>
2851
2852 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2853 Adding a ) can hide the resulting (..) from searches. Fix it.
2854 Bound the backward search to the position of the existing (.
2855
7dd51bf1
JB
28562012-04-21 Juanma Barranquero <lekktu@gmail.com>
2857
2858 * progmodes/verilog-mode.el (verilog-mode): Check whether
2859 which-func-modes is t before adding verilog-mode.
2860 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2861
d64a438f
LL
28622012-04-21 Leo Liu <sdl.web@gmail.com>
2863
7dd51bf1 2864 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2865
081e8d65
MV
28662012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2867
2868 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2869 filling of the last column of a table (Bug#5635).
2870 (woman-find-next-control-line): New arg, specifying an additional
2871 regexp component for the control line.
2872 (woman2-roff-buffer): Use it.
2873 (woman-break-table): New function.
2874 (woman2-TS): Use it.
2875
28762012-04-21 Chong Yidong <cyd@gnu.org>
2877
2878 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2879 (woman-horizontal-escapes, woman-negative-vertical-space)
2880 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2881 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2882
ed571ccb
SM
28832012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * minibuffer.el (completion-file-name-table): Complete user names.
2886
39773899
LL
28872012-04-20 Leo Liu <sdl.web@gmail.com>
2888
2889 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2890 and pcase-let*.
2891
de6ff46d
CY
28922012-04-20 Chong Yidong <cyd@gnu.org>
2893
2894 * server.el (server-execute): Respect initial-buffer-choice if it
2895 is a string and there are no files to open (Bug#2825).
2896 (server-create-window-system-frame, server-create-tty-frame):
2897 Don't switch buffers here.
2d0e8e61
CY
2898 (server-process-filter): Only try to open a window system frame if
2899 compiled with graphical support (Bug#8314).
de6ff46d 2900
54071013
DN
29012012-04-20 Dan Nicolaescu <dann@gnu.org>
2902
2903 * battery.el (battery-echo-area-format): Display remaining time
2904 for sysfs backend too (Bug#11269).
2905 (battery-linux-sysfs): Fix conditional for the charge.
2906
f30d612a
CY
29072012-04-20 Chong Yidong <cyd@gnu.org>
2908
c07a4c0b 2909 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2910 (gdb-inferior-io--init-proc): New function.
2911 (gdb-init-1): Use it.
2912 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2913 responsible for allocating a new pty and hooking it to gdb when
2914 the old pty gets an EIO due to process exit.
2915 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2916 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2917 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2918
2116e93c
EZ
29192012-04-20 Eli Zaretskii <eliz@gnu.org>
2920
2921 * window.el (window-min-size, window-sizable, window-min-delta)
2922 (window-max-delta, window--resizable, window-resizable)
2923 (window-total-size, window-full-height-p, window-full-width-p)
2924 (window-in-direction, window--resize-mini-window, window-resize)
2925 (window--resize-child-windows-normal)
2926 (window--resize-child-windows, window--resize-siblings)
2927 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2928 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2929
c07a4c0b 29302012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2931
ef24141c
SM
2932 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2933 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2934 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2935 pty process (Bug#11273).
2936 (gdb-update): New arg to suppress talking to the gdb process.
2937 (gdb-done-or-error): Use it.
2938 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2939 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2940 sentinel not being called.
2941
2942 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2943
d02766ab
CY
2944 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2945
c07a4c0b 29462012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2947
2948 * net/network-stream.el (open-network-stream): Doc fix.
2949
c07a4c0b 29502012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2951
2952 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2953
c07a4c0b 29542012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2955
2956 Ensure searching for keywords is case sensitive.
2957
2958 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2959 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2960 (c-defun-name, c-mark-function, c-cpp-define-name)
2961 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2962 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2963
ef24141c
SM
2964 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2965 Bind case-fold-search to nil.
f0f6bc35 2966
c07a4c0b 29672012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2968
2969 * mail/sendmail.el (mail-bury): Call return action with the right
2970 Rmail buffer (Bug#11242).
2971
9a864fa2
CY
2972 * server.el (server-process-filter): Handle corner case where both
2973 tty and nowait options are present (Bug#11102).
2974
539aa513
EZ
29752012-04-20 Eli Zaretskii <eliz@gnu.org>
2976
2977 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2978 (top level): Put into the executable the ident-style '$Id:' tag on
2979 windows-nt as well.
539aa513 2980
cfc7d5da
SM
29812012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * electric.el (electric-indent-post-self-insert-function): Check that
2984 electric-indent-mode is enabled in current buffer.
2985
5b01685c
JB
29862012-04-19 Juanma Barranquero <lekktu@gmail.com>
2987
2988 * imenu.el (imenu-progress-message): Restore; it is "used" in
2989 erc/erc-imenu.el and net/snmp-mode.el.
2990
4d6769e1
JB
29912012-04-19 Juanma Barranquero <lekktu@gmail.com>
2992
2993 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2994 (mouse-avoidance-nudge-mouse): Remove unused binding.
2995
2996 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2997
2998 * descr-text.el (describe-char):
2999 * progmodes/python.el (python-describe-symbol):
3000 Don't call `toggle-read-only', set `buffer-read-only'.
3001
3002 * imenu.el (imenu-default-goto-function): Mark unused args.
3003 (imenu-progress-message): Remove obsolete macro; all callers changed.
3004
3005 * subr.el (keymap-canonicalize): Remove unused binding.
3006 (read-passwd): Mark unused arg.
3007
3008 * tutorial.el (tutorial--display-changes): Remove unused binding.
3009 (tutorial--save-tutorial-to): Remove unused variable.
3010
3011 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3012 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3013 (package-generate-autoloads, package-menu--generate)
3014 (package-menu--find-upgrades): Remove unused bindings.
3015
3016 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3017 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3018 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3019 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3020 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3021 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3022 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3023 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3024 (cua-delete-char-rectangle): Mark unused args.
3025 (cua-align-rectangle): Remove unused binding.
3026
3027 * mail/rmail.el (compilation--message->loc)
3028 (epa--find-coding-system-for-mime-charset): Declare.
3029
3030 * net/dbus.el (dbus-register-service): Declare.
3031 (dbus-name-owner-changed-handler): Remove unused binding.
3032
3033 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3034 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3035 (nxml-scan-backward-within): Mark unused arg.
3036 (nxml-dynamic-markup-word): Remove unused binding.
3037
3038 * mouse.el (mouse-menu-major-mode-map):
3039 * emacs-lisp/authors.el (authors-scan-change-log)
3040 (authors-add-to-author-list):
3041 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3042 * emacs-lisp/smie.el (smie-auto-fill):
3043 * mail/sendmail.el (mail-bury):
3044 * mail/unrmail.el (unrmail):
3045 * net/tls.el (open-tls-stream):
3046 * textmodes/picture.el (picture-mouse-set-point):
3047 Remove unused bindings.
3048
8c8fc5df
MA
30492012-04-19 Michael Albinus <michael.albinus@gmx.de>
3050
3051 * net/tramp.el (tramp-action-password): Let-bind
3052 `enable-recursive-minibuffers' to t.
3053
a77b0ac9
SS
30542012-04-18 Sam Steingold <sds@gnu.org>
3055
3056 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3057 instead of 'string to accommodate values like [f11].
3058 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3059 * progmodes/gdb-mi.el: Likewise.
3060
12a106a9
LL
30612012-04-18 Leo Liu <sdl.web@gmail.com>
3062
3063 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3064 current buffer.
3065 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3066 LOCAL is nil.
3067
bc6494ef
CY
30682012-04-18 Chong Yidong <cyd@gnu.org>
3069
3070 * simple.el (line-move): Use forward-line if in batch mode
3071 (Bug#11053).
3072
c09c46b2
CS
30732012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3074
3075 * files.el (after-find-file): Do not try to add a final newline if
3076 the buffer is read-only (Bug#11156).
3077
5f6530ea
RS
30782012-04-17 Richard Stallman <rms@gnu.org>
3079
3080 * mail/rmail.el (rmail-start-mail):
3081 Pass (rmail-mail-return...) for the return-action.
3082 Pass (rmail-yank-current-message...) for the yank-action.
3083 (rmail-yank-current-message): New function.
3084 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3085 (rmail-reply): Likewise.
3086 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3087
3088 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3089 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3090 buffer, not newbuf.
3091
197b6f3c
JB
30922012-04-17 Juanma Barranquero <lekktu@gmail.com>
3093
3094 * server.el (server-ensure-safe-dir): Simplify.
3095
2311d8e5 30962012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3097
2311d8e5
GM
3098 * emacs-lisp/smie.el: Provide smarter auto-filling.
3099 (smie-auto-fill): New function.
3100 (smie-setup): Use it.
98fb480e 3101
2311d8e5
GM
3102 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3103
31042012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3105
3106 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3107 (comment-indent): Use it.
3108
2311d8e5 31092012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3110
3111 * ses.el: The overall change is to add cell renaming, that is
3112 setting fancy names for cell symbols other than name matching
3113 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3114 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3115 (ses-create-cell-variable): New defun.
2311d8e5 3116 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3117 (ses-relocate-formula): Relocate formulas only for cells the
3118 symbols of which are not renamed, i.e. symbols whose names do not
3119 match regexp "\\`[A-Z]+[0-9]+\\'".
3120 (ses-relocate-all): Relocate values only for cells the symbols of
3121 which are not renamed.
3122 (ses-load): Create cells variables as the (ses-cell ...) are read,
3123 in order to check row col consistency with cell symbol name only
3124 for cells that are not renamed.
3125 (ses-replace-name-in-formula): New defun.
3126 (ses-rename-cell): New defun.
4bdf2ad2 3127
fc72b15c
PO
31282012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3129
3130 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3131 New option (bug#11118).
3132 (perl-calculate-indent): Respect it.
3133
12e10e61
GM
31342012-04-17 Glenn Morris <rgm@gnu.org>
3135
3136 * dired-aux.el (dired-mark-read-string): Doc fix.
3137
30009afd
DA
31382012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3139
3140 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3141 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3142
41f03f4d
GM
31432012-04-17 Glenn Morris <rgm@gnu.org>
3144
3145 * mouse.el (mouse-drag-track):
3146 * speedbar.el (speedbar-frame-mode):
3147 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3148
f45f90f3
LL
31492012-04-16 Leo Liu <sdl.web@gmail.com>
3150
3151 * progmodes/python.el: Trivial cleanup.
3152
94ee8db5
GM
31532012-04-16 Glenn Morris <rgm@gnu.org>
3154
121b8917
GM
3155 * vc/vc.el (vc-string-prefix-p):
3156 * vc/pcvs-util.el (cvs-string-prefix-p):
3157 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3158 * mpc.el (mpc-string-prefix-p):
3159 Make all of these into obsolete aliases for string-prefix-p.
3160 Update callers.
3161 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3162
1197ecfa
GM
3163 * textmodes/two-column.el: Move custom options to the start.
3164 (frame-width): Remove compat definition.
3165 (2C-associate-buffer, 2C-dissociate):
3166 Use with-current-buffer rather than save-excursion.
3167 (2C-dissociate): Force a mode-line update.
3168 (2C-autoscroll): Use ignore-errors.
3169
099e7202
GM
3170 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3171 Autoload trivia.
3172
bf350d6a
GM
3173 * emacs-lisp/cl-extra.el (*random-state*):
3174 Remove unnecessary declaration.
3175
0e829eab
GM
3176 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3177
e3ad7552
GM
3178 * play/cookie1.el (cookie-snarf):
3179 Give an explicit error if input file cannot be read.
3180
68892d27
GM
3181 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3182
20f0c46d
GM
3183 * progmodes/perl-mode.el (c-macro-expand):
3184 Remove unnecessary autoload (it is in loaddefs.el).
3185
5a0978ce
GM
3186 * textmodes/picture.el (picture-desired-column)
3187 (picture-update-desired-column): Convert comments to doc-strings.
3188 (picture-substitute): Remove function.
3189 (picture-mode-map): Initialize in the defvar.
3190
6b955486
GM
3191 * woman.el: Remove eval-after-load for tar-mode.
3192 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3193 (woman-tar-extract-file): Autoload it.
3194
94ee8db5
GM
3195 * frame.el (automatic-hscrolling): Make this alias obsolete.
3196
177eca34
AM
31972012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3198
3199 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3200 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3201 (ispell-dictionary-base-alist): Revert to original XEmacs
3202 friendly version for default. [:alpha:] will be added in
3203 `ispell-set-spellchecker-params' if needed
177eca34 3204
c505aaeb
CY
32052012-04-16 Chong Yidong <cyd@gnu.org>
3206
3207 * image.el (imagemagick--extension-regexp): New variable.
3208 (imagemagick-register-types): Use it.
3209 (imagemagick-types-inhibit): Add :set function. Allow new value
3210 of t to inhibit all types.
3211
3212 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3213 so we can preload it.
3214
3215 * loadup.el (fboundp): Preload regexp-opt, needed by
3216 imagemagick-register-types.
3217
60efac0f
CY
32182012-04-15 Chong Yidong <cyd@gnu.org>
3219
3220 * frame.el (scrolling): Remove nearly unused customization group.
3221
3222 * scroll-all.el (scroll-all-mode): Move to windows group.
3223
5dd1713e
CY
32242012-04-15 Chong Yidong <cyd@gnu.org>
3225
3226 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3227
e6fd457e
CY
32282012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3231 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3232
e153c136
GM
32332012-04-15 Glenn Morris <rgm@gnu.org>
3234
3235 * simple.el (process-file-side-effects): Doc fix.
3236
e6fd457e 32372012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3238
3239 * international/mule-cmds.el (set-language-environment): Doc fix.
3240
3603c3b1
JB
32412012-04-14 Juanma Barranquero <lekktu@gmail.com>
3242
3243 * server.el (server-auth-key, server-generate-key): Doc fixes.
3244 (server-get-auth-key): Doc fix. Use `string-match-p'.
3245 (server-start): Reflow docstring.
3246
e6de100c
LI
32472012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3248
3249 * server.el (server-generate-key): `called-interactively-p'
3250 requires a parameter.
3251
29734c21
MN
32522012-04-14 Michal Nazarewicz <mina86@mina86.com>
3253
3254 * server.el (server-auth-key): New variable.
75f1671a 3255 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3256 (server-start): Use the new variable and functions to allow
3257 setting a permanent server key (bug#9423).
3258
d65c9521
LL
32592012-04-14 Leo Liu <sdl.web@gmail.com>
3260
3261 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3262
5ae255c7
PE
32632012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3264
3265 Spelling fixes.
3266 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3267 Emacs uses American spelling.
3268
d5e6342e
JB
32692012-04-14 Juanma Barranquero <lekktu@gmail.com>
3270
3271 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3272 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3273 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3274 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3275
ab036cd7
SM
32762012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * progmodes/which-func.el (which-func-modes): Change default.
3279
35dc09a1 32802012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3281
3282 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3283 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3284
35dc09a1 32852012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3286
3287 * custom.el (custom-theme-set-variables): Doc fix.
3288
35dc09a1 32892012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3290
3291 * international/mule.el (set-auto-coding-for-load): Doc fix.
3292
35dc09a1 32932012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3294
35dc09a1
GM
3295 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3296 imenu work again for Objective C Mode. Correct the *-index values,
3297 these having been disturbed by a previous change in 2011-08.
57f845ee 3298
0de3da9f
AM
3299 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3300 Correct two search limits.
3301
35dc09a1 33022012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3303
3304 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3305
35dc09a1 33062012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3307
3308 * international/characters.el: Fix sorting.
3309
35dc09a1 33102012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3311
3312 * international/characters.el: Add more missing Latin case pairs.
3313
35dc09a1 33142012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3315
3316 * files.el (dir-locals-set-class-variables): Doc fix.
3317
35dc09a1 33182012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3319
3f1b5bf8
EZ
3320 * international/characters.el: Add set-case-syntax-pair call for
3321 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3322 counterpart. (Bug#11209)
3323
9f847f41
EZ
3324 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3325
35dc09a1 33262012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3327
3328 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3329
35dc09a1 33302012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3331
35dc09a1
GM
3332 * textmodes/ispell.el (ispell-dictionary-base-alist):
3333 Add data for Hebrew.
e2627d21 3334
35dc09a1 33352012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3336
35dc09a1
GM
3337 * net/rcirc.el (rcirc-cmd-quit):
3338 Revert 2012-03-18 change (Bug#11192).
5c14e333 3339
35dc09a1 33402012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3341
3342 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3343
35dc09a1 33442012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3345
4517fe3a
SM
3346 * minibuffer.el (completion-in-region-mode-map):
3347 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3348
b472a594
VD
33492012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3350
3351 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3352
09b95ce3
MY
33532012-04-13 Masatake YAMATO <yamato@redhat.com>
3354
3355 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3356 to allow `C-M-f' and `C-M-b' to move to the nearest path
3357 separator (bug#9511).
3358
4b63a9ca
LI
33592012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3360
3361 * avoid.el: Require cl when compiling. And also move the
3362 `provide' to the end.
3363
7b55b8bf
TV
33642012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3365
3366 * avoid.el (mouse-avoidance-banish-position): New variable.
3367 (mouse-avoidance-banish-destination): Use it (bug#10165).
3368
adedaa1f
LL
33692012-04-13 Leo Liu <sdl.web@gmail.com>
3370
3371 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3372
70e74021
KB
33732012-04-13 Ken Brown <kbrown@cornell.edu>
3374
3375 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3376 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3377 (browse-url-filename-alist): For the same reason, don't modify
3378 file:// URLs on Cygwin.
3379
e75e89ba
SM
33802012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3383 the region on shift if the binding is already shifted (bug#11221).
3384
82f289a4
GM
33852012-04-12 Glenn Morris <rgm@gnu.org>
3386
3387 * mail/mailpost.el: Move to obsolete/.
3388
d333dc4c
DA
33892012-04-12 Drew Adams <drew.adams@oracle.com>
3390
3391 * imenu.el (imenu--generic-function): Ignore invisible definitions
3392 (bug#10123).
3393
0d15b5ba
VD
33942012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3395
3396 * hexl.el (hexl-bits): New variable.
3397 (hexl-options): Mention the variable in the doc string.
75f1671a 3398 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3399 (hexl-mode): Mention the new variable.
75f1671a
JB
3400 (hexl-mode, hexl-current-address, hexl-current-address):
3401 Use the displen.
0d15b5ba
VD
3402 (hexl-ascii-start-column): New function.
3403 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3404 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3405
64a440db
AM
34062012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3407
3408 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3409 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3410 the encoding, as expected by hunspell.
3411
6decb6c2
SM
34122012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * battery.el (battery--linux-sysfs-regexp): New const.
3415 (battery-status-function): Use it. Remove yeeloong special case.
3416 (battery-yeeloong-sysfs): Remove.
3417 (battery-echo-area-format): Remove yeeloong special case.
3418
088be6fb
SM
34192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3420
6622e416
SM
3421 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3422 Reported by Noah Friedman.
3423
088be6fb
SM
3424 * subr.el (read-passwd): Use read-string.
3425
b49f886e
LMI
34262012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3427
3428 * vcursor.el (vcursor-move): Increase the priority of the overlay
3429 (bug#9663).
3430
a63067fc
DD
34312012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3432
3433 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3434 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3435
ac3cf14a
WS
34362012-04-11 William Stevenson <yhvh2000@gmail.com>
3437
3438 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3439 define-minor-mode (bug#10760).
3440
c4fc691b 34412012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3442
4d6769e1 3443 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3444 that directories matching `grep-find-ignored-files' won't be
3445 pruned (bug#10351).
3446
af23e2e5
CY
34472012-04-11 Chong Yidong <cyd@gnu.org>
3448
3449 * startup.el (command-line): Remove support for long-obsolete
3450 variable font-lock-face-attributes.
3451
ab7ce8c1
GM
34522012-04-11 Glenn Morris <rgm@gnu.org>
3453
3454 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3455
de8c03dc
SM
34562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * window.el (window--state-get-1): Obey window-point-insertion-type.
3459
050cc68b
LB
34602012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3461
3462 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3463 to previous function when point is on the first character of a
75f1671a 3464 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3465
a38c310c
GM
34662012-04-11 Glenn Morris <rgm@gnu.org>
3467
effed0c2
GM
3468 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3469 not just file-errors.
3470
a38c310c
GM
3471 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3472 (vc-bzr-sha1): Use internal sha1.
3473
0221e323
SM
34742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3477
43956923
SG
34782012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3479
3480 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3481 that start in the middle of the line (bug#10496).
3482
6a8c9eaf
DN
34832012-04-10 Dan Nicolaescu <dann@gnu.org>
3484
3485 * battery.el (battery-linux-proc-acpi): Only one battery is
3486 discharged at a time, but that seems to confuse battery.el when
3487 computing `rate-type' for the battery not being discharged
3488 (bug#10332).
3489
1930bf5d
SM
34902012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3491
2a718f6f
SM
3492 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3493
599430d0
SM
3494 * international/quail.el: Use dolist and simplify.
3495 (quail-define-package, quail-update-keyboard-layout)
3496 (quail-define-rules): Use dolist.
3497 (quail-insert-kbd-layout, quail-get-translation): CSE.
3498
a2754b6c
SM
3499 * tmm.el: Use dolist, remove left over hook.
3500 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3501 Use dolist.
3502 (calendar-load-hook): Don't mess with it.
3503
1930bf5d
SM
3504 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3505 Use derived-mode-p. Run the diff asynchronously.
3506
9f67961c
LMI
35072012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3508
3509 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3510
2a8ce227
JB
35112012-04-10 Juanma Barranquero <lekktu@gmail.com>
3512
3513 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3514 (list-dynamic-libraries--loaded): New function.
3515 (list-dynamic-libraries--refresh): Use it.
3516
8f33b5f8
NW
35172012-04-10 Nathan Weizenbaum <nweiz@google.com>
3518
1930bf5d
SM
3519 * progmodes/python.el (python-fill-paragraph):
3520 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3521 disabled (bug#7018).
3522
b12f0439
L
35232012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3524
1930bf5d 3525 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3526 DOS/MS Windows for the Baltic languages. There are still plenty
3527 of texts written in this encoding/codepage (bug#6519).
b12f0439 3528
57c3bd01
GM
35292012-04-10 Glenn Morris <rgm@gnu.org>
3530
3531 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3532 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3533
6c3eab30
FA
35342012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3535
1930bf5d 3536 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3537 next-line "n" and previous-line "p" in order to make recentf more
3538 consistent with ibuffer, dired or org-mode (bug#9387).
3539
24d78a88
LMI
35402012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3541
bc72b5d9
LMI
3542 * image.el (put-image): Return the overlay created instead of the
3543 optional input string (bug#7834). Note that this may break code
3544 that is (for some reason or other) depending on `put-image'
3545 returning the string.
3546
bd2dba5a
LMI
3547 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3548
74beb59f
LMI
3549 * simple.el (zap-to-char): Allow zapping using input methods
3550 (bug#1580).
3551
24d78a88
LMI
3552 * textmodes/fill.el (fill-region): Leave point and mark where they
3553 were before filling (bug#5399).
3554
263f20cd
GM
35552012-04-09 Glenn Morris <rgm@gnu.org>
3556
3557 * version.el (emacs-bzr-get-version):
3558 Handle lightweight checkouts of local branches.
3559
58d1f797
AS
35602012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3561
263f20cd 3562 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3563
b4d3bc10
CY
35642012-04-09 Chong Yidong <cyd@gnu.org>
3565
3566 * custom.el (custom-variable-p): Return nil for non-symbol
3567 arguments instead of signaling an error.
3568 (user-variable-p): Obsolete alias for custom-variable-p.
3569
3570 * apropos.el (apropos-variable):
3571 * files-x.el (read-file-local-variable):
3572 * simple.el (set-variable):
3573 * woman.el (woman-mini-help):
3574 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3575
fd06db5d
GM
35762012-04-09 Glenn Morris <rgm@gnu.org>
3577
e5fcdb5e
GM
3578 * startup.el (normal-top-level): Don't look for leim-list.el
3579 in places where it will not be found. (Bug#910)
3580
fd06db5d
GM
3581 * international/mule-cmds.el (set-default-coding-systems):
3582 * files.el (normal-mode):
3583 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3584 This function was removed with ucs-tables.el in 2008.
3585
b39bb7e1
EZ
35862012-04-08 Eli Zaretskii <eliz@gnu.org>
3587
3588 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3589 ispell-encoding8-command to "-i", without a trailing space.
3590 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3591 separate command-line arguments, to specify the encoding, since
3592 that's how hunspell expects it.
3593
5c5b8e23
GM
35942012-04-08 Glenn Morris <rgm@gnu.org>
3595
3596 * loadup.el: Load bindings before cus-start.
3597 This reduces somewhat the number of "rogue" settings in emacs -Q.
3598
a1ed8b05
GM
35992012-04-07 Glenn Morris <rgm@gnu.org>
3600
3601 * version.el (emacs-bzr-get-version): New function.
dfae128a 3602 (emacs-bzr-version): New variable.
a1ed8b05
GM
3603 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3604 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3605
b142f158
EZ
36062012-04-07 Eli Zaretskii <eliz@gnu.org>
3607
dfae128a
GM
3608 * international/uni-bidi.el, international/uni-category.el:
3609 * international/uni-combining.el, international/uni-decimal.el:
3610 * international/uni-decomposition.el, international/uni-digit.el:
3611 * international/uni-lowercase.el, international/uni-mirrored.el:
3612 * international/uni-name.el, international/uni-numeric.el:
3613 * international/uni-titlecase.el, international/uni-uppercase.el:
3614 Update for Unicode 6.1.
b142f158 3615
9078ead6
EZ
36162012-04-07 Eli Zaretskii <eliz@gnu.org>
3617
3618 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3619
f23d2c7d
LMI
36202012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3621
3622 * window.el (shrink-window): Mention the `window-min-height'
3623 variable in the doc string.
3624
0a0a3573
BG
36252012-04-05 Bastien Guerry <bzg@altern.org>
3626
3627 * color.el (color-lighten-name): Fix typo.
3628
e5248ac9
SM
36292012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * server.el (server--on-display-p): New function.
3632 (server--on-display-p): Use it.
3633
b4243e22
GV
36342012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3635
3636 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3637 (bug#11145).
3638
305d9f44
SM
36392012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * comint.el (comint--common-quoted-suffix): Check string boundary
3642 before comparing (bug#11158).
3643 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3644
3d439cd1
CY
36452012-04-04 Chong Yidong <cyd@gnu.org>
3646
321cc491
CY
3647 * minibuffer.el (completion-extra-properties): Doc fix.
3648
3d439cd1
CY
3649 * subr.el (delayed-warnings-hook): Doc fix.
3650
2d562c0f
DU
36512012-04-04 Daiki Ueno <ueno@unixuser.org>
3652
3653 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3654 selection (Bug#11159).
3655 (epa-insert-keys): Inform that the default public key will be
3656 exported if no key is selected.
3657
4443f204
RS
36582012-04-04 Richard Stallman <rms@gnu.org>
3659
3660 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3661
529c06b6
CY
36622012-04-03 Chong Yidong <cyd@gnu.org>
3663
3664 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3665 mail-insert-file, not its obsolete alias mail-attach-file.
3666
66b907dc
MA
36672012-04-03 Michael Albinus <michael.albinus@gmx.de>
3668
3669 * notifications.el (notifications-notify): Fix docstring.
3670
c0ea195d
GM
36712012-04-02 Glenn Morris <rgm@gnu.org>
3672
3673 * emacs-lisp/authors.el (authors-aliases): Another addition.
3674
5ca64e00
MA
36752012-04-02 Michael Albinus <michael.albinus@gmx.de>
3676
3677 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3678 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3679 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3680
42ee526b
CY
36812012-04-01 Chong Yidong <cyd@gnu.org>
3682
3683 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3684 Handle root directory properly.
3685 (copy-directory): Caller changed.
3686
3687 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3688 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3689
0b021094
GM
36902012-03-31 Glenn Morris <rgm@gnu.org>
3691
40f86458
GM
3692 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3693
7019c177
GM
3694 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3695
a1daddd6
GM
3696 * calendar/calendar.el (calendar-window-list)
3697 (calendar-hide-window): Restore. (Bug#11140)
3698 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3699
0b021094
GM
3700 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3701
40311efc
TV
37022012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3703
3704 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3705 Check if file is a symlink (Bug#10489).
3706
3707 * files.el (copy-directory): Likewise.
3708
5319014e
CY
37092012-03-30 Chong Yidong <cyd@gnu.org>
3710
3711 * image.el (imagemagick-types-inhibit)
3712 (imagemagick-register-types): Doc fix.
3713
935d1290
AM
37142012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3715
ef24141c
SM
3716 * ispell.el (ispell-get-extended-character-mode):
3717 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3718 and treats ~word as ordinary words in pipe mode.
935d1290 3719
61c6e8fd
GM
37202012-03-30 Glenn Morris <rgm@gnu.org>
3721
3722 * tutorial.el (help-with-tutorial): Ensure local variables don't
3723 happen to make the buffer read-only. (Bug#11127)
3724
81fdff00
SM
37252012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3728 (perl-calculate-indent): Return `noindent' in strings.
3729
6e7a6ec0
SS
37302012-03-28 Sam Steingold <sds@gnu.org>
3731
3732 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3733 instead of the broken adhockery which does not prevent calendar
3734 buffers from being displayed at random after exit.
3735 (calendar-window-list, calendar-hide-window): Remove the broken
3736 adhockery.
3737
fee88ca0
GM
37382012-03-28 Glenn Morris <rgm@gnu.org>
3739
3740 * replace.el (query-replace-map): Doc fix.
3741
38de3354
AS
37422012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3743
3744 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3745 contents. (Bug#11109)
3746
b973155e
SM
37472012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3750 (bug#11077).
3751 (avl-tree--check, avl-tree--check-node): New funs.
3752
dcb6e7b3
MR
37532012-03-27 Martin Rudalics <rudalics@gmx.at>
3754
3755 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3756 (switch-to-prev-buffer, switch-to-next-buffer):
3757 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3758 showing a buffer already is done on the same frame.
3759
b4fa35fa
GM
37602012-03-27 Glenn Morris <rgm@gnu.org>
3761
3762 * startup.el (mail-host-address): Doc fix.
3763
f9210e18
SM
37642012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3767 than 197 variables.
3768
c0bf7753
AF
37692012-03-26 Ami Fischman <ami@fischman.org>
3770
3771 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3772
33da7b16
GM
37732012-03-26 Glenn Morris <rgm@gnu.org>
3774
02243d9d
GM
3775 * files.el (save-buffers-kill-emacs): Doc fix.
3776
33da7b16
GM
3777 * startup.el (normal-top-level, command-line, command-line-1):
3778 Give them doc strings.
3779
e5a69fd0
EZ
37802012-03-25 Eli Zaretskii <eliz@gnu.org>
3781
3782 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3783 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3784
9a69676a
CY
37852012-03-25 Chong Yidong <cyd@gnu.org>
3786
4125cb8b
CY
3787 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3788 theme if it was previously enabled before (Bug#11031).
3789
dd470960
CY
3790 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3791 spec with custom-face-get-current-spec if its :shown-value is not
3792 determined yet (Bug#9337).
4125cb8b 3793 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3794
9a69676a
CY
3795 * button.el (button-at): Minor addition to docstring.
3796
6e7e90fa
SL
37972012-03-24 Simon Leinen <simon.leinen@gmail.com>
3798
3799 * vc/vc.el (vc-merge): Fix a prompt.
3800
f06e2758
CY
38012012-03-24 Chong Yidong <cyd@gnu.org>
3802
3803 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3804 point (Bug#9623).
3805
6e7e90fa
SL
3806 * button.el (button-at): Minor addition to docstring.
3807
b9d0879b
SM
38082012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * newcomment.el (comment-choose-indent): No space after BOL.
3811
e71cebb3
SS
38122012-03-22 Sam Steingold <sds@gnu.org>
3813
3814 * window.el (switch-to-prev-buffer): Revert last patch because the
3815 bug turned out to be an advertised feature (Elisp manual 28.14).
3816
335aff35
GM
38172012-03-22 Glenn Morris <rgm@gnu.org>
3818
3819 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3820 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3821
c676576a
LMI
38222012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3823
3824 * net/network-stream.el (network-stream-open-starttls): Make error
3825 message under Windows be less misleading.
3826
126f3d39
LW
38272012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3828
3829 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3830 understands (bug#9942).
3831
64fee311
CY
38322012-03-22 Chong Yidong <cyd@gnu.org>
3833
3834 * simple.el (end-of-visible-line): Handle return value of
3835 next-single-property-change properly (Bug#9371).
3836
a640d29a
KH
38372012-03-22 Kenichi Handa <handa@m17n.org>
3838
3839 * international/quail.el (quail-insert-kbd-layout): Fix previous
3840 change. To avoid unwanted bidi reordering, use
3841 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3842
39675016
DG
38432012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3844
3845 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3846 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3847 (ruby-beginning-of-indent): Be more careful with the difference
3848 between word-boundary and symbol boundary.
3849 (ruby-mode-syntax-table): Make : a symbol constituent.
3850
0a6934fc 38512012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3852
3d008e4f
SM
3853 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3854
0a6934fc
SM
38552012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3856
af67c9d7
SM
3857 * progmodes/etags.el (tags-completion-at-point-function):
3858 Improve last fix.
3859
1acad97c
SM
3860 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3861
e298b5da
SS
38622012-03-21 Sam Steingold <sds@gnu.org>
3863
3864 * progmodes/etags.el (tags-completion-at-point-function):
3865 Avoid the error when point is inside the pattern.
3866
91d82a70
JY
38672012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3868
3869 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3870 line (Bug#10855).
3871
69188b79
CY
38722012-03-21 Drew Adams <drew.adams@oracle.com>
3873
3874 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3875
99fc91fe
AK
38762012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3877
3878 * ido.el (ido-set-current-directory, ido-read-internal)
3879 (ido-choose-completion-string, ido-completion-help): Handle nil
3880 value of ido-completion-buffer (Bug#11008).
3881
087bbb4c
SS
38822012-03-21 Sam Steingold <sds@gnu.org>
3883
3884 * window.el (switch-to-prev-buffer): Do not switch to a visible
3885 window previous buffer, just like with the frame previous buffers.
3886
fb5b8aca
CY
38872012-03-21 Chong Yidong <cyd@gnu.org>
3888
3889 * faces.el (make-face, make-empty-face, copy-face):
3890 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3891 Doc fixes.
3892
dc9924b8
SM
38932012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3896 (widget-complete): Remove broken use of it.
3897
f0bcceb9
CY
38982012-03-20 Chong Yidong <cyd@gnu.org>
3899
dc9924b8
SM
3900 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3901 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3902 characters.
3903
ee52ebf3
TH
39042012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3905
3906 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3907 to draw rectangles, not squares. (Regression introduced by revno
3908 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3909
4c5779ab
CY
39102012-03-18 Chong Yidong <cyd@gnu.org>
3911
3912 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3913 it is not yet defined (for temacs).
3914
15360934
LL
39152012-03-18 Leo Liu <sdl.web@gmail.com>
3916
dc9924b8 3917 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3918
d9a8eb66
EZ
39192012-03-17 Eli Zaretskii <eliz@gnu.org>
3920
3921 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3922 (ispell-choices-win-default-height, ispell-silently-savep)
3923 (ispell-dictionary-alist, ispell-encoding8-command)
3924 (ispell-check-version, ispell-aspell-find-dictionary)
3925 (ispell-valid-dictionary-list, ispell-words-keyword)
3926 (ispell-get-word, ispell-internal-change-dictionary)
3927 (ispell-region, ispell-skip-region-list)
3928 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3929 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3930 (ispell-message-text-end, ispell-message)
3931 (ispell-buffer-local-parsing): Doc fix.
3932
f02ff80d
J
39332012-03-13 Jambunathan K <kjambunathan@gmail.com>
3934
3935 * htmlfontify.el: Add support for code block fontification for ODT
3936 export (Bug #9914).
3937 (hfy-optimisations): Define new option
3938 `body-text-only'
3939 (hfy-fontify-buffer): Honor above setting.
3940 (hfy-begin-span, hfy-end-span): New routines factored out form
3941 `hfy-fontify-buffer'.
3942 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3943 that permit insertion of custom tags.
3944 (hfy-fontify-buffer): Use above handlers.
3945 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3946 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3947 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3948 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3949 bind a special variable `hfy-user-sheet-assoc'.
3950 (htmlfontify-string): New defun.
3951 (hfy-compile-face-map): Make sure that the last char in the
3952 buffer is correctly fontified.
3953 (hfy-face-resolve-face): Whitespace only change.
3954
9ac7a13f
EZ
39552012-03-17 Eli Zaretskii <eliz@gnu.org>
3956
3957 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3958 message more clear.
3959
e2b5bdd7
LL
39602012-03-16 Leo Liu <sdl.web@gmail.com>
3961
3962 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3963
2e492df3
AM
39642012-03-16 Alan Mackenzie <acm@muc.de>
3965
3966 Further optimise the handling of large macros.
3967
3968 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3969 limit to a call of `c-literal-limits'.
3970 (c-determine-+ve-limit): New function.
dc9924b8
SM
3971 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3972 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3973 In CASE 5B, restrict a search limit to 500.
3974 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3975
3976 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3977 Restrict macro bounds to +-500 from after-change's BEG END.
3978
50e94f0c
LL
39792012-03-16 Leo Liu <sdl.web@gmail.com>
3980
3981 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3982
6f09f6ed
AH
39832012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3984
3985 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3986 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3987
c7e73d51
GM
39882012-03-16 Glenn Morris <rgm@gnu.org>
3989
da986230
GM
3990 * view.el (view-buffer, view-buffer-other-window)
3991 (view-buffer-other-frame): Doc fixes re special mode-class.
3992
0835f01e
GM
3993 * subr.el (eval-after-load): If named feature is provided not from
3994 a file, run after-load forms. (Bug#10946)
3995
c7e73d51
GM
3996 * calendar/calendar.el (calendar-insert-at-column):
3997 Handle non-unit-width characters a bit better. (Bug#10978)
3998
3f2eafd1
CY
39992012-03-15 Chong Yidong <cyd@gnu.org>
4000
4001 * emacs-lisp/ring.el (ring-extend): New function.
4002 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4003
4004 * comint.el (comint-read-input-ring)
4005 (comint-add-to-input-history): Grow comint-input-ring lazily.
4006
103af3fe
SM
40072012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4008
663b1677
SM
4009 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4010 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4011
103af3fe
SM
4012 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4013 (imenu-add-to-menubar): Don't add a redundant index.
4014 (imenu-update-menubar): Handle a dynamically composed keymap.
4015
899cb7cb
KY
40162012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4017
4018 * mail/sendmail.el (mail-encode-header):
4019 Bind rfc2047-encode-encoded-words to nil.
4020
3809f91d
GM
40212012-03-13 Glenn Morris <rgm@gnu.org>
4022
4023 * calendar/calendar.el (calendar-string-spread):
4024 Handle non-unit-width characters a bit better. (Bug#10978)
4025
9e345a01
LL
40262012-03-13 Leo Liu <sdl.web@gmail.com>
4027
4028 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4029 directory and file as argument (Bug#10822).
4030
4a07df36
KS
40312012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4032
4033 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4034 For dynamically generated code, follow $PC.
4035 (gdb-disassembly-handler-custom): Handle no function name case.
4036
4aaa9356
TL
40372012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4038
4039 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4040 * emulation/ws-mode.el (ws-query-replace):
4041 * sort.el (sort-regexp-fields):
4042 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4043
225979da
SM
40442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * dabbrev.el: Fix cycle completion order (bug#10963).
4047 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4048 (dabbrev-completion): Don't use an obarray; provide
4049 a cycle-sort-function.
4050
e2f1fdab
LL
40512012-03-12 Leo Liu <sdl.web@gmail.com>
4052
dc9924b8 4053 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4054 (kill-do-not-save-duplicates): Doc fix.
4055
b19490ed
SM
40562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * dabbrev.el: Fix cycle completion (bug#10963).
4059 Use lexical binding and wrap to 80 columns.
4060 (dabbrev-completion): Delay computing the list of completions.
4061
4b05d722
KH
40622012-03-12 Kenichi Handa <handa@m17n.org>
4063
4064 * international/quail.el (quail-insert-kbd-layout): Surround each
4065 row by LRO and PDF instead of inserting many LRMs. Pad the left
4066 and right of each non-spacing marks. Insert invisible space
4067 between lower and upper characters to prevent composition.
4068
dbbc2e69
SM
40692012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * minibuffer.el (minibuffer-complete): Don't get confused when the
4072 function is run twice via different commands (bug#10958).
4073 (complete-with-action): Fix docstring.
4074
292112ed
CY
40752012-03-12 Chong Yidong <cyd@gnu.org>
4076
5d1ac394
CY
4077 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4078 (nxml-completion-at-point-function): New function.
4079 (nxml-mode): Use it.
4080 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4081
292112ed
CY
4082 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4083 Load generated autoloads file before byte compiling (Bug#10970).
4084 (package--make-autoloads-and-compile): New helper fun.
4085
4098f8f7
CS
40862012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4087
4088 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4089
8f754691
MA
40902012-03-11 Michael Albinus <michael.albinus@gmx.de>
4091
4092 * autorevert.el (auto-revert-handler): Ensure, that
4093 file-readable-p is applied only for local files or in
4094 auto-revert-tail-mode.
4095
e29ab36b
AS
40962012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4097
dbbc2e69
SM
4098 * server.el (server-eval-at): Handle non-tcp connections.
4099 Decode result string.
ad0bf5b6 4100
e29ab36b
AS
4101 * server.el (server-msg-size): New constant.
4102 (server-reply-print): New function.
4103 (server-eval-and-print): Use it.
4104 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4105 Handle -print-nonl.
4106
de5939ba
CS
41072012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4108
4109 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4110 (Bug#10987).
4111
0c93eabf
CY
41122012-03-11 Chong Yidong <cyd@gnu.org>
4113
397a688f
CY
4114 * simple.el (goto-line): Doc fix (Bug#9938).
4115
2cc775f9
CY
4116 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4117
0c93eabf
CY
4118 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4119 when finished (Bug#10963).
4120
c491fa41
MR
41212012-03-11 Martin Rudalics <rudalics@gmx.at>
4122
4123 * window.el (split-window-below): Fix bug in case where
4124 split-window-keep-point is nil (Bug#10971).
4125
300e8fa5
JL
41262012-03-11 Juri Linkov <juri@jurta.org>
4127
4128 * replace.el (replace-highlight): Set isearch-word to nil
4129 unconditionally. (Bug#10887)
4130
dbf6c5a1
EZ
41312012-03-10 Eli Zaretskii <eliz@gnu.org>
4132
4133 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4134 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4135 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4136 (mairix-widget-create-query): Add usage information about mairix
4137 search forms: negating words, searching for substrings, etc.
4138
b9e501de
JP
41392012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4140
4141 * international/fontset.el (font-encoding-alist): Add an entry for
4142 ksx1001 (Bug#5667).
4143
92795c91
RS
41442012-03-10 Richard Stallman <rms@gnu.org>
4145
1694e6c1
RS
4146 * mail/sendmail.el (mail-encode-header):
4147 Set rfc2047-encode-encoded-words.
4148
607e8555
RS
4149 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4150
de3bc99a
RS
4151 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4152 view buffer means not swapped.
4153 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4154 (rmail-write-region-annotate): Error if real text has disappeared.
4155
92795c91
RS
4156 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4157
699bd04e
CY
41582012-03-10 Chong Yidong <cyd@gnu.org>
4159
4160 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4161 * emulation/cua-base.el (cua--init-keymaps):
4162 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4163
570a1714
MR
41642012-03-10 Martin Rudalics <rudalics@gmx.at>
4165
dbbc2e69
SM
4166 * speedbar.el (speedbar-unhighlight-one-tag-line):
4167 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4168
82dcf4e4
CY
41692012-03-10 Chong Yidong <cyd@gnu.org>
4170
7a2c7ca7
CY
4171 * minibuffer.el (completion-in-region, completion-help-at-point):
4172 Give the completion field overlay a high priority (Bug#6830).
4173
82dcf4e4
CY
4174 * dired.el (dired-goto-file): Recognize absolute file name
4175 listings (Bug#7126).
4176 (dired-goto-file-1): New helper function.
4177 (dired-toggle-read-only): Inhibit warnings.
4178
052e28ac
MA
41792012-03-09 Michael Albinus <michael.albinus@gmx.de>
4180
75f1671a 4181 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4182 there are no properties.
4183
95d5e396
LL
41842012-03-09 Leo Liu <sdl.web@gmail.com>
4185
4186 * savehist.el (savehist-printable): Stricter check for string
4187 value (Bug#10937).
4188
3f018d6d
EZ
41892012-03-09 Eli Zaretskii <eliz@gnu.org>
4190
dbbc2e69
SM
4191 * mail/smtpmail.el (smtpmail-send-it):
4192 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4193 valid mbox format.
4194
f7fd3d79
GM
41952012-03-09 Glenn Morris <rgm@gnu.org>
4196
4197 * files.el (dir-locals-find-file):
4198 Don't check result is regular, readable.
4199 (dir-locals-read-from-file): Demote errors.
4200
6ff6e72f
EZ
42012012-03-08 Eli Zaretskii <eliz@gnu.org>
4202
dbbc2e69
SM
4203 * international/quail.el (quail-insert-kbd-layout):
4204 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4205 layout cell, to prevent their reordering by bidi display engine.
4206 For details, see the discussion in
4207 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4208
9cec7834
AM
42092012-03-08 Alan Mackenzie <acm@muc.de>
4210
4211 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4212 the starting position; make it extend the marked region when
4213 invoked repeatedly - all under appropriate circumstances.
4214 Fixes bugs #5525, #10906.
4215
9a40b8d4
GM
42162012-03-08 Glenn Morris <rgm@gnu.org>
4217
4218 * files.el (locate-dominating-file, dir-locals-find-file):
4219 Undo 2012-03-06 change.
4220
7a08ed35
EZ
42212012-03-07 Eli Zaretskii <eliz@gnu.org>
4222
dbbc2e69
SM
4223 * international/quail.el (quail-help):
4224 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4225 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4226 for the reason.
4227
5aca4f71 42282012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4229
4230 Avoid superfluous registering of signals. (Bug#10807)
4231
4232 * notifications.el (notifications-on-action-object)
4233 (notifications-on-close-object): New defvars.
4234 (notifications-on-action-signal, notifications-on-closed-signal):
4235 Unregister the signal if not needed any longer.
4236 (notifications-notify): Register `notifications-action-signal' or
4237 `notifications-closed-signal', if :on-action or :on-close has been
4238 passed as argument.
4239
78e8b10a
CY
42402012-03-07 Chong Yidong <cyd@gnu.org>
4241
4242 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4243 non-X platforms.
4244
69481eb8
GM
42452012-03-06 Glenn Morris <rgm@gnu.org>
4246
4247 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4248 (x-disown-selection-internal, x-get-selection-internal):
4249 Doc fix (add arglist signatures). (Bug#10783)
4250
133b8e11
KS
42512012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4252
4253 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4254 Handle breakpoints with no "type".
4255
99a83064
GM
42562012-03-06 Glenn Morris <rgm@gnu.org>
4257
4258 * files.el (locate-dominating-file): Add optional predicate argument.
4259 (dir-locals-find-file): Make use of above change.
4260
17798e78
TTN
42612012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4262
4263 * info.el (Info-insert-dir): Also try "dir.gz".
4264
eb182446
GM
42652012-03-06 Glenn Morris <rgm@gnu.org>
4266
8f2114ee
GM
4267 * files.el (dir-locals-find-file):
4268 Ignore non-readable or non-regular files. (Bug#10928)
4269
eb182446
GM
4270 * files.el (locate-dominating-file): Doc fix.
4271
24679323
AS
42722012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4273
4274 * calendar/calendar.el (calendar-set-mode-line):
4275 `getenv' returns a string. (Bug#10951)
4276
01d972a9
LL
42772012-03-05 Leo Liu <sdl.web@gmail.com>
4278
109aa8a9
LL
4279 * simple.el (backward-delete-char-untabify): Constrain point to
4280 field (Bug#10939).
4281
01d972a9
LL
4282 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4283
10607bea
CY
42842012-03-05 Chong Yidong <cyd@gnu.org>
4285
4286 * simple.el (count-words): If called from Lisp, return the word
4287 count, for symmetry with `count-lines'. Arglist changed.
4288 (count-words--message): Args changed. Consolidate counting code
4289 from count-words and count-words-region.
4290 (count-words-region): Caller changed.
4291 (count-lines-region): Make it an obsolete alias.
4292
5dd11cfe
TH
42932012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4294
4295 * saveplace.el (save-place-to-alist)
4296 (save-place-ignore-files-regexp): Allow value nil to disable this
4297 feature.
4298
c349f4e6
CY
42992012-03-04 Chong Yidong <cyd@gnu.org>
4300
4301 * faces.el (face-spec-reset-face): For the default face, reset the
4302 attributes to default values (Bug#10748).
4303
e627be4c
LMI
43042012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4305
4306 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4307 previous patch: Check `message-send-mail-function', and not the
4308 default function (bug#10897).
4309
ebeabff4
MA
43102012-03-04 Michael Albinus <michael.albinus@gmx.de>
4311
a41a6cf4
MA
4312 * notifications.el (notifications-on-action-signal)
4313 (notifications-on-closed-signal): Check for unique service name of
4314 incoming event. Fix error in removing entry.
ebeabff4 4315 (top): Register for signals with wildcard service name.
a41a6cf4 4316 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4317
c1ca42b4
CY
43182012-03-04 Chong Yidong <cyd@gnu.org>
4319
dc9924b8 4320 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4321
ea16568d
GM
43222012-03-04 Glenn Morris <rgm@gnu.org>
4323
4324 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4325 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4326 (expand-abbrev, define-abbrev-table): Doc fixes.
4327
fbae4637
LMI
43282012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4329
4330 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4331 `message-default-send-mail-function' and not `send-mail-function'
4332 when doing the prompting for `sendmail-query-once' before sending
4333 in Message buffers (bug#10897).
4334
a1e7225c
LMI
4335 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4336 This is inconsistent with all the other stream functions, which leave
4337 the setting up to the higher levels (if so wanted) (bug#10931).
4338
56d093a9
AM
43392012-03-02 Alan Mackenzie <acm@muc.de>
4340
4341 Depessimize the handling of very large macros.
4342
4343 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4344 (c-macro-cache-syntactic): New variables to implement a one
4345 element macro cache.
4346 (c-invalidate-macro-cache): New function.
4347 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4348 Adapt to use the new cache.
4349 (c-state-safe-place): Use better the cache of safe positions.
4350 (c-state-semi-nonlit-pos-cache)
4351 (c-state-semi-nonlit-pos-cache-limit):
4352 New variables for...
4353 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4354 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4355 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4356 Use c-state-semi-safe-place.
56d093a9 4357
dbbc2e69
SM
4358 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4359 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4360
817e5c3d
MA
43612012-03-02 Michael Albinus <michael.albinus@gmx.de>
4362
dbbc2e69
SM
4363 * jka-compr.el (jka-compr-call-process):
4364 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4365 not remote.
4366
a032a702
MA
43672012-03-01 Michael Albinus <michael.albinus@gmx.de>
4368
4369 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4370 access of FILE2, if FILE1 does not exist.
4371
99a54f21
MA
4372 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4373 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4374
4375 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4376 Add "PAGER=" to `process-environment'.
4377
f6561e1f
MM
43782012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4379
4380 * progmodes/sql.el: Bug fix
4381 (sql-get-login-ext): Save login values in globals.
4382 (sql-get-login): Use new version of `sql-get-login-ext'.
4383 (sql-interactive-mode): Set global `sql-connection' to nil.
4384 (sql-connect): Set global values for connection.
4385 (sql-product-interactive): Save global values as buffer local.
4386
2d44d9cc
LL
43872012-02-29 Leo Liu <sdl.web@gmail.com>
4388
4389 * abbrev.el (define-abbrevs): Reset sys to nil.
4390
96b49301 43912012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4392
bf7f9bc5
JB
4393 * files.el (file-equal-p): Rename from `files-equal-p'.
4394 Return nil when one or both files don't exist.
96b49301 4395 (file-subdir-of-p): Now only top directory must exists,
4396 return nil if it doesn't.
bf7f9bc5
JB
4397 (copy-directory): No need to test with `file-subdir-of-p' after
4398 creating dir.
4399 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4400 to `file-equal-p'.
96b49301 4401
44e97401
GM
44022012-02-28 Glenn Morris <rgm@gnu.org>
4403
4404 * shell.el (shell-mode):
4405 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4406 * play/landmark.el (landmark-font-lock-face-O):
4407 * play/handwrite.el (handwrite):
4408 * play/gomoku.el (gomoku-O):
4409 * net/browse-url.el (browse-url-browser-display):
4410 * international/mule.el (define-charset):
4411 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4412 * filesets.el (filesets-find-file-delay):
4413 * eshell/em-xtra.el (eshell-xtra):
4414 * eshell/em-unix.el (eshell-grep):
4415 * emulation/viper.el (viper-mode):
4416 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4417 * emacs-lisp/easymenu.el (easy-menu-define):
4418 * calendar/timeclock.el (timeclock-use-display-time):
4419 * bs.el (bs-mode):
4420 * bookmark.el (bookmark-save-flag):
4421 Doc fix (standardize possessive apostrophe usage).
4422
c98c6276
CY
44232012-02-27 Chong Yidong <cyd@gnu.org>
4424
bf7f9bc5
JB
4425 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4426 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4427
c98c6276
CY
4428 * font-lock.el (font-lock-specified-p): Rename from
4429 font-lock-spec-present. Callers changed.
4430
9c62cd04 44312012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4432
bf7f9bc5
JB
4433 * emacs-lisp/package.el (package-compute-transaction):
4434 Handle holding a package version to t in package-load-list.
8ac9e529 4435
530739c9
MA
44362012-02-26 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4439 (tramp-get-inode, tramp-get-device): Use cached values.
4440
487915d7
AM
44412012-02-26 Alan Mackenzie <acm@muc.de>
4442
4443 Check there is a font-lock specification before doing initial
4444 fontification.
4445
4446 * font-core.el (font-lock-mode): Move the conditional from
4447 :after-hook to font-lock-initial-fontify.
4448 (font-lock-default-function): Move the check for a specification
4449 to font-lock-spec-present.
4450
dc9924b8 4451 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4452 (font-lock-spec-present): New function.
4453
4fd96557
JB
44542012-02-26 Jim Blandy <jimb@red-bean.com>
4455
4456 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4457 (gdb-send): Apply it to the operand of the '-interpreter-exec
4458 console' command, so that we can pass arguments with (say) quotes
4459 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4460
9a4888c0
CY
44612012-02-26 Chong Yidong <cyd@gnu.org>
4462
07498861
CY
4463 * help-fns.el (describe-function-1): Clarify description of
4464 remapping (Bug#10844).
4465
9a4888c0
CY
4466 * files.el (files-equal-p): Doc fix.
4467 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4468 and quit the loop once a mismatch is found.
4469
ea8fb88d
JB
44702012-02-25 Juanma Barranquero <lekktu@gmail.com>
4471
4472 * bs.el (bs--show-with-configuration): Don't throw an error
4473 if the window cannot be split; otherwise, subsequent calls to
4474 bs-show fail, restoring a stale window config. (Bug#10882)
4475
525795c1
JD
44762012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4477
4478 * term/ns-win.el (global-map): Bind ns-drag-file to
4479 ns-find-file (Bug#5855, Bug#10050).
4480
f008086f
AS
44812012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4482
4483 * calendar/parse-time.el (parse-time-string): Allow extractor to
4484 return nil.
4485
a3fcfa99
MA
44862012-02-25 Michael Albinus <michael.albinus@gmx.de>
4487
91027d08
JB
4488 * net/tramp.el (tramp-file-name-for-operation):
4489 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4490
4491 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4492 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4493 Add COPY-CONTENTS argument.
a3fcfa99 4494
67b0de11
CY
44952012-02-25 Chong Yidong <cyd@gnu.org>
4496
4497 Add custom groups for VC backends, for consistency with vc-bzr.
4498
4499 * vc/vc-arch.el (vc-arch):
4500 * vc/vc-cvs.el (vc-cvs):
4501 * vc/vc-git.el (vc-git):
4502 * vc/vc-hg.el (vc-hg):
4503 * vc/vc-mtn.el (vc-mtn):
4504 * vc/vc-rcs.el (vc-rcs):
4505 * vc/vc-sccs.el (vc-sccs):
4506 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4507 All relevant defcustoms reassigned.
4508
3c9dfce6
CY
45092012-02-25 Chong Yidong <cyd@gnu.org>
4510
1339bf43
CY
4511 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4512
3c9dfce6
CY
4513 * term/x-win.el (x-initialize-window-system): Reduce default for
4514 x-selection-timeout to 5 seconds (Bug#8869).
4515
25b2e303 45162012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4517
ec70a47d
GM
4518 * files.el (files-equal-p, file-subdir-of-p): New functions.
4519 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4520 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4521 * dired-aux.el (dired-copy-file-recursive): Same.
4522 (dired-create-files): Modify destination when source is equal to
4523 dest when copying files.
53a46cd0 4524 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4525
914260cd
MA
45262012-02-24 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4529 (Bug#10874)
4530
2cb228f7
AM
45312012-02-23 Alan Mackenzie <acm@muc.de>
4532
4533 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4534 parameter "after-hook:" to allow the expansion to run code after
4535 the execution of the mode hooks.
4536
4537 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4538 from font-lock-mode-internal.
2cb228f7 4539
91027d08 4540 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4541 :after-hook.
4542
8f0fde21
SM
45432012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4544
3e88618b
SM
4545 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4546 (completion--cache-all-sorted-completions): New function.
4547 (completion-all-sorted-completions): Use it.
4548 (completion--do-completion, minibuffer-force-complete):
4549 Use it to re-instate the flush hook.
4550
8f0fde21
SM
4551 * icomplete.el (icomplete-completions): Replace last fix with a better
4552 one (bug#10850).
4553
8e911f6f
DG
45542012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4555
4556 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4557 when it might call us back infinitely (bug#10797).
4558
49fe4321
GM
45592012-02-23 Glenn Morris <rgm@gnu.org>
4560
4561 * minibuffer.el (completion-category-overrides): Doc fix.
4562
b291b572
SM
45632012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4566 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4567
31a9ef2e
GM
45682012-02-23 Glenn Morris <rgm@gnu.org>
4569
5e6e6794 4570 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4571 (authors-obsolete-files-regexps, authors-ignored-files)
4572 (authors-ambiguous-files, authors-renamed-files-alist):
4573 Add more entries.
4574
0bd1e074
JL
45752012-02-23 Juri Linkov <juri@jurta.org>
4576
4577 * isearch.el (isearch-occur): Sync interactive spec with occur's
4578 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4579
b617673c
JL
4580 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4581
19e9789e
JL
45822012-02-22 Juri Linkov <juri@jurta.org>
4583
4584 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4585 (ucs-insert): Doc fix. Check for hex digits in the string.
4586 Don't display `nil' in the error message. (Bug#10857)
4587
f41ce09d
AM
45882012-02-22 Alan Mackenzie <acm@muc.de>
4589
7a71b18d 4590 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4591
ac2eceee
GM
45922012-02-22 Glenn Morris <rgm@gnu.org>
4593
4594 * ffap.el (ffap-c-path):
4595 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4596
abd1f678
CY
45972012-02-22 Chong Yidong <cyd@gnu.org>
4598
4599 * custom.el (load-theme): Doc fix.
4600
f25aef2e
GM
46012012-02-22 Glenn Morris <rgm@gnu.org>
4602
4603 * dired-x.el (dired-guess-shell-alist-default):
4604 Remove escape sequences from nroff output. (Bug#172)
4605
5f8dc2ca
GM
46062012-02-21 Glenn Morris <rgm@gnu.org>
4607
6ff86ec4
GM
4608 * vc/emerge.el (emerge-defvar-local):
4609 Set `permanent-local' property rather than unused `preserved'.
4610
be3223a3 4611 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4612 (picture-mode-map): Use it. (Bug#10860)
4613 (picture-mode): Doc fix.
4614
3fe58f4f
JB
46152012-02-21 Juanma Barranquero <lekktu@gmail.com>
4616
4617 * newcomment.el (uncomment-region-default): Remove unused binding.
4618
f9a998c3
GM
46192012-02-21 Glenn Morris <rgm@gnu.org>
4620
4621 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4622 (picture-self-insert, picture-tab-chars): Doc fix.
4623 (picture-mode-map): Fix C-a, C-e.
4624
c6029348
GM
46252012-02-20 Glenn Morris <rgm@gnu.org>
4626
4627 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4628
ab1ce9d7
LL
46292012-02-20 Leo Liu <sdl.web@gmail.com>
4630
4631 * icomplete.el (icomplete-completions): Check FROM arg before
4632 passing to substring (Bug#10850).
4633
0fd40f89
CY
46342012-02-19 Chong Yidong <cyd@gnu.org>
4635
4636 * comint.el: Require ansi-color.
4637 (comint-output-filter-functions): Add ansi-color-process-output.
4638
4639 * ansi-color.el: Don't set comint-output-filter-functions; it is
4640 now in the initial value defined in comint.el.
4641 (ansi-color-apply-face-function): New variable.
4642 (ansi-color-apply-on-region): Use it.
4643 (ansi-color-apply-overlay-face): New function.
4644
4645 * shell.el (shell): No need to require ansi-color.
4646 (shell-mode): Use ansi-color-apply-face-function to highlight
4647 color escapes using font-lock-face property (Bug#10835).
4648
20af2394
CY
46492012-02-19 Chong Yidong <cyd@gnu.org>
4650
4651 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4652 mode-line formats (Bug#10839).
4653
e23a3fbe
GM
46542012-02-18 Glenn Morris <rgm@gnu.org>
4655
b474519e
GM
4656 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4657
4658 * mail/undigest.el (unforward-rmail-message): Doc fix.
4659
e23a3fbe
GM
4660 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4661
57939ff4
EZ
46622012-02-18 Eli Zaretskii <eliz@gnu.org>
4663
4664 * international/characters.el (script-list): Sync with the latest
4665 Unicode Character Database.
4666
0c23686e
AS
46672012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4668
4669 * international/titdic-cnv.el: Remove duplicate coding tag.
4670 * language/cham.el: Likewise.
4671 * language/tai-viet.el: Likewise.
4672
6818b449
GM
46732012-02-18 Glenn Morris <rgm@gnu.org>
4674
4675 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4676 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4677 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4678 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4679 * calendar/holidays.el (holiday-bahai-holidays)
4680 (calendar-holidays, list-holidays):
4681 Use utf-8 Bahá'í in doc-strings, menus, etc.
4682
0311a3fc
TH
46832012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4684
4685 * saveplace.el (save-place-ignore-files-regexp): New variable
4686 allowing for excluding files from saving their location of point.
4687 The default value matches the temporary commit message editing
4688 files from Git, SVN, Bazaar, and Mercurial.
4689 (save-place-to-alist): Use it.
4690
eb864a71
LM
46912012-02-17 Lawrence Mitchell <wence@gmx.li>
4692 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * newcomment.el (uncomment-region-default): Don't leave extra space
4695 when an arg is provided (bug#8150).
4696
ee0ce425
TZ
46972012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4698
eb864a71 4699 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4700
95ddf442
GM
47012012-02-17 Glenn Morris <rgm@gnu.org>
4702
4703 * net/socks.el: Require network-stream. (Bug#10599)
4704
48dd1e39 47052012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4706
4707 * international/charprop.el:
4708 * international/uni-name.el:
4709 * international/uni-old-name.el:
4710 * international/uni-comment.el: Regenerate.
4711
d68cd087
GM
47122012-02-16 Glenn Morris <rgm@gnu.org>
4713
4714 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4715 Interactively in calendar buffer, give an error if not on a date.
4716
13932042
GM
47172012-02-15 Glenn Morris <rgm@gnu.org>
4718
4719 * shell.el (shell-delimiter-argument-list):
4720 Revert 2011-02-17 change. (Bug#8027)
4721
c3a70e2b
CY
47222012-02-15 Chong Yidong <cyd@gnu.org>
4723
60236b0d
CY
4724 * minibuffer.el (completion-at-point-functions): Doc fix.
4725
c3a70e2b
CY
4726 * custom.el (defcustom): Doc fix; note use of defvar.
4727
9f26dc24
GM
47282012-02-15 Glenn Morris <rgm@gnu.org>
4729
4730 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4731 Doc fixes.
4732
6546b134
GM
47332012-02-14 Glenn Morris <rgm@gnu.org>
4734
4735 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4736
d29b2b4c
LI
47372012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4738
4739 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4740 way the ports list is computed.
835bdcba
LI
4741 (smtpmail-query-smtp-server): Prompt the user for a port number if
4742 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4743
08dcdbc9
TZ
47442012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4745
4746 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4747
2605051a
GM
47482012-02-13 Glenn Morris <rgm@gnu.org>
4749
4750 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4751
7ee99f32
TZ
47522012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4753
4754 * net/gnutls.el (gnutls-trustfiles): New variable.
4755 (gnutls-negotiate): Use it.
4756
5f0af64f
LI
47572012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4758
4759 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4760 does its stuff if Gnus is running.
4761
c14fcc95
AM
47622012-02-13 Alan Mackenzie <acm@muc.de>
4763
4764 Fix a loop in c-set-fl-decl-start.
4765
7a71b18d 4766 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4767 c-backward-syntactic-ws actually moves backwards.
4768
142b4d90
LL
47692012-02-13 Leo Liu <sdl.web@gmail.com>
4770
4771 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4772 beginning so that all \C-o chars are removed.
4773
fa9958a6
TZ
47742012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4775
dc9924b8 4776 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4777
0bc5886a
AM
47782012-02-12 Alan Mackenzie <acm@muc.de>
4779
4780 Fix infinite loop with long macros.
4d6769e1 4781 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4782
d4bd55e7
CY
47832012-02-12 Chong Yidong <cyd@gnu.org>
4784
4785 * window.el (display-buffer): Doc fix (Bug#10785).
4786
66f3fe22
GM
47872012-02-12 Glenn Morris <rgm@gnu.org>
4788
bd7da63e
GM
4789 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4790 (x-disown-selection-internal, x-get-selection-internal):
4791 Sync docs with the xselect.c versions.
4792
66f3fe22
GM
4793 * allout-widgets.el: Add missing license notice.
4794
3e0d2fa7
GM
47952012-02-11 Glenn Morris <rgm@gnu.org>
4796
cfecdf09
GM
4797 * select.el (x-get-selection-internal, x-own-selection-internal)
4798 (x-disown-selection-internal):
4799 * x-dnd.el (x-get-selection-internal): Update declarations.
4800
6d216d7f
GM
4801 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4802
2bed3f04
GM
4803 * window.el (window-sides-slots):
4804 * tool-bar.el (tool-bar-position):
4805 * term/xterm.el (xterm-extra-capabilities):
4806 * ses.el (ses-self-reference-early-detection):
4807 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4808 (verilog-auto-wire-type)
4809 (verilog-auto-delete-trailing-whitespace)
4810 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4811 (verilog-auto-tieoff-declaration):
4812 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4813 (sql-oracle-statement-starters, sql-oracle-scan-on):
4814 * progmodes/prolog.el (prolog-align-comments-flag)
4815 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4816 (prolog-left-indent-regexp, prolog-paren-indent-p)
4817 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4818 (prolog-types, prolog-mode-specificators)
4819 (prolog-determinism-specificators, prolog-directives)
4820 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4821 (prolog-electric-dot-flag)
4822 (prolog-electric-dot-full-predicate-template)
4823 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4824 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4825 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4826 (prolog-program-switches, prolog-prompt-regexp)
4827 (prolog-debug-on-string, prolog-debug-off-string)
4828 (prolog-trace-on-string, prolog-trace-off-string)
4829 (prolog-zip-on-string, prolog-zip-off-string)
4830 (prolog-use-standard-consult-compile-method-flag)
4831 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4832 (prolog-imenu-max-lines, prolog-info-predicate-index)
4833 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4834 (prolog-char-quote-workaround):
4835 * progmodes/cc-vars.el (c-defun-tactic):
4836 * net/tramp.el (tramp-encoding-command-interactive)
4837 (tramp-local-end-of-line):
4838 * net/soap-client.el (soap-client):
4839 * net/netrc.el (netrc-file):
4840 * net/gnutls.el (gnutls):
4841 * minibuffer.el (completion-category-overrides)
4842 (completion-cycle-threshold)
4843 (completion-pcm-complete-word-inserts-delimiters):
4844 * man.el (Man-name-local-regexp):
4845 * mail/feedmail.el (feedmail-display-full-frame):
4846 * international/characters.el (glyphless-char-display-control):
4847 * eshell/em-ls.el (eshell-ls-date-format):
4848 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4849 (lisp-lambda-list-keyword-parameter-indentation)
4850 (lisp-lambda-list-keyword-parameter-alignment):
4851 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4852 * dired-x.el (dired-omit-verbose):
4853 * cus-theme.el (custom-theme-allow-multiple-selections):
4854 * calc/calc.el (calc-highlight-selections-with-faces)
4855 (calc-lu-field-reference, calc-lu-power-reference)
4856 (calc-note-threshold):
4857 * battery.el (battery-mode-line-limit):
4858 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4859 (archive-7z-update):
4860 * allout.el (allout-prefixed-keybindings)
4861 (allout-unprefixed-keybindings)
4862 (allout-inhibit-auto-fill-on-headline)
4863 (allout-flattened-numbering-abbreviation):
4864 * allout-widgets.el (allout-widgets-auto-activation)
4865 (allout-widgets-icons-dark-subdir)
4866 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4867 (allout-widgets-theme-dark-background)
4868 (allout-widgets-theme-light-background)
4869 (allout-widgets-item-image-properties-emacs)
4870 (allout-widgets-item-image-properties-xemacs)
4871 (allout-widgets-run-unit-tests-on-load)
4872 (allout-widgets-time-decoration-activity)
4873 (allout-widgets-hook-error-post-time)
4874 (allout-widgets-track-decoration):
4875 Add missing :version tags to new defcustoms and defgroups.
4876
5fec1b8e
GM
4877 * progmodes/sql.el (sql-ansi-statement-starters)
4878 (sql-oracle-statement-starters): Add custom type.
4879
3e0d2fa7
GM
4880 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4881 (prolog-system-version): Give it a type.
4882
90b671e2
EZ
48832012-02-11 Eli Zaretskii <eliz@gnu.org>
4884
4885 * term/pc-win.el (x-select-text, x-selection-owner-p)
4886 (x-own-selection-internal, x-disown-selection-internal)
4887 (x-get-selection-internal): Sync doc strings and argument lists
4888 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4889
5eac0c02
LL
48902012-02-11 Leo Liu <sdl.web@gmail.com>
4891
4892 * progmodes/python.el (python-end-of-statement): Fix infinite
4893 loop. (Bug#10788)
4894
f82cb659
GM
48952012-02-10 Glenn Morris <rgm@gnu.org>
4896
4897 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4898 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4899
cc26d239
LI
49002012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4901
4902 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4903 about SMTP before checking the From header.
4904
91027d08 4905 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4906 into own function for reuse by emacsbug.el.
4907
1be3ca5a
LL
49082012-02-10 Leo Liu <sdl.web@gmail.com>
4909
4910 * subr.el (condition-case-unless-debug): Rename from
4911 condition-case-no-debug. All callers changed.
4912 (with-demoted-errors): Fix caller.
4913
4914 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4915 * nxml/rng-valid.el (rng-do-some-validation):
4916 * emacs-lisp/package.el (package-refresh-contents)
4917 (package-menu-execute):
4918 * desktop.el (desktop-create-buffer):
91027d08 4919 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4920
b011fbfe
GM
49212012-02-10 Glenn Morris <rgm@gnu.org>
4922
b2096d72
GM
4923 * textmodes/bibtex.el:
4924 Add missing :version tags for new/changed defcustoms.
4925
b011fbfe
GM
4926 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4927
4c7e65bf
LI
49282012-02-09 Lars Ingebrigtsen <larsi@rusty>
4929
4930 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4931 (smtpmail-via-smtp): Use it, or fall back on the From address.
4932 (smtpmail-send-it): Ditto.
4933
f3934f6f
SM
49342012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4937 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4938 (byte-compile-tmp-var): New const.
4939 (byte-compile-defvar): Use it to minimize .elc size.
4940 Just use `defvar' rather than simulate it (bug#10761).
4941
a075a2c5
GM
49422012-02-09 Glenn Morris <rgm@gnu.org>
4943
cf3aa21b
GM
4944 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4945
354998cd
GM
4946 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4947 Add :version tags.
4948
dc9924b8
SM
4949 * progmodes/compile.el (compilation-error-screen-columns)
4950 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4951
dab3703d
GM
4952 * vc/log-view.el (log-view-toggle-entry-display):
4953 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4954
3f88cd72
GM
4955 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4956 (report-emacs-bug-can-use-xdg-email):
4957 (report-emacs-bug-insert-to-mailer): Doc fixes.
4958 (report-emacs-bug): Message fix.
4959
d95b247d
GM
4960 * net/browse-url.el (browse-url-can-use-xdg-open)
4961 (browse-url-xdg-open): Doc fixes.
4962
a075a2c5
GM
4963 * electric.el (electric-indent-mode, electric-pair-mode)
4964 (electric-layout-rules, electric-layout-mode): Doc fixes.
4965 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4966
ffb6157e
MR
49672012-02-08 Martin Rudalics <rudalics@gmx.at>
4968
4969 * server.el (server-unselect-display): Don't inadvertently kill
4970 the current buffer. (Bug#10729)
4971
e1ac4066
GM
49722012-02-08 Glenn Morris <rgm@gnu.org>
4973
34e8a2da
GM
4974 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4975 (sql-list-table): Doc fixes.
4976
b4ac6e8c
GM
4977 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4978 Comment out (does nothing).
4979
e1ac4066
GM
4980 * completion.el (dynamic-completion-mode):
4981 * dirtrack.el (dirtrack-debug-mode):
4982 * electric.el (electric-layout-mode):
4983 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4984 * face-remap.el (text-scale-mode, buffer-face-mode):
4985 * iimage.el (iimage-mode):
4986 * image-mode.el (image-transform-mode):
4987 * minibuffer.el (completion-in-region-mode):
4988 * scroll-lock.el (scroll-lock-mode):
4989 * simple.el (next-error-follow-minor-mode):
4990 * tar-mode.el (tar-subfile-mode):
4991 * tooltip.el (tooltip-mode):
4992 * vcursor.el (vcursor-use-vcursor-map):
4993 * wid-browse.el (widget-minor-mode):
4994 * emulation/tpu-edt.el (tpu-edt-mode):
4995 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4996 * international/iso-ascii.el (iso-ascii-mode):
4997 * language/thai-util.el (thai-word-mode):
4998 * mail/supercite.el (sc-minor-mode):
4999 * net/goto-addr.el (goto-address-mode):
5000 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5001 * progmodes/cwarn.el (cwarn-mode):
5002 * progmodes/flymake.el (flymake-mode):
5003 * progmodes/glasses.el (glasses-mode):
5004 * progmodes/hideshow.el (hs-minor-mode):
5005 * progmodes/pascal.el (pascal-outline-mode):
5006 * textmodes/enriched.el (enriched-mode):
5007 * vc/smerge-mode.el (smerge-mode):
5008 Doc fixes (minor mode argument).
5009
5e0d957f
EZ
50102012-02-07 Eli Zaretskii <eliz@gnu.org>
5011
5012 * ls-lisp.el (ls-lisp-sanitize): New function.
5013 (ls-lisp-insert-directory): Use it to fix or remove any elements
5014 in file-alist with missing attributes. (Bug#4673)
5015
98d7371e
AM
50162012-02-07 Alan Mackenzie <acm@muc.de>
5017
5018 Fix spurious recognition of c-in-knr-argdecl.
5019
5020 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5021 putative K&R region.
5022
667ced3a
AM
50232012-02-07 Alan Mackenzie <acm@muc.de>
5024
eb864a71
LM
5025 * progmodes/cc-engine.el (c-forward-objc-directive):
5026 Prevent looping in "#pragma mark @implementation".
667ced3a 5027
5b77774d
MA
50282012-02-07 Michael Albinus <michael.albinus@gmx.de>
5029
5030 * notifications.el (notifications-on-closed-signal): Make `reason'
5031 optional. (Bug#10744)
5032
af008560
GM
50332012-02-07 Glenn Morris <rgm@gnu.org>
5034
60d47423
GM
5035 * emacs-lisp/easy-mmode.el (define-minor-mode):
5036 Doc fixes for the macro and the mode it defines.
5037
dd605cc4
GM
5038 * image.el (imagemagick-types-inhibit): Doc fix.
5039
af008560
GM
5040 * cus-start.el (imagemagick-render-type): Add it.
5041
5cc59a37
LI
50422012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5043
4d6769e1
JB
5044 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5045 Set the default at load time, too, so that `font-lock-fontify-buffer'
5046 can be called without setting up the entire mode first. This fixes
5047 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5048
9a6dd747
CY
50492012-02-06 Chong Yidong <cyd@gnu.org>
5050
2d16b285
CY
5051 * simple.el (list-processes--refresh): Delete exited processes
5052 (Bug#8094).
5053
171e9b6e
CY
5054 * comint.el (comint-next-prompt): next-single-char-property-change
5055 and prev-single-char-property-change never return nil (Bug#8657).
5056
9a6dd747
CY
5057 * custom.el (defcustom): Doc fix (Bug#9711).
5058
aa4589a7
CY
50592012-02-05 Chong Yidong <cyd@gnu.org>
5060
5c2a252f
CY
5061 * cus-edit.el (custom-variable-reset-backup): Quote the value
5062 before storing it in the customized-value property (Bug#6712).
4aab9006 5063 (custom-display): Add a customization type tag.
983b9602 5064 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5065
aa4589a7
CY
5066 * wid-edit.el (widget-field-value-get): New optional arg to
5067 suppress trailing whitespace truncation.
5068 (character): Use it (Bug#2689).
5069
1ff980ae
AS
50702012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5071
5072 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5073 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5074
03988c98
CY
50752012-02-05 Chong Yidong <cyd@gnu.org>
5076
eeb6cc88
CY
5077 * cus-edit.el (custom-variable-value-create): For mismatched
5078 types, show the current value (Bug#7600).
5079
03988c98
CY
5080 * custom.el (defcustom): Doc fix.
5081
f8cdeef0
GM
50822012-02-05 Glenn Morris <rgm@gnu.org>
5083
5084 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5085
0696d255
JB
50862012-02-05 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5089 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5090 (pp-last-sexp): Use `looking-at-p'.
5091
34c99998
GM
50922012-02-04 Glenn Morris <rgm@gnu.org>
5093
8f05da42
GM
5094 * files.el (revert-buffer):
5095 Doc fix (mention revert-buffer-in-progress-p).
5096
f160676e
GM
5097 * emacs-lisp/ert-x.el (ert-simulate-command):
5098 Check deferred-action-list (which is obsolete) is bound.
5099
c7291ad9
GM
5100 * subr.el (with-wrapper-hook): Doc fixes.
5101
34c99998
GM
5102 * simple.el (filter-buffer-substring-functions)
5103 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5104
6283a7d3
LL
51052012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5106
5107 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5108 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5109
e96e3013
LL
51102012-02-04 Leo Liu <sdl.web@gmail.com>
5111
5112 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5113
8ded50f2
GM
51142012-02-04 Glenn Morris <rgm@gnu.org>
5115
82ff1d13
GM
5116 * image.el (image-extension-data): Add obsolete alias.
5117
987a0a16
GM
5118 * isearch.el (isearch-update): Doc fix.
5119
ea32ef46
GM
5120 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5121
8ded50f2
GM
5122 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5123
eea14f31
GM
51242012-02-03 Glenn Morris <rgm@gnu.org>
5125
5126 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5127 (image-animate-timeout): Doc fix.
5128
5129 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5130
12f381b7
GM
51312012-02-02 Glenn Morris <rgm@gnu.org>
5132
953cebf5
GM
5133 * server.el (server-auth-dir): Doc fix.
5134 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5135
12f381b7
GM
5136 * subr.el (run-mode-hooks): Doc fix.
5137
953a8c3b
JL
51382012-02-02 Juri Linkov <juri@jurta.org>
5139
5140 * image-mode.el (image-toggle-display-image): Remove tautological
5141 `major-mode' from the `derived-mode-p' test.
5142
c5d3843c
KH
51432012-02-02 Kenichi Handa <handa@m17n.org>
5144
9f6e692e 5145 * composite.el (compose-region): Cancel previous change.
c5d3843c 5146
159462d4 51472012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5148
5149 * composite.el (compose-region, compose-string): Signal error for
5150 a null string component (Bug#6988).
5151
9f562668
CY
51522012-02-01 Chong Yidong <cyd@gnu.org>
5153
e2cef717
CY
5154 * view.el (view-buffer-other-window, view-buffer-other-frame):
5155 Handle special modes like view-buffer (Bug#10650).
5156 (view-buffer): Simplify.
5157
9f562668
CY
5158 * frame.el (set-frame-font): Tweak meaning of third argument.
5159
9f6e692e
JB
5160 * dynamic-setting.el (font-setting-change-default-font):
5161 Use set-frame-font (Bug#9982).
9f562668 5162
781acb9f
GM
51632012-02-01 Glenn Morris <rgm@gnu.org>
5164
6035be52
GM
5165 * progmodes/compile.el (compilation-internal-error-properties):
5166 Respect compilation-first-column in the "*compilation*" buffer.
5167
781acb9f
GM
5168 * emacs-lisp/easy-mmode.el (define-minor-mode):
5169 Relax :variable's test for a named function.
5170
abbceb00
AM
51712012-01-31 Alan Mackenzie <acm@muc.de>
5172
5173 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5174 off by one error.
5175
fce3fdeb
CY
51762012-01-31 Chong Yidong <cyd@gnu.org>
5177
5178 * frame.el (set-frame-font): New arg ALL-FRAMES.
5179
5180 * menu-bar.el (menu-set-font): Use set-frame-font.
5181
5182 * faces.el (face-spec-reset-face): Don't apply unspecified
5183 attribute values to the default face.
5184
47893581
JB
51852012-01-31 Juanma Barranquero <lekktu@gmail.com>
5186
5187 * progmodes/cwarn.el (cwarn): Remove dead link.
5188 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5189 Remove * from defcustom docstrings.
5190 (turn-on-cwarn-mode): Make obsolete.
5191 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5192 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5193
e58e988a
GM
51942012-01-31 Glenn Morris <rgm@gnu.org>
5195
60dc2671 5196 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5197 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5198 Allow named functions to be used as the cdr of :variable.
e58e988a 5199
7a3f511d
GM
52002012-01-30 Glenn Morris <rgm@gnu.org>
5201
5202 * emacs-lisp/authors.el (authors-fixed-entries):
5203 Remove reference to deleted file rnewspost.el.
5204
cb882333
JB
52052012-01-29 Juanma Barranquero <lekktu@gmail.com>
5206
5207 * window.el (window-with-parameter): Remove unused variable `windows'.
5208 (window--side-check): Remove unused variable `code'.
5209 (window--resize-siblings): Remove unused variable `first'.
5210 (adjust-window-trailing-edge): Remove unused variable `failed'.
5211 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5212 Use `let', not `let*'.
5213 (balance-windows-2): Remove unused variable `found'.
5214 (window--state-put-2): Remove unused variable `splits'.
5215 (window-state-put): Remove unused variable `selected'.
5216 (same-window-p): Use `string-match-p'.
5217 (display-buffer-assq-regexp): Remove unused variable `value'.
5218 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5219 Mark argument ALIST as ignored.
5220 (pop-to-buffer): Remove unused variable `old-window'.
5221
907201af
EZ
52222012-01-29 Eli Zaretskii <eliz@gnu.org>
5223
5224 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5225 and .lzma compressed files.
5226
ea162670
CY
52272012-01-29 Chong Yidong <cyd@gnu.org>
5228
5b95ee8a
CY
5229 * frame.el (window-system-default-frame-alist): Doc fix.
5230
ea162670
CY
5231 * dynamic-setting.el (font-setting-change-default-font): Don't
5232 change the default face if SET-FONT argument is non-nil (Bug#9982).
5233
d6e6f4b1
SB
52342012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5235
5236 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5237
0f29fa41 52382012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5239
5240 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5241 breakpoints in files outside current directory (Bug#6098).
5242
db174434
CY
52432012-01-29 Chong Yidong <cyd@gnu.org>
5244
6b25e4e2
SE
5245 * progmodes/python.el: Require ansi-color at top-level.
5246
6df6ae42
JB
5247 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5248 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5249 (lisp-mode-abbrev-table): Add doc.
5250 (lisp-mode-variables): Don't set local-abbrev-table.
5251 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5252
e70ee681
RW
52532012-01-28 Roland Winkler <winkler@gnu.org>
5254
5255 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5256
ace88aa2
RW
52572012-01-28 Roland Winkler <winkler@gnu.org>
5258
5259 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5260 (bibtex-set-dialect): Use it. Either set global values of
5261 dialect-dependent variables or bind these variables buffer-locally
5262 (Bug#10254).
5263 (bibtex-mode): Call bibtex-set-dialect via
5264 hack-local-variables-hook.
eb864a71
LM
5265 (bibtex-dialect): Update docstring.
5266 Add safe-local-variable predicate.
ace88aa2
RW
5267 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5268 bibtex-set-dialect.
5269 (bibtex-mode-map): Define menu for each dialect.
5270 (bibtex-entry): Fix docstring.
5271
93376c5b
CY
52722012-01-28 Chong Yidong <cyd@gnu.org>
5273
5274 * eshell/esh-arg.el (eshell-quote-argument): New function.
5275
5276 * eshell/esh-ext.el (eshell-invoke-batch-file):
5277 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5278 first arg to eshell-parse-command (Bug#10523).
5279
4372494f
DA
52802012-01-28 Drew Adams <drew.adams@oracle.com>
5281
5282 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5283 `default-directory' is non-nil.
5284
4d4ec1f8
EZ
52852012-01-28 Eli Zaretskii <eliz@gnu.org>
5286
5287 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5288 line that displays system-configuration-options. (Bug#9924)
5289
7c188927
DA
52902012-01-28 Drew Adams <drew.adams@oracle.com>
5291
5292 * descr-text.el (describe-char): Show information about POS, in
5293 addition to information about the character at POS. Improve and
5294 update the doc string. Change "code point" to "code point in
5295 charset", to avoid confusion with the character's Unicode code
5296 point shown above that. (Bug#10129)
5297
e0da685a
EZ
52982012-01-28 Eli Zaretskii <eliz@gnu.org>
5299
5300 * descr-text.el (describe-char): Show the raw character, not only
5301 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5302 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5303 for the reasons.
5304
70550acf
PH
53052012-01-28 Phil Hagelberg <phil@hagelb.org>
5306
eb864a71
LM
5307 * emacs-lisp/package.el (package-install):
5308 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5309
0ce8e868
CY
53102012-01-28 Chong Yidong <cyd@gnu.org>
5311
cb882333
JB
5312 * emacs-lisp/package.el (package-maybe-load-descriptor):
5313 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5314 (package-maybe-load-descriptor): Use it.
5315 (package-download-transaction): Fully load required packages
5316 inside the loop, so that `require' calls work (Bug#10593).
5317 (package-install): No need to call package-initialize now.
5318
2e7f3bea
CY
53192012-01-28 Chong Yidong <cyd@gnu.org>
5320
6e9bad14
CY
5321 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5322
f823b8ca
CY
5323 * tooltip.el (tooltip-mode): Doc fix.
5324 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5325
2680c309
CY
5326 * frame.el (set-cursor-color): Doc fix (Bug#352).
5327
d7a9e63b
CY
5328 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5329 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5330
2e7f3bea
CY
5331 * cus-edit.el (custom-buffer-create-internal): Fix search button
5332 action (Bug#10542).
2ae01800 5333 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5334
fc4f7a23
EW
53352012-01-27 Eduard Wiebe <usenet@pusto.de>
5336
5337 * dired.el (dired-mark-files-regexp):
5338 Include any subdirectory components. (Bug#10445)
5339
7dd37071
ML
53402012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5341
5342 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5343 Handle [host]:port syntax. (Bug#10533)
5344
a268160b
AH
53452012-01-27 Alex Harsanyi <harsanyi@mac.com>
5346
5347 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5348
e43273ef
GM
53492012-01-26 Glenn Morris <rgm@gnu.org>
5350
5351 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5352 * term.el (term-raw-escape-map): Use Control-X-prefix.
5353 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5354
1edf595d
MR
53552012-01-25 Martin Rudalics <rudalics@gmx.at>
5356
5357 * window.el (window-state-get, window--state-get-1): Don't deal
5358 with fixed-sizeness of windows. Simplify code.
5359
fa8eafef
JC
53602012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5361
6df6ae42
JB
5362 * window.el (window--state-get-1, window--state-put-2):
5363 Don't save and restore the mark.
fa8eafef 5364
0b21c100
CY
53652012-01-25 Chong Yidong <cyd@gnu.org>
5366
5367 * custom.el (custom-variable-p): Doc fix.
5368
5ae1a6c8
GM
53692012-01-25 Glenn Morris <rgm@gnu.org>
5370
40047858
GM
5371 * dired.el (dired-goto-file): Handle some of the more common
5372 characters that `ls -b' escapes. (Bug#10596)
5373
5ddce96c
GM
5374 * progmodes/compile.el (compilation-next-error-function):
5375 Respect compilation-first-column in the "*compilation*" buffer.
5376 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5377
5ae1a6c8
GM
5378 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5379
b559f1a9
GM
53802012-01-24 Glenn Morris <rgm@gnu.org>
5381
5382 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5383
6725d21a
JD
53842012-01-24 Julien Danjou <julien@danjou.info>
5385
5386 * color.el (color-rgb-to-hsl): Fix value computing.
5387 (color-hue-to-rgb): New function.
5388 (color-hsl-to-rgb): New function.
5389 (color-clamp, color-saturate-hsl, color-saturate-name)
5390 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5391 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5392
70df4bbe
GM
53932012-01-24 Glenn Morris <rgm@gnu.org>
5394
5395 * vc/vc-rcs.el (vc-rcs-create-tag):
5396 * vc/vc-sccs.el (vc-sccs-create-tag):
5397 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5398
802a2ae2
ML
53992012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5400
5401 * eshell/esh-util.el (eshell-read-hosts-file):
5402 Skip comment lines. (Bug#10549)
5403
d7128bb1
ML
5404 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5405
d1a5c3b4
JB
54062012-01-23 Juanma Barranquero <lekktu@gmail.com>
5407
2724d9c7
JB
5408 * subr.el (display-delayed-warnings): Doc fix.
5409 (collapse-delayed-warnings): New function to collapse identical
5410 adjacent warnings.
5411 (delayed-warnings-hook): Add it.
d1a5c3b4 5412
a5509865
MA
54132012-01-22 Michael Albinus <michael.albinus@gmx.de>
5414
5415 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5416
a5509865
MA
5417 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5418 (tramp-default-user-alist): Don't add "pscp".
5419 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5420 property "login-as", if set. (Bug#10530)
5421
cc6d5805
MA
54222012-01-21 Michael Albinus <michael.albinus@gmx.de>
5423
5424 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5425 "plink1" and "psftp". (Bug#10530)
5426
54272012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5428
5429 * international/mule-cmds.el (prefer-coding-system): Show a
5430 warning message if the default value of file-name-coding-system
5431 was not changed.
5432
f0960428
JC
54332012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5434
cb882333
JB
5435 * windmove.el (windmove-reference-loc):
5436 Fix windmove-reference-loc miscalculation.
f0960428 5437
dd6f2a63
JB
54382012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5439
5440 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5441 default unit.
5442
7b447e9b
GM
54432012-01-21 Glenn Morris <rgm@gnu.org>
5444
117a9ea1
GM
5445 * international/mule.el (auto-coding-alist): Add .tbz.
5446
7b447e9b
GM
5447 * files.el (local-enable-local-variables): Doc fix.
5448 (inhibit-local-variables-regexps): Rename from
5449 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5450 Doc fix. Add some extensions from auto-coding-alist.
5451 (inhibit-local-variables-suffixes):
5452 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5453 (inhibit-local-variables-p):
5454 New function, extracted from set-auto-mode-1.
5455 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5456 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5457 (hack-local-variables): Doc fix. Make the mode-only case
5458 respect enable-local-variables and friends.
5459 Respect inhibit-local-variables-regexps for file-locals, but
5460 not for directory-locals.
5461 (set-visited-file-name):
5462 Take account of inhibit-local-variables-regexps.
5463 Whether it applies may change as the file name is changed.
5464 * jka-cmpr-hook.el (jka-compr-install):
5465 * jka-compr.el (jka-compr-uninstall):
5466 Update for inhibit-first-line-modes-suffixes name change.
5467
dd6e3cdd
MR
54682012-01-20 Martin Rudalics <rudalics@gmx.at>
5469
5470 * help-macro.el (make-help-screen): Temporarily restore original
5471 binding for minor-mode-map-alist (Bug#10454).
5472
0d0deb38
JD
54732012-01-19 Julien Danjou <julien@danjou.info>
5474
5475 * color.el (color-name-to-rgb): Use the white color to find the max
5476 color component value and return correctly computed values.
5477 (color-name-to-rgb): Add missing float conversion for max value.
5478
34a02f46
MR
54792012-01-19 Martin Rudalics <rudalics@gmx.at>
5480
5481 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5482 special state value for window-persistent-parameters.
5483 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5484 (window--state-put-2): Reset all window parameters to nil before
5485 assigning values of persistent parameters.
5486
606c44c4
AM
54872012-01-18 Alan Mackenzie <acm@muc.de>
5488
5489 Eliminate sluggishness and hangs in fontification of "semicolon
5490 deserts".
5491
cb882333
JB
5492 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5493 Change value 10000 -> 3000.
606c44c4
AM
5494 (c-state-safe-place): Reformulate so it doesn't stack up an
5495 infinite number of wrong entries in c-state-nonlit-pos-cache.
5496 (c-determine-limit-get-base, c-determine-limit): New functions to
5497 determine backward search limits disregarding literals.
5498 (c-find-decl-spots): Amend commenting.
5499 (c-cheap-inside-bracelist-p): New function which detects "={".
5500
5501 * progmodes/cc-fonts.el
5502 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5503 backward search.
5504 (c-font-lock-declarations): Fix an occurrence of point being
5505 undefined. Check additionally for point being in a bracelist or
5506 near a macro invocation without a semicolon so as to avoid a
5507 fruitless time consuming search for a declarator. Give a more
5508 precise search limit for declarators using the new
5509 c-determine-limit.
5510
f3860cea
GM
55112012-01-18 Glenn Morris <rgm@gnu.org>
5512
5513 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5514 (set-auto-mode): Doc fixes.
5515
1db03b16
GM
55162012-01-17 Glenn Morris <rgm@gnu.org>
5517
0e6038be
GM
5518 * isearch.el (search-nonincremental-instead): Fix doc typo.
5519
1db03b16
GM
5520 * dired.el (dired-insert-directory): Handle newlines in directory name.
5521 (dired-build-subdir-alist): Unescape newlines in directory name.
5522
4cb0aa75
MA
55232012-01-17 Michael Albinus <michael.albinus@gmx.de>
5524
5525 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5526 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5527 (tramp-action-terminal): Use it. (Bug#10530)
5528
1d00653d
SM
55292012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5532
6a6ee00d
MR
55332012-01-16 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (window-state-ignored-parameters): Remove variable.
5536 (window--state-get-1): Rename argument MARKERS to IGNORE.
5537 Handle persistent window parameters. Make copy of clone-of
5538 parameter only if requested. (Bug#10348)
5539 (window--state-put-2): Install a window parameter only if it has
5540 a non-nil value or an existing parameter shall be overwritten.
5541
97912def
MA
55422012-01-15 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5545
688070a5
EZ
55462012-01-14 Eli Zaretskii <eliz@gnu.org>
5547
5548 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5549 don't pass the (nil) value of `upnode' to string-match.
5550
301afadc
CY
55512012-01-14 Chong Yidong <cyd@gnu.org>
5552
5553 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5554 Fix values recognized by the cursorBlink resource.
301afadc 5555
9e5788aa
PE
55562012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5557
5558 * epg.el (epg--make-temp-file): Avoid permission race condition
5559 when running on old Emacs versions (bug#10403).
5560
3cdb7f5a
GM
55612012-01-14 Glenn Morris <rgm@gnu.org>
5562
5563 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5564
8c82b1b4
AM
55652012-01-13 Alan Mackenzie <acm@muc.de>
5566
5567 Fix filling for when filladapt mode is enabled.
5568
5569 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5570 c-mask-paragraph, pass in `fill-paragraph' rather than
5571 `fill-region-as-paragraph'. (This is a reversion of a previous
5572 change.)
eb864a71
LM
5573 * progmodes/cc-mode.el (c-basic-common-init):
5574 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5575
e517eda4
GM
55762012-01-13 Glenn Morris <rgm@gnu.org>
5577
1498536e
GM
5578 * dired.el (dired-switches-escape-p): New function.
5579 (dired-insert-directory): Use dired-switches-escape-p.
5580 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5581
e517eda4
GM
5582 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5583
328f984d
GM
55842012-01-12 Glenn Morris <rgm@gnu.org>
5585
5586 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5587 changes in adaptive-fill-regexp. (Bug#10276)
5588
2cc769a8
AM
55892012-01-11 Alan Mackenzie <acm@muc.de>
5590
5591 Fix Emacs bug #10463 - put `widen's around the critical spots.
5592
1d00653d 5593 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5594 widen around each invocation of c-state-pp-to-literal. Remove an
5595 unused let variable.
5596
e52c37fa
GM
55972012-01-11 Glenn Morris <rgm@gnu.org>
5598
5599 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5600 Doc fix.
e52c37fa 5601
96f8741e
CY
56022012-01-10 Chong Yidong <cyd@gnu.org>
5603
1d00653d
SM
5604 * net/network-stream.el (network-stream-open-starttls):
5605 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5606 response to the capability command.
5607
b09a806e
GM
56082012-01-10 Glenn Morris <rgm@gnu.org>
5609
5610 * mail/unrmail.el (unrmail): Tweak previous change.
5611
7655cb66
CY
56122012-01-09 Chong Yidong <cyd@gnu.org>
5613
5614 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5615
9d5a8f0b
AM
56162012-01-08 Alan Mackenzie <acm@muc.de>
5617
5618 Optimise font locking in long enum definitions.
5619
5620 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5621 arm to a cond form to handle enums.
5622 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5623 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5624
9a0115ab 56252012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5626
5627 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5628 (Bug#10401)
6bb72cbd 5629
f186bb95
LMI
56302012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5631
29232a68
LMI
5632 * faces.el (set-face-attribute): Clarify the meaning of the nil
5633 frame (bug#10294).
5634
4e5d086d
LMI
5635 * subr.el (with-selected-frame): Mention that the selected frame
5636 is restored (bug#9980).
5637
8e66aebe
LMI
5638 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5639 (bug#9759).
5640
cd394be1 5641 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5642 (password-read): Don't autoload unused function.
5643
adf4e762
JB
56442012-01-07 Juanma Barranquero <lekktu@gmail.com>
5645
5646 * progmodes/which-func.el (which-func-mode): Turn into a
5647 non-interactive function and mark as obsolete (bug#10428).
5648
89bd9ccd
CY
56492012-01-06 Chong Yidong <cyd@gnu.org>
5650
5651 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5652 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5653 functions, along with 1 and -1.
5654
4afee9d5
EZ
56552012-01-06 Eli Zaretskii <eliz@gnu.org>
5656
5657 * time.el (display-time-load-average)
5658 (display-time-default-load-average): Doc fixes. See the thread
5659 starting at
5660 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5661 for the details.
5662
536aea70
GM
56632012-01-06 Glenn Morris <rgm@gnu.org>
5664
665ae865
GM
5665 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5666 has no messages. (Bug#10377)
5667
c869783d
GM
5668 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5669 than Info-edit. (Bug#10385)
5670
2bb4227e
GM
5671 * time.el (display-time-load-average, display-time-next-load-average):
5672 Doc fixes.
5673
7d5944b9
GM
5674 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5675 local setting of buffer-read-only to the input buffer. (Bug#10419)
5676
536aea70
GM
5677 * calendar/calendar.el (calendar-mode):
5678 Locally set scroll-margin to 0. (Bug#10379)
5679
7dccca16
UM
56802012-01-06 Ulrich Mueller <ulm@gentoo.org>
5681
5682 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5683
afbb7930
GM
56842012-01-05 Glenn Morris <rgm@gnu.org>
5685
5686 * eshell/em-unix.el (diff-no-select): Autoload it.
5687 (eshell/diff): Use diff-no-select. (Bug#10420)
5688
04482335
CY
56892012-01-05 Chong Yidong <cyd@gnu.org>
5690
7baca3bc
CY
5691 * shell.el (shell-dynamic-complete-functions): Revert last change.
5692 (shell-command-completion-function): New function.
5693 (shell-completion-vars): Use it to implement
5694 shell-completion-execonly (Bug#10417).
5695
04482335
CY
5696 * custom.el (enable-theme): Don't set custom-safe-themes.
5697
1d00653d
SM
5698 * cus-theme.el (custom-theme-merge-theme):
5699 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5700
bb5aa5d6
MM
57012012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5702
5703 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5704 first prompt in `sql-interacive-mode'.
5705 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5706 keywords.
6df6ae42 5707 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5708 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5709 context of original buffer. Invoke `sql-login-hook'.
5710
a7183d7c
EZ
57112012-01-04 Eli Zaretskii <eliz@gnu.org>
5712
5713 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5714 letters in cite-prefix.
5715
a1eacd1e
LMI
57162012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5717
5718 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5719
787cdb34
CY
57202012-01-03 Chong Yidong <cyd@gnu.org>
5721
1d00653d
SM
5722 * shell.el (shell-dynamic-complete-functions):
5723 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5724 comint-filename-completion first (Bug#10417).
5725
30710442
RS
57262012-01-02 Richard Stallman <rms@gnu.org>
5727
5728 * battery.el (battery-status-function):
5729 Detect when to use battery-yeeloong-sysfs.
5730 (battery-echo-area-format): Add string for Yeeloong.
5731 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5732 (battery-yeeloong-sysfs): New function.
5733
f75bfc33
CY
57342012-01-02 Chong Yidong <cyd@gnu.org>
5735
5736 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5737 (dirtrack): Merge code for handling relative filenames in prompt
5738 from shell-dir-cookie-watcher.
5739 (dirtrack-debug-message): New arg to avoid excess format calls.
5740
5741 * shell.el (shell-dir-cookie-re): Variable deleted.
5742 (shell-dir-cookie-watcher): Function deleted.
5743 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5744 with dirtrack-mode.
5745
651e947e
EZ
57462012-01-01 Eli Zaretskii <eliz@gnu.org>
5747
1d00653d
SM
5748 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5749 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5750 libgnutls-26.dll.
5751
94d4c7dc
AS
57522011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5753
5754 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5755
8d43f3cd
EZ
57562011-12-31 Eli Zaretskii <eliz@gnu.org>
5757
5758 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5759 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5760
98c8795a
MA
57612011-12-29 Michael Albinus <michael.albinus@gmx.de>
5762
5763 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5764 also for alternative shells.
5765 (tramp-open-connection-setup-interactive-shell): Check, whether
5766 the shell is a busybox.
5767 (tramp-send-command): Don't suppress multiple prompts for
5768 busyboxes, it hurts.
5769
51281b32
CY
57702011-12-28 Chong Yidong <cyd@gnu.org>
5771
5772 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5773 (gdb-get-source-file): Move mode line update to
5774 gdb-get-source-file (Bug#10087).
5775
2170cb53
CY
57762011-12-25 Chong Yidong <cyd@gnu.org>
5777
5778 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5779 gud-gdb-marker-filter without taking it as an argument.
5780 (gud-gdb-run-command-fetch-lines): Caller changed.
5781 (gud-gdb-completion-function): New variable.
5782 (gud-gdb-completion-at-point): Use it.
5783 (gud-gdb-completions-1): Split from gud-gdb-completions.
5784
5785 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5786 function as separate arguments.
5787 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5788 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5789 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5790 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5791 (gdb-stopped, def-gdb-auto-update-trigger)
5792 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5793 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5794 Callers changed.
2170cb53
CY
5795 (gud-gdbmi-completions): New function.
5796 (gdb): Use it for generating the completion table.
5797
be8b11bb
AM
57982011-12-24 Alan Mackenzie <acm@muc.de>
5799
5800 Introduce a mechanism to widen the region used in context font
1d00653d 5801 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5802
1d00653d
SM
5803 * progmodes/cc-langs.el (c-before-font-lock-functions):
5804 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5805 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5806 functions to be run just before context (etc.) font locking.
5807
5808 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5809 New, functionality extracted from
be8b11bb 5810 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5811 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5812 (c-after-change): Set c-in-after-change-fontification.
5813 (c-set-fl-decl-start): Rejig its interface, so it can be called
5814 from both after-change and context fontifying.
b81d40f0
JB
5815 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5816 New functions.
5817 (c-standard-font-lock-fontify-region-function): New variable.
5818 (c-font-lock-fontify-region): New function.
be8b11bb 5819
341cf6ac
JL
58202011-12-24 Juri Linkov <juri@jurta.org>
5821
5822 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5823 (Bug#10348)
5824
bffcee0a
MA
58252011-12-23 Michael Albinus <michael.albinus@gmx.de>
5826
5827 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5828 existence of source file. (Bug#10325)
5829
cb5e207c
AM
58302011-12-23 Alan Mackenzie <acm@muc.de>
5831
5832 Fix unstable fontification inside templates.
5833
b81d40f0
JB
5834 * progmodes/cc-langs.el (c-before-font-lock-functions):
5835 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5836 additionally has c-set-fl-decl-start. The other languages (apart
5837 from AWK) have that as a single entry.
5838
b81d40f0
JB
5839 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5840 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5841 c-set-fl-decl-start.
5842
b81d40f0
JB
5843 * progmodes/cc-mode.el (c-common-init, c-after-change):
5844 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5845 (c-set-fl-decl-start): New function, extracted from
5846 c-font-lock-enclosing-decls and enhanced.
5847
60ff536c
JB
58482011-12-23 Juanma Barranquero <lekktu@gmail.com>
5849
5850 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5851
1c4757d6
JL
58522011-12-22 Juri Linkov <juri@jurta.org>
5853
5854 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5855
d031f2c7
CY
58562011-12-22 Chong Yidong <cyd@gnu.org>
5857
5858 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5859
bace743a
DA
58602011-12-21 Drew Adams <drew.adams@oracle.com>
5861
5862 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5863
728a1f2b
JC
58642011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5865
5866 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5867
0d373f73
TZ
58682011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5869
fec0aaa4
TZ
5870 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5871 highlighting and support. Fix up comments for capitalization.
5872 (cfengine-mode-debug): New var.
5873 (cfengine3-mode): Change the modeline indicator to "CFE3".
5874 (cfengine3-font-lock-keywords): Improve defun highlighting.
5875 (cfengine2-actions): Rename from `cfengine-actions'.
5876 (cfengine2-font-lock-keywords): Rename from
5877 `cfengine-font-lock-keywords'.
5878 (cfengine2-imenu-expression): Rename from
5879 `cfengine-imenu-expression'.
5880 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5881 (cfengine2-beginning-of-defun): Rename from
5882 `cfengine-beginning-of-defun'.
5883 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5884 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5885 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5886 modeline indicator to "CFE2".
5887 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5888 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5889
bc86f573
CY
58902011-12-21 Chong Yidong <cyd@gnu.org>
5891
5892 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5893 filename argument.
5894
d45ba96b
MR
58952011-12-20 Martin Rudalics <rudalics@gmx.at>
5896
5897 * window.el (window-normalize-buffer-to-display): Remove.
5898 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5899
a6198c90
CY
59002011-12-19 Chong Yidong <cyd@gnu.org>
5901
5902 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5903 Don't signal an error in a predicate function; return non-nil.
5904 (vc-dir-mark-file): Move the error here.
5905 (vc-dir-mark-unmark): If acting on the region, keep going if one
5906 of the entries cannot be marked/unmarked.
5907 (vc-dir-mark-all-files): If current entry is a directory, mark
5908 only child files, as documented.
5909
34c5fb55
VB
59102011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5911
5912 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5913 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5914 addition.
5915
c803b2b7
JD
59162011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5917
5918 * term/ns-win.el (ns-get-selection-internal)
5919 (ns-store-selection-internal): Declare.
1154d12e
JB
5920 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5921 Declare as obsolete.
5922 (ns-get-pasteboard, ns-paste-secondary):
5923 Use ns-get-selection-internal.
5924 (ns-set-pasteboard, ns-copy-including-secondary):
5925 Use ns-store-selection-internal.
c803b2b7 5926
9cff91f8 59272011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5928
5929 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5930 (vc-deduce-fileset): Doc fix.
99a289d9 5931
f16c898a
AS
59322011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5933
5934 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5935
763237c4
SS
59362011-12-13 Sam Steingold <sds@gnu.org>
5937
5938 * man.el (Man-getpage-in-background): When running under a
5939 window-system, ignore $MANWIDTH and $COLUMNS.
5940
5fc1c122
KH
59412011-12-15 Kenichi Handa <handa@m17n.org>
5942
5943 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5944 (setup-ethiopic-environment-internal): Comment out key-binding for
5945 ethio-toggle-punctuation.
5946
13d49cbb
AM
59472011-12-13 Alan Mackenzie <acm@muc.de>
5948
898169a2
AM
5949 Add the switch statement to AWK Mode.
5950
7a71b18d 5951 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5952 "default" to the keywords regexp.
5953
7a71b18d 5954 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5955 expression as the rest.
1d00653d
SM
5956 (c-nonlabel-token-key): Allow string literals for AWK.
5957 Refactor for the other modes.
898169a2 5958
13d49cbb 5959 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5960 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5961 routines. Limit backward searching in c-font-lock-enclosing.decl.
5962
5963 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5964 pp-state and literal type in addition to the limits.
1d00653d 5965 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5966 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5967 (c-slow-in-literal, c-fast-in-literal): Remove.
5968 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5969
5970 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5971 being in a literal. Add a limit for backward searching.
5972
5973 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5974 c-slow-in-literal.
5975
15e0efc7
SM
59762011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5979
454592a6
MR
59802011-12-13 Martin Rudalics <rudalics@gmx.at>
5981
5982 * window.el (delete-other-windows): Use correct frame in call to
5983 window-with-parameter.
5984
87393f26
DP
59852011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5986
5987 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5988 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5989 (makefile-gmake-statements, makefile-makepp-statements):
5990 Use it and add new makepp keywords.
5991 (makefile-makepp-font-lock-keywords): Add new patterns.
5992 (makefile-match-function-end): Match new [...] and [[...]].
5993
11636b22
JB
59942011-12-11 Juanma Barranquero <lekktu@gmail.com>
5995
5996 * ses.el (ses-call-printer-return, ses-cell-property-get)
5997 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5998 (ses-create-cell-variable, ses-reset-header-string)
5999 (ses-cell-set-formula, ses-repair-cell-reference-all)
6000 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6001 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6002 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6003 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6004 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6005 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6006 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6007 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6008 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6009 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6010 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6011 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6012
cf018193
VB
60132011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6014
6015 * ses.el: The overall change is to add cell renaming, that is
6016 setting fancy names for cell symbols other than name matching
6017 "\\`[A-Z]+[0-9]+\\'" regexp .
6018 (ses-create-cell-variable): New defun.
6019 (ses-relocate-formula): Relocate formulas only for cells the
6020 symbols of which are not renamed, i.e. symbols whose names do not
6021 match regexp "\\`[A-Z]+[0-9]+\\'".
6022 (ses-relocate-all): Relocate values only for cells the symbols of
6023 which are not renamed.
6024 (ses-load): Create cells variables as the (ses-cell ...) are read,
6025 in order to check row col consistency with cell symbol name only
6026 for cells that are not renamed.
6027 (ses-replace-name-in-formula): New defun.
6028 (ses-rename-cell): New defun.
6029
ee957461
CY
60302011-12-11 Chong Yidong <cyd@gnu.org>
6031
6032 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6033 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6034
9a9e9ef0
MR
60352011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6036
6037 * window.el (other-window): Fix docstring.
6038
92a8eba5
EZ
60392011-12-10 Eli Zaretskii <eliz@gnu.org>
6040
6041 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6042 `from' or `to' address before taking its substring.
6043 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6044 encoded name is chopped in the middle of the encoded string, and
6045 thus displayed encoded.
6046
e152e577
JB
60472011-12-10 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6050
e5d84bfe
EZ
60512011-12-10 Eli Zaretskii <eliz@gnu.org>
6052
6053 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6054 to use texinfo-update-node and commands that call it if the
6055 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6056 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6057 (texinfo-all-menus-update, texinfo-master-menu)
6058 (texinfo-update-node, texinfo-every-node-update)
6059 (texinfo-multiple-files-update): Doc fix. Warn against updating
6060 all the @node lines.
6061 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6062 argument is numeric. Explain better in the doc string what the
6063 function really does.
6064 (texinfo-insert-master-menu-list): Improve the error message
6065 displayed if there's no menu in the Top node.
6066 (Bug#2975) See also this thread:
e5d84bfe
EZ
6067 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6068
1d84e9bb
MG
60692011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6070
6071 * speedbar.el (speedbar-supported-extension-expressions):
6072 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6073
382c953b
JB
60742011-12-09 Juanma Barranquero <lekktu@gmail.com>
6075
6076 * printing.el (pr-mode-alist):
6077 * simple.el (filter-buffer-substring-functions)
6078 (completion-list-insert-choice-function):
6079 * window.el (window-with-parameter, window-atom-root)
6080 (window-sides-slots, window-size-fixed, window-min-delta)
6081 (window-max-delta, window--resize-mini-window)
6082 (window--resize-child-windows-normal, window-tree)
6083 (delete-other-windows, quit-window, split-window)
6084 (display-buffer-record-window, special-display-buffer-names)
6085 (special-display-regexps, special-display-popup-frame)
6086 (same-window-p, split-window-sensibly)
6087 (display-buffer-overriding-action, display-buffer-alist)
6088 (display-buffer-base-action, display-buffer, switch-to-buffer)
6089 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6090 (fit-window-to-buffer, recenter-positions)
6091 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6092 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6093 and remove unneeded backslashes in docstrings.
6094
39c9faef
SM
60952011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6096
98449af8
SM
6097 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6098
39c9faef
SM
6099 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6100 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6101 end in ".mk".
6102 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6103 when reading the makefile (bug#10116).
6104
86ed9fdc
SM
61052011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6108 (bug#10116).
6109
5580f89d
GM
61102011-12-06 Glenn Morris <rgm@gnu.org>
6111
6112 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6113
28d3917c
CY
61142011-12-06 Chong Yidong <cyd@gnu.org>
6115
6116 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6117
a98edce9
JB
61182011-12-06 Juanma Barranquero <lekktu@gmail.com>
6119
6120 * textmodes/table.el (table-shorten-cell): Fix typo.
6121
e65adfac
CG
61222011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6123
6124 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6125
71cc0b74
EZ
61262011-12-05 Eli Zaretskii <eliz@gnu.org>
6127
6128 * descr-text.el (describe-char): Fix display of strong
6129 right-to-left characters and directional embeddings and overrides.
6130
6131 * simple.el (what-cursor-position): Fix display of codepoints of
6132 strong right-to-left characters.
6133
315bc30d
CY
61342011-12-05 Chong Yidong <cyd@gnu.org>
6135
6136 * faces.el (read-color): Doc fix.
6137
58a70b94
GM
61382011-12-05 Glenn Morris <rgm@gnu.org>
6139
6140 * align.el (align--set-marker): Add doc-string.
6141 Don't try to move something that is not a marker. (Bug#10216)
6142
5158face
GM
61432011-12-04 Glenn Morris <rgm@gnu.org>
6144
6145 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6146 overly zealous deletion of trailing whitespace.
6147
520fca41
JB
61482011-12-04 Juanma Barranquero <lekktu@gmail.com>
6149
6150 * server.el (server-delete-client): On Windows, do not try to delete
6151 the only terminal.
6152 (server-process-filter): On Windows, treat requests for a tty frame as
6153 if they were for a GUI frame if the running server is in GUI mode.
6154
5e605a2e
GM
61552011-12-03 Glenn Morris <rgm@gnu.org>
6156
6157 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6158
5c3fe83f
SM
61592011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6f5e57e7
SM
6161 * electric.el: Streamline electric-indent's hook.
6162 (electric-indent-chars): Revert to simple list.
6163 (electric-indent-functions): New var.
6164 (electric-indent-post-self-insert-function): Use it.
6165
5c3fe83f
SM
6166 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6167 there's no inferior buffer (bug#10196).
6168 (prolog-consult-compile): Don't use toggle-read-only.
6169
6bdac736
MA
61702011-12-02 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6173 interrupt. (Bug#10187)
6174
6131ba7f
SM
61752011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6176
99c79fee
SM
6177 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6178 (bug#9160).
6179
6131ba7f
SM
6180 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6181 (bug#10191).
6182
cb0a02ea
JL
61832011-12-02 Juri Linkov <juri@jurta.org>
6184
6185 * info.el (Info-search): Display "end of manual" when Isearch
6186 reaches the end of single-file Info manual. (Bug#9918)
6187
66e0570c
EZ
61882011-12-02 Eli Zaretskii <eliz@gnu.org>
6189
6190 * isearch.el (isearch-message-prefix): Run the input method part
6191 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6192
02b16839
JL
61932011-12-02 Juri Linkov <juri@jurta.org>
6194
6195 * isearch.el (isearch-occur): Use `word-search-regexp' for
6196 `isearch-word'.
6197 (isearch-search-and-update): Add condition for `isearch-word' and
6198 call `word-search-regexp'. (Bug#10145)
6199
0b950688
GM
62002011-12-01 Glenn Morris <rgm@gnu.org>
6201
6202 * eshell/em-hist.el (eshell-hist-initialize):
6203 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6204 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6205
9505c3c7
SM
62062011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6209
1bbe96b2 62102011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6211
a1beca85
SM
6212 * progmodes/verilog-mode.el (verilog-pretty-expr):
6213 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6214 verilog, such as += *= and the like.
6215 (verilog-assignment-operator-re): Regular expression to find the
6216 assigment operator in a verilog assignment.
6217 (verilog-assignment-operation-re): Regular expression to find an
6218 assignment statement for pretty-expr.
6219 (verilog-in-attribute-p): Query returns true if point is in an
6220 attribute context; used to skip these for expression line up from
6221 pretty-expr.
6222 (verilog-in-parameter-p): Query returns true if point is in an
6223 parameter definition context; used to skip these for expression
6224 line up from pretty-expr.
6225 (verilog-in-parenthesis-p): Query returns true if point is in a
6226 parenthetical expression, specifically ( ) but not [ ] or { };
6227 used by pretty-expr.
6228 (verilog-just-one-space): If there is no space, don't add one.
6229 (verilog-get-lineup-indent-2): Specifically skip just attribute
6230 contexts for expression lineup, rather than skipping all
6231 parenthetical expressions.
6232 (verilog-calculate-indent): Fix comment, and fix indent.
6233 (verilog-do-indent): Indent declarations in lists (suggested by
6234 Joachim Lechner).
6235 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6236 skeleton items.
6237 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6238 by Alain Mellan).
6239
1bbe96b2 62402011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6241
6242 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6243 parameters with embedded comments. Reported by Ray Stevens.
6244 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6245 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6246 Reported by Tim Holt.
6247 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6248 instantiated by upper module causing wrong expansion until AUTOed a
6249 second time. Reported by K C Buckenmaier.
6250 (verilog-diff-auto): Fix showing .* as a difference when
6251 `verilog-auto-star-save' off. Reported by Dan Dever.
6252 (verilog-auto-reset, verilog-read-always-signals)
6253 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6254 temporary signals in reset list if
6255 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6256 style to each signal's assignment type, bug381.
6257 Reported by Thomas Esposito.
6288f0ca
WS
6258 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6259 (verilog-uvm-statement-re): Support UVM indentation and
6260 highlighting, with old OVM keywords only.
a1beca85 6261 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6262 Support AUTOTIEOFF creating non-wire data types.
6263 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6264 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6265 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6266 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6267 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6268 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6269 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6270 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6271 non-numeric vector width. Reported by Alex Reed.
6272 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6273 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6274 (verilog-auto-delete-trailing-whitespace):
6275 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6276 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6277 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6278 Fix verilog-scan-cache corruption when running user AUTO expansion
6279 hooks that call indentation routines.
6280 (verilog-simplify-range-expression): Fix typo ignoring lower case
6281 identifiers.
6282 (verilog-delete-auto): Fix delete-autos to also remove user created
6283 automatics, as long as they start with AUTO.
6284 (verilog-batch-diff-auto, verilog-diff-auto)
6285 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6286 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6287 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6288 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6289 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6290 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6291 is disabled and its cache will get corrupt, causing AUTOS not to
6292 expand. Instead use only -quick functions.
6293 (verilog-scan-region): Fix scanning over escaped quotes.
6294 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6295 (verilog-re-search-backward-quick)
6296 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6297 related functions now ignore strings, to fix misparsing of strings
6298 with magic comments embedded in them.
a1beca85
SM
6299 (verilog-read-auto-template):
6300 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6301 Reported by Brad Dobbie.
6302 (verilog-read-auto-template):
6303 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6304 Reported by Brad Dobbie.
6288f0ca
WS
6305 (verilog-auto-inst, verilog-auto-inst-param)
6306 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6307 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6308 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6309 debugging templates without merge conflicts, bug357.
6310 Reported by Brad Dobbie.
6311 (verilog-read-auto-template):
6312 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6313 Reported by Brad Dobbie.
6314 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6315 abbrevs so user won't be asked to save.
6316 (verilog-read-auto-lisp-present): Fix to start at beginning of
6317 buffer in case called outside of verilog-auto.
6318 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6319 to "X-2". Reported by Matthew Myers.
6320 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6321 all inputs from module templates. Reported by Leith Johnson.
6322 (verilog-module-inside-filename-p): Fix locating programs as with
6323 modules.
6324 (verilog-auto-inst-port): Fix vl-width expressions when using
6325 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6326 (verilog-decls-get-regs, verilog-decls-get-signals,
6327 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6328 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6329 verilog-read-decls): Combine reg and wire structures into one var
6330 structure to represent SystemVerilog concepts.
6331 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6332 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6333 (verilog-auto-wire-type, verilog-insert-definition):
6334 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6335 SystemVerilog "logic" keyword instead of "wire"/"reg".
6336 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6337 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6338 ifdef or generate if so there's not a driver conflict).
6339 Reported by Matthew Myers.
6340 (verilog-auto-declare-nettype, verilog-insert-definition):
6341 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6342 `default_nettype none. Reported by Julian Gorfajn.
6343 (verilog-read-always-signals-recurse, verilog-read-decls)
6344 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6345 malformed end statement, bug325. Reported by Joshua Wise and
6346 Andrew Drake.
6347 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6348 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6349 when expanding .* in interfaces, bug320.
6350 Reported by Pierre-David Pfister.
6288f0ca 6351 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6352 name and open parenthesis, bug317.
6353 Reported by Pierre-David Pfister.
6288f0ca
WS
6354 (verilog-simplify-range-expression): Fix simplification of
6355 multiplications inside AUTOWIRE connections, bug303.
6356 (verilog-auto-inst-port): Support parameter expansion in
6357 multidimensional arrays.
6358 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6359 after "assert property". Reported by Julian Gorfajn.
6360 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6361 with multiplication, bug303.
6362 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6363 Reported by Jan Frode Lonnum.
6364
1bbe96b2
GM
63652011-11-30 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6368 (hfy-shell-file-name, hfy-shell):
6369 * international/fontset.el (x-decompose-font-name): Fix typos.
6370
63712011-11-29 Ken Brown <kbrown@cornell.edu>
6372
6373 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6374 (gdb-version): Remove defvar.
6375 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6376 (gdb-gud-context-command, gdb-non-stop-handler)
6377 (gdb-current-context-command, gdb-stopped): Use it.
6378 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6379 (gdb-non-stop-handler): Don't enable pretty-printing here.
6380 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6381 non-stop mode. Use the following.
6382 (gdb-check-target-async): New defun.
6383 (gud-watch, gdb-stopped): Fix whitespace.
6384 (gdb-get-source-file): Don't try to display the source file if
6385 `gdb-main-file' is nil.
6386
63872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * align.el: Try to generate fewer markers (bug#10047).
6390 (align--set-marker): New macro.
6391 (align-region): Use it.
6392
c935221f
SM
63932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6396
e70b5064
CY
63972011-11-29 Chong Yidong <cyd@gnu.org>
6398
6399 * indent.el (indent-for-tab-command, indent-according-to-mode):
6400 Doc fix.
6401 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6402
f3af92b7
MA
64032011-11-29 Michael Albinus <michael.albinus@gmx.de>
6404
6405 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6406 aware of remote file names. (Bug#10124)
6407
ed472be9
CY
64082011-11-29 Chong Yidong <cyd@gnu.org>
6409
6410 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6411
24510c22
SM
64122011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * files.el (find-file): Don't use force-same-window (bug#10144).
6415 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6416 use pop-to-buffer if the selected window can't be used.
6417 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6418
c60c3703
EZ
64192011-11-28 Eli Zaretskii <eliz@gnu.org>
6420
6421 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6422 special-mode-map.
6423
e95def75
CY
64242011-11-28 Chong Yidong <cyd@gnu.org>
6425
6426 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6427
c3f1c606
NR
64282011-11-27 Nick Roberts <nickrob@snap.net.nz>
6429
6430 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6431 gdb-get-source-file-list on gdb-create-source-file-list.
6432
00db469c
EZ
64332011-11-26 Eli Zaretskii <eliz@gnu.org>
6434
6435 * whitespace.el (whitespace-newline): Use a different foreground
6436 color for 16-color light-background displays.
6437
4ad3bc2a
CY
64382011-11-24 Chong Yidong <cyd@gnu.org>
6439
6440 * window.el (display-buffer--special-action): Doc fix.
6441
e9fce1ac
JB
64422011-11-25 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6445 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6446 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6447 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6448 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6449 (avl-tree-stack-first):
6450 * emacs-lisp/cconv.el (cconv--analyse-use):
6451 * net/gnutls.el (gnutls-negotiate): Fix typos.
6452
cb825e5d
GM
64532011-11-24 Glenn Morris <rgm@gnu.org>
6454
3adbe224
GM
6455 * lpr.el (lpr-windows-system, lpr-lp-system):
6456 * mail/binhex.el (binhex-begin-line):
6457 * progmodes/grep.el (grep-history, grep-find-history):
6458 * textmodes/flyspell.el:
6459 * vc/pcvs-defs.el (cvs-global-menu):
6460 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6461 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6462 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6463
321decc8
GM
6464 * net/tls.el: Fix case of "GnuTLS".
6465
420b63ad
GM
6466 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6467
cb825e5d
GM
6468 * version.el (emacs-build-system): Give it a doc-string.
6469
a0649f08
JL
64702011-11-24 Juri Linkov <juri@jurta.org>
6471
6472 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6473
c0bc0fd4
GM
64742011-11-24 Glenn Morris <rgm@gnu.org>
6475
6476 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6477 if called on a non-mime message just toggle the headers. (Bug#8006)
6478
20db1522
JB
64792011-11-24 Juanma Barranquero <lekktu@gmail.com>
6480
6481 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6482 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6483 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6484 (allout-rebullet-heading, allout-open-sibtopic)
6485 (allout-toggle-current-subtree-encryption)
6486 (allout-toggle-subtree-encryption, allout-encrypt-string)
6487 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6488 (allout-distinctive-bullets-string, allout-auto-activation):
6489 * window.el (window-normalize-buffer-to-display):
6490 * progmodes/verilog-mode.el (verilog-batch-indent):
6491 * textmodes/bibtex.el (bibtex-field-braces-opt)
6492 (bibtex-field-strings-opt):
6493 * vc/cvs-status.el (cvs-tree-merge):
6494 Fix typos.
6495
7262a87c
MA
64962011-11-23 Michael Albinus <michael.albinus@gmx.de>
6497
6498 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6499 `non-essential' to t, in order to avoid remote connections.
6500
283430a1
EZ
65012011-11-23 Eli Zaretskii <eliz@gnu.org>
6502
a1beca85
SM
6503 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6504 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6505 case-insensitively.
6506
d2992a38
ML
65072011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6508
6509 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6510
50419064
GM
65112011-11-23 Glenn Morris <rgm@gnu.org>
6512
da94eca1
GM
6513 * paths.el (rmail-file-name): Reformat the doc-string so that it
6514 is picked up.
6515
9aac4de2
GM
6516 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6517 (rmail-auto-file): Ignore case in the "special" field names,
6518 as mail-fetch-field does for all others.
6519
8038d2d2
GM
6520 * mail/rmail.el (rmail-forward):
6521 * mail/rmailkwd.el (rmail-set-label):
6522 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6523 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6524
f3fe222a
GM
6525 * mail/rmail.el (rmail-current-message): Doc fix.
6526
50419064
GM
6527 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6528
28109f49
SM
65292011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6532
394c65f1
GM
65332011-11-22 Glenn Morris <rgm@gnu.org>
6534
6535 * mail/rmailmm.el (test-rmail-mime-handler)
6536 (test-rmail-mime-bulk-handler)
6537 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6538
f2a0aa3a
JL
65392011-11-21 Juri Linkov <juri@jurta.org>
6540
1154d12e
JB
6541 * calc/calc.el (calc-read-key-sequence):
6542 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6543
9c34a344
LMI
65442011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545
6546 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6547 Tell the caller that the next line needs recomputation, even
6548 though it doesn't start a sexp (bug#10094).
6549
f04a3be9
SM
65502011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6553
7978747f
SM
65542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6555
f04a3be9
SM
6556 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6557 Use force-same-window.
7978747f 6558
fe7a3057
JB
65592011-11-20 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * descr-text.el (describe-char-unicode-data):
6562 * json.el (json-string-escape):
6563 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6564 (Footnote-unicode, Footnote-style-p):
6565 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6566
24901d61
CY
65672011-11-20 Chong Yidong <cyd@gnu.org>
6568
6569 * window.el (replace-buffer-in-windows): Restore interactive spec.
6570
bac7ff22
SM
65712011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6572
24f3d7b9
SM
6573 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6574
bac7ff22
SM
6575 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6576 (byte-compile-global-not-obsolete-vars): New var.
6577 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6578 Use it.
6579 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6580
cd1181db
JB
65812011-11-20 Juanma Barranquero <lekktu@gmail.com>
6582
6583 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6584 * progmodes/pascal.el (electric-pascal-equal):
6585 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6586 * xml.el (xml-substitute-special): Fix typos.
6587
7fb18e9e
GM
65882011-11-20 Glenn Morris <rgm@gnu.org>
6589
6590 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6591 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6592 Doc fixes.
6593 (rmail-decode-mime-charset): Mark as obsolete.
6594
6595 * mail/rmailsum.el (rmail-message-regexp-p-1):
6596 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6597 Before using mime functions, check they are set. (Bug#10077)
6598
d5a6b3ba
JL
65992011-11-19 Juri Linkov <juri@jurta.org>
6600
6601 * info.el (Info-finder-find-node): Use `package--builtins' instead
6602 of `package-alist'. Use node names formed by the pattern "Keyword "
6603 and the keyword name.
6604
e981b61f
AS
66052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6606
1d00653d 6607 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6608
3ffbc301
JL
66092011-11-19 Juri Linkov <juri@jurta.org>
6610
6611 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6612 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6613 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6614 `old-history', `old-history-forward'. Add let-binding
6615 `window-selected'. Remove calls to `kill-buffer',
6616 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6617 before calling `Info-find-node', so `Info-find-node-2' will reread
6618 the Info file. Restore window positions only when `window-selected'
6619 is non-nil.
6620
30c62133
JL
66212011-11-19 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-lazy-highlight-new-loop):
6624 Remove condition `(not isearch-error)'. (Bug#9918)
6625
6626 * misearch.el (multi-isearch-search-fun): Add condition
6627 `(not bound)' to ignore lazy-highlighting search.
6628 Add the search-failed message "end of multi" when the end of
6629 multi-sequence is reached. Uncapitalize the search-failed
6630 message "Repeat for next buffer".
6631
6632 * info.el (Info-search): Add the search-failed message
6633 "end of the manual" when the end of the manual is reached
6634 in Isearch mode.
6635
645ca9cf
JL
66362011-11-19 Juri Linkov <juri@jurta.org>
6637
6638 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6639 Use non-destructive `remove' instead of `delete' because
6640 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6641 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6642
df754f66
JL
66432011-11-19 Juri Linkov <juri@jurta.org>
6644
6645 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6646 to nil instead of binding `search-ring' and `regexp-search-ring'.
6647 (Bug#9185)
6648
0e23d96a
EZ
66492011-11-19 Eli Zaretskii <eliz@gnu.org>
6650
6651 * simple.el (line-move): Force movement by logical lines for any
6652 hscrolled window, not only when auto-hscroll-mode is on.
6653 (line-move-visual): Update doc string to that effect. (Bug#10076)
6654
8a6ccb66
AS
66552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6656
6657 * language/european.el (macintosh): Define as alias for mac-roman.
6658
49ae5b39
EZ
66592011-11-19 Eli Zaretskii <eliz@gnu.org>
6660
6661 * mail/rmailmm.el (rmail-mime-display-header)
6662 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6663 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6664 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6665 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6666 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6667 of a raw aref.
6668 (rmail-mime-entity-segment): To get past the tagline, move forward
6669 2 more lines, to account for the 2 empty lines that precede and
6670 follow the line with the buttons.
6671 (rmail-mime-update-tagline): Move one more line, to get past the
6672 empty line that follows the buttons in the tagline. (Bug#9520)
6673
c56cad4a
MR
66742011-11-19 Martin Rudalics <rudalics@gmx.at>
6675
6676 * window.el (window-max-delta-1, window-min-delta-1)
6677 (window-min-size-1, window-state-get-1, window-state-put-1)
6678 (window-state-put-2): Use "window--" prefix.
6679
cbe71af3
SM
66802011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6681
2ad52c60
SM
6682 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6683 (smie-warning-count): New var.
6684 (smie-set-prec2tab): Use it.
6685 (smie-bnf->prec2): Improve warnings. Add docstring.
6686 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6687 (smie-bnf--set-class): New function.
6688 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6689 corner case.
6690
6944dbc1
SM
6691 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6692 (compilation-error-properties, compilation-move-to-column):
6693 Handle compilation-first-column while in the target buffer.
6694
c400c4d7
SM
6695 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6696 Don't hardcode point-min==1.
6697
6dbe3e96
SM
6698 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6699 (eshell-rewrite-for-command): Remove workaround.
6700 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6701 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6702 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6703
cbe71af3
SM
6704 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6705
a8e1496d
GM
67062011-11-17 Glenn Morris <rgm@gnu.org>
6707
6708 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6709 Ignore buffer-local generated-autoload-file if it is the same
6710 as the global value. (Bug#10049)
6711
df85d315
JB
67122011-11-17 Juanma Barranquero <lekktu@gmail.com>
6713
6714 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6715 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6716 (reftex-toc-previous-heading, reftex-toc-max-level)
6717 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6718 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6719 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6720 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6721 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6722 (reftex-toc-rename-label, reftex-toc-visit-location)
6723 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6724 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6725 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6726 leaving "*toc*" only for references to the buffer.
6727
a0c2d0ae
MR
67282011-11-17 Martin Rudalics <rudalics@gmx.at>
6729
6730 * window.el (window-resize, delete-window, split-window):
6731 Replace window-splits by window-combination-resize.
1d00653d 6732 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6733
35c0bac8
GM
67342011-11-17 Glenn Morris <rgm@gnu.org>
6735
6736 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6737 Make bash entry derive from sh entry, not shell entry.
6738
d0c8fc8a
MA
67392011-11-16 Michael Albinus <michael.albinus@gmx.de>
6740
7262a87c
MA
6741 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6742 local file name.
6743
7877f373
JB
67442011-11-16 Juanma Barranquero <lekktu@gmail.com>
6745
6746 * menu-bar.el (menu-bar-file-menu):
6747 * printing.el (pr-ps-utility):
6748 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6749 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6750 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6751 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6752 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6753 (icalendar--convert-cyclic-to-ical)
6754 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6755 (icalendar--convert-ical-to-diary)
6756 (icalendar--convert-recurring-to-diary)
6757 (icalendar--convert-non-recurring-all-day-to-diary)
6758 (icalendar-import-format-sample):
6759 * progmodes/idlw-shell.el (idlwave-shell-mode):
6760 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6761 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6762 (vhdl-ps-print-init): Fix typos.
6763
10649b82
KM
67642011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6765
9d0cfcd6
GM
6766 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6767 FSF and collapse date sequence, obscure author/maintainer email address
6768 better, remove extra version line, track relocation of author's webpage.
10649b82 6769
9d0cfcd6
GM
6770 * progmodes/python.el (python-pdbtrack-input-prompt)
6771 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6772 regular python pdb prompts. Adjustments shamelessly taken exactly as
6773 suggested in EmacsWiki page (tiny change):
6774 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6775
58179cce
JB
67762011-11-16 Juanma Barranquero <lekktu@gmail.com>
6777
6778 * expand.el (expand-pos, expand-index, expand-point):
6779 Remove redundant info from docstring.
6780 (expand-add-abbrevs): Doc fix.
6781 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6782 (expand-sample-perl-mode-expand-list): Fix typos.
6783
6784 * net/dbus.el (dbus-event-member-name):
6785 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6786 * term/pc-win.el (msdos-create-frame-with-faces):
6787 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6788
b6f67890
MR
67892011-11-16 Martin Rudalics <rudalics@gmx.at>
6790
6791 * window.el (split-window, window-state-get-1)
6792 (window-state-put-1, window-state-put-2): Rename occurrences of
6793 window-nest to window-combination-limit.
1d00653d 6794 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6795
ce7ddba0
CY
67962011-11-16 Chong Yidong <cyd@gnu.org>
6797
6798 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6799 regexp (Bug#10033).
6800
3ae704f4
SM
68012011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6804 `completing-read' will remove *Completions* and will preserve
6805 current-buffer for us.
6806 (tmm-add-prompt): Users of *Completions* will always (re)set its
6807 major mode.
6808 (tmm-old-comp-map): Remove.
6809
6ad1cdde
GM
68102011-11-16 Glenn Morris <rgm@gnu.org>
6811
6812 * mail/rmailedit.el: Require rmailmm when compiling.
6813 (rmail-old-mime-state): New declaration.
6814 (rmail-edit-current-message): If editing a mime message,
6815 edit the "raw" message from the mbox buffer.
6816 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6817
d20faa20
GM
68182011-11-15 Glenn Morris <rgm@gnu.org>
6819
6820 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6821 which wasn't being used. Add optional arg to force given state.
6822 (rmail-mime): Add optional arg to force given state.
6823
c7015153
JB
68242011-11-15 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6827 * frame.el (display-mm-dimensions-alist):
6828 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6829 (outline-move-subtree-down):
6830 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6831 (newsticker--treeview-do-get-node):
6832 * net/quickurl.el (quickurl-list-buffer-name):
6833 * progmodes/dcl-mode.el (dcl-mode):
6834 * progmodes/gdb-mi.el (gdb-mapcar*):
6835 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6836
45261b50
GM
68372011-11-15 Glenn Morris <rgm@gnu.org>
6838
6839 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6840 in a boolean sense, so just make it a boolean, and fix the doc.
6841 (rmail-show-mime-function, rmail-mime-feature)
6842 (rmail-require-mime-maybe): Doc fixes.
6843 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6844
6845 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6846
0d26e0b6
JB
68472011-11-15 Juanma Barranquero <lekktu@gmail.com>
6848
6849 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6850 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6851 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6852 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6853
447f30f6
GM
68542011-11-15 Glenn Morris <rgm@gnu.org>
6855
672b871d
GM
6856 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6857 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6858 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6859 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6860 (rmail-mime, rmail-show-mime): Doc fixes.
6861
f6aa5bb1
GM
6862 * term/ns-win.el (mode-line-frame-identification):
6863 Leave it alone. (Bug#10051)
6864
947cd66b
GM
6865 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6866
447f30f6
GM
6867 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6868 Handle empty buffers. (Bug#9978)
6869
0b381c7e
JB
68702011-11-14 Juanma Barranquero <lekktu@gmail.com>
6871
6872 * international/mule.el (define-charset):
6873 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6874 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6875 * progmodes/verilog-mode.el (verilog-backward-token):
6876 * textmodes/ispell.el (lookup-words):
6877 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6878
71e027ac
GM
68792011-11-14 Glenn Morris <rgm@gnu.org>
6880
56632ce4
GM
6881 * progmodes/executable.el
6882 (executable-make-buffer-file-executable-if-script-p):
6883 Handle file-modes returning nil.
6884
40500957
GM
6885 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6886 message - not necessary, and causes problems. (Bug#9831)
6887
071c2340
GM
6888 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6889
d3cfca60
GM
6890 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6891
71e027ac
GM
6892 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6893 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6894 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6895
89d61221
MR
68962011-11-12 Martin Rudalics <rudalics@gmx.at>
6897
6898 * window.el (window-resize, delete-window): Use window-splits
6899 variable instead of function.
6900 (window-state-get-1, window-state-put-2, window-state-put):
6901 Don't deal with windows' splits status.
6902
98282f6f
GM
69032011-11-12 Glenn Morris <rgm@gnu.org>
6904
6905 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6906 (apropos-documentation): Doc fixes.
6907
40a8bdf6
JB
69082011-11-11 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6911 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6912
65bd19ff
SM
69132011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * electric.el (electric-indent-post-self-insert-function): Make it
6916 possible for a char to only indent in some circumstances.
6917 (electric-indent-mode): Simplify.
6918
54f9154c
MR
69192011-11-11 Martin Rudalics <rudalics@gmx.at>
6920
6921 * window.el (windows-with-parameter): Remove unused function.
6922 (windows-at-side): Rename to window-at-side-list.
6923 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6924 (window-side-check, window-size-ignore, window-size-fixed-1)
6925 (window-in-direction-2): Prefix with "window--".
6926 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6927
68cbc58b
GM
69282011-11-11 Glenn Morris <rgm@gnu.org>
6929
6930 * subr.el (eval-after-load): If FILE is already loaded,
6931 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6932
b2621720
GM
69332011-11-10 Glenn Morris <rgm@gnu.org>
6934
9a4de110
GM
6935 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6936 Call svn via vc-svn-command rather than vc-do-command.
6937 (vc-svn-command): Add --non-interactive. (Bug#9993)
6938 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6939
b2621720
GM
6940 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6941 Add toggle-read-only. (Bug#7292)
6942 * files.el (toggle-read-only): Mention that it should only
6943 be used interactively. (Bug#10006)
6944
1dce7193
SM
69452011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6946
d9ac1a1e
SM
6947 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6948 Adjust regexp for OCaml warnings.
6949
0c325082
SM
6950 * electric.el (electric-pair-post-self-insert-function): Let user
6951 turn it off buffer-locally (bug#9932).
6952
90132c14
SM
6953 * progmodes/python.el (python-beginning-of-statement):
6954 Rewrite (bug#2703).
6955
1dce7193
SM
6956 * progmodes/compile.el: Better handle TABs (bug#9749).
6957 (compilation-internal-error-properties)
6958 (compilation-next-error-function): Obey the target buffer's
6959 compilation-error-screen-columns.
6960
c4e7c63a
JB
69612011-11-09 Juanma Barranquero <lekktu@gmail.com>
6962
6963 * progmodes/meta-mode.el: Remove obsolete comments.
6964 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6965 Fix typos in docstrings.
6966
2cffd681
MR
69672011-11-09 Martin Rudalics <rudalics@gmx.at>
6968
6969 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6970 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6971 (window--resizable): New function. Make all callers of
6972 window-resizable call window--resizable instead.
6973 (window-resizable): Rewrite in terms of window--resizable.
6974
0edcba87
GM
69752011-11-08 Glenn Morris <rgm@gnu.org>
6976
6977 * progmodes/delphi.el (delphi-mode-syntax-table):
6978 Let define-derived-mode define a proper syntax table. (Bug#9994)
6979
4b0d61e3
SM
69802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * window.el: Stay away from defsubst.
6983 (window-list-no-nils): Remove.
6984 (window-state-get-1, window-state-get): Use backquote instead.
6985
cd394be1 69862011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6987
4b0d61e3 6988 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6989 Fix incorrect use of default argument in `completing-read'.
6990
e1c2c6f2
MR
69912011-11-08 Martin Rudalics <rudalics@gmx.at>
6992
6993 * window.el (display-buffer-function, special-display-function):
6994 Mention display-buffer-record-window but do not mention
6995 help-setup parameter in doc-strings.
b3f4a882 6996 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6997
105216ed
CY
69982011-11-08 Chong Yidong <cyd@gnu.org>
6999
7000 * window.el (window-total-height, window-total-width): Doc fix.
7001 (window-body-size): Move from C.
7002 (window-body-height, window-body-width): Move to C.
7003
0a9f9ab5
SM
70042011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * window.el: Make special-display like display-buffer-alist (bug#9532).
7007 (display-buffer--special-action): New function, morphed
7008 from display-buffer--special.
7009 (display-buffer): Use it to handle special-display-buffers at higher
7010 priority (just after display-buffer-alist).
7011 (display-buffer-fallback-action, display-buffer--other-frame-action)
7012 (pop-to-buffer-same-window): Remove display-buffer--special.
7013
a769dd15
GM
70142011-11-07 Glenn Morris <rgm@gnu.org>
7015
7016 * calendar/cal-menu.el (cal-menu-set-date-title):
7017 Do nothing if not in a calendar. (Bug#9976)
7018
05a61ee3
SM
70192011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * files.el (find-file): Always use selected-window.
7022
be7f5545
MR
70232011-11-07 Martin Rudalics <rudalics@gmx.at>
7024
7025 * window.el (window-combinations): Make WINDOW argument
7026 mandatory. Rewrite doc-string.
7027 (walk-window-subtree, window-atom-check, window-min-delta)
7028 (window-max-delta, window--resize-this-window)
7029 (window--resize-root-window-vertically, window-tree)
7030 (balance-windows, window-state-put): Rewrite doc-strings as to
7031 not mention the term "subwindow".
7032 (window--resize-subwindows-skip-p): Rename to
7033 window--resize-child-windows-skip-p.
7034 (window--resize-subwindows-normal): Rename to
7035 window--resize-child-windows-normal.
7036 (window--resize-subwindows): Rename to
7037 window--resize-child-windows.
7038 (window-or-subwindow-p): Rename to window--in-subtree-p.
7039
3c6702ef
ML
70402011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7041
7042 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7043 Ensure that mbox format messages end in two newlines (Bug#9974).
7044
49745b39
CY
70452011-11-06 Chong Yidong <cyd@gnu.org>
7046
7047 * window.el (window-combination-p): Function deleted; its
7048 side-effect is not used in any existing code.
7049 (window-combinations, window-combined-p): Call window-*-child
7050 directly.
7051
24300f5f
CY
70522011-11-05 Chong Yidong <cyd@gnu.org>
7053
7054 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7055 (window-size-ignore, window-state-get): Callers changed.
7056 (window-normalize-window): Rename from window-normalize-any-window.
7057 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7058 (window-normalize-live-window): Delete.
447f16b8
CY
7059 (window-combination-p, window-combined-p, window-combinations)
7060 (walk-window-subtree, window-atom-root, window-min-size)
7061 (window-sizable, window-sizable-p, window-size-fixed-p)
7062 (window-min-delta, window-max-delta, window-resizable)
7063 (window-resizable-p, window-full-height-p, window-full-width-p)
7064 (window-current-scroll-bars, window-point-1, set-window-point-1)
7065 (window-at-side-p, window-in-direction, window-resize)
7066 (adjust-window-trailing-edge, maximize-window, minimize-window)
7067 (window-deletable-p, delete-window, delete-other-windows)
7068 (record-window-buffer, unrecord-window-buffer)
7069 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7070 (quit-window, split-window, window-state-put)
7071 (set-window-text-height, fit-window-to-buffer)
7072 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7073
89bd5ee1
EZ
70742011-11-04 Eli Zaretskii <eliz@gnu.org>
7075
53479029
EZ
7076 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7077 rfc2047-decode-string.
7078 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7079 warnings.
7080
89bd5ee1
EZ
7081 * window.el (window-body-height, window-body-width): Mention in
7082 the doc string that the return values are in frame's canonical
7083 units. (Bug#9949)
7084
bd17fdee
AM
70852011-11-03 Alan Mackenzie <acm@muc.de>
7086
7087 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7088 change in cc-engine.el.
7089
acc825c5
SM
70902011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7093
1885e5b8
MR
70942011-11-02 Martin Rudalics <rudalics@gmx.at>
7095
7096 * window.el (quit-window): Call unrecord-window-buffer after
7097 showing another buffer in the window. (Bug#9937)
acc825c5 7098 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7099
ebe06da9
JB
71002011-11-02 Juanma Barranquero <lekktu@gmail.com>
7101
7102 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7103 Accept status with more than 9 shelves. (Bug#9935)
7104 Reported by Colin D Bennett <colin@gibibit.com>.
7105
4ee88440
MR
71062011-11-01 Martin Rudalics <rudalics@gmx.at>
7107
7108 * help.el (with-help-window): Don't reference
7109 temp-buffer-show-specifiers in doc-string.
7110
08e1d82c
AS
71112011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7112
7113 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7114 menu-item.
7115
84bd6e9e
VJL
71162011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7117
7118 * whitespace.el: New version 13.2.2.
7119 (whitespace-newline-mode): Disable properly. Reported by Sarah
7120 <EmacsWiki>.
7121
dba0634a
UJ
71222011-10-30 Ulf Jasper <ulf.jasper@web.de>
7123
7124 * net/newst-treeview.el: Remove "Time-stamp".
7125 (newsticker--group-manage-orphan-feeds): Do not call
7126 newsticker--treeview-tree-update.
db22a3c2
JB
7127 (newsticker-treeview-update, newsticker-treeview):
7128 Call newsticker--treeview-tree-update if necessary.
dba0634a 7129
3d8daefe
MR
71302011-10-30 Martin Rudalics <rudalics@gmx.at>
7131
7132 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7133 (window-iso-combinations): Remove "iso-" infix.
7134 Suggested by Chong Yidong.
3d8daefe
MR
7135 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7136 (window-max-delta-1, window-resize, window--resize-siblings)
7137 (window--resize-this-window, adjust-window-trailing-edge)
7138 (split-window, balance-windows-1)
7139 (shrink-window-if-larger-than-buffer):
7140 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7141 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7142
1bc4c3ae
SM
71432011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7146 in place (bug#9907).
7147 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7148 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7149 (eshell-structure-basic-command, eshell-rewrite-while-command)
7150 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7151 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7152 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7153 (eshell-do-pipelines-synchronously, eshell-eval-command):
7154 Use backquotes and prefer setq to set.
7155 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7156 (eshell-macrop): Use functionp.
c1e2f5fa 7157 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7158
30b65d9c
CY
71592011-10-30 Chong Yidong <cyd@gnu.org>
7160
7161 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7162 instead of set-mark (Bug#9810).
7163
2d197ffb
CY
71642011-10-30 Chong Yidong <cyd@gnu.org>
7165
7166 * window.el (split-window-below, split-window-right): Rename from
7167 split-window-above-each-other and split-window-side-by-side
7168 respectively. All callers changed.
7169 (split-window-sensibly, split-window-sensibly): Use them.
7170 (split-window-keep-point): Doc fix.
7171
7172 * isearch.el: Add isearch-scroll property to split-window-below
7173 and split-window-right.
7174
7175 * follow.el (follow-mode):
7176 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7177 * progmodes/ada-xref.el (ada-gdb-application):
7178 * emulation/vip.el (vip-buffer-in-two-windows):
7179 * image-dired.el (image-dired-dired-with-window-configuration):
7180 * dired-x.el (dired-do-find-marked-files):
7181 * dired.el (dired-pop-to-buffer):
7182 * bs.el (bs--show-with-configuration):
7183 * vc/emerge.el (emerge-setup-windows):
7184 * textmodes/two-column.el (2C-two-columns):
7185 * textmodes/reftex-toc.el (reftex-toc):
7186 * progmodes/gdb-mi.el (gdb-setup-windows):
7187 * progmodes/fortran.el (fortran-window-create):
7188 * net/newst-treeview.el (newsticker--treeview-window-init):
7189 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7190 * emulation/tpu-edt.el (tpu-gold-map):
7191 * emulation/crisp.el (crisp-mode-map):
7192 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7193
38bb2ca8
CY
71942011-10-29 Chong Yidong <cyd@gnu.org>
7195
aa4de341
CY
7196 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7197
e1eb5385
CY
7198 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7199
5d2ece3c
CY
7200 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7201 forged Ispell output (Bug#7904).
7202
38bb2ca8
CY
7203 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7204
d0af9f77
SM
72052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * doc-view.el: Avoid ugly errors about not finding nil.
7208 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7209 (doc-view-dvipdf-program, doc-view-unoconv-program)
7210 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7211 Avoid nil or absolute file name as default value.
7212 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7213
52bedd34
AM
72142011-10-28 Alan Mackenzie <acm@muc.de>
7215
db22a3c2 7216 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7217
7e43cfa5
AM
72182011-10-28 Alan Mackenzie <acm@muc.de>
7219
7220 Amend the handling of c-beginning/end-of-defun in nested declaration
7221 scopes.
7222
52bedd34
AM
7223 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7224 cc-langs.el. Change it to a defcustom.
7e43cfa5 7225
52bedd34
AM
7226 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7227 cc-vars.el.
7e43cfa5 7228
d0af9f77
SM
7229 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7230 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7231
52bedd34 7232 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7233 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7234 (c-widen-to-enclosing-decl-scope): New function.
7235 (c-while-widening-to-decl-block): New macro.
7236 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7237 outward for defun boundaries, and correspondingly change symbol
7238 `respect-enclosure' to `go-outward'.
7239 (c-declaration-limits): Change algorithm to report only the "innermost"
7240 defun's boundaries.
7241
1a2ce9ee
DD
72422011-10-28 Deniz Dogan <deniz@dogan.se>
7243
7244 * net/rcirc.el (rcirc-mode): Use hard newlines.
7245
bc97a826
AM
72462011-10-28 Alan Mackenzie <acm@muc.de>
7247
7248 Amend to indent and fontify macros "which include their own semicolon"
7249 correctly, using the "virtual semicolon" mechanism.
7250
52bedd34 7251 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7252
d0af9f77 7253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7254 Recode to scan one line at a time rather than having \n and \r
58179cce 7255 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7256 (c-forward-label): Amend for virtual semicolons.
58179cce 7257 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7258
52bedd34
AM
7259 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7260 of the new C macros.
bc97a826 7261
52bedd34 7262 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7263 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7264 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7265 (c-opt-cpp-macro-define): Make into a full language variable.
7266 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7267 AWK Mode (including \n, \r) removed, no longer needed.
7268
d0af9f77
SM
7269 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7270 Invoke c-make-macro-with-semi-re.
bc97a826 7271
52bedd34
AM
7272 * progmodes/cc-vars.el (c-macro-with-semi-re):
7273 (c-macro-names-with-semicolon): New variables.
58179cce 7274 (c-make-macro-with-semi-re): New function.
bc97a826 7275
7a6c0941
SM
72762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * vc/log-edit.el: Fill empty field rather than adding new one.
7279 (log-edit-add-field): New function.
7280 (log-edit-insert-changelog): Use it.
7281
b0c4cdcf
ML
72822011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7283
7284 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7285
ee1f1da9
SM
72862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7289 (gdb--check-interpreter): New function.
7290 (gdb): Use it.
7291
51bc5f8b
GM
72922011-10-27 Glenn Morris <rgm@gnu.org>
7293
416a2c45
GM
7294 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7295 (least-positive-float, least-negative-float)
7296 (least-positive-normalized-float, least-negative-normalized-float)
7297 (float-epsilon, float-negative-epsilon):
7298 Remove unnecessary declarations.
7299
7300 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7301 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7302 (least-positive-float, least-negative-float)
7303 (least-positive-normalized-float, least-negative-normalized-float)
7304 (float-epsilon, float-negative-epsilon): Add doc-strings,
7305 based on those in cl.texi.
7306
51bc5f8b
GM
7307 * files.el (set-visited-file-name): If the major-mode changed,
7308 reload the local variables. (Bug#9796)
7309
15de15c6
CY
73102011-10-27 Chong Yidong <cyd@gnu.org>
7311
7312 * subr.el (change-major-mode-after-body-hook): New hook.
7313 (run-mode-hooks): Run it.
7314
ee1f1da9
SM
7315 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7316 Use change-major-mode-before-body-hook.
15de15c6
CY
7317
7318 * simple.el (fundamental-mode):
7319 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7320 change introducing fundamental-mode-hook.
7321
5430d399
JB
73222011-10-26 Juanma Barranquero <lekktu@gmail.com>
7323
acc825c5 7324 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7325
ad74a69e
MA
73262011-10-26 Michael Albinus <michael.albinus@gmx.de>
7327
7328 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7329 tramp.el explicitly. (Bug#7583)
ad74a69e 7330
71d4c2a5
SM
73312011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * progmodes/octave-mod.el:
7334 * progmodes/octave-inf.el: Update maintainer.
7335
b1f6fa26
CY
73362011-10-26 Chong Yidong <cyd@gnu.org>
7337
7338 * subr.el (with-wrapper-hook): Rewrite doc.
7339
3f04efd6
MA
73402011-10-25 Michael Albinus <michael.albinus@gmx.de>
7341
7342 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7343 filenames "/method:foo:". (Bug#9793)
3f04efd6 7344
410488d3
SM
73452011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7348 (bug#9865).
7349
c1ebb47e
GM
73502011-10-24 Glenn Morris <rgm@gnu.org>
7351
7352 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7353
7f5c46c7
MA
73542011-10-24 Michael Albinus <michael.albinus@gmx.de>
7355
7356 * notifications.el: Add the requirement of a running D-Bus session
7357 bus to the Commentary.
7358
db2440b6
JL
73592011-10-24 Juri Linkov <juri@jurta.org>
7360
7361 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7362 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7363 (Bug#9364)
7364
feecf435
JL
73652011-10-24 Juri Linkov <juri@jurta.org>
7366
7367 * info.el (Info-following-node-name-re): Add newline to the list
7368 of allowed characters for leading space. (Bug#9824)
7369
a3839de2
SM
73702011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7371
acc825c5
SM
7372 * progmodes/octave-inf.el (inferior-octave-mode-map):
7373 Fix C-c C-h binding.
a3839de2
SM
7374 * progmodes/octave-mod.el (octave-help): Remove.
7375
09388e76
MA
73762011-10-23 Michael Albinus <michael.albinus@gmx.de>
7377
7378 Sync with Tramp 2.2.3.
7379
7380 * net/tramp-cache.el (top): Pacify byte-compiler using
7381 `init-file-user' and `site-run-file'.
7382
7383 * net/trampver.el: Update release number.
7384
86c60681
CY
73852011-10-23 Chong Yidong <cyd@gnu.org>
7386
7387 * files.el (toggle-read-only): Remove obsolete comment about
7388 version control.
7389
7390 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7391 for toggle-read-only. Note that this hasn't called vc-next-action
7392 since 2008-05-02, though it wasn't documented at the time.
7393
a3839de2
SM
7394 * vc/ediff-init.el (ediff-toggle-read-only-function):
7395 Use toggle-read-only.
86c60681 7396
cd5495ff
AM
73972011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7398
7399 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7400 of c-parse-state.
7401
00b77525 7402 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7403 correct faulty logical expression.
cd5495ff
AM
7404 (c-parse-state-state, c-record-parse-state-state):
7405 (c-replay-parse-state-state): New defvar/defuns.
7406 (c-debug-parse-state): Use new functions.
7407
42ee24ed
MR
74082011-10-22 Martin Rudalics <rudalics@gmx.at>
7409
7410 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7411 last fix. Use window-in-direction correctly.
42ee24ed 7412
a7dee7e7
CY
74132011-10-21 Chong Yidong <cyd@gnu.org>
7414
7415 * progmodes/idlwave.el (idlwave-mode):
7416 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7417 require-final-newline; that's done in prog-mode.
7418 Suggested by Stefan Monnier.
a7dee7e7 7419
e07b9a6d
MR
74202011-10-21 Martin Rudalics <rudalics@gmx.at>
7421
7422 * mouse.el (mouse-drag-window-above)
7423 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7424 (mouse-drag-mode-line-1, mouse-drag-header-line)
7425 (mouse-drag-vertical-line-rightward-window): Remove.
7426 (mouse-drag-line): New function.
7427 (mouse-drag-mode-line, mouse-drag-header-line)
7428 (mouse-drag-vertical-line): Call mouse-drag-line.
7429 * window.el (window-at-side-p, windows-at-side): New functions.
7430
7e1361d9
UM
74312011-10-21 Ulrich Mueller <ulm@gentoo.org>
7432
7433 * tar-mode.el (tar-grind-file-mode):
7434 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7435
30fcaf3a
CY
74362011-10-21 Chong Yidong <cyd@gnu.org>
7437
7438 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7439 * progmodes/vera-mode.el (vera-mode):
7440 Use mode-require-final-newline.
30fcaf3a 7441
516eddb0
GM
74422011-10-20 Glenn Morris <rgm@gnu.org>
7443
db22a3c2 7444 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7445
10d5f513
CS
74462011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7447
7448 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7449
ac6c8639
CY
74502011-10-20 Chong Yidong <cyd@gnu.org>
7451
7452 * emulation/cua-base.el (cua-mode):
7453 * mail/footnote.el (footnote-mode):
7454 * mail/mailabbrev.el (mail-abbrevs-mode):
7455 * net/xesam.el (xesam-minor-mode):
7456 * progmodes/bug-reference.el (bug-reference-mode):
7457 * progmodes/cap-words.el (capitalized-words-mode):
7458 * progmodes/compile.el (compilation-minor-mode)
7459 (compilation-shell-minor-mode):
7460 * progmodes/gud.el (gud-tooltip-mode):
7461 * progmodes/hideif.el (hide-ifdef-mode):
7462 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7463 * progmodes/subword.el (subword-mode):
7464 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7465 * progmodes/which-func.el (which-function-mode):
7466 * term/tvi970.el (tvi970-set-keypad-mode):
7467 * term/vt100.el (vt100-wide-mode):
7468 * textmodes/flyspell.el (flyspell-mode):
7469 * textmodes/ispell.el (ispell-minor-mode):
7470 * textmodes/nroff-mode.el (nroff-electric-mode):
7471 * textmodes/paragraphs.el (use-hard-newlines):
7472 * textmodes/refill.el (refill-mode):
7473 * textmodes/reftex.el (reftex-mode):
7474 * textmodes/rst.el (rst-minor-mode):
7475 * textmodes/sgml-mode.el (html-autoview-mode)
7476 (sgml-electric-tag-pair-mode):
7477 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7478 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7479 * emulation/crisp.el (crisp-mode):
7480 * emacs-lisp/eldoc.el (eldoc-mode):
7481 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7482 minor mode behavior.
7483
aa42ab43
JL
74842011-10-19 Juri Linkov <juri@jurta.org>
7485
7486 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7487 the list of hard-coded chars with escape-glyph face.
7488
89400f1d
SM
74892011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7492
305c07f6
MA
74932011-10-19 Michael Albinus <michael.albinus@gmx.de>
7494
7495 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7496 running process.
7497
13754b54
GM
74982011-10-19 Glenn Morris <rgm@gnu.org>
7499
7500 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7501 Ignore ignored files. (Bug#9726)
7502
06e21633
CY
75032011-10-19 Chong Yidong <cyd@gnu.org>
7504
7505 Doc fix for minor modes, stating that an omitted argument enables
7506 the mode unconditionally when called from Lisp.
7507
7508 * abbrev.el (abbrev-mode):
7509 * allout.el (allout-mode):
7510 * autoinsert.el (auto-insert-mode):
7511 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7512 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7513 (global-auto-revert-mode):
7514 * battery.el (display-battery-mode):
7515 * composite.el (global-auto-composition-mode)
7516 (auto-composition-mode):
7517 * delsel.el (delete-selection-mode):
7518 * desktop.el (desktop-save-mode):
7519 * dired-x.el (dired-omit-mode):
7520 * dirtrack.el (dirtrack-mode):
7521 * doc-view.el (doc-view-minor-mode):
7522 * double.el (double-mode):
7523 * electric.el (electric-indent-mode, electric-pair-mode):
7524 * emacs-lock.el (emacs-lock-mode):
7525 * epa-hook.el (auto-encryption-mode):
7526 * follow.el (follow-mode):
7527 * font-core.el (font-lock-mode):
7528 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7529 * help.el (temp-buffer-resize-mode):
7530 * hilit-chg.el (highlight-changes-mode)
7531 (highlight-changes-visible-mode):
7532 * hi-lock.el (hi-lock-mode):
7533 * hl-line.el (hl-line-mode, global-hl-line-mode):
7534 * icomplete.el (icomplete-mode):
7535 * ido.el (ido-everywhere):
7536 * image-file.el (auto-image-file-mode):
7537 * image-mode.el (image-minor-mode):
7538 * iswitchb.el (iswitchb-mode):
7539 * jka-cmpr-hook.el (auto-compression-mode):
7540 * linum.el (linum-mode):
7541 * longlines.el (longlines-mode):
7542 * master.el (master-mode):
7543 * mb-depth.el (minibuffer-depth-indicate-mode):
7544 * menu-bar.el (menu-bar-mode):
7545 * minibuf-eldef.el (minibuffer-electric-default-mode):
7546 * mouse-sel.el (mouse-sel-mode):
7547 * msb.el (msb-mode):
7548 * mwheel.el (mouse-wheel-mode):
7549 * outline.el (outline-minor-mode):
7550 * paren.el (show-paren-mode):
7551 * recentf.el (recentf-mode):
7552 * reveal.el (reveal-mode, global-reveal-mode):
7553 * rfn-eshadow.el (file-name-shadow-mode):
7554 * ruler-mode.el (ruler-mode):
7555 * savehist.el (savehist-mode):
7556 * scroll-all.el (scroll-all-mode):
7557 * scroll-bar.el (scroll-bar-mode):
7558 * server.el (server-mode):
7559 * shell.el (shell-dirtrack-mode):
7560 * simple.el (auto-fill-mode, transient-mark-mode)
7561 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7562 (line-number-mode, column-number-mode, size-indication-mode)
7563 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7564 * strokes.el (strokes-mode):
7565 * time.el (display-time-mode):
7566 * t-mouse.el (gpm-mouse-mode):
7567 * tool-bar.el (tool-bar-mode):
7568 * tooltip.el (tooltip-mode):
7569 * type-break.el (type-break-mode-line-message-mode)
7570 (type-break-query-mode):
7571 * view.el (view-mode):
7572 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7573 (global-whitespace-mode, global-whitespace-newline-mode):
7574 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7575
a3839de2
SM
7576 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7577 Fix autogenerated docstring.
06e21633 7578
5214e501
JL
75792011-10-19 Juri Linkov <juri@jurta.org>
7580
7581 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7582 by checking environment variables "DESKTOP_SESSION" and
7583 "XDG_CURRENT_DESKTOP". (Bug#9779)
7584
195f8db9
JL
75852011-10-19 Juri Linkov <juri@jurta.org>
7586
7587 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7588 (browse-url-chromium-program, browse-url-chromium-arguments):
7589 New defcustoms.
7590 (browse-url-default-browser): Check for `browse-url-chromium' and
7591 call `browse-url-chromium-program'.
7592 (browse-url-chromium): New command. (Bug#9779)
7593
343a34ff
JB
75942011-10-18 Juanma Barranquero <lekktu@gmail.com>
7595
7596 * facemenu.el (list-colors-duplicates): On Windows, detect more
7597 duplicates by assuming that only colors matching "^System" are
7598 special "system colors". (Bug#9722)
7599
6978a151
SM
76002011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7603 to distinguish the author from the committer.
7604
6a80b297
MA
76052011-10-18 Michael Albinus <michael.albinus@gmx.de>
7606
7607 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7608
b31a5677
JK
76092011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7610
7611 * international/mule.el (sgml-html-meta-auto-coding-function):
7612 Add support for detecting encoding in HTML5 specified only as
7613 <meta charset="UTF-8">. Implementation just makes http-equiv and
7614 content-type parts from HTML4 encoding string optional. (Bug#9716)
7615
80c6d77f
GM
76162011-10-18 Glenn Morris <rgm@gnu.org>
7617
7618 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7619
08b0fee8
CY
76202011-10-18 Chong Yidong <cyd@gnu.org>
7621
7622 * faces.el (cursor): Doc fix.
7623
67e729a5
CY
76242011-10-17 Chong Yidong <cyd@gnu.org>
7625
7626 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7627
343a34ff 76282011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7629
7630 * dirtrack.el (dirtrack): Support shell buffers with path
7631 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7632
0bc06380
TZ
76332011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7634
7635 * json.el: Bump version to 1.3 and note change in History.
7636 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7637
8b79f3e0
SM
76382011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7639
5a7c536b
SM
7640 * comint.el (comint-insert-input, comint-send-input)
7641 (comint-get-old-input-default, comint-backward-matching-input)
7642 (comint-next-prompt): Use nil instead of `input' for field property of
7643 past user input (bug#114).
7644
96a8a0df
SM
7645 * minibuffer.el (completion--replace): Inherit surrounding properties
7646 (bug#114).
7647 (minibuffer-complete-and-exit): Use it.
7648
8b79f3e0
SM
7649 * comint.el (comint--table-subvert): Quote the all-completions output
7650 (bug#9160).
7651
b8f7ff0d
MR
76522011-10-17 Martin Rudalics <rudalics@gmx.at>
7653
8b79f3e0 7654 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7655
b8f7ff0d 7656 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7657 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7658 entries and separate them from frame entries.
7659
c235b555
GM
76602011-10-15 Glenn Morris <rgm@gnu.org>
7661
7662 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7663 Doc fixes.
7664
6bbfa6e1
CY
76652011-10-15 Chong Yidong <cyd@stupidchicken.com>
7666
8b79f3e0
SM
7667 * net/network-stream.el (network-stream-open-starttls):
7668 Improve detection of failure due to lack of TLS support.
ec5c990d 7669
6bbfa6e1
CY
7670 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7671 putting the input text in front and in bold.
7672
98488977
SM
76732011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7674
3d1337be
SM
7675 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7676
ee0b45e4
SM
7677 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7678 empty buffer.
7679
98488977
SM
7680 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7681 unread-command-events rather than pushing yet-another event.
7682
186f4720
EZ
76832011-10-14 Eli Zaretskii <eliz@gnu.org>
7684
7685 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7686 the explanation of the possible choices. Make the options passed
7687 to completing-read shorter.
7688
8b7a997c
AM
76892011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7690
7691 * textmodes/flyspell.el (flyspell-large-region): Make sure
7692 extended character mode is used if defined (Bug#1339).
7693
12587bbb
EZ
76942011-10-13 Eli Zaretskii <eliz@gnu.org>
7695
7696 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7697 character info for LRE, LRO, RLE, and RLO characters by appending
7698 an invisible PDF.
12587bbb 7699
bad41229
SM
77002011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7703 even in case of error; add debug spec; simplify data flow.
7704 (with-timeout-handler): Remove.
7705
28dbc92f
MA
77062011-10-12 Michael Albinus <michael.albinus@gmx.de>
7707
7708 Fix Bug#6019, Bug#9315.
7709
7710 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7711 complete `buffer-file-name', the local file name part could look
7712 remotely (for example on VMS).
7713
7714 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7715 `tramp-run-real-handler'.
7716 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7717 already quoted by '"'.
7718
7719 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7720 Let `file-name-handler-alist' be nil, the local file name part
7721 could look remotely (for example on VMS).
7722
e1b0b23a
SM
77232011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7726 from here...
7727 (flyspell-post-command-hook): ...to here.
7728
a120bde9
SM
77292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7732 if not needed.
7733 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7734 using completion. Protect against "slow" callers.
7735 Remove the "message hack".
7736
7ce7717b
JL
77372011-10-11 Juri Linkov <juri@jurta.org>
7738
7739 * isearch.el (isearch-lazy-highlight-word): New variable.
7740 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7741 Use it. (Bug#9727)
7742
c02ee9d6
GM
77432011-10-11 Glenn Morris <rgm@gnu.org>
7744
7745 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7746 like f90-previous-statement does.
7747
93e616fd 77482011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7749
1f190e73 7750 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7751 only in interactive use, to avoid error.
7752
af7b6078
SM
77532011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * minibuffer.el (completion-file-name-table): Fix last change,
7756 i.e. ignore normal errors but not the other ones.
7757
0563dae9
MR
77582011-10-10 Martin Rudalics <rudalics@gmx.at>
7759
7760 * window.el (special-display-buffer-names)
7761 (special-display-regexps): Remove some remnants of earlier
7762 changes from doc-strings.
366ca7f3
MR
7763 (quit-windows-on): New function.
7764
7765 * vc/vc.el (vc-revert, vc-rollback):
7766 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7767 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7768 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7769
49677495
MR
77702011-10-09 Martin Rudalics <rudalics@gmx.at>
7771
7772 * window.el (frame-auto-hide-function): Add version tag.
7773 (Bug#9699)
7774
56f2d1e1
MA
77752011-10-09 Michael Albinus <michael.albinus@gmx.de>
7776
7777 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7778 condition.
7779
112a6592
LL
77802011-10-09 Leo Liu <sdl.web@gmail.com>
7781
7782 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7783 (Bug#9701)
7784
0812589b
GM
77852011-10-08 Glenn Morris <rgm@gnu.org>
7786
7787 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7788 before the first code statement zero indent. (Bug#9690)
7789
b2b0776e
CY
77902011-10-08 Chong Yidong <cyd@stupidchicken.com>
7791
7792 * simple.el (count-words-region): Always count in the region.
7793 Report the number of lines and characters too.
7794 (count-words): New command, which counts in the buffer if the
7795 region is inactive, as count-words-region used to.
7796 (count-words--message): New function. Handle plurals.
7797 (count-lines-region): Make it an alias for count-words-region.
7798
7799 * bindings.el (esc-map): Replace count-lines-region with
7800 count-words-region.
7801
c557cd6b
MR
78022011-10-08 Martin Rudalics <rudalics@gmx.at>
7803
7804 * window.el (window--delete): Delete dedicated frame
7805 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7806 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7807
61a57ef4 78082011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7809
3a7d293b 7810 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7811
c3833279
CY
78122011-10-07 Chong Yidong <cyd@stupidchicken.com>
7813
7814 * bindings.el ([M-left],[M-right]): Bind to left-word and
7815 right-word respectively.
7816
21ce8245
GM
78172011-10-07 Glenn Morris <rgm@gnu.org>
7818
7819 * cus-start.el (debug-on-quit): Fix custom type.
7820
6d823bb2
LMI
78212011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7822
0181e193
LMI
7823 * subr.el (define-key-after): Clarify that the function is not
7824 useful for non-menu keymaps.
7825
6d823bb2
LMI
7826 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7827
8e3459ce 78282011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7829
21ce8245 7830 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7831 in current minibuffer (Fix bug with recursive minibuffers).
7832
a1c2d21e
CY
78332011-10-06 Chong Yidong <cyd@stupidchicken.com>
7834
7835 * progmodes/gdb-mi.el (gdb): Doc fix.
7836
5a4cf282
MR
78372011-10-05 Martin Rudalics <rudalics@gmx.at>
7838
7839 * window.el (frame-auto-hide-function): New option replacing
7840 frame-auto-delete. Suggested by Stefan Monnier.
7841 (window--delete): Call frame-auto-hide-function instead of
7842 investigating frame-auto-delete.
c96111ea
MR
7843 (window-point-1, set-window-point-1): New functions.
7844 (window-in-direction, record-window-buffer, window-state-get-1)
7845 (display-buffer-record-window): Use window-point-1 instead of
7846 window-point.
7847 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7848
9854542e
SM
78492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7852
8943cfb0
GM
78532011-10-05 Glenn Morris <rgm@gnu.org>
7854
7855 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7856 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7857
647ab967
LL
78582011-10-05 Leo Liu <sdl.web@gmail.com>
7859
7860 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7861 works with buffer object.
7862
3ddfbced
SM
78632011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * mpc.el (mpc-tool-bar-map): Add labels.
7866
bdfa5dd2
GM
78672011-10-04 Glenn Morris <rgm@gnu.org>
7868
7869 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7870
0e2070b5
MR
78712011-10-04 Martin Rudalics <rudalics@gmx.at>
7872
7873 * window.el (window--delete): New function.
7874 (frame-auto-delete): Resuscitate option.
7875 (bury-buffer, replace-buffer-in-windows)
7876 (quit-window): Rewrite using window--delete.
7877 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7878 Pass display-buffer-mark-dedicated to window--display-buffer-2
7879 (Bug#9639).
7880
3dc61a09
SM
78812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7882
915a9b64
SM
7883 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7884 returns a list (bug#9554). Add remote file name completion.
7885 * comint.el (comint--table-subvert): Curry and get quote&unquote
7886 functions as arguments.
7887 (comint--complete-file-name-data): Adjust call accordingly.
7888 * pcomplete.el (pcomplete--table-subvert): Remove.
7889 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7890
3dc61a09
SM
7891 * minibuffer.el (completion-table-case-fold): Use currying.
7892 (completion--styles-type, completion--cycling-threshold-type):
7893 New constants.
7894 (completion-styles, completion-category-overrides)
7895 (completion-cycle-threshold): Use them.
7896 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7897 completion-table-case-fold.
7898
8ea0a993
SB
78992011-10-03 Stephen Berman <stephen.berman@gmx.net>
7900
7901 * minibuffer.el (completion-category-overrides): Fix type of styles
7902 and add more user friendly tags (bug#9660).
7903
8c24b7f6
SM
79042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7907 (mule-input-method-string): New widget.
7908 (default-input-method, language-info-custom-alist): Use it.
7909
428fe61a
SM
79102011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7911
32c1fffd
SM
7912 * pcomplete.el: Require comint.
7913 (pcomplete--common-suffix): Remove.
7914 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7915 (pcomplete--table-subvert): Sync with comint--table-subvert.
7916 (pcomplete--entries): Use comint-completion-file-name-table.
7917 * comint.el (comint-unquote-filename): Simplify.
7918 (comint-completion-file-name-table): New function (bug#9616).
7919 (comint--complete-file-name-data): Use it.
7920
428fe61a
SM
7921 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7922 (pcmpl-gnu-tar-buffer): Remove.
7923 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7924 around. Make sure pcomplete-suffix-list is only changed temporarily.
7925 Don't look inside the tar's file if it's too large.
428fe61a 7926
04c52e2f
CY
79272011-10-01 Chong Yidong <cyd@stupidchicken.com>
7928
ce3cefcc
CY
7929 * cus-edit.el (custom-mode-map):
7930 * epa.el (epa-key-list-mode-map):
7931 * man.el (Man-mode-map):
7932 * startup.el (splash-screen-keymap):
7933 * simple.el (special-mode-map): Use scroll-up-command and
7934 scroll-down-command.
7935
7936 * progmodes/idlw-help.el (idlwave-help-mode-map):
7937 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7938 * net/newst-plainview.el (newsticker-mode-map):
7939 * emulation/ws-mode.el (wordstar-mode-map):
7940 * emulation/vi.el (vi-com-map):
7941 * calc/calc-graph.el (calc-graph-show-dumb):
7942 * term/sun.el (terminal-init-sun):
7943 * term/ns-win.el (global-map):
7944 * progmodes/grep.el (grep-mode-map):
7945 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7946 * mail/rmail.el (rmail-mode-map):
7947 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7948
04c52e2f
CY
7949 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7950 custom-safe-themes as special.
7951
79adf8c8
JD
79522011-10-01 Julien Danjou <julien@danjou.info>
7953
7954 * notifications.el (notifications-notify): Fix docstring.
7955
63bd50d3
PS
79562011-10-01 Per Starbäck <per@starback.se>
7957
7958 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7959
199e4c7e
MR
79602011-09-30 Martin Rudalics <rudalics@gmx.at>
7961
7962 * startup.el (command-line-1): Fix last fix by inserting
7963 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7964 (Bug#9605) and (Bug#9636)
199e4c7e 7965
fe5f08dd
EZ
79662011-09-29 Eli Zaretskii <eliz@gnu.org>
7967
7968 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7969 window is hscrolled, move by logical lines. (Bug#9607)
7970 (line-move-visual): Update the doc string to the above effect.
7971
b5516bbd
MR
79722011-09-29 Martin Rudalics <rudalics@gmx.at>
7973
ccee00c0
MR
7974 * window.el (display-buffer-record-window): When WINDOW is the
7975 selected window use `point' instead of `window-point'. (Bug#9626)
7976
b5516bbd
MR
7977 * startup.el (command-line-1): Use insert-before-markers when
7978 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7979
b5516bbd
MR
7980 * help.el (help-window): Remove variable.
7981
52aa0014
GM
79822011-09-29 Glenn Morris <rgm@gnu.org>
7983
7984 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7985
df9a7357
JB
79862011-09-29 Juanma Barranquero <lekktu@gmail.com>
7987
7988 * descr-text.el (describe-char-categories): Accept category
7989 descriptions more than one line long.
7990
a8406c20
SM
79912011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7992
88d9610c
SM
7993 * simple.el (delete-trailing-whitespace): Fix last change.
7994
a5daf810
SM
7995 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7996 Don't confuse "y => 3" as the beginning of a `y' operation.
7997
a8406c20
SM
7998 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7999 object has more than 4 slots (bug#9613).
8000
a239d4e9
JB
80012011-09-28 Juanma Barranquero <lekktu@gmail.com>
8002
8003 * subr.el (with-output-to-temp-buffer):
8004 * net/quickurl.el (quickurl, quickurl-browse-url):
8005 Fix typos in docstrings.
8006
693fbdb6
EZ
80072011-09-27 Eli Zaretskii <eliz@gnu.org>
8008
8009 * minibuffer.el (completion-styles)
8010 (completion-category-overrides): Cross reference each other in doc
8011 strings.
8012
8b457e28
GM
80132011-09-27 Glenn Morris <rgm@gnu.org>
8014
8015 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8016 to split-string. (Bug#9606)
8017
85a16208
LMI
80182011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8019
8020 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8021 (bug#9615).
8022
502f9ebd
CY
80232011-09-27 Chong Yidong <cyd@stupidchicken.com>
8024
8025 * emacs-lisp/package.el (list-packages): Fix echo area message.
8026
7690bdea
LL
80272011-09-27 Leo Liu <sdl.web@gmail.com>
8028
8029 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8030
e2ee6f30
MA
80312011-09-25 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/dbus.el (dbus-unregister-object): Don't release services for
8034 registered signals. (Bug#9581)
8035
f3f98342
TZ
80362011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8037
8038 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8039 function that picks between cfengine 2 and 3 support
8040 automatically. Update docs accordingly.
8041
dd7aa8dd
KH
80422011-09-22 Kenichi Handa <handa@m17n.org>
8043
8044 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8045 ZERO.
8046 (indian-itrans-v5-table-for-tamil): New variable.
8047 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8048
3f2b07f8
KM
80492011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8050
8051 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8052 that's true if the current command involved collapsing of text.
8053 It's reset to false at the beginning of the next command.
8054 (allout-post-command-business): Move the cursor to the beginning
8055 of entry if the cursor is hidden and collapsing activity just
8056 happened.
8057
371d6a61
CY
80582011-09-24 Chong Yidong <cyd@stupidchicken.com>
8059
8060 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8061 tracking (Bug#9541).
8062
2ac2721a
UJ
80632011-09-24 Ulf Jasper <ulf.jasper@web.de>
8064
8065 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8066 (newsticker-show-news): Automatically load html rendering package
8067 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8068 because w3m-fill-column is let-bound" and the error "Symbol's value
8069 as variable is void: w3m-fill-column".
2ac2721a 8070
fac7ae53
MA
80712011-09-24 Michael Albinus <michael.albinus@gmx.de>
8072
8073 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8074 Release services only if they are defined. (Bug#9581)
8075
e08b633b
RS
80762011-09-23 Richard Stallman <rms@gnu.org>
8077
e488d29c
RS
8078 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8079 distinguish start of paragraph from start of its text.
8080
19c38752
RS
8081 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8082
e08b633b
RS
8083 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8084 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8085 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8086
0a39f27e
AS
80872011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8088
8089 * international/mule-diag.el (mule-diag): Insert a newline after
8090 each fontset description.
8091
db4e950d
SM
80922011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * simple.el (delete-trailing-whitespace):
8095 Document last change; simplify.
8096
eca3f3ea
PW
80972011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8098
d68e189a
PW
8099 * simple.el (delete-trailing-whitespace): Also delete
8100 extra newlines at the end of the buffer.
8101
eca3f3ea
PW
8102 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8103 (picture-newline): Use forward-line so as to ignore fields.
8104
01c157cc
SM
81052011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * subr.el (with-wrapper-hook): Fix edebug spec.
8108
022de23e
LMI
81092011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8111 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8112 (bug#4538).
8113
91683089
MA
81142011-09-23 Michael Albinus <michael.albinus@gmx.de>
8115
eca3f3ea
PW
8116 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8117 Fix nasty bug using wrong cached values.
91683089 8118
5bdd6fa4
AM
81192011-09-23 Alan Mackenzie <acm@muc.de>
8120
8121 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8122
97adfb97
CY
81232011-09-23 Chong Yidong <cyd@stupidchicken.com>
8124
8125 * window.el (pop-to-buffer): Ensure right window is selected if we
8126 chose another frame.
8127
d4ef2b50
EZ
81282011-09-22 Eli Zaretskii <eliz@gnu.org>
8129
8130 * simple.el (what-cursor-position): Use get-char-property-change
8131 and next-single-char-property-change, to be able to show display
8132 properties that come from overlays as well as text properties.
8133
72258fe5
CY
81342011-09-22 Chong Yidong <cyd@stupidchicken.com>
8135
8136 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8137
8138 * cmuscheme.el (run-scheme, switch-to-scheme):
8139 * cus-edit.el (customize-group, custom-buffer-create)
8140 (customize-browse):
8141 * info.el (info):
8142 * shell.el (shell):
8143 * mail/sendmail.el (mail):
8144 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8145
8f098516
RS
81462011-09-22 Richard Stallman <rms@gnu.org>
8147
8148 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8149 move back only to line beg, don't move back over blank lines.
8150
e74f1bb6
MA
81512011-09-22 Michael Albinus <michael.albinus@gmx.de>
8152
8153 * files.el (copy-directory): Set directory attributes only in case
8154 they could be retrieved from the source directory. (Bug#9565)
8155
bfeef8b6
DK
81562011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8157
8158 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8159 (hs-find-block-beginning, hs-hide-level-recursive):
8160 Ignore strings as well as comments. (Bug#9502)
8161
7e423bb8
AS
81622011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8163
8164 * progmodes/sql.el (sql-comint-postgres):
8165 Convert port number to a string. (Bug#9566)
8166
b4d72fcf
MR
81672011-09-22 Martin Rudalics <rudalics@gmx.at>
8168
8169 * window.el (quit-window): Undedicate window when switching to
8170 previous buffer. Reported by Thierry Volpiatto
8171 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8172 (special-display-popup-frame): When popping up a new frame reset
8173 its previous buffers to nil. Simplify code.
b4d72fcf 8174
a7b88dc6
MA
81752011-09-21 Michael Albinus <michael.albinus@gmx.de>
8176
8177 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8178 and process filter, as done also in `shell-command'.
8179
cf4eacfd
MR
81802011-09-21 Martin Rudalics <rudalics@gmx.at>
8181
eca3f3ea 8182 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8183 Call set-window-start with NOFORCE argument t.
8184 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8185 (quit-window): Reword doc-string. Handle new format of
8186 quit-restore parameter. Don't delete window if it has a
8187 previous buffer we can show instead of the present one.
8188 (display-buffer-record-window): Rewrite using a new format for
8189 the quit-restore window parameter
8190 (special-display-popup-frame, display-buffer-same-window)
8191 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8192 (display-buffer-pop-up-window, display-buffer-use-some-window):
8193 Adapt symbol passed to display-buffer-record-window.
8194 * help.el (help-window-setup): Handle new format of quit-restore
8195 parameter.
8196
8d28cb95
SM
81972011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8198
94ab793f
SM
8199 * faces.el (face-list): Fix docstring (bug#9564).
8200
8d28cb95
SM
8201 * window.el (display-buffer--action-function-custom-type):
8202 Don't include internal functions in the Custom interface.
8203
3820edeb
JL
82042011-09-20 Juri Linkov <juri@jurta.org>
8205
8206 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8207 (Info-forward-node, Info-backward-node, Info-next-preorder)
8208 (Info-last-preorder): Use it. (Bug#9528)
8209
5147931d
JL
82102011-09-20 Juri Linkov <juri@jurta.org>
8211
8212 * info.el (Info-last-preorder): Visit last menu item only when
8213 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8214
cf499a1a
JD
82152011-09-20 Julien Danjou <julien@danjou.info>
8216
8217 * password-cache.el (password-cache-remove): Remove entries even if the
8218 value is nil, so that password with a nil value (negative caching) is
8219 possible to invalidate.
8220
f84e2fe2
LM
82212011-09-20 Lawrence Mitchell <wence@gmx.li>
8222
8223 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8224 all whitespace around breakpoint. (Bug#9553)
8225 (f90-find-breakpoint): Only break at whitespace inside a comment.
8226
78054a46
SM
82272011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * minibuffer.el (completion-file-name-table): Keep track of errors.
8230 (completion-table-with-predicate): Handle the case where pred1 is nil.
8231 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8232
345083b2
SM
82332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8234
e24e27be
SM
8235 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8236 (debugger-return-value): Signal an error if the debugging context does
8237 not await any return value.
8238
345083b2
SM
8239 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8240 * image-mode.el (image-toggle-display-text)
8241 (image-toggle-display-image): Stay away from evil `intangible'.
8242
08d355e3
LL
82432011-09-19 Leo Liu <sdl.web@gmail.com>
8244
8245 * replace.el (occur-revert-arguments): Make it permanent-local.
8246 (occur-mode): Don't call font-lock-defontify.
8247
f01da43f
CY
82482011-09-19 Chong Yidong <cyd@stupidchicken.com>
8249
8250 * net/ldap.el (ldap-search-internal): Don't push empty search
8251 result (Bug#9508).
8252
b6072fa6
SM
82532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8256
443d6696
MA
82572011-09-19 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8260 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8261
7cc6e154
JL
82622011-09-18 Juri Linkov <juri@jurta.org>
8263
8264 * buff-menu.el (Buffer-menu-mode-map):
8265 * dired.el (dired-mode-map):
8266 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8267 (lisp-interaction-mode-map):
8268 * emacs-lisp/package.el (package-menu-mode-map):
8269 * epa.el (epa-key-list-mode-map):
8270 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8271 (menu-bar-options-menu):
8272 * outline.el (outline-mode-menu-bar-map):
8273 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8274 * vc/vc-dir.el (vc-dir-menu-map):
8275 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8276 Capitalize non-function content words in menu item strings.
8277
8278 * dired.el (dired-mode-map): Add menu item for
8279 `image-dired-dired-toggle-marked-thumbs'.
8280
80302a81
JL
82812011-09-18 Juri Linkov <juri@jurta.org>
8282
8283 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8284 to `isearch-case-fold-search' and restore its original value
8285 after the `isearch-mode' call.
8286
46c5cf66
JL
82872011-09-18 Juri Linkov <juri@jurta.org>
8288
8289 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8290 because `zgrep' returns 1 for successful matches (bug#9226).
8291
d18b513b
JL
82922011-09-18 Juri Linkov <juri@jurta.org>
8293
8294 * info.el (Info-extract-menu-node-name): Check the second match
8295 for empty string (second test-case of bug#9528).
8296 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8297 intermediate nodes to the history (first test-case of bug#9528).
8298
72753f87
JL
82992011-09-18 Juri Linkov <juri@jurta.org>
8300
8301 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8302 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8303
c9384295
JL
83042011-09-18 Juri Linkov <juri@jurta.org>
8305
1154d12e
JB
8306 * info.el (Info-file-supports-index-cookies):
8307 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8308 outputs one more line for long file names (bug#4142).
c9384295 8309
d473dce8
CY
83102011-09-18 Chong Yidong <cyd@stupidchicken.com>
8311
8312 * newcomment.el (comment-normalize-vars): If prompting for
8313 comment-start, set comment-start-skip too (Bug#8424).
8314
2176854d
JB
83152011-09-18 Johan Bockgård <bojohan@gnu.org>
8316
8317 * icomplete.el: Fix previous fix of Bug#5849.
8318 (icomplete-mode): Don't set completion-show-inline-help.
8319 (icomplete-minibuffer-setup): Set completion-show-inline-help
8320 locally during icompletion.
8321
3aace4e4
CY
83222011-09-18 Chong Yidong <cyd@stupidchicken.com>
8323
c940224f
CY
8324 * woman.el (woman2-process-escapes): Don't delete unrecognized
8325 escapes (Bug#7843).
8326
3aace4e4
CY
8327 * files.el (inhibit-first-line-modes-regexps): Add image files.
8328 (hack-local-variables-prop-line): Return nil for malformed
8329 prop-lines (Bug#9044).
8330
710dec63
MA
83312011-09-18 Michael Albinus <michael.albinus@gmx.de>
8332
8333 * net/tramp.el (top): Don't require 'shell.
8334 (tramp-methods): Fix docstring.
8335 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8336 Return complete remote file name. Handle "smb" case.
8337 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8338 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8339
8340 * net/tramp-compat.el (top): Require 'shell.
8341
8342 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8343 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8344 `tramp-current-host'.
8345 (tramp-get-remote-tmpdir): Remove.
8346
8347 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8348 `tramp-tmpdir' entries.
8349 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8350 (tramp-smb-handle-file-attributes): Ignore errors.
8351 (tramp-smb-wait-for-output): Check also for process end.
8352
5d5ac8ec
LMI
83532011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8354
8355 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8356 when sending QUIT (bug#9312).
8357
8c0f49f0
CY
83582011-09-17 Chong Yidong <cyd@stupidchicken.com>
8359
8360 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8361 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8362 occur-mode-display-occurrence.
8363 (occur-edit-mode): Add usage message.
8364 (occur-cease-edit): New command.
8365 (occur-after-change-function): Use text properties to find the
8366 position of the prefix text.
8367 (occur-engine): Set stickiness of prefix text properties.
8368
8f1383f7
GM
83692011-09-17 Glenn Morris <rgm@gnu.org>
8370
8371 * progmodes/etags.el (complete-tag):
8372 Fix call to completion-in-region. (Bug#9526)
8373
744ba0e3
JL
83742011-09-17 Juri Linkov <juri@jurta.org>
8375
8376 * textmodes/ispell.el (ispell-word): Add to the error message
8377 the word, ispell program name and current dictionary (bug#9121).
8378 (ispell-tex-arg-end): Capitalize "error" in the error message.
8379
d9bbf400
AS
83802011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8381
8382 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8383 check. (Bug#4251)
8384
8da11505
JL
83852011-09-17 Juri Linkov <juri@jurta.org>
8386
8387 * window.el (window-safe-min-height, window-safe-min-width):
8388 Fix typos (followup to bug#9522).
8389
a91adc7e
SJ
83902011-09-17 Sven Joachim <svenjoac@gmx.de>
8391
8392 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8393
064f328a
EZ
83942011-09-16 Eli Zaretskii <eliz@gnu.org>
8395
8396 * simple.el (line-move): If goal-column is set, move by logical
8397 lines, not by display lines. (Bug#971)
8398 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8399 to reflect the above change.
8400
e69df516
SM
84012011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * image.el (imagemagick-register-types): Use regexp-opt.
8404
cbb0f9ab
CY
84052011-09-15 Chong Yidong <cyd@stupidchicken.com>
8406
8407 * window.el (display-buffer-base-action): Rename from
8408 display-buffer-default-action. Make default value empty.
8409 (display-buffer-overriding-action): Convert to defvar.
8410 (display-buffer-fallback-action): New var.
8411
25322144
CY
84122011-09-15 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8415 declaration.
8416 (package--add-to-archive-contents): If there is a duplicate entry
8417 with an older version, remove it.
8418 (package-menu-mark-delete, package-menu-mark-install)
8419 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8420 (package-menu-mark-obsolete-for-deletion):
8421 Use package-menu-get-status instead of a regexp search.
25322144
CY
8422 (package-menu-get-status): Use tabulated-list-entry.
8423 (package-menu-mark-upgrades): New command.
d770725a 8424 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8425 (package-menu-execute): Do installation before deletion.
8426 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8427 instead of checking major-mode.
8428 (package-menu--find-upgrades): New function.
8429
7520339c
LMI
84302011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8431
8432 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8433 passwords in the log buffer.
65a046c4
LMI
8434 (smtpmail-process-filter): Update the process marker so that the
8435 "broken by peer" status message is inserted in the right place.
7520339c 8436
d3c30954
SM
84372011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8438
3fe48822
SM
8439 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8440 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8441 bibtex-completion-at-point-function.
8442 (bibtex-completion-at-point-function): Use them.
8443
1b8b3954
SM
8444 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8445
d3c30954
SM
8446 * mpc.el (mpc-constraints-tag-lookup): New function.
8447 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8448 also to browser "album|playlist".
8449
72779976
JL
84502011-09-14 Juri Linkov <juri@jurta.org>
8451
8452 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8453 (isearch-edit-string): Use length of `isearch-string' when
8454 `isearch-fail-pos' returns nil.
8455 (isearch-message): Remove duplicate code and call
8456 `isearch-fail-pos' with arg `t'.
8457
a0bf2bcd
CY
84582011-09-14 Chong Yidong <cyd@stupidchicken.com>
8459
17bb0a2d
CY
8460 * replace.el (occur-mode-goto-occurrence): Don't force using other
8461 window (Bug#9499).
8462
a0bf2bcd
CY
8463 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8464
f678e0b6
MR
84652011-09-14 Martin Rudalics <rudalics@gmx.at>
8466
8467 * window.el (display-buffer-window): Remove.
8468 (display-buffer-record-window): Use help-setup window parameter
8469 instead of variable display-buffer-window.
8470 (display-buffer-function, special-display-buffer-names)
8471 (special-display-function): Mention help-setup parameter instead
8472 of display-buffer-window in doc-string.
d3c30954
SM
8473 * help.el (help-window-setup): New argument help-window.
8474 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8475 Reword some messages.
8476 (with-help-window): Pass window used for displaying the buffer
8477 to help-window-setup. Don't set display-buffer-window.
8478
8e39b2e8
GM
84792011-09-13 Glenn Morris <rgm@gnu.org>
8480
8481 * emacs-lisp/debug.el (debugger-make-xrefs):
8482 Preserve point. (Bug#9462)
8483
85e9c04b
CY
84842011-09-13 Chong Yidong <cyd@stupidchicken.com>
8485
8486 * window.el (window-deletable-p): Use next-frame.
8487
1b36ed6a
MR
84882011-09-13 Martin Rudalics <rudalics@gmx.at>
8489
8490 * window.el (window-auto-delete): Remove.
8491 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8492 dedication and previous buffers.
1b36ed6a
MR
8493 (switch-to-prev-buffer): Don't delete window.
8494 (delete-windows-on): Delete a window's frame if and only if the
8495 window is dedicated.
8496 (replace-buffer-in-windows): Delete buffer's window or frame if
8497 and only if window is dedicated.
8498 (quit-window): Handle quit-restore as before last change.
4d61f28d 8499 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8500
ef8ef9fb
CY
85012011-09-13 Chong Yidong <cyd@stupidchicken.com>
8502
8503 * window.el (window-deletable-p): Never delete the last frame on a
8504 given terminal.
8505
b2cba41e
GM
85062011-09-13 Glenn Morris <rgm@gnu.org>
8507
8508 * help.el (describe-key-briefly): Copy previous standard-output change.
8509
51553db6 85102011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8511
8512 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8513
b7556719
GM
85142011-09-13 Glenn Morris <rgm@gnu.org>
8515
8516 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8517 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8518
64b51947
CY
85192011-09-12 Chong Yidong <cyd@stupidchicken.com>
8520
8521 * dired-aux.el (dired-mark-read-string): Don't return default
8522 value on empty input (Bug#9361).
8523 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8524 Omit initial minibuffer contents.
8525 (dired-do-chmod): Signal an error on empty input.
8526 (dired-mark-read-string): Don't return default on empty input.
8527
8528 * files.el (file-modes-symbolic-to-number): Doc fix.
8529
393a301e
SM
85302011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * international/mule-cmds.el (ucs-completions): Remove.
8533 (read-char-by-name): Use complete-with-action instead; add metadata.
8534
fa5660f9
CY
85352011-09-11 Chong Yidong <cyd@stupidchicken.com>
8536
8537 * window.el (display-buffer--action-function-custom-type)
8538 (display-buffer--action-custom-type): New vars.
8539 (display-buffer-alist, display-buffer-default-action)
8540 (display-buffer-overriding-action): Add defcustom types.
8541
4a592f66
CY
8542 * frame.el (delete-other-frames): Doc fix (Bug#276).
8543
73d56dbd
LMI
85442011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545
8546 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8547
37ac18a3
CY
85482011-09-11 Chong Yidong <cyd@stupidchicken.com>
8549
8550 Change modes that used same-window-* vars to use switch-to-buffer.
8551
8552 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8553 Use switch-to-buffer.
8554
8555 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8556 (customize-browse, custom-buffer-create-other-window):
8557 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8558
8559 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8560 (Info-prev, Info-up, Info-speedbar-goto-node)
8561 (info-display-manual): Use switch-to-buffer.
8562 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8563
8564 * mail/sendmail.el (mail): Use switch-to-buffer.
8565 (mail-recover): Use switch-to-buffer-other-window.
8566
8567 * cmuscheme.el (run-scheme, switch-to-scheme):
8568 * ielm.el (ielm):
8569 * shell.el (shell):
8570 * net/rlogin.el (rlogin):
8571 * net/telnet.el (telnet, rsh):
8572 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8573
10195bd6
AS
85742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8575
8576 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8577
b322f63a
LMI
85782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
39d7fed6
LMI
8580 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8581 so don't mention it (bug#9301).
ba5a81f1 8582 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8583
ee0e9f11
LMI
8584 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8585 match `x', `w32' and `ns', like the manual says (bug#9029).
8586
0b1c89c1 8587 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8588 (process-kill-buffer-query-function): Mention the buffer name in
8589 the query.
0b1c89c1 8590
77549ea8
LMI
8591 * image-mode.el (image-next-line): The line parameter is mandatory
8592 (bug#9258).
8593
803ef892
LMI
8594 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8595 which can be useful (bug#9301).
8596
12980837
LMI
8597 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8598
91054f8f
LMI
8599 * subr.el (match-string): Mention that the current buffer should
8600 be the same as the search was done in (bug#9282).
8601
b322f63a
LMI
8602 * facemenu.el: Disable the remove-* commands if the mark isn't
8603 active (bug#9162).
8604
3199b96f
CY
86052011-09-10 Chong Yidong <cyd@stupidchicken.com>
8606
8607 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8608 of display-buffer.
8609 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8610
8611 * replace.el (occur-mode-goto-occurrence)
8612 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8613 and display-buffer.
8614
8615 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8616 display-buffer.
8617
8618 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8619 special-display and same-window variables.
8620 (mail-other-window): Use switch-to-buffer-other-window.
8621 (mail-other-frame): USe switch-to-buffer-other-frame.
8622
393a301e
SM
8623 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8624 Use display-buffer-other-frame.
3199b96f
CY
8625 (gdb-display-gdb-buffer): Use pop-to-buffer.
8626
8627 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8628
8629 * progmodes/python.el: Don't set same-window-buffer-names.
8630
8631 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8632
8633 * window.el (display-buffer-alist): Add *Python*.
8634
8319e0bf
CY
86352011-09-10 Chong Yidong <cyd@stupidchicken.com>
8636
8637 * window.el (display-buffer-alist): Add entry for buffers
8638 previously handled same-window-*.
8639 (display-buffer-alist, display-buffer-default-action)
8640 (display-buffer-overriding-action): Mark as risky.
8641 (display-buffer-alist): Document action function changes.
8642 (display-buffer--same-window-action)
8643 (display-buffer--other-frame-action): New variables.
8644 (switch-to-buffer, display-buffer-other-frame): Use them.
8645 (display-buffer): Rename reuse-frame entry to reusable-frames.
8646 (display-buffer-reuse-selected-window): Function deleted.
8647 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8648 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8649 (display-buffer-special): New function.
8650 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8651 display-buffer-reuse-or-pop-window. Split off special-display
8652 part into display-buffer-special.
8653 (display-buffer-use-some-window): Don't perform any special
8654 pop-up-frames handling.
8655 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8656 (display-buffer--maybe-same-window): Rename from
0d3ff375 8657 display-buffer-maybe-same-window.
8319e0bf 8658
919a69aa
CY
8659 * info.el: Don't set same-window-regexps.
8660 (info-setup): New function.
8661 (info-other-window, info): Call it.
8662
8663 * cus-edit.el: Don't set same-window-regexps.
8664 (customize-group): New argument.
8665 (customize-group-other-window): Use it.
8666 (customize-face, customize-face-other-window): Likewise.
8667 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8668
8319e0bf
CY
8669 * net/rlogin.el:
8670 * net/telnet.el:
8671 * progmodes/gud.el: Don't set same-window-regexps.
8672
8673 * cmuscheme.el:
8674 * ielm.el:
8675 * shell.el:
8676 * mail/sendmail.el:
8677 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8678
25173000
JL
86792011-09-10 Juri Linkov <juri@jurta.org>
8680
8681 * isearch.el (isearch-edit-string): Remove obsolete mention of
8682 `C-w' (`isearch-yank-word-or-char') from docstring.
8683 (isearch-query-replace): Fix typo in docstring (bug#9466).
8684
056e44ef
JL
86852011-09-10 Juri Linkov <juri@jurta.org>
8686
8687 * paren.el (show-paren-function): Don't show escaped parens.
8688 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8689
c3760c17
EZ
86902011-09-10 Eli Zaretskii <eliz@gnu.org>
8691
8692 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8693 (mm-default-file-encoding): Remove autoload forms, they are
8694 replaced with autoload cookies in mml.el and mm-encode.el.
8695 (mail-add-attachment): New command.
8696 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8697 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8698 the doc string.
8699 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8700
fece895e
RT
87012011-09-10 Reuben Thomas <rrt@sc3d.org>
8702
e69df516
SM
8703 * simple.el (count-words-region): Use buffer if there's no region
8704 (bug#9429).
fece895e 8705
5e68ce4a
JL
87062011-09-09 Juri Linkov <juri@jurta.org>
8707
8708 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8709 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8710 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8711
0a6b9622
AM
87122011-09-09 Alan Mackenzie <acm@muc.de>
8713
8714 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8715 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8716
14a29deb
EZ
87172011-09-09 Eli Zaretskii <eliz@gnu.org>
8718
8719 Fix for Savannah bug#9392.
8720 * simple.el (mail-encode-mml): New defvar.
8721
8722 * mail/rmail.el (mail-encode-mml): Add a defvar.
8723 (rmail-enable-mime-composing): Default to t.
8724 (rmail-forward): Use MIME method of forwarding only if both
8725 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8726 Set mail-encode-mml non-nil if the MIME method was used.
8727
8728 * mail/sendmail.el (mml-to-mime): Add autoload form.
8729 (mail-encode-mml): Add a defvar.
8730 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8731 to nil.
8732 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8733 message through mml-to-mime, and reset mail-encode-mml to nil.
8734
28c45130
GM
87352011-09-09 Glenn Morris <rgm@gnu.org>
8736
8737 * woman.el (woman-if-body): When processing an .el block,
8738 do not delete the next .el block as well. (Bug#9447)
69f4b618 8739 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8740
9b1c252e
MR
87412011-09-08 Martin Rudalics <rudalics@gmx.at>
8742
8743 * window.el (window-deletable-p): Make sure window is live before
8744 invoking window-prev-buffers.
8745
567457e3
LL
87462011-09-08 Leo Liu <sdl.web@gmail.com>
8747
8748 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8749
97f05794
JL
87502011-09-08 Juri Linkov <juri@jurta.org>
8751
8752 * progmodes/compile.el (compilation-environment): Make it
8753 a defcustom (bug#8340).
8754
8b0874b5
MR
87552011-09-08 Martin Rudalics <rudalics@gmx.at>
8756
8757 * window.el (frame-auto-delete): Rename to window-auto-delete.
8758 Make it control auto-deletion of windows and/or frames.
8759 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8760 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8761 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8762 Rewrite handling of case when window/frame can be deleted.
8763 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8764 argument t. (Bug#9456)
8b0874b5 8765
4feb6e73
CY
87662011-09-07 Chong Yidong <cyd@stupidchicken.com>
8767
8768 * help-mode.el (help-mode): Restore autoload.
8769
91ab9c13
JL
87702011-09-07 Juri Linkov <juri@jurta.org>
8771
8772 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8773 `compilation-environment'. Set buffer-local
8774 `compilation-environment' to `thisenv' later after (funcall mode).
8775 (Bug#8340)
8776
8777 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8778 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8779 instead of replacing its value. (Bug#8340)
8780
0527e251
JL
87812011-09-07 Juri Linkov <juri@jurta.org>
8782
8783 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8784 based on text properties put by `grep-filter' instead of matching
8785 escape sequences.
8786 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8787 to the value of `grep-error-screen-columns' (bug#9438).
8788
249f792c
JL
87892011-09-07 Juri Linkov <juri@jurta.org>
8790
8791 * simple.el (next-error-highlight, next-error-highlight-no-select):
8792 Doc fix (bug#9432).
8793
ff7271b9
OT
87942011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8795
8796 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8797 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8798
183fc730
LL
87992011-09-07 Leo Liu <sdl.web@gmail.com>
8800
8801 * net/rcirc.el (rcirc-mode): Conditionally initialize
8802 rcirc-input-ring.
8803
77694924
SM
88042011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * emacs-lisp/find-func.el (find-function-C-source): Only set
8807 find-function-C-source-directory after checking that we found a source
8808 file there (bug#9440).
8809
d809b8eb
AM
88102011-09-06 Alan Mackenzie <acm@muc.de>
8811
8812 * isearch.el (isearch-other-meta-char): Wherever a key list is
8813 unread, "unread" the prefix arg, too. This fixes bug #8901.
8814
453de99f
OG
88152011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8816
8817 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8818
90439906
JL
88192011-09-05 Juri Linkov <juri@jurta.org>
8820
8821 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8822
f62bd846
JL
88232011-09-05 Juri Linkov <juri@jurta.org>
8824
8825 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8826 keeping point where processing of grep matches begins, and
8827 continue to delete remaining escape sequences from the same point.
8828 (grep-filter): Make leading zero optional in "0?1;31m" because
8829 git-grep emits "\033[1;31m" escape sequences unlike expected
8830 "\033[01;31m" as GNU Grep does (bug#9408).
8831 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8832
045820ec
JL
88332011-09-05 Juri Linkov <juri@jurta.org>
8834
8835 * subr.el (y-or-n-p): Capitalize "yes".
8836
f5e29b9b
MA
88372011-09-04 Michael Albinus <michael.albinus@gmx.de>
8838
8839 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8840 `tramp-cache-unload-hook' where appropriate.
8841 (tramp-methods): Rename `tramp-remote-sh' to
8842 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8843 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8844
8845 * net/tramp-sh.el (top): Don't require 'shell.
8846 (tramp-methods): Add `tramp-remote-shell' and
8847 `tramp-remote-shell-args' entries.
8848 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8849 (tramp-sh-handle-shell-command): Remove.
8850 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8851 Use `tramp-remote-shell'.
8852
2784c434
CY
88532011-09-03 Chong Yidong <cyd@stupidchicken.com>
8854
393a301e 8855 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8856 (sendmail-query-once): Save directly to send-mail-function.
8857 Update message-send-mail-function too.
8858
8859 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8860
464cdf56
CS
88612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8862
8863 * progmodes/python.el (python-mode-map): Use correct function to
8864 start python interpreter from menu-bar (as reported by Geert
8865 Kloosterman).
8866 (inferior-python-mode-map): Fix typo.
393a301e 8867 (python-shell-map): Remove.
464cdf56 8868
d37e5c87
DD
88692011-09-03 Deniz Dogan <deniz@dogan.se>
8870
8871 * net/rcirc.el (rcirc-print): Simplify code for
8872 rcirc-scroll-show-maximum-output. There is no need to walk
8873 through all windows to find the right one.
8874
f3ada0ee
CS
88752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8876
8877 * help.el (help-return-method): Doc fix.
8878
1f3c99ca
MR
88792011-09-03 Martin Rudalics <rudalics@gmx.at>
8880
8881 * window.el (window-deletable-p): Don't return a non-nil value
8882 when there's a buffer that was shown in the window before.
8883 (Bug#9419)
393a301e
SM
8884 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8885 Set window's previous buffers to nil.
1f3c99ca 8886
a3cf097f
EZ
88872011-09-03 Eli Zaretskii <eliz@gnu.org>
8888
8889 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8890 newline before and after the tag line, so it doesn't interfere
8891 with determining the paragraph direction of bidirectional text.
8892
3d03de90
LL
88932011-09-03 Leo Liu <sdl.web@gmail.com>
8894
8895 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8896
c3313451
CY
88972011-09-02 Chong Yidong <cyd@stupidchicken.com>
8898
393a301e 8899 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8900 (pop-to-buffer): Change interactive spec. Pass second argument
8901 directly to display-buffer.
8902 (display-buffer): Fix interactive spec. Use functionp to
8903 distinguish between a function and a list of functions.
8904
8905 * abbrev.el (edit-abbrevs):
8906 * arc-mode.el (archive-extract):
8907 * autoinsert.el (auto-insert):
8908 * bookmark.el (bookmark-bmenu-list):
8909 * files.el (find-file):
8910 * view.el (view-buffer):
8911 * progmodes/compile.el (compilation-goto-locus):
8912 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8913
89894cd8
CY
89142011-09-02 Chong Yidong <cyd@stupidchicken.com>
8915
8916 * window.el (display-buffer-alist): Doc fix.
8917 (display-buffer): Add docstring. Don't treat
8918 display-buffer-default specially.
8919 (display-buffer-reuse-selected-window)
8920 (display-buffer-same-window, display-buffer-maybe-same-window)
8921 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8922 (display-buffer-pop-up-window)
8923 (display-buffer-reuse-or-pop-window)
8924 (display-buffer-use-some-window): New functions.
8925 (display-buffer-default-action): Use them.
393a301e 8926 (display-buffer-default): Delete.
89894cd8
CY
8927 (pop-to-buffer-1): Fix choice of actions.
8928
ae0bc9fb
SM
89292011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * minibuffer.el (completion--insert-strings): Don't get confused by
8932 completion entries that end with an LF char.
8933
e9d90883
EZ
89342011-09-01 Eli Zaretskii <eliz@gnu.org>
8935
8936 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8937
437014c8
CY
89382011-09-01 Chong Yidong <cyd@stupidchicken.com>
8939
8940 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8941 (display-buffer-same-window, display-buffer-other-window):
8942 New functions.
437014c8
CY
8943 (pop-to-buffer-1): New function. Use the above.
8944 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8945 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8946
8947 * view.el (view-buffer-other-window, view-buffer-other-frame):
8948 Just use pop-to-buffer.
8949
a5e063d5
TV
89502011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8951
8952 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8953
793d32bb
WH
89542011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8955
8956 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8957
d65e4c15
RS
89582011-08-31 Richard Stallman <rms@gnu.org>
8959
8960 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8961 of the separation of rmail-view-buffer from rmail-buffer.
8962 If you say no to "replace original", the decrypt is in the
8963 view buffer. If you say yes, the decrypt goes into the
8964 rmail buffer also.
8965
f818cd2a
MR
89662011-08-31 Martin Rudalics <rudalics@gmx.at>
8967
8968 * window.el (display-buffer-window): Rewrite doc-string.
8969 (display-buffer-record-window): New function.
8970 (display-buffer-macro-specifiers)
8971 (display-buffer-even-window-sizes, display-buffer-set-height)
8972 (display-buffer-set-width, display-buffer-in-window)
8973 (display-buffer-reuse-window, display-buffer-split-specifiers)
8974 (display-buffer-side-specifiers, display-buffer-split-window-1)
8975 (display-buffer-split-window, display-buffer-split-atom-window)
8976 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8977 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8978 (display-buffer-other-window-means-other-frame)
8979 (display-buffer-normalize-special)
8980 (display-buffer-normalize-default)
8981 (display-buffer-normalize-argument)
8982 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8983 (display-buffer-normalize-specifiers, display-buffer-frame)
8984 (display-buffer-same-window, display-buffer-same-frame)
8985 (display-buffer-other-window)
8986 (display-buffer-same-frame-other-window)
8987 (display-buffer-other-frame, pop-to-buffer-same-window)
8988 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8989 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8990 (switch-to-buffer-same-frame)
8991 (switch-to-buffer-other-window-same-frame)
8992 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8993 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8994 (display-buffer-alist-set): Remove.
8995 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8996 (special-display-regexps, special-display-function):
8997 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8998 parameter.
8999 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9000 (special-display-frame-alist, special-display-popup-frame)
9001 (same-window-buffer-names, same-window-regexps, same-window-p)
9002 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9003 (split-window-preferred-function, split-height-threshold)
9004 (split-width-threshold, window-splittable-p)
9005 (split-window-sensibly, window--try-to-split-window)
9006 (window--frame-usable-p, even-window-heights)
9007 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9008 (window--display-buffer-2, display-buffer-other-frame):
9009 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9010 (display-buffer-default, display-buffer-assq-regexp): New functions.
9011 (display-buffer-alist): Rewrite doc-string.
9012 (display-buffer-default-action)
9013 (display-buffer-overriding-action): New variables.
9014 (display-buffer, switch-to-buffer): Rewrite.
9015 (pop-to-buffer): Restore Emacs 23 behavior but use
9016 window-normalize-buffer-to-display.
9017 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9018 Restore Emacs 23 behavior but use
9019 window-normalize-buffer-to-switch-to.
9020 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9021 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9022 Rewrite using Emacs 23 options.
f818cd2a 9023
5bc3b51d
MA
90242011-08-31 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp.el (tramp-root-regexp): Remove.
9027 (tramp-completion-file-name-regexp-unified)
9028 (tramp-completion-file-name-regexp-separate)
9029 (tramp-completion-file-name-regexp-url): Don't use leading volume
9030 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9031 (tramp-drop-volume-letter): Simplify definition.
9032 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9033
b1a4f8e1
SM
90342011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9037 (bug#9356).
9038
5664fa7b
RT
90392011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9040
b1a4f8e1 9041 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9042
9a45d6c3
JL
90432011-08-29 Juri Linkov <juri@jurta.org>
9044
9045 * isearch.el (isearch-done): Don't display message "Mark saved"
9046 when arg `edit' is non-nil to prevent its flicker in the echo area.
9047
fb87e0fb
CY
90482011-08-28 Chong Yidong <cyd@stupidchicken.com>
9049
9050 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9051 obsolete packages for deletion.
9052
09ac1c2a
CS
90532011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9054
9055 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9056 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9057 view-mode from help-mode.
9058 (help-xref-override-view-map): Remove.
9059 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9060 view-mode is not used anymore.
9061
7a1ff57f
CY
90622011-08-28 Chong Yidong <cyd@stupidchicken.com>
9063
9064 * server.el (server-port): Doc fix.
9065
b9696605
CY
9066 * cus-theme.el (custom-theme-choose-mode): Inherit from
9067 special-mode (Bug#9124).
9068 (custom-theme-choose-mode-map): Add special-mode to parent.
9069
ef8cdf8c
AM
90702011-08-28 Alan Mackenzie <acm@muc.de>
9071
9072 * progmodes/cc-fonts.el
9073 (c-make-font-lock-BO-decl-search-function): New function.
9074 (c-basic-matchers-after - "Fontify the clauses after various
9075 keywords"): Extract the three keyword lists for the 3 erroneous
9076 constructs from the list of four, and use the new function above
9077 in place of an old one.
9078
27de4e20
DD
90792011-08-28 Deniz Dogan <deniz@dogan.se>
9080
9081 * net/rcirc.el (rcirc-insert-prev-input)
9082 (rcirc-insert-next-input): Remove unused argument.
9083
356a3681
SM
90842011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9087
3fc9b218
AM
90882011-08-27 Alan Mackenzie <acm@muc.de>
9089
9090 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9091 handle function pointer parameters properly.
9092
538a061c
MR
90932011-08-27 Martin Rudalics <rudalics@gmx.at>
9094
9095 * window.el (display-buffer-reuse-window): Fix case where
9096 selected window was reused with non-nil OTHER-WINDOW argument.
9097 (Bug#9381)
9098
35b1c40c
DD
90992011-08-27 Deniz Dogan <deniz@dogan.se>
9100
9101 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9102 oftc's NickServ messages.
9103
2f6a3e79
GM
91042011-08-27 Glenn Morris <rgm@gnu.org>
9105
9106 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9107
7254299e
CY
91082011-08-26 Chong Yidong <cyd@stupidchicken.com>
9109
9110 * emacs-lisp/package.el (package-install): Call package-initialize
9111 if called interactively.
9112
f8ccf167
LL
91132011-08-26 Leo Liu <sdl.web@gmail.com>
9114
9115 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9116
3e8cd5ce
JL
91172011-08-25 Juri Linkov <juri@jurta.org>
9118
9119 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9120 `search-whitespace-regexp' (bug#9364).
9121
93eb7113
JL
91222011-08-25 Juri Linkov <juri@jurta.org>
9123
9124 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9125 `regexp-search-ring' to their global values to protect from
9126 updating by `read-from-minibuffer' (bug#9185).
9127
f65d1611
JL
91282011-08-25 Juri Linkov <juri@jurta.org>
9129
9130 * textmodes/ispell.el (ispell-command-loop): Add newline
9131 at the end of the "Use option `i'..." line.
9132
f1cf7a31
JL
91332011-08-25 Juri Linkov <juri@jurta.org>
9134
9135 * battery.el (display-battery-mode): If `battery-status-function'
9136 or `battery-mode-line-format' is nil, display the message and set
9137 `display-battery-mode' to nil (bug#9363).
9138
0c95fcf7
EZ
91392011-08-25 Eli Zaretskii <eliz@gnu.org>
9140
9141 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9142 bidi-string-mark-left-to-right; they are unnecessary now.
9143
a2ebe600
DD
91442011-08-25 Deniz Dogan <deniz@dogan.se>
9145
9146 * net/quickurl.el: Documentation typo fixes.
9147
e4ed06f1
CY
91482011-08-25 Chong Yidong <cyd@stupidchicken.com>
9149
9150 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9151
e5f1c99e
GM
91522011-08-25 Glenn Morris <rgm@gnu.org>
9153
b2948976
GM
9154 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9155
e5f1c99e
GM
9156 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9157 (smtpmail-via-smtp): Handle nil response from smtp.
9158
f22f4808
JL
91592011-08-24 Juri Linkov <juri@jurta.org>
9160
9161 * proced.el (proced-marked): Inherit from `error' instead of
9162 `font-lock-warning-face'.
9163
9164 * ibuffer.el (ibuffer-marked-face): Change default face from
9165 `font-lock-warning-face' to `warning'.
9166 (ibuffer-deletion-face): Change default face from
9167 `font-lock-type-face' to `error'.
9168
9169 * battery.el (battery-update): Use the face `error' instead of
9170 `font-lock-warning-face' (bug#6117).
9171
6a93965e
JL
91722011-08-24 Juri Linkov <juri@jurta.org>
9173
9174 * faces.el (success): Change face color from "Green3" to
9175 "ForestGreen" on light background (bug#9353).
9176
1ed43b09
CY
91772011-08-24 Chong Yidong <cyd@stupidchicken.com>
9178
5664fa7b
RT
9179 * window.el (quit-window): Rename from quit-restore-window.
9180 Use same arglist as old quit-window.
1ed43b09
CY
9181 (frame-auto-delete): Doc fix.
9182
9183 * view.el (view-mode-exit): Use quit-window.
9184
11dcdbb2
JL
91852011-08-24 Juri Linkov <juri@jurta.org>
9186
9187 * isearch.el (isearch-ring-adjust1): Start visiting previous
9188 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9189 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9190 for empty search string (when the last search string is reused
9191 automatically) to adjust the isearch ring to the last element and
9192 prepare the correct index for further M-p commands (bug#9185).
9193
de62b4df
KH
91942011-08-24 Kenichi Handa <handa@m17n.org>
9195
9196 * international/ucs-normalize.el: If decomposition property of
9197 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9198 nil.
9199 (nfd, nfkd): Likewise.
9200
963b492b
SM
92012011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9204 from process filters aren't reliably transmitted to the surrounding
9205 accept-process-output.
9206 (mpc-proc-check): New function.
9207 (mpc-proc-sync): Use it (bug#8293)
9208
93b6b5e1
SM
92092011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9212 Add compatibility functions (bug#9313).
9213
bca633fb
EZ
92142011-08-23 Eli Zaretskii <eliz@gnu.org>
9215
b177498a
EZ
9216 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9217
6df6ae42 9218 * international/uni-bidi.el: Regenerate.
bca633fb 9219
0902a04e
KH
92202011-08-23 Kenichi Handa <handa@m17n.org>
9221
9222 * international/charprop.el:
9223 * international/uni-bidi.el:
9224 * international/uni-category.el:
9225 * international/uni-combining.el:
9226 * international/uni-comment.el:
9227 * international/uni-decimal.el:
9228 * international/uni-decomposition.el:
9229 * international/uni-digit.el:
9230 * international/uni-lowercase.el:
9231 * international/uni-mirrored.el:
9232 * international/uni-name.el:
9233 * international/uni-numeric.el:
9234 * international/uni-old-name.el:
9235 * international/uni-titlecase.el:
9236 * international/uni-uppercase.el: Regenerate.
9237
3bbf23bc
MR
92382011-08-23 Martin Rudalics <rudalics@gmx.at>
9239
9240 * help.el (help-window-setup): Fix message displayed when other
9241 window is reused. (Bug#9341)
9242
b3fd59bd
SM
92432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9244
1802e444
SM
9245 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9246 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9247
b3fd59bd
SM
9248 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9249 Mark obsolete.
9250 * shell.el (shell-parse-pcomplete-arguments): New function.
9251 (shell-completion-vars): Use it instead (bug#9160).
9252
4eb61348
SM
92532011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9254
867cab74
SM
9255 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9256 strings and comments (bug#9333).
9257
4eb61348
SM
9258 * emacs-lisp/debug.el (debug-arglist): New function.
9259 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9260 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9261
262a1439
JL
92622011-08-22 Juri Linkov <juri@jurta.org>
9263
56ee679c
JL
9264 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9265 Revert regexp that highlights output switches to its old
9266 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9267
262a1439
JL
9268 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9269 to check for empty output (bug#9226).
9270
f13f86fb
CY
92712011-08-22 Chong Yidong <cyd@stupidchicken.com>
9272
9273 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9274 symbol-constituent as the default, as that stops font-lock from
9275 working properly (Bug#8843).
9276
c65c9622
LMI
92772011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9278
9279 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9280 `coding-system-for-*' around the process open call to avoid
9281 auth-source side effects.
e7f2c178 9282 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9283 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9284 probe hangs.
c65c9622 9285
23a8a5ab
CY
92862011-08-21 Chong Yidong <cyd@stupidchicken.com>
9287
ff98b2dd
CY
9288 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9289
23a8a5ab
CY
9290 * emacs-lisp/find-func.el (find-function-noselect): New arg
9291 lisp-only.
9292
9293 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9294 signal an error for built-in functions (Bug#6664).
9295
f5e3c598
LMI
92962011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297
9298 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9299 (smtpmail-try-auth-methods): Use it.
9300
a3f2468a
CY
93012011-08-21 Chong Yidong <cyd@stupidchicken.com>
9302
2c34e8da
CY
9303 * font-lock.el (font-lock-fontify-region)
9304 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9305 (font-lock-default-unfontify-buffer)
9306 (font-lock-default-fontify-region)
9307 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9308
b3fd59bd
SM
9309 * progmodes/compile.el (compilation-error-properties):
9310 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9311 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9312 `ant' regexp.
ee31aabc 9313
a3f2468a
CY
9314 * net/browse-url.el (browse-url-firefox): Don't call
9315 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9316
8e999f70
GM
93172011-08-20 Glenn Morris <rgm@gnu.org>
9318
c21a496a
GM
9319 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9320
59ee0542
GM
9321 * tutorial.el (tutorial--default-keys): Update some default bindings.
9322
8e999f70
GM
9323 * files.el (hack-local-variables): Fully ignore case for "mode:".
9324
e3715033
AM
93252011-08-20 Alan Mackenzie <acm@muc.de>
9326
9327 Resolve invalid use of a regexp in regexp-opt.
9328
4d61f28d
JB
9329 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9330 detection for a java annotation.
e3715033 9331
4d61f28d 9332 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9333 detection for a java annotation.
9334
4d61f28d
JB
9335 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9336 handling for java.
e3715033
AM
9337 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9338
04ed2e9c
CY
93392011-08-20 Chong Yidong <cyd@stupidchicken.com>
9340
9341 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9342 (Bug#9274).
9343
826cee64
AM
93442011-08-20 Alan Mackenzie <acm@muc.de>
9345
58179cce 9346 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9347 such a construct. Mainly for when jit-lock etc. starts a chunk
9348 here.
9349
58179cce 9350 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9351 variable.
58179cce 9352 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9353 c-make-font-lock-search-function.
9354 (c-make-font-lock-search-function): Use the above function.
9355 (c-make-font-lock-context-search-function): New function.
9356 (c-cpp-matchers): Enhance the preprocessor expression case with
9357 the above function
9358 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9359 which takes an expression.
9360
9361 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9362
13009bd8
MR
93632011-08-20 Martin Rudalics <rudalics@gmx.at>
9364
9365 * window.el (display-buffer-reuse-window)
9366 (display-buffer-pop-up-window): Don't reuse or split a side
9367 window.
9368
9234ff7f
GM
93692011-08-19 Glenn Morris <rgm@gnu.org>
9370
9371 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9372 Downcase "Mode:". (Bug#9331)
9234ff7f 9373
f635daa1
CY
93742011-08-18 Chong Yidong <cyd@stupidchicken.com>
9375
9376 * international/characters.el: Add L and R categories.
9377
9378 * subr.el (bidi-string-mark-left-to-right): Rename from
9379 string-mark-left-to-right. Use category search.
9380
9381 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9382
bc987f8b
JL
93832011-08-18 Juri Linkov <juri@jurta.org>
9384
9385 * faces.el (error, warning, success): New faces with definitions
9386 copied from old default values of `font-lock-warning-face',
9387 `compilation-warning', `compilation-info' (bug#6117).
9388
9389 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9390
9391 * progmodes/compile.el (compilation-error): Inherit from `error'.
9392 (compilation-warning): Inherit from `warning'.
9393 (compilation-info): Inherit from `success'.
9394
9395 * dired.el (dired-marked): Inherit from `warning'.
9396 (dired-flagged): Inherit from `error'.
9397
57173b96
LMI
93982011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9399
3e79eb87
LMI
9400 * mail/smtpmail.el (auth-source): Require to avoid problems with
9401 binding variables (bug#9298). Also clean up some unused
9402 autoloads.
9403
b3fd59bd
SM
9404 * net/network-stream.el (network-stream-open-starttls):
9405 Support using starttls.el without using gnutls-cli.
57173b96 9406
02b404de
JL
94072011-08-17 Juri Linkov <juri@jurta.org>
9408
9409 * progmodes/grep.el (rgrep): Handle the case when
9410 `grep-find-command' is a cons cell (bug#9278).
9411
8c9177f2
MR
94122011-08-17 Martin Rudalics <rudalics@gmx.at>
9413
9414 * window.el (display-buffer-pop-up-frame): Run frame creation
9415 function with BUFFER current (as special-display-popup-frame
9416 does). Reported by Drew Adams.
9417
3644a0ab
DU
94182011-08-17 Daiki Ueno <ueno@unixuser.org>
9419
9420 * epa-mail.el: Simplify GnuPG group expansion using
9421 epg-expand-group.
9422 (epa-mail-group-alist, epa-mail-group-modtime)
9423 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9424 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9425 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9426 Remove.
9427
5e617bc2 94282011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9429
9430 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9431
9c4aeabf
AM
94322011-08-16 Alan Mackenzie <acm@muc.de>
9433
9434 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9435 Correct, to avoid the inside of macros.
9436
3a99bf64
RS
94372011-08-16 Richard Stallman <rms@gnu.org>
9438
04963aa8
RS
9439 * epa-mail.el: Handle GnuPG group definitions.
9440 (epa-mail-group-alist, epa-mail-group-modtime)
9441 (epa-mail-gnupg-conf-file): New variables.
9442 (epa-mail-parse-groups, epa-mail-sync-groups)
9443 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9444 (epa-mail-expand-recipients): New functions.
9445 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9446
177549d0
RS
9447 * mail/rmail.el (rmail-epa-decrypt): New command.
9448
fe38beef
RS
9449 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9450 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9451 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9452 (epa-decrypt-armor-in-region): Make error message clearer.
9453
934eacb9
SM
94542011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9457 and "a2b" to "ab" for `prefix'.
9458
d024fb4e
CY
94592011-08-14 Chong Yidong <cyd@stupidchicken.com>
9460
9461 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9462 filter groups.
de148fee
CY
9463 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9464 Fourquet (Bug#8804).
d024fb4e 9465
62f1ca49
JB
94662011-08-12 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * startup.el (argi): Declare as global variable (bug#9275).
9469
9ccaaa4b
CY
94702011-08-12 Chong Yidong <cyd@stupidchicken.com>
9471
9472 * subr.el (string-mark-left-to-right): Search the entire string
9473 for RTL script, not just the terminating character. Doc fix.
9474
a3dae87a
SM
94752011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9476
6cd18349
SM
9477 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9478 New function.
9479 (js--regexp-literal, js-syntax-propertize-function): Remove.
9480 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9481 (js-mode-map): Don't rebind electric keys.
9482 (js-insert-and-indent): Remove.
9483 (js-mode): Setup electric-layout and electric-indent instead.
9484
a3dae87a
SM
9485 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9486
9d5cb631
DU
94872011-08-12 Daiki Ueno <ueno@unixuser.org>
9488
9489 * epa.el (epa-progress-callback-function): Fix the logic of
9490 displaying progress.
9491 * epa-file.el (epa-file-insert-file-contents): Make progress
9492 display more user-friendly.
9493 (epa-file-write-region): Ditto.
9494
3e26a4a2
CY
94952011-08-10 Chong Yidong <cyd@stupidchicken.com>
9496
9497 * subr.el (string-mark-left-to-right): New function.
9498
9499 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9500 Use string-mark-left-to-right.
9501 (list-buffers-noselect): Caller changed.
9502
a3dae87a
SM
9503 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9504 Use string-mark-left-to-right.
3e26a4a2
CY
9505 (tabulated-list-print): Recenter after moving point.
9506
ac8cf6e6
JL
95072011-08-10 Juri Linkov <juri@jurta.org>
9508
9509 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9510 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9511 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9512
8d96c9a4
CY
95132011-08-09 Chong Yidong <cyd@stupidchicken.com>
9514
9515 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9516 (Bug#7554).
9517
7be1c708 95182011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9519
9520 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9521 character. (Bug#6594)
9522
37e11a63
CY
95232011-08-08 Chong Yidong <cyd@stupidchicken.com>
9524
839dde57
CY
9525 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9526 (image-dired--with-db-file): New macro.
9527 (image-dired-write-tags, image-dired-remove-tag)
9528 (image-dired-create-gallery-lists, image-dired-write-comments)
9529 (image-dired-get-comment, image-dired-mark-tagged-files)
9530 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9531 (image-dired-gallery-generate): Use insert-file-contents.
9532
37e11a63
CY
9533 * time.el (display-time-world-list, display-time-world-display):
9534 * time-stamp.el (time-stamp-string):
9535 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9536 set-time-zone-rule (Bug#7337).
9537
0b4946c4
DU
95382011-08-08 Daiki Ueno <ueno@unixuser.org>
9539
9540 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9541 (epg-error-to-string, epg-errors-to-string): New function.
9542 (epg-wait-for-completion): Reverse errors list.
9543 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9544 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9545 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9546 (epg-sign-keys, epg-generate-key-from-file)
9547 (epg-generate-key-from-string): Format errors by using
9548 epg-errors-to-string (bug#9255).
9549 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9550
75bfc667
JL
95512011-08-07 Juri Linkov <juri@jurta.org>
9552
9553 * faces.el (list-faces-display): Remove extra angle bracket
9554 from `help-mode-map'.
9555
9556 * info.el (Info-history-toc-nodes): Doc fix.
9557
9558 * longlines.el (longlines-mode): Doc fix.
9559
673e08bb
SM
95602011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9561
4640dd88
SM
9562 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9563 of statements and in a few more cases (bug#9183).
9564
673e08bb
SM
9565 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9566 New functions.
9567 (cl-transform-lambda): Use them (bug#9239).
9568
89b3f019
MR
95692011-08-05 Martin Rudalics <rudalics@gmx.at>
9570
9571 * window.el (display-buffer-same-window)
9572 (display-buffer-same-frame, display-buffer-other-window)
9573 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9574 (pop-to-buffer-other-window)
9575 (pop-to-buffer-same-frame-other-window)
9576 (pop-to-buffer-other-frame): Make them defuns.
9577 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9578
640c8776
SM
95792011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * subr.el (make-composed-keymap): Move from C. Change calling
9582 convention, and improve docstring to bring attention to a subtle point.
9583 * minibuffer.el (completing-read-default): Adjust accordingly.
9584
63648a95
MA
95852011-08-03 Michael Albinus <michael.albinus@gmx.de>
9586
9587 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9588 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9589
9590 * net/trampver.el: Update release number.
9591
b796c9b7
SM
95922011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9595 "in" (bug#9190).
9596
2239d7d5
LMI
95972011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9598
e07dd7c3
LMI
9599 * mail/sendmail.el (sendmail-query-once): Restore the current
9600 buffer after querying (bug#9074).
9601
0e6a2bd7
LMI
9602 * dired.el (dired-flagged): Use different faces for marked and
9603 flagged files (bug#6117).
9604
ce887515
LMI
9605 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9606 (bug#4433).
9607
92f2affc
LMI
9608 * ido.el (ido-mode): Switch off the message if called
9609 non-interactively.
9610
57d5aff0
LMI
9611 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9612 before 587, since it appears that that's more likely to work for
9613 more people.
9614
98cd6c18 9615 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9616 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9617 exist.
9618
b96dec83
LMI
9619 * info.el: Remove the `Info-beginning-of-buffer' function
9620 (bug#8325).
9621
b796c9b7
SM
9622 * net/network-stream.el (network-stream-open-starttls):
9623 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9624
d90e2ea0
MR
96252011-08-01 Martin Rudalics <rudalics@gmx.at>
9626
9627 * window.el (display-buffer-in-window): Don't set dedicated status
9628 of window here (Bug#9215).
9629 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9630 (display-buffer-pop-up-side-window)
b796c9b7 9631 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9632
cca09170
SM
96332011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9636 before binding generated-autoload-file.
9637
027b979c
DD
96382011-08-01 Deniz Dogan <deniz@dogan.se>
9639
9640 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9641
3c7ee4f3
MA
96422011-07-30 Michael Albinus <michael.albinus@gmx.de>
9643
9644 Sync with Tramp 2.2.2.
9645
9646 * net/trampver.el: Update release number.
9647
2cc8e51a
JL
96482011-07-30 Juri Linkov <juri@jurta.org>
9649
9650 * dired-aux.el (dired-touch-initial): Remove function.
9651 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9652 current time, and `default' to the last modification time of the
9653 current marked file (bug#6887).
9654
a514d856
JM
96552011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9656
9657 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9658 numeric argument to read-number (bug#9163).
a514d856 9659
8a7eddd7
MA
96602011-07-27 Michael Albinus <michael.albinus@gmx.de>
9661
9662 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9663 connection process, it could be nil.
9664
1ddd96f5
LL
96652011-07-27 Leo Liu <sdl.web@gmail.com>
9666
9667 Simplify url handling in rcirc-mode.
9668
9669 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9670 (rcirc-browse-url-at-mouse): Remove.
9671 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9672
b248a85d
AM
96732011-07-26 Alan Mackenzie <acm@muc.de>
9674
9675 Fontify bitfield declarations properly.
9676
9677 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9678 (c-symbol-chars): Now exported as a lang variable.
9679 (c-not-primitive-type-keywords): New lang variable.
9680
9681 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9682 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9683 parsed as a bitfield declaration.
b248a85d 9684
b796c9b7
SM
9685 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9686 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9687 (c-punctuation-in): New function.
9688 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9689 declarations properly.
9690
68575ab0
UJ
96912011-07-26 Ulf Jasper <ulf.jasper@web.de>
9692
9693 * calendar/icalendar.el (icalendar--all-events): Take care of
9694 multiple vcalendars in a single file.
b796c9b7 9695 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9696
0f0a88b9
DD
96972011-07-25 Deniz Dogan <deniz@dogan.se>
9698
9699 * image.el (insert-image): Clarifying docstring.
9700
0b3f36df
MA
97012011-07-24 Michael Albinus <michael.albinus@gmx.de>
9702
9703 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9704 `tramp-send-command-and-check' if there is no error.
9705 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9706
a9901f61
AM
97072011-07-22 Alan Mackenzie <acm@muc.de>
9708
9709 Prevent cc-langs.elc being loaded at run time.
9710
9711 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9712 cc-langs.
9713
4d61f28d 9714 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9715 "(require 'cc-langs)". Quote a form so it will evaluate at
9716 (cc-mode's) compilation time.
9717
11d074b2
MA
97182011-07-22 Michael Albinus <michael.albinus@gmx.de>
9719
9720 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9721 loading. (Bug#9114)
9722
938b94c8
MR
97232011-07-21 Martin Rudalics <rudalics@gmx.at>
9724
9725 * window.el (display-buffer-pop-up-window)
9726 (display-buffer-pop-up-side-window)
9727 (display-buffer-in-side-window): Call display-buffer-set-height
9728 and display-buffer-set-width after setting the new window's
b796c9b7 9729 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9730
bfa4f190
SS
97312011-07-20 Sam Steingold <sds@gnu.org>
9732
9733 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9734 (etags-tags-included-tables): Call `convert-standard-filename' on
9735 the file names contained in TAGS so that windows Emacs can handle
9736 TAGS files created by cygwin ctags.
9737
8ca42262
LMI
97382011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9739
9740 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9741 which apparently didn't work.
9742
5db2afd2 97432011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9744
5db2afd2
RW
9745 * proced.el (proced-send-signal): For *Marked Processes* buffer
9746 put point at beginning of buffer.
9747
92e15d10
SB
97482011-07-19 Stephen Berman <stephen.berman@gmx.net>
9749
9750 * proced.el (proced-format): Make header lines align with the text
9751 (bug#1779).
9752
1bfd59e5
LMI
97532011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9754
9755 * view.el (view-buffer): Allow running in `special' modes if we're
9756 visiting a file (bug#8615).
9757
f5aae37c
MR
97582011-07-19 Martin Rudalics <rudalics@gmx.at>
9759
9760 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9761 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9762 New functions.
f5aae37c
MR
9763 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9764 more accurately.
9765
bf2c1571
AM
97662011-07-18 Alan Mackenzie <acm@muc.de>
9767
9768 Fontify declarators properly when, e.g., a jit-lock chunk begins
9769 inside a declaration.
9770
9771 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9772
b796c9b7
SM
9773 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9774 New function.
bf2c1571
AM
9775 (c-complex-decl-matchers): Insert reference to
9776 c-font-lock-enclosing-decls.
9777
9778 * progmodes/cc-engine.el (c-backward-single-comment):
9779 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9780 to nil around calls to (forward-comment -1).
9781
4e190b80
LMI
97822011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9783
12dc863d
LMI
9784 * image.el (put-image): Doc typo fix.
9785
a762e966
LMI
9786 * progmodes/etags.el (tags-search): Doc typo fix.
9787
4e190b80
LMI
9788 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9789 password if we get errors 550 to 554.
9790
f019fb21
LMI
97912011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9792
b796c9b7 9793 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9794
81746738
LMI
9795 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9796 indentation character (bug#6380).
9797
3ee3a1b5
LMI
9798 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9799
c82f64de
LMI
9800 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9801 to clarify what the problem is (bug#4291).
9802
f019fb21
LMI
9803 * simple.el (current-kill): Clarify what
9804 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9805 (auto-fill-mode): Document `auto-fill-function' in relation to
9806 `auto-fill-mode' (bug#2470).
f019fb21 9807
0794775d
LM
98082011-07-16 Lawrence Mitchell <wence@gmx.li>
9809
9810 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9811 method if slot is read-only (bug#9035).
9812
be39b8cc
MR
98132011-07-16 Martin Rudalics <rudalics@gmx.at>
9814
b796c9b7 9815 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9816 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9817 selected before, see discussion of (Bug#8615), (Bug#6954).
9818 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9819
6ccf7859
GM
98202011-07-15 Glenn Morris <rgm@gnu.org>
9821
9822 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9823 Respect help-form.
6ccf7859 9824
87e86684
LM
98252011-07-09 Lawrence Mitchell <wence@gmx.li>
9826
9827 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9828 (gnutls-negotiate): Use it.
9829
d6066239
LMI
98302011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9831
b796c9b7
SM
9832 * net/gnutls.el (gnutls-negotiate):
9833 Upcase `gnutls-algorithm-priority'.
d6066239 9834
bd23ebc0
GM
98352011-07-15 Glenn Morris <rgm@gnu.org>
9836
c65bca65
GM
9837 * jka-compr.el (jka-compr-verbose): Move from here...
9838 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9839 Add missing :version tag.
9840 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9841
478615cc
LMI
98422011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9843
7b41decb
LMI
9844 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9845 (gnutls-negotiate): Use it.
9846
dbc44fcd
LMI
9847 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9848
06789f97
LMI
9849 * info.el (Info-beginning-of-buffer): New command.
9850 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9851 announcing `b' as the key (bug#8325).
ab896c37 9852 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9853
c39da690
LMI
9854 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9855
3aa5f34b
LMI
9856 * international/mule-cmds.el
9857 (describe-specified-language-support): Make the error message
9858 clearer (bug#8905).
9859
4bf0979f
LMI
9860 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9861
478615cc
LMI
9862 * isearch.el (isearch-barrier): Add a doc string, since it's
9863 mentioned in a function doc string (bug#8678).
9864
75c68aa1
MR
98652011-07-15 Martin Rudalics <rudalics@gmx.at>
9866
9867 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9868 buffer argument (Bug#9083) and self-identifying label argument.
9869
a7c33da2
GM
98702011-07-15 Glenn Morris <rgm@gnu.org>
9871
9872 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9873
2f5c6024
LMI
98742011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9875
9876 * man.el (Man-fontify-manpage): Fix message when formatting the
9877 man page (bug#7929).
9878
0bb23927 98792011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9880
9881 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9882 argument LRM; if non-nil, append an invisible LRM character to the
9883 buffer name.
9884 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9885 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9886 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9887 paragraph direction.
cce4b0a7 9888
621ef9ab
LMI
98892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890
d1583c48
LMI
9891 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9892 the man page name (bug#7929).
9893
6a57fb5f
LMI
9894 * image.el (put-image): Mention the `put-image' overlay property
9895 (bug#7834).
9896
d7956b14
LMI
9897 * scroll-bar.el (set-scroll-bar-mode): Mention that
9898 `scroll-bar-mode' lists the values (bug#7772).
9899
5b2d4a66
LMI
9900 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9901 command (bug#7729).
9902
7509a874
LMI
9903 * rect.el (apply-on-rectangle): Return the point after the last
9904 operation.
9905 (string-rectangle): Go to the point after the last operation
9906 (bug#7522).
9907
4fe74b19
LMI
9908 * printing.el (pr-toggle-region): Clarify the documentation
9909 slightly (bug#7493).
9910
b796c9b7
SM
9911 * time.el (display-time-update):
9912 Allow `display-time-mail-function' to return nil (bug#7158).
9913 Fix suggested by Detlev Zundel.
ab283561 9914
fc233c9d
LMI
9915 * vc/diff.el (diff): Clarify the order the file names are read
9916 (bug#7111).
9917
43f5740b
LMI
9918 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9919 the doc string (bug#7015).
9920
f2182a76
LMI
9921 * font-lock.el (font-lock-maximum-decoration): Mention what
9922 numeric levels mean (bug#6935).
9923
621ef9ab
LMI
9924 * startup.el (initial-buffer-choice): Don't mention the `none'
9925 selection, which is against policy.
9926
adc47434
MR
99272011-07-14 Martin Rudalics <rudalics@gmx.at>
9928
b796c9b7
SM
9929 * window.el (display-buffer-normalize-special):
9930 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9931
7e5bfb8f
EZ
99322011-07-14 Eli Zaretskii <eliz@gnu.org>
9933
9934 * subr.el (version<, version<=, version=): Mention "-CVS" and
9935 "-12345" alpha version numbers.
9936
27fa387a
CY
99372011-07-14 Chong Yidong <cyd@stupidchicken.com>
9938
9939 * bindings.el: Add advertised binding for set-mark-command
9940 (Bug#5772).
9941
8bdfa064
CY
99422011-07-14 Chong Yidong <cyd@stupidchicken.com>
9943
9944 * bindings.el (mode-line-other-buffer):
9945 * bookmark.el (bookmark-bmenu-2-window):
9946 * bs.el (bs-cycle-next, bs-cycle-previous):
9947 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9948 switch-to-buffer.
9949
9950 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9951 Delete.
8bdfa064 9952
5eba16a3
JB
99532011-07-14 Juanma Barranquero <lekktu@gmail.com>
9954
9955 * follow.el (follow-debug-message, follow-redisplay):
9956 * jka-cmpr-hook.el (with-auto-compression-mode):
9957 Fix typos in docstrings.
9958
15853710
LMI
99592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9960
a28e4607
LMI
9961 * subr.el (with-silent-modifications): Clarify somewhat what the
9962 macro inhibits (bug#6525).
9963
15853710
LMI
9964 * simple.el (eval-expression): Note what it does if called
9965 interactively (bug#6495).
9966
bee0fcef
CY
99672011-07-13 Chong Yidong <cyd@stupidchicken.com>
9968
b796c9b7
SM
9969 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9970 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9971
9972 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9973 Remove switch-to-buffer.
9974
58274504
LMI
99752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9976
bd2fcc8d
LMI
9977 * files.el (make-directory): Clarify that an error will be raised
9978 if there's an error (bug#6397).
9979
0f04b32c
LMI
9980 * startup.el (initial-buffer-choice): Add `none' as a choice
9981 (bug#6234).
9982
465c5fc8
LMI
9983 * subr.el (add-hook): Clarify section about buffer-local hooks
9984 (bug#6218).
9985
58274504
LMI
9986 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9987
bead9a43
JB
99882011-07-13 Juanma Barranquero <lekktu@gmail.com>
9989
9990 * tabify.el (untabify): Preserve the current column so that point
9991 doesn't move (bug#6032).
9992
3af98a7b
LMI
99932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994
b796c9b7
SM
9995 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9996 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9997
6240145a
GM
99982011-07-13 Glenn Morris <rgm@gnu.org>
9999
10000 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10001 (dired-insert-directory): Give a message the first time
10002 if ls is found not to support --dired.
10003
1d8c2ccc
LMI
100042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
10006 * simple.el (toggle-truncate-lines): Clarify what is toggled
10007 (bug#5580). Text by Drew Adams.
10008
5fc4038e
CY
100092011-07-13 Chong Yidong <cyd@stupidchicken.com>
10010
10011 * simple.el (blink-matching-open): Make the error message from the
10012 last change less verbose.
10013
bf6012e5
DN
100142011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10015
10016 * font-lock.el (font-lock-comment-face): Use the high contrast
10017 "yellow" color for font-lock-comment-face on low color terminals
10018 using a dark background color (bug#4221).
10019
343c3b5a
LMI
100202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021
7e9505c5
LMI
10022 * dired.el (dired-insert-set-properties): Make the doc string
10023 reflect what it does now (bug#5325).
10024
c26fdcf5
LMI
10025 * simple.el (blink-matching-open): Say that we were unable to find
10026 the match within the limit, if we're limited (bug#5122).
10027
bb388cc5
LMI
10028 * international/mule-cmds.el (prefer-coding-system): Add an
10029 example (bug#4869).
10030
343c3b5a
LMI
10031 * progmodes/etags.el (tags-search): Document `file-list-form'
10032 (bug#4731).
10033
2a517d45
LM
100342011-07-13 Lawrence Mitchell <wence@gmx.li>
10035
10036 * net/browse-url.el (browse-url-default-browser)
10037 (browse-url-browser-function): Make the default browser choice a
10038 bit more logical (bug#4300). Also clean up the doc string.
10039
b6c78ef2
JB
100402011-07-13 Juanma Barranquero <lekktu@gmail.com>
10041
10042 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10043 binary endings (bug#4440).
10044
1c4dd947
LMI
100452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10046
a2014063
LMI
10047 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10048 which can be pretty annoying (bug#8971).
10049
9c9c2d88
LMI
10050 * jka-compr.el (jka-compr-verbose): New variable, and use
10051 throughout (bug#8971).
10052
1c4dd947
LMI
10053 * info.el (Info-find-file): Fall back on the installation
10054 directory if we can't find the info node anywhere else.
10055
a1c9f41b
SO
100562011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10057
10058 * vc/vc.el (vc-revert-file):
10059 Don't set file time-stamp in the past. (Bug#5181)
10060
536f3d36
LMI
100612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10062
7152b011
LMI
10063 * files.el (after-find-file): Give a better error message when
10064 trying to find a symlink that points to a file that doesn't exist
10065 (bug#4398).
10066
536f3d36
LMI
10067 * progmodes/cc-vars.el: Remove (probably) misleading comment
10068 (bug#4396).
10069
460c0fba
JB
100702011-07-12 Johan Bockgård <bojohan@gnu.org>
10071
10072 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10073
7a6bda45
CY
100742011-07-12 Chong Yidong <cyd@stupidchicken.com>
10075
10076 * mouse-sel.el: Hack restoring functionality, while keeping
10077 compatibility with 2010-07-03 changes to mouse selection.
10078 (mouse-sel-primary-overlay): New var.
10079 (mouse-sel-selection-alist): Use it.
10080 (mouse-sel-mode): Doc fix; remove points that are default features
10081 of mouse.el.
10082
c79598ef
JB
100832011-07-12 Johan Bockgård <bojohan@gnu.org>
10084
10085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10086 Fix previous fix (bug#2490).
10087
ff8be6ef
RW
100882011-07-12 Roland Winkler <winkler@gnu.org>
10089
b796c9b7
SM
10090 * textmodes/bibtex.el (bibtex-initialize):
10091 Use pop-to-buffer-same-window.
ff8be6ef
RW
10092 (bibtex-search-entries): Fix interactive call.
10093
296ba3ee
LMI
100942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10095
f5242a02 10096 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10097 Fontise bytecomp Error lines more correctly (bug#2490).
10098 Fix suggested by Johan Bockgård.
f5242a02 10099
296ba3ee
LMI
10100 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10101
10102 * dired-x.el (dired-guess-default): Use `delete-dups'.
10103
f69fd0d2
CY
101042011-07-12 Chong Yidong <cyd@stupidchicken.com>
10105
10106 * dired.el (dired-mark-prompt):
10107 * dired-aux.el (dired-read-shell-command): Doc fix.
10108
eab5dc07
LMI
101092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10110
b796c9b7
SM
10111 * mail/sendmail.el (sendmail-query-once):
10112 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10113 emacs -Q.
10114
10115 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10116
eab5dc07
LMI
10117 * cus-edit.el (custom-file): Take an optional no-error variable.
10118 (customize-save-variable): Set the variable, and give a warning if
10119 running under "emacs -q".
10120
a1e65d42
JB
101212011-07-11 Juanma Barranquero <lekktu@gmail.com>
10122
10123 * loadhist.el (unload-feature-special-hooks):
10124 Add `auto-coding-functions', `fill-nobreak-predicate' and
10125 `find-directory-functions' (bug#5327).
10126
1d52da10
LMI
101272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10128
be958f1d
LMI
10129 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10130
5bedb26c
LMI
10131 * cus-edit.el (custom-guess-name-alist): -alist variables should
10132 use the `alist' type (bug#3120). Suggested by Drew Adams.
10133
1d52da10
LMI
10134 * printing.el: Add documentation to all the `pr-toggle-' commands.
10135
cd394be1 101362011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10137
10138 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10139 backends where it makes sense (bug#2623).
10140
dcc88d8a
LMI
101412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10142
c3de9feb
LMI
10143 * dired-x.el (dired-guess-default): Remove duplicate shell command
10144 entries (bug#2028).
8a93078b 10145 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10146 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10147
dcc88d8a
LMI
10148 * subr.el (remove-duplicates): New conveniency function.
10149
505e3645
LMI
101502011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10151
10152 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10153 (bug#1526).
10154
101552011-07-10 Martin Rudalics <rudalics@gmx.at>
10156
10157 * window.el (display-buffer-normalize-default): Don't invert
10158 meaning of even-window-heights. Reported by Eli Zaretskii
10159 <eliz@gnu.org>.
10160
455e4fa1
BR
101612011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10162
10163 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10164
8e0bc3e9
CY
101652011-07-10 Chong Yidong <cyd@stupidchicken.com>
10166
10167 * window.el (display-buffer): Fix arguments to
10168 display-buffer-reuse-window in last change.
10169
fa7c3228
CY
10170 * faces.el (link): Use a less saturated blue on light backgrounds.
10171
10172 * startup.el (fancy-startup-text, fancy-about-text)
10173 (fancy-startup-tail): Use font-lock faces, for background safety.
10174
c0a7f300
BN
101752011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10176
b796c9b7
SM
10177 * emulation/viper-cmd.el (viper-change-state-to-vi):
10178 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10179
4dc2a129
MR
101802011-07-09 Martin Rudalics <rudalics@gmx.at>
10181
10182 * window.el (display-buffer-default-specifiers): Remove.
10183 (display-buffer-macro-specifiers): Remove default specifiers.
10184 (display-buffer-alist): Default to nil.
b796c9b7 10185 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10186 (display-buffer-pop-up-window): Allow splitting internal
10187 windows. Check whether a live window was created.
10188 (display-buffer-other-window-means-other-frame)
10189 (display-buffer-normalize-arguments): Rename to
10190 display-buffer-normalize-argument and rewrite. Set the
10191 other-window specifier.
10192 (display-buffer-normalize-special): New function.
10193 (display-buffer-normalize-options): Rename to
10194 display-buffer-normalize-default and rewrite.
10195 (display-buffer-normalize-options-inhibit): Remove.
10196 (display-buffer-normalize-specifiers): Rewrite.
10197 (display-buffer): Process other-window specifier and call
10198 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10199 more faithfully.
b796c9b7 10200 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10201 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10202 (display-buffer-in-window, display-buffer-alist-set):
10203 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10204 <tassilo@member.fsf.org>.
10205
2d43b8c9
LL
102062011-07-09 Leo Liu <sdl.web@gmail.com>
10207
10208 * register.el (insert-register): Restore accidental change on
10209 2011-06-26. (Bug#9028)
10210
7f9b7c53
GM
102112011-07-09 Glenn Morris <rgm@gnu.org>
10212
10213 * subr.el (remq): Handle the empty list. (Bug#9024)
10214
f042cfd8
AS
102152011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10216
10217 * mail/sendmail.el (send-mail-function): No longer delay custom
10218 initialization.
10219 * custom.el (custom-initialize-delay): Doc fix.
10220
856b2f11
SM
102212011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10224
afae1d68
MA
102252011-07-08 Michael Albinus <michael.albinus@gmx.de>
10226
10227 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10228 human-friendly prompt.
10229
0757af94
SM
102302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10233 provided by a particular plugin.
10234
d760b731
LMI
102352011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10236
10237 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10238 save customizations (with "emacs -Q"), just set the variable
10239 instead of erroring out.
10240
10241 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10242
cd79ce90
JL
102432011-07-08 Juri Linkov <juri@jurta.org>
10244
10245 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10246 (archive-zip-update-case): Use 7z if found by `executable-find'.
10247 The order of searching the available programs is the same as in
10248 `archive-zip-extract' (bug#8968).
10249
14cc04aa
CY
102502011-07-07 Chong Yidong <cyd@stupidchicken.com>
10251
10252 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10253 (menu-bar-options-menu): Tweak descriptions.
10254
0a1848ec
LMI
102552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10256
10257 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10258 menu items into verb phrases (bug#1421). Also refill to fit under
10259 80 columns.
10260
f5bd0689
CY
102612011-07-07 Chong Yidong <cyd@stupidchicken.com>
10262
538e85c6
CY
10263 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10264 (Info-read-node-name): Doc fix (Bug#1084).
10265
f5bd0689
CY
10266 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10267 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10268 (end-of-sexp, beginning-of-sexp)
10269 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10270 (forward-symbol, forward-same-syntax, word-at-point)
10271 (sentence-at-point): Doc fix (Bug#1144).
10272
56ec5115
LMI
102732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10274
f3f8e37f
LMI
10275 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10276 should cover it (bug#1281).
10277
0757af94 10278 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10279
e9fce1ac 10280 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10281 negotiation fails, then possibly try again with a non-encrypted
10282 connection (bug#9017).
10283
56ec5115
LMI
10284 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10285 be used.
10286
c2f9aec8
RS
102872011-07-07 Richard Stallman <rms@gnu.org>
10288
10289 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10290 property, and handle its changed format.
10291 Look for the correct line number.
10292 Use file's line contents (but not past first =) to find
10293 correct line in message.
10294
ef7b981d 102952011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10296
10297 * international/characters.el (build-unicode-category-table):
10298 Delete it.
0757af94 10299 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10300
0757af94 10301 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10302 to src/chartab.c.
10303 (get-char-code-property): Call unicode-property-table-internal to
10304 load a file. Call get-unicode-property-internal where necessary.
10305 (put-char-code-property): Call unicode-property-table-internal to
10306 load a file. Call put-unicode-property-internal where necessary.
10307 put-unicode-property-internal where necessary.
0757af94
SM
10308 (char-code-property-description):
10309 Call unicode-property-table-internal to load a file.
c805dec0
KH
10310
10311 * international/charprop.el:
10312 * international/uni-bidi.el:
10313 * international/uni-category.el:
10314 * international/uni-combining.el:
10315 * international/uni-comment.el:
10316 * international/uni-decimal.el:
10317 * international/uni-decomposition.el:
10318 * international/uni-digit.el:
10319 * international/uni-lowercase.el:
10320 * international/uni-mirrored.el:
10321 * international/uni-name.el:
10322 * international/uni-numeric.el:
10323 * international/uni-old-name.el:
10324 * international/uni-titlecase.el:
10325 * international/uni-uppercase.el: Regenerate.
10326
10327 * loadup.el: Load international/charprop.el before
10328 international/characters.
10329
e14b388a
CY
103302011-07-07 Chong Yidong <cyd@stupidchicken.com>
10331
10332 * window.el (next-buffer, previous-buffer): Signal an error if
10333 called from a minibuffer window.
10334
10335 * bindings.el: Revert 2011-07-04 change.
10336
354cf0ba
RS
103372011-07-06 Richard Stallman <rms@gnu.org>
10338
10339 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10340 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10341 Treat markers like ints.
10342 (rmail-mime-entity): Doc fix.
10343
a48868a7
LMI
103442011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10345
4906cd3d
LMI
10346 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10347 defcustom again for backwards compatibility.
10348
e0457abe
LMI
10349 * simple.el (shell-command-on-region): Fill.
10350
d67f7e1f
LMI
10351 * dired-aux.el (dired-kill-line): Add a doc string.
10352
fe204702
LMI
10353 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10354 to "\\sw\\|\\s_" (bug#358).
10355
a48868a7
LMI
10356 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10357 (dired-unmark-backward): Ditto.
10358 (dired-flag-backup-files): Ditto.
10359
10360 * dired-x.el (dired-mark-sexp): Ditto.
10361
aa8a705c
RS
103622011-07-06 Richard Stallman <rms@gnu.org>
10363
10364 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10365 (rmail-mime-entity): New arg TRUNCATED.
10366 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10367 New functions.
10368 (rmail-mime-save): Warn if entity is truncated.
10369 (rmail-mime-toggle-hidden): Likewise, for showing.
10370 (rmail-mime-process-multipart): Record when an entity is truncated.
10371
a9a936b9
RS
10372 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10373 if ENTITY is a string.
10374
1f2b92cb
LMI
103752011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10376
f4f73198 10377 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10378 of faces when `M-C-x'-ing their definitions (bug#8378).
10379 Also clean up the code slightly.
f4f73198 10380
12b16734 10381 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10382 because that makes the colors go away.
12b16734 10383
f0691d22
LMI
10384 * mail/sendmail.el (send-mail-function): Change the default to
10385 `sendmail-query-once'.
9e87df06 10386 (sendmail-query-once): Add an autoload cookie.
f0691d22 10387
1f2b92cb
LMI
10388 * net/network-stream.el (network-stream-open-starttls): Try using
10389 a plain connection even if the server offered STARTTLS, and we
10390 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10391 capability. This should make smtpmail.el work in slightly more
10392 configurations.
10393
1cdd2a1b
MA
103942011-07-06 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10397 New defun.
10398 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10399
fbcc67e2
MM
104002011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10401
10402 * progmodes/sql.el: Version 3.0
0757af94 10403 (sql-product-alist): Add product :completion-object,
fbcc67e2 10404 :completion-column, and :statement attributes.
0757af94 10405 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10406 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10407 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10408 ansi keywords.
10409 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10410 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10411 (sql-oracle-show-reserved-words): New function for development.
10412 (sql-product-font-lock): Simplify for source code buffers.
10413 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10414 New functions.
10415 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10416 (sql-mode-map): Add statement movement functions.
10417 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10418 New variable.
fbcc67e2
MM
10419 (sql-statement-regexp, sql-beginning-of-statement)
10420 (sql-end-of-statement, sql-signum): New functions.
0757af94 10421 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10422 (sql-show-sqli-buffer): Bug fix.
10423 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10424 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10425 with sql-interactive-mode.
10426 (sql-save-connection): Save buffer local settings.
0757af94 10427 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10428 (sql-product-interactive): Bug fix.
10429 (sql-preoutput-hold): New variable.
10430 (sql-interactive-remove-continuation-prompt): Bug fixes.
10431 (sql-debug-redirect): New variable.
10432 (sql-str-literal): New function.
10433 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10434 Redesign.
fbcc67e2
MM
10435 (sql-oracle-save-settings, sql-oracle-restore-settings)
10436 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10437 (sql-completion-object, sql-completion-column)
10438 (sql-completion-sqlbuf): New variables.
10439 (sql-build-completions-1, sql-build-completions)
10440 (sql-try-completion): New functions.
10441 (sql-read-table-name): Use them.
10442 (sql-contains-names): New buffer local variable.
10443 (sql-list-all, sql-list-table): Use it.
10444 (sql-oracle-completion-types): New variable.
10445 (sql-oracle-completion-object, sql-sqlite-completion-object)
10446 (sql-postgres-completion-object): New functions.
10447
d4eaeab1
GM
104482011-07-06 Glenn Morris <rgm@gnu.org>
10449
10450 * window.el (pop-to-buffer): Doc fix.
10451
322b7dab 104522011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10453
10454 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10455
322b7dab 104562011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10457
322b7dab 10458 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10459
322b7dab 10460 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10461
605dd5bf
CY
104622011-07-05 Chong Yidong <cyd@stupidchicken.com>
10463
10464 * button.el (button): Inherit from link face. Suggested by Dan
10465 Nicolaescu.
10466
7dbfa719
SM
104672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10468
3db614b0
SM
10469 * progmodes/gdb-mi.el: Fit in 80 columns.
10470 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10471 switch-to-buffer.
10472
7dbfa719
SM
10473 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10474 if imenu is simply not configured (bug#8941).
10475
919d884a
KM
104762011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10477
10478 * allout.el (allout-post-undo-hook): New allout outline-change
10479 event hook to signal undo activity.
10480 (allout-post-command-business): Run allout-post-undo-hook if an
10481 undo just occurred.
7dbfa719
SM
10482 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10483 * allout-widgets.el (allout-widgets-after-undo-function):
10484 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10485 in the vicinity of an undo.
10486 (allout-widgets-mode): Include allout-widgets-after-undo-function
10487 on the new allout-post-undo-hook.
10488
450a0f09
SM
104892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10492 Let define-derived-mode define it.
10493 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10494 cycles of abbrev-table inheritance (bug#8998).
10495
2de69e00
RW
104962011-07-05 Roland Winkler <winkler@gnu.org>
10497
10498 * textmodes/bibtex.el: Add support for biblatex.
10499 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10500 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10501 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10502 (bibtex-entry-alist, bibtex-field-alist): New variables.
10503 (bibtex-entry-field-alist): Obsolete alias for
10504 bibtex-BibTeX-entry-alist.
10505 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10506 (bibtex-set-dialect): New command.
10507 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10508 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10509 Bind via bibtex-set-dialect.
2de69e00
RW
10510 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10511 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10512 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10513 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10514 Define via bibtex-set-dialect.
450a0f09
SM
10515 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10516 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10517 (bibtex-vec-push, bibtex-vec-incr): New functions.
10518 (bibtex-format-entry, bibtex-field-list)
10519 (bibtex-print-help-message, bibtex-validate)
10520 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10521
2dcdbdd9
SM
105222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10523
10524 * progmodes/compile.el (compilation-goto-locus):
10525 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10526 * bs.el (bs-cycle-next, bs-cycle-previous):
10527 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10528 * bindings.el (mode-line-other-buffer):
10529 * autoinsert.el (auto-insert):
10530 * arc-mode.el (archive-extract):
10531 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10532
b27640fe
JB
105332011-07-05 Juanma Barranquero <lekktu@gmail.com>
10534
10535 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10536 Fix check of `emacs-lock-unlockable-modes'.
10537 Coerce true values of `emacs-lock--try-unlocking' to t.
10538
53bbe3ad
JB
105392011-07-05 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10542 * emacs-lock.el: New file.
10543
1d3cdbc7
JD
105442011-07-05 Julien Danjou <julien@danjou.info>
10545
10546 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10547 than `boundp' to check if face is set.
10548
9173deec
JB
105492011-07-05 Juanma Barranquero <lekktu@gmail.com>
10550
10551 * register.el (registerv-make):
10552 * window.el (window-min-height): Fix typos in docstrings.
10553
869795d6
JD
105542011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10555
9173deec 10556 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10557 Update doc string.
10558
b768cdcd
JB
105592011-07-04 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * server.el (server-execute): Catch quit and call
10562 `server-return-error' to pass the error back to emacsclient and
10563 close the connection (bug#8942).
10564
13aa217b
KM
105652011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10566
10567 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10568 insecure exception for current topic. Also note that auto-saves
10569 are handled differently.
10570
5d3385a0 10571 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10572 State variables for tracking auto-save inhibition situation.
10573
10574 (allout-write-contents-hook-handler): Rename from
10575 'allout-write-file-hook-handler', and describe how it depends on
10576 write-contents-functions sensitivity to non-nil value to prevent
10577 file write.
10578
10579 (allout-auto-save-hook-handler): Remove. auto-save does not check
10580 this in individual buffers, only in the starting buffer, so this
10581 is not the right way for us to inhibit auto-save in a buffer
10582 according to its condition.
10583
10584 (allout-mode): Use new allout-write-contents-hook-handler, and
10585 only with write-contents-functions. Remove auto-save provisions -
10586 they're implemented elsewhere.
10587
10588 (allout-before-change-handler): If undo is in progress, note that
10589 for attention of allout-post-command-business.
10590
10591 (allout-post-command-business): If the command we're following was
10592 an undo, check for change in the status of encrypted items and
10593 adjust auto-save inhibitions accordingly.
10594
10595 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10596 according to whether there are or aren't any plain-text topics
10597 pending encryption.
10598
2dcdbdd9 10599 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10600 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10601 if there are plain-text topics pending encryption.
13aa217b
KM
10602
10603 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10604 buffer-saved-size and some allout state to not inhibit auto-saves
10605 if there are no longer any plain-text topics pending encryption.
10606
0757af94
SM
10607 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10608 No longer provide for exemption of the current topic.
13aa217b 10609
ac89b32c
JL
106102011-07-04 Juri Linkov <juri@jurta.org>
10611
10612 Add 7z operations to delete and save changed members (bug#8968).
10613 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10614 New defcustoms.
10615 (archive-7z-write-file-member): New function.
10616 (archive-7z-summarize): Fix the number of dashes in the
10617 listing output.
10618
8fa39615
SM
106192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10620
10621 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10622 (bug#8958).
10623
2f11b3f1
CY
106242011-07-04 Chong Yidong <cyd@stupidchicken.com>
10625
d66fef2b
CY
10626 * bindings.el: Ignore next-buffer and previous-buffer in
10627 minibuffer-local-map.
10628
2f11b3f1
CY
10629 * font-lock.el (font-lock-builtin-face): Change light background
10630 color to dark slate blue (Bug#6693).
10631
f932a347
WD
106322011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10633
10634 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10635
c8af70e1
SM
106362011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10640 Add switch-to-buffer.
10641
f158badc
LMI
106422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10643
10644 * isearch.el (isearch-search-fun-function): Clarify further the
10645 meaning of the function returned.
10646
6d95bd46
MA
106472011-07-04 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10650
10651 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10652 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10653 Use it.
10654 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10655 `tramp-default-remote-path' does not exist.
10656 (tramp-send-command-and-read): New optional argument NOERROR.
10657 (tramp-open-connection-setup-interactive-shell)
10658 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10659 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10660 (tramp-process-sentinel): Flush also process' connection property.
10661 (tramp-sh-handle-start-file-process): Do not set process
10662 sentinel. It is done now ...
10663 (tramp-maybe-open-connection): ... here. (Bug#8929)
10664
909e6b67
MK
106652011-07-04 MON KEY <monkey@sandpframing.com>
10666
10667 * play/animate.el (animate-string): Doc fixes and allow changing
10668 the buffer name (bug#5417).
10669
106702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10671
c8af70e1 10672 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10673
f34755dc
PE
106742011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10675
396cec72
PE
10676 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10677 This is simpler and helps future-proof the code.
10678 (timer-until): Use time-subtract and float-time.
08235028 10679 (timer--time-less-p): Use time-less-p.
f34755dc 10680
56e6cc31
JB
106812011-07-04 Juanma Barranquero <lekktu@gmail.com>
10682
3abb79e5
JB
10683 * type-break.el (timep): Use the value of `float-time' to avoid a
10684 byte-compiler warning.
10685
56e6cc31
JB
10686 * server.el (server-eval-and-print): Return any result, even nil.
10687
7b9430b4
PE
106882011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10689
10690 * type-break.el: Accept time formats that the builtins accept.
10691 (timep, type-break-time-difference): Accept any format that
10692 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10693 This is simpler and helps future-proof the code.
10694 (type-break-time-difference): Round rather than ignoring
10695 subseconds components.
10696
3034e9e7
LMI
106972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10698
10699 * info.el (Info-apropos-matches): Make non-interactive, since it
10700 doesn't seem to do anything useful as a command (bug#8829).
10701
1485f4c0
CY
107022011-07-03 Chong Yidong <cyd@stupidchicken.com>
10703
10704 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10705 Move from faces.el.
1485f4c0
CY
10706 (frame-default-terminal-background): New function.
10707
10708 * custom.el (custom-push-theme): Don't record faces in `changed'
10709 theme; this doesn't work correctly for per-frame face settings.
10710 (disable-theme): Use face-set-after-frame-default to reset faces.
10711 (custom--frame-color-default): New function.
10712
9fa3dd45
LMI
107132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10714
c8af70e1 10715 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10716 (bug#8769).
10717
6cbbc20c
KR
107182011-03-29 Kevin Ryde <user42@zip.com.au>
10719
10720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10721 `perl-Test2' extend to match possible "fail #N" rep count
10722 (bug#8377).
10723
c7f98048
LMI
107242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10725
65676592
LMI
10726 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10727 `smtpmail-via-smtp' now returns the error instead of nil.
10728
c7f98048
LMI
10729 * isearch.el (isearch-search-fun-function): Clarify the doc string
10730 (bug#8101).
10731
56e6cc31 107322011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10733
10734 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10735 unnecessary spaces (bug#8987).
10736
2b216704
LMI
107372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10738
10739 * net/network-stream.el (open-network-stream): Use the
10740 :end-of-capability command thoughout.
10741
107422011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10743
10744 * net/network-stream.el (open-network-stream): Add the
10745 :end-of-capability command parameter, used by pop3.el.
10746
36adf6ce
LMI
107472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10748
1ca0da0e
LMI
10749 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10750
fc00f69c
LMI
10751 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10752 for list)" (bug#6475).
10753
28fd8759 10754 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10755 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10756 an error (bug#6297).
10757
0dd8b6da
LMI
10758 * man.el (Man-reference-regexp): Allow matching possible
10759 word-wrapped references (bug#6289).
10760
ce1438d6
LMI
10761 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10762 for consistency with the other vc buffers (bug#6197).
10763 (vc-checkin): Ditto.
10764
10765 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10766
36adf6ce
LMI
10767 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10768
e83cc1f7
LMI
107692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10770
8a20ca4c
LMI
10771 * custom.el (defcustom): Clarify that :set is only used in the
10772 Customize user interface (bug#6089).
10773
83319045
LMI
10774 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10775 associated with a file, refuse to run instead of erroring out
10776 (bug#6084).
10777
a8392169
LMI
10778 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10779 the doc string, since it appears that using `fill-column' always
10780 controls the width (bug#7845).
10781
e83cc1f7
LMI
10782 * simple.el (shell-command-on-region): Say where the error output
10783 went if `shell-command-default-error-buffer' is set (bug#6857).
10784
e47ca23b
KM
107852011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10786
10787 * allout.el (allout-yank-processing): Adjust cursor position for
10788 backwards-deleted space.
10789
10790 (allout-rebullet-heading): Register changes with
10791 allout-exposure-changed-hook, so the modified topic is properly
10792 decorated.
10793
5cf56143
LMI
107942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10795
08549772
LMI
10796 * minibuffer.el (completion-in-region): Document PREDICATE
10797 (bug#7136).
10798
48e96771
LMI
10799 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10800 of keyword/argument pairs (bug#6904).
10801
c8af70e1
SM
10802 * replace.el (multi-occur):
10803 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10804
e17d05e2
LMI
108052011-07-02 Drew Adams <drew.adams@oracle.com>
10806
10807 * dired.el (dired-mark-if): Make the message about whether it's
10808 marking or unmarking clearer (bug#8523).
10809
063b0e45
LMI
108102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10811
10812 * disp-table.el (display-table-print-array): New function.
10813 (describe-display-table): Use it to print the vectors more pretty
10814 (Bug#8859).
10815
28545e04
MR
108162011-07-02 Martin Rudalics <rudalics@gmx.at>
10817
10818 * window.el (window-state-get-1): Don't assign clone numbers.
10819 Add clone-of item to list of window parameters.
10820 (window-state-put-2): Don't process clone numbers.
10821 (display-buffer-alist): Fix doc-string.
10822
3349e122
SM
108232011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * subr.el (remq): Don't allocate if it's not needed.
10826 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10827 (keymap--merge-bindings): New functions.
10828 (keymap-canonicalize): Use them to refine the canonicalization.
10829 * minibuffer.el (minibuffer-local-completion-map)
10830 (minibuffer-local-must-match-map): Move initialization from C.
10831 (minibuffer-local-filename-completion-map): Move initialization from C;
10832 don't inherit from anything here.
10833 (minibuffer-local-filename-must-match-map): Make obsolete.
10834 (completing-read-default): Use make-composed-keymap to combine
10835 minibuffer-local-filename-completion-map with either
10836 minibuffer-local-must-match-map or
10837 minibuffer-local-filename-completion-map.
10838
d224ac83
GM
108392011-07-01 Glenn Morris <rgm@gnu.org>
10840
3de63bf8
GM
10841 * type-break.el (type-break-time-sum): Use dolist.
10842
d224ac83
GM
10843 * textmodes/flyspell.el (flyspell-word-search-backward):
10844 Replace CL function.
10845
1a1e3f32
SM
108462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10847
fe3f64d5
SM
10848 * mouse.el (mouse--strip-first-event): New function.
10849 (function-key-map): Use it to map fringe clicks to normal clicks
10850 by default.
10851
eb604e34
SM
10852 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10853 (vc-bzr-revision-completion-table): Add support for annotate and date.
10854
1a1e3f32
SM
10855 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10856 inherit from parent.
10857
5bd35902
LMI
108582011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10859
ace6c69c 10860 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10861 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10862
191e2bed
LMI
10863 * dired.el (dired-mode): Fix up the doc string as suggested by
10864 Drew Adams (bug#8817).
10865
5bd35902
LMI
10866 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10867 cookie, since the manual says that it should be possible to add
10868 this function to `find-file-hook' (bug#8709).
10869
eee8207a
TZ
108702011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10871
10872 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10873 here. Noted Ted Zlatanov as the maintainer.
10874 (cfengine-common-settings, cfengine-common-syntax): New functions
10875 to set up common things between `cfengine-mode' and
10876 `cfengine3-mode'.
10877 (cfengine3-mode): New mode.
10878 (cfengine3-defuns cfengine3-defuns-regex
10879 (cfengine3-class-selector-regex cfengine3-category-regex)
10880 (cfengine3-vartypes cfengine3-font-lock-keywords)
10881 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10882 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10883
36b148cf
MA
108842011-07-01 Michael Albinus <michael.albinus@gmx.de>
10885
10886 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10887
10888 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10889
0bf4ba9a
MR
108902011-07-01 Martin Rudalics <rudalics@gmx.at>
10891
10892 * window.el (same-window-buffer-names, same-window-regexps)
10893 (same-window-p, special-display-frame-alist)
10894 (special-display-popup-frame, special-display-function)
10895 (special-display-buffer-names, special-display-regexps)
10896 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10897 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10898 (split-window-preferred-function, split-height-threshold)
10899 (split-width-threshold, even-window-heights)
10900 (display-buffer-mark-dedicated, window-splittable-p)
10901 (split-window-sensibly, window-safely-shrinkable-p):
10902 Un-obsolete.
10903 (display-buffer): Don't spread args with function specifier
10904 because special-display-popup-frame won't like it.
10905
35837f51
PE
109062011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10907
d0672f86
PE
10908 Time-stamp simplifications and fixes.
10909 These improve accuracy slightly, and future-proof the code
10910 against some potential changes to current-time format.
10911
b9444d97
PE
10912 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10913 by using time-since and float-time.
10914
0ef923dc
PE
10915 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10916 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10917 + NNN microseconds".
10918
2f81380d
PE
10919 * type-break.el (type-break-time-sum): Rewrite using time-add.
10920
845b5c3e
PE
10921 * play/hanoi.el (hanoi-current-time-float): Remove.
10922 All uses replaced by float-time.
10923
ee6f1be0
PE
10924 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10925 This yields a more-accurate answer.
10926 (rng-time-to-float): Remove; no longer needed.
10927
fe955043
PE
10928 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10929
5777162a
PE
10930 * calendar/timeclock.el (timeclock-seconds-to-time):
10931 Defalias to seconds-to-time, since they're the same thing.
10932
3103f8b6 10933 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10934 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10935 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10936
0e61a35f
SM
109372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * window.el (bury-buffer): Don't iconify the only frame.
10940 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10941 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10942
ddd63a1e
CY
109432011-07-01 Chong Yidong <cyd@stupidchicken.com>
10944
0e61a35f
SM
10945 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10946 Add mouse-yank-primary.
ddd63a1e 10947
055f4923
TZ
109482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10949
10950 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10951
6a2fb145
SM
109522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10955 (find-library-name): Use it to find relative load names when provided
10956 absolute file name (bug#8803).
10957
fd4983f2
LMI
109582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10959
887d14ad
LMI
10960 * textmodes/flyspell.el (flyspell-word): Consider words that
10961 differ only in case as potential doublons (bug#5687).
10962
c53dc7fc
LMI
10963 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10964 Remove two rather uninteresting debugging-like messages to make
10965 debbugs.el more silent.
10966
fd4983f2
LMI
10967 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10968 a password-like phrase.
10969
7a71b18d 109702011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10971
10972 * progmodes/cc-guess.el: New file.
10973
6a2fb145 10974 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10975
10976 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10977 derived from `c-basic-common-init'.
10978
10979 * progmodes/cc-mode.el (top-level): Require cc-guess.
10980 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10981
1fa280a3
LM
109822011-06-30 Lawrence Mitchell <wence@gmx.li>
10983
10984 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10985
e6597158
AM
109862011-06-30 Alan Mackenzie <acm@muc.de>
10987
1fa280a3
LM
10988 * progmodes/cc-engine.el (c-guess-continued-construct):
10989 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10990 lock is disabled. Name this case as "CASE G".
10991
68ba37fb
KM
109922011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10993
10994 * allout.el (allout-yank-processing): Fix injection of extra space
10995 between bullet and non-whitespace character in first topic when
10996 pasting, ensuring that the actual spacing in the pasted topic
10997 following the bullet char is preserved. This extra space was
10998 causing pasted encrypted topics to get a decrypted status even
10999 when the content was actually still encrypted. Now the decryption
11000 status from before the paste is preserved.
11001
11002 (allout-flag-region): Set all allout overlays so they evaporate
11003 when reduced to zero length (evanescent), to prevent overlay
11004 leakage.
11005
887a0b34
GM
110062011-06-30 Glenn Morris <rgm@gnu.org>
11007
94b9acce
GM
11008 * w32-fns.el (w32-charset-info-alist): Declare.
11009
1d9b46d4
GM
11010 * find-dired.el (find-grep-options): Simplify.
11011
cc232200
GM
11012 * term/ns-win.el (ns-set-resource): Declare.
11013
28e77c46
GM
11014 * ses.el (row, col): Declare dynamic variables honestly.
11015
887a0b34
GM
11016 * textmodes/reftex-parse.el (index-tags): Declare.
11017
658d8eb8
CY
110182011-06-30 Chong Yidong <cyd@stupidchicken.com>
11019
11020 * cus-edit.el (customize-push-and-save): New function.
11021
11022 * files.el (hack-local-variables-confirm): Use it.
11023
1fa280a3
LM
11024 * custom.el (load-theme): New arg NO-CONFIRM.
11025 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11026 (custom-enabled-themes): Doc fix.
11027
11028 * cus-theme.el (customize-create-theme)
11029 (custom-theme-merge-theme): Callers to load-theme changed.
11030
bb617717
LMI
110312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11032
d61bdd5d
LMI
11033 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11034 short URLs have at least one dot in them (bug #7614).
11035
bb617717
LMI
11036 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11037 nil, because using a pty is apparently too slow (bug #895).
11038
2f31f37a
LMI
110392011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11040
11041 * mail/sendmail.el (sendmail-query-once): New function.
11042 (sendmail-query-once-function): New variable.
11043
3076b24e
GM
110442011-06-29 Glenn Morris <rgm@gnu.org>
11045
faf2a174
GM
11046 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11047
3076b24e
GM
11048 * ses.el (top-level): Require cl when compiling.
11049 (ses-set-localvars): Fix error statement.
11050 Call it at compile time to silence a storm of warnings.
11051
5386012d
MR
110522011-06-29 Martin Rudalics <rudalics@gmx.at>
11053
11054 * window.el (normalize-live-buffer): Rename to
11055 window-normalize-buffer.
11056 (normalize-live-frame): Rename to window-normalize-frame.
11057 (normalize-any-window): Rename to window-normalize-any-window.
11058 (normalize-live-window): Rename to window-normalize-live-window.
11059 (make-window-atom): Rename to window-make-atom.
11060 (window-resize-reset): Rename to window--resize-reset.
11061 (window-resize-reset-1): Rename to window--resize-reset-1.
11062 (resize-mini-window): Rename to window--resize-mini-window.
11063 (resize-subwindows-skip-p): Rename to
11064 window--resize-subwindows-skip-p.
11065 (resize-subwindows-normal): Rename to
11066 window--resize-subwindows-normal.
11067 (resize-subwindows): Rename to window--resize-subwindows.
11068 (resize-other-windows): Rename to window--resize-siblings.
11069 (resize-this-window): Rename to window--resize-this-window.
11070 (resize-root-window): Rename to window--resize-root-window.
11071 (resize-root-window-vertically): Rename to
11072 window--resize-root-window-vertically.
11073 (normalize-buffer-to-display): Rename to
11074 window-normalize-buffer-to-display.
11075 (normalize-buffer-to-switch-to): Rename to
11076 window-normalize-buffer-to-switch-to.
11077 Correspondingly update all callers of the functions listed
11078 above.
11079 (display-buffer-alist, display-buffer-normalize-arguments)
11080 (display-buffer-normalize-options, display-buffer)
11081 (display-buffer-alist-set): Use "function" instead of
11082 "fun-with-args".
11083
1176868d
CY
110842011-06-28 Chong Yidong <cyd@stupidchicken.com>
11085
11086 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11087 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11088 debbugs.gnu.org. Mention acknowledgment email.
11089
20a7a65f
LMI
110902011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11091
11092 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11093 buffer multibyteness, since it shouldn't matter.
11094
5f45cca5
MR
110952011-06-28 Martin Rudalics <rudalics@gmx.at>
11096
11097 * window.el (display-buffer-in-side-window): Handle dedicated
11098 windows as in display-buffer-reuse-window.
11099 (display-buffer-normalize-alist): Use value of override
11100 specifier.
11101 (display-buffer-normalize-specifiers): Use value of
11102 other-window-means-other-frame specifier.
11103 (display-buffer-alist): Rewrite some texts in widgets.
11104 (display-buffer): Spread arguments when calling function
11105 specified by fun-with-args.
11106
ad85fe1f
DD
111072011-06-28 Deniz Dogan <deniz@dogan.se>
11108
1fa280a3
LM
11109 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11110 Unnest `let'.
da68c4c8 11111
ad85fe1f
DD
11112 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11113 selectors (Bug#5732).
ec49bd31 11114 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11115
a08cc025
JA
111162011-06-27 Jari Aalto <jari.aalto@cante.net>
11117
11118 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11119 (eshell-ls-date-format): New defcustom.
11120 (eshell-ls-file): Use it.
11121
e2b551c5
SM
111222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11125
8982b231
KY
111262011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11127
11128 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11129 (ange-ftp-make-tmp-name): New arg.
11130 (ange-ftp-file-local-copy): Use it.
11131
36c9fa27
J
111322011-06-27 Jambunathan K <kjambunathan@gmail.com>
11133
11134 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11135 no-conversion (Bug#8870).
11136
d68443dc
MR
111372011-06-27 Martin Rudalics <rudalics@gmx.at>
11138
11139 * window.el (window-right, window-left, window-child)
11140 (window-child-count, window-last-child)
11141 (window-iso-combination-p, walk-window-tree-1)
11142 (window-atom-check-1, window-tree-1, delete-window)
11143 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11144 new naming conventions - window-vchild, window-hchild,
11145 window-next and window-prev are now called window-top-child,
11146 window-left-child, window-next-sibling and window-prev-sibling
11147 respectively.
d615d6d2
MR
11148 (resize-window-reset): Rename to window-resize-reset.
11149 (resize-window-reset-1): Rename to window-resize-reset-1.
11150 (resize-window): Rename to window-resize.
11151 (window-min-height, window-min-width)
11152 (resize-mini-window, resize-this-window, resize-root-window)
11153 (resize-root-window-vertically, adjust-window-trailing-edge)
11154 (enlarge-window, shrink-window, maximize-window)
11155 (minimize-window, delete-window, quit-restore-window)
11156 (split-window, balance-windows, balance-windows-area-adjust)
11157 (balance-windows-area, window-state-put-2)
11158 (display-buffer-even-window-sizes, display-buffer-set-height)
11159 (display-buffer-set-width, set-window-text-height)
11160 (fit-window-to-buffer): Rename all "resize-window" prefixed
11161 calls to use the "window-resize" prefix convention.
11162 (display-buffer-alist): Fix symbol for label specifier.
11163 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11164 corresponding specifier.
11165 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11166
b6458526
VB
111672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11168
11169 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11170 convention.
11171 (ses-call-printer): Does not pass an empty string to formatter when the
11172 cell is empty to keep from barking printer Calc math-format-value.
11173
d31fd9ac
RS
111742011-06-27 Richard Stallman <rms@gnu.org>
11175
43d5bf84
RS
11176 * battery.el (battery-mode-line-limit): New variable.
11177 (battery-update): Handle it.
11178
d31fd9ac
RS
11179 * mail/rmailmm.el (rmail-mime-process-multipart):
11180 Handle truncated messages.
11181
819a6054
GM
111822011-06-27 Glenn Morris <rgm@gnu.org>
11183
11184 * progmodes/flymake.el (flymake-err-line-patterns):
11185 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11186
cedc73f2
VB
111872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11188
819a6054 11189 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11190 (ses--clean-!, ses--clean-_): New functions.
11191 (ses-range): Add configurability of readout order, and conversion
11192 to Calc vector.
11193
5e5d49b6
VB
11194 * ses.el (ses-repair-cell-reference-all): New function.
11195 (ses-cell-symbol): Set macro as safe, so that it can be used in
11196 formulas.
11197
56e6cc31 11198 * ses.el: Update cycle detection algorithm.
90ca8b49 11199 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11200 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11201 (ses-set-localvars): New function.
11202 (ses-make-cell): Add property-list as a cell element.
11203 (ses-cell-property-get-fun, ses-cell-property-get)
11204 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11205 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11206 New functions.
90ca8b49
VB
11207 (ses-cell-property-set, ses-cell-property-pop)
11208 (ses-cell-property-get-handle): New macro.
11209 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11210 New aliases, used for code readability.
11211 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11212 cycle detection.
11213 (ses-self-reference-early-detection): New defcustom.
fac916bf 11214 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11215 (ses-mode): Use ses-set-localvars.
11216 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11217 before lauching the update processing.
11218 (ses-initialize-Dijkstra-attempt): New function.
11219 (ses-recalculate-cell): Update for cycle detection based on
11220 Dijkstra algorithm.
11221
2bb63e81
VB
11222 * ses.el: Fix commenting and indenting convention.
11223
c9d29fb8
SM
112242011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * bs.el (bs-cycle-next): Complete last change.
11227
d8e4b68b
JB
112282011-06-27 Drew Adams <drew.adams@oracle.com>
11229
11230 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11231
40098786
LMI
112322011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11233
c9d29fb8
SM
11234 * net/network-stream.el (network-stream-open-starttls):
11235 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11236 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11237
40098786
LMI
11238 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11239 to binary to possibly avoid line encoding issues on Windows (among
11240 other things).
11241
468d09d4
LMI
112422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11243
11244 * net/network-stream.el (open-network-stream): Return an :error
11245 saying what the problem was, if possible.
11246
11247 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11248 server.
11249
11250 * net/network-stream.el (network-stream-open-starttls): If we
11251 wanted to use STARTTLS, and the server offered it, but we weren't
11252 able to because we had no STARTTLS support, then close the connection.
11253 (open-network-stream): Return an :error element, if present.
11254
16f07dd7
CY
112552011-06-26 Chong Yidong <cyd@stupidchicken.com>
11256
88821ca0
CY
11257 * hl-line.el (hl-line-sticky-flag): Doc fix.
11258 (global-hl-line-sticky-flag): New option (Bug#8323).
11259 (global-hl-line-highlight): Obey it.
11260
16f07dd7
CY
11261 * vc/vc.el (vc-revert-show-diff): Default to t.
11262
6b5ccddf
KM
112632011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11264
c9d29fb8
SM
11265 * allout-widgets.el (allout-widgets-post-command-business):
11266 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11267 undecorated when an isearch is continued past, and isearch
11268 automatically collapses them. This leads to "widget leaks", where
11269 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11270 hidden widgets can slow down cursor travel, substantially.
11271 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11272 so we're doing without this nicety.
11273
11274 (allout-widgets-tally-string): Don't try to do a hash-table-count
11275 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11276 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11277 *Messages* when allout-widgets-maintain-tally is t.
11278
355f2e07
MR
112792011-06-26 Martin Rudalics <rudalics@gmx.at>
11280
11281 * window.el (display-buffer-normalize-argument): Rename to
11282 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11283 LABEL argument. Respect special-display-function when popping up
11284 a new frame. Fix code searching for a window showing the buffer
11285 on another frame.
c9d29fb8
SM
11286 (display-buffer-normalize-specifiers):
11287 Call display-buffer-normalize-arguments.
355f2e07
MR
11288 (display-buffer-in-window): Don't undedicate the window if its
11289 buffer remains the same.
11290 Reported by Drew Adams <drew.adams@oracle.com>.
11291 (display-buffer-alist): Add choice for same-window macro
11292 specfier.
11293 (display-buffer): Mention special meaning of LABEL argument in
11294 doc-string. Fix quoting. Don't pop up a new frame even as
11295 fallback.
11296
7ca8fc42
JB
112972011-06-26 Juanma Barranquero <lekktu@gmail.com>
11298
11299 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11300 avoid deleting the current window in some cases (bug#8911).
11301
bc312254
AS
113022011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11303
11304 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11305 (Bug#8934)
11306
2db18f3f
LMI
113072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11308
c9d29fb8
SM
11309 * net/network-stream.el (network-stream-open-starttls):
11310 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11311 (network-stream-open-tls): Ditto.
11312
6302e0d3
LL
113132011-06-26 Leo Liu <sdl.web@gmail.com>
11314
11315 * register.el (registerv): New struct.
11316 (registerv-make): New function.
c9d29fb8
SM
11317 (jump-to-register, describe-register-1, insert-register):
11318 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11319 struct. (Bug#8415)
11320
5fdd4046
CY
113212011-06-26 Chong Yidong <cyd@stupidchicken.com>
11322
2afef60a
CY
11323 * vc/vc.el (vc-revert-show-diff): New defcustom.
11324 (vc-diff-internal): New arg specifying diff buffer.
11325 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11326 reuse an existing *vc-diff* buffer (Bug#8927).
11327
5fdd4046
CY
11328 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11329
e93db24a
GM
113302011-06-26 Glenn Morris <rgm@gnu.org>
11331
11332 * progmodes/f90.el (f90-critical-indent): New option.
11333 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11334 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11335 (f90-mode): Doc fix.
11336 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11337 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11338 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11339 (f90-match-end): Handle block, critical.
11340
eefff499
GM
113412011-06-25 Glenn Morris <rgm@gnu.org>
11342
f6ba4cc9
GM
11343 * calendar/diary-lib.el (diary-included-files): Doc fix.
11344 (diary-include-files): New function, extracted from
11345 diary-include-other-diary-files and diary-mark-included-diary-files.
11346 (diary-include-other-diary-files, diary-mark-included-diary-files):
11347 Just call diary-include-files.
11348 (diary-mark-entries): Reset diary-included-files on first call.
11349
16712304
GM
11350 * calendar/diary-lib.el (diary-mark-entries)
11351 (diary-mark-included-diary-files):
11352 Visit included diary-files in temp buffers.
11353
5d8e0d43
GM
11354 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11355 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11356 (f90-start-block-re, f90-imenu-generic-expression)
11357 (f90-looking-at-program-block-start, f90-no-block-limit):
11358 Add support for submodules.
11359
ccf7a5d5
GM
11360 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11361 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11362
11fdef7d 113632011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11364
11365 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11366 buffer-file-type before setting its value, to avoid disastrous
eefff499 11367 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11368
74f53697
JB
113692011-06-25 Juanma Barranquero <lekktu@gmail.com>
11370
11371 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11372
11373 * ses.el (ses-unload-function):
11374 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11375
11376 * proced.el (proced-unload-function):
11377 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11378
18a4ce5e
AR
113792011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11380
11381 * server.el (server-create-window-system-frame): Add parameters arg.
11382 (server-process-filter): Doc fix. Handle frame-parameters.
11383
519d22cc
JB
113842011-06-25 Juanma Barranquero <lekktu@gmail.com>
11385
11386 Fix bug#8730, bug#8781.
11387
11388 * loadhist.el (unload--set-major-mode): New function.
11389 (unload-feature): Use it.
11390
11391 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11392 (python-unload-function): New function.
11393
c206f5b0
SM
113942011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11397
f9ad64f3
GS
113982011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11399
11400 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11401 the candidates list.
11402
7d0da90e
JB
114032011-06-24 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11406
14b4e83d
RS
114072011-06-23 Richard Stallman <rms@gnu.org>
11408
11409 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11410 (rmail-variables): Set next-error-move-function.
11411 (rmail-what-message): Take argument POS.
11412 (rmail-next-error-move): New function.
11413
273d2baf
SM
114142011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11417 messages for adjacent non-terminals.
11418
56c2cc9a
RS
114192011-06-23 Richard Stallman <rms@gnu.org>
11420
11421 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11422 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11423 (rmail-start-mail): Don't specify use of rmail-mail-return;
11424 that's done by mail-bury now.
11425 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11426
d59eb518
MA
114272011-06-23 Michael Albinus <michael.albinus@gmx.de>
11428
11429 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11430 SIZE is a number.
11431
02cfc6d6
MR
114322011-06-23 Martin Rudalics <rudalics@gmx.at>
11433
11434 * window.el (get-lru-window, get-mru-window)
11435 (get-largest-window): Never return a minibuffer window.
11436 (display-buffer-pop-up-window): Fix a bug that could lead to
11437 reusing the minibuffer window.
11438 (display-buffer): Pass original specifier argument to
11439 display-buffer-function instead of the normalized one.
11440 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11441
4e323265
LL
114422011-06-22 Leo Liu <sdl.web@gmail.com>
11443
11444 * minibuffer.el (completing-read-function)
11445 (completing-read-default): Move from minibuf.c
11446
7a70468f
RS
114472011-06-22 Richard Stallman <rms@gnu.org>
11448
50718fc2
RS
11449 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11450 to Rmail even if not started by a special Rmail command.
11451
7a70468f
RS
11452 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11453 Copy the buffer currently showing just one message.
11454
297dde5a
RW
114552011-06-22 Roland Winkler <winkler@gnu.org>
11456
11457 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11458 (bibtex-clean-entry): First delete the old key so that a
11459 customized algorithm for generating the new key does not get
11460 confused by the old key.
11461 (bibtex-url): Obey regexp of first step.
11462 (bibtex-search-entries): Do not use add-to-list with local
11463 list-var.
11464
97bb1093
LMI
114652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11466
11467 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11468 stored a user name, then query for the password first, instead of
11469 waiting for SMTP to give an error message and the trying again.
11470
1c0f1a19
JD
114712011-06-22 Lawrence Mitchell <wence@gmx.li>
11472
11473 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11474 BUFFER in call-process.
11475
396f7c9d
LMI
114762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11477
11478 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11479 QUIT twice.
ddb7ffee
LMI
11480 (smtpmail-try-auth-methods): Require user name and password from
11481 auth-source.
396f7c9d 11482
8998d1b3
MR
114832011-06-22 Martin Rudalics <rudalics@gmx.at>
11484
11485 * window.el (display-buffer-default-specifiers)
11486 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11487 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11488 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11489
11490 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11491 (special-display-frame-alist, special-display-popup-frame):
11492 Remove duplicate declarations. These are now in window.el.
11493
4ea31e07
LMI
114942011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11495
c9d29fb8
SM
11496 * mail/smtpmail.el (smtpmail-via-smtp):
11497 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11498 server supports it. SMTP servers that support STARTTLS commonly
11499 require it.
11500
11501 * net/network-stream.el (network-stream-open-starttls): Support
11502 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11503 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11504
95f41d9a
LMI
11505 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11506 upgrades with `open-network-stream', and rely solely on
11507 auth-source for all credentials. Big changes throughout the file,
11508 but in particular:
c9d29fb8
SM
11509 (smtpmail-auth-credentials): Remove.
11510 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11511 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11512 MAIL FROM, too.
95f41d9a 11513
c9d29fb8
SM
11514 * net/network-stream.el (network-stream-open-starttls):
11515 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11516 STARTTLS.
11517 (auth-source): Require.
11518 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11519 (network-stream-certificate): Change cert-cert to cert and
11520 cert-key to key.
4ea31e07 11521
065ec2c7
MA
115222011-06-21 Michael Albinus <michael.albinus@gmx.de>
11523
11524 * net/tramp-cache.el (top): Don't load the persistency file when
11525 "emacs -Q" has been called.
11526
cd93b359
DR
115272011-06-21 Tim Harper <timcharper@gmail.com>
11528
d8e4b68b
JB
11529 * term/ns-win.el (ns-initialize-window-system):
11530 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11531 resource to NO as it is not yet supported by the NS port.
11532
ae9c0411
JB
115332011-06-21 Juanma Barranquero <lekktu@gmail.com>
11534
11535 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11536 (list-dynamic-libraries): ...not here.
11537
7f3f739f
LL
115382011-06-21 Leo Liu <sdl.web@gmail.com>
11539
11540 * subr.el (sha1): Implement sha1 using secure-hash.
11541
327c8fb1
MR
115422011-06-21 Martin Rudalics <rudalics@gmx.at>
11543
11544 * window.el (display-buffer-alist): In default value do not
11545 enforce searching a window on any but the selected frame.
11546 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11547 (display-buffer-select-window): Remove function.
11548 (display-buffer-in-window): When a window on another frame gets
11549 reused, do not select it any more but just raise its frame if
11550 necessary (Bug#8851) and (Bug#8856).
11551 (display-buffer-normalize-options): Handle pop-up-frames related
11552 options more faithfully.
11553 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11554 window if it is on another frame.
c9d29fb8
SM
11555 (display-buffer-alist, display-buffer-default-specifiers):
11556 Don't make new frame unsplittable by default.
9e9de014
MR
11557 (display-buffer-normalize-argument): Fix doc-string typo and use
11558 'same-frame-other-window instead of 'other-window when associating
11559 with display-buffer-macro-specifiers.
327c8fb1 11560
7cf3f556
VB
115612011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11562
11563 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11564 New functions.
11565 (5x5-mode-map, 5x5-mode-menu): Bind them.
11566 (5x5-draw-grid): Tweak the solver's rendering.
11567
60a406cf
SM
115682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11571 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11572
d8e4b68b 115732011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11574
11575 * menu-bar.el: Use function variable instead of switch-to-buffer.
11576 (menu-bar-select-buffer-function): New variable.
60a406cf 11577 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11578
478d6f95
SM
115792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11582 variable's status.
11583
ca530739
JD
115842011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11585
11586 * x-dnd.el (x-dnd-version-from-flags)
11587 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11588 and long as number (Bug#8899).
11589 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11590
bcd70d97
SM
115912011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11592
60a406cf 11593 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11594 (completion-try-completion, completion-all-completions): Compute the
11595 metadata argument if it's missing; make it optional (bug#8795).
11596
60a406cf 11597 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11598 (widget-complete): Use new :completion-function property.
11599 (widget-completions-at-point): New function.
11600 (default): Use :completion-function instead of :complete.
60a406cf
SM
11601 (widget-default-completions): Rename from widget-default-complete;
11602 Rewrite.
bcd70d97
SM
11603 (widget-string-complete, widget-file-complete, widget-color-complete):
11604 Remove functions.
11605 (file, symbol, function, variable, coding-system, color):
11606 * international/mule-cmds.el (default-input-method, charset)
11607 (language-info-custom-alist):
11608 * cus-edit.el (face): Use new property :completions.
11609
11610 * progmodes/pascal.el (pascal-completions-at-point): New function.
11611 (pascal-mode): Use it.
11612 (pascal-mode-map): Use completion-at-point.
11613 (pascal-toggle-completions): Make obsolete.
11614 (pascal-complete-word, pascal-show-completions):
11615 * progmodes/octave-mod.el (octave-complete-symbol):
11616 Redefine as obsolete alias.
11617 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11618 Signal absence of completion info for old Octave,
11619 (inferior-octave-complete): Redefine as obsolete alias.
11620 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11621 (meta-completions-at-point): Rename from meta-complete-symbol and
11622 adapt it for use on completion-at-point-functions.
11623 (meta-common-mode): Use it.
11624 (meta-looking-at-backward, meta-match-buffer): Remove.
11625 (meta-complete-symbol): Redefine as obsolete alias.
11626 (meta-common-mode-map): Use completion-at-point.
11627 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11628 (makefile-mode-map): Use completion-at-point.
11629 (makefile-completions-at-point): Rename from makefile-complete and
11630 adapt it for use on completion-at-point-functions.
11631 (makefile-mode): Use it.
11632 (makefile-complete): Redefine as obsolete alias.
11633
aebf69c8
DD
116342011-06-20 Deniz Dogan <deniz@dogan.se>
11635
11636 * net/rcirc.el: Delete trailing whitespaces once and for all.
11637
bfbbb27d
DC
116382011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11639
11640 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11641
d264a46b
CY
116422011-06-19 Chong Yidong <cyd@stupidchicken.com>
11643
4ca009e5
CY
11644 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11645
d264a46b
CY
11646 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11647
fbf5b3ce
MR
116482011-06-19 Martin Rudalics <rudalics@gmx.at>
11649
11650 * window.el (display-buffer-other-window-means-other-frame):
11651 Call display-buffer-normalize-alist.
11652 (display-buffer-normalize-specifiers-1): Rename to
11653 display-buffer-normalize-argument. New argument other-frame.
11654 Rewrite.
11655 (display-buffer-normalize-specifiers-2): Rename to
11656 display-buffer-normalize-options.
11657 (display-buffer-normalize-alist-1): New function.
11658 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11659 display-buffer-normalize-alist.
11660 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11661 (display-buffer-normalize-options-inhibit): New variable.
11662 (display-buffer-normalize-specifiers): Rewrite calling
11663 display-buffer-normalize-alist,
11664 display-buffer-normalize-argument, and
11665 display-buffer-normalize-options. Don't call the latter if
11666 display-buffer-normalize-options-inhibit is non-nil.
11667 (frame-auto-delete): New option.
11668 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11669 (window-list-no-nils, window-state-ignored-parameters)
11670 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11671 (window-state-put-1, window-state-put-2, window-state-put):
11672 New functions.
9a028c23
MR
11673 (display-buffer-normalize-options): Move special-display-p group
11674 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11675
6d10d800
CY
116762011-06-18 Chong Yidong <cyd@stupidchicken.com>
11677
6420d28b
CY
11678 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11679 groups (Bug#8776).
11680 (rx-submatch-n): New function.
11681 (rx): Document it.
11682
ddb8b596
CY
11683 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11684 (Bug#8768).
11685
11686 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11687
77080289
CY
11688 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11689
61dfb316
CY
11690 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11691 anytime existing face settings are present (Bug#8889).
11692
6d10d800
CY
11693 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11694 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11695 Remove unused argument.
11696
be3fb2b8
MR
116972011-06-18 Martin Rudalics <rudalics@gmx.at>
11698
bcd70d97
SM
11699 * window.el (display-buffer-default-specifiers):
11700 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11701 pop-up-window-min-width, and another reuse-window specifier
11702 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11703 (display-buffer-normalize-specifiers-2):
11704 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11705 pop-up-windows is unset. Add a reuse-window specifier for the
11706 case popping up a new window fails.
11707 (special-display-popup-frame): Remove double quoting.
28dec25a 11708 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11709
1c6d8c76
SM
117102011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11711
11712 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11713 according to comint-completion-addsuffix.
11714
11715 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11716 (pcomplete-suffix-list): Mark as obsolete.
11717 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11718 pcomplete-seen in the closure.
11719 (pcomplete-comint-setup): Setup completion-at-point as well.
11720 (pcomplete--entries): New function.
11721 (pcomplete--env-regexp): New var.
11722 (pcomplete-entries): Rewrite to work with partial-completion and
11723 without relying on pcomplete-suffix-list.
11724 (pcomplete-pare-list): Remove, unused.
11725
25aef8b8
MR
117262011-06-17 Martin Rudalics <rudalics@gmx.at>
11727
11728 * window.el (display-buffer-alist): Set pop-up-window-min-height
11729 and pop-up-window-min-width in default value. Reported by
11730 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11731 other-window-means-other-frame.
11732 (display-buffer-macro-specifiers): Comment out entry for
11733 other-window specifier.
11734 (display-buffer-other-window-means-other-frame): New function.
11735 (display-buffer-normalize-specifiers-1): New arguments
11736 buffer-name and label. Treat other-window case specially.
11737 (display-buffer-normalize-specifiers-2): Treat other-window case
11738 specially.
11739 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11740 (display-buffer-normalize-specifiers):
11741 Call display-buffer-normalize-specifiers-3.
25aef8b8 11742
dbad4f69
MR
117432011-06-17 Martin Rudalics <rudalics@gmx.at>
11744
11745 * window.el (same-window-p): Fix two typos introduced when
11746 adding with-no-warnings.
d1067961
MR
11747 (display-buffer-normalize-specifiers-1): Don't check
11748 pop-up-frames for 'unset initialization.
11749 (display-buffer-normalize-specifiers-2): Major rewrite using
11750 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11751 (pop-up-frames, display-buffer-reuse-frames)
11752 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11753 Suggested by David Engster <deng@randomsample.de>.
11754 (even-window-heights): Initialize to 'unset.
11755 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11756 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11757 other window case.
dbad4f69 11758
9b9c9e3a
MR
117592011-06-16 Martin Rudalics <rudalics@gmx.at>
11760
bcd70d97
SM
11761 * window.el (display-buffer-normalize-specifiers-1):
11762 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11763 second argument of display-buffer (Bug#8865).
981d5c09
MR
11764 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11765 (switch-to-buffer-other-window-same-frame)
11766 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11767 Adams (Bug#8875).
9c2755e9
MR
11768 (display-buffer): Don't check noninteractive when calling
11769 display-buffer-pop-up-frame.
11770 (display-buffer-pop-up-frame): Never pop up a frame in
11771 noninteractive mode (Bug#8857).
67222e1d
MR
11772 (enlarge-window, shrink-window): Don't report an error when the
11773 window can't be resized as requested (Bug#8862).
9b9c9e3a 11774
2b75be67
SM
117752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11776
9ffdd3ba
SM
11777 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11778
cb581a67
SM
11779 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11780
2b75be67
SM
11781 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11782
8c0e3589
AM
117832011-06-15 Alan Mackenzie <acm@muc.de>
11784
cb581a67
SM
11785 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11786 for declarators, disable knr checking to speed up for normal files.
11787 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11788
b96e6cde
LMI
117892011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11790
4bba86e6
LMI
11791 * net/network-stream.el (open-network-stream): Add the keyword
11792 :always-query-capabilities for the case where you want to force a
11793 `plain' network connection, but the protocol still requires the
11794 capabilitiy command (i.e., SMTP and EHLO).
11795
2b75be67 11796 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11797 consistency with other `-live-p' functions.
11798
efdcdbf8
SM
117992011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * window.el (same-window-buffer-names, same-window-regexps)
11802 (special-display-frame-alist, special-display-popup-frame)
11803 (special-display-function, special-display-buffer-names)
11804 (special-display-regexps, pop-up-frame-alist)
11805 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11806 (pop-up-windows, split-window-preferred-function)
11807 (split-height-threshold, split-width-threshold, even-window-heights)
11808 (display-buffer-mark-dedicated): Don't encourage the use of
11809 display-buffer-alist from Elisp code.
11810
c5cde042
DN
118112011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11812
11813 * progmodes/python.el (python-mode): Derive from prog-mode.
11814 * progmodes/ps-mode.el (ps-mode):
11815 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11816 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11817 * progmodes/ld-script.el (ld-script-mode): Likewise.
11818
baa1c9ab
MR
118192011-06-15 Martin Rudalics <rudalics@gmx.at>
11820
11821 * window.el (display-buffer-alist): Trim default value to avoid
11822 popping up a new frame (Bug#8857) or reusing an arbitrary window
11823 on another frame.
11824 (display-buffer): Do not fall back on popping up a new frame in
11825 batch mode (Bug#8857).
11826
c5dd5a51
CY
118272011-06-14 Chong Yidong <cyd@stupidchicken.com>
11828
11829 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11830 (custom-theme-summary): New function.
11831 (customize-themes): Use it.
11832
d647b7c4
GM
118332011-06-13 Glenn Morris <rgm@gnu.org>
11834
11835 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11836
9481c002
MR
118372011-06-13 Martin Rudalics <rudalics@gmx.at>
11838
357f93d2
MR
11839 * help.el (help-window): Remove variable.
11840 (help-window-point-marker, temp-buffer-max-height)
11841 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11842 (help-print-return-message): Don't set help-window.
11843 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11844 (help-window-setup-finish): Remove.
11845 (help-window-display-message, help-window-setup)
11846 (with-help-window): Major rewrite based on new
11847 display-buffer-window variable.
11848
11849 * help-mode.el (help-mode-finish): Remove help-window related
11850 code.
11851
11852 * view.el (view-exits-all-viewing-windows): Remove reference to
11853 view-return-to-alist in doc-string.
11854 (view-return-to-alist): Make obsolete.
11855 (view-buffer): Call pop-to-buffer-same-window and remove
11856 undo-window code.
11857 (view-buffer-other-window): Call pop-to-buffer-other-window and
11858 simplify code. Ignore second argument.
11859 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11860 simplify code. Ignore second argument.
11861 (view-return-to-alist-update): Make obsolete.
11862 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11863 Rewrite using quit-restore window parameters.
2b75be67
SM
11864 (view-mode-exit): Rename second argument to EXIT-ONLY.
11865 Rewrite using quit-restore-window.
357f93d2
MR
11866 (View-exit, View-exit-and-edit, View-leave, View-quit)
11867 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11868 appropriate arguments.
11869 (view-end-message): Use quit-restore window parameter.
11870
9481c002
MR
11871 * window.el (display-buffer-function): Rewrite doc-string.
11872 (display-buffer-window, display-buffer-alist): New variables.
11873 (display-buffer-split-specifiers)
11874 (display-buffer-side-specifiers)
11875 (display-buffer-macro-specifiers): New constants.
11876 (display-buffer-even-window-sizes, display-buffer-set-height)
11877 (display-buffer-set-width, display-buffer-select-window)
11878 (display-buffer-in-window, display-buffer-reuse-window)
11879 (display-buffer-split-window-1, display-buffer-split-window)
11880 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11881 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11882 (display-buffer-in-side-window, normalize-buffer-to-display)
11883 (display-buffer-normalize-specifiers-1)
11884 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11885 (display-buffer-normalize-specifiers, display-buffer-frame):
11886 New functions.
9481c002
MR
11887 (display-buffer): Major rewrite.
11888 (display-buffer-other-window, display-buffer-other-frame)
11889 (pop-to-buffer, switch-to-buffer-other-window)
11890 (switch-to-buffer-other-frame): Rewrite.
11891 (display-buffer-same-window, display-buffer-same-frame)
11892 (display-buffer-same-frame-other-window)
11893 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11894 (pop-to-buffer-other-window)
11895 (pop-to-buffer-same-frame-other-window)
11896 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11897 (switch-to-buffer-other-window-same-frame): New functions.
11898 (same-window-p, special-display-p): Rewrite disabling warnings.
11899 Make obsolete.
11900 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11901 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11902 Make obsolete
11903 (same-window-buffer-names, same-window-regexps)
11904 (special-display-frame-alist, special-display-popup-frame)
11905 (special-display-function, special-display-buffer-names)
11906 (special-display-regexps, pop-up-frame-alist)
11907 (pop-up-frame-function, split-window-preferred-function)
11908 (split-height-threshold, split-width-threshold)
11909 (even-window-heights): Make obsolete.
11910
9db51aca
GM
119112011-06-12 Glenn Morris <rgm@gnu.org>
11912
11913 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11914 Misc simplifications.
9db51aca 11915
39cffb44
MR
119162011-06-12 Martin Rudalics <rudalics@gmx.at>
11917
11918 * window.el (window-safely-shrinkable-p): Restore function which
11919 was inadvertently removed in change from 2011-06-11. Declare as
11920 obsolete.
11921
2b75be67
SM
11922 * calendar/calendar.el (calendar-generate-window):
11923 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11924 window-safely-shrinkable-p.
11925
a8955be7
GM
119262011-06-12 Glenn Morris <rgm@gnu.org>
11927
11928 * progmodes/fortran.el (fortran-mode-syntax-table):
11929 * progmodes/f90.el (f90-mode-syntax-table):
11930 Set % to punctuation. (Bug#8820)
11931 (f90-find-tag-default): Remove, no longer needed.
11932
f0d4059d
DC
119332011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11934
11935 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11936
1100a63c
CY
119372011-06-11 Chong Yidong <cyd@stupidchicken.com>
11938
11939 * image.el (image-animated-p): Return animation delay in seconds.
11940 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11941 (image-animate-timeout): Remove DELAY argument. Don't assume
11942 every subimage has the same delay; get it from image-animated-p.
11943 (image-animate): Caller changed.
11944
def722bf
MA
119452011-06-11 Michael Albinus <michael.albinus@gmx.de>
11946
11947 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11948 to ignored backtrace functions.
11949
0a2bb1a9
GM
119502011-06-11 Glenn Morris <rgm@gnu.org>
11951
11952 * calendar/appt.el (appt-disp-window-function): Doc fix.
11953 (appt-check): Handle overlapping appointments. (Bug#8337)
11954
6198ccd0
MR
119552011-06-11 Martin Rudalics <rudalics@gmx.at>
11956
11957 * window.el (window-tree-1, window-tree): New functions, moving
11958 the latter to window.el.
11959 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11960 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11961 (bw-refresh-edges): Remove.
11962 (balance-windows-1, balance-windows-2): New functions.
11963 (balance-windows): Rewrite in terms of window tree functions,
11964 balance-windows-1 and balance-windows-2.
11965 (bw-adjust-window): Remove.
11966 (balance-windows-area-adjust): New function with functionality of
11967 bw-adjust-window but using resize-window.
2b75be67
SM
11968 (set-window-text-height): Rewrite doc-string.
11969 Use normalize-live-window and resize-window.
11970 (enlarge-window-horizontally, shrink-window-horizontally):
11971 Rename argument to DELTA.
6198ccd0
MR
11972 (window-buffer-height): New function.
11973 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11974 Rewrite using new window resize routines.
2b75be67
SM
11975 (kill-buffer-and-window, mouse-autoselect-window-select):
11976 Use ignore-errors instead of condition-case.
6198ccd0
MR
11977 (quit-window): Call delete-frame instead of delete-windows-on
11978 for the only buffer on frame.
11979
9397e56f
MR
119802011-06-10 Martin Rudalics <rudalics@gmx.at>
11981
11982 * loadup.el (top-level): Load window before files for the sake
11983 of replace-buffer-in-windows.
11984
11985 * files.el (read-buffer-to-switch)
11986 (switch-to-buffer-other-window)
2b75be67
SM
11987 (switch-to-buffer-other-frame, display-buffer-other-frame):
11988 Move to window.el.
9397e56f
MR
11989
11990 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11991 (previous-buffer): Move to window.el.
11992
11993 * bindings.el (unbury-buffer): Move to window.el.
11994
11995 * window.el (delete-other-windows-vertically): Move after
11996 definition of delete-other-windows.
11997 (other-window, delete-windows-on, replace-buffer-in-windows):
11998 Move here from window.c.
11999 (record-window-buffer, unrecord-window-buffer)
12000 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12001 (switch-to-next-buffer): New functions.
12002 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12003 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12004 (previous-buffer): Move here from simple.el.
12005 Call switch-to-prev-buffer.
9397e56f
MR
12006 (bury-buffer): Move here from buffer.c. Switch to previous
12007 buffer when window cannot be deleted.
12008 (unbury-buffer): Move here from bindings.el.
12009 (ctl-x-map): Move binding for other-window from window.c to
12010 here.
12011 (read-buffer-to-switch, switch-to-buffer-other-window)
12012 (switch-to-buffer-other-frame): Move here from files.el.
12013 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12014 (switch-to-buffer): Move here from buffer.c.
12015 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12016
562dd5e9
MR
120172011-06-10 Martin Rudalics <rudalics@gmx.at>
12018
12019 * window.el (window-min-height, window-min-width): Move here
12020 from window.c. Add defcustoms and rewrite doc-strings.
12021 (resize-mini-window, resize-window): New functions.
12022 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12023 Move here from window.c.
12024 (maximize-window, minimize-window): New functions.
12025 (delete-window, delete-other-windows, split-window): Move here
12026 from window.c.
12027 (window-split-min-size): New function.
12028 (split-window-keep-point): Mention split-window-above-each-other
12029 instead of split-window-vertically.
2b75be67 12030 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12031 Rename split-window-vertically to split-window-above-each-other
12032 and provide defalias for old definition.
12033 (split-window-side-by-side, split-window-horizontally):
12034 Rename split-window-horizontally to split-window-side-by-side
12035 and provide defalias for the old definition.
562dd5e9
MR
12036 (ctl-x-map): Move bindings for delete-window,
12037 delete-other-windows and enlarge-window here from window.c.
12038 Replace bindings for split-window-vertically and
12039 split-window-horizontally by bindings for
12040 split-window-above-each-other and split-window-side-by-side.
12041
12042 * cus-start.el (all): Remove entries for window-min-height and
12043 window-min-width. Add entries for window-splits and
12044 window-nest.
12045
f0da764a
GM
120462011-06-09 Glenn Morris <rgm@gnu.org>
12047
80675c21
GM
12048 * calendar/appt.el (appt-mode-line): New function.
12049 (appt-check, appt-disp-window): Use it.
12050
f0da764a
GM
12051 * files.el (hack-one-local-variable-eval-safep):
12052 Allow minor-modes with explicit +/-1 arguments.
12053
59f623b7
TZ
120542011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12055
12056 * term/xterm.el (xterm): Add defgroup.
12057 (xterm-extra-capabilities): Add defcustom to supply known xterm
12058 capabilities, skip querying them, or query them (default).
12059 (terminal-init-xterm): Use it.
12060 (terminal-init-xterm-modify-other-keys): New function to set up
12061 modifyOtherKeys support to simplify `terminal-init-xterm'.
12062
9aab8e0d
MR
120632011-06-09 Martin Rudalics <rudalics@gmx.at>
12064
12065 * window.el (resize-window-reset, resize-window-reset-1)
12066 (resize-subwindows-skip-p, resize-subwindows-normal)
12067 (resize-subwindows, resize-other-windows, resize-this-window)
12068 (resize-root-window, resize-root-window-vertically)
12069 (window-deletable-p, window-or-subwindow-p)
12070 (frame-root-window-p): New functions.
12071
e8b08aee
GM
120722011-06-09 Glenn Morris <rgm@gnu.org>
12073
12074 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12075 (ange-ftp-get-files): Use it.
12076
254c37a5
AK
120772011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12078
12079 * mail/sendmail.el (mail-recover-1, mail-recover):
12080 * files.el (recover-file, recover-session):
12081 Handle dired-listing-switches not being just a single short option.
12082
35d7dbd3
GM
120832011-06-09 Glenn Morris <rgm@gnu.org>
12084
12085 * calendar/appt.el (appt-display-message, appt-disp-window):
12086 Handle lists of appointments.
12087
387522b2
MR
120882011-06-08 Martin Rudalics <rudalics@gmx.at>
12089
2b75be67
SM
12090 * window.el (one-window-p): Move down in code.
12091 Rewrite doc-string.
12092 (window-current-scroll-bars): Rewrite doc-string.
12093 Normalize live window argument.
387522b2
MR
12094 (walk-windows, get-window-with-predicate, count-windows):
12095 Rewrite doc-string. Use window-list-1.
12096 (window-in-direction-2, window-in-direction, get-mru-window):
12097 New functions.
12098
d8e4b68b 120992011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12100
12101 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12102 Doc fix (Bug#8713).
12103
121042011-06-08 Chong Yidong <cyd@stupidchicken.com>
12105
12106 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12107
121082011-06-08 Juanma Barranquero <lekktu@gmail.com>
12109
12110 * loadhist.el (unload-feature-special-hooks):
12111 Add `comint-output-filter-functions'.
12112
0de12c52
IK
121132011-06-08 Ivan Kanis <gnu@kanis.fr>
12114
12115 * calendar/appt.el (appt-check): Move some initializations into the let.
12116
f3d1777e
MR
121172011-06-08 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (window-height): Defalias to window-total-height.
12120 (window-width): Defalias to window-body-width.
12121
18af70d0
CY
121222011-06-07 Chong Yidong <cyd@stupidchicken.com>
12123
12124 * image-mode.el (image-toggle-animation): New command.
12125 (image-mode-map): Bind it to RET.
12126 (image-mode): Update message.
12127 (image-toggle-display-image): Avoid a spurious cache flush.
12128 (image-transform-rotation): Doc fix.
12129 (image-transform-properties): Return quickly in the normal case.
12130 (image-animate-loop): Rename from image-animate-max-time.
12131
2b75be67 12132 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12133 (create-animated-image): Remove unnecessary function.
12134 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12135 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12136 (image-animate-timer): Use car-safe.
12137 (image-animate-timeout): Rename argument.
12138
190b47e6
MR
121392011-06-07 Martin Rudalics <rudalics@gmx.at>
12140
12141 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12142 window.c. Rename first argument to ALL-FRAMES.
12143 Rephrase doc-strings.
12144 (get-buffer-window-list): Rewrite using window-list-1.
12145 Rephrase doc-string.
a1511caf
MR
12146 (window-safe-min-height, window-safe-min-width): New constants.
12147 (window-size-ignore, window-min-size, window-min-size-1)
12148 (window-sizable, window-sizable-p, window-size-fixed-1)
12149 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12150 (window-max-delta-1, window-max-delta, window-resizable)
12151 (window-resizable-p, window-total-height, window-total-width)
12152 (window-body-width): New functions.
12153 (window-full-height-p, window-full-width-p): Rewrite using
12154 window-total-size.
12155 (window-body-height): Rewrite using window-body-size.
190b47e6 12156
85cc1f11
MR
121572011-06-06 Martin Rudalics <rudalics@gmx.at>
12158
12159 * window.el (window-right, window-left, window-child)
12160 (window-child-count, window-last-child, window-any-p)
12161 (normalize-live-buffer, normalize-live-frame)
12162 (normalize-any-window, normalize-live-window)
12163 (window-iso-combination-p, window-iso-combined-p)
12164 (window-iso-combinations)
12165 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12166 (windows-with-parameter, window-with-parameter)
12167 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12168 (window-atom-check, window-side-check, window-check):
12169 New functions.
85cc1f11
MR
12170 (ignore-window-parameters, window-sides, window-sides-vertical)
12171 (window-sides-slots): New variables.
12172 (window-size-fixed): Move down in code. Minor doc-string fix.
12173
e7156492
AS
121742011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12175
12176 * comint.el (comint-dynamic-complete-as-filename)
12177 (comint-dynamic-complete-filename): Correctly call
12178 completion-in-region.
12179
7e821d0d
DD
121802011-06-05 Deniz Dogan <deniz@dogan.se>
12181
12182 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12183 in last change.
12184
ac09b8a1
DD
121852011-06-05 Deniz Dogan <deniz@dogan.se>
12186
12187 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12188 (rcirc): Use it to prompt for encryption.
12189
34699b85
RW
121902011-06-05 Roland Winkler <winkler@gnu.org>
12191
12192 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12193 (bibtex-search-entries): New command bound to C-c C-a.
12194 (bibtex-display-entries): New function.
12195
004dedd3
RW
121962011-06-05 Roland Winkler <winkler@gnu.org>
12197
12198 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12199 (bibtex-insert-kill): After yanking insert newline if necessary.
12200 (bibtex-initialize): Call bibtex-string-files-init only once.
12201 (bibtex-mode): Do not call easy-menu-add.
12202 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12203 (bibtex-yank): Set arg properly if nil.
12204
022fe7ce
RW
122052011-06-05 Roland Winkler <winkler@gnu.org>
12206
2b75be67
SM
12207 * textmodes/bibtex.el (bibtex-search-entry-globally):
12208 New variable.
022fe7ce
RW
12209 (bibtex-search-entry): Use it.
12210
b7c3692a
RW
122112011-06-05 Roland Winkler <winkler@gnu.org>
12212
12213 * textmodes/bibtex.el (bibtex-entry-format): New option
12214 sort-fields.
12215 (bibtex-format-entry, bibtex-reformat): Honor this option.
12216 (bibtex-parse-entry): Return fields in proper order.
12217
8eda563d
JB
122182011-06-05 Juanma Barranquero <lekktu@gmail.com>
12219
12220 * doc-view.el (doc-view-remove-if): Move computation of result out
12221 of `dolist' to silence misleading lexical-binding warning.
12222
7dbe3dbc
CY
122232011-06-04 Chong Yidong <cyd@stupidchicken.com>
12224
12225 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12226 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12227
0c33dd17
MA
122282011-06-04 Michael Albinus <michael.albinus@gmx.de>
12229
12230 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12231 "SunOS 5.10".
12232
f8f91c2b
MA
122332011-06-04 Michael Albinus <michael.albinus@gmx.de>
12234
12235 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12236 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12237 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12238 (tramp-parse-putty):
12239 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12240 (tramp-completion-function-alist-ssh)
12241 (tramp-completion-function-alist-telnet)
12242 (tramp-completion-function-alist-su)
12243 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12244 cookie.
12245
12246 * net/tramp-ftp.el:
12247 * net/tramp-sh.el:
12248 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12249 load "tramp.el" `tramp-set-completion-function'.
12250
e17d9003
SM
122512011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12252
12253 * shell.el: Require and use pcomplete.
12254 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12255 (shell-completion-vars): Set pcomplete-default-completion-function.
12256
6c4cab03
DD
122572011-06-04 Deniz Dogan <deniz@dogan.se>
12258
12259 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12260 `memq' (Bug#8799).
12261
ea9fafe0
SM
122622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12265
b3e945d3
JB
122662011-06-02 Juanma Barranquero <lekktu@gmail.com>
12267
12268 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12269 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12270 * vc/log-view.el (log-view-beginning-of-defun):
12271 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12272 (smerge-refine-forward, smerge-refine-chopup-region):
12273 Silence warning for unused `dotimes' counter variables.
12274
7d520089
SM
122752011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * net/tramp.el (tramp-with-progress-reporter): Rename from
12278 with-progress-reporter. Use `declare'.
12279 * net/tramp-smb.el:
12280 * net/tramp-sh.el:
12281 * net/tramp-gvfs.el: Update all uses.
12282
a1c2400f
JB
122832011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12284
12285 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12286 buffer isn't killed before making it current.
12287
2403c841
SM
122882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 Silence various byte-compiler warnings.
12291 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12292 `access-type' and new obsolescence format.
12293 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12294 new format.
12295 (byte-compile-check-variable): New `access-type' argument.
12296 Only warn if the access-type is obsolete.
12297 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12298 (byte-compile-variable-set): Adjust callers.
12299 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12300 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12301 setting it as obsolete.
12302 * simple.el (minibuffer-completing-symbol):
12303 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12304 access as obsolete.
12305 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12306 obsolete yet.
12307 * international/quail.el (quail-mouse-choose-completion): Remove unused
12308 code referring to obsolete var.
12309 (quail-choose-completion-string): Remove.
12310 * server.el (server-clients-with, server-kill-buffer-query-function)
12311 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12312 * proced.el (proced-send-signal):
12313 * emacs-lisp/lisp.el (lisp-complete-symbol):
12314 Replace completion-annotate-function with completion-extra-properties.
12315
2462470b
SM
123162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12317
fb5b2591
SM
12318 * simple.el (goto-line): Use read-number.
12319 (overriding-map-is-bound): Remove.
12320 (saved-overriding-map): Change default.
12321 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12322 Take the map as argument.
12323 (universal-argument, negative-argument, digit-argument): Use it.
12324 (restore-overriding-map): Adjust.
12325 (do-auto-fill): Use fill-forward-paragraph.
12326 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12327
fd6fa53f
SM
12328 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12329 (minibuffer-inactive-mode): New major mode.
12330 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12331 the *Messages* buffer" hack.
12332 (mouse-popup-menubar): Don't burp if the event is a normal key.
12333
2462470b
SM
12334 Miscellaneous tweaks.
12335 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12336 lexical scoping as in subr.el's dolist and dotimes.
12337 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12338 Silence compiler warning.
12339 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12340 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12341 * international/ccl.el (ccl-compile): Trivial simplification.
12342 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12343 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12344 `printflag' argument.
12345 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12346 Purecopy the whole obsolescence data.
12347
108bf785
LL
123482011-06-01 Leo Liu <sdl.web@gmail.com>
12349
12350 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12351 improve doc-string as suggested by Marco Pessotto
12352 <melmothx@gmail.com>.
12353 (rcirc-print): Fix last change.
12354
30a23501
SM
123552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * minibuffer.el (complete-with-action): Return nil for the metadata and
12358 boundaries of non-functional tables.
12359 (completion-table-dynamic): Return nil for the metadata.
12360 (completion-table-with-terminator): Add default case, using
12361 complete-with-action.
12362 (completion--metadata): New function.
12363 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12364 to try and avoid pathological performance problems.
12365 (completion--embedded-envvar-table): Return `category' metadata.
12366
bcd54f83
LMI
123672011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12368
12369 * subr.el (process-alive-p): New tiny convenience function.
12370
e227544d
SM
123712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12374 content but also its previous major mode.
12375
e8296fdc
HE
123762011-05-31 Helmut Eller <eller.helmut@gmail.com>
12377
4d61f28d 12378 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12379 *Backtrace* buffer when we exit with C-M-c.
12380
620c53a6
SM
123812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * minibuffer.el: Add metadata method to completion tables.
12384 (completion-category-overrides): New defcustom.
12385 (completion-metadata, completion--field-metadata)
12386 (completion-metadata-get, completion--styles)
12387 (completion--cycle-threshold): New functions.
12388 (completion-try-completion, completion-all-completions):
12389 Add `metadata' argument to choose completion-styles.
12390 (completion--do-completion): Use metadata to choose cycling.
12391 (completion-all-sorted-completions): Use metadata for sorting.
12392 Remove :completion-cycle-penalty which is not needed any more.
12393 (completion--try-word-completion): Add `metadata' argument.
12394 (minibuffer-completion-help): Check metadata for annotation function
12395 and sorting.
12396 (completion-file-name-table): Return `category' metadata.
12397 (minibuffer-completing-file-name): Make obsolete.
12398 * simple.el (minibuffer-completing-symbol): Make obsolete.
12399 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12400 completion-try-completion.
12401
1257e755
SM
124022011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12405
3767e706
LL
124062011-05-30 Leo Liu <sdl.web@gmail.com>
12407
12408 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12409 (rcirc-print): Decode all incoming messages (bug#8744).
12410 (rcirc-decode-coding-system): Allow value nil for automatic coding
12411 system detection.
3767e706 12412
d1a5d56a
GM
124132011-06-01 Glenn Morris <rgm@gnu.org>
12414
12415 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12416
e8cbec34
CY
124172011-05-29 Chong Yidong <cyd@stupidchicken.com>
12418
12419 * image.el (image-animate-max-time): Allow nil and t values.
12420 Default to nil.
12421 (create-animated-image): Doc fix.
12422 (image-animate-start): Remove second arg; just use
12423 image-animate-max-time.
12424 (image-animate-timeout): Doc fix. Args changed.
12425
12426 * image-mode.el (image-toggle-display-image): Ensure that the
12427 image spec passed to the animate timer is the same object as in
58179cce 12428 the buffer's display property (Bug#6981).
e8cbec34
CY
12429 (image-transform-properties): Doc fix.
12430
12431 * image.el (image-animate-max-time): Default to nil.
12432
159daf87
MR
124332011-05-29 Martin Rudalics <rudalics@gmx.at>
12434
12435 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12436 entire buffer list (Bug#8184).
12437
d66c4c7c
CY
124382011-05-29 Chong Yidong <cyd@stupidchicken.com>
12439
12440 * image.el (imagemagick-types-inhibit)
12441 (imagemagick-register-types): Doc fix.
12442
80aec780
DD
124432011-05-29 Deniz Dogan <deniz@dogan.se>
12444
12445 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12446 default.
12447
1dd3c2d9
CY
124482011-05-29 Chong Yidong <cyd@stupidchicken.com>
12449
12450 * select.el: Don't perform clipboard-manager saving in hooks;
12451 leave the hooks empty.
12452
60e56523
LL
124532011-05-28 Leo Liu <sdl.web@gmail.com>
12454
12455 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12456 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12457 (occur-edit-mode): New major mode (Bug#8463).
12458 (occur-after-change-function): New function.
12459 (occur-engine): Give Occur tags a read-only property.
12460
2b1e1a22
KR
124612011-05-28 Kevin Ryde <user42@zip.com.au>
12462
12463 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12464
5d344e88
CY
124652011-05-28 Chong Yidong <cyd@stupidchicken.com>
12466
8e6ca83d
CY
12467 * bindings.el (help-echo): Make the initial non-indicator dash
12468 empty on graphical terminals (Bug#7295).
12469
5d344e88
CY
12470 * files.el (auto-mode-alist): Move config rule after the
12471 in-stripping one (Bug#8547).
12472
bfbbace7
CY
12473 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12474
fbeba6e2
CY
12475 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12476 setting (Bug#8740).
12477
60ed8c72
AA
124782011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12479
4ac619f0
AA
12480 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12481 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12482 (Bug#8539).
60ed8c72 12483
23db196e
CY
124842011-05-28 Chong Yidong <cyd@stupidchicken.com>
12485
12486 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12487
5012f24c
DK
124882011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12489
12490 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12491 (hs-hide-block-at-point, hs-find-block-beginning)
12492 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12493 (Bug#8279).
12494
6a639b16
GM
124952011-05-28 Glenn Morris <rgm@gnu.org>
12496
12497 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12498
d43eaf2c
CY
124992011-05-28 Chong Yidong <cyd@stupidchicken.com>
12500
5199bde1
CY
12501 * help-fns.el (describe-function-1): If the function is a derived
12502 major mode, print the parent mode.
12503
d43eaf2c
CY
12504 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12505 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12506
423428a8
SM
125072011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12508
0ff8e1ba 12509 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12510 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12511 * progmodes/etags.el (tags-completion-at-point-function):
12512 * info-look.el (info-lookup-completions-at-point): Mark as
12513 non-exclusive.
12514 (info-complete): Adjust accordingly.
12515
423428a8
SM
12516 * info-look.el: Convert to lexical-binding and completion-at-point.
12517 (info-lookup-completions-at-point): New function.
12518 (info-complete): Use it and completion-in-region.
12519
b74aa22b
DA
125202011-05-28 Drew Adams <drew.adams@oracle.com>
12521
12522 * isearch.el: Let M-e start with point at the first mismatched char.
12523 (isearch-fail-pos): New function.
12524 (isearch-edit-string): Use it.
12525
66e2e71d
DK
125262011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12527
12528 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12529
b1890b0f 125302011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12531
12532 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12533 traversal functions for avl-trees.
12534 (avl-tree--stack): New struct.
12535 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12536 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12537 (avl-tree--do-enter): Add optional `updatefun' arg.
12538 Change return value.
eb95d01d 12539 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12540 (avl-tree--do-delete): Add `test' and `nilflag' args.
12541 Change return value.
eb95d01d
TC
12542 (avl-tree-member): Add optional `nilflag'
12543 (avl-tree-member-p): New function.
12544 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12545 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12546 (avl-tree-stack-empty-p): New functions.
12547
3769ddcf
TC
12548 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12549 avl-tree--del-balance1 and make it work both ways.
12550 (avl-tree--del-balance2): Remove.
12551 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12552 make it work both ways.
12553 (avl-tree--enter-balance2): Remove.
12554 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12555 New macros.
12556 (avl-tree--mapc, avl-tree-map): Add direction argument.
12557
eb95d01d 125582011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12559
12560 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12561
a9f737ee
CY
125622011-05-27 Chong Yidong <cyd@stupidchicken.com>
12563
12564 * select.el: Support clipboard managers with built-in function
12565 x-clipboard-manager-save, via delete-frame-functions and
12566 kill-emacs-hook.
12567 (xselect-convert-to-targets): Add MULTIPLE target to list.
12568 (xselect-convert-to-save-targets): New function.
12569
c92a1e54
KH
125702011-05-27 Kenichi Handa <handa@m17n.org>
12571
12572 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12573 let-binding rfc2047-encode-encoded-words to nil.
12574
e145f188
GM
125752011-05-27 Glenn Morris <rgm@gnu.org>
12576
5ec8a862
GM
12577 * mail/emacsbug.el: Don't require url-util.
12578
4b29d9fb
GM
12579 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12580
e145f188
GM
12581 * files.el (set-auto-mode):
12582 Also respect mode: entries at the end of the file. (Bug#8586)
12583
7d15102b
GM
125842011-05-26 Glenn Morris <rgm@gnu.org>
12585
98f593b8
GM
12586 * files.el (hack-local-variables-prop-line, hack-local-variables):
12587 Downcase mode names, as seems to be traditional.
27b48e63 12588 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12589
7d15102b
GM
12590 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12591 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12592
51d5b4ec
JD
125932011-05-25 Julien Danjou <julien@danjou.info>
12594
12595 * textmodes/rst.el (rst-define-level-faces): Do not define face
12596 symbol if it is already defined.
12597
91513f63
VB
125982011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12599
12600 * play/5x5.el (5x5-new-game, 5x5-randomize):
12601 Reset 5x5-solver-output to nil when a new grid is cast.
12602 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12603 these debugging traces, as defmacro breaks the compiled code.
12604
4d90d6d0
DK
126052011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12606
12607 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12608
e1b90ef6
LL
126092011-05-24 Leo Liu <sdl.web@gmail.com>
12610
12611 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12612 (vc-bzr-sha1): Adapt.
12613
d8e4b68b 12614 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12615
12616 * bindings.el: Provide sha1 feature.
12617
db0406bb 126182011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12619
12620 * mail/sendmail.el: Require `rfc2047'.
12621 (mail-insert-from-field): Do not perform RFC2047 encoding.
12622 (mail-encode-header): New function.
12623 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12624 buffer to the return value of select-message-coding-system.
12625 Call mail-encode-header.
b8d747b9
KH
12626
12627 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12628
db0406bb 126292011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12630
4d90d6d0
DK
12631 * mail/supercite.el (sc-default-cite-frame):
12632 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12633
eb8a5e9b
GM
126342011-05-24 Glenn Morris <rgm@gnu.org>
12635
f8630703
GM
12636 * progmodes/python.el (brm-menu): Declare.
12637
8831bbed
GM
12638 * emulation/viper.el (viper-set-hooks): Declare.
12639
eb8a5e9b
GM
12640 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12641 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12642 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12643 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12644 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12645 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12646
a2a25d24
SM
126472011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12648
12649 Add an :exit-function for completion-at-point.
12650
12651 * minibuffer.el (completion--done): New fun.
12652 (completion--do-completion): Use it. New arg `expect-exact'.
12653 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12654 since completion--do-completion does it for us now.
12655 (minibuffer-force-complete): Use completion--done and
12656 completion--replace. Handle sole-completion case with more care.
12657 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12658 (completion-extra-properties): New var.
12659 (completion-annotate-function): Make obsolete.
12660 (minibuffer-completion-help): Adjust accordingly.
12661 Use completion-list-insert-choice-function.
12662 (completion-at-point, completion-help-at-point):
12663 Bind completion-extra-properties.
12664 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12665 * simple.el (completion-list-insert-choice-function): New var.
12666 (completion-setup-function): Preserve it.
12667 (choose-completion): Pay attention to it, shuffle the code a bit.
12668 (choose-completion-string): New arg `insert-function'.
12669
12670 * textmodes/bibtex.el: Convert to lexical binding.
12671 (bibtex-mode-map): Use completion-at-point.
12672 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12673 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12674 (bibtex-complete): Define as obsolete alias.
12675 (bibtex-complete-internal): Remove.
12676 (bibtex-format-entry): Remove unused sub-group in regexp.
12677 * shell.el (shell--command-completion-data)
12678 (shell-environment-variable-completion):
12679 * pcomplete.el (pcomplete-completions-at-point):
12680 * comint.el (comint--complete-file-name-data): Use :exit-function
12681 instead of completion-table-with-terminator so it also works for
12682 choose-completion.
12683
e44e373d
SM
126842011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12685
4f91a816
SM
12686 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12687
782fc819
SM
12688 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12689 (bug#8710).
12690
e44e373d
SM
12691 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12692
381987c3
KM
126932011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12694
12695 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12696 customization variable and implement: If non-nil, auto-fill will
12697 be inhibited while on topic's header line.
12698
b776bc70
VB
126992011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12700
12701 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12702 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12703 always have a solution in grid size = 5 cases.
12704 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12705 (5x5-solver-output, 5x5-log-buffer): New vars.
12706 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12707 Make these variables buffer local to achieve 5x5 multi-session-ness.
12708 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12709 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12710 (5x5-solve-suggest): New funs.
12711 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12712 randomize a grid so that we ensure that there is always a solution.
12713 (5x5-make-random-grid): Allow other movement than flipping.
12714
7de88b6e
KR
127152011-05-23 Kevin Ryde <user42@zip.com.au>
12716
12717 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12718 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12719 advice and passes PREDICATE.
12720
b1ef1257
SM
127212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12722
bbca48fe
SM
12723 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12724 byte-compile-lambda if it's actually a lambda.
12725
b1ef1257
SM
12726 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12727 Fix function quoting. Use backquote better.
12728
92a9cc65
YS
127292011-05-22 Yuanle Song <sylecn@gmail.com>
12730
12731 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12732 matching (Bug#8516).
12733
f0fb8059
JA
127342011-01-22 Jari Aalto <jari.aalto@cante.net>
12735
12736 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12737 different face (Bug#8178).
12738
d5b44c93
CY
127392011-05-22 Chong Yidong <cyd@stupidchicken.com>
12740
12741 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12742 defface (Bug#8144).
12743
79106a44
SM
127442011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12745
9c848d8a
SM
12746 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12747 funcall as well (bug#8712). Warn when performing those conversions.
12748 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12749
79106a44
SM
12750 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12751
88dfa756
GM
127522011-05-22 Glenn Morris <rgm@gnu.org>
12753
12754 * files.el (hack-local-variables-prop-line): Small simplifications.
12755 (hack-local-variables, hack-local-variables-prop-line):
12756 If MODE-ONLY, return the mode, rather than just `t'.
12757
b7cf2c79
SM
127582011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12761
3f1a8558
GM
127622011-05-21 Glenn Morris <rgm@gnu.org>
12763
7e4ccca3
GM
12764 * files.el (hack-local-variables-prop-line, hack-local-variables):
12765 If only interested in the mode, don't bother doing the other stuff.
12766
637d46ca
GM
12767 * image-mode.el (image-after-revert-hook):
12768 Redraw all frames on which the image is visible. (Bug#8567)
12769
973d955b
GM
12770 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12771
3f1a8558
GM
12772 * wid-edit.el (widget-checklist-match-inline):
12773 Fix 2011-04-19 change. (Bug#8649)
12774
96479927
SM
127752011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12776
1dcf791f
SM
12777 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12778 Also allow singlespace after single-letter capitals followed by a dot.
12779
96479927
SM
12780 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12781 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12782
35fd0881
N
127832011-05-20 Nix <nix@esperi.org.uk>
12784
12785 * files.el (basic-save-buffer-2):
12786 Fix handling of break-hardlink-on-save with non-existent files.
12787
82745640
DD
127882011-05-19 Deniz Dogan <deniz@dogan.se>
12789
12790 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12791 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12792
4a720484
GM
127932011-05-19 Glenn Morris <rgm@gnu.org>
12794
d1f21341
GM
12795 * progmodes/f90.el (f90-type-def-re):
12796 Handle "type, bind(c)". (Bug#8691)
12797
4a720484
GM
12798 * emacs-lisp/autoload.el (batch-update-autoloads):
12799 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12800
2fb0a219
MA
128012011-05-18 Michael Albinus <michael.albinus@gmx.de>
12802
12803 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12804 property for the correct connection in case of multihops.
12805
e565dd37
GM
128062011-05-18 Glenn Morris <rgm@gnu.org>
12807
c2571358 12808 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12809 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12810
e565dd37
GM
12811 Rationalize calendar handling of day and month abbrev-arrays.
12812 * calendar/calendar.el (calendar-customized-p): New function.
12813 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12814 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12815 Add :set function.
12816 (calendar-abbrev-length, calendar-day-abbrev-array)
12817 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12818 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12819 Elements may no longer be nil.
12820 (calendar-day-name, calendar-month-name):
12821 Update for changed nature of abbrev arrays.
12822 * calendar/diary-lib.el (diary-name-pattern):
12823 Update for changed nature of abbrev arrays.
12824 (diary-mark-entries-1): Update calendar-make-alist calls.
12825 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12826 * calendar/cal-html.el (cal-html-day-abbrev-array):
12827 Simply inherit from calendar-day-abbrev-array.
12828
1d99a745
SM
128292011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * progmodes/grep.el (grep-mode): Disable default
12832 compilation-directory-matcher setting (bug#8684).
12833
7c1d9aa0
MA
128342011-05-17 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12837 instead of "head" and "tail". There were problems with SunOS 5.9,
12838 and it performs better.
12839
3952e9d8
GM
128402011-05-17 Glenn Morris <rgm@gnu.org>
12841
2dd12e7f
GM
12842 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12843
e4157b9c
GM
12844 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12845 Replace obsolete function.
12846
8e249bbd
GM
12847 * shell.el (pcomplete-parse-arguments-function): Declare.
12848
3952e9d8
GM
12849 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12850 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12851 (appt-check): Doc fixes.
12852 (appt-disp-window-function, appt-delete-window-function):
12853 Remove needless special case in custom :type.
12854 (appt-display-count): Default to 0, not nil.
12855 (appt-check): Reset appt-display-count to 0, not nil.
12856
c71a0d48 128572011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12858
c71a0d48
GM
12859 * progmodes/python.el (python-font-lock-keywords):
12860 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12861
31d55be9
SM
128622011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12865
3bfacb2f
KR
128662011-05-16 Kevin Ryde <user42@zip.com.au>
12867
12868 * info-look.el (makefile-automake-mode): New setups, looking in
12869 automake manual, then makefile-mode.
12870 (makefile-mode): Remove automake manual, have it just in
12871 makefile-automake-mode since there's various things different or
12872 not relevant to plain make.
12873 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12874 believe a hypothetical automake-mode would go to makefile-mode,
12875 not the other way around.
12876
c8e83751
CY
128772011-05-15 Chong Yidong <cyd@stupidchicken.com>
12878
5e9e35cd
CY
12879 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12880 hunk-end tags (Bug#8672).
12881
c8e83751
CY
12882 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12883 vc-annotate-show-diff-revision-at-line (Bug#8671).
12884
50b23e5a
GM
128852011-05-14 Glenn Morris <rgm@gnu.org>
12886
7210a739
GM
12887 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12888 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12889 (change-log-font-lock-keywords): Also handle multiple author lines
12890 with leading tabs. (Bug#8644)
7210a739 12891
4691905a
GM
12892 * calendar/appt.el (appt-check): Rename some local variables.
12893 Some simplification/reordering.
12894
50b23e5a
GM
12895 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12896 (feedmail-sendmail-f-doesnt-sell-me-out)
12897 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12898 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12899 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12900 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12901 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12902 (feedmail-binmail-gnulinuxish-template):
12903 Rename from feedmail-binmail-linuxish-template.
12904 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12905 Use insert-buffer-substring.
12906
215cda7c
BC
129072011-05-14 Bill Carpenter <bill@carpenter.org>
12908
12909 * mail/feedmail.el (feedmail-patch-level): Increase.
12910 (feedmail-debug): New custom group.
12911 (feedmail-confirm-outgoing-timeout)
12912 (feedmail-sendmail-f-doesnt-sell-me-out)
12913 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12914 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12915 (feedmail-sender-line, feedmail-from-line)
12916 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12917 (feedmail-spray-this-address)
215cda7c
BC
12918 (feedmail-spray-address-fiddle-plex-list)
12919 (feedmail-queue-use-send-time-for-date)
12920 (feedmail-queue-use-send-time-for-message-id)
12921 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12922 (feedmail-buffer-eating-function):
12923 Doc fixes.
12924 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12925 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12926 (feedmail-message-action-scroll-down): New functions.
12927 (feedmail-queue-directory, feedmail-queue-draft-directory):
12928 Use expand-file-name.
12929 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12930 Remove C-v help entry.
12931 (feedmail-queue-buffer-file-name): New variable.
12932 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12933 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12934 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12935 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12936 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12937 (feedmail-message-action-toggle-spray)
12938 (feedmail-run-the-queue-no-prompts)
12939 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12940 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12941 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12942 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12943 (feedmail-envelope-deducer, feedmail-fiddle-from)
12944 (feedmail-fiddle-sender, feedmail-default-date-generator)
12945 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12946 (feedmail-fiddle-spray-address)
12947 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12948 (feedmail-fiddle-list-of-fiddle-plexes)
12949 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12950 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12951 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12952 Change default. Doc fix.
12953 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12954 (feedmail-binmail-linuxish-template): New constant.
12955 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12956 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12957 (feedmail-send-it): Add debug call.
12958 Use feedmail-queue-buffer-file-name, and
12959 feedmail-send-it-immediately-wrapper.
12960 (feedmail-message-action-send): Add debug call.
12961 Use feedmail-send-it-immediately-wrapper.
12962 (feedmail-queue-express-to-queue): Add debug call.
12963 Run feedmail-queue-express-hook.
12964 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12965 (feedmail-message-action-help-blat):
12966 Rename from feedmail-queue-send-edit-prompt-help-first.
12967 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12968 Check line-endings. Handle errors better.
12969 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12970 Doc fix. Add debug call.
12971 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12972 Use feedmail-queue-send-edit-prompt-inner.
12973 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12974 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12975 from feedmail-queue-send-edit-prompt.
12976 (feedmail-queue-send-edit-prompt-help)
12977 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12978 (feedmail-tidy-up-slug): Add debug call.
12979 Respect feedmail-queue-slug-suspect-regexp.
12980 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12981 (feedmail-dump-message-to-queue): Add debug call.
12982 Expand queue-directory.
12983 (feedmail-dump-message-to-queue): Change message slightly.
12984 Use feedmail-say-chatter.
12985 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12986 (feedmail-send-it-immediately-wrapper): New function.
12987 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12988 Insert empty string rather than newline. Handle full-frame case.
12989 Use catch/throw. Use feedmail-say-chatter.
12990 (feedmail-fiddle-from): Try mail-host-address.
12991 (feedmail-default-message-id-generator): Doc fix.
12992 Bind system-time-locale. Handle missing end.
12993 (feedmail-fiddle-x-mailer): Add debug call.
12994 Handle feedmail-x-mailer-line being nil.
12995 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12996 Add debug call. Use buffer-substring-no-properties.
12997 (feedmail-say-debug, feedmail-say-chatter): New functions.
12998 (feedmail-find-eoh): Give an explicit error.
12999
42c7e61e
UJ
130002011-05-13 Ulf Jasper <ulf.jasper@web.de>
13001
c2571358 13002 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13003 family from helvetica to sans.
c2571358 13004 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13005 etc/images/newsticker.
13006
c2571358 13007 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13008 family from helvetica to sans.
13009
13010 * net/newst-plainview.el (newsticker-new-item-face)
13011 (newsticker-old-item-face, newsticker-immortal-item-face)
13012 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13013 (newsticker-statistics-face): Change default family from
42c7e61e 13014 helvetica to sans.
c2571358 13015 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13016 etc/images/newsticker.
13017
5d3385a0
JB
13018 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13019 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13020 auto-marking.
13021
8497a297
DV
130222011-05-13 Didier Verna <didier@xemacs.org>
13023
13024 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13025 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13026 TODO entries.
8497a297
DV
13027 (lisp-lambda-list-keyword-parameter-indentation)
13028 (lisp-lambda-list-keyword-parameter-alignment)
13029 (lisp-lambda-list-keyword-alignment): New customizable user options.
13030 (lisp-indent-defun-method): Improve docstring.
13031 (extended-loop-p): Fix comment.
13032 (lisp-indent-lambda-list-keywords-regexp): New variable.
13033 (lisp-indent-lambda-list): New function.
13034 (lisp-indent-259): Use it.
13035 (lisp-indent-defmethod): Support for more than one
13036 method qualifier and properly indent methods lambda-lists.
13037 (defgeneric): Provide a missing common-lisp-indent-function property.
13038
f278f87f
SM
130392011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13042 bounds for the empty string (bug#8667).
13043
5233edd7
GM
130442011-05-13 Glenn Morris <rgm@gnu.org>
13045
5237a44f
GM
13046 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13047
8340026c 13048 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13049 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13050
5233edd7 13051 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13052 (appt-time-msg-list): Doc fix.
a5464014 13053 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13054
92d10796
AS
130552011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13056
13057 * progmodes/ld-script.el (ld-script-keywords)
13058 (ld-script-builtins): Update keywords list.
13059
914a0ae1
SM
130602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13061
c89be45f
SM
13062 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13063
914a0ae1
SM
13064 * shell.el (shell-completion-vars): New function.
13065 (shell-mode):
13066 * simple.el (read-shell-command): Use it.
13067 (blink-matching-open): No need for " [...]" in minibuffer-message.
13068
98dc3df3
GM
130692011-05-12 Glenn Morris <rgm@gnu.org>
13070
13071 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13072 (appt-check): Simplify.
13073
d2fc7e3d 130742011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13075
4d61f28d 13076 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13077 literal "/dev/null".
13078
d2fc7e3d 130792011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13080
13081 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13082 Fix typo.
13083
d2fc7e3d 130842011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13085
3f254caa
SM
13086 * progmodes/which-func.el (which-function):
13087 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13088 which might not be defined (Bug#8260).
13089
d45885f7
GM
130902011-05-12 Glenn Morris <rgm@gnu.org>
13091
13092 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13093 Let byte-compile-initial-macro-environment always take precedence.
13094
488086f4
SM
130952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * net/rcirc.el: Add support for SSL/TLS connections.
13098 (rcirc-server-alist): New field `encryption'.
13099 (rcirc): Check `encryption' settings.
13100 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13101 Merge make-local-variable into `set'.
13102 (rcirc--connection-open-p): New function.
13103 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13104 the process is not a network process (e.g. running gnutls-cli).
13105 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13106 Make rcirc-(en|de)code-coding-system local here.
13107 (rcirc-mode): Merge make-local-variable into `set'.
13108 (rcirc-parent-buffer): Make permanent buffer-local.
13109 (rcirc-multiline-minor-mode): Don't do it here.
13110 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13111 there's no server buffer.
13112
7d3b9d44
GM
131132011-05-11 Glenn Morris <rgm@gnu.org>
13114
f64049c6
GM
13115 * newcomment.el (comment-kill): Prefix "unused" local.
13116
93c9df73
GM
13117 * term/w32console.el (get-screen-color): Declare.
13118
7d3b9d44
GM
13119 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13120 Handle symbol elements of byte-compile-initial-macro-environment.
13121
9e2dd53f
LL
131222011-05-10 Leo Liu <sdl.web@gmail.com>
13123
488086f4
SM
13124 * bookmark.el (bookmark-bmenu-mode-map):
13125 Bind bookmark-bmenu-search to `/'.
8b340240 13126
9e2dd53f 13127 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13128 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13129 (Footnote-unicode): New function.
13130 (footnote-style-alist): Add unicode style to the list.
13131 (footnote-style): Doc fix.
9e2dd53f 13132
79b70037
GM
131332011-05-10 Jim Meyering <meyering@redhat.com>
13134
13135 Fix doubled-word typos.
13136 * international/quail.el (quail-insert-kbd-layout): and and -> and
13137 * kermit.el: and and -> and
13138 * net/ldap.el (ldap-search-internal): to to -> to
13139 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13140 * progmodes/js.el (js-mode): and and -> and
13141 * textmodes/artist.el (artist-move-to-xy): at at -> at
13142 (artist-draw-region-trim-line-endings): if if -> if
13143 And Safetyc -> Safety.
13144 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13145
b8f82dc1 131462011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13147 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13148
13149 * files.el (hack-one-local-variable-eval-safep):
13150 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13151
4f99f44b
GM
131522011-05-10 Glenn Morris <rgm@gnu.org>
13153
13154 * calendar/diary-lib.el (diary-list-entries-hook)
13155 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13156 (diary-nongregorian-marking-hook, diary-list-entries)
13157 (diary-include-other-diary-files, diary-mark-entries)
13158 (diary-mark-included-diary-files): Doc fixes.
13159
84f29e6b
JB
131602011-05-09 Juanma Barranquero <lekktu@gmail.com>
13161
13162 * misc.el: Require tabulated-list.el during compilation.
13163
9bedd73a
CY
131642011-05-09 Chong Yidong <cyd@stupidchicken.com>
13165
488086f4
SM
13166 * progmodes/compile.el (compilation-start):
13167 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13168 (compilation-filter-hook): Doc fix.
13169
797c735c
DD
131702011-05-09 Deniz Dogan <deniz@dogan.se>
13171
13172 * wdired.el: Remove outdated installation comment. Fix usage
13173 comment.
13174
5f4b1dfe
JB
131752011-05-09 Juanma Barranquero <lekktu@gmail.com>
13176
13177 * misc.el: Implement new command `list-dynamic-libraries'.
13178 (list-dynamic-libraries--loaded-only-p): New variable.
13179 (list-dynamic-libraries--refresh): New function.
13180 (list-dynamic-libraries): New command.
13181
4c44026c
CY
131822011-05-09 Chong Yidong <cyd@stupidchicken.com>
13183
488086f4
SM
13184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13185 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13186 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13187 higher priority to avoid clobbering by gnu.
13188
027f966d
CY
131892011-05-08 Chong Yidong <cyd@stupidchicken.com>
13190
13191 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13192 if the face has existing theme settings (Bug#8454).
13193
085f5d7d
CY
131942011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13195
488086f4
SM
13196 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13197 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13198
2a86a00c
RS
13199 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13200 special file names `.' and `..' (Bug#8259).
13201
d9c54a06
CY
132022011-05-08 Chong Yidong <cyd@stupidchicken.com>
13203
488086f4
SM
13204 * progmodes/grep.el (grep-mode-font-lock-keywords):
13205 Remove buffer-changing entries.
d9c54a06
CY
13206 (grep-filter): New function.
13207 (grep-mode): Add it to compilation-filter-hook.
13208
13209 * progmodes/compile.el (compilation-filter-hook)
13210 (compilation-filter-start): New defvars.
13211 (compilation-filter): Call compilation-filter-hook prior to
13212 updating the process mark.
13213
c4662635
SM
132142011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13217
b0512a1d
EZ
132182011-05-07 Eli Zaretskii <eliz@gnu.org>
13219
605c9376
EZ
13220 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13221 mailclient-send-it even if window-system is nil. (Bug#8595)
13222
c4662635
SM
13223 * term/w32console.el (terminal-init-w32console):
13224 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13225 background-mode. (Bug#8597)
13226
d1dc2cc2
SM
132272011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13230 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13231 New functions.
13232 (defgeneric, eieio--defmethod): Use them.
13233 (eieio-defgeneric): Remove.
13234 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13235
915d1300
GM
132362011-05-07 Glenn Morris <rgm@gnu.org>
13237
a3961c3e
GM
13238 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13239 Use let rather than let*.
13240 (timeclock-find-discrep): Remove unused local.
13241
314347b9
GM
13242 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13243
915d1300
GM
13244 * calendar/appt.el (appt-time-msg-list): Doc fix.
13245
275b59b0
NF
132462011-05-06 Noah Friedman <friedman@splode.com>
13247
13248 * apropos.el (apropos-print-doc): Only use
13249 emacs-lisp-docstring-fill-column when it is bound to an integer,
13250 per that variable's documentation.
13251
6c19f744
SM
132522011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13255 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13256
60f884b2
GM
132572011-05-06 Glenn Morris <rgm@gnu.org>
13258
5006e634
GM
13259 * calendar/appt.el (appt-message-warning-time): Doc fix.
13260 (appt-warning-time-regexp): New option.
13261 (appt-make-list): Respect appt-message-warning-time.
13262
548d0a63
GM
13263 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13264 New options.
13265 (diary-add-to-list): Strip comments from the displayed string.
13266 (diary-mode): Set comment-start and comment-end.
13267
60f884b2
GM
13268 * vc/diff-mode.el (smerge-refine-subst): Declare.
13269 (diff-refine-hunk): Don't require smerge-mode when compiling.
13270
989681bb
JB
132712011-05-06 Juanma Barranquero <lekktu@gmail.com>
13272
13273 * simple.el (list-processes): Return nil as the docstring says.
13274
a6bc05e1
MA
132752011-05-05 Michael Albinus <michael.albinus@gmx.de>
13276
13277 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13278 to "".
13279 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13280 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13281 determining of binary transfer. (Bug#7383)
13282
23c22e9a
MA
132832011-05-05 Michael Albinus <michael.albinus@gmx.de>
13284
c4662635
SM
13285 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13286 Fix port computation bug. (Bug#8618)
23c22e9a 13287
0bff894f
GM
132882011-05-05 Glenn Morris <rgm@gnu.org>
13289
b8296902
GM
13290 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13291
1f522ce8
GM
13292 * simple.el (shell-dynamic-complete-functions)
13293 (comint-dynamic-complete-functions): Declare.
13294
cf5bee67
GM
13295 * net/network-stream.el (gnutls-negotiate):
13296 * simple.el (tabulated-list-print): Fix declarations.
13297
13298 * progmodes/gud.el (syntax-symbol, syntax-point):
13299 Remove unnecessary and incorrect declarations.
13300
0bff894f
GM
13301 * emacs-lisp/check-declare.el (check-declare-scan):
13302 Handle byte-compile-initial-macro-environment in bytecomp.el
13303
9869b3ae
SM
133042011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 Fix earlier half-done eieio-defmethod change (bug#8338).
13307 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13308 Streamline and change calling convention.
13309 (defmethod): Adjust accordingly and simplify.
13310 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13311 new eieio--defmethod.
13312 (slot-boundp): Minor CSE simplification.
13313
9c1d5ac5
MZ
133142011-05-05 Milan Zamazal <pdm@zamazal.org>
13315
13316 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13317 (glasses-make-readable): Use glasses-separate-capital-groups.
13318
455c834e
JB
133192011-05-05 Juanma Barranquero <lekktu@gmail.com>
13320
13321 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13322 (warning-series): Doc fix.
13323 (display-warning): Don't try to create the buffer if we just found it.
13324
9ed7c8cb
CY
133252011-05-04 Chong Yidong <cyd@stupidchicken.com>
13326
13327 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13328 (autoload-find-generated-file): New function.
13329 (generate-file-autoloads): Bind generated-autoload-file to
13330 buffer-file-name.
9869b3ae
SM
13331 (update-file-autoloads, update-directory-autoloads):
13332 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13333 output file (Bug#7989).
13334 (batch-update-autoloads): Doc fix.
13335
0898ca10
JB
133362011-05-04 Juanma Barranquero <lekktu@gmail.com>
13337
13338 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13339
31dfb76c
GM
133402011-05-04 Glenn Morris <rgm@gnu.org>
13341
f330b642
GM
13342 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13343 function, so it follows changes in calendar-date-style.
13344 (diary-fancy-date-matcher): New function.
13345 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13346 (diary-fancy-font-lock-fontify-region-function):
13347 Use diary-fancy-date-pattern as a function.
13348
31dfb76c
GM
13349 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13350 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13351
48e79d6a
TZ
133522011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13353
13354 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13355 instead of positional arguments. Allow :keylist and :crlfiles
13356 arguments.
13357 (open-gnutls-stream): Call it.
13358
13359 * net/network-stream.el (network-stream-open-starttls): Adjust to
13360 call `gnutls-negotiate' with :process and :hostname arguments.
13361
dd5a5ee0
SM
133622011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13363
ef80fc09
SM
13364 * minibuffer.el (completion--message): New function.
13365 (completion--do-completion, minibuffer-complete)
13366 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13367 (completion--do-completion): Don't ignore completion-auto-help when in
13368 icomplete-mode.
13369
dd5a5ee0
SM
13370 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13371 internal encoding (e.g. tibetan zero is not whitespace).
13372 (global-whitespace-mode): Prefer save-current-buffer.
13373 (whitespace-trailing-regexp): Remove useless save-match-data.
13374 (whitespace-empty-at-bob-regexp): Minor simplification.
13375
b7d22a83
CY
133762011-05-03 Chong Yidong <cyd@stupidchicken.com>
13377
13378 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13379
5192af46
AM
133802011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13381
13382 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13383 Use `concat' to create string for insertion.
5192af46 13384
5767d190
SM
133852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13386
13387 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13388 Avoid open-line which runs post-self-insert-hook.
13389 (bibtex-fill-entry): Remove unused `end' var.
13390
bf242939
AM
133912011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13392
5767d190
SM
13393 * textmodes/ispell.el (ispell-add-per-file-word-list):
13394 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13395
25666126
LL
133962011-05-03 Leo Liu <sdl.web@gmail.com>
13397
13398 * isearch.el (isearch-yank-pop): New command.
5767d190 13399 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13400 (isearch-forward): Mention it.
13401
52d3c2d0
SM
134022011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13403
1bcace58
SM
13404 * simple.el (minibuffer-complete-shell-command): Remove.
13405 (minibuffer-local-shell-command-map): Use completion-at-point.
13406 (read-shell-command): Setup completion vars here instead.
13407 (read-expression-map): Bind TAB to symbol completion.
13408
52d3c2d0
SM
13409 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13410 error directly rather via storing it into `results'.
13411
35813471
LL
134122011-05-02 Leo Liu <sdl.web@gmail.com>
13413
13414 * vc/diff.el: Fix description.
13415
e793a940
LMI
134162011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417
13418 * server.el (server-eval-at): New function.
13419
8de66e05
LMI
134202011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13421
13422 * net/network-stream.el (open-network-stream): Take a :nowait
13423 parameter and pass it on to `make-network-process'.
13424 (network-stream-open-plain): Ditto.
13425
dcb79f20
AS
134262011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13427
13428 * faces.el (face-spec-set-match-display): Don't match toolkit
13429 options on terminal frames.
13430
14a7fbd8
SM
134312011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13432
7eabc1be
SM
13433 * progmodes/pascal.el: Use lexical binding.
13434 (pascal-mode-map): Remove author preferences.
13435
14a7fbd8
SM
13436 * pcomplete.el (pcomplete-std-complete): Don't abuse
13437 completion-at-point.
13438
50f84510
JB
134392011-04-28 Juanma Barranquero <lekktu@gmail.com>
13440
6e087a44
JB
13441 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13442 removing code that has been dead since 1991 or so.
13443
50f84510
JB
13444 * startup.el (command-line): When warning about "_emacs", use a
13445 delayed warning to allow the user to filter it out.
13446
0ba690bd
DD
134472011-04-28 Deniz Dogan <deniz@dogan.se>
13448
13449 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13450 user has not joined.
13451
08abfaad
SM
134522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13455 aren't any completions at point.
13456
638f053a
JB
134572011-04-28 Juanma Barranquero <lekktu@gmail.com>
13458
13459 * subr.el (display-delayed-warnings): New function.
13460 (delayed-warnings-hook): New variable.
13461
8fff8daa
SM
134622011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13463
08abfaad
SM
13464 * minibuffer.el (completion-at-point, completion-help-at-point):
13465 Don't presume that a given completion-at-point-function will always
13466 use the same calling convention.
13467
8fff8daa
SM
13468 * pcomplete.el (pcomplete-completions-at-point):
13469 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13470 pcomplete-seen is non-nil.
13471 (pcomplete-comint-setup): Also recognize the new comint/shell
13472 completion functions.
13473 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13474 pcomplete-seen is non-nil.
13475
841a1577 134762011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13477
841a1577 13478 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13479 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13480 the first character in the entry. This allows for code to add its
211ec907
UJ
13481 own uid to the entry.
13482 (icalendar--convert-float-to-ical): Add export of
13483 `diary-float'-entries save for those with the optional DAY
13484 argument.
13485
2a782793
DC
134862011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13487
13488 * subr.el (shell-quote-argument): Use alternate escaping strategy
13489 when we spot a variable reference in a string.
13490
0438ce91
DC
134912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13492
13493 * cus-start.el (all): Define customization for debug-on-event.
13494
841a1577 134952011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13496
13497 * subr.el (shell-quote-argument): Escape correctly under Windows.
13498
d090ed6c
SM
134992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13500
13501 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13502
bfd31217
MA
135032011-04-25 Michael Albinus <michael.albinus@gmx.de>
13504
d090ed6c
SM
13505 * net/tramp.el (tramp-process-actions): Add POS argument.
13506 Delete region between POS and (pos).
bfd31217 13507
d090ed6c
SM
13508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13509 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13510 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13511
13512 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13513 position in `tramp-process-actions' call.
13514
13515 * net/trampver.el: Update release number.
13516
e92f3bd3
SM
135172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13518
850256b5
SM
13519 * custom.el (defcustom): Obey lexical-binding.
13520
e92f3bd3
SM
13521 Fix octave-inf completion problems reported by Alexander Klimov.
13522 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13523 Inherit from octave-mode-syntax-table.
13524 (inferior-octave-mode): Set info-lookup-mode.
13525 (inferior-octave-completion-at-point): New function.
13526 (inferior-octave-complete): Use it and completion-in-region.
13527 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13528 comint-filename-completion.
13529 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13530 symbol elements which shouldn't be word elements.
13531 (octave-font-lock-keywords, octave-beginning-of-defun)
13532 (octave-function-header-regexp): Adjust regexps accordingly.
13533 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13534
cd22b309
JB
135352011-04-25 Juanma Barranquero <lekktu@gmail.com>
13536
13537 * net/gnutls.el (gnutls-errorp): Declare before first use.
13538
8b492194
TZ
135392011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13540
13541 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13542 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13543 default trustfile exists before going to use it. Add missing
5a5fa834 13544 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13545 Reported by Claudio Bley <claudio.bley@gmail.com>.
13546 (open-gnutls-stream): Add usage example.
13547
13548 * net/network-stream.el (network-stream-open-starttls): Give host
13549 parameter to `gnutls-negotiate'.
13550 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13551 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13552
841a1577 135532011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13554
cd22b309
JB
13555 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13556 Use correct match group (bug#8438).
05842630 13557
3ba7869c
CY
135582011-04-24 Chong Yidong <cyd@stupidchicken.com>
13559
512e3ae1
CY
13560 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13561 (package-menu--generate): New arg specifying packages to show.
13562 (package-menu-refresh, package-menu-execute, list-packages):
13563 Callers changed.
13564 (package-show-package-list): New function, replacing deleted
13565 package--list-packages (renamed because it is non-internal).
13566
13567 * finder.el (finder-list-matches): Use package-show-package-list
13568 instead of deleted package--list-packages.
13569
e92f3bd3
SM
13570 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13571 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13572 (vc-annotate-mode-map): Bind it to RET.
13573
7031be6d
UR
135742011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13575
13576 * progmodes/etags.el (next-file): Don't use set-buffer to change
13577 buffers (Bug#8478).
13578
4ef177aa
CY
135792011-04-24 Chong Yidong <cyd@stupidchicken.com>
13580
c8d173eb
CY
13581 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13582
4ef177aa
CY
13583 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13584 (apropos-accumulator): Doc fix.
13585 (apropos-function, apropos-macro, apropos-command)
13586 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13587 (apropos-plist): Add face property.
13588 (apropos-symbols-internal): Fix indentation.
13589 (apropos-print): Simplify help, and recognize apropos-multi-type.
13590 (apropos-print-doc): Use button-type-get to extract the button's
13591 face property. Fill docstring (Bug#8352).
13592
4ffd0d6b 135932011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13594
13595 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13596
c6c32125 13597 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13598 (mpuz-mode-map): Use mapc.
c6c32125
JB
13599 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13600 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13601 Fix typos in docstrings.
13602
58d468b4
JB
13603 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13604 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13605
6470c3c6
JB
13606 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13607
4ffd0d6b 136082011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13609
13610 * minibuffer.el (completion--do-completion): Avoid the "Next char
13611 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13612
3ad8bad0
CY
13613 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13614 mouse-2 into unread-command-events, it is interpreted correctly.
13615
71d73c9c 13616 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13617 (image-toggle-display): Doc fix.
71d73c9c 13618
841a1577 136192011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13620
4ffd0d6b
GM
13621 * textmodes/page.el (what-page): Use line-number-at-pos to
13622 calculate line number (Bug#6825).
6e1dbaa9 13623
c2fb1b60
JB
136242011-04-22 Juanma Barranquero <lekktu@gmail.com>
13625
13626 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13627 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13628 Pass argument NO-DEFAULT to `find-tag-interactive'.
13629
e02f48d7
JB
136302011-04-22 Juanma Barranquero <lekktu@gmail.com>
13631
13632 Lexical-binding cleanup.
13633
13634 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13635 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13636 * progmodes/ada-prj.el (ada-prj-initialize-values)
13637 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13638 (ada-prj-show-value):
13639 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13640 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13641 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13642 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13643 * progmodes/bug-reference.el (bug-reference-push-button):
13644 * progmodes/fortran.el (fortran-line-length):
13645 * progmodes/glasses.el (glasses-change):
13646 * progmodes/octave-mod.el (octave-fill-paragraph):
13647 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13648 (python-pdbtrack-grub-for-buffer, python-sentinel):
13649 * progmodes/sql.el (sql-save-connection):
13650 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13651 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13652 Mark unused parameters.
13653
13654 * progmodes/compile.el (compilation--flush-directory-cache)
13655 (compilation--flush-parse, compile-internal): Mark unused parameters.
13656 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13657 (compilation-next-error-function): Remove unused variable `timestamp'.
13658
13659 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13660 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13661
13662 * progmodes/dcl-mode.el (dcl-end-of-command):
13663 Remove unused variable `start'.
13664 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13665 (dcl-option-value-basic, dcl-option-value-offset)
13666 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13667 Mark unused parameters.
13668 (dcl-save-local-variable): Remove unused variable `val'.
13669 (mode): Declare.
13670
13671 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13672 Mark unused parameters.
13673 (delphi-ignore-changes): Move before first use.
13674 (delphi-charset-token-at): Remove unused variable `start'.
13675 (delphi-else-start): Remove unused variable `if-count'.
13676 (delphi-comment-block-start, delphi-comment-block-end):
13677 Remove unused variable `kind'.
13678 (delphi-indent-line): Remove unused variable `new-point'.
13679
13680 * progmodes/ebrowse.el (ebrowse-files-list)
13681 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13682 Mark unused parameters. Don't quote `lambda'.
13683 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13684 Don't quote `lambda'.
13685 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13686 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13687 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13688 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13689 Use `ignore-errors'.
13690 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13691 (ebrowse-view/find-file-and-search-pattern)
13692 (ebrowse-view/find-member-declaration/definition):
13693 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13694 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13695 Rename parameter PREFIX-ARG to PREFIX.
13696 (ebrowse-tags-read-name): Remove unused variables `start' and
13697 `member-info'.
13698 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13699 to `tags-file'.
13700
13701 * progmodes/etags.el (local-find-tag-hook): Declare.
13702 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13703 Mark unused parameters.
13704
13705 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13706 (executable-interpret): Mark unused parameter.
13707
13708 * progmodes/flymake.el (flymake-process-sentinel)
13709 (flymake-after-change-function)
13710 (flymake-create-temp-with-folder-structure)
13711 (flymake-get-include-dirs-dot): Mark unused parameters.
13712 (flymake-safe-delete-directory): Remove unused variable `err'.
13713
13714 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13715 (speedbar-timer-fn, speedbar-line-text)
13716 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13717 (speedbar-center-buffer-smartly): Declare functions.
13718 (gdb-find-watch-expression): Remove unused variable `array'.
13719 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13720 (gdb-starting): Mark unused parameters.
13721 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13722 (gdb-table-string): Remove unused variable `res'.
13723 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13724 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13725 (gdb-display-buffer): Remove unused variable `cur-size'.
13726
13727 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13728 allow lexical-binding compilation.
13729 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13730 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13731 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13732 Mark unused parameters.
13733 (gud-gdb-marker-filter): Remove unused variable `match'.
13734 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13735 lambda expressions and funcall them, instead of using `fset'.
13736
13737 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13738 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13739
13740 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13741 variable `header-beg'; use `let'.
13742
13743 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13744 `restart', `last-sexp' and `at-do'.
13745
13746 * progmodes/js.el (js--debug): Mark unused parameter.
13747 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13748 (js--splice-into-items): Remove unused variable `item'.
13749 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13750
13751 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13752 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13753 (makefile-complete): Remove unused variable `try'.
13754 (makefile-fill-paragraph, makefile-match-function-end):
13755 Mark unused parameters.
13756
13757 * progmodes/octave-inf.el (inferior-octave-complete):
13758 Remove unused variable `proc'.
13759 (inferior-octave-output-digest): Mark unused parameter.
13760
13761 * progmodes/perl-mode.el (perl-calculate-indent):
13762 Remove unused variable `err'.
13763
13764 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13765 (prolog-indent-line): Mark unused parameters.
13766 (prolog-indent-line): Remove unused variable `beg'.
13767
13768 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13769 (reporter-dont-compact-list): Declare.
13770
13771 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13772 Remove unused variable `char'.
13773 (sh-debug): Mark unused parameter.
13774 (sh-get-indent-info): Remove unused variable `start'.
13775 (sh-calculate-indent): Remove unused variable `var'.
13776
13777 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13778 (simula-electric-keyword): Remove unused variable `null'.
13779 (simula-search-backward, simula-search-forward): Remove unused
13780 variables `begin' and `end'.
13781
13782 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13783 Remove unused variable `pos'.
13784 (vera-electric-tab, vera-comment-uncomment-region):
13785 Mark unused parameters.
13786 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13787
7ede3b65
CY
137882011-04-22 Chong Yidong <cyd@stupidchicken.com>
13789
13790 * emacs-lisp/package.el (package--builtins, package-alist)
13791 (package-load-descriptor, package-built-in-p, package-activate)
13792 (define-package, package-installed-p)
13793 (package-compute-transaction, package-buffer-info)
13794 (package--push): Doc fix. Distinguish more clearly between
13795 version strings and version lists.
13796
121656e9
JB
137972011-04-21 Juanma Barranquero <lekktu@gmail.com>
13798
13799 Lexical-binding cleanup.
13800
13801 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13802 (5x5-make-mutate-best):
13803 * play/fortune.el (fortune-in-buffer):
13804 * play/gomoku.el (gomoku-init-display):
13805 * play/solitaire.el (solitaire, solitaire-do-check):
13806 * play/tetris.el (tetris-default-update-speed-function):
13807 Mark unused parameters.
13808
13809 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13810 (bubbles--shift): Remove unused variable `char-org'.
13811 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13812 (bubbles--show-images): Remove unused variable `char'.
13813
13814 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13815 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13816 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13817 (decipher-analyze-buffer): Use ?\s.
13818 (decipher-make-checkpoint): Remove unused variable `mapping'.
13819
13820 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13821
13822 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13823 Remove unused variable `result'; use `let'.
13824
13825 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13826 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13827 (gametree-children-shown-p, gametree-compute-reduced-score):
13828 Use `ignore-errors'.
13829
13830 * play/handwrite.el (ps-lpr-switches): Declare.
13831 (handwrite): Remove unused variables `pmin' and `lastp'.
13832
13833 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13834
13835 * play/landmark.el (landmark-init-display)
13836 (landmark-update-naught-weights): Mark unused parameters.
13837 (landmark-y): Remove unused variable `noise'. Simplify.
13838 (landmark-human-plays): Remove unused variable `score'.
13839
13840 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13841 (mpuz-try-proposal): Remove unused variable `game'.
13842
13843 * play/zone.el (life-patterns): Declare.
13844
80f499c7
JB
138452011-04-20 Juanma Barranquero <lekktu@gmail.com>
13846
13847 * vc/vc.el (ediff-vc-internal): Declare function.
13848
024ff170
SM
138492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13850
c0a193ea
SM
13851 * shell.el: Use lexical-binding and std completion UI.
13852 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13853 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13854 comint-preoutput-filter-functions rather than on
13855 comint-output-filter-functions.
13856 (shell-command-completion, shell--command-completion-data)
13857 (shell-filename-completion, shell-environment-variable-completion)
13858 (shell-c-a-p-replace-by-expanded-directory): New functions.
13859 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13860 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13861 (shell-dynamic-complete-environment-variable): Use them.
13862 (shell-dynamic-complete-as-environment-variable)
13863 (shell-dynamic-complete-as-command): Remove.
13864 (shell-match-partial-variable): Match past point.
13865 * comint.el: Clean up use of completion-at-point-functions.
13866 (comint-completion-at-point): New function.
13867 (comint-mode): Use it completion-at-point-functions.
13868 (comint-dynamic-complete): Make it obsolete.
13869 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13870 (comint-c-a-p-replace-by-expanded-history): New function.
13871 (comint-dynamic-complete-functions)
13872 (comint-replace-by-expanded-history): Use it.
13873 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13874 termination strings. Try harder to avoid second try-completion.
13875 (completion-in-region-mode-map): Disable bindings that don't work yet.
13876
2dbaa080
SM
13877 * comint.el: Use lexical-binding. Require CL.
13878 (comint-dynamic-complete-functions): Use comint-filename-completion.
13879 (comint-completion-addsuffix): Tweak custom type.
13880 (comint-filename-completion, comint--common-suffix)
13881 (comint--common-quoted-suffix, comint--table-subvert)
13882 (comint--complete-file-name-data): New functions.
13883 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13884 (comint-dynamic-list-filename-completions): Use them.
13885 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13886
2dbaa080
SM
13887 * minibuffer.el (completion-in-region-mode):
13888 Keep completion-in-region-mode--predicate global.
13889 (completion-in-region--postch):
13890 Assume completion-in-region-mode--predicate is not null.
13891
c79a6f38
SM
13892 * progmodes/flymake.el (flymake-start-syntax-check-process):
13893 Obey `dir'. Simplify.
13894
024ff170
SM
13895 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13896 we're in VC after all.
13897
1c6c854e
CS
138982011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13899
13900 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13901 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13902 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13903
bed7f140
SM
139042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13905
332e62ab
SM
13906 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13907 add sanity check.
13908
bed7f140
SM
13909 * obsolete/erc-hecomplete.el: Make obsolete.
13910 * obsolete/: Standardize obsolescence info in the header.
13911
f195c582
GM
139122011-04-20 Glenn Morris <rgm@gnu.org>
13913
13914 * calendar/solar.el (solar-horizontal-coordinates):
13915 Use the longitude argument rather than `calendar-longitude'.
13916 (solar-date-next-longitude): Remove unused locals.
13917
cb79b8c0
VJL
139182011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13919
13920 * whitespace.el: New version 13.2.1.
13921
139222011-04-20 felix <EmacsWiki> (tiny change)
13923
d8e4b68b 13924 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13925 switching between major modes on a file.
13926
602ea69d
SM
139272011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13928
13929 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13930 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13931 multi-line comments as well.
13932
06b60517
JB
139332011-04-19 Juanma Barranquero <lekktu@gmail.com>
13934
13935 Lexical-binding cleanup.
13936
13937 * arc-mode.el (archive-mode-revert):
13938 * cmuscheme.el (scheme-interactively-start-process):
13939 * custom.el (custom-initialize-delay):
13940 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13941 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13942 * emacs-lock.el (emacs-lock-clear-sentinel):
13943 * ezimage.el (defezimage):
13944 * follow.el (follow-avoid-tail-recenter):
13945 * fringe.el (set-fringe-mode-1):
13946 * generic-x.el (bat-generic-mode-compile):
13947 * help-mode.el (help-info-variable, help-do-xref)
13948 (help-mode-revert-buffer):
13949 * help.el (view-emacs-todo):
13950 * iswitchb.el (iswitchb-completion-help):
13951 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13952 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13953 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13954 * locate.el (locate-update):
13955 * longlines.el (longlines-encode-region)
13956 (longlines-after-change-function):
13957 * outline.el (outline-isearch-open-invisible):
13958 * ps-def.el (declare-function, charset-dimension, char-width)
13959 (encode-char):
13960 * ps-mule.el (ps-mule-plot-string):
13961 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13962 (recentf-edit-list-select, recentf-edit-list-validate)
13963 (recentf-open-files-action):
13964 * rect.el (delete-whitespace-rectangle-line)
13965 (rectangle-number-line-callback):
13966 * register.el (window-configuration-to-register)
13967 (frame-configuration-to-register):
13968 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13969 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13970 (xselect-convert-to-targets, xselect-convert-to-delete)
13971 (xselect-convert-to-filename, xselect-convert-to-charpos)
13972 (xselect-convert-to-lineno, xselect-convert-to-colno)
13973 (xselect-convert-to-os, xselect-convert-to-host)
13974 (xselect-convert-to-user, xselect-convert-to-class)
13975 (xselect-convert-to-name, xselect-convert-to-integer)
13976 (xselect-convert-to-atom, xselect-convert-to-identity):
13977 * subr.el (declare, ignore, process-kill-without-query)
13978 (text-clone-maintain):
13979 * terminal.el (te-get-char, te-tic-sentinel):
13980 * tool-bar.el (tool-bar-make-keymap):
13981 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13982 * type-break.el (type-break-mode, type-break-noninteractive-query):
13983 * view.el (View-back-to-mark):
13984 * wid-browse.el (widget-browse-action, widget-browse-widget)
13985 (widget-browse-widgets, widget-browse-sexp):
13986 * widget.el (define-widget-keywords):
13987 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13988 Mark unused parameters.
13989
13990 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13991 (align-areas): Remove unused variable `look'.
13992 (align-region): Remove unused variables `real-end' and `pos-list'.
13993
13994 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13995
13996 * bindings.el (mode-line-modified, mode-line-remote):
13997 Mark unused parameters.
13998 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13999
14000 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14001 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14002
14003 * comint.el (comint-history-isearch-pop-state)
14004 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14005 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14006 (comint-substitute-in-file-name): Doc fix.
14007
14008 * completion.el (cmpl-statistics-block): Mark unused parameter.
14009 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14010 (save-completions-to-file, load-completions-from-file):
14011 Remove unused local variable `e'.
14012
14013 * composite.el (compose-chars): Remove unused variable `len'.
14014 (lgstring-insert-glyph): Remove unused variable `g'.
14015 (compose-glyph-string): Remove unused variables `ascent',
14016 `descent', `lbearing' and `rbearing'.
14017 (compose-glyph-string-relative): Remove unused variables
14018 `lbearing', `rbearing' and `wadjust'.
14019 (compose-gstring-for-graphic): Remove unused variables `header',
14020 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14021 (compose-gstring-for-terminal): Remove unused variables `header'
14022 and `nchars'. Use `let', not `let*'.
14023
14024 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14025 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14026 (Custom-buffer-done, custom-buffer-create-internal)
14027 (custom-browse-visibility-action, custom-browse-group-tag-action)
14028 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14029 (widget-magic-mouse-down-action, custom-toggle-parent)
14030 (custom-add-parent-links, custom-toggle-hide-variable)
14031 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14032 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14033 (custom-face-menu-create, custom-variable-menu-create, get)
14034 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14035 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14036 (customize-apropos): Remove unused variable `tests'.
14037 (custom-group-value-create): Remove unused variable `hidden-p'.
14038 (sort-fold-case): Declare.
14039
14040 * cus-theme.el (custom-reset-standard-faces-list)
14041 (custom-reset-standard-variables-list): Declare.
14042 (customize-create-theme, custom-theme-revert, custom-theme-write)
14043 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14044 Mark unused parameters.
14045
14046 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14047
14048 * delim-col.el (delimit-columns-max): Move defvar before first use.
14049
14050 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14051 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14052
14053 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14054 (auto-insert): Declare.
14055 (desktop-restore-file-buffer): Rename desktop-* parameters;
14056 mark unused ones.
14057 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14058 (desktop-buffer): Rename desktop-* parameters.
14059
14060 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14061 (dframe-reposition-frame-xemacs, dframe-help-echo)
14062 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14063 Mark unused parameters.
14064
14065 * dired-aux.el (backup-extract-version-start, overwrite-query)
14066 (overwrite-backup-query, rename-regexp-query)
14067 (rename-non-directory-query): Declare.
14068 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14069 (dired-add-entry): Remove unused variable `orig-file-name'.
14070 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14071 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14072 `dired-copy-preserve-time' directly.
14073 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14074 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14075
14076 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14077 (dired-virtual-revert, dired-make-relative-symlink):
14078 Mark unused parameters.
14079 (manual-program): Declare.
14080 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14081 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14082 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14083
14084 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14085
14086 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14087
14088 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14089 Declare.
14090
14091 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14092
14093 * electric.el (Electric-command-loop): Rename parameter
14094 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14095
14096 * expand.el (expand-in-literal): Remove unused variable `here'.
14097
14098 * facemenu.el (facemenu-add-new-color):
14099 Remove unused variable `docstring'.
14100
14101 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14102 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14103 (face-attr-construct): Mark unused parameter. Doc fix.
14104 (read-color): Remove unused variable `hex-string'.
14105
14106 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14107 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14108 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14109 (display-buffer-other-frame): Remove unused variable `old-window'.
14110 (kill-buffer-hook): Declare.
14111 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14112 Mark unused parameters.
14113 (after-find-file): Pass 1 to `auto-save-mode', not t.
14114
14115 * files-x.el (auto-insert): Declare.
14116 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14117
14118 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14119 variable `buf'. Mark unused parameter.
06b60517
JB
14120 (find-lisp-insert-directory): Mark unused parameter.
14121
14122 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14123 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14124 (format-common-tail): Remove, unused.
14125 (format-deannotate-region): Remove unused variable `loc'.
14126 (format-annotate-region): Remove unused variable `p'.
14127 (format-annotate-single-property-change): Remove unused variables
14128 `default' and `tail'.
14129
14130 * forms.el (read-file-filter): Declare.
14131 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14132
14133 * frame.el (frame-creation-function-alist): Mark unused parameter.
14134 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14135
14136 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14137 Remove unused parameters.
14138 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14139 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14140
14141 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14142 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14143 (hfy-prepare-tag-map): Mark unused parameters.
14144 (htmlfontify-buffer): Use `called-interactively-p'.
14145
14146 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14147 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14148 (ibuffer-do-occur): Mark unused parameters.
14149 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14150 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14151
14152 * ibuffer.el: Don't quote `lambda'.
14153 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14154 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14155 Mark unused parameters.
14156
14157 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14158 (ido-completing-read): Mark unused parameters.
14159 (ido-copy-current-word): Mark unused parameters;
14160 remove unused variable `name'.
14161 (ido-sort-merged-list): Remove unused parameter `dirs'.
14162
14163 * ielm.el (ielm-input-sender): Mark unused parameter.
14164 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14165 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14166 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14167 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14168 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14169
14170 * image-dired.el (image-dired-display-thumbs): Remove unused
14171 variables `curr-file' and `count'.
14172 (image-dired-remove-tag): Remove unused variable `start'.
14173 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14174 variable `curr-file'
14175 (image-dired-rotate-original): Remove unused variable `temp-file'.
14176 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14177 Remove unused variable `file'.
14178 (image-dired-gallery-generate): Remove unused variable `curr'.
14179 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14180
14181 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14182
14183 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14184
14185 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14186
14187 * isearch.el (minibuffer-history-symbol): Declare.
14188 (isearch-edit-string): Remove unused variable `err'.
14189 (isearch-message-prefix, isearch-message-suffix):
14190 Mark unused parameters.
14191
14192 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14193
14194 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14195
14196 * makesum.el (double-column): Remove unused variable `cnt'.
14197
14198 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14199 (ido-ignore-item-temp-list): Declare.
14200
14201 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14202 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14203 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14204 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14205 `mouse-col-delta'.
14206
14207 * mouse-sel.el (mouse-extend-internal):
14208 Remove unused variable `orig-window-frame'.
14209
14210 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14211 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14212 Move declarations before first use.
14213 (pcomplete-opt): Mark unused parameters; doc fix.
14214
14215 * proced.el (proced-revert): Mark unused parameter.
14216 (proced-send-signal): Remove unused variable `err'.
14217
14218 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14219 Rename parameter PREFIX-ARG to ARG.
14220 (ps-basic-plot-string, ps-basic-plot-whitespace):
14221 Mark unused parameters.
14222
14223 * replace.el (replace-count): Define.
14224 (occur-revert-function): Mark unused parameters.
14225 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14226 (isearch-case-fold-search, isearch-string): Declare.
14227 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14228 bind `case-fold-search'. Remove unused variables `beg' and `end',
14229 and simplify.
14230 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14231 COUNT and bind `replace-count'.
14232 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14233 to COUNT.
14234
14235 * savehist.el (print-readably, print-string-length): Declare.
14236
14237 * shadowfile.el (shadow-expand-cluster-in-file-name):
14238 Remove unused variable `cluster'.
14239 (shadow-copy-file): Remove unused variable `i'.
14240 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14241 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14242 (shadow-define-literal-group, shadow-define-regexp-group)
14243 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14244
14245 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14246 (shell): Use `called-interactively-p'.
14247 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14248
14249 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14250 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14251 (delete-backward-char): Remove unused variable `ocol'.
14252 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14253 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14254 (event-apply-hyper-modifier, event-apply-shift-modifier)
14255 (event-apply-control-modifier, event-apply-meta-modifier):
14256 Mark unused parameters.
14257 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14258 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14259
14260 * speedbar.el (speedbar-ignored-directory-expressions)
14261 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14262 (speedbar-find-file, speedbar-dir-follow)
14263 (speedbar-directory-buttons-follow, speedbar-tag-find)
14264 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14265 (speedbar-buffers-line-directory, speedbar-buffer-click):
14266 Mark unused parameters.
14267 (speedbar-tag-file): Remove unused variable `mode'.
14268 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14269
14270 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14271
14272 * talk.el (talk): Remove unused variable `display'.
14273
14274 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14275 (tar-write-region-annotate): Mark unused parameter.
14276
14277 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14278 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14279 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14280 warning by another.
14281
14282 * time-stamp.el (time-stamp-string-preprocess):
14283 Remove unused variable `require-padding'.
14284
14285 * tree-widget.el (widget-glyph-enable): Declare.
14286 (tree-widget-action): Mark unused parameter.
14287
14288 * w32-fns.el (x-get-selection): Mark unused parameter.
14289 (autoload-make-program, generated-autoload-file): Declare.
14290
14291 * wdired.el (wdired-revert): Mark unused parameters.
14292 (wdired-xcase-word): Remove unused variable `err'.
14293
14294 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14295 (whitespace-help-scroll): Remove unused variable `data-help'.
14296
14297 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14298 (widget-image-insert, widget-after-change, default)
14299 (widget-default-format-handler, widget-default-notify)
14300 (widget-default-prompt-value, widget-info-link-action)
14301 (widget-url-link-action, widget-function-link-action)
14302 (widget-variable-link-action, widget-file-link-action)
14303 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14304 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14305 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14306 (widget-insert-button-action, widget-delete-button-action, visibility)
14307 (widget-documentation-link-action, widget-documentation-string-action)
14308 (widget-const-prompt-value, widget-regexp-match, symbol)
14309 (widget-coding-system-prompt-value)
14310 (widget-key-sequence-value-to-external, sexp)
14311 (widget-sexp-value-to-internal, character, vector, cons)
14312 (widget-choice-prompt-value, widget-boolean-prompt-value)
14313 (widget-color--choose-action): Mark unused parameters.
14314 (widget-item-match-inline, widget-choice-match-inline)
14315 (widget-checklist-match, widget-checklist-match-inline)
14316 (widget-group-match): Rename parameter VALUES to VALS.
14317 (widget-field-value-set): Remove unused variable `size'.
14318 (widget-color-action): Remove unused variables `value' and `start'.
14319
14320 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14321 variable `dir'. Doc fix.
06b60517
JB
14322 (windmove-find-other-window): Don't pass it.
14323
14324 * window.el (count-windows): Mark unused parameter.
14325 (bw-adjust-window): Remove unused variable `err'.
14326
14327 * woman.el (woman-file-name): Remove unused variable `default'.
14328 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14329 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14330 (global-font-lock-mode): Declare.
14331 (woman-decode-region): Mark unused parameter.
14332 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14333
14334 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14335 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14336 (x-dnd-handle-moz-url): Remove unused variable `title'.
14337 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14338
14339 * xml.el (xml-parse-tag, xml-parse-attlist):
14340 Remove unused variable `pos'.
14341
bc4f7f3d
GM
143422011-04-19 Glenn Morris <rgm@gnu.org>
14343
14344 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14345 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14346 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14347 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14348 * calendar/cal-html.el (cal-html-insert-minical):
14349 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14350 (calendar-mark-date-pattern):
14351 Prefix "unused" locals.
14352
14353 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14354 optional argument `style'.
14355
14356 * calendar/appt.el (appt-make-list):
14357 * calendar/cal-china.el (calendar-chinese-date-string):
14358 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14359 (diary-hebrew-yahrzeit):
14360 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14361 * calendar/calendar.el (calendar-generate-window):
14362 * calendar/time-date.el (time-to-days):
14363 Remove unused local variables.
14364
16a43933
CY
143652011-04-18 Chong Yidong <cyd@stupidchicken.com>
14366
14367 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14368 glyphless-char-display table.
14369 (tabulated-list-glyphless-char-display): New var.
14370
7eed1860
SS
143712011-04-18 Sam Steingold <sds@gnu.org>
14372
14373 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14374 to acknowledgments.
14375
4d2d1ccd
GM
143762011-04-17 Glenn Morris <rgm@gnu.org>
14377
14378 * calendar/diary-lib.el (diary-sexp-entry):
14379 * calendar/holidays.el (holiday-sexp):
14380 Set debug-on-error rather than the removed stack-trace-on-error.
14381
239da61d
GM
143822011-04-16 Glenn Morris <rgm@gnu.org>
14383
14384 * progmodes/f90.el: Use lexical-binding.
14385 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14386
8b05752a
SM
143872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14388
daca8ba5
SM
14389 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14390 (mail-mode): Setup mailalias completion here instead.
14391 * mail/mailalias.el: Use lexical-binding.
14392 (pattern, mailalias-done): Declare dynamic.
14393 (mail-completion-at-point-function): New function, from mail-complete.
14394 (mail-complete): Use it.
14395 (mail-completion-expand): New function.
14396 (mail-get-names): Use it.
14397 (mail-directory, mail-directory-process, mail-directory-stream):
14398 Don't use `pattern' for lexically bound arg.
14399
6f542485
SM
14400 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14401
037e7c3f
SM
14402 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14403 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14404 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14405
8b05752a
SM
14406 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14407 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14408 (byte-interactive-p): Define them again, for use when inlining
14409 old code.
14410
49093f60
JB
144112011-04-15 Juanma Barranquero <lekktu@gmail.com>
14412
14413 * loadup.el: Use `string-to-number', not `string-to-int'.
14414
b5b8e7de
SM
144152011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14418 gud-gdb-complete-command.
14419 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14420 (gud-gdb-completion-at-point): New function.
14421 (gud-gdb-completions): Remove.
14422
f42efeb5
MA
144232011-04-14 Michael Albinus <michael.albinus@gmx.de>
14424
49093f60
JB
14425 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14426 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14427 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14428 whether `executable-find' is bound.
f42efeb5
MA
14429
14430 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14431
e240cc21
SM
144322011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * minibuffer.el (completion-in-region-mode-predicate)
14435 (completion-in-region-mode--predicate): New vars.
14436 (completion-in-region, completion-in-region--postch)
14437 (completion-in-region-mode): Use them.
14438 (completion--capf-wrapper): Also return the hook function.
14439 (completion-at-point, completion-help-at-point):
14440 Adjust and provide a predicate.
c2bd2ab0
SM
14441
14442 Preserve arg names for advice of subr and lexical functions (bug#8457).
14443 * help-fns.el (help-function-arglist): Consolidate the subr and
14444 new-byte-code cases. Add argument `preserve-names' to extract names
14445 from the docstring when needed.
14446 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14447 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14448 (ad-arglist): Use help-function-arglist's new arg.
14449 (ad-definition-type): Use cond.
14450
c183f693
JB
144512011-04-13 Juanma Barranquero <lekktu@gmail.com>
14452
06641a47
JB
14453 * autorevert.el (auto-revert-handler):
14454 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14455 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14456 Don't quote lambda.
14457
c183f693
JB
14458 * image-mode.el (image-transform-set-scale):
14459 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14460
1e3b6001
G
144612011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14462
14463 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14464 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14465 Upgrades via gnutls-cli are too slow to be done opportunistically.
14466
2d6af8dd
JB
144672011-04-12 Juanma Barranquero <lekktu@gmail.com>
14468
14469 * dframe.el (dframe-current-frame): Remove spurious quote.
14470
c0749a51
GM
144712011-04-12 Glenn Morris <rgm@gnu.org>
14472
088d0d61
GM
14473 * calendar/cal-tex.el (cal-tex-end-document):
14474 Try to automatically use latin1 input if needed.
14475
c0749a51
GM
14476 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14477 Don't try to cons a mark onto an empty element.
14478
5c90fde0
LL
144792011-04-11 Leo Liu <sdl.web@gmail.com>
14480
14481 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14482 buffers.
14483 (ido-kill-buffer-at-head): Support killing virtual buffers.
14484
369e974d
CY
144852011-04-10 Chong Yidong <cyd@stupidchicken.com>
14486
14487 * minibuffer.el (completion-show-inline-help): New var.
14488 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14489 (minibuffer-force-complete, minibuffer-complete-word):
14490 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14491
14492 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14493 to avoid interference from inline help (Bug#5849).
14494
37f1c930
LL
144952011-04-10 Leo Liu <sdl.web@gmail.com>
14496
099c39a4
JB
14497 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14498 Fix typo.
37f1c930 14499
a32d4040
CY
145002011-04-09 Chong Yidong <cyd@stupidchicken.com>
14501
14502 * image-mode.el (image-toggle-display-image): Signal an error if
14503 not in Image mode.
14504 (image-transform-mode, image-transform-resize)
14505 (image-transform-set-rotation): Doc fix.
daca8ba5 14506 (image-transform-set-resize): Delete.
a32d4040
CY
14507 (image-transform-set-scale, image-transform-fit-to-height)
14508 (image-transform-fit-to-width): Handle image-toggle-display-image
14509 and image-transform-resize directly.
14510
099c39a4 145112011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14512
14513 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14514 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14515 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14516 (doc-view-mode-map): Add bindings for the new functions.
14517
099c39a4 145182011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14519
4d61f28d 14520 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14521 Fix typo in docstring.
14522
3726838a
EZ
145232011-04-08 Eli Zaretskii <eliz@gnu.org>
14524
04f33f1e
EZ
14525 * files.el (file-size-human-readable): Produce one digit after
14526 decimal, like "ls -lh" does.
14527
14528 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14529 the file size representation.
14530
3726838a
EZ
14531 * simple.el (list-processes): If async subprocesses are not
14532 available, error out with a clear error message.
14533
cbb59342
CY
145342011-04-08 Chong Yidong <cyd@stupidchicken.com>
14535
14536 * help.el (help-form-show): New function, to be called from C.
14537 Put help-form output in a buffer named differently than *Help*.
14538
e3971c44
EZ
145392011-04-08 Eli Zaretskii <eliz@gnu.org>
14540
14541 * files.el (file-size-human-readable): New function.
14542
14543 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14544 computing the representation inline. Don't require `cl'.
14545
12544bbe
GM
145462011-04-08 Glenn Morris <rgm@gnu.org>
14547
a1de6c6a
GM
14548 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14549
3c4671f4
GM
14550 * net/browse-url.el (browse-url-firefox):
14551 Test system-type, not system-configuration.
14552
b605679c
GM
14553 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14554 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14555 Use log-edit-empty-buffer-p. (Bug#7598)
14556
56442f0c
GM
14557 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14558 (rlogin-mode-map): Initialize in the defvar.
14559 (rlogin): Use ignore-errors.
14560
12544bbe
GM
14561 * replace.el (occur-mode-map): Some fixes for menu items.
14562
eb237b0f
AH
145632011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14564
14565 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14566
7d668f2c
CY
145672011-04-06 Chong Yidong <cyd@stupidchicken.com>
14568
e67a13ab
CY
14569 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14570 issuing unused warnings.
14571
14572 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14573 macro directly.
14574
7d668f2c
CY
14575 * simple.el: Lisp reimplement of list-processes. Based on an
14576 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14577 (process-menu-mode): New major mode.
14578 (list-processes--refresh, list-processes):
14579 (process-menu-visit-buffer): New functions.
14580
14581 * files.el (save-buffers-kill-emacs): Don't assume any return
14582 value of list-processes, which is undocumented anyway.
14583
a83ec3c9
CY
145842011-04-06 Chong Yidong <cyd@stupidchicken.com>
14585
14586 * emacs-lisp/tabulated-list.el: New file.
14587
e91a96fe
CY
14588 * emacs-lisp/package.el: Use Tabulated List mode.
14589 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14590 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14591 table format using Tabulated List mode variables.
14592 (package--push): New macro, replacing package-list-maybe-add.
14593 (package-menu--generate): Use package--push. Renamed from
14594 package--generate-package-list.
14595 (package-menu-refresh, list-packages): Use it.
daca8ba5 14596 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14597 Return insertion data instead of inserting it directly.
099c39a4
JB
14598 (package-menu-describe-package, package-menu-execute):
14599 Use tabulated-list-get-id.
e91a96fe
CY
14600 (package-menu-mark-delete, package-menu-mark-install)
14601 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14602 (package-menu-mark-obsolete-for-deletion):
14603 Use tabulated-list-put-tag.
e91a96fe
CY
14604 (package--list-packages, package-menu-revert)
14605 (package-menu-get-package, package-menu-get-version)
14606 (package-menu-sort-by-column): Functions deleted.
14607 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14608 (package-menu--status-predicate, package-menu--version-predicate)
14609 (package-menu--name-predicate)
14610 (package-menu--description-predicate): Handle arguments in the
14611 Tabulated List format.
14612 (package-list-packages-no-fetch): Call list-packages.
14613
3e214b50
JB
146142011-04-06 Juanma Barranquero <lekktu@gmail.com>
14615
14616 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14617 (after-find-file): Don't bind it.
3e214b50
JB
14618 (revert-buffer-in-progress-p): New variable.
14619 (revert-buffer): Bind it.
14620 Pass nil for `after-find-file-from-revert-buffer'.
14621
14622 * saveplace.el (save-place-find-file-hook): Use new variable
14623 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14624
3f0f1700
GM
146252011-04-06 Glenn Morris <rgm@gnu.org>
14626
c0274801
GM
14627 * Makefile.in (AUTOGEN_VCS): New variable.
14628 (autoloads): Use $AUTOGEN_VCS.
14629
3f0f1700
GM
14630 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14631 * calendar/calendar.el (calendar-mode-map):
14632 Check for toolkit scroll bars. (Bug#8305)
14633
41ea9e48
CY
146342011-04-05 Chong Yidong <cyd@stupidchicken.com>
14635
14636 * minibuffer.el (completion-in-region--postch)
14637 (completion-in-region-mode): Remove unnecessary messages.
14638
6194c800
JB
146392011-04-05 Juanma Barranquero <lekktu@gmail.com>
14640
33256f14
JB
14641 * font-lock.el (font-lock-refresh-defaults):
14642 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14643 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14644
6194c800
JB
14645 * info.el (Info-directory-list, Info-read-node-name-2)
14646 (Info-split-parameter-string): Doc fixes.
14647 (Info-virtual-nodes): Reflow docstring.
14648 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14649 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14650 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14651 Fix typos in docstrings.
14652 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14653 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14654 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14655 (Info-restore-desktop-buffer): Mark unused parameters.
14656 (Info-directory-find-file, Info-directory-find-node)
14657 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14658 (Info-virtual-index-find-node, Info-apropos-find-file)
14659 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14660 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14661 (Info-virtual-index): Remove unused local variable `nodename'.
14662
b87a8200 146632011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14664
b87a8200
DD
14665 * net/rcirc.el: Update my e-mail address.
14666 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14667
3b2ff876
CY
146682011-04-05 Chong Yidong <cyd@stupidchicken.com>
14669
14670 * startup.el (command-line): Save the cursor's theme-face
14671 directly, instead of using face-override-spec.
14672
14673 * custom.el (load-theme): Minor optimization in assigning faces.
14674
8d17e7ca
JB
146752011-04-04 Juanma Barranquero <lekktu@gmail.com>
14676
14677 * help-fns.el (describe-variable): Complete all variables having
14678 documentation, including keywords.
14679 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14680
2fbc1934
JB
146812011-04-04 Juanma Barranquero <lekktu@gmail.com>
14682
14683 Convert to lexical-binding.
14684
14685 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14686 (bs--get-marked-string, bs--get-modified-string)
14687 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14688 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14689 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14690
14691 * ehelp.el (electric-help-execute-extended)
14692 (electric-help-ctrl-x-prefix):
14693 * hexl.el (hexl-revert-buffer-function):
14694 * linum.el (linum-after-change, linum-after-scroll):
14695 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14696
14697 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14698
74f50695
DU
146992011-04-04 Daiki Ueno <ueno@unixuser.org>
14700
14701 * epa-dired.el:
14702 * epa-mail.el:
14703 * epa-hook.el:
14704 * epa-file.el:
14705 * epa.el:
14706 * epg.el: Use lexical binding.
14707
c11325f7
CY
147082011-04-03 Chong Yidong <cyd@stupidchicken.com>
14709
0d9e9a12
CY
14710 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14711
c11325f7 14712 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14713 dictionary case for flyspell-mark-duplications-exceptions.
14714 Use regexp matching for languages.
c11325f7
CY
14715 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14716 default dictionary (Bug#7926).
14717
da91b5f2
CY
147182011-04-02 Chong Yidong <cyd@stupidchicken.com>
14719
099c39a4
JB
14720 * emacs-lisp/package.el (package--with-work-buffer):
14721 Recognize https URLs.
da91b5f2 14722
099c39a4
JB
14723 * net/network-stream.el: Move from gnus/proto-stream.el.
14724 Change prefix to network-stream throughout.
da91b5f2
CY
14725 (open-protocol-stream): Merge into open-network-stream, leaving
14726 open-protocol-stream as an alias. Handle nil BUFFER args.
14727
14728 * subr.el (open-network-stream): Move to net/network-stream.el.
14729
afa8e9f6
GM
147302011-04-02 Glenn Morris <rgm@gnu.org>
14731
1d2e369d
GM
14732 * find-dired.el (find-exec-terminator): New option.
14733 (find-ls-option): Test for -ls support.
14734 (find-ls-subdir-switches): Test for -b in find-ls-option.
14735 (find-dired, find-grep-dired): Doc fixes.
14736 (find-dired): Use find-exec-terminator.
14737
8abb7da8 14738 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14739 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14740 (find-name-arg): Remove purecopy.
8abb7da8 14741
f3ca7378
GM
14742 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14743 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14744 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14745 accordingly. Don't add the null-device if not needed.
14746
afa8e9f6
GM
14747 * files.el (save-some-buffers): Doc fix.
14748
35eae264
EZ
147492011-04-02 Eli Zaretskii <eliz@gnu.org>
14750
14751 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14752
26b51db5
JB
147532011-04-01 Juanma Barranquero <lekktu@gmail.com>
14754
14755 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14756 Use `dolist' rather than `mapcar'.
14757
7200d79c
SM
147582011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14759
03408648 14760 Add lexical binding.
7200d79c 14761
03408648
SM
14762 * subr.el (apply-partially): Use new closures rather than CL.
14763 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14764 (dolist, dotimes): Use slightly different expansion for lexical code.
14765 (functionp): Move to C.
14766 (letrec): New macro.
14767 (with-wrapper-hook): Use it and apply-partially instead of CL.
14768 (eval-after-load): Preserve lexical-binding.
14769 (save-window-excursion, with-output-to-temp-buffer): Turn them
14770 into macros.
7200d79c 14771
03408648
SM
14772 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14773
14774 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14775 than the arglist.
14776 (help-add-fundoc-usage): Don't add `Not documented'.
14777 (help-function-arglist): Handle closures, subroutines, and new
14778 byte-code-functions.
14779 (help-make-usage): Remove leading underscores.
14780 (describe-function-1): Handle closures.
14781 (describe-variable): Use special-variable-p for completion.
14782
14783 * files.el (lexical-binding): Declare safe.
f488fb65 14784
03408648
SM
14785 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14786 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14787 (pcase): Add `let' pattern.
14788 Change memoization so it actually works.
14789 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14790 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14791 <let>: New case.
f488fb65 14792
03408648
SM
14793 * emacs-lisp/macroexp.el: Use lexical binding.
14794 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14795 Don't convert ' to #' without checking that it's indeed quoting
14796 a lambda.
14797
14798 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14799 Use eval-sexp-add-defvars.
03408648
SM
14800 (eval-sexp-add-defvars): New fun.
14801
14802 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14803
14804 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14805 Don't autoload.
14806 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14807 than the internal `byte-compile-lambda'.
14808 (defmethod): Don't hide code under quotes.
14809 (eieio-defmethod): New `code' argument.
14810
14811 * emacs-lisp/eieio-comp.el: Remove.
14812
14813 * emacs-lisp/edebug.el (edebug-eval-defun)
14814 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14815 (edebug-toggle): Avoid `eval'.
14816
14817 * emacs-lisp/disass.el (disassemble-internal): Handle new
14818 `closure' objects.
14819 (disassemble-1): Handle new byte codes.
14820
14821 * emacs-lisp/cl.el (pushnew): Silence warning.
14822
14823 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14824 (cl-byte-compile-throw): Remove.
14825 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14826
14827 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14828 closures.
14829
14830 * emacs-lisp/cconv.el: New file.
14831
14832 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14833 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14834 (byte-compile-initial-macro-environment):
14835 Handle declare-function here.
14836 (byte-compile--lexical-environment): New var.
14837 (byte-stack-ref, byte-stack-set, byte-discardN)
14838 (byte-discardN-preserve-tos): New lap codes.
14839 (byte-interactive-p): Don't use any more.
14840 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14841 New macros.
14842 (byte-compile-lapcode): Use them and handle new lap codes.
14843 (byte-compile-obsolete): Remove.
14844 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14845 (byte-compile-arglist-warn): Check late def of inlinable funs.
14846 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14847 since they should have been expanded by now.
14848 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14849 (byte-compile-from-buffer): Remove unused second arg.
14850 (byte-compile-preprocess): New function.
14851 (byte-compile-toplevel-file-form): New function to distinguish
14852 file-form calls from outside from file-form calls from hunk-handlers.
14853 (byte-compile-file-form): Simplify.
14854 (byte-compile-file-form-defsubst): Remove.
14855 (byte-compile-file-form-defmumble): Simplify now that
14856 byte-compile-lambda always returns a byte-code-function.
14857 (byte-compile): Preprocess.
14858 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14859 Remove, not used any more.
14860 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14861 (byte-compile-make-args-desc): New funs.
14862 (byte-compile-lambda): Handle lexical functions. Always return
14863 a byte-code-function.
14864 (byte-compile-reserved-constants): New var, to make up room for
14865 closed-over variables.
14866 (byte-compile-constants-vector): Obey it.
14867 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14868 (byte-compile-macroexpand-declare-function): New function.
14869 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14870 byte-code-functions.
14871 (byte-compile-form): Check obsolescence here.
14872 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14873 (byte-compile-variable-ref): Remove.
14874 (byte-compile-dynamic-variable-op): New fun.
14875 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14876 (byte-compile-variable-set): New funs.
14877 (byte-compile-discard): Add 2 args.
14878 (byte-compile-stack-ref, byte-compile-stack-set)
14879 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14880 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14881 macroexpand-all instead.
14882 (byte-compile-quote-form): Remove.
14883 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14884 (byte-compile-bind, byte-compile-unbind): New funs.
14885 (byte-compile-let): Handle let* and lexical binding.
14886 (byte-compile-let*): Remove.
14887 (byte-compile-catch, byte-compile-unwind-protect)
14888 (byte-compile-track-mouse, byte-compile-condition-case):
14889 Handle a new :fun-body form, used for lexical scoping.
14890 (byte-compile-save-window-excursion)
14891 (byte-compile-with-output-to-temp-buffer): Remove.
14892 (byte-compile-defun): Simplify.
14893 (byte-compile-stack-adjustment): New fun.
14894 (byte-compile-out): Use it.
14895 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14896
14897 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14898 handler any more.
14899
14900 * emacs-lisp/byte-opt.el: Use lexical binding.
14901 (byte-inline-lapcode): Remove (to bytecomp).
14902 (byte-compile-inline-expand): Pay attention to inlining to/from
14903 lexically bound code.
14904 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14905 any more.
14906 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14907 any more and don't call compiler-macros.
14908 (byte-compile-splice-in-already-compiled-code): Remove.
14909 (byte-code): Don't inline any more.
14910 (disassemble-offset): Receive `bytes' as argument rather than via
14911 dynamic scoping.
14912 (byte-compile-tag-number): Declare before first use.
14913 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14914 `return' even if make-spliceable.
14915 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14916 obsolete interactive-p.
14917 (byte-optimize-lapcode): Optimize new lap-codes.
14918 Don't trip up on new form of `byte-constant' lap code.
14919
14920 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14921
14922 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14923
14924 * custom.el (custom-initialize-default, custom-declare-variable):
14925 Use `defvar'.
14926
14927 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14928 New variables.
14929 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14930 (COMPILE_FIRST): Add macroexp and cconv.
14931 * makefile.w32-in: Mirror changes in Makefile.in.
14932
14933 * vc/cvs-status.el:
14934 * vc/diff-mode.el:
14935 * vc/log-edit.el:
14936 * vc/log-view.el:
14937 * vc/smerge-mode.el:
14938 * textmodes/bibtex-style.el:
14939 * textmodes/css.el:
14940 * startup.el:
14941 * uniquify.el:
da91b5f2
CY
14942 * minibuffer.el:
14943 * newcomment.el:
14944 * reveal.el:
14945 * server.el:
14946 * mpc.el:
14947 * emacs-lisp/smie.el:
14948 * doc-view.el:
14949 * dired.el:
03408648
SM
14950 * abbrev.el: Use lexical binding.
14951
0f0c1f27
EZ
149522011-04-01 Eli Zaretskii <eliz@gnu.org>
14953
14954 * info.el (info-display-manual): New function.
14955
c82b2579
SM
149562011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14957
14958 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14959
221ddf68
TH
149602011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14961
14962 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14963 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14964
cba6e77e
GM
149652011-03-31 Glenn Morris <rgm@gnu.org>
14966
e040639f
GM
14967 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14968
cba6e77e
GM
14969 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14970
6d0f1c9e
CS
149712011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14972
14973 * progmodes/python.el (python-default-interpreter)
14974 (python-python-command-args, python-jython-command-args)
14975 (python-which-shell, python-which-args, python-which-bufname)
14976 (python-file-queue, python-comint-output-filter-function)
14977 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14978 variables and functions.
14979
3e2d70fd
SM
149802011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14983 (completion-in-region-mode): New minor mode.
14984 (completion-in-region): Use it.
14985 (completion-in-region--data, completion-in-region-mode-map): New vars.
14986 (completion-in-region--postch): New function.
14987 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14988 New vars.
14989 (completion--capf-wrapper): New function.
14990 (completion-at-point): Use it to track well-behavedness of
14991 hook functions.
14992 (completion-help-at-point): New command.
14993
f3e4086c
JM
149942011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14995
14996 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14997 syntax class to search for whitespace on a single line
14998 (Message-ID: <4D938140.4030905@redhat.com>).
14999
eb7ffc14
LL
150002011-03-30 Leo Liu <sdl.web@gmail.com>
15001
15002 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15003 New commands.
15004 (edit-abbrevs-map): Bind them here.
15005 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15006
d806ab68
KM
150072011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15008
15009 * allout.el (allout-hide-by-annotation, allout-flag-region):
15010 Reduce possibility of overlay leakage by making them volatile.
15011
15012 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15013 hash is not shared between buffers. Mode initialization is
15014 responsible for giving it a useful starting value.
15015 (allout-item-span): Reduce possibility of overlay leakage by
15016 making them volatile.
15017 (allout-widgets-count-buttons-in-region): Add diagnostic function
15018 for tracking down button overlay leaks.
15019
ea622834
LL
150202011-03-29 Leo Liu <sdl.web@gmail.com>
15021
15022 * ido.el (ido-read-internal): Use the default history var
15023 minibuffer-history if no HISTORY is specified.
15024
b62f8267
G
150252011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15026
03408648
SM
15027 * net/imap.el (imap-shell-open, imap-process-connection-type):
15028 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15029 Kerberos, SSL, other subprocesses.
15030
947b6566
LL
150312011-03-28 Leo Liu <sdl.web@gmail.com>
15032
15033 * abbrev.el (abbrev-table-empty-p): New function.
15034 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15035 nonempty ones. (Bug#5937)
15036
5ffb62aa
JD
150372011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15038
15039 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15040
7a097943
LL
150412011-03-27 Leo Liu <sdl.web@gmail.com>
15042
15043 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15044 for foreground and background colors.
15045 (ansi-color-make-color-map): Adapt.
15046
c5b40130
LL
150472011-03-25 Leo Liu <sdl.web@gmail.com>
15048
1f48f7d2
LL
15049 * midnight.el (midnight-time-float): Remove. Note it calculates
15050 the microsecond component incorrectly and seconds-to-time does the
15051 same job.
625897ec 15052 Remove redundant (require 'timer).
1f48f7d2 15053
c5b40130
LL
15054 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15055 (ido-completions): Remove unused arguments. (Bug#8329)
15056
d86d2721
SM
150572011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15058
15059 * minibuffer.el (completion--flush-all-sorted-completions):
15060 Remove itself from hook.
15061 (completion-at-point): Let the functions perform the completion
15062 immediately and return nil or t.
15063 * comint.el (comint-dynamic-complete-functions): Now identical to
15064 completion-at-point-functions.
15065 (comint-dynamic-list-input-ring): Remove unused var `index'.
15066 (comint--match-partial-filename, comint--unquote&expand-filename):
15067 New funs, split from comint-match-partial-filename.
15068 (comint-dynamic-complete): Use completion-at-point.
15069 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15070
e8974c48
DA
150712011-03-24 Drew Adams <drew.adams@oracle.com>
15072
15073 * thingatpt.el: Support `defun'.
15074
def71b5e
LL
150752011-03-23 Leo Liu <sdl.web@gmail.com>
15076
cb5af48e
LL
15077 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15078
def71b5e
LL
15079 * help-mode.el (help-mode-finish): Tweak regexp.
15080
927c53e7
GM
150812011-03-23 Glenn Morris <rgm@gnu.org>
15082
18d05bed
GM
15083 * eshell/esh-opt.el (eshell-eval-using-options):
15084 Do not bind unused local variable `eshell-option-stub'.
15085
927c53e7
GM
15086 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15087
9d0da923
JB
150882011-03-22 Juanma Barranquero <lekktu@gmail.com>
15089
15090 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15091 keymap variable in `with-no-warnings' to avoid a warning when the
15092 keymap has been already `defconst'ed.
15093
4b978a67
LL
150942011-03-22 Leo Liu <sdl.web@gmail.com>
15095
15096 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15097 encode all chars in abbrevs; otherwise use emacs-mule or
15098 utf-8-emacs. (Bug#8308)
15099
5fd62452
JB
151002011-03-22 Juanma Barranquero <lekktu@gmail.com>
15101
0b1596c6
JB
15102 * simple.el (backward-delete-char-untabify):
15103 Avoid warning about using `delete-backward-char'.
15104
5fd62452
JB
15105 * image.el (image-type-file-name-regexps): Make it variable.
15106 `imagemagick-register-types' modifies it, and the user may want
15107 to add new extensions for known image types.
15108 (imagemagick-register-types): Throw error if not using ImageMagick.
15109
0b4e93f1
LL
151102011-03-22 Leo Liu <sdl.web@gmail.com>
15111
15112 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15113 located before rcirc-prompt-end-marker.
15114 (rcirc-complete): Error if point is not after rcirc prompt.
15115 Handle the case when table is nil.
9882e214 15116 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15117
fccee4ab
CY
151182011-03-22 Chong Yidong <cyd@stupidchicken.com>
15119
15120 * custom.el (custom--inhibit-theme-enable): Make it affect only
15121 custom-theme-set-variables and custom-theme-set-faces.
15122 (provide-theme): Ignore custom--inhibit-theme-enable.
15123 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15124 (custom-enabling-themes): Delete variable.
d86d2721
SM
15125 (enable-theme): Accept only loaded themes as arguments.
15126 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15127 (custom-enabled-themes): Forbid themes from setting this.
15128 Eliminate use of custom-enabling-themes.
15129 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15130
af896da6
LL
151312011-03-21 Leo Liu <sdl.web@gmail.com>
15132
15133 * ido.el (ido-read-internal): Add ido-selected to history instead
15134 of user input.
15135
78f64af0
SM
151362011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * subr.el (deferred-action-list, deferred-action-function):
15139 Mark obsolete.
15140
b16ac1ec
LL
151412011-03-21 Leo Liu <sdl.web@gmail.com>
15142
810f7698
LL
15143 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15144 change on 2011-02-13 (bug#8309).
15145
b16ac1ec
LL
15146 * minibuffer.el (read-file-name-function): Change default value.
15147 (read-file-name--defaults): Rename from read-file-name-defaults.
15148 (read-file-name-default): Rename from read-file-name.
15149 (read-file-name): Call read-file-name-function.
15150
4e05e67e
GM
151512011-03-21 Glenn Morris <rgm@gnu.org>
15152
15153 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15154 Doc fixes.
15155
4359915b
CY
151562011-03-21 Chong Yidong <cyd@stupidchicken.com>
15157
15158 * cus-theme.el: Add missing provide statement.
15159 (customize-create-theme): Extract theme value correctly.
15160 (custom-theme-visit-theme): Autoload.
15161 (customize-create-theme): Prompt before inserting default faces.
15162
1fe275ee
JB
151632011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15164
15165 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15166 units and musical notes.
15167
cd394be1 151682011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15169
15170 * ido.el (ido-read-internal): Use completing-read-default.
15171 (ido-completing-read): Fix compatibility with completing-read.
15172
7d476bde
CO
151732011-03-20 Christian Ohler <ohler@gnu.org>
15174
15175 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15176 (ert-delete-all-tests): Use `called-interactively-p' rather than
15177 `interactive-p'.
15178 (ert--make-xrefs-region): Respect END.
15179
fe0fb33e
CY
151802011-03-19 Chong Yidong <cyd@stupidchicken.com>
15181
ff854b0b
CY
15182 * dired-aux.el (dired-create-directory): Signal an error if the
15183 directory already exists (Bug#8246).
15184
fe0fb33e
CY
15185 * facemenu.el (list-colors-display): Call list-faces-display
15186 inside with-help-window.
15187 (list-colors-print): Use display property to align the final
15188 column, instead of checking window-width.
15189
576bce32
EZ
151902011-03-19 Eli Zaretskii <eliz@gnu.org>
15191
4d61f28d 15192 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15193 windows-nt systems.
15194 (emerge-protect-metachars): Quote correctly for ms-dos and
15195 windows-nt systems.
15196
89c41d68 151972011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15198
15199 * info.el (info-initialize): Replace all uses of `:' with
15200 path-separator for compatibility with non-Unix systems.
15201 Cache quoting of path-separator. (Bug#8258)
15202
b14e3e21 152032011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15204
15205 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15206 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15207 (mouse-avoidance-mode): Fix typos in docstrings.
15208
4525ce3e
CY
152092011-03-19 Chong Yidong <cyd@stupidchicken.com>
15210
15211 * startup.el (package-subdirectory-regexp): Move from package.el.
15212 Omit \\` and \\', and let callers add them.
15213
15214 * emacs-lisp/package.el (package-strip-version)
15215 (package-load-all-descriptors): Add \\` and \\' to
15216 package-subdirectory-regexp before using it.
15217 (package-untar-buffer): New arg DIR; ensure that file untars only
15218 into this expected directory. Remove superfluous delete-region.
15219 (package-unpack): Caller changed.
15220 (package-tar-file-info): Use package-subdirectory-regexp.
15221
a904a09a 152222011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15223
a904a09a
SM
15224 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15225 diff-mode-shared-map (bug#8284).
15226 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15227
152282011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15229
15230 * calendar/time-date.el (format-seconds): Use assoc instead of
15231 assoc-string, since assoc-string doesn't exist in XEmacs.
15232
171fc304
JB
152332011-03-17 Juanma Barranquero <lekktu@gmail.com>
15234
15235 * custom.el (custom-known-themes): Reflow docstring.
15236 (custom-theme-load-path): Fix typo in docstring.
15237 (load-theme): Fix typo in error message.
15238 (custom-available-themes, custom-variable-theme-value):
15239 Use `let', not `let*'.
15240
d71990a1
JB
152412011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15242
15243 * calc/README: Mention inclusion of musical notes.
15244
15245 * calc/calc-units.el (calc-lu-quant): Rename from
15246 `calc-logunits-quantity'.
15247 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15248 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15249 (calc-db): Rename from `calc-dblevel'.
15250 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15251 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15252 (calc-np): Rename from `calc-nplevel'.
15253 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15254 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15255 (calc-lu-plus): Rename from `calc-logunits-add'.
15256 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15257 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15258 (calc-lu-minus): Rename from `calc-logunits-sub'.
15259 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15260 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15261 (calc-lu-times): Rename from `calc-logunits-mul'.
15262 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15263 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15264 (calc-lu-divide): Rename from `calc-logunits-div'.
15265 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15266 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15267
15268 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15269 functions being autoloaded.
15270
15271 * calc/calc.el (calc-lu-power-reference): Rename from
15272 `calc-logunits-power-reference'.
15273 (calc-lu-field-reference): Rename from
15274 `calc-logunits-field-reference'.
15275
7a71b18d
GM
15276 * calc/calc-help.el (calc-l-prefix-help):
15277 Mention musical note functions.
d71990a1 15278
40c2934b
SM
152792011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15280
15281 * minibuffer.el (completion-all-sorted-completions):
15282 Use :completion-cycle-penalty text property if present.
15283
b0911414
KM
152842011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15285
15286 * allout.el (allout-yank-processing): Adjust for new rebulleting
15287 regime so bullet being yanked is used without prompting the user
15288 for a choice.
15289
8a05b668
JB
152902011-03-16 Juanma Barranquero <lekktu@gmail.com>
15291
15292 * startup.el (command-line): Warn the user that _emacs is deprecated.
15293
5ba5fb81
JB
152942011-03-16 Juanma Barranquero <lekktu@gmail.com>
15295
15296 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15297 (delphi-verbose, delphi-comment-face, delphi-string-face)
15298 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15299 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15300 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15301 (delphi-new-comment-line, delphi-font-lock-defaults)
15302 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15303 Fix typos in docstrings.
15304
2dab465b
KM
153052011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15306
5ba5fb81 15307 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15308 Invert the roles of character and string values for INSTEAD, so a
15309 string is used for the more common case of a defaulting prompt.
15310
0adf5618
SM
153112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15312
15313 * progmodes/ruby-mode.el (ruby-backward-sexp):
15314 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15315 * play/gamegrid.el (gamegrid-make-face):
15316 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15317 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15318 * notifications.el (notifications-notify):
15319 * net/xesam.el (xesam-search-engines):
15320 * net/quickurl.el (quickurl-list-insert):
15321 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15322
d72700e5
CY
153232011-03-15 Chong Yidong <cyd@stupidchicken.com>
15324
15325 * startup.el (command-line): Update package subdirectory regexp.
15326
49c5410a
SM
153272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15328
c6eee9aa
SM
15329 * allout.el (allout-abbreviate-flattened-numbering)
15330 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15331
49c5410a
SM
15332 * subr.el (read-char-choice): Only show the cursor after the prompt,
15333 not after the answer.
15334
047b2bb9
KR
153352011-03-15 Kevin Ryde <user42@zip.com.au>
15336
15337 * help-fns.el (variable-at-point): Skip leading quotes, if any
15338 (bug#8253).
15339
0a57d256
SM
153402011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15343 warning message.
15344
77c992bc
MA
153452011-03-14 Michael Albinus <michael.albinus@gmx.de>
15346
15347 * shell.el (shell): When called interactively, offer to change the
15348 shell file name on remote hosts.
15349
eebc475d
TZ
153502011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15351
15352 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15353 integration for LDAP parameters. The host, base, user or binddn,
15354 and secret tokens can be specified in a netrc file, for instance.
15355 This is optional because an `auth-source' parameter must be
15356 specified in the search attributes.
15357
9d05d1ba
JB
153582011-03-13 Juanma Barranquero <lekktu@gmail.com>
15359
15360 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15361
09d9db2c
GM
153622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15363
15364 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15365 into declaration. Remove redundant and harmful binding.
15366
153672011-03-12 Eli Zaretskii <eliz@gnu.org>
15368
15369 * files.el (file-ownership-preserved-p): Pass `integer' as an
15370 explicit 2nd argument to `file-attributes'. If the file's owner
15371 is the Administrators group on Windows, and the current user is
15372 Administrator, consider that a match.
15373
15374 * server.el (server-ensure-safe-dir): Consider server directory
15375 safe on MS-Windows if its owner is the Administrators group while
15376 the current Emacs user is Administrator. Use `=' to compare
15377 numerical UIDs, since they could be integers or floats.
15378
219bd536
JB
153792011-03-12 Juanma Barranquero <lekktu@gmail.com>
15380
15381 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15382
f3afd36b
MA
153832011-03-12 Michael Albinus <michael.albinus@gmx.de>
15384
15385 Sync with Tramp 2.2.1.
15386
15387 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15388
15389 * net/trampver.el: Update release number.
15390
3aaaa6f1
SM
153912011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15392
94642599
SM
15393 * progmodes/compile.el (compilation--previous-directory): Fix up
15394 various nil/dead-marker mismatches (bug#8014).
15395 (compilation-directory-properties, compilation-error-properties):
15396 Don't call it at a position past the one we're about to change.
15397
3aaaa6f1
SM
15398 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15399 Disable obsolescence warnings in the file that declares it.
15400
14239447
KM
154012011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15402
099c39a4
JB
15403 * allout-widgets.el (allout-widgets-tally):
15404 Initialize allout-widgets-tally as a hash table rather than nil to
15405 prevent mode-line redisplay warnings. Also, clarify the module
15406 description and fix a comment typo.
14239447 15407
135e287c
JB
154082011-03-11 Juanma Barranquero <lekktu@gmail.com>
15409
15410 * help-fns.el (describe-variable): Don't complete keywords.
15411 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15412
ffbf300e
CY
154132011-03-10 Chong Yidong <cyd@stupidchicken.com>
15414
ba08b241
CY
15415 * emacs-lisp/package.el (package-version-join): Impose a standard
15416 string representation for pre/alpha/beta version lists.
15417 (package-unpack-single): Standardize the directory name by passing
15418 it through package-version-join.
15419 (package-strip-rcs-id): Accept any version string that does not
15420 signal an error in version-to-list.
ffbf300e 15421
f346fd6b
MA
154222011-03-10 Michael Albinus <michael.albinus@gmx.de>
15423
15424 * simple.el (delete-trailing-whitespace): Return nil for the
15425 benefit of `write-file-functions'.
15426
ccb55d27
GM
154272011-03-10 Glenn Morris <rgm@gnu.org>
15428
5ceaac0c
GM
15429 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15430
02da65ff
GM
15431 * vc/vc-git.el (vc-git-program): New option.
15432 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15433 (vc-git--call): Use it.
15434
b2f603cc
GM
15435 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15436
5772caab
GM
15437 * cus-edit.el (Custom-newline): If no button at point, look
15438 for a subgroup button at start-of-line. (Bug#2298)
15439
ccb55d27
GM
15440 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15441
ec6ecaed
JD
154422011-03-10 Julien Danjou <julien@danjou.info>
15443
15444 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15445 `cursor-type' is nil.
15446
9d5aa01d
JB
154472011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15448
15449 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15450
b6a5875b
KM
154512011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15452
7a71b18d 15453 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15454 preserves the existing header prefix, rebulleting it if necessary,
15455 rather than replacing it. This is necessary for proper operation
15456 of cooperative addons like allout-widgets.
1154d12e
JB
15457 (allout-make-topic-prefix, allout-rebullet-heading):
15458 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15459 value as alternate bullet to be used, instead of prompting the user
15460 for a bullet character.
b6a5875b 15461
ee545c35
MA
154622011-03-09 Michael Albinus <michael.albinus@gmx.de>
15463
d86d2721
SM
15464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15465 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15466 `tramp-default-port'.
15467
c47971d7
DD
154682011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15469
15470 * net/rcirc.el (rcirc-handler-001): Remove useless
15471 with-rcirc-process-buffer.
15472 (rcirc-check-auth-status): Swap arguments to string-match.
15473
13522cb4
GM
154742011-03-09 Glenn Morris <rgm@gnu.org>
15475
0be6f4f1
GM
15476 * shell.el (shell-mode):
15477 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15478
13522cb4
GM
15479 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15480 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15481
515de2e3
CY
154822011-03-08 Chong Yidong <cyd@stupidchicken.com>
15483
15484 * emacs-lisp/package.el (package-refresh-contents)
15485 (package-menu-execute): Use condition-case-no-debug.
15486
b511b994
MA
154872011-03-08 Michael Albinus <michael.albinus@gmx.de>
15488
15489 * simple.el (shell-command-to-string): Use `process-file'.
15490
15491 * emacs-lisp/package.el (package-tar-file-info): Handle also
15492 remote files.
15493
d86d2721
SM
15494 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15495 Use `equal' for upload base check.
b511b994 15496
25bbfb31
AM
154972011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15498
15499 * textmodes/texinfo.el (texinfo-environments):
15500 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15501
be996521
GM
155022011-03-08 Glenn Morris <rgm@gnu.org>
15503
e9c8529f
GM
15504 * cus-start.el (cursor-in-non-selected-windows):
15505 Fix :set quoting oddness. (Bug#8192)
15506
be996521
GM
15507 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15508 in some setf expressions. (Bug#2159)
15509
2bb5649e
CY
155102011-03-08 Chong Yidong <cyd@stupidchicken.com>
15511
15512 * custom.el (custom-available-themes): Return themes in
15513 alphabetical order.
15514
33383987 15515See ChangeLog.15 for earlier changes.
e3d51b27
MR
15516
15517;; Local Variables:
15518;; coding: utf-8
e3d51b27
MR
15519;; End:
15520
acaf905b 15521 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15522
15523 This file is part of GNU Emacs.
15524
15525 GNU Emacs is free software: you can redistribute it and/or modify
15526 it under the terms of the GNU General Public License as published by
15527 the Free Software Foundation, either version 3 of the License, or
15528 (at your option) any later version.
15529
15530 GNU Emacs is distributed in the hope that it will be useful,
15531 but WITHOUT ANY WARRANTY; without even the implied warranty of
15532 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15533 GNU General Public License for more details.
15534
15535 You should have received a copy of the GNU General Public License
15536 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.