NEWS fixes: positioning, copyedits
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
771e3eae
CY
12012-06-16 Chong Yidong <cyd@gnu.org>
2
3 * term/xterm.el (terminal-init-xterm): Discard input before
4 querying background mode (Bug#10959).
5
7ae2ea10
SM
62012-06-16 Stefan Merten <smerten@oekonux.de>
7
8 * textmodes/rst.el: Added and corrected some comments.
9 (rst-re-alist-def): Improve symbol syntax.
10 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
11 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12 (rst-official-version, rst-official-cvs-rev): Update version
13 information.
7ae2ea10 14
b6974efa
JB
152012-06-15 Juanma Barranquero <lekktu@gmail.com>
16
17 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
18 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
19
8826d473
GM
202012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
21
22 * progmodes/python.el: New python.el merge.
23 (python-guess-indent): Obsolete var.
24 (python-indent-guess-indent-offset): New defcustom.
25 (python-indent): Obsolete var.
26 (python-indent-offset): New defcustom.
27 (python-python-command, python-jython-command): Delete var.
28 (python-shell-interpreter): New defcustom.
29 (python-pdbtrack-do-tracking-p): Delete var.
30 (python-pdbtrack-activate): New defcustom.
31 (python-use-skeletons): Obsolete var.
32 (python-skeleton-autoinsert): New defcustom.
33 (inferior-python-filter-regexp, python-continuation-offset)
34 (python-honour-comment-indentation, python-indent-string-contents)
35 (python-jython-packages, python-mode-hook)
36 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
37 (python-shell-prompt-alist)
38 (python-source-modes): Delete defcustoms.
39 (python-check-buffer-name, python-eldoc-setup-code)
40 (python-eldoc-string-code, python-ffap-setup-code)
41 (python-ffap-string-code, python-fill-comment-function)
42 (python-fill-decorator-function, python-fill-paren-function)
43 (python-fill-string-function, python-imenu-include-defun-type)
44 (python-imenu-make-tree, python-imenu-subtree-root-label)
45 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
46 (python-shell-compilation-regexp-alist)
47 (python-shell-completion-module-string-code)
48 (python-shell-completion-pdb-string-code)
49 (python-shell-completion-setup-code)
50 (python-shell-completion-string-code)
51 (python-shell-enable-font-lock, python-shell-exec-path)
52 (python-shell-extra-pythonpaths)
53 (python-shell-internal-buffer-name, python-shell-interpreter-args)
54 (python-shell-process-environment)
55 (python-shell-prompt-block-regexp)
56 (python-shell-prompt-output-regexp)
57 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
58 (python-shell-send-setup-max-wait, python-shell-setup-codes)
59 (python-shell-virtualenv-path): New defcustoms.
60 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
61 (inferior-python-mode-syntax-table, python--prompt-regexp)
62 (python-buffer, python-command python-python-command)
63 (python-default-template, python-imports, python-indent-index)
64 (python-indent-list, python-indent-list-length)
65 (python-mode-running, python-pdbtrack-is-tracking-p)
66 (python-preoutput-continuation, python-preoutput-leftover)
67 (python-preoutput-result, python-preoutput-skip-next-prompt)
68 (python-prev-dir/file, python-recursing)
69 (python-saved-check-command, python-version-checked)
70 (python-which-func-length-limit)
71 (view-return-to-alist): Delete vars.
72 (python-check-custom-command, python-dotty-syntax-table)
73 (python-imenu-index-alist, python-indent-current-level)
74 (python-indent-dedenters, python-indent-levels)
75 (python-nav-beginning-of-defun-regexp)
76 (python-nav-list-defun-positions-cache)
77 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
78 (python-shell-internal-buffer)
79 (python-skeleton-available): New vars.
80 (def-python-skeleton): Delete macro.
81 (python-skeleton-define): New macro.
82 (python-define-auxiliary-skeleton, python-rx): New macros.
83 (python-insert-class): Delete command.
84 (python-skeleton-class): New command.
85 (python-insert-def): Delete command.
86 (python-skeleton-def): New command.
87 (python-insert-for): Delete command.
88 (python-skeleton-for): New command.
89 (python-insert-if): Delete command.
90 (python-skeleton-if): New command.
91 (python-insert-try/except, python-insert-try/finally): Delete commands.
92 (python-skeleton-try): New command.
93 (python-insert-while): Delete command.
94 (python-skeleton-while): New command.
95 (python-backspace): Delete command.
96 (python-indent-dedent-line-backspace): New command.
97 (python-electric-colon): Delete command.
98 (python-indent-electric-colon): New command.
99 (python-guess-indent): Delete command.
100 (python-indent-guess-indent-offset): New command.
101 (python-shift-left): Delete command.
102 (python-indent-shift-left): New command.
103 (python-shift-right): Delete command.
104 (python-indent-shift-right): New command.
105 (python-find-function): Delete command.
106 (python-nav-jump-to-defun): New command.
107 (python-next-statement): Delete command.
108 (python-nav-forward-sentence): New command.
109 (python-previous-statement): Delete command.
110 (python-nav-backward-sentence): New command.
111 (python-fill-paragraph): Delete command.
112 (python-fill-paragraph-function): New command.
113 (python-send-buffer): Delete command.
114 (python-shell-send-buffer): New command.
115 (python-send-defun): Delete command.
116 (python-shell-send-defun): New command.
117 (python-send-region, python-send-region-and-go): Delete commands.
118 (python-shell-send-region)
119 (python-shell-switch-to-shell): New commands.
120 (python-send-string): Delete command.
121 (python-shell-send-string): New command.
122 (python-switch-to-python): Delete command.
123 (python-shell-switch-to-shell): New command.
124 (python-describe-symbol): Delete command.
125 (python-eldoc-at-point): New command.
126 (python--set-prompt-regexp, python-args-to-list)
127 (python-after-info-look, python-check-version)
128 (python-check-comint-prompt, python-find-imports)
129 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
130 (python-unload-function, python-expand-template)
131 (python-maybe-jython, python-preoutput-filter)
132 (python-pdbtrack-get-source-buffer)
133 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
134 (python-pdbtrack-toggle-stack-tracking)
135 (python-pdbtrack-track-stack-file, python-initial-text)
136 (python-first-word, python-comment-line-p, python-send-command)
137 (python-setup-brm, python-sentinel, python-set-proc)
138 (python-skip-out, python-input-filter, python-outdent-p)
139 (python-outline-level, python-backslash-continuation-line-p)
140 (python-end-of-block, python-end-of-statement, python-mark-block)
141 (python-beginning-of-block, python-beginning-of-statement)
142 (python-blank-line-p, python-beginning-of-string)
143 (python-open-block-statement-p): Delete functions.
144 (python-indent-line, python-indent-line-1): Delete functions.
145 (python-indent-line): New function.
146 (python-indentation-levels): Delete function.
147 (python-indent-calculate-levels): New function.
148 (python-proc): Delete function.
149 (python-shell-get-process): New function.
150 (python-send-receive): Delete function.
151 (python-shell-send-string-no-output): New function.
152 (python-module-path): Delete function.
153 (python-ffap-module-path): New function.
154 (python-completion-at-point)
155 (python-symbol-completions): Delete functions.
156 (python-completion-complete-at-point): New function.
157 (python-load-file): Delete function.
158 (python-shell-send-file): New function.
159 (python-calculate-indentation): Delete function.
160 (python-indent-calculate-indentation): New function.
161 (python-skip-comments/blanks): Delete function.
162 (python-util-forward-comment): New function.
163 (python-continuation-line-p): Delete function.
164 (python-info-continuation-line-p): New function.
165 (python-which-func, python-current-defun): Delete function.
166 (python-info-current-defun): New function.
167 (python-beginning-of-defun): Delete function.
168 (python-nav-beginning-of-defun): New function.
169 (python-close-block-statement-p)
170 (python-block-end-p): Delete function.
171 (python-info-closing-block): New function.
172 (python-comint-output-filter-function)
173 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
174 (python-fill-comment, python-fill-decorator, python-fill-paren)
175 (python-fill-string, python-imenu-make-element-tree)
176 (python-imenu-make-tree, python-imenu-tree-assoc)
177 (python-indent-context, python-indent-dedent-line)
178 (python-indent-line-function)
179 (python-indent-post-self-insert-function)
180 (python-indent-toggle-levels)
181 (python-info-assignment-continuation-line-p)
182 (python-info-beginning-of-backlash)
183 (python-info-block-continuation-line-p)
184 (python-info-closing-block-message)
185 (python-info-line-ends-backslash-p)
186 (python-info-looking-at-beginning-of-defun)
187 (python-info-ppss-context, python-info-ppss-context-type)
188 (python-nav-list-defun-positions, python-nav-read-defun)
189 (python-nav-sentence-end, python-nav-sentence-start)
190 (python-pdbtrack-comint-output-filter-function)
191 (python-pdbtrack-set-tracked-buffer)
192 (python-shell-calculate-exec-path)
193 (python-shell-calculate-process-environment)
194 (python-shell-completion--do-completion-at-point)
195 (python-shell-completion--get-completions)
196 (python-shell-completion-complete-at-point)
197 (python-shell-completion-complete-or-indent)
198 (python-shell-get-or-create-process)
199 (python-shell-get-process-name)
200 (python-shell-internal-get-or-create-process)
201 (python-shell-internal-get-process-name)
202 (python-shell-internal-send-string, python-shell-make-comint)
203 (python-shell-parse-command, python-shell-send-setup-code)
204 (python-skeleton-add-menu-items)
205 (python-util-clone-local-variables, python-util-position)
206 (run-python-internal, python-indentation-levels)
207 (python-nav-beginning-of-defun)
208 (python-completion-complete-at-point): New functions.
209 (run-python): Change arguments. New API requirements.
210
4302f5ba
SM
2112012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
212
f38ea36d
SM
213 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
214 (bug#11649).
215
216 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
217 (macroexp--expand-all): Use it.
218
4302f5ba
SM
219 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
220 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
221 Use `cl-function' instead.
222
33377562
JB
2232012-06-14 Juanma Barranquero <lekktu@gmail.com>
224
225 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
226 Suggested by Stefan Monnier while discussing bug#11657.
227
54c5ba1a
SS
2282012-06-14 Sam Steingold <sds@gnu.org>
229
230 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
231
f9f1b1fe
AS
2322012-06-14 Andreas Schwab <schwab@linux-m68k.org>
233
234 * play/doctor.el (doctor-doc): Remove parameter and use
235 doctor-sent instead of sent.
236 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
237
a81068ba
SM
2382012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
239
5a315f9c
SM
240 * files.el: Require cl-lib.
241 (file-name-non-special): Replace case -> cl-case.
242
243 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
244
a81068ba
SM
245 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
246 mapping from #' to function*.
247
8cca9703
CY
2482012-06-13 Chong Yidong <cyd@gnu.org>
249
250 * mouse.el (mouse-drag-track): Do not set the mark if the user
251 releases the mouse without selecting anything (Bug#11588).
252
a12ac9d7
SM
2532012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
254
ccf1dc18
SM
255 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
256 as well (bug#11646).
257
ef62b23d
SM
258 * loadup.el: Count byte-code functions as well.
259
c4c8444a
SM
260 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
261 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
262
a12ac9d7
SM
263 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
264 (bug#11649). Add cl-defun and cl-defmacro.
265
87e6e64f
DA
2662012-06-13 Drew Adams <drew.adams@oracle.com>
267
268 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
269 Fix last change.
270
682cefaf
MA
2712012-06-13 Michael Albinus <michael.albinus@gmx.de>
272
273 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
274 Otherwise, it blocks in batch mode.
275
773e1f08
JB
2762012-06-13 Juanma Barranquero <lekktu@gmail.com>
277
278 * help-mode.el (bookmark-make-record-default): Declare.
279
60057926
CY
2802012-06-13 Chong Yidong <cyd@gnu.org>
281
282 * emacs-lisp/package.el (list-packages): Compute a list of
283 packages that are newly-available since the last list-packages
284 invocation.
285 (package-menu--new-package-list): New var.
286 (package-menu--generate, package-menu--print-info)
287 (package-menu--status-predicate, package-menu-mark-install):
288 Handle new status label "new".
289
ad4d226c
SM
2902012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
293 conversion to backquotes.
294
f1a4e679
CY
2952012-06-12 Chong Yidong <cyd@gnu.org>
296
297 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
298 Rename from gud-inhibit-global-bindings.
299
300 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
301
302 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
303 hook from nxml-glyph-set-hook.
304
305 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
306 declaration.
307
308 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
309
310 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
311 Convert to defcustom.
312
0c9e42b5
DA
3132012-06-12 Drew Adams <drew.adams@oracle.com>
314
315 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
316 New functions.
317 (help-mode): Use them.
318
09e06855
GM
3192012-06-11 Glenn Morris <rgm@gnu.org>
320
321 * progmodes/fortran.el (fortran-font-lock-keywords-3):
322 Use preprocessor face for directives.
323 (fortran-directive-re): Doc fix.
324
71adb94b
SM
3252012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
326
2eb87922
SM
327 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
328 conversion to backquotes (bug#11652).
329
71adb94b
SM
330 Fix compiler-expansion of CL's cXXr functions (bug#11673).
331 * emacs-lisp/cl-lib.el (cl--defalias): New function.
332 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
333 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
334 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
335 (cl-ninth, cl-tenth): Mark them as inlinable.
336 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
337 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
338 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
339 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
340 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
341 (cl-list*, cl-adjoin): Don't put an autoload manually.
342 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
343 (cl--compiler-macro-list*): Add autoload cookie.
344 (cl--compiler-macro-cXXr): New function.
2eb87922 345
71adb94b
SM
346 * help-fns.el (help-fns--compiler-macro): New function extracted from
347 describe-function-1; follow aliases and use `compiler-macro' property.
348 (describe-function-1): Use it.
349
a6674402
CY
3502012-06-11 Chong Yidong <cyd@gnu.org>
351
352 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
353 is uninstalled, if imagemagick is installed.
354
bb3faf5b
SM
3552012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * emacs-lisp/cl-lib.el: Use lexical-binding.
358 (cl-map-extents, cl-maclisp-member): Remove.
359 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
360 (cl--set-substring, cl--block-wrapper, cl--block-throw)
361 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
362 * emacs-lisp/cl-extra.el: Use lexical-binding.
363 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
364 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
365 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
366 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
367 * emacs-lisp/cl-seq.el: Use lexical-binding.
368 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
369 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
370 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
371 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
372 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
373 CL's internals.
374
2fe4b125
MA
3752012-06-11 Michael Albinus <michael.albinus@gmx.de>
376
377 Sync with Tramp 2.2.6-pre.
378
379 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
380 `print-length' and `print-level' to nil, in order to avoid
381 truncation. Reported by Christopher Schmidt
382 <christopher@ristopher.com>.
383
384 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
385
386 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
387 New defmacro.
388 (tramp-compat-copy-directory): Add optional argument
389 COPY-CONTENTS. It is not handled yet.
390
391 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
392 (tramp-ftp-file-name-p): Simplify.
393
394 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
395 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
396 connection vector.
397
398 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
399 (tramp-methods): Do not use `tramp-password-end-of-line'.
400 (tramp-completion-function-alist-putty): Handle UNIX case.
401 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
402 (tramp-do-file-attributes-with-stat)
403 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
404 gid as real numbers. They could run out of integer range on cygwin.
405 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
406 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
407 (tramp-open-connection-setup-interactive-shell):
408 Use `tramp-cleanup'. Move check for busyboxes ...
409 (tramp-find-shell): ... here. Simplify implementation.
410 Set "remote-shell" property also for alternative shells.
411 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
412 If failing, a regular file would be written otherwise.
413 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
414 (tramp-find-inline-encoding): Cache the coding commands in the
415 process cache. Apply test command on the remote side, if defined.
416 (tramp-find-inline-compress): Cache the compress commands in the
417 process cache.
418 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
419 when requested. Handle hops.
420 (tramp-current-connection): New defvar.
87e6e64f
DA
421 (tramp-maybe-open-connection): Use `tramp-cleanup'.
422 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 423 Handle user interrupt. (Bug#10187)
87e6e64f
DA
424 (tramp-get-inline-compress, tramp-get-inline-coding):
425 Read connection properties from the process cache.
2fe4b125
MA
426
427 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
428 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
429 New defconsts.
2fe4b125
MA
430 (tramp-smb-prompt): Extend for powershell prompt.
431 (tramp-smb-file-name-handler-alist): Add handlers for
432 `process-file', `shell-command' and `start-file-process'.
433 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
434 (tramp-smb-winexe-shell-command-switch): New defcustoms.
435 (tramp-smb-file-name-p): Simplify.
436 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
437 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
438 (tramp-smb-shell-quote-argument): New defuns.
439 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
440 Implement using "tar". By this, time-stamps are preserved.
441 (tramp-smb-handle-copy-file): Handle also the case of directories.
442 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
443 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
444 Use `tramp-get-connection-buffer').
2fe4b125
MA
445 (tramp-smb-handle-rename-file): Use "rename", when source and
446 target are on the same share.
87e6e64f
DA
447 (tramp-smb-maybe-open-connection): Handle wrong passwords.
448 Use `tramp-smb-server-version'.
2fe4b125
MA
449 (tramp-smb-wait-for-output): Remove prompt.
450
451 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
452 (tramp-methods, tramp-rsh-end-of-line):
453 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
454 (tramp-save-ad-hoc-proxies): New defcustom.
455 (tramp-completion-function-alist): Adapt docstring.
456 (tramp-default-password-end-of-line): Remove defcustom.
457 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
458 (tramp-user-regexp, tramp-file-name-regexp-unified)
459 (tramp-file-name-regexp-url): Extend regexp by hop separator.
460 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
461 (tramp-remote-file-name-spec-regexp): New defconst.
462 (tramp-file-name-structure): Extend structure for hops.
463 (tramp-get-method-parameter): Move up.
464 (tramp-file-name-p, tramp-dissect-file-name)
465 (with-parsed-tramp-file-name): Handle hops.
466 (tramp-file-name-hop): New defun.
467 (tramp-make-tramp-file-name): New optional arg HOP.
468 (tramp-message-show-progress-reporter-message): New defvar.
469 (tramp-with-progress-reporter): Use it. We cannot use
470 `tramp-message-show-message' here, because this suppresses also
471 error buffers.
472 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
473 `tramp-message-show-message' is nil.
474 Use `tramp-get-connection-buffer'.
2fe4b125
MA
475 (tramp-cleanup): New defun.
476 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
477 (tramp-file-name-handler): If `debug-on-error' is set, propagate
478 an error unchanged.
479 (tramp-completion-handle-file-name-all-completions): Handle hops.
480 Fix an error when called from ido.
481 (tramp-completion-dissect-file-name): Use better local variable
482 name. Add hop to the vector.
483 (tramp-handle-insert-file-contents): Use progress-reporter for the
484 whole scenario.
485 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
486 to `t'.
487 (tramp-check-for-regexp): Simplify search.
488 (tramp-enter-password): Remove it. Move implementation ...
489 (tramp-action-password): ... here.
490 (tramp-mode-string-to-int, tramp-local-host-p)
491 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
492 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
493 Set tramp-autoload cookie.
2fe4b125
MA
494
495 * net/trampver.el: Update release number.
496
4972012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
498 Michael Albinus <michael.albinus@gmx.de>
499
500 * net/tramp.el (tramp-set-completion-function): Fix docstring.
501 (tramp-parse-group, tramp-parse-file)
502 (tramp-parse-shostkeys-sknownhosts): New defuns.
503 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
504 (tramp-parse-shosts-group, tramp-parse-sconfig)
505 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
506 (tramp-parse-sknownhosts, tramp-parse-hosts)
507 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
508 Use them.
509 (tramp-parse-passwd-group, tramp-parse-netrc-group)
510 (tramp-parse-putty-group): Don't narrow.
511 (tramp-parse-putty): Make a loop.
512 (tramp-file-name-handler): Catch the `suppress' signal.
513
72834e10
CY
5142012-06-11 Chong Yidong <cyd@gnu.org>
515
516 * image.el (imagemagick-register-types): Put the ImageMagick entry
517 at the end of image-type-file-name-regexps.
518
a4712e11
JB
5192012-06-11 Johan Bockgård <bojohan@gnu.org>
520
521 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
522 (pcase, pcase-let*, pcase-dolist): Use them.
523
82ad98e3
SM
5242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * emacs-lisp/pcase.el (pcase--let*): New function.
527 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
528 (pcase--expand): Use macroexp-let².
529
f80efb86
SM
5302012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
533 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
534 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
535 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
536 * emacs-lisp/derived.el: Use pcase instead of `cl'.
537 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
538
31ca4639 5392012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 540
31ca4639
CY
541 * mail/rmail.el (rmail-yank-current-message): Leave point at
542 correct position. (Bug#11660)
94f0aa34 543
31ca4639 5442012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 545
31ca4639 546 * allout-widgets.el: Fix code header.
9e1b8ec4 547
31ca4639 5482012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 549
f80efb86
SM
550 * cus-edit.el (customize-changed-options-previous-release):
551 Bump to 24.1.
31ca4639 552
642b6d30
AS
5532012-06-09 Andreas Schwab <schwab@linux-m68k.org>
554
555 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
556
4f5d2ba1
CY
5572012-06-09 Chong Yidong <cyd@gnu.org>
558
559 * ebuff-menu.el (electric-buffer-list): Preserve header line.
560
e75852fd
MR
5612012-06-09 Martin Rudalics <rudalics@gmx.at>
562
563 * window.el (special-display-popup-frame): Don't use
564 window--display-buffer (Bug#11651).
565
1e48e282
EZ
5662012-06-09 Eli Zaretskii <eliz@gnu.org>
567
8a26b487
EZ
568 Fix parallel builds: make sure loaddefs.el is not being written
569 while Lisp files are compiled.
570 (compile): Don't depend on 'mh-autoloads'.
571 (compile-CMD, compile-SH): Depend on 'autoloads'.
572 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
573
1e48e282
EZ
574 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
575
6175e34b
CY
5762012-06-09 Chong Yidong <cyd@gnu.org>
577
578 * face-remap.el (face-remap-add-relative, face-remap-set-base)
579 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
580 Doc fixes (Bug#11225).
581
d9857e53
SM
5822012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
585 a function if there's a clear indication that it has a compiler-macro.
586 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
587 (macro-declarations-alist): Add arglist to declaration functions.
588 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
589 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
590 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
591 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
592 Also add autoload to find the compiler macro.
593 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
594 (cl--compiler-macro-member, cl--compiler-macro-assoc)
595 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
596 (cl--compiler-macro-get): New functions, replacing calls to
597 cl-define-compiler-macro.
598 (cl-typep) [compiler-macro]: Use macroexp-let².
599
f81298f8 6002012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
601
602 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
603 string properly, fixes Bug#11473.
604
4b56d0fe
CY
6052012-06-08 Chong Yidong <cyd@gnu.org>
606
607 * faces.el (set-face-attribute): Doc fix.
608 (modify-face): Don't use :bold and :italic.
609 (error, warning, success): Tweak definitions.
610
611 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
612 (custom-modified, custom-set, custom-changed, custom-themed)
613 (custom-saved, custom-button, custom-button-mouse)
614 (custom-button-pressed, custom-state, custom-comment-tag)
615 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
616 (custom-group-subtitle): Use new-style face specs.
617 (custom-invalid-face, custom-rogue-face, custom-modified-face)
618 (custom-set-face, custom-changed-face, custom-saved-face)
619 (custom-button-face, custom-button-pressed-face)
620 (custom-documentation-face, custom-state-face)
621 (custom-comment-face, custom-comment-tag-face)
622 (custom-variable-tag-face, custom-variable-button-face)
623 (custom-face-tag-face, custom-group-tag-face-1)
624 (custom-group-tag-face): Remove obsolete face alias.
625
626 * epa.el (epa-validity-high, epa-validity-medium)
627 (epa-validity-low, epa-mark, epa-field-name, epa-string)
628 (epa-field-name, epa-field-body):
629 * font-lock.el (font-lock-comment-face, font-lock-string-face)
630 (font-lock-keyword-face, font-lock-builtin-face)
631 (font-lock-function-name-face, font-lock-variable-name-face)
632 (font-lock-type-face, font-lock-constant-face):
633 * ido.el (ido-first-match, ido-only-match, ido-subdir)
634 (ido-virtual, ido-indicator, ido-incomplete-regexp):
635 * speedbar.el (speedbar-button-face, speedbar-file-face)
636 (speedbar-directory-face, speedbar-tag-face)
637 (speedbar-selected-face, speedbar-highlight-face)
638 (speedbar-separator-face):
639 * whitespace.el (whitespace-newline, whitespace-space)
640 (whitespace-hspace, whitespace-tab, whitespace-trailing)
641 (whitespace-line, whitespace-space-before-tab)
642 (whitespace-space-after-tab, whitespace-indentation)
643 (whitespace-empty):
644 * emulation/cua-base.el (cua-global-mark):
645 * eshell/em-prompt.el (eshell-prompt):
646 * net/newst-plainview.el (newsticker-new-item-face)
647 (newsticker-old-item-face, newsticker-immortal-item-face)
648 (newsticker-obsolete-item-face, newsticker-date-face)
649 (newsticker-statistics-face, newsticker-default-face):
650 * net/newst-reader.el (newsticker-feed-face)
651 (newsticker-extra-face, newsticker-enclosure-face):
652 * net/newst-treeview.el (newsticker-treeview-face)
653 (newsticker-treeview-new-face, newsticker-treeview-old-face)
654 (newsticker-treeview-immortal-face)
655 (newsticker-treeview-obsolete-face)
656 (newsticker-treeview-selection-face):
657 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
658 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
659 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
660 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
661 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
662 (nxml-outline-active-indicator, nxml-outline-ellipsis):
663 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
664 (mpuz-text):
665 * progmodes/vera-mode.el (vera-font-lock-number)
666 (vera-font-lock-function, vera-font-lock-interface):
667 * textmodes/table.el (table-cell): Use new-style face specs, and
668 don't use the old :bold and :italic attributes.
669
670 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
671 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
672 (ebrowse-member-class, ebrowse-progress): Likewise.
673 (ebrowse-tree-mark-face, ebrowse-root-class-face)
674 (ebrowse-file-name-face, ebrowse-default-face)
675 (ebrowse-member-attribute-face, ebrowse-member-class-face)
676 (ebrowse-progress-face): Remove obsolete faces.
677
678 * progmodes/flymake.el (flymake-errline, flymake-warnline):
679 Inherit from error and warning faces respectively.
680
681 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
682 Likewise.
f80efb86
SM
683 (flyspell-incorrect-face, flyspell-duplicate-face):
684 Remove obsolete aliases.
4b56d0fe 685
03310646
MA
6862012-06-08 Michael Albinus <michael.albinus@gmx.de>
687
688 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
689 Avoid infloop.
690
513749ee
SM
6912012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * startup.el (argv, argi): Make lexically scoped.
694 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
695 * emacs-lisp/cl-macs.el: Use lexical-binding.
696 Rename cl-bind-* to cl--bind-*.
697 * files.el: Don't require `cl' since it doesn't use it.
698 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
699
595ef4ad
JB
7002012-06-08 Juanma Barranquero <lekktu@gmail.com>
701
702 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
703 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
704 instead of calling external sort utility.
705 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
706
e9f66fcb
EZ
7072012-06-08 Eli Zaretskii <eliz@gnu.org>
708
709 * descr-text.el (describe-char): Mention how to insert the
710 character, if the current input method doesn't support it.
711 See the discussion in this thread for the details:
712 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
713
3d10db47
SS
7142012-06-08 Sam Steingold <sds@gnu.org>
715
716 * bindings.el (global-map): Bind XF86Forward to next-buffer and
717 XF86Back to previous-buffer.
718 (minibuffer-local-map): Bind them to next-history-element and
719 previous-history-element respectively.
720 * help-mode.el (help-mode-map): Bind them to help-go-forward and
721 help-go-back respectively.
722 * info.el (Info-mode-map): Bind them to Info-history-forward and
723 Info-history-back respectively.
724 These are the keys next to Up on the ThinkPad keyboard.
725
de7e2b36
SM
7262012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
729 * emacs-lisp/cl-macs.el: Provide itself.
730 (cl--labels-convert-cache): New var.
731 (cl--labels-convert): New function.
732 (cl-flet, cl-labels): New implementation with new semantics, relying on
733 lexical-binding.
734 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
735 (cl-closure-vars, cl--function-convert-cache)
736 (cl--function-convert): Move from cl-macs.el.
737 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
738 rename by removing the "cl-" prefix.
739 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
740
6fa6c4ae
SM
7412012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
744 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
745 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
746 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
747 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
748 (cl-hash-table-count): Add old compatibility aliases.
749
750 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
751 Use macroexpand-all-environment instead.
752 (cl--old-macroexpand): New var.
753 (cl--sm-macroexpand): New function.
754 (cl-symbol-macrolet): Use it during macro expansion.
755 (cl--function-convert-cache): New var.
756 (cl--function-convert): New function, extracted from
757 cl-macroexpand-all.
758 (cl-lexical-let): Use it.
759
760 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
761 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
762 (cl-member): Remove old alias.
763
764 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
765 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
766 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
767 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
768 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
769 (cl-macroexpand-cmacs): Remove var.
770 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
771 Use macroexpand-all instead.
772
4dd1c416
SM
7732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
776 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
777 (macroexp-copyable-p): New functions and macros.
778 * emacs-lisp/edebug.el (edebug-unwrap):
779 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
780 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
781 (pcase--let*): Remove.
782 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
783 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
784 macroexp-const-p instead.
785 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
786
787 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
788 instead of "cl-" for internal definitions. Use macroexp-const-p.
789 (cl-old-bc-file-form): Remove var.
790 (cl-const-exprs-p): Remove fun.
791 (cl-labels, cl-macrolet): Use backquote.
792 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
793 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
794 (cl-define-setf-expander): Rename from cl-define-setf-method.
795 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
796
797 * international/mule-cmds.el: Don't require CL.
798 (view-hello-file): Don't use `letf'.
799
ed8bd4d7
SM
8002012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
801
7287f2f3
SM
802 * tmm.el (tmm-prompt): Use string-prefix-p.
803 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
804 (tmm-add-prompt): Use minibuffer-completion-help.
805 (tmm-delete-map): Remove.
806
ed8bd4d7
SM
807 * subr.el (kbd): Make it its own function.
808
7b4cdbf4
SM
8092012-06-07 Stefan Merten <smerten@oekonux.de>
810
811 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
812 Silence compiler warnings. Fix versions.
ed8bd4d7 813 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 814 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 815 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
816 (rst-package-emacs-version-alist): Correct Emacs version to
817 represent major merge with upstream.
ed8bd4d7 818 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 819
2b48d721
GM
8202012-06-06 Glenn Morris <rgm@gnu.org>
821
822 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
823 Only print environment variables if set.
824
fa779ab0
SM
8252012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
828 (macroexp--cons): Rename from maybe-cons.
829 (macroexp--accumulate): Rename from macroexp-accumulate.
830 (macroexp--all-forms): Rename from macroexpand-all-forms.
831 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
832 (macroexp--expand-all): Rename from macroexpand-all-1.
833
628299e0
SS
8342012-06-06 Sam Steingold <sds@gnu.org>
835
836 * calendar/calendar.el (calendar-in-read-only-buffer):
837 Call `special-mode' to enable the standard read-only keybindings.
838
b7bb5838
SM
8392012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
842 with "loading" messages (bug#11635).
843
dfb308ba
MA
8442012-06-06 Michael Albinus <michael.albinus@gmx.de>
845
846 * files.el (enable-remote-dir-locals): New option.
847 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
848
0372ee92
MA
849 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
850 Ensure, that the temp directory is local.
851
852 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
853 `temporary-file-directory'.
854
eed0bb91
MA
855 * progmodes/python.el (python-send-region): Ensure, that the
856 temporary file is created also in the remote case.
857
7a58f64d
GM
8582012-06-06 Glenn Morris <rgm@gnu.org>
859
f7dd4e98
GM
860 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
861 (vc-rcs-update-changelog): Use it.
862
276d5f5d
GM
863 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
864
7a58f64d
GM
865 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
866 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
867 (vc-sccs-diff): Replace use of the external vcdiff script.
868
daed4003
GM
8692012-06-05 Glenn Morris <rgm@gnu.org>
870
871 * ledit.el: Move to obsolete/.
872
48c455c7
SS
8732012-06-05 Sam Steingold <sds@gnu.org>
874
875 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
876 patch (Bug#11140).
877
57a7d507
SM
8782012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
879
d32926ff
SM
880 * emacs-list/cust-print.el: Move to obsolete.
881
53aacf21
SM
882 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
883 compiler-macro expansion.
884
57a7d507
SM
885 Add native compiler-macro support.
886 * emacs-lisp/macroexp.el (macroexpand-all-1):
887 Support compiler-macros directly. Properly follow aliases and apply
888 the compiler macros more thoroughly.
889 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
890 macroexpand now properly follows aliases.
891 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
892 (cl-compiler-macroexpand): Use new prop.
893 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
894
895 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
896
51a5f9d8
MR
8972012-06-05 Martin Rudalics <rudalics@gmx.at>
898
899 * window.el (get-lru-window, get-mru-window, get-largest-window):
900 New argument NOT-SELECTED to avoid picking the selected window.
901 (window--display-buffer-1, window--display-buffer-2): Replace by
902 new function window--display-buffer
903 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
904 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
905 Use window--display-buffer.
51a5f9d8
MR
906 (display-buffer-use-some-window): Remove temporary dedication
907 hack by calling get-lru-window and get-largest-window with
908 NOT-SELECTED argument non-nil. Call window--display-buffer.
909
08f9f738
GM
9102012-06-05 Glenn Morris <rgm@gnu.org>
911
912 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
913 Replace external vcdiff script.
914
e364a2b7
SM
9152012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
918
041df390
CY
9192012-06-04 Chong Yidong <cyd@gnu.org>
920
e364a2b7
SM
921 * image.el (imagemagick-types-inhibit): Revert last change.
922 Add INFO and M.
47b36b94 923 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 924
7c1898a7
SM
9252012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * emacs-lisp/cl-lib.el: Rename from cl.el.
928 * emacs-lisp/cl.el: New compatibility file.
929 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
930 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
931 to obey the "cl-" prefix.
932 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
933
0c3461de
GM
9342012-06-03 Glenn Morris <rgm@gnu.org>
935
1e266c88
GM
936 * emacs-lisp/authors.el (authors-aliases): Addition.
937
0c3461de
GM
938 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
939 Fix :version.
940
d8a52e15
SM
9412012-06-03 Stefan Merten <smerten@oekonux.de>
942
943 * textmodes/rst.el: Add comments.
944 (rst-transition, rst-adornment): New faces.
945 (rst-adornment-faces-alist): Make default safe to reevaluate.
946 Fixes
947 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
948 Improve customization tags.
949 (rst-define-level-faces): Clarify meaning.
950
5205d6f6
CY
9512012-06-03 Chong Yidong <cyd@gnu.org>
952
953 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
954 (compilation-mode-line-run, compilation-mode-line-exit):
955 New faces.
5205d6f6
CY
956 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
957
757ee657
JD
9582012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
959
7c1898a7
SM
960 * progmodes/which-func.el (which-func-update-ediff-windows):
961 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 962
5f2c76c6
CY
9632012-06-03 Chong Yidong <cyd@gnu.org>
964
965 * bindings.el: Remove explicit help text from format-mode-line.
966 It is now supplied by mode-line-default-help-echo.
967 (mode-line-front-space, mode-line-end-spaces)
968 (mode-line-misc-info): New variables.
969 (mode-line-modes, mode-line-position): Move the default value to
970 the variable definition.
971 (mode-line-default-help-echo): New defcustom.
383f7350
CY
972 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
973 (mode-line-modified-help-echo): New functions.
974 (mode-line-mule-info, mode-line-modified): Use them.
975 (mode-line-eol-desc, propertized-buffer-identification):
976 Consistency fixes for help text.
cbe46e5f
CY
977 (mode-line-coding-system-map): Allow using mouse-3 to invoke
978 set-buffer-file-coding-system (Bug#289).
979 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 980
f2d6a3df
SM
9812012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * simple.el (execute-extended-command): Set real-this-command
984 (bug#11506).
985
37269466
CY
9862012-06-02 Chong Yidong <cyd@gnu.org>
987
988 Remove incorrect uses of "modeline" in comments, docstrings, and
989 function/variable names (Bug#10329).
990
991 * cus-edit.el (mode-line):
992 * dframe.el (dframe-mouse-hscroll):
993 * emacs-lisp/re-builder.el:
994 * emacs-lisp/easy-mmode.el (define-minor-mode):
995 * frame.el (set-frame-name):
996 * help.el (lookup-minor-mode-from-indicator):
997 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
998 * progmodes/cc-cmds.el (c-toggle-auto-newline)
999 (c-toggle-hungry-state):
1000 * progmodes/antlr-mode.el (antlr-language-alist):
1001 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1002 * progmodes/vhdl-mode.el (vhdl-mode):
1003 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1004 * term/ns-win.el (ns-face-at-pos):
1005 * term/sup-mouse.el (sup-mouse-report):
1006 * textmodes/flyspell.el (flyspell-mode-line-string):
1007 * textmodes/ispell.el (ispell-highlight-face):
1008 * textmodes/reftex-global.el:
1009 * vc/vc-arch.el (vc-arch-mode-line-string):
1010 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1011 * vc/vc-git.el (vc-git-mode-line-string):
1012 * vc/vc-hooks.el (vc-display-status)
1013 (vc-default-mode-line-string):
1014 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1015
1016 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1017
1018 * dired.el (dired-sort-set-mode-line): Rename from
1019 dired-sort-set-modeline. All callers changed.
1020
1021 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1022 eshell-status-in-modeline.
1023
1024 * foldout.el (foldout-mode-line-string): Rename from
1025 foldout-modeline-string. All callers changed.
1026 (foldout-update-mode-line): Rename from foldout-update-modeline.
1027
1028 * subr.el (redraw-modeline): Make into obsolete alias.
1029
1030 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1031 timeclock-modeline-display. Make old name an alias.
1032 (timeclock-update-mode-line): Likewise. All callers changed.
1033 (timeclock-mode-line-display): No need to check before using
1034 add-hook.
1035 (timeclock-relative, timeclock-day-over-hook)
1036 (timeclock-use-elapsed, timeclock-mode-string)
1037 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1038
1039 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1040 crisp-mode-modeline-string.
1041
1042 * play/solitaire.el (solitaire-build-mode-line): Rename from
1043 solitaire-build-modeline. All callers changed.
1044
1045 * play/zone.el (zone-hiding-mode-line): Rename from
1046 zone-hiding-modeline. All callers changed.
1047 (zone): Remove unusued `modeline-hidden-level' property.
1048
1049 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1050 xscheme-modeline-initialize. All callers changed.
1051
1052 * strokes.el (strokes-lighter): Rename from
1053 strokes-modeline-string.
1054
1055 * textmodes/sgml-mode.el (html-face-tag-alist)
1056 (html-tag-face-alist): Use mode-line face instead of obsolete
1057 alias modeline.
1058
42152ee4
SM
10592012-06-02 Stefan Merten <smerten@oekonux.de>
1060
1061 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1062 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1063
95f520b5
CY
10642012-06-02 Chong Yidong <cyd@gnu.org>
1065
1066 * image.el (imagemagick-enabled-types): Rename from
1067 imagemagick-types-enable. Add many more types.
1068 (imagemagick-types-inhibit): Change default to nil.
1069 (imagemagick-filter-types): Caller changed.
1070
4a5f187a
SM
10712012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1072
03fef3e6
SM
1073 * emacs-lisp/cl-macs.el: Use backquotes.
1074 (cl-transform-function-property): Use eval-and-compile rather than
1075 abusing `require'.
1076 (defstruct): Use declare-function instead of with-no-warnings.
1077
4a5f187a
SM
1078 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1079 (byte-compile-output-docform): Re-add the print-circle bindings.
1080 (byte-compile-fix-header): Use #$ just because it's shorter.
1081 (byte-compile-output-file-form): Remove defun/defmacro.
1082
bd56924f
MR
10832012-06-01 Martin Rudalics <rudalics@gmx.at>
1084
1085 * simple.el (choose-completion): Remove now obsolete binding for
1086 owindow.
1087
046e38ce
MA
10882012-06-01 Michael Albinus <michael.albinus@gmx.de>
1089
1090 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1091 in order to avoid "Stack overflow in regexp matcher".
1092
32d72c2f
GM
10932012-05-31 Glenn Morris <rgm@gnu.org>
1094
1095 * image.el: For clarity, call imagemagick-register-types at
1096 top-level, rather than relying on a custom :initialize.
1097 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1098 (imagemagick-filter-types): New function. (Bug#7406)
1099 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1100 If disabling support, remove elements altogether rather
1101 than using an impossible regexp.
1102 (imagemagick-types-inhibit): Give it the default init function.
1103
dd41169b
SM
11042012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1105
4a5f187a
SM
1106 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1107 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1108
efc00ab1 11092012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1110
1111 * desktop.el (desktop-read): Clear previous and next buffers for
1112 all windows and bury *Messages* buffer (bug#11556).
1113
500fcedc
SM
11142012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 Add `declare' for `defun'. Align `defmacro's with it.
1117 * emacs-lisp/easy-mmode.el (define-minor-mode)
1118 (define-globalized-minor-mode): Don't autoload the var definitions.
1119 * emacs-lisp/byte-run.el: Use lexical-binding.
1120 (defun-declarations-alist, macro-declarations-alist): New vars.
1121 (defmacro, defun): Use them.
1122 (make-obsolete, define-obsolete-function-alias)
1123 (make-obsolete-variable, define-obsolete-variable-alias):
1124 Use `declare'.
1125 (macro-declaration-function): Mark obsolete.
1126 * emacs-lisp/autoload.el: Use lexical-binding.
1127 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1128
6e8a1786
AM
11292012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1130
1131 * textmodes/ispell.el (ispell-with-no-warnings):
1132 Define as a macro.
500fcedc
SM
1133 (ispell-kill-ispell, ispell-change-dictionary):
1134 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1135 `interactive-p'.
1136
61b108cc
SM
11372012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1140 (macro-declaration-function): Move var from C code.
1141 (macro-declaration-function): Define function with defalias.
1142 * emacs-lisp/macroexp.el (macroexpand-all-1):
1143 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1144 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1145 defun/defmacro any more.
1146 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1147 Provide fallback for unknown arglist.
1148 (byte-compile-arglist-warn): Change calling convention.
1149 (byte-compile-output-file-form): Move print-vars binding.
1150 (byte-compile-output-docform): Simplify accordingly.
1151 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1152 (byte-compile-defmacro-declaration): Remove.
1153 (byte-compile-file-form-defmumble): Generalize to defalias.
1154 (byte-compile-output-as-comment): Return byte-positions.
1155 Simplify callers accordingly.
1156 (byte-compile-lambda): Use `assert'.
1157 (byte-compile-defun, byte-compile-defmacro): Remove.
1158 (byte-compile-file-form-defalias):
1159 Use byte-compile-file-form-defmumble.
1160 (byte-compile-defalias-warn): Remove.
1161
6d3f7c2f
SM
11622012-05-29 Stefan Merten <smerten@oekonux.de>
1163
1164 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1165 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1166
1167 (rst-mode-abbrev-table): Merge definition.
1168 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1169 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1170
6dbaa1c7
UJ
11712012-05-29 Ulf Jasper <ulf.jasper@web.de>
1172
1173 * calendar/icalendar.el
1174 (icalendar-export-region): Export UID properly.
1175
11762012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1177 * calendar/icalendar.el (icalendar-import-format):
1178 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1179 (icalendar-import-format-uid): New.
1180 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1181 Export UID.
1182
6876a58d
SM
11832012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1186 different alternative patterns.
1187 (pcase-codegen): Be more careful to preserve identity.
1188 (pcase--u1): Don't forget to mark vars as used.
1189
1190 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1191 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1192 (byte-compile-from-buffer): ...rather than here.
1193
1194 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1195 functions from byte-compile-function-environment.
1196
46b7967e
TN
11972012-05-29 Troels Nielsen <bn.troels@gmail.com>
1198
1199 * window.el (window-deletable-p): Avoid deleting the root window
1200 of a frame with an active minibuffer.
1201
69d565e2
MR
12022012-05-29 Martin Rudalics <rudalics@gmx.at>
1203
1204 * simple.el (choose-completion): Use quit-window (Bug#11567).
1205
a149fa51
CY
12062012-05-29 Chong Yidong <cyd@gnu.org>
1207
1208 * whitespace.el (whitespace-cleanup): Fix usage of
1209 whitespace-empty-at-bob-regexp (Bug#11492).
1210
2b311310
AH
12112012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1212
1213 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1214 revert (Bug#11488).
1215
b9cb2387
JL
12162012-05-29 Juri Linkov <juri@jurta.org>
1217
1218 * isearch.el (isearch-mode-map): Bind `M-s _' to
1219 `isearch-toggle-symbol'. Bind `M-s c' to
1220 `isearch-toggle-case-fold'.
1221 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1222 (isearch-forward): Add `M-s _' to the docstring.
1223 (isearch-forward-symbol, isearch-toggle-case-fold)
1224 (isearch-symbol-regexp): New functions. (Bug#11381)
1225
d5e61c1c
JL
12262012-05-29 Juri Linkov <juri@jurta.org>
1227
1228 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1229 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1230 a function, call it to get the regexp.
1231 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1232 property `isearch-message-prefix' instead of the string "word ".
1233 (isearch-search-fun-default): For the case of `isearch-word',
1234 return a lambda that calls re-search-forward/re-search-backward
1235 with a regexp returned by `word-search-regexp' or by the function
1236 in `isearch-word'.
1237
8cbd80f7
JL
12382012-05-29 Juri Linkov <juri@jurta.org>
1239
1240 * isearch.el (isearch-search-fun-default): New function.
1241 (isearch-search-fun): Move default part to the new function
1242 `isearch-search-fun-default'.
1243 (isearch-search-fun-function): Set the default value to
1244 `isearch-search-fun-default'. (Bug#11381)
1245
1246 * comint.el (comint-history-isearch-end):
1247 Use `isearch-search-fun-default'.
1248 (comint-history-isearch-search): Use `isearch-search-fun-default'
1249 and remove spacial case for `isearch-word'.
1250 (comint-history-isearch-wrap): Remove spacial case for
1251 `isearch-word'.
1252
1253 * hexl.el (hexl-isearch-search-function):
1254 Use `isearch-search-fun-default'.
1255
1256 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1257 Use `word-search-regexp' for `isearch-word'.
1258
1259 * misearch.el (multi-isearch-search-fun):
1260 Use `isearch-search-fun-default'.
1261
1262 * simple.el (minibuffer-history-isearch-search):
1263 Use `isearch-search-fun-default' and remove spacial case for
1264 `isearch-word'.
1265 (minibuffer-history-isearch-wrap): Remove spacial case for
1266 `isearch-word'.
1267
1268 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1269 Remove spacial case for `isearch-word'.
1270 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1271
85c8c5b6
AM
12722012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1273
1274 Decrease XEmacs incompatibilities.
1275 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1276 Use `string-match'.
1277 (flyspell-delete-region-overlays): Use alternative definition for
1278 XEmacs.
1279 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1280 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1281 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1282 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1283 `define-obsolete-face-alias' under XEmacs, but old method.
1284
1285 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1286 `with-no-warnings' definition or Emacs alias.
1287 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1288 (ispell-word): Do not use `region-p' if XEmacs.
1289
8cab9efc
AM
12902012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1291
1292 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1293 Check for `ispell-dictionary-base-alist' instead of full
1294 `ispell-dictionary-alist'.
1295 (ispell-init-process): Show spellchecker when starting new Ispell
1296 process.
1297
fda91268
RZ
12982012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1301 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1302
694ea8e3
JB
13032012-05-27 Juanma Barranquero <lekktu@gmail.com>
1304
1305 * version.el (motif-version-string, gtk-version-string)
1306 (ns-version-string): Declare.
1307
e4d4f539
JL
13082012-05-27 Juri Linkov <juri@jurta.org>
1309
1310 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1311 after the `eval-defun-1' specialcaseing
1312 like in `edebug-eval-defun' (bug#10181).
1313
1314 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1315 like in `eval-defun-1'.
1316
33017faf 13172012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1318
fda91268
RZ
1319 * mail/sendmail.el (mail-yank-region):
1320 Recognize rmail-yank-current-message in addition to insert-buffer.
1321 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1322 a *mail* buffer created through rmail-start-mail with sendmail as
1323 mail-user-agent.
1324
33017faf
GM
13252012-05-27 Chong Yidong <cyd@gnu.org>
1326
1327 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1328 Default to 256 (Bug#11267).
1329
1330 * help.el (describe-mode): Doc fix.
1331
04188bb9
GM
13322012-05-26 Glenn Morris <rgm@gnu.org>
1333
38264cc9
GM
1334 * w32-fns.el (w32-init-info): Remove.
1335 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1336
eb7afdad
GM
1337 * info.el (info-initialize): For self-contained NS builds, put the
1338 included info/ directory at the front. (Bug#2791)
1339
04188bb9
GM
1340 * paths.el (Info-default-directory-list): Make it a defcustom,
1341 mainly so that we can use custom-initialize-delay.
1342
a179e3f7
SM
13432012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1344
43416392
SM
1345 * subr.el (buffer-has-markers-at): Mark obsolete.
1346
a179e3f7 1347 * subr.el (lambda): Use declare.
43416392 1348
a179e3f7
SM
1349 * emacs-lisp/lisp-mode.el (lambda):
1350 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1351
34a008d9
AH
13522012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1353
1354 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1355
0a3b289f
GM
13562012-05-26 Glenn Morris <rgm@gnu.org>
1357
1358 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1359
758c81e8
GM
13602012-05-25 Glenn Morris <rgm@gnu.org>
1361
f9f334f0
GM
1362 * paths.el: Remove no-byte-compile.
1363 * loadup.el: No need to load paths.el uncompiled.
1364
87eb79c2
GM
1365 * image.el (imagemagick-types-inhibit): Doc fix.
1366
758c81e8
GM
1367 * version.el: Remove no-byte-compile and associated formatting.
1368 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1369 is ancient code from when there was an "inc-vers.el".
1370
e7e85dc0
SM
13712012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * progmodes/gdb-mi.el: Minor style changes.
1374 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1375 Turn into minor modes.
1376 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1377 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1378 (gdb-shell): Remove unneeded let-binding.
1379 (gdb-get-many-fields): Eliminate O(n²) behavior.
1380
f31237a4
EZ
13812012-05-25 Eli Zaretskii <eliz@gnu.org>
1382
1383 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1384 platforms that don't link in fontset.c.
1385
bc1b21bb
JL
13862012-05-25 Juri Linkov <juri@jurta.org>
1387
1388 Use the same diff color scheme as in modern VCSes (bug#10181).
1389
1390 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1391 to avoid confusion with `diff-added' that now uses green colors.
1392 (diff-removed): Use shades of red.
1393 (diff-added): Use shades of green.
1394 (diff-changed): Leave just the yellow color.
1395 (diff-use-changed-face): New variable.
1396 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1397 how to highlight context diff changes.
1398 (diff-refine-change): Use shades of yellow.
1399 (diff-refine-removed): New face that uses shades of red.
1400 (diff-refine-added): New face that uses shades of green.
1401 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1402 `diff-refine-removed' in the call to `smerge-refine-subst'
1403 depending on the value of `diff-use-changed-face'.
1404
1405 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1406 (smerge-other): Use shades of green.
1407 (smerge-base): Use shades of yellow.
1408 (smerge-refined-change): Empty face.
1409 (smerge-refined-removed): New face that uses shades of red.
1410 (smerge-refined-added): New face that uses shades of green.
1411 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1412 args `props-r' and `props-a', and use them. Doc fix.
1413 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1414 on its value use different faces `smerge-refined-change',
1415 `smerge-refined-removed', `smerge-refined-added' in the call to
1416 `smerge-refine-subst'.
1417
1418 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1419 Add face condition `min-colors 88' with shades of red.
1420 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1421 `min-colors 88' with shades of green.
1422 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1423 `min-colors 88' with shades of yellow.
1424
6df9112c
GM
14252012-05-24 Glenn Morris <rgm@gnu.org>
1426
ead5edc0
GM
1427 * paths.el (prune-directory-list, remote-shell-program): Move to...
1428 * files.el (prune-directory-list, remote-shell-program): ...here.
1429 For the latter, delay initialization, prefer ssh, just search PATH.
1430
f18b81e6
GM
1431 * paths.el (term-file-prefix): Move to faces.el (the only user).
1432 * faces.el (term-file-prefix): Move here, make it a defcustom.
1433
ee2f89a6
GM
1434 * paths.el (news-directory, news-path, news-inews-program):
1435 Move to gnus/nnspool.el.
61a583ca 1436
f8815e4c
GM
1437 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1438
c8f3b42c
GM
1439 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1440 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1441 Make the latter a defcustom, with a delayed initialization.
1442
6df9112c
GM
1443 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1444 These were deleted from Gnus itself late 2010.
1445
5dadff36
JB
14462012-05-22 Juanma Barranquero <lekktu@gmail.com>
1447
9e1701c6
JB
1448 * progmodes/which-func.el (which-func-ff-hook):
1449 Check against user-error, not error.
1450
bd7239f5 1451 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1452 cl-specs.el, which no longer exists.
1453
3290526d
GM
14542012-05-22 Glenn Morris <rgm@gnu.org>
1455
1456 * info.el (info-emacs-bug): New command.
1457 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1458 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1459
ff0c3cfb
GM
14602012-05-21 Glenn Morris <rgm@gnu.org>
1461
1462 * makefile.w32-in (update-subdirs-SH):
1463 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1464
5814f126
SM
14652012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1466
a52c0aa0
SM
1467 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1468
5814f126
SM
1469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1470 Simplify Maven regexp, and make sure the file can't start with a space
1471 (bug#11517).
1472
b847032c
GM
14732012-05-21 Glenn Morris <rgm@gnu.org>
1474
1475 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1476 Scrap superfluous subshells.
1477
3858bfe7
SM
14782012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1481 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1482
d14b0029
JB
14832012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1484
1485 * calc/calc.el (calc-ensure-consistent-units): New variable.
1486
a52c0aa0
SM
1487 * calc/calc-units.el (math-consistent-units-p)
1488 (math-check-unit-consistency): New functions.
1489 (calc-quick-units, calc-convert-units):
1490 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1491 is non-nil.
d14b0029
JB
1492 (calc-extract-units): Fix typo.
1493
60c4db3a
SM
14942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1495
77f3b62e
SM
1496 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1497
60c4db3a
SM
1498 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1499 (flyspell-default-deplacement-commands): Don't spell check after
1500 repeated window/frame switches (e.g. triggered by mouse-movement).
1501 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1502 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1503 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1504 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1505 Remove unused vars.
1506 (flyspell-get-casechars, flyspell-get-not-casechars):
1507 Simplify; Don't bother removing a ] just to add it back.
1508 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1509
b1a10716
RS
15102012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1511
1512 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1513 New functions.
bd7239f5 1514 (math-function-table): Add support for more C functions.
b1a10716 1515
3f1b25b5
AM
15162012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1517
1518 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1519 (flyspell-debug-signal-word-checked): Protect delay handling for
1520 otherchars against empty otherchars.
1521
b581bb5c
SM
15222012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1525 their respective macro declarations.
1526 * skeleton.el (define-skeleton):
1527 * progmodes/compile.el (define-compilation-mode):
1528 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1529 (define-ibuffer-filter):
1530 * emacs-lisp/generic.el (define-generic-mode):
1531 * emacs-lisp/easy-mmode.el (define-minor-mode)
1532 (define-globalized-minor-mode):
1533 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1534 * emacs-lisp/byte-run.el (defsubst):
1535 * custom.el (deftheme): Add doc-string metadata.
1536
70b8ef8f
SM
15372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1540
b1198e17
SM
15412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1542
9abdc45d
SM
1543 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1544
b1198e17
SM
1545 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1546 * emacs-lisp/cl-macs.el: Idem.
1547 * emacs-lisp/cl-specs.el: Remove.
1548
4735906a
SM
15492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 Minor renaming of internal CL functions and variables.
1552 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1553 (cl--position): Rename from cl-position.
1554 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1555 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1556 (cl--random-state): Rename from *random-state*.
1557
ac348012
SM
15582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1561 parens around the arg list (bug#11499).
1562
a0a79cde
JL
15632012-05-17 Juri Linkov <juri@jurta.org>
1564
1565 * isearch.el (word-search-regexp, word-search-backward)
1566 (word-search-forward, word-search-backward-lax)
1567 (word-search-forward-lax): Move functions from search.c
1568 (bug#10145, bug#11381).
1569
65034a51
AM
15702012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1571
1572 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1573 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1574 normal word components.
1575
1a72a195
SM
15762012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * minibuffer.el (completion--sifn-requote): Fix last change.
1579 (minibuffer-local-must-match-filename-map):
1580 Move define-obsolete-variable-alias before its var.
1581
fdb058c2
SM
15822012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1583
c41045e6
SM
1584 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1585
036dfb8b
SM
1586 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1587 behavior.
1588 (completion--string-equal-p): New function.
1589 (completion--twq-all): Use it to get better assertion failure data.
1590
2473256d
SM
1591 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1592 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1593 (shell--requote-argument): New functions.
1594 (shell-completion-vars): Use them.
1595 (shell--parse-pcomplete-arguments): Rename from
1596 shell-parse-pcomplete-arguments.
1597 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1598 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1599 Obey comint-file-name-quote-list.
1600
fdb058c2
SM
1601 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1602 (smie-indent-keyword): Use it.
1603
51fa99f1
SM
16042012-05-14 Stefan Merten <smerten@oekonux.de>
1605
1606 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1607
e18afed7 16082012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1609
1610 * net/rlogin.el (rlogin-mode-map): Fix last change.
1611
e18afed7 16122012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1613
1614 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1615 the following \r\n using a single `process-send-string', since the
1616 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1617 with two `process-send-string's (Bug#11444).
8633b1f4 1618
e18afed7 16192012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1620
fdb058c2
SM
1621 * shell.el (shell-parse-pcomplete-arguments):
1622 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1623
2d21d7f6
WJ
16242012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1625
e18afed7 1626 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1627 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1628 (image-transform-width, image-transform-fit-width): New functions.
1629 (image-transform-properties): Use them.
1630 (image-transform-check-size): New function.
1631 (image-toggle-display-image): Use it (for testing).
1632 (image-transform-set-rotation): Reduce angle mod 360.
1633 Delete obsolete comment.
1634
7102e6d0
WJ
16352012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1636
1637 * image-mode.el: Fix scaling (bug#11399).
1638 (image-transform-resize): Doc fix.
1639 (image-transform-properties): Default scale is 1 and height should
1640 be an integer.
1641
06bc5e6e
SM
16422012-05-13 Johan Bockgård <bojohan@gnu.org>
1643
1644 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1645 than hard-coding `car', to fix misbehavior when moving forward.
1646
0ae03b6a
CY
16472012-05-13 Chong Yidong <cyd@gnu.org>
1648
1649 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1650 (tabulated-list-entries, tabulated-list-padding)
1651 (tabulated-list-sort-key): Make permanent-local.
1652
1653 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1654 (electric-buffer-list): Put electric buffer menu
1655 command descriptions in this docstring, instead of the docstring
1656 of electric-buffer-menu-mode. Code cleanups.
1657 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1658 Electric-buffer-menu-mode.
1659 (electric-buffer-update-highlight): Minor code cleanup.
1660
205a7391
MA
16612012-05-13 Michael Albinus <michael.albinus@gmx.de>
1662
1663 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1664 (Bug#11447)
1665
e5bd0a28
SM
16662012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 Move define-obsolete-variable-alias before the var's definition.
1669 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1670 * tooltip.el (tooltip-hook):
1671 * textmodes/reftex-toc.el (reftex-toc-map):
1672 * textmodes/reftex-sel.el (reftex-select-label-map)
1673 (reftex-select-bib-map):
1674 * textmodes/reftex-index.el (reftex-index-map)
1675 (reftex-index-phrases-map):
1676 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1677 * progmodes/meta-mode.el (meta-mode-map):
1678 * novice.el (disabled-command-hook):
1679 * loadhist.el (unload-hook-features-list):
1680 * frame.el (blink-cursor):
1681 * files.el (find-file-not-found-hooks, write-file-hooks)
1682 (write-contents-hooks):
1683 * emulation/tpu-edt.el (GOLD-map):
1684 * emacs-lock.el (emacs-lock-from-exiting):
1685 * emacs-lisp/generic.el (generic-font-lock-defaults):
1686 * emacs-lisp/chart.el (chart-map):
1687 * dos-fns.el (register-name-alist):
1688 * dired-x.el (dired-omit-files-p):
1689 * desktop.el (desktop-enable):
1690 * cus-edit.el (custom-mode-hook):
1691 * buff-menu.el (buffer-menu-mode-hook):
1692 * bookmark.el (bookmark-read-annotation-text-func)
1693 (bookmark-exit-hooks):
1694 * allout.el (allout-mode-deactivate-hook)
1695 (allout-exposure-change-hook, allout-structure-added-hook)
1696 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1697 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1698 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1699 comes before the corresponding variable's definition.
1700
ac59c2f6
CY
17012012-05-12 Chong Yidong <cyd@gnu.org>
1702
1703 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1704 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1705 (Buffer-menu-mode-map): Bind it.
1706 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1707
dee6c9a3
SM
17082012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1709
2171cea5
SM
1710 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1711 (prolog-upper-case-string, prolog-lower-case-string)
1712 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1713 (prolog-use-smie, prolog-smie-grammar): New vars.
1714 (prolog-smie-forward-token, prolog-smie-backward-token)
1715 (prolog-smie-rules): New funs.
1716 (prolog-comment-indent): Remove.
1717 (prolog-mode-variables): Use default comment indentation instead.
1718 Setup SMIE.
1719 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1720 (prolog-mode): Don't call them any more.
1721 (prolog-electric-colon, prolog-electric-dash)
1722 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1723
aa0382bd
SM
1724 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1725
dbacb4bd
SM
1726 * minibuffer.el (completion--twq-all): Again, allow case differences.
1727
13bdd94c
SM
1728 * term.el: Move keymap initialization code to be more idiomatic.
1729 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1730 (term-terminal-menu): Move initialization into declaration.
1731 (term-escape-char): Let the user set it in her .emacs.
1732
ff46c759
SM
1733 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1734 Provide SMIE-based indentation (not enabled by default yet).
1735 (sh-mode-map): Don't bind electric keys.
1736 Use electric-pair-mode instead of skeleton-pair.
1737 (sh-assignment-regexp): Fit within 80 columns.
1738 (sh-indent-supported): Specify actual shell name instead of boolean.
1739 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1740 (sh-maybe-here-document): Use it. Make obsolete.
1741 (sh-electric-here-document-mode) New minor mode.
1742 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1743 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1744 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1745 (sh-smie-rc-grammar, sh-use-smie): New vars.
1746 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1747 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1748 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1749 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1750 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1751 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1752 (sh-set-shell): Use smie-setup if requested.
1753
dee6c9a3
SM
1754 * term.el (term-set-escape-char): Properly set term-escape-char.
1755 See http://stackoverflow.com/questions/10524656.
1756
9f9aa044
CY
17572012-05-10 Chong Yidong <cyd@gnu.org>
1758
1759 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1760 Use url-generic-parse-url, and handle host names and Windows
1761 filenames properly.
1762 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1763 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1764 URL schemes to work on.
1765 (ffap--toggle-read-only): New function.
1766 (ffap-read-only, ffap-read-only-other-window)
1767 (ffap-read-only-other-frame): Use it.
1768 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1769 necessary for ffap-url-unwrap-remote.
1770
836d29b3
DA
17712012-05-10 Dave Abrahams <dave@boostpro.com>
1772
1773 * cus-start.el (create-lockfiles): Add it.
1774
00fd78ed
CY
17752012-05-09 Chong Yidong <cyd@gnu.org>
1776
1777 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1778 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1779
666b903b 17802012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1781
1782 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1783
666b903b 17842012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1785
1786 * ansi-color.el (ansi-color-process-output): Check for validity of
1787 comint-last-output-start before using it. This avoids a bad
1788 interaction with gdb-mi's input/output buffer.
1789
666b903b 17902012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1791
1792 * files.el (dir-locals-read-from-file):
1793 Mention dir-locals in any error message.
1794
666b903b 17952012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1796
1797 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1798 package (Bug#11410).
1799
f677562b
CY
1800 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1801 variables into description.
1802
666b903b 18032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1804
1805 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1806 shell-delimiter-argument-list (bug#11348).
1807 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1808
b499d8d0
JB
18092012-05-09 Juanma Barranquero <lekktu@gmail.com>
1810
8f6b6da8
JB
1811 * textmodes/rst.el: Silence byte-compiler warnings.
1812 (rst-re-alist, rst-reset-section-caches): Move around.
1813 (rst-re): Use `characterp', not `char-valid-p'.
1814 (font-lock-beg, font-lock-end): Declare.
1815
4824146a
JB
1816 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1817 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1818
b499d8d0
JB
1819 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1820
ad89bb83
GM
18212012-05-08 Glenn Morris <rgm@gnu.org>
1822
1823 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1824
8bba5a75
SM
18252012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1826
49ed9c8e
SM
1827 * vc/log-edit.el: Add GNU coding standards highlighting.
1828 (log-edit-font-lock-gnu-style)
1829 (log-edit-font-lock-gnu-keywords): New vars.
1830 (log-edit-font-lock-keywords): New fun.
1831 (log-edit-mode): Don't fold case in font-lock.
1832 (log-edit-font-lock-keywords): Do not assume case-folding.
1833
07d00b56
SM
1834 * imenu.el: Misc cleanup. Make docstrings out of comments.
1835 Use lexical-binding.
1836 (imenu--index-alist, imenu--last-menubar-index-alist)
1837 (imenu-menubar-modified-tick): Use defvar-local.
1838 (imenu--split-menu): Remove unused var.
1839 (imenu--cleanup-seen): Declare as global.
1840 (imenu--cleanup): Use dolist.
1841
8bba5a75
SM
1842 * subr.el (defvar-local): Add debug spec and doc-string position.
1843
5075bdb5
GM
18442012-05-08 Glenn Morris <rgm@gnu.org>
1845
c052c904
GM
1846 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1847 * language/english.el, language/georgian.el, language/greek.el:
1848 * language/japanese.el, language/khmer.el, language/korean.el:
1849 * language/lao.el, language/misc-lang.el, language/romanian.el:
1850 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1851 * language/thai.el, language/utf-8-lang.el:
1852 Remove no-byte-compile setting.
1853
5075bdb5
GM
1854 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1855
06f679a7
AH
18562012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1857
1858 * progmodes/make-mode.el (makefile-browse):
1859 Remove unnecessary interactive. (Bug#11324)
1860
03794570
GM
18612012-05-07 Glenn Morris <rgm@gnu.org>
1862
af8630f4
GM
1863 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1864
03794570
GM
1865 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1866
f0809a9d
SM
18672012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1868
28be5ce7
SM
1869 * loadup.el: Preload newcomment.el.
1870 * newcomment.el: Move autoload-only code to toplevel.
1871
f0809a9d
SM
1872 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1873 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1874 Handle new :right-align column property.
1875 (tabulated-list-print-col): Idem, plus use `display' text-property to
1876 try and preserve alignment for variable pitch fonts.
1877
1241b724
CY
18782012-05-07 Chong Yidong <cyd@gnu.org>
1879
1880 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1881 (tabulated-list-use-header-line): New var.
1882 (tabulated-list-init-header): Use it.
1883 (tabulated-list-print-fake-header): New function.
1884 (tabulated-list-print): Use it.
1885 (tabulated-list-sort-button-map): Add non-header-line commands.
1886 (tabulated-list-init-header): Add column name property to basic
1887 labels as well.
1888 (tabulated-list-col-sort): Handle non-header-line button case.
1889 (tabulated-list--sort-by-column-name): Fix a corner case.
1890
f0809a9d
SM
1891 * buff-menu.el (list-buffers--refresh):
1892 Handle Buffer-menu-use-header-line.
1241b724 1893
e5f9458f
CY
18942012-05-06 Chong Yidong <cyd@gnu.org>
1895
1896 * buff-menu.el: Convert to Tabulated List mode.
1897 (Buffer-menu-buffer+size-width): Make obsolete.
1898 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1899 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1900 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1901 documentation into docstring of buffer-menu.
1902 (Buffer-menu-toggle-files-only): Add an informative message.
1903 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1904 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1905 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1906 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1907 (Buffer-menu-execute, Buffer-menu-select)
1908 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1909 (Buffer-menu-bury): Use Tabulated List machinery.
1910 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1911 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1912 Delete.
e5f9458f
CY
1913 (list-buffers--refresh): New function.
1914 (list-buffers-noselect): Use it.
1915 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1916 (Buffer-menu--pretty-file-name): New helper functions.
1917
1918 * loadup.el: Preload tabulated-list.
1919
1920 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1921 tabulated-list-sort-column.
1922 (tabulated-list-init-header): Add the initial aligning space even
1923 if tabulated-list-padding is zero.
1924
e129292c
CS
19252012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1926
1927 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1928 whose cdr is not a cons cell correctly (bug#11038).
1929
6632d361
CY
19302012-05-06 Chong Yidong <cyd@gnu.org>
1931
e129292c
CS
1932 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1933 Accept additional plist in column descriptors.
6632d361
CY
1934 (tabulated-list-init-header): Obey it.
1935 (tabulated-list-get-entry): New function.
1936 (tabulated-list-put-tag): Use it. Use string-width instead of
1937 length.
1938 (tabulated-list--column-number): New function.
1939 (tabulated-list-print): Use it.
e129292c
CS
1940 (tabulated-list-print-col): New function.
1941 Set `tabulated-list-column-name' property on each column's text.
6632d361 1942 (tabulated-list-print-entry): Use it.
e129292c
CS
1943 (tabulated-list-delete-entry, tabulated-list-set-col):
1944 New functions.
6632d361
CY
1945 (tabulated-list-sort-column): New command (Bug#11337).
1946
3cc99f68
CY
1947 * buff-menu.el (list-buffers): Move C-x C-b binding from
1948 buff-menu.el to bindings.el.
1949
1950 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1951 :advertised-binding feature.
1952
52b61776
TN
19532012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1954
1955 * progmodes/compile.el (compilation-internal-error-properties):
1956 Calculate start position correctly when end-col is set but
1957 end-line is not (Bug#11382).
1958
ebfe2597
WJ
19592012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1960
1961 * man.el (Man-unindent): Use text-property-default-nonsticky to
1962 prevent untabify from inheriting face properties (Bug#11408).
1963
6d3f7c2f
SM
19642012-05-05 Stefan Merten <smerten@oekonux.de>
1965
1966 * textmodes/rst.el: Major merge with upstream development up to
1967 Docutils SVN r7399 / rst.el V1.2.1.
1968
1969 Clarify maintainership and authors.
1970
1971 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1972 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1973 (rst-official-version, rst-official-cvs-rev, rst-version)
1974 (rst-package-emacs-version-alist): New functions and variables
1975 for version information.
1976
1977 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1978 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1979 (rst-mode-syntax-table, rst-mode): New and corrected functions
1980 and variables representing reStructuredText features.
1981
1982 (rst-re): New function for reStructuredText regexes. Use in
1983 many places.
1984
1985 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1986 (rst-mode-map): Rebind keys.
1987
1988 (rst-mode-lazy, rst-font-lock-keywords)
1989 (rst-font-lock-extend-region)
1990 (rst-font-lock-extend-region-internal)
1991 (rst-font-lock-extend-region-extend)
1992 (rst-font-lock-find-unindented-line-limit)
1993 (rst-font-lock-find-unindented-line-match)
1994 (rst-adornment-level, rst-font-lock-adornment-level)
1995 (rst-font-lock-adornment-match)
1996 (rst-font-lock-handle-adornment-pre-match-form)
1997 (rst-font-lock-handle-adornment-matcher): Major revision of
1998 font-locking. Integrate with other code. Use `jit-lock-mode'.
1999
2000 (rst-preferred-adornments, rst-adjust-hook)
2001 (rst-new-adornment-down, rst-preferred-bullets)
2002 (rst-preferred-bullets, rst-indent, rst-indent-width)
2003 (rst-indent-field, rst-indent-literal-normal)
2004 (rst-indent-literal-minimized, rst-indent-comment): Change,
2005 extend and improve customization.
2006
2007 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2008 (rst-normalize-cursor-position, rst-get-decoration)
2009 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2010 (rst-rstrip, rst-toc-insert-find-delete-contents)
2011 (rst-shift-fill-region, rst-compute-bullet-tabs)
2012 (rst-debug-print-tabs, rst-debug-mark-found)
2013 (rst-shift-region-guts, rst-shift-region-right)
2014 (rst-shift-region-left, rst-use-char-classes)
2015 (rst-font-lock-keywords-function)
2016 (rst-font-lock-indentation-point)
2017 (rst-font-lock-find-unindented-line-begin)
2018 (rst-font-lock-find-unindented-line-end)
2019 (rst-font-lock-find-unindented-line)
2020 (rst-font-lock-adornment-point, rst-font-lock-level)
2021 (rst-adornment-level-alist): Remove functions and variables.
2022
2023 (rst-compare-adornments, rst-get-adornment-match)
2024 (rst-suggest-new-adornment, rst-get-adornments-around)
2025 (rst-adornment-complete-p, rst-get-next-adornment)
2026 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2027 (rst-straighten-adornments): Standardize function names to
2028 use "adornment" instead of "decoration". Correct callers.
2029 Similar standardizing in many places.
2030
2031 (rst-update-section, rst-adjust, rst-promote-region)
2032 (rst-enumerate-region, rst-bullet-list-region)
2033 (rst-repeat-last-character): Correct use of `interactive'.
2034
2035 (rst-classify-adornment, rst-find-all-adornments)
2036 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2037 (rst-find-leftmost-column, rst-repeat-last-character):
2038 Refactor functions.
2039
2040 (rst-find-title-line, rst-reset-section-caches)
2041 (rst-get-adornments-around, rst-adjust-adornment-work)
2042 (rst-arabic-to-roman, rst-roman-to-arabic)
2043 (rst-insert-list-pos, rst-insert-list-new-item)
2044 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2045 New functions.
2046
2047 (rst-all-sections, rst-section-hierarchy)
2048 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2049 New variables.
2050
2051 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2052 configuration instead of only buffer. Change where necessary.
2053
2054 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2055 (rst-shift-region, rst-adaptive-fill): New functions for
2056 indentation and filling.
2057
2058 (rst-comment-line-break, rst-comment-indent)
2059 (rst-comment-insert-comment, rst-comment-region)
2060 (rst-uncomment-region): New functions for handling comments.
2061
2062 (rst-compile): Quote shell arguments.
2063
2064 (rst-compile-pdf-preview, rst-compile-slides-preview):
2065 Delete temporary files after use.
2066
a43f98b3
GM
20672012-05-05 Glenn Morris <rgm@gnu.org>
2068
48176e8b
GM
2069 * calendar/cal-html.el: Optionally include holidays in the output.
2070 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2071 (cal-html-holidays): New option.
2072 (cal-html-css-default): Add holiday entry.
2073 (holiday-in-range): Autoload it.
2074 (cal-html-htmlify-entry): Add optional class argument.
2075 (cal-html-htmlify-list): Add optional holidays argument.
2076 (cal-html-insert-agenda-days): Include holidays in the output.
2077 (cal-html-one-month): Maybe include holidays.
2078
a43f98b3
GM
2079 * calendar/holidays.el (holiday-in-range):
2080 Move here from cal-tex-list-holidays.
2081 * calendar/cal-tex.el (cal-tex-list-holidays):
2082 Make it an obsolete alias for holiday-in-range. Update all callers.
2083
fef9d149 20842012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2085
2086 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2087 Nextstep.
2088
248da2f4
RW
20892012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2090
2091 * files.el (file-auto-mode-skip): New var.
2092 (set-auto-mode-1): Use it.
2093
f95e9344
SM
20942012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2095
df96ab1e
SM
2096 * repeat.el: Use lexical-binding.
2097 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2098 (repeat-undo-count): Remove.
2099 (repeat):
2100 * progmodes/octave-mod.el (octave-abbrev-start):
2101 * progmodes/f90.el (f90-abbrev-start):
2102 * face-remap.el (text-scale-adjust):
2103 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2104
5342bb06
SM
2105 * emacs-lisp/pcase.el (pcase--let*): New function.
2106 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2107 a bit more.
2108 (pcase--split-pred): Be more clever about ruling out overlap between
2109 a predicate and some constant pattern.
2110 (pcase--q1): Use `null' instead of (eq foo nil).
2111
f95e9344
SM
2112 * subr.el (setq-local, defvar-local): New macros.
2113 (kbd): Redefine as an alias.
2114 (with-selected-window): Leave unrelated frames alone.
2115 (set-temporary-overlay-map): New function.
2116
71873e2b
SM
21172012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * subr.el (user-error): New function.
2120 * window.el (switch-to-buffer):
2121 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2122 (smerge-match-conflict):
2123 * simple.el (previous-matching-history-element)
2124 (next-matching-history-element, goto-history-element, undo-more)
2125 (undo-start):
2126 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2127 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2128 (next-file, tags-loop-scan, list-tags, complete-tag):
2129 * progmodes/compile.el (compilation-loop):
2130 * mouse.el (mouse-minibuffer-check):
2131 * man.el (Man-bgproc-sentinel, Man-goto-page):
2132 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2133 (Info-history-forward, Info-follow-reference, Info-menu)
2134 (Info-extract-menu-item, Info-extract-menu-counting)
2135 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2136 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2137 (Info-next-reference, Info-prev-reference, Info-index)
2138 (Info-index-next, Info-follow-nearest-node)
2139 (Info-copy-current-node-name):
2140 * imenu.el (imenu--make-index-alist)
2141 (imenu-default-create-index-function, imenu-add-to-menubar):
2142 * files.el (basic-save-buffer, recover-file):
2143 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2144 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2145 (checkdoc-message-text, checkdoc-defun):
2146 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2147 * cus-edit.el (customize-changed-options, customize-rogue)
2148 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2149 (custom-variable-mark-to-reset-standard)
2150 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2151 (custom-file):
2152 * completion.el (check-completion-length):
2153 * comint.el (comint-search-arg)
2154 (comint-previous-matching-input-string-position)
2155 (comint-previous-matching-input)
2156 (comint-replace-by-expanded-history-before-point, comint-send-input)
2157 (comint-copy-old-input, comint-backward-matching-input)
2158 (comint-goto-process-mark, comint-set-process-mark):
2159 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2160 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2161
8a61ee22
SM
21622012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2163
66408d1e
SM
2164 * dabbrev.el (dabbrev--ignore-case-p): New function.
2165 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2166 Use it.
2167
8a61ee22
SM
2168 * files.el (automount-dir-prefix): Mark as obsolete.
2169
3c74813a
GM
21702012-05-04 Glenn Morris <rgm@gnu.org>
2171
2172 * patcomp.el, play/bruce.el: Move to obsolete/.
2173
0bfcf5c5
PE
21742012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2175
2176 Fix minor Y10k bugs.
2177 * arc-mode.el (archive-unixdate):
2178 * autoinsert.el (auto-insert-alist):
2179 * calc/calc-forms.el (math-this-year):
2180 * emacs-lisp/copyright.el (copyright-current-year)
2181 (copyright-update-year, copyright):
2182 * tar-mode.el (tar-clip-time-string):
2183 * time.el (display-time-update):
2184 Don't assume years have 4 digits.
2185
78f3273a
CY
21862012-05-04 Chong Yidong <cyd@gnu.org>
2187
2188 * dos-w32.el (file-name-buffer-file-type-alist)
2189 (direct-print-region-use-command-dot-com):
2190 * ffap.el (ffap-menu-regexp):
2191 * find-file.el (ff-special-constructs):
2192 * follow.el (follow-debug):
2193 * forms.el (forms--debug):
2194 * iswitchb.el (iswitchb-all-frames):
2195 * ido.el (ido-all-frames):
2196 * emacs-lisp/timer.el (timer-max-repeats):
2197 * mail/feedmail.el (feedmail-mail-send-hook)
2198 (feedmail-mail-send-hook-queued):
2199 * mail/footnote.el (footnote-signature-separator):
2200 * mail/mailabbrev.el (mail-alias-separator-string)
2201 (mail-abbrev-mode-regexp):
2202 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2203 * progmodes/idlwave.el (idlwave-libinfo-file)
2204 (idlwave-default-completion-case-is-down)
2205 (idlwave-library-routines): Convert defvars to defcustoms.
2206
2207 * mail/rmail.el (rmail-decode-mime-charset):
2208 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2209 (idlwave-shell-fix-inserted-breaks)
2210 (idlwave-shell-activate-alt-keybindings)
2211 (idlwave-shell-use-breakpoint-glyph):
2212 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2213
f7ae6719
SM
22142012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2217
47086495
WS
22182012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2219
2220 * progmodes/verilog-mode.el (font-lock-keywords):
2221 Fix mis-highligting auto. Reported by Craig Barner.
2222 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2223 defines from global name space. Reported by Dan Dever.
2224 (verilog-auto-reset, verilog-auto-reset-widths)
2225 (verilog-auto-tieoff): Support using unbased numbers for
2226 AUTORESET and AUTOTIEOFF.
2227 (verilog-submit-bug-report): Update variable list.
2228 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2229 parenthesis from not matching. Reported by Michael Rytting.
2230 (verilog-auto-template-lint): Fix hash error when linting modules
2231 with no used templates.
2232 (verilog-warn, verilog-warn-error)
2233 (verilog-warn-fatal): When non-interactive report multiple
2234 warnings before exiting. Suggested by Brad Dobbie.
2235 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2236 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2237 to report unused template errors. Reported by Brad Dobbie.
2238 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2239 nets, bug438. Reported by Vns Blore.
2240 (verilog-auto-inout-module, verilog-auto-reg)
2241 (verilog-read-decls, verilog-read-sub-decls-sig)
2242 (verilog-signals-edit-wire-reg, verilog-signals-with):
2243 Fix passing of Verilog data types in ANSI input/output ports
2244 such as "output logic" into the AUTOs. Special case "wire" and
2245 "reg" for backwards compatibility presuming Verilog 2001.
2246 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2247 (verilog-preprocess): Fix replication of preprocess output.
2248 Reported by Brad Dobbie.
2249 (verilog-auto-inst-interfaced-ports):
2250 Create verilog-auto-inst-interfaced-ports, bug429.
2251 Reported by Julian Gorfajn.
2252 (verilog-after-save-font-hook)
2253 (verilog-before-save-font-hook): New variable.
2254 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2255 (verilog-save-font-mods): Wrap disabling fontification, reported
2256 by David Rogoff.
2257 (verilog-do-indent, verilog-pretty-declarations-auto)
2258 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2259 Reported by Pierre-David Pfister.
2260 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2261 of class declarations, bug292. Reported by Kevin Heilman.
2262 (verilog-read-decls): Fix 'parameter type' not appearing in
2263 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2264 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2265 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2266 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2267 Reported by David Kravitz.
2268
22692012-05-03 Michael McNamara <mac@mail.brushroad.com>
2270
2271 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2272 assignment with tests in ifs and for loops.
2273 (verilog-extended-complete-re, verilog-complete-reg): Change so
2274 that DPI inport functions don't look like fuction declarations.
2275 (verilog-pretty-expr): Don't line up assignment
2276 operations to the test and increment in if and for loops
2277 (verilog-extended-complete-re, verilog-complete-reg): Change so
2278 that DPI inport functions don't look like fuction declarations
2279
2e51d4b5
KH
22802012-05-03 Kenichi Handa <handa@m17n.org>
2281
2282 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2283 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2284 (Bug#11282).
2285
2bd785a2
SM
22862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * emacs-lisp/bytecomp.el
2289 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2290 since cconv.el might have introduced :fun-body, internal-make-closure,
2291 and friends for bytecomp to handle (bug#11391).
2292 * custom.el (defcustom): Avoid ((λ ..) ..).
2293
99d27583
SM
22942012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2297
55a71479
JB
22982012-05-02 Juanma Barranquero <lekktu@gmail.com>
2299
2300 * notifications.el (dbus-debug):
2301 * term/linux.el (gpm-mouse-enable):
2302 * term/screen.el (xterm-register-default-colors): Declare.
2303
7b97c764
CY
23042012-05-02 Chong Yidong <cyd@gnu.org>
2305
2bc356d7
CY
2306 * cus-start.el (gc-cons-percentage, exec-suffixes)
2307 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2308 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2309 (make-cursor-line-fully-visible, void-text-area-pointer)
2310 (font-list-limit): Add customization data.
2311
7b97c764
CY
2312 * allout.el (allout-exposure-change-functions)
2313 (allout-structure-added-functions)
2314 (allout-structure-deleted-functions)
2315 (allout-structure-shifted-functions): Rename abnormal hooks from
2316 *-hook, and convert to defcustoms.
5d3385a0
JB
2317 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2318 Convert to defcustoms.
7b97c764
CY
2319 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2320
2321 * allout-widgets.el: Hook callers changed.
2322
90207a15 23232012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2324
2325 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2326 the yanked message in preference to the default value of
2327 buffer-file-coding-system.
2328
90207a15 23292012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2330
5d3385a0
JB
2331 * window.el (display-buffer--action-function-custom-type):
2332 Fix entry.
d9558cad 2333
90207a15 23342012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2335
2336 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2337
d80ac57b
GM
23382012-05-01 Glenn Morris <rgm@gnu.org>
2339
976f7668
GM
2340 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2341
beb83b5a
GM
2342 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2343
d80ac57b
GM
2344 * cus-edit.el (custom-variable-documentation): Simplify with format.
2345
b593d6a9
AH
23462012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2347 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * simple.el (suggest-key-bindings, execute-extended-command):
2350 Move from keyboard.c.
2351
782fbf2a
CY
23522012-05-01 Chong Yidong <cyd@gnu.org>
2353
2354 * follow.el: Eliminate advice.
2355 (set-process-filter, process-filter, sit-for): Advice deleted.
2356 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2357 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2358 Vars deleted.
782fbf2a
CY
2359 (follow-auto): Use a :set function.
2360 (follow-mode): Rewritten. Don't advise process filters.
2361 (follow-switch-to-current-buffer-all, follow-scroll-up)
2362 (follow-scroll-down): Assume follow-mode is bound.
2363 (follow-comint-scroll-to-bottom)
2364 (follow-align-compilation-windows): New functions.
2365 (follow--window-sorter): New function.
2366 (follow-all-followers): Use it to explicitly sort windows by their
2367 positions; don't make assumptions about next-window order.
2368 (follow-windows-start-end, follow-delete-other-windows-and-split)
2369 (follow-calc-win-start): Doc fix.
2370 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2371 vertical-motion unnecessarily.
2372 (follow-adjust-window): New function.
2373 (follow-post-command-hook): Use it.
2374 (follow-call-set-process-filter, follow-call-process-filter)
2375 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2376 (follow-stop-intercept-process-output, follow-generic-filter):
2377 Functions deleted.
2378 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2379 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2380 New functions, replacing advice on scroll-bar-* commands.
87233a14 2381 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2382
2383 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2384 (comint-postoutput-scroll-to-bottom): Use it.
2385 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2386
290af740
GM
23872012-05-01 Glenn Morris <rgm@gnu.org>
2388
2389 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2390 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2391 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2392 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2393 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2394 Remove no-byte-compile setting.
2395
6eac8dc9
SM
23962012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2399 all-completions code to not return a number in the last cdr.
2400
9cc7819c
LL
24012012-04-30 Leo Liu <sdl.web@gmail.com>
2402
2403 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2404 read-only error.
2405
c93b886f
CY
24062012-04-29 Chong Yidong <cyd@gnu.org>
2407
2408 * follow.el (follow-calc-win-end): Rewrite to handle partial
2409 screen lines correctly (Bug#8390).
2410 (follow-avoid-tail-recenter): Minor cleanup.
2411
8b6c19f4
SM
24122012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 Avoid the obsolete `assoc' package.
2415 * speedbar.el (speedbar-refresh): Avoid adelete.
2416 (speedbar-file-lists): Simplify and avoid aput.
2417 * man.el (Man--sections, Man--refpages): New vars, replacing
2418 Man-sections-alist and Man-refpages-alist.
2419 (Man-build-section-alist, Man-build-references-alist):
2420 Use them; avoid aput.
2421 (Man--last-section, Man--last-refpage): New vars.
2422 (Man-follow-manual-reference): Use them.
2423 Use the `default' arg of completing-read.
2424 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2425
c5bb7569
CY
24262012-04-27 Chong Yidong <cyd@gnu.org>
2427
d1d2e2e8
CY
2428 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2429
15cd8efd
CY
2430 * startup.el (x-apply-session-resources): New function.
2431
2432 * term/ns-win.el (ns-initialize-window-system):
2433 * term/w32-win.el (w32-initialize-window-system):
2434 * term/x-win.el (x-initialize-window-system): Use it to properly
2435 set menu-bar-mode and other vars from X resources, even if the
2436 initial frame is not a window-system frame (Bug#2299).
2437
c5bb7569
CY
2438 * subr.el (read-key): Avoid running filter function when setting
2439 up temporary tool bar entries (Bug#9922).
2440
a8e7d6d7 24412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2442
2443 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2444 (Bug#11344)
2445
a8e7d6d7 24462012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2447
2448 * select.el (xselect--encode-string): New function, split from
2449 xselect-convert-to-string.
2450 (xselect-convert-to-string): Use it.
2451 (xselect-convert-to-filename, xselect-convert-to-os)
2452 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2453 returned strings are properly encoded (Bug#11315).
2454
a8e7d6d7 24552012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2456
2457 * simple.el (delete-active-region): Move to killing custom group.
2458
a8e7d6d7 24592012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2460
2461 * progmodes/which-func.el (which-func-current): Quote %
2462 characters for mode-line processing.
2463
578c1d4b 24642012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2465
2466 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2467 reaching eob (Bug#11286).
2468
a8e7d6d7 24692012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2470
2471 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2472 (gdb): Make it buffer-local and init to zero.
2473 (gdb-control-commands-regexp): New variable.
2474 (gdb-send): Don't wrap in "-interpreter-exec console" if
2475 gdb-control-level is positive. Increment gdb-control-level
2476 whenever the command matches gdb-control-commands-regexp, and
2477 decrement it each time the command is "end". (Bug#11279)
2478
a8e7d6d7 24792012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2480
2481 * window.el (adjust-window-trailing-edge, enlarge-window)
2482 (shrink-window, window-resize):
2483 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2484 windows (Bug#11276).
2485
b3608390
CY
24862012-04-27 Chong Yidong <cyd@gnu.org>
2487
2488 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2489 fix "missing prefix" warning. All callers changed.
b3608390 2490
797e6e88
SM
24912012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/assoc.el: Move to obsolete/.
2494
e95a67dc
SM
24952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2496
657c21e4 2497 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2498
2499 * term/ns-win.el (ns-define-service):
2500 * progmodes/pascal.el (pascal-goto-defun):
2501 * progmodes/js.el (js--read-tab):
2502 * progmodes/etags.el (tags-lazy-completion-table):
2503 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2504 * emacs-lisp/ewoc.el (ewoc--wrap):
2505 * emacs-lisp/assoc.el (aput, adelete, amake):
2506 * doc-view.el (doc-view-convert-current-doc):
2507 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2508
cb3e7ae0
CY
25092012-04-26 Chong Yidong <cyd@gnu.org>
2510
dce04f7f
CY
2511 * image.el (image-type-from-buffer): Only return supported image
2512 type (Bug#9045).
2513
cb3e7ae0
CY
2514 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2515 value, for symmetry with diff-end-of-hunk.
2516 (diff-split-hunk, diff-find-source-location)
2517 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2518 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2519 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2520 compute the relevant hunk or file properly (Bug#6005).
2521 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2522
0d42eb3e
SM
25232012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * vc/vc-mtn.el:
2526 * vc/vc-hg.el:
2527 * vc/vc-git.el:
2528 * vc/vc-dir.el:
2529 * vc/vc-cvs.el:
2530 * vc/vc-bzr.el:
2531 * vc/vc-arch.el:
2532 * vc/vc.el: Replace lexical-let by lexical-binding.
2533 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2534 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2535 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2536
f08ae1c9
CY
25372012-04-26 Chong Yidong <cyd@gnu.org>
2538
8b71081d
CY
2539 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2540 (diff-mode-shared-map): Bind it to / and [remap undo].
2541
f08ae1c9
CY
2542 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2543 (ediff-window-setup-function): Use it as the default, to set up
2544 windows based on whether the current frame is graphical (Bug#2138).
2545 (ediff-choose-window-setup-function-automatically): Make obsolete.
2546
2547 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2548
ef24141c
SM
25492012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2550
cc356a5d
SM
2551 * ffap.el: Remove old code for obsolete package.
2552 (ffap-complete-as-file-p): Remove.
2553
b4ff4f1f
SM
2554 Use completion-table-with-quoting for comint and pcomplete.
2555 * comint.el (comint--unquote&requote-argument)
2556 (comint--unquote-argument, comint--requote-argument): New functions.
2557 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2558 (comint-quote-filename): Use regexp-opt-charset.
2559 (comint--common-suffix, comint--common-quoted-suffix)
2560 (comint--table-subvert): Remove.
2561 (comint-unquote-function, comint-requote-function): New vars.
2562 (comint--complete-file-name-data): Use them with
2563 completion-table-with-quoting.
2564 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2565 * pcomplete.el (pcomplete-arg-quote-list)
2566 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2567 (pcomplete-unquote-argument-function): Default to non-nil.
2568 (pcomplete-unquote-argument): Simplify.
2569 (pcomplete--common-quoted-suffix): Remove.
2570 (pcomplete-requote-argument-function): New var.
2571 (pcomplete--common-suffix): New function.
2572 (pcomplete-completions-at-point): Use completion-table-with-quoting
2573 and completion-table-subvert.
2574
79c4eeb4
SM
2575 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2576 (minibuffer--double-dollars): Preserve properties.
2577 (completion--sifn-requote): New function.
2578 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2579
ef24141c
SM
2580 * minibuffer.el: Add support for completion of quoted/escaped data.
2581 (completion-table-with-quoting, completion-table-subvert): New funs.
2582 (completion--twq-try, completion--twq-all): New functions.
2583 (completion--nth-completion): New function.
2584 (completion-try-completion, completion-all-completions): Use it.
2585
784e7d6e
LL
25862012-04-25 Leo Liu <sdl.web@gmail.com>
2587
dd2ac746
SM
2588 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2589 Use compilation-message if available to find real filename.
784e7d6e 2590
07875ee7
CY
25912012-04-25 Chong Yidong <cyd@gnu.org>
2592
2593 * vc/diff-mode.el (diff-setup-whitespace): New function.
2594 (diff-mode): Use it.
2595
2596 * vc/diff.el (diff-sentinel):
2597 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2598 Whitespace mode variables based on diff style (Bug#8612).
2599
5055880d
LL
26002012-04-25 Leo Liu <sdl.web@gmail.com>
2601
daf75653
LL
2602 * progmodes/python.el (python-send-region): Add suffix .py to the
2603 temp file.
2604
5055880d
LL
2605 * files.el (auto-mode-alist): Use javascript-mode instead.
2606
db9b177b
AH
26072012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2608
ef24141c 2609 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2610
2611 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2612 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2613 references, see Bug#9.
ef24141c 2614 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2615 when receiving a fault reply.
ef24141c 2616 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2617
2618 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2619 (soap-inspect-simple-type): New function.
db9b177b 2620
ef24141c 2621 * soap-client.el (soap-simple-type): New struct.
db9b177b 2622 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2623 (soap-decode-basic-type, soap-encode-basic-type):
2624 support unsignedInt and double basic types.
db9b177b 2625 (soap-resolve-references-for-simple-type)
ef24141c
SM
2626 (soap-parse-simple-type, soap-encode-simple-type): New function.
2627 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2628
2629 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2630 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2631 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2632 the local name of "soapenc:Array".
2633 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2634 decoding integer, byte and anyURI xsd types.
2635
1fc6097b
CY
26362012-04-25 Chong Yidong <cyd@gnu.org>
2637
2638 * cus-edit.el (custom-buffer-create-internal): Update header text.
2639
afc6df87
EZ
26402012-04-25 Eli Zaretskii <eliz@gnu.org>
2641
2642 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2643 settings on 'system-type', not on 'window-system'. On MS-Windows,
2644 set interactive-mode on in GDB.
2645
dfbd787f
SM
26462012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2649 (ruby-syntax-propertize-regexp): Remove.
2650 (ruby-syntax-propertize-function): Split regexp into chunks.
2651 Match following code directly.
2652
85222d44
DG
26532012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2654
51a8ea2a
DG
2655 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2656 (ruby-syntax-propertize-regexp): New function.
2657 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2658 by a special keyword.
2659
85222d44
DG
2660 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2661 (ruby-syntax-general-delimiters-goto-beg)
2662 (ruby-syntax-propertize-general-delimiters): New functions.
2663 (ruby-syntax-propertize-function): Use them to handle GDL.
2664 (ruby-font-lock-keywords): Move old handling of GDL...
2665 (ruby-font-lock-syntactic-keywords): .. to here.
2666 (ruby-calculate-indent): Adjust indentation for GDL.
2667
b613912b
MA
26682012-04-24 Michael Albinus <michael.albinus@gmx.de>
2669
b5380639
MA
2670 * notifications.el (top): Remove unneeded declarations.
2671 (notifications-specification-version): Change to "1.2".
e43042fe 2672 (notifications-interface, notifications-notify-method)
b613912b
MA
2673 (notifications-close-notification-method): Fix docstring.
2674 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2675 (notifications-notify): Add :action-items, :resident and
2676 :transient hints. Change "image_data" to "image-data" and
2677 "image_path" to "image-path".
b613912b
MA
2678 (notifications-get-capabilities): New defun.
2679
257440aa
LL
26802012-04-24 Leo Liu <sdl.web@gmail.com>
2681
2682 * progmodes/python.el: Move hideshow setup to the end.
2683
b1bac16e
MR
26842012-04-24 Martin Rudalics <rudalics@gmx.at>
2685
2686 * window.el (handle-select-window): Clear echo area since this is
2687 no more done by read_char (Bug#11304).
2688
d81bd059
SM
26892012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2692 and `/ M' to filter-derived-mode.
2693 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2694 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2695 (ibuffer-mark-by-mode): Use default rather than initial-input.
2696 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2697
c4cf6d91
IA
26982012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2699
2700 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2701 (ibuffer-filter-by-derived-mode): New filter.
2702 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2703
7511ded8
CY
27042012-04-23 Andreas Politz <politza@fh-trier.de>
2705
2706 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2707
775c916b
CY
27082012-04-23 Chong Yidong <cyd@gnu.org>
2709
2710 * cus-edit.el (customize-apropos, customize-apropos-options):
2711 Disable matching of non-option variables (Bug#11176).
2712 (customize-option, customize-option-other-window)
2713 (customize-changed-options): Doc fix.
2714 (customize-apropos-options, customize-apropos-faces)
2715 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2716
2717 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2718 Fix word list splitting (Bug#11132).
46c71e23
CY
2719 (apropos-symbol, apropos-keybinding, apropos-label)
2720 (apropos-property, apropos-function-button)
2721 (apropos-variable-button, apropos-misc-button): New faces.
2722 (apropos-symbol-face, apropos-keybinding-face)
2723 (apropos-label-face, apropos-property-face, apropos-match-face):
2724 Variables removed (Bug#8396).
2725 (apropos-library-button, apropos-format-plist, apropos-print)
2726 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2727
2df41f9c
MA
27282012-04-23 Michael Albinus <michael.albinus@gmx.de>
2729
2730 * net/xesam.el (xesam-mode-map): Use let-bound map in
2731 initialization. (Bug#11292)
2732
da00640a
AM
27332012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2734
2735 Preserve ispell session localwords when switching back to
2736 original buffer.
2737
2738 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2739 variable to hold buffer session localwords.
2740 (ispell-kill-ispell): add option 'clear to delete session
2741 localwords.
2742 (ispell-command-loop, ispell-change-dictionary)
2743 (ispell-buffer-local-words): Preserve session localwords when
2744 needed.
2745
2746 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2747 Preserve session localwords when needed.
2748
f621ccf5
AM
27492012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2750
2751 * ispell.el (ispell-insert-word) Remove unneeded function using
2752 obsolete `translation-table-for-input'.
ef24141c
SM
2753 (ispell-word, ispell-process-line, ispell-complete-word):
2754 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2755
c2d1019e
CY
27562012-04-22 Chong Yidong <cyd@gnu.org>
2757
2758 * cus-edit.el (custom-variable-menu)
2759 (custom-variable-reset-saved, custom-face-menu)
2760 (custom-face-reset-saved): If there is no saved value, make the
2761 "reset-saved" operation bring back the default (Bug#9509).
2762 (custom-face-state): Properly detect themed faces.
2763
eeddc531
CY
2764 * faces.el (face-spec-set): Stop supporting deprecated form of
2765 third arg.
2766
dcbf5805
MA
27672012-04-22 Michael Albinus <michael.albinus@gmx.de>
2768
2769 Move functions from C to Lisp. Make non-blocking method calls
2770 the default. Implement further D-Bus standard interfaces.
2771
ef24141c
SM
2772 * net/dbus.el (dbus-message-internal): Declare function.
2773 Remove unneeded function declarations.
dcbf5805
MA
2774 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2775 (dbus-message-type-method-return, dbus-message-type-error)
2776 (dbus-message-type-signal): Declare variables. Remove local
2777 definitions.
2778 (dbus-interface-dbus, dbus-interface-peer)
2779 (dbus-interface-introspectable, dbus-interface-properties)
2780 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2781 Adapt docstring.
2782 (dbus-interface-objectmanager): New defconst.
2783 (dbus-call-method, dbus-call-method-asynchronously)
2784 (dbus-send-signal, dbus-method-return-internal)
2785 (dbus-method-error-internal, dbus-register-service)
2786 (dbus-register-signal, dbus-register-method): New defuns, moved
2787 from dbusbind.c
2788 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2789 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2790 New defuns.
dcbf5805
MA
2791 (dbus-call-method-non-blocking): Make it an obsolete function.
2792 (dbus-unregister-object, dbus-unregister-service)
2793 (dbus-handle-event, dbus-register-property)
2794 (dbus-property-handler): Obey the new structure of
2795 `bus-registered-objects'.
2796 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2797 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2798 Use `dbus-call-method'.
2799
cf20dee0
CY
28002012-04-22 Chong Yidong <cyd@gnu.org>
2801
2802 * cus-edit.el (custom-commands, custom-reset-menu)
2803 (Custom-reset-standard): Tweak labels.
2804 (custom-reset-button-menu): Change default to t.
2805 (custom-buffer-create-internal): For the custom-reset-button-menu
2806 case, put the revert button first.
2807 (custom-group-subtitle): New face.
2808 (custom-group-value-create): Align docstring to a specific column.
2809
2810 * wid-edit.el (widget-documentation-link-add): Don't handle
2811 indentation in this function.
2812 (widget-documentation-string-indent-to): New function.
2813 (widget-documentation-string-value-create): Use it.
2814
2815 * autorevert.el (auto-revert):
2816 * epg-config.el (epg):
2817 * ibuffer.el (ibuffer):
2818 * mpc.el (mpc):
2819 * ses.el (ses):
2820 * eshell/eshell.el (eshell):
2821 * net/ange-ftp.el (ange-ftp):
2822 * progmodes/ebnf2ps.el (postscript):
2823 * progmodes/flymake.el (flymake):
2824 * progmodes/prolog.el (prolog):
2825 * progmodes/verilog-mode.el (verilog-mode):
2826 * progmodes/which-func.el (which-func):
2827 * term/xterm.el (xterm):
2828 * textmodes/picture.el (picture):
2829 * textmodes/tildify.el (tildify):
2830 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2831 customization buffers.
2832
583e23bd
AM
28332012-04-22 Alan Mackenzie <acm@muc.de>
2834
2835 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2836 Adding a ) can hide the resulting (..) from searches. Fix it.
2837 Bound the backward search to the position of the existing (.
2838
7dd51bf1
JB
28392012-04-21 Juanma Barranquero <lekktu@gmail.com>
2840
2841 * progmodes/verilog-mode.el (verilog-mode): Check whether
2842 which-func-modes is t before adding verilog-mode.
2843 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2844
d64a438f
LL
28452012-04-21 Leo Liu <sdl.web@gmail.com>
2846
7dd51bf1 2847 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2848
081e8d65
MV
28492012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2850
2851 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2852 filling of the last column of a table (Bug#5635).
2853 (woman-find-next-control-line): New arg, specifying an additional
2854 regexp component for the control line.
2855 (woman2-roff-buffer): Use it.
2856 (woman-break-table): New function.
2857 (woman2-TS): Use it.
2858
28592012-04-21 Chong Yidong <cyd@gnu.org>
2860
2861 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2862 (woman-horizontal-escapes, woman-negative-vertical-space)
2863 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2864 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2865
ed571ccb
SM
28662012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * minibuffer.el (completion-file-name-table): Complete user names.
2869
39773899
LL
28702012-04-20 Leo Liu <sdl.web@gmail.com>
2871
2872 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2873 and pcase-let*.
2874
de6ff46d
CY
28752012-04-20 Chong Yidong <cyd@gnu.org>
2876
2877 * server.el (server-execute): Respect initial-buffer-choice if it
2878 is a string and there are no files to open (Bug#2825).
2879 (server-create-window-system-frame, server-create-tty-frame):
2880 Don't switch buffers here.
2d0e8e61
CY
2881 (server-process-filter): Only try to open a window system frame if
2882 compiled with graphical support (Bug#8314).
de6ff46d 2883
54071013
DN
28842012-04-20 Dan Nicolaescu <dann@gnu.org>
2885
2886 * battery.el (battery-echo-area-format): Display remaining time
2887 for sysfs backend too (Bug#11269).
2888 (battery-linux-sysfs): Fix conditional for the charge.
2889
f30d612a
CY
28902012-04-20 Chong Yidong <cyd@gnu.org>
2891
c07a4c0b 2892 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2893 (gdb-inferior-io--init-proc): New function.
2894 (gdb-init-1): Use it.
2895 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2896 responsible for allocating a new pty and hooking it to gdb when
2897 the old pty gets an EIO due to process exit.
2898 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2899 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2900 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2901
2116e93c
EZ
29022012-04-20 Eli Zaretskii <eliz@gnu.org>
2903
2904 * window.el (window-min-size, window-sizable, window-min-delta)
2905 (window-max-delta, window--resizable, window-resizable)
2906 (window-total-size, window-full-height-p, window-full-width-p)
2907 (window-in-direction, window--resize-mini-window, window-resize)
2908 (window--resize-child-windows-normal)
2909 (window--resize-child-windows, window--resize-siblings)
2910 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2911 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2912
c07a4c0b 29132012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2914
ef24141c
SM
2915 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2916 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2917 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2918 pty process (Bug#11273).
2919 (gdb-update): New arg to suppress talking to the gdb process.
2920 (gdb-done-or-error): Use it.
2921 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2922 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2923 sentinel not being called.
2924
2925 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2926
d02766ab
CY
2927 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2928
c07a4c0b 29292012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2930
2931 * net/network-stream.el (open-network-stream): Doc fix.
2932
c07a4c0b 29332012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2934
2935 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2936
c07a4c0b 29372012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2938
2939 Ensure searching for keywords is case sensitive.
2940
2941 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2942 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2943 (c-defun-name, c-mark-function, c-cpp-define-name)
2944 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2945 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2946
ef24141c
SM
2947 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2948 Bind case-fold-search to nil.
f0f6bc35 2949
c07a4c0b 29502012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2951
2952 * mail/sendmail.el (mail-bury): Call return action with the right
2953 Rmail buffer (Bug#11242).
2954
9a864fa2
CY
2955 * server.el (server-process-filter): Handle corner case where both
2956 tty and nowait options are present (Bug#11102).
2957
539aa513
EZ
29582012-04-20 Eli Zaretskii <eliz@gnu.org>
2959
2960 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2961 (top level): Put into the executable the ident-style '$Id:' tag on
2962 windows-nt as well.
539aa513 2963
cfc7d5da
SM
29642012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * electric.el (electric-indent-post-self-insert-function): Check that
2967 electric-indent-mode is enabled in current buffer.
2968
5b01685c
JB
29692012-04-19 Juanma Barranquero <lekktu@gmail.com>
2970
2971 * imenu.el (imenu-progress-message): Restore; it is "used" in
2972 erc/erc-imenu.el and net/snmp-mode.el.
2973
4d6769e1
JB
29742012-04-19 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2977 (mouse-avoidance-nudge-mouse): Remove unused binding.
2978
2979 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2980
2981 * descr-text.el (describe-char):
2982 * progmodes/python.el (python-describe-symbol):
2983 Don't call `toggle-read-only', set `buffer-read-only'.
2984
2985 * imenu.el (imenu-default-goto-function): Mark unused args.
2986 (imenu-progress-message): Remove obsolete macro; all callers changed.
2987
2988 * subr.el (keymap-canonicalize): Remove unused binding.
2989 (read-passwd): Mark unused arg.
2990
2991 * tutorial.el (tutorial--display-changes): Remove unused binding.
2992 (tutorial--save-tutorial-to): Remove unused variable.
2993
2994 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2995 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2996 (package-generate-autoloads, package-menu--generate)
2997 (package-menu--find-upgrades): Remove unused bindings.
2998
2999 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3000 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3001 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3002 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3003 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3004 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3005 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3006 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3007 (cua-delete-char-rectangle): Mark unused args.
3008 (cua-align-rectangle): Remove unused binding.
3009
3010 * mail/rmail.el (compilation--message->loc)
3011 (epa--find-coding-system-for-mime-charset): Declare.
3012
3013 * net/dbus.el (dbus-register-service): Declare.
3014 (dbus-name-owner-changed-handler): Remove unused binding.
3015
3016 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3017 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3018 (nxml-scan-backward-within): Mark unused arg.
3019 (nxml-dynamic-markup-word): Remove unused binding.
3020
3021 * mouse.el (mouse-menu-major-mode-map):
3022 * emacs-lisp/authors.el (authors-scan-change-log)
3023 (authors-add-to-author-list):
3024 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3025 * emacs-lisp/smie.el (smie-auto-fill):
3026 * mail/sendmail.el (mail-bury):
3027 * mail/unrmail.el (unrmail):
3028 * net/tls.el (open-tls-stream):
3029 * textmodes/picture.el (picture-mouse-set-point):
3030 Remove unused bindings.
3031
8c8fc5df
MA
30322012-04-19 Michael Albinus <michael.albinus@gmx.de>
3033
3034 * net/tramp.el (tramp-action-password): Let-bind
3035 `enable-recursive-minibuffers' to t.
3036
a77b0ac9
SS
30372012-04-18 Sam Steingold <sds@gnu.org>
3038
3039 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3040 instead of 'string to accommodate values like [f11].
3041 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3042 * progmodes/gdb-mi.el: Likewise.
3043
12a106a9
LL
30442012-04-18 Leo Liu <sdl.web@gmail.com>
3045
3046 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3047 current buffer.
3048 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3049 LOCAL is nil.
3050
bc6494ef
CY
30512012-04-18 Chong Yidong <cyd@gnu.org>
3052
3053 * simple.el (line-move): Use forward-line if in batch mode
3054 (Bug#11053).
3055
c09c46b2
CS
30562012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3057
3058 * files.el (after-find-file): Do not try to add a final newline if
3059 the buffer is read-only (Bug#11156).
3060
5f6530ea
RS
30612012-04-17 Richard Stallman <rms@gnu.org>
3062
3063 * mail/rmail.el (rmail-start-mail):
3064 Pass (rmail-mail-return...) for the return-action.
3065 Pass (rmail-yank-current-message...) for the yank-action.
3066 (rmail-yank-current-message): New function.
3067 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3068 (rmail-reply): Likewise.
3069 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3070
3071 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3072 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3073 buffer, not newbuf.
3074
197b6f3c
JB
30752012-04-17 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * server.el (server-ensure-safe-dir): Simplify.
3078
2311d8e5 30792012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3080
2311d8e5
GM
3081 * emacs-lisp/smie.el: Provide smarter auto-filling.
3082 (smie-auto-fill): New function.
3083 (smie-setup): Use it.
98fb480e 3084
2311d8e5
GM
3085 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3086
30872012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3088
3089 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3090 (comment-indent): Use it.
3091
2311d8e5 30922012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3093
3094 * ses.el: The overall change is to add cell renaming, that is
3095 setting fancy names for cell symbols other than name matching
3096 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3097 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3098 (ses-create-cell-variable): New defun.
2311d8e5 3099 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3100 (ses-relocate-formula): Relocate formulas only for cells the
3101 symbols of which are not renamed, i.e. symbols whose names do not
3102 match regexp "\\`[A-Z]+[0-9]+\\'".
3103 (ses-relocate-all): Relocate values only for cells the symbols of
3104 which are not renamed.
3105 (ses-load): Create cells variables as the (ses-cell ...) are read,
3106 in order to check row col consistency with cell symbol name only
3107 for cells that are not renamed.
3108 (ses-replace-name-in-formula): New defun.
3109 (ses-rename-cell): New defun.
4bdf2ad2 3110
fc72b15c
PO
31112012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3112
3113 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3114 New option (bug#11118).
3115 (perl-calculate-indent): Respect it.
3116
12e10e61
GM
31172012-04-17 Glenn Morris <rgm@gnu.org>
3118
3119 * dired-aux.el (dired-mark-read-string): Doc fix.
3120
30009afd
DA
31212012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3122
3123 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3124 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3125
41f03f4d
GM
31262012-04-17 Glenn Morris <rgm@gnu.org>
3127
3128 * mouse.el (mouse-drag-track):
3129 * speedbar.el (speedbar-frame-mode):
3130 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3131
f45f90f3
LL
31322012-04-16 Leo Liu <sdl.web@gmail.com>
3133
3134 * progmodes/python.el: Trivial cleanup.
3135
94ee8db5
GM
31362012-04-16 Glenn Morris <rgm@gnu.org>
3137
121b8917
GM
3138 * vc/vc.el (vc-string-prefix-p):
3139 * vc/pcvs-util.el (cvs-string-prefix-p):
3140 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3141 * mpc.el (mpc-string-prefix-p):
3142 Make all of these into obsolete aliases for string-prefix-p.
3143 Update callers.
3144 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3145
1197ecfa
GM
3146 * textmodes/two-column.el: Move custom options to the start.
3147 (frame-width): Remove compat definition.
3148 (2C-associate-buffer, 2C-dissociate):
3149 Use with-current-buffer rather than save-excursion.
3150 (2C-dissociate): Force a mode-line update.
3151 (2C-autoscroll): Use ignore-errors.
3152
099e7202
GM
3153 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3154 Autoload trivia.
3155
bf350d6a
GM
3156 * emacs-lisp/cl-extra.el (*random-state*):
3157 Remove unnecessary declaration.
3158
0e829eab
GM
3159 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3160
e3ad7552
GM
3161 * play/cookie1.el (cookie-snarf):
3162 Give an explicit error if input file cannot be read.
3163
68892d27
GM
3164 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3165
20f0c46d
GM
3166 * progmodes/perl-mode.el (c-macro-expand):
3167 Remove unnecessary autoload (it is in loaddefs.el).
3168
5a0978ce
GM
3169 * textmodes/picture.el (picture-desired-column)
3170 (picture-update-desired-column): Convert comments to doc-strings.
3171 (picture-substitute): Remove function.
3172 (picture-mode-map): Initialize in the defvar.
3173
6b955486
GM
3174 * woman.el: Remove eval-after-load for tar-mode.
3175 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3176 (woman-tar-extract-file): Autoload it.
3177
94ee8db5
GM
3178 * frame.el (automatic-hscrolling): Make this alias obsolete.
3179
177eca34
AM
31802012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3181
3182 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3183 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3184 (ispell-dictionary-base-alist): Revert to original XEmacs
3185 friendly version for default. [:alpha:] will be added in
3186 `ispell-set-spellchecker-params' if needed
177eca34 3187
c505aaeb
CY
31882012-04-16 Chong Yidong <cyd@gnu.org>
3189
3190 * image.el (imagemagick--extension-regexp): New variable.
3191 (imagemagick-register-types): Use it.
3192 (imagemagick-types-inhibit): Add :set function. Allow new value
3193 of t to inhibit all types.
3194
3195 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3196 so we can preload it.
3197
3198 * loadup.el (fboundp): Preload regexp-opt, needed by
3199 imagemagick-register-types.
3200
60efac0f
CY
32012012-04-15 Chong Yidong <cyd@gnu.org>
3202
3203 * frame.el (scrolling): Remove nearly unused customization group.
3204
3205 * scroll-all.el (scroll-all-mode): Move to windows group.
3206
5dd1713e
CY
32072012-04-15 Chong Yidong <cyd@gnu.org>
3208
3209 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3210
e6fd457e
CY
32112012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3214 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3215
e153c136
GM
32162012-04-15 Glenn Morris <rgm@gnu.org>
3217
3218 * simple.el (process-file-side-effects): Doc fix.
3219
e6fd457e 32202012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3221
3222 * international/mule-cmds.el (set-language-environment): Doc fix.
3223
3603c3b1
JB
32242012-04-14 Juanma Barranquero <lekktu@gmail.com>
3225
3226 * server.el (server-auth-key, server-generate-key): Doc fixes.
3227 (server-get-auth-key): Doc fix. Use `string-match-p'.
3228 (server-start): Reflow docstring.
3229
e6de100c
LI
32302012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3231
3232 * server.el (server-generate-key): `called-interactively-p'
3233 requires a parameter.
3234
29734c21
MN
32352012-04-14 Michal Nazarewicz <mina86@mina86.com>
3236
3237 * server.el (server-auth-key): New variable.
75f1671a 3238 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3239 (server-start): Use the new variable and functions to allow
3240 setting a permanent server key (bug#9423).
3241
d65c9521
LL
32422012-04-14 Leo Liu <sdl.web@gmail.com>
3243
3244 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3245
5ae255c7
PE
32462012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3247
3248 Spelling fixes.
3249 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3250 Emacs uses American spelling.
3251
d5e6342e
JB
32522012-04-14 Juanma Barranquero <lekktu@gmail.com>
3253
3254 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3255 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3256 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3257 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3258
ab036cd7
SM
32592012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * progmodes/which-func.el (which-func-modes): Change default.
3262
35dc09a1 32632012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3264
3265 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3266 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3267
35dc09a1 32682012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3269
3270 * custom.el (custom-theme-set-variables): Doc fix.
3271
35dc09a1 32722012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3273
3274 * international/mule.el (set-auto-coding-for-load): Doc fix.
3275
35dc09a1 32762012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3277
35dc09a1
GM
3278 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3279 imenu work again for Objective C Mode. Correct the *-index values,
3280 these having been disturbed by a previous change in 2011-08.
57f845ee 3281
0de3da9f
AM
3282 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3283 Correct two search limits.
3284
35dc09a1 32852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3286
3287 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3288
35dc09a1 32892012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3290
3291 * international/characters.el: Fix sorting.
3292
35dc09a1 32932012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3294
3295 * international/characters.el: Add more missing Latin case pairs.
3296
35dc09a1 32972012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3298
3299 * files.el (dir-locals-set-class-variables): Doc fix.
3300
35dc09a1 33012012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3302
3f1b5bf8
EZ
3303 * international/characters.el: Add set-case-syntax-pair call for
3304 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3305 counterpart. (Bug#11209)
3306
9f847f41
EZ
3307 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3308
35dc09a1 33092012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3310
3311 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3312
35dc09a1 33132012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3314
35dc09a1
GM
3315 * textmodes/ispell.el (ispell-dictionary-base-alist):
3316 Add data for Hebrew.
e2627d21 3317
35dc09a1 33182012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3319
35dc09a1
GM
3320 * net/rcirc.el (rcirc-cmd-quit):
3321 Revert 2012-03-18 change (Bug#11192).
5c14e333 3322
35dc09a1 33232012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3324
3325 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3326
35dc09a1 33272012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3328
4517fe3a
SM
3329 * minibuffer.el (completion-in-region-mode-map):
3330 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3331
b472a594
VD
33322012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3333
3334 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3335
09b95ce3
MY
33362012-04-13 Masatake YAMATO <yamato@redhat.com>
3337
3338 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3339 to allow `C-M-f' and `C-M-b' to move to the nearest path
3340 separator (bug#9511).
3341
4b63a9ca
LI
33422012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3343
3344 * avoid.el: Require cl when compiling. And also move the
3345 `provide' to the end.
3346
7b55b8bf
TV
33472012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3348
3349 * avoid.el (mouse-avoidance-banish-position): New variable.
3350 (mouse-avoidance-banish-destination): Use it (bug#10165).
3351
adedaa1f
LL
33522012-04-13 Leo Liu <sdl.web@gmail.com>
3353
3354 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3355
70e74021
KB
33562012-04-13 Ken Brown <kbrown@cornell.edu>
3357
3358 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3359 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3360 (browse-url-filename-alist): For the same reason, don't modify
3361 file:// URLs on Cygwin.
3362
e75e89ba
SM
33632012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3366 the region on shift if the binding is already shifted (bug#11221).
3367
82f289a4
GM
33682012-04-12 Glenn Morris <rgm@gnu.org>
3369
3370 * mail/mailpost.el: Move to obsolete/.
3371
d333dc4c
DA
33722012-04-12 Drew Adams <drew.adams@oracle.com>
3373
3374 * imenu.el (imenu--generic-function): Ignore invisible definitions
3375 (bug#10123).
3376
0d15b5ba
VD
33772012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3378
3379 * hexl.el (hexl-bits): New variable.
3380 (hexl-options): Mention the variable in the doc string.
75f1671a 3381 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3382 (hexl-mode): Mention the new variable.
75f1671a
JB
3383 (hexl-mode, hexl-current-address, hexl-current-address):
3384 Use the displen.
0d15b5ba
VD
3385 (hexl-ascii-start-column): New function.
3386 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3387 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3388
64a440db
AM
33892012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3390
3391 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3392 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3393 the encoding, as expected by hunspell.
3394
6decb6c2
SM
33952012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * battery.el (battery--linux-sysfs-regexp): New const.
3398 (battery-status-function): Use it. Remove yeeloong special case.
3399 (battery-yeeloong-sysfs): Remove.
3400 (battery-echo-area-format): Remove yeeloong special case.
3401
088be6fb
SM
34022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3403
6622e416
SM
3404 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3405 Reported by Noah Friedman.
3406
088be6fb
SM
3407 * subr.el (read-passwd): Use read-string.
3408
b49f886e
LMI
34092012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3410
3411 * vcursor.el (vcursor-move): Increase the priority of the overlay
3412 (bug#9663).
3413
a63067fc
DD
34142012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3415
3416 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3417 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3418
ac3cf14a
WS
34192012-04-11 William Stevenson <yhvh2000@gmail.com>
3420
3421 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3422 define-minor-mode (bug#10760).
3423
c4fc691b 34242012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3425
4d6769e1 3426 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3427 that directories matching `grep-find-ignored-files' won't be
3428 pruned (bug#10351).
3429
af23e2e5
CY
34302012-04-11 Chong Yidong <cyd@gnu.org>
3431
3432 * startup.el (command-line): Remove support for long-obsolete
3433 variable font-lock-face-attributes.
3434
ab7ce8c1
GM
34352012-04-11 Glenn Morris <rgm@gnu.org>
3436
3437 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3438
de8c03dc
SM
34392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * window.el (window--state-get-1): Obey window-point-insertion-type.
3442
050cc68b
LB
34432012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3444
3445 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3446 to previous function when point is on the first character of a
75f1671a 3447 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3448
a38c310c
GM
34492012-04-11 Glenn Morris <rgm@gnu.org>
3450
effed0c2
GM
3451 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3452 not just file-errors.
3453
a38c310c
GM
3454 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3455 (vc-bzr-sha1): Use internal sha1.
3456
0221e323
SM
34572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3458
3459 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3460
43956923
SG
34612012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3462
3463 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3464 that start in the middle of the line (bug#10496).
3465
6a8c9eaf
DN
34662012-04-10 Dan Nicolaescu <dann@gnu.org>
3467
3468 * battery.el (battery-linux-proc-acpi): Only one battery is
3469 discharged at a time, but that seems to confuse battery.el when
3470 computing `rate-type' for the battery not being discharged
3471 (bug#10332).
3472
1930bf5d
SM
34732012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3474
2a718f6f
SM
3475 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3476
599430d0
SM
3477 * international/quail.el: Use dolist and simplify.
3478 (quail-define-package, quail-update-keyboard-layout)
3479 (quail-define-rules): Use dolist.
3480 (quail-insert-kbd-layout, quail-get-translation): CSE.
3481
a2754b6c
SM
3482 * tmm.el: Use dolist, remove left over hook.
3483 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3484 Use dolist.
3485 (calendar-load-hook): Don't mess with it.
3486
1930bf5d
SM
3487 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3488 Use derived-mode-p. Run the diff asynchronously.
3489
9f67961c
LMI
34902012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3491
3492 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3493
2a8ce227
JB
34942012-04-10 Juanma Barranquero <lekktu@gmail.com>
3495
3496 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3497 (list-dynamic-libraries--loaded): New function.
3498 (list-dynamic-libraries--refresh): Use it.
3499
8f33b5f8
NW
35002012-04-10 Nathan Weizenbaum <nweiz@google.com>
3501
1930bf5d
SM
3502 * progmodes/python.el (python-fill-paragraph):
3503 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3504 disabled (bug#7018).
3505
b12f0439
L
35062012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3507
1930bf5d 3508 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3509 DOS/MS Windows for the Baltic languages. There are still plenty
3510 of texts written in this encoding/codepage (bug#6519).
b12f0439 3511
57c3bd01
GM
35122012-04-10 Glenn Morris <rgm@gnu.org>
3513
3514 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3515 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3516
6c3eab30
FA
35172012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3518
1930bf5d 3519 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3520 next-line "n" and previous-line "p" in order to make recentf more
3521 consistent with ibuffer, dired or org-mode (bug#9387).
3522
24d78a88
LMI
35232012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3524
bc72b5d9
LMI
3525 * image.el (put-image): Return the overlay created instead of the
3526 optional input string (bug#7834). Note that this may break code
3527 that is (for some reason or other) depending on `put-image'
3528 returning the string.
3529
bd2dba5a
LMI
3530 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3531
74beb59f
LMI
3532 * simple.el (zap-to-char): Allow zapping using input methods
3533 (bug#1580).
3534
24d78a88
LMI
3535 * textmodes/fill.el (fill-region): Leave point and mark where they
3536 were before filling (bug#5399).
3537
263f20cd
GM
35382012-04-09 Glenn Morris <rgm@gnu.org>
3539
3540 * version.el (emacs-bzr-get-version):
3541 Handle lightweight checkouts of local branches.
3542
58d1f797
AS
35432012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3544
263f20cd 3545 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3546
b4d3bc10
CY
35472012-04-09 Chong Yidong <cyd@gnu.org>
3548
3549 * custom.el (custom-variable-p): Return nil for non-symbol
3550 arguments instead of signaling an error.
3551 (user-variable-p): Obsolete alias for custom-variable-p.
3552
3553 * apropos.el (apropos-variable):
3554 * files-x.el (read-file-local-variable):
3555 * simple.el (set-variable):
3556 * woman.el (woman-mini-help):
3557 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3558
fd06db5d
GM
35592012-04-09 Glenn Morris <rgm@gnu.org>
3560
e5fcdb5e
GM
3561 * startup.el (normal-top-level): Don't look for leim-list.el
3562 in places where it will not be found. (Bug#910)
3563
fd06db5d
GM
3564 * international/mule-cmds.el (set-default-coding-systems):
3565 * files.el (normal-mode):
3566 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3567 This function was removed with ucs-tables.el in 2008.
3568
b39bb7e1
EZ
35692012-04-08 Eli Zaretskii <eliz@gnu.org>
3570
3571 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3572 ispell-encoding8-command to "-i", without a trailing space.
3573 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3574 separate command-line arguments, to specify the encoding, since
3575 that's how hunspell expects it.
3576
5c5b8e23
GM
35772012-04-08 Glenn Morris <rgm@gnu.org>
3578
3579 * loadup.el: Load bindings before cus-start.
3580 This reduces somewhat the number of "rogue" settings in emacs -Q.
3581
a1ed8b05
GM
35822012-04-07 Glenn Morris <rgm@gnu.org>
3583
3584 * version.el (emacs-bzr-get-version): New function.
dfae128a 3585 (emacs-bzr-version): New variable.
a1ed8b05
GM
3586 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3587 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3588
b142f158
EZ
35892012-04-07 Eli Zaretskii <eliz@gnu.org>
3590
dfae128a
GM
3591 * international/uni-bidi.el, international/uni-category.el:
3592 * international/uni-combining.el, international/uni-decimal.el:
3593 * international/uni-decomposition.el, international/uni-digit.el:
3594 * international/uni-lowercase.el, international/uni-mirrored.el:
3595 * international/uni-name.el, international/uni-numeric.el:
3596 * international/uni-titlecase.el, international/uni-uppercase.el:
3597 Update for Unicode 6.1.
b142f158 3598
9078ead6
EZ
35992012-04-07 Eli Zaretskii <eliz@gnu.org>
3600
3601 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3602
f23d2c7d
LMI
36032012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3604
3605 * window.el (shrink-window): Mention the `window-min-height'
3606 variable in the doc string.
3607
0a0a3573
BG
36082012-04-05 Bastien Guerry <bzg@altern.org>
3609
3610 * color.el (color-lighten-name): Fix typo.
3611
e5248ac9
SM
36122012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * server.el (server--on-display-p): New function.
3615 (server--on-display-p): Use it.
3616
b4243e22
GV
36172012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3618
3619 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3620 (bug#11145).
3621
305d9f44
SM
36222012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * comint.el (comint--common-quoted-suffix): Check string boundary
3625 before comparing (bug#11158).
3626 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3627
3d439cd1
CY
36282012-04-04 Chong Yidong <cyd@gnu.org>
3629
321cc491
CY
3630 * minibuffer.el (completion-extra-properties): Doc fix.
3631
3d439cd1
CY
3632 * subr.el (delayed-warnings-hook): Doc fix.
3633
2d562c0f
DU
36342012-04-04 Daiki Ueno <ueno@unixuser.org>
3635
3636 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3637 selection (Bug#11159).
3638 (epa-insert-keys): Inform that the default public key will be
3639 exported if no key is selected.
3640
4443f204
RS
36412012-04-04 Richard Stallman <rms@gnu.org>
3642
3643 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3644
529c06b6
CY
36452012-04-03 Chong Yidong <cyd@gnu.org>
3646
3647 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3648 mail-insert-file, not its obsolete alias mail-attach-file.
3649
66b907dc
MA
36502012-04-03 Michael Albinus <michael.albinus@gmx.de>
3651
3652 * notifications.el (notifications-notify): Fix docstring.
3653
c0ea195d
GM
36542012-04-02 Glenn Morris <rgm@gnu.org>
3655
3656 * emacs-lisp/authors.el (authors-aliases): Another addition.
3657
5ca64e00
MA
36582012-04-02 Michael Albinus <michael.albinus@gmx.de>
3659
3660 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3661 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3662 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3663
42ee526b
CY
36642012-04-01 Chong Yidong <cyd@gnu.org>
3665
3666 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3667 Handle root directory properly.
3668 (copy-directory): Caller changed.
3669
3670 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3671 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3672
0b021094
GM
36732012-03-31 Glenn Morris <rgm@gnu.org>
3674
40f86458
GM
3675 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3676
7019c177
GM
3677 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3678
a1daddd6
GM
3679 * calendar/calendar.el (calendar-window-list)
3680 (calendar-hide-window): Restore. (Bug#11140)
3681 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3682
0b021094
GM
3683 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3684
40311efc
TV
36852012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3686
3687 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3688 Check if file is a symlink (Bug#10489).
3689
3690 * files.el (copy-directory): Likewise.
3691
5319014e
CY
36922012-03-30 Chong Yidong <cyd@gnu.org>
3693
3694 * image.el (imagemagick-types-inhibit)
3695 (imagemagick-register-types): Doc fix.
3696
935d1290
AM
36972012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3698
ef24141c
SM
3699 * ispell.el (ispell-get-extended-character-mode):
3700 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3701 and treats ~word as ordinary words in pipe mode.
935d1290 3702
61c6e8fd
GM
37032012-03-30 Glenn Morris <rgm@gnu.org>
3704
3705 * tutorial.el (help-with-tutorial): Ensure local variables don't
3706 happen to make the buffer read-only. (Bug#11127)
3707
81fdff00
SM
37082012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3711 (perl-calculate-indent): Return `noindent' in strings.
3712
6e7a6ec0
SS
37132012-03-28 Sam Steingold <sds@gnu.org>
3714
3715 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3716 instead of the broken adhockery which does not prevent calendar
3717 buffers from being displayed at random after exit.
3718 (calendar-window-list, calendar-hide-window): Remove the broken
3719 adhockery.
3720
fee88ca0
GM
37212012-03-28 Glenn Morris <rgm@gnu.org>
3722
3723 * replace.el (query-replace-map): Doc fix.
3724
38de3354
AS
37252012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3726
3727 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3728 contents. (Bug#11109)
3729
b973155e
SM
37302012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3733 (bug#11077).
3734 (avl-tree--check, avl-tree--check-node): New funs.
3735
dcb6e7b3
MR
37362012-03-27 Martin Rudalics <rudalics@gmx.at>
3737
3738 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3739 (switch-to-prev-buffer, switch-to-next-buffer):
3740 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3741 showing a buffer already is done on the same frame.
3742
b4fa35fa
GM
37432012-03-27 Glenn Morris <rgm@gnu.org>
3744
3745 * startup.el (mail-host-address): Doc fix.
3746
f9210e18
SM
37472012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3750 than 197 variables.
3751
c0bf7753
AF
37522012-03-26 Ami Fischman <ami@fischman.org>
3753
3754 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3755
33da7b16
GM
37562012-03-26 Glenn Morris <rgm@gnu.org>
3757
02243d9d
GM
3758 * files.el (save-buffers-kill-emacs): Doc fix.
3759
33da7b16
GM
3760 * startup.el (normal-top-level, command-line, command-line-1):
3761 Give them doc strings.
3762
e5a69fd0
EZ
37632012-03-25 Eli Zaretskii <eliz@gnu.org>
3764
3765 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3766 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3767
9a69676a
CY
37682012-03-25 Chong Yidong <cyd@gnu.org>
3769
4125cb8b
CY
3770 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3771 theme if it was previously enabled before (Bug#11031).
3772
dd470960
CY
3773 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3774 spec with custom-face-get-current-spec if its :shown-value is not
3775 determined yet (Bug#9337).
4125cb8b 3776 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3777
9a69676a
CY
3778 * button.el (button-at): Minor addition to docstring.
3779
6e7e90fa
SL
37802012-03-24 Simon Leinen <simon.leinen@gmail.com>
3781
3782 * vc/vc.el (vc-merge): Fix a prompt.
3783
f06e2758
CY
37842012-03-24 Chong Yidong <cyd@gnu.org>
3785
3786 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3787 point (Bug#9623).
3788
6e7e90fa
SL
3789 * button.el (button-at): Minor addition to docstring.
3790
b9d0879b
SM
37912012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * newcomment.el (comment-choose-indent): No space after BOL.
3794
e71cebb3
SS
37952012-03-22 Sam Steingold <sds@gnu.org>
3796
3797 * window.el (switch-to-prev-buffer): Revert last patch because the
3798 bug turned out to be an advertised feature (Elisp manual 28.14).
3799
335aff35
GM
38002012-03-22 Glenn Morris <rgm@gnu.org>
3801
3802 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3803 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3804
c676576a
LMI
38052012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3806
3807 * net/network-stream.el (network-stream-open-starttls): Make error
3808 message under Windows be less misleading.
3809
126f3d39
LW
38102012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3811
3812 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3813 understands (bug#9942).
3814
64fee311
CY
38152012-03-22 Chong Yidong <cyd@gnu.org>
3816
3817 * simple.el (end-of-visible-line): Handle return value of
3818 next-single-property-change properly (Bug#9371).
3819
a640d29a
KH
38202012-03-22 Kenichi Handa <handa@m17n.org>
3821
3822 * international/quail.el (quail-insert-kbd-layout): Fix previous
3823 change. To avoid unwanted bidi reordering, use
3824 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3825
39675016
DG
38262012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3827
3828 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3829 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3830 (ruby-beginning-of-indent): Be more careful with the difference
3831 between word-boundary and symbol boundary.
3832 (ruby-mode-syntax-table): Make : a symbol constituent.
3833
0a6934fc 38342012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3835
3d008e4f
SM
3836 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3837
0a6934fc
SM
38382012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3839
af67c9d7
SM
3840 * progmodes/etags.el (tags-completion-at-point-function):
3841 Improve last fix.
3842
1acad97c
SM
3843 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3844
e298b5da
SS
38452012-03-21 Sam Steingold <sds@gnu.org>
3846
3847 * progmodes/etags.el (tags-completion-at-point-function):
3848 Avoid the error when point is inside the pattern.
3849
91d82a70
JY
38502012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3851
3852 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3853 line (Bug#10855).
3854
69188b79
CY
38552012-03-21 Drew Adams <drew.adams@oracle.com>
3856
3857 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3858
99fc91fe
AK
38592012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3860
3861 * ido.el (ido-set-current-directory, ido-read-internal)
3862 (ido-choose-completion-string, ido-completion-help): Handle nil
3863 value of ido-completion-buffer (Bug#11008).
3864
087bbb4c
SS
38652012-03-21 Sam Steingold <sds@gnu.org>
3866
3867 * window.el (switch-to-prev-buffer): Do not switch to a visible
3868 window previous buffer, just like with the frame previous buffers.
3869
fb5b8aca
CY
38702012-03-21 Chong Yidong <cyd@gnu.org>
3871
3872 * faces.el (make-face, make-empty-face, copy-face):
3873 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3874 Doc fixes.
3875
dc9924b8
SM
38762012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3879 (widget-complete): Remove broken use of it.
3880
f0bcceb9
CY
38812012-03-20 Chong Yidong <cyd@gnu.org>
3882
dc9924b8
SM
3883 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3884 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3885 characters.
3886
ee52ebf3
TH
38872012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3888
3889 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3890 to draw rectangles, not squares. (Regression introduced by revno
3891 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3892
4c5779ab
CY
38932012-03-18 Chong Yidong <cyd@gnu.org>
3894
3895 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3896 it is not yet defined (for temacs).
3897
15360934
LL
38982012-03-18 Leo Liu <sdl.web@gmail.com>
3899
dc9924b8 3900 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3901
d9a8eb66
EZ
39022012-03-17 Eli Zaretskii <eliz@gnu.org>
3903
3904 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3905 (ispell-choices-win-default-height, ispell-silently-savep)
3906 (ispell-dictionary-alist, ispell-encoding8-command)
3907 (ispell-check-version, ispell-aspell-find-dictionary)
3908 (ispell-valid-dictionary-list, ispell-words-keyword)
3909 (ispell-get-word, ispell-internal-change-dictionary)
3910 (ispell-region, ispell-skip-region-list)
3911 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3912 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3913 (ispell-message-text-end, ispell-message)
3914 (ispell-buffer-local-parsing): Doc fix.
3915
f02ff80d
J
39162012-03-13 Jambunathan K <kjambunathan@gmail.com>
3917
3918 * htmlfontify.el: Add support for code block fontification for ODT
3919 export (Bug #9914).
3920 (hfy-optimisations): Define new option
3921 `body-text-only'
3922 (hfy-fontify-buffer): Honor above setting.
3923 (hfy-begin-span, hfy-end-span): New routines factored out form
3924 `hfy-fontify-buffer'.
3925 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3926 that permit insertion of custom tags.
3927 (hfy-fontify-buffer): Use above handlers.
3928 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3929 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3930 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3931 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3932 bind a special variable `hfy-user-sheet-assoc'.
3933 (htmlfontify-string): New defun.
3934 (hfy-compile-face-map): Make sure that the last char in the
3935 buffer is correctly fontified.
3936 (hfy-face-resolve-face): Whitespace only change.
3937
9ac7a13f
EZ
39382012-03-17 Eli Zaretskii <eliz@gnu.org>
3939
3940 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3941 message more clear.
3942
e2b5bdd7
LL
39432012-03-16 Leo Liu <sdl.web@gmail.com>
3944
3945 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3946
2e492df3
AM
39472012-03-16 Alan Mackenzie <acm@muc.de>
3948
3949 Further optimise the handling of large macros.
3950
3951 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3952 limit to a call of `c-literal-limits'.
3953 (c-determine-+ve-limit): New function.
dc9924b8
SM
3954 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3955 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3956 In CASE 5B, restrict a search limit to 500.
3957 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3958
3959 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3960 Restrict macro bounds to +-500 from after-change's BEG END.
3961
50e94f0c
LL
39622012-03-16 Leo Liu <sdl.web@gmail.com>
3963
3964 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3965
6f09f6ed
AH
39662012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3967
3968 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3969 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3970
c7e73d51
GM
39712012-03-16 Glenn Morris <rgm@gnu.org>
3972
da986230
GM
3973 * view.el (view-buffer, view-buffer-other-window)
3974 (view-buffer-other-frame): Doc fixes re special mode-class.
3975
0835f01e
GM
3976 * subr.el (eval-after-load): If named feature is provided not from
3977 a file, run after-load forms. (Bug#10946)
3978
c7e73d51
GM
3979 * calendar/calendar.el (calendar-insert-at-column):
3980 Handle non-unit-width characters a bit better. (Bug#10978)
3981
3f2eafd1
CY
39822012-03-15 Chong Yidong <cyd@gnu.org>
3983
3984 * emacs-lisp/ring.el (ring-extend): New function.
3985 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3986
3987 * comint.el (comint-read-input-ring)
3988 (comint-add-to-input-history): Grow comint-input-ring lazily.
3989
103af3fe
SM
39902012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3991
663b1677
SM
3992 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3993 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3994
103af3fe
SM
3995 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3996 (imenu-add-to-menubar): Don't add a redundant index.
3997 (imenu-update-menubar): Handle a dynamically composed keymap.
3998
899cb7cb
KY
39992012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4000
4001 * mail/sendmail.el (mail-encode-header):
4002 Bind rfc2047-encode-encoded-words to nil.
4003
3809f91d
GM
40042012-03-13 Glenn Morris <rgm@gnu.org>
4005
4006 * calendar/calendar.el (calendar-string-spread):
4007 Handle non-unit-width characters a bit better. (Bug#10978)
4008
9e345a01
LL
40092012-03-13 Leo Liu <sdl.web@gmail.com>
4010
4011 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4012 directory and file as argument (Bug#10822).
4013
4a07df36
KS
40142012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4015
4016 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4017 For dynamically generated code, follow $PC.
4018 (gdb-disassembly-handler-custom): Handle no function name case.
4019
4aaa9356
TL
40202012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4021
4022 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4023 * emulation/ws-mode.el (ws-query-replace):
4024 * sort.el (sort-regexp-fields):
4025 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4026
225979da
SM
40272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * dabbrev.el: Fix cycle completion order (bug#10963).
4030 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4031 (dabbrev-completion): Don't use an obarray; provide
4032 a cycle-sort-function.
4033
e2f1fdab
LL
40342012-03-12 Leo Liu <sdl.web@gmail.com>
4035
dc9924b8 4036 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4037 (kill-do-not-save-duplicates): Doc fix.
4038
b19490ed
SM
40392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * dabbrev.el: Fix cycle completion (bug#10963).
4042 Use lexical binding and wrap to 80 columns.
4043 (dabbrev-completion): Delay computing the list of completions.
4044
4b05d722
KH
40452012-03-12 Kenichi Handa <handa@m17n.org>
4046
4047 * international/quail.el (quail-insert-kbd-layout): Surround each
4048 row by LRO and PDF instead of inserting many LRMs. Pad the left
4049 and right of each non-spacing marks. Insert invisible space
4050 between lower and upper characters to prevent composition.
4051
dbbc2e69
SM
40522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * minibuffer.el (minibuffer-complete): Don't get confused when the
4055 function is run twice via different commands (bug#10958).
4056 (complete-with-action): Fix docstring.
4057
292112ed
CY
40582012-03-12 Chong Yidong <cyd@gnu.org>
4059
5d1ac394
CY
4060 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4061 (nxml-completion-at-point-function): New function.
4062 (nxml-mode): Use it.
4063 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4064
292112ed
CY
4065 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4066 Load generated autoloads file before byte compiling (Bug#10970).
4067 (package--make-autoloads-and-compile): New helper fun.
4068
4098f8f7
CS
40692012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4070
4071 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4072
8f754691
MA
40732012-03-11 Michael Albinus <michael.albinus@gmx.de>
4074
4075 * autorevert.el (auto-revert-handler): Ensure, that
4076 file-readable-p is applied only for local files or in
4077 auto-revert-tail-mode.
4078
e29ab36b
AS
40792012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4080
dbbc2e69
SM
4081 * server.el (server-eval-at): Handle non-tcp connections.
4082 Decode result string.
ad0bf5b6 4083
e29ab36b
AS
4084 * server.el (server-msg-size): New constant.
4085 (server-reply-print): New function.
4086 (server-eval-and-print): Use it.
4087 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4088 Handle -print-nonl.
4089
de5939ba
CS
40902012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4091
4092 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4093 (Bug#10987).
4094
0c93eabf
CY
40952012-03-11 Chong Yidong <cyd@gnu.org>
4096
397a688f
CY
4097 * simple.el (goto-line): Doc fix (Bug#9938).
4098
2cc775f9
CY
4099 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4100
0c93eabf
CY
4101 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4102 when finished (Bug#10963).
4103
c491fa41
MR
41042012-03-11 Martin Rudalics <rudalics@gmx.at>
4105
4106 * window.el (split-window-below): Fix bug in case where
4107 split-window-keep-point is nil (Bug#10971).
4108
300e8fa5
JL
41092012-03-11 Juri Linkov <juri@jurta.org>
4110
4111 * replace.el (replace-highlight): Set isearch-word to nil
4112 unconditionally. (Bug#10887)
4113
dbf6c5a1
EZ
41142012-03-10 Eli Zaretskii <eliz@gnu.org>
4115
4116 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4117 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4118 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4119 (mairix-widget-create-query): Add usage information about mairix
4120 search forms: negating words, searching for substrings, etc.
4121
b9e501de
JP
41222012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4123
4124 * international/fontset.el (font-encoding-alist): Add an entry for
4125 ksx1001 (Bug#5667).
4126
92795c91
RS
41272012-03-10 Richard Stallman <rms@gnu.org>
4128
1694e6c1
RS
4129 * mail/sendmail.el (mail-encode-header):
4130 Set rfc2047-encode-encoded-words.
4131
607e8555
RS
4132 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4133
de3bc99a
RS
4134 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4135 view buffer means not swapped.
4136 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4137 (rmail-write-region-annotate): Error if real text has disappeared.
4138
92795c91
RS
4139 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4140
699bd04e
CY
41412012-03-10 Chong Yidong <cyd@gnu.org>
4142
4143 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4144 * emulation/cua-base.el (cua--init-keymaps):
4145 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4146
570a1714
MR
41472012-03-10 Martin Rudalics <rudalics@gmx.at>
4148
dbbc2e69
SM
4149 * speedbar.el (speedbar-unhighlight-one-tag-line):
4150 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4151
82dcf4e4
CY
41522012-03-10 Chong Yidong <cyd@gnu.org>
4153
7a2c7ca7
CY
4154 * minibuffer.el (completion-in-region, completion-help-at-point):
4155 Give the completion field overlay a high priority (Bug#6830).
4156
82dcf4e4
CY
4157 * dired.el (dired-goto-file): Recognize absolute file name
4158 listings (Bug#7126).
4159 (dired-goto-file-1): New helper function.
4160 (dired-toggle-read-only): Inhibit warnings.
4161
052e28ac
MA
41622012-03-09 Michael Albinus <michael.albinus@gmx.de>
4163
75f1671a 4164 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4165 there are no properties.
4166
95d5e396
LL
41672012-03-09 Leo Liu <sdl.web@gmail.com>
4168
4169 * savehist.el (savehist-printable): Stricter check for string
4170 value (Bug#10937).
4171
3f018d6d
EZ
41722012-03-09 Eli Zaretskii <eliz@gnu.org>
4173
dbbc2e69
SM
4174 * mail/smtpmail.el (smtpmail-send-it):
4175 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4176 valid mbox format.
4177
f7fd3d79
GM
41782012-03-09 Glenn Morris <rgm@gnu.org>
4179
4180 * files.el (dir-locals-find-file):
4181 Don't check result is regular, readable.
4182 (dir-locals-read-from-file): Demote errors.
4183
6ff6e72f
EZ
41842012-03-08 Eli Zaretskii <eliz@gnu.org>
4185
dbbc2e69
SM
4186 * international/quail.el (quail-insert-kbd-layout):
4187 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4188 layout cell, to prevent their reordering by bidi display engine.
4189 For details, see the discussion in
4190 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4191
9cec7834
AM
41922012-03-08 Alan Mackenzie <acm@muc.de>
4193
4194 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4195 the starting position; make it extend the marked region when
4196 invoked repeatedly - all under appropriate circumstances.
4197 Fixes bugs #5525, #10906.
4198
9a40b8d4
GM
41992012-03-08 Glenn Morris <rgm@gnu.org>
4200
4201 * files.el (locate-dominating-file, dir-locals-find-file):
4202 Undo 2012-03-06 change.
4203
7a08ed35
EZ
42042012-03-07 Eli Zaretskii <eliz@gnu.org>
4205
dbbc2e69
SM
4206 * international/quail.el (quail-help):
4207 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4208 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4209 for the reason.
4210
5aca4f71 42112012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4212
4213 Avoid superfluous registering of signals. (Bug#10807)
4214
4215 * notifications.el (notifications-on-action-object)
4216 (notifications-on-close-object): New defvars.
4217 (notifications-on-action-signal, notifications-on-closed-signal):
4218 Unregister the signal if not needed any longer.
4219 (notifications-notify): Register `notifications-action-signal' or
4220 `notifications-closed-signal', if :on-action or :on-close has been
4221 passed as argument.
4222
78e8b10a
CY
42232012-03-07 Chong Yidong <cyd@gnu.org>
4224
4225 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4226 non-X platforms.
4227
69481eb8
GM
42282012-03-06 Glenn Morris <rgm@gnu.org>
4229
4230 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4231 (x-disown-selection-internal, x-get-selection-internal):
4232 Doc fix (add arglist signatures). (Bug#10783)
4233
133b8e11
KS
42342012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4235
4236 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4237 Handle breakpoints with no "type".
4238
99a83064
GM
42392012-03-06 Glenn Morris <rgm@gnu.org>
4240
4241 * files.el (locate-dominating-file): Add optional predicate argument.
4242 (dir-locals-find-file): Make use of above change.
4243
17798e78
TTN
42442012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4245
4246 * info.el (Info-insert-dir): Also try "dir.gz".
4247
eb182446
GM
42482012-03-06 Glenn Morris <rgm@gnu.org>
4249
8f2114ee
GM
4250 * files.el (dir-locals-find-file):
4251 Ignore non-readable or non-regular files. (Bug#10928)
4252
eb182446
GM
4253 * files.el (locate-dominating-file): Doc fix.
4254
24679323
AS
42552012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4256
4257 * calendar/calendar.el (calendar-set-mode-line):
4258 `getenv' returns a string. (Bug#10951)
4259
01d972a9
LL
42602012-03-05 Leo Liu <sdl.web@gmail.com>
4261
109aa8a9
LL
4262 * simple.el (backward-delete-char-untabify): Constrain point to
4263 field (Bug#10939).
4264
01d972a9
LL
4265 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4266
10607bea
CY
42672012-03-05 Chong Yidong <cyd@gnu.org>
4268
4269 * simple.el (count-words): If called from Lisp, return the word
4270 count, for symmetry with `count-lines'. Arglist changed.
4271 (count-words--message): Args changed. Consolidate counting code
4272 from count-words and count-words-region.
4273 (count-words-region): Caller changed.
4274 (count-lines-region): Make it an obsolete alias.
4275
5dd11cfe
TH
42762012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4277
4278 * saveplace.el (save-place-to-alist)
4279 (save-place-ignore-files-regexp): Allow value nil to disable this
4280 feature.
4281
c349f4e6
CY
42822012-03-04 Chong Yidong <cyd@gnu.org>
4283
4284 * faces.el (face-spec-reset-face): For the default face, reset the
4285 attributes to default values (Bug#10748).
4286
e627be4c
LMI
42872012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4288
4289 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4290 previous patch: Check `message-send-mail-function', and not the
4291 default function (bug#10897).
4292
ebeabff4
MA
42932012-03-04 Michael Albinus <michael.albinus@gmx.de>
4294
a41a6cf4
MA
4295 * notifications.el (notifications-on-action-signal)
4296 (notifications-on-closed-signal): Check for unique service name of
4297 incoming event. Fix error in removing entry.
ebeabff4 4298 (top): Register for signals with wildcard service name.
a41a6cf4 4299 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4300
c1ca42b4
CY
43012012-03-04 Chong Yidong <cyd@gnu.org>
4302
dc9924b8 4303 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4304
ea16568d
GM
43052012-03-04 Glenn Morris <rgm@gnu.org>
4306
4307 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4308 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4309 (expand-abbrev, define-abbrev-table): Doc fixes.
4310
fbae4637
LMI
43112012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4312
4313 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4314 `message-default-send-mail-function' and not `send-mail-function'
4315 when doing the prompting for `sendmail-query-once' before sending
4316 in Message buffers (bug#10897).
4317
a1e7225c
LMI
4318 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4319 This is inconsistent with all the other stream functions, which leave
4320 the setting up to the higher levels (if so wanted) (bug#10931).
4321
56d093a9
AM
43222012-03-02 Alan Mackenzie <acm@muc.de>
4323
4324 Depessimize the handling of very large macros.
4325
4326 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4327 (c-macro-cache-syntactic): New variables to implement a one
4328 element macro cache.
4329 (c-invalidate-macro-cache): New function.
4330 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4331 Adapt to use the new cache.
4332 (c-state-safe-place): Use better the cache of safe positions.
4333 (c-state-semi-nonlit-pos-cache)
4334 (c-state-semi-nonlit-pos-cache-limit):
4335 New variables for...
4336 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4337 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4338 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4339 Use c-state-semi-safe-place.
56d093a9 4340
dbbc2e69
SM
4341 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4342 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4343
817e5c3d
MA
43442012-03-02 Michael Albinus <michael.albinus@gmx.de>
4345
dbbc2e69
SM
4346 * jka-compr.el (jka-compr-call-process):
4347 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4348 not remote.
4349
a032a702
MA
43502012-03-01 Michael Albinus <michael.albinus@gmx.de>
4351
4352 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4353 access of FILE2, if FILE1 does not exist.
4354
99a54f21
MA
4355 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4356 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4357
4358 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4359 Add "PAGER=" to `process-environment'.
4360
f6561e1f
MM
43612012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4362
4363 * progmodes/sql.el: Bug fix
4364 (sql-get-login-ext): Save login values in globals.
4365 (sql-get-login): Use new version of `sql-get-login-ext'.
4366 (sql-interactive-mode): Set global `sql-connection' to nil.
4367 (sql-connect): Set global values for connection.
4368 (sql-product-interactive): Save global values as buffer local.
4369
2d44d9cc
LL
43702012-02-29 Leo Liu <sdl.web@gmail.com>
4371
4372 * abbrev.el (define-abbrevs): Reset sys to nil.
4373
96b49301 43742012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4375
bf7f9bc5
JB
4376 * files.el (file-equal-p): Rename from `files-equal-p'.
4377 Return nil when one or both files don't exist.
96b49301 4378 (file-subdir-of-p): Now only top directory must exists,
4379 return nil if it doesn't.
bf7f9bc5
JB
4380 (copy-directory): No need to test with `file-subdir-of-p' after
4381 creating dir.
4382 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4383 to `file-equal-p'.
96b49301 4384
44e97401
GM
43852012-02-28 Glenn Morris <rgm@gnu.org>
4386
4387 * shell.el (shell-mode):
4388 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4389 * play/landmark.el (landmark-font-lock-face-O):
4390 * play/handwrite.el (handwrite):
4391 * play/gomoku.el (gomoku-O):
4392 * net/browse-url.el (browse-url-browser-display):
4393 * international/mule.el (define-charset):
4394 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4395 * filesets.el (filesets-find-file-delay):
4396 * eshell/em-xtra.el (eshell-xtra):
4397 * eshell/em-unix.el (eshell-grep):
4398 * emulation/viper.el (viper-mode):
4399 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4400 * emacs-lisp/easymenu.el (easy-menu-define):
4401 * calendar/timeclock.el (timeclock-use-display-time):
4402 * bs.el (bs-mode):
4403 * bookmark.el (bookmark-save-flag):
4404 Doc fix (standardize possessive apostrophe usage).
4405
c98c6276
CY
44062012-02-27 Chong Yidong <cyd@gnu.org>
4407
bf7f9bc5
JB
4408 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4409 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4410
c98c6276
CY
4411 * font-lock.el (font-lock-specified-p): Rename from
4412 font-lock-spec-present. Callers changed.
4413
9c62cd04 44142012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4415
bf7f9bc5
JB
4416 * emacs-lisp/package.el (package-compute-transaction):
4417 Handle holding a package version to t in package-load-list.
8ac9e529 4418
530739c9
MA
44192012-02-26 Michael Albinus <michael.albinus@gmx.de>
4420
4421 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4422 (tramp-get-inode, tramp-get-device): Use cached values.
4423
487915d7
AM
44242012-02-26 Alan Mackenzie <acm@muc.de>
4425
4426 Check there is a font-lock specification before doing initial
4427 fontification.
4428
4429 * font-core.el (font-lock-mode): Move the conditional from
4430 :after-hook to font-lock-initial-fontify.
4431 (font-lock-default-function): Move the check for a specification
4432 to font-lock-spec-present.
4433
dc9924b8 4434 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4435 (font-lock-spec-present): New function.
4436
4fd96557
JB
44372012-02-26 Jim Blandy <jimb@red-bean.com>
4438
4439 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4440 (gdb-send): Apply it to the operand of the '-interpreter-exec
4441 console' command, so that we can pass arguments with (say) quotes
4442 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4443
9a4888c0
CY
44442012-02-26 Chong Yidong <cyd@gnu.org>
4445
07498861
CY
4446 * help-fns.el (describe-function-1): Clarify description of
4447 remapping (Bug#10844).
4448
9a4888c0
CY
4449 * files.el (files-equal-p): Doc fix.
4450 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4451 and quit the loop once a mismatch is found.
4452
ea8fb88d
JB
44532012-02-25 Juanma Barranquero <lekktu@gmail.com>
4454
4455 * bs.el (bs--show-with-configuration): Don't throw an error
4456 if the window cannot be split; otherwise, subsequent calls to
4457 bs-show fail, restoring a stale window config. (Bug#10882)
4458
525795c1
JD
44592012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4460
4461 * term/ns-win.el (global-map): Bind ns-drag-file to
4462 ns-find-file (Bug#5855, Bug#10050).
4463
f008086f
AS
44642012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4465
4466 * calendar/parse-time.el (parse-time-string): Allow extractor to
4467 return nil.
4468
a3fcfa99
MA
44692012-02-25 Michael Albinus <michael.albinus@gmx.de>
4470
91027d08
JB
4471 * net/tramp.el (tramp-file-name-for-operation):
4472 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4473
4474 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4475 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4476 Add COPY-CONTENTS argument.
a3fcfa99 4477
67b0de11
CY
44782012-02-25 Chong Yidong <cyd@gnu.org>
4479
4480 Add custom groups for VC backends, for consistency with vc-bzr.
4481
4482 * vc/vc-arch.el (vc-arch):
4483 * vc/vc-cvs.el (vc-cvs):
4484 * vc/vc-git.el (vc-git):
4485 * vc/vc-hg.el (vc-hg):
4486 * vc/vc-mtn.el (vc-mtn):
4487 * vc/vc-rcs.el (vc-rcs):
4488 * vc/vc-sccs.el (vc-sccs):
4489 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4490 All relevant defcustoms reassigned.
4491
3c9dfce6
CY
44922012-02-25 Chong Yidong <cyd@gnu.org>
4493
1339bf43
CY
4494 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4495
3c9dfce6
CY
4496 * term/x-win.el (x-initialize-window-system): Reduce default for
4497 x-selection-timeout to 5 seconds (Bug#8869).
4498
25b2e303 44992012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4500
ec70a47d
GM
4501 * files.el (files-equal-p, file-subdir-of-p): New functions.
4502 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4503 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4504 * dired-aux.el (dired-copy-file-recursive): Same.
4505 (dired-create-files): Modify destination when source is equal to
4506 dest when copying files.
53a46cd0 4507 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4508
914260cd
MA
45092012-02-24 Michael Albinus <michael.albinus@gmx.de>
4510
4511 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4512 (Bug#10874)
4513
2cb228f7
AM
45142012-02-23 Alan Mackenzie <acm@muc.de>
4515
4516 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4517 parameter "after-hook:" to allow the expansion to run code after
4518 the execution of the mode hooks.
4519
4520 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4521 from font-lock-mode-internal.
2cb228f7 4522
91027d08 4523 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4524 :after-hook.
4525
8f0fde21
SM
45262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4527
3e88618b
SM
4528 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4529 (completion--cache-all-sorted-completions): New function.
4530 (completion-all-sorted-completions): Use it.
4531 (completion--do-completion, minibuffer-force-complete):
4532 Use it to re-instate the flush hook.
4533
8f0fde21
SM
4534 * icomplete.el (icomplete-completions): Replace last fix with a better
4535 one (bug#10850).
4536
8e911f6f
DG
45372012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4538
4539 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4540 when it might call us back infinitely (bug#10797).
4541
49fe4321
GM
45422012-02-23 Glenn Morris <rgm@gnu.org>
4543
4544 * minibuffer.el (completion-category-overrides): Doc fix.
4545
b291b572
SM
45462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4549 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4550
31a9ef2e
GM
45512012-02-23 Glenn Morris <rgm@gnu.org>
4552
5e6e6794 4553 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4554 (authors-obsolete-files-regexps, authors-ignored-files)
4555 (authors-ambiguous-files, authors-renamed-files-alist):
4556 Add more entries.
4557
0bd1e074
JL
45582012-02-23 Juri Linkov <juri@jurta.org>
4559
4560 * isearch.el (isearch-occur): Sync interactive spec with occur's
4561 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4562
b617673c
JL
4563 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4564
19e9789e
JL
45652012-02-22 Juri Linkov <juri@jurta.org>
4566
4567 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4568 (ucs-insert): Doc fix. Check for hex digits in the string.
4569 Don't display `nil' in the error message. (Bug#10857)
4570
f41ce09d
AM
45712012-02-22 Alan Mackenzie <acm@muc.de>
4572
7a71b18d 4573 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4574
ac2eceee
GM
45752012-02-22 Glenn Morris <rgm@gnu.org>
4576
4577 * ffap.el (ffap-c-path):
4578 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4579
abd1f678
CY
45802012-02-22 Chong Yidong <cyd@gnu.org>
4581
4582 * custom.el (load-theme): Doc fix.
4583
f25aef2e
GM
45842012-02-22 Glenn Morris <rgm@gnu.org>
4585
4586 * dired-x.el (dired-guess-shell-alist-default):
4587 Remove escape sequences from nroff output. (Bug#172)
4588
5f8dc2ca
GM
45892012-02-21 Glenn Morris <rgm@gnu.org>
4590
6ff86ec4
GM
4591 * vc/emerge.el (emerge-defvar-local):
4592 Set `permanent-local' property rather than unused `preserved'.
4593
be3223a3 4594 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4595 (picture-mode-map): Use it. (Bug#10860)
4596 (picture-mode): Doc fix.
4597
3fe58f4f
JB
45982012-02-21 Juanma Barranquero <lekktu@gmail.com>
4599
4600 * newcomment.el (uncomment-region-default): Remove unused binding.
4601
f9a998c3
GM
46022012-02-21 Glenn Morris <rgm@gnu.org>
4603
4604 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4605 (picture-self-insert, picture-tab-chars): Doc fix.
4606 (picture-mode-map): Fix C-a, C-e.
4607
c6029348
GM
46082012-02-20 Glenn Morris <rgm@gnu.org>
4609
4610 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4611
ab1ce9d7
LL
46122012-02-20 Leo Liu <sdl.web@gmail.com>
4613
4614 * icomplete.el (icomplete-completions): Check FROM arg before
4615 passing to substring (Bug#10850).
4616
0fd40f89
CY
46172012-02-19 Chong Yidong <cyd@gnu.org>
4618
4619 * comint.el: Require ansi-color.
4620 (comint-output-filter-functions): Add ansi-color-process-output.
4621
4622 * ansi-color.el: Don't set comint-output-filter-functions; it is
4623 now in the initial value defined in comint.el.
4624 (ansi-color-apply-face-function): New variable.
4625 (ansi-color-apply-on-region): Use it.
4626 (ansi-color-apply-overlay-face): New function.
4627
4628 * shell.el (shell): No need to require ansi-color.
4629 (shell-mode): Use ansi-color-apply-face-function to highlight
4630 color escapes using font-lock-face property (Bug#10835).
4631
20af2394
CY
46322012-02-19 Chong Yidong <cyd@gnu.org>
4633
4634 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4635 mode-line formats (Bug#10839).
4636
e23a3fbe
GM
46372012-02-18 Glenn Morris <rgm@gnu.org>
4638
b474519e
GM
4639 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4640
4641 * mail/undigest.el (unforward-rmail-message): Doc fix.
4642
e23a3fbe
GM
4643 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4644
57939ff4
EZ
46452012-02-18 Eli Zaretskii <eliz@gnu.org>
4646
4647 * international/characters.el (script-list): Sync with the latest
4648 Unicode Character Database.
4649
0c23686e
AS
46502012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4651
4652 * international/titdic-cnv.el: Remove duplicate coding tag.
4653 * language/cham.el: Likewise.
4654 * language/tai-viet.el: Likewise.
4655
6818b449
GM
46562012-02-18 Glenn Morris <rgm@gnu.org>
4657
4658 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4659 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4660 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4661 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4662 * calendar/holidays.el (holiday-bahai-holidays)
4663 (calendar-holidays, list-holidays):
4664 Use utf-8 Bahá'í in doc-strings, menus, etc.
4665
0311a3fc
TH
46662012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4667
4668 * saveplace.el (save-place-ignore-files-regexp): New variable
4669 allowing for excluding files from saving their location of point.
4670 The default value matches the temporary commit message editing
4671 files from Git, SVN, Bazaar, and Mercurial.
4672 (save-place-to-alist): Use it.
4673
eb864a71
LM
46742012-02-17 Lawrence Mitchell <wence@gmx.li>
4675 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * newcomment.el (uncomment-region-default): Don't leave extra space
4678 when an arg is provided (bug#8150).
4679
ee0ce425
TZ
46802012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4681
eb864a71 4682 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4683
95ddf442
GM
46842012-02-17 Glenn Morris <rgm@gnu.org>
4685
4686 * net/socks.el: Require network-stream. (Bug#10599)
4687
48dd1e39 46882012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4689
4690 * international/charprop.el:
4691 * international/uni-name.el:
4692 * international/uni-old-name.el:
4693 * international/uni-comment.el: Regenerate.
4694
d68cd087
GM
46952012-02-16 Glenn Morris <rgm@gnu.org>
4696
4697 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4698 Interactively in calendar buffer, give an error if not on a date.
4699
13932042
GM
47002012-02-15 Glenn Morris <rgm@gnu.org>
4701
4702 * shell.el (shell-delimiter-argument-list):
4703 Revert 2011-02-17 change. (Bug#8027)
4704
c3a70e2b
CY
47052012-02-15 Chong Yidong <cyd@gnu.org>
4706
60236b0d
CY
4707 * minibuffer.el (completion-at-point-functions): Doc fix.
4708
c3a70e2b
CY
4709 * custom.el (defcustom): Doc fix; note use of defvar.
4710
9f26dc24
GM
47112012-02-15 Glenn Morris <rgm@gnu.org>
4712
4713 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4714 Doc fixes.
4715
6546b134
GM
47162012-02-14 Glenn Morris <rgm@gnu.org>
4717
4718 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4719
d29b2b4c
LI
47202012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4721
4722 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4723 way the ports list is computed.
835bdcba
LI
4724 (smtpmail-query-smtp-server): Prompt the user for a port number if
4725 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4726
08dcdbc9
TZ
47272012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4728
4729 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4730
2605051a
GM
47312012-02-13 Glenn Morris <rgm@gnu.org>
4732
4733 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4734
7ee99f32
TZ
47352012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4736
4737 * net/gnutls.el (gnutls-trustfiles): New variable.
4738 (gnutls-negotiate): Use it.
4739
5f0af64f
LI
47402012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4741
4742 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4743 does its stuff if Gnus is running.
4744
c14fcc95
AM
47452012-02-13 Alan Mackenzie <acm@muc.de>
4746
4747 Fix a loop in c-set-fl-decl-start.
4748
7a71b18d 4749 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4750 c-backward-syntactic-ws actually moves backwards.
4751
142b4d90
LL
47522012-02-13 Leo Liu <sdl.web@gmail.com>
4753
4754 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4755 beginning so that all \C-o chars are removed.
4756
fa9958a6
TZ
47572012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4758
dc9924b8 4759 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4760
0bc5886a
AM
47612012-02-12 Alan Mackenzie <acm@muc.de>
4762
4763 Fix infinite loop with long macros.
4d6769e1 4764 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4765
d4bd55e7
CY
47662012-02-12 Chong Yidong <cyd@gnu.org>
4767
4768 * window.el (display-buffer): Doc fix (Bug#10785).
4769
66f3fe22
GM
47702012-02-12 Glenn Morris <rgm@gnu.org>
4771
bd7da63e
GM
4772 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4773 (x-disown-selection-internal, x-get-selection-internal):
4774 Sync docs with the xselect.c versions.
4775
66f3fe22
GM
4776 * allout-widgets.el: Add missing license notice.
4777
3e0d2fa7
GM
47782012-02-11 Glenn Morris <rgm@gnu.org>
4779
cfecdf09
GM
4780 * select.el (x-get-selection-internal, x-own-selection-internal)
4781 (x-disown-selection-internal):
4782 * x-dnd.el (x-get-selection-internal): Update declarations.
4783
6d216d7f
GM
4784 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4785
2bed3f04
GM
4786 * window.el (window-sides-slots):
4787 * tool-bar.el (tool-bar-position):
4788 * term/xterm.el (xterm-extra-capabilities):
4789 * ses.el (ses-self-reference-early-detection):
4790 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4791 (verilog-auto-wire-type)
4792 (verilog-auto-delete-trailing-whitespace)
4793 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4794 (verilog-auto-tieoff-declaration):
4795 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4796 (sql-oracle-statement-starters, sql-oracle-scan-on):
4797 * progmodes/prolog.el (prolog-align-comments-flag)
4798 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4799 (prolog-left-indent-regexp, prolog-paren-indent-p)
4800 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4801 (prolog-types, prolog-mode-specificators)
4802 (prolog-determinism-specificators, prolog-directives)
4803 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4804 (prolog-electric-dot-flag)
4805 (prolog-electric-dot-full-predicate-template)
4806 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4807 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4808 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4809 (prolog-program-switches, prolog-prompt-regexp)
4810 (prolog-debug-on-string, prolog-debug-off-string)
4811 (prolog-trace-on-string, prolog-trace-off-string)
4812 (prolog-zip-on-string, prolog-zip-off-string)
4813 (prolog-use-standard-consult-compile-method-flag)
4814 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4815 (prolog-imenu-max-lines, prolog-info-predicate-index)
4816 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4817 (prolog-char-quote-workaround):
4818 * progmodes/cc-vars.el (c-defun-tactic):
4819 * net/tramp.el (tramp-encoding-command-interactive)
4820 (tramp-local-end-of-line):
4821 * net/soap-client.el (soap-client):
4822 * net/netrc.el (netrc-file):
4823 * net/gnutls.el (gnutls):
4824 * minibuffer.el (completion-category-overrides)
4825 (completion-cycle-threshold)
4826 (completion-pcm-complete-word-inserts-delimiters):
4827 * man.el (Man-name-local-regexp):
4828 * mail/feedmail.el (feedmail-display-full-frame):
4829 * international/characters.el (glyphless-char-display-control):
4830 * eshell/em-ls.el (eshell-ls-date-format):
4831 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4832 (lisp-lambda-list-keyword-parameter-indentation)
4833 (lisp-lambda-list-keyword-parameter-alignment):
4834 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4835 * dired-x.el (dired-omit-verbose):
4836 * cus-theme.el (custom-theme-allow-multiple-selections):
4837 * calc/calc.el (calc-highlight-selections-with-faces)
4838 (calc-lu-field-reference, calc-lu-power-reference)
4839 (calc-note-threshold):
4840 * battery.el (battery-mode-line-limit):
4841 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4842 (archive-7z-update):
4843 * allout.el (allout-prefixed-keybindings)
4844 (allout-unprefixed-keybindings)
4845 (allout-inhibit-auto-fill-on-headline)
4846 (allout-flattened-numbering-abbreviation):
4847 * allout-widgets.el (allout-widgets-auto-activation)
4848 (allout-widgets-icons-dark-subdir)
4849 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4850 (allout-widgets-theme-dark-background)
4851 (allout-widgets-theme-light-background)
4852 (allout-widgets-item-image-properties-emacs)
4853 (allout-widgets-item-image-properties-xemacs)
4854 (allout-widgets-run-unit-tests-on-load)
4855 (allout-widgets-time-decoration-activity)
4856 (allout-widgets-hook-error-post-time)
4857 (allout-widgets-track-decoration):
4858 Add missing :version tags to new defcustoms and defgroups.
4859
5fec1b8e
GM
4860 * progmodes/sql.el (sql-ansi-statement-starters)
4861 (sql-oracle-statement-starters): Add custom type.
4862
3e0d2fa7
GM
4863 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4864 (prolog-system-version): Give it a type.
4865
90b671e2
EZ
48662012-02-11 Eli Zaretskii <eliz@gnu.org>
4867
4868 * term/pc-win.el (x-select-text, x-selection-owner-p)
4869 (x-own-selection-internal, x-disown-selection-internal)
4870 (x-get-selection-internal): Sync doc strings and argument lists
4871 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4872
5eac0c02
LL
48732012-02-11 Leo Liu <sdl.web@gmail.com>
4874
4875 * progmodes/python.el (python-end-of-statement): Fix infinite
4876 loop. (Bug#10788)
4877
f82cb659
GM
48782012-02-10 Glenn Morris <rgm@gnu.org>
4879
4880 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4881 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4882
cc26d239
LI
48832012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4884
4885 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4886 about SMTP before checking the From header.
4887
91027d08 4888 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4889 into own function for reuse by emacsbug.el.
4890
1be3ca5a
LL
48912012-02-10 Leo Liu <sdl.web@gmail.com>
4892
4893 * subr.el (condition-case-unless-debug): Rename from
4894 condition-case-no-debug. All callers changed.
4895 (with-demoted-errors): Fix caller.
4896
4897 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4898 * nxml/rng-valid.el (rng-do-some-validation):
4899 * emacs-lisp/package.el (package-refresh-contents)
4900 (package-menu-execute):
4901 * desktop.el (desktop-create-buffer):
91027d08 4902 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4903
b011fbfe
GM
49042012-02-10 Glenn Morris <rgm@gnu.org>
4905
b2096d72
GM
4906 * textmodes/bibtex.el:
4907 Add missing :version tags for new/changed defcustoms.
4908
b011fbfe
GM
4909 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4910
4c7e65bf
LI
49112012-02-09 Lars Ingebrigtsen <larsi@rusty>
4912
4913 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4914 (smtpmail-via-smtp): Use it, or fall back on the From address.
4915 (smtpmail-send-it): Ditto.
4916
f3934f6f
SM
49172012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4920 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4921 (byte-compile-tmp-var): New const.
4922 (byte-compile-defvar): Use it to minimize .elc size.
4923 Just use `defvar' rather than simulate it (bug#10761).
4924
a075a2c5
GM
49252012-02-09 Glenn Morris <rgm@gnu.org>
4926
cf3aa21b
GM
4927 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4928
354998cd
GM
4929 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4930 Add :version tags.
4931
dc9924b8
SM
4932 * progmodes/compile.el (compilation-error-screen-columns)
4933 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4934
dab3703d
GM
4935 * vc/log-view.el (log-view-toggle-entry-display):
4936 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4937
3f88cd72
GM
4938 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4939 (report-emacs-bug-can-use-xdg-email):
4940 (report-emacs-bug-insert-to-mailer): Doc fixes.
4941 (report-emacs-bug): Message fix.
4942
d95b247d
GM
4943 * net/browse-url.el (browse-url-can-use-xdg-open)
4944 (browse-url-xdg-open): Doc fixes.
4945
a075a2c5
GM
4946 * electric.el (electric-indent-mode, electric-pair-mode)
4947 (electric-layout-rules, electric-layout-mode): Doc fixes.
4948 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4949
ffb6157e
MR
49502012-02-08 Martin Rudalics <rudalics@gmx.at>
4951
4952 * server.el (server-unselect-display): Don't inadvertently kill
4953 the current buffer. (Bug#10729)
4954
e1ac4066
GM
49552012-02-08 Glenn Morris <rgm@gnu.org>
4956
34e8a2da
GM
4957 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4958 (sql-list-table): Doc fixes.
4959
b4ac6e8c
GM
4960 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4961 Comment out (does nothing).
4962
e1ac4066
GM
4963 * completion.el (dynamic-completion-mode):
4964 * dirtrack.el (dirtrack-debug-mode):
4965 * electric.el (electric-layout-mode):
4966 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4967 * face-remap.el (text-scale-mode, buffer-face-mode):
4968 * iimage.el (iimage-mode):
4969 * image-mode.el (image-transform-mode):
4970 * minibuffer.el (completion-in-region-mode):
4971 * scroll-lock.el (scroll-lock-mode):
4972 * simple.el (next-error-follow-minor-mode):
4973 * tar-mode.el (tar-subfile-mode):
4974 * tooltip.el (tooltip-mode):
4975 * vcursor.el (vcursor-use-vcursor-map):
4976 * wid-browse.el (widget-minor-mode):
4977 * emulation/tpu-edt.el (tpu-edt-mode):
4978 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4979 * international/iso-ascii.el (iso-ascii-mode):
4980 * language/thai-util.el (thai-word-mode):
4981 * mail/supercite.el (sc-minor-mode):
4982 * net/goto-addr.el (goto-address-mode):
4983 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4984 * progmodes/cwarn.el (cwarn-mode):
4985 * progmodes/flymake.el (flymake-mode):
4986 * progmodes/glasses.el (glasses-mode):
4987 * progmodes/hideshow.el (hs-minor-mode):
4988 * progmodes/pascal.el (pascal-outline-mode):
4989 * textmodes/enriched.el (enriched-mode):
4990 * vc/smerge-mode.el (smerge-mode):
4991 Doc fixes (minor mode argument).
4992
5e0d957f
EZ
49932012-02-07 Eli Zaretskii <eliz@gnu.org>
4994
4995 * ls-lisp.el (ls-lisp-sanitize): New function.
4996 (ls-lisp-insert-directory): Use it to fix or remove any elements
4997 in file-alist with missing attributes. (Bug#4673)
4998
98d7371e
AM
49992012-02-07 Alan Mackenzie <acm@muc.de>
5000
5001 Fix spurious recognition of c-in-knr-argdecl.
5002
5003 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5004 putative K&R region.
5005
667ced3a
AM
50062012-02-07 Alan Mackenzie <acm@muc.de>
5007
eb864a71
LM
5008 * progmodes/cc-engine.el (c-forward-objc-directive):
5009 Prevent looping in "#pragma mark @implementation".
667ced3a 5010
5b77774d
MA
50112012-02-07 Michael Albinus <michael.albinus@gmx.de>
5012
5013 * notifications.el (notifications-on-closed-signal): Make `reason'
5014 optional. (Bug#10744)
5015
af008560
GM
50162012-02-07 Glenn Morris <rgm@gnu.org>
5017
60d47423
GM
5018 * emacs-lisp/easy-mmode.el (define-minor-mode):
5019 Doc fixes for the macro and the mode it defines.
5020
dd605cc4
GM
5021 * image.el (imagemagick-types-inhibit): Doc fix.
5022
af008560
GM
5023 * cus-start.el (imagemagick-render-type): Add it.
5024
5cc59a37
LI
50252012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5026
4d6769e1
JB
5027 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5028 Set the default at load time, too, so that `font-lock-fontify-buffer'
5029 can be called without setting up the entire mode first. This fixes
5030 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5031
9a6dd747
CY
50322012-02-06 Chong Yidong <cyd@gnu.org>
5033
2d16b285
CY
5034 * simple.el (list-processes--refresh): Delete exited processes
5035 (Bug#8094).
5036
171e9b6e
CY
5037 * comint.el (comint-next-prompt): next-single-char-property-change
5038 and prev-single-char-property-change never return nil (Bug#8657).
5039
9a6dd747
CY
5040 * custom.el (defcustom): Doc fix (Bug#9711).
5041
aa4589a7
CY
50422012-02-05 Chong Yidong <cyd@gnu.org>
5043
5c2a252f
CY
5044 * cus-edit.el (custom-variable-reset-backup): Quote the value
5045 before storing it in the customized-value property (Bug#6712).
4aab9006 5046 (custom-display): Add a customization type tag.
983b9602 5047 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5048
aa4589a7
CY
5049 * wid-edit.el (widget-field-value-get): New optional arg to
5050 suppress trailing whitespace truncation.
5051 (character): Use it (Bug#2689).
5052
1ff980ae
AS
50532012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5054
5055 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5056 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5057
03988c98
CY
50582012-02-05 Chong Yidong <cyd@gnu.org>
5059
eeb6cc88
CY
5060 * cus-edit.el (custom-variable-value-create): For mismatched
5061 types, show the current value (Bug#7600).
5062
03988c98
CY
5063 * custom.el (defcustom): Doc fix.
5064
f8cdeef0
GM
50652012-02-05 Glenn Morris <rgm@gnu.org>
5066
5067 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5068
0696d255
JB
50692012-02-05 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5072 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5073 (pp-last-sexp): Use `looking-at-p'.
5074
34c99998
GM
50752012-02-04 Glenn Morris <rgm@gnu.org>
5076
8f05da42
GM
5077 * files.el (revert-buffer):
5078 Doc fix (mention revert-buffer-in-progress-p).
5079
f160676e
GM
5080 * emacs-lisp/ert-x.el (ert-simulate-command):
5081 Check deferred-action-list (which is obsolete) is bound.
5082
c7291ad9
GM
5083 * subr.el (with-wrapper-hook): Doc fixes.
5084
34c99998
GM
5085 * simple.el (filter-buffer-substring-functions)
5086 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5087
6283a7d3
LL
50882012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5089
5090 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5091 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5092
e96e3013
LL
50932012-02-04 Leo Liu <sdl.web@gmail.com>
5094
5095 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5096
8ded50f2
GM
50972012-02-04 Glenn Morris <rgm@gnu.org>
5098
82ff1d13
GM
5099 * image.el (image-extension-data): Add obsolete alias.
5100
987a0a16
GM
5101 * isearch.el (isearch-update): Doc fix.
5102
ea32ef46
GM
5103 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5104
8ded50f2
GM
5105 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5106
eea14f31
GM
51072012-02-03 Glenn Morris <rgm@gnu.org>
5108
5109 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5110 (image-animate-timeout): Doc fix.
5111
5112 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5113
12f381b7
GM
51142012-02-02 Glenn Morris <rgm@gnu.org>
5115
953cebf5
GM
5116 * server.el (server-auth-dir): Doc fix.
5117 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5118
12f381b7
GM
5119 * subr.el (run-mode-hooks): Doc fix.
5120
953a8c3b
JL
51212012-02-02 Juri Linkov <juri@jurta.org>
5122
5123 * image-mode.el (image-toggle-display-image): Remove tautological
5124 `major-mode' from the `derived-mode-p' test.
5125
c5d3843c
KH
51262012-02-02 Kenichi Handa <handa@m17n.org>
5127
9f6e692e 5128 * composite.el (compose-region): Cancel previous change.
c5d3843c 5129
159462d4 51302012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5131
5132 * composite.el (compose-region, compose-string): Signal error for
5133 a null string component (Bug#6988).
5134
9f562668
CY
51352012-02-01 Chong Yidong <cyd@gnu.org>
5136
e2cef717
CY
5137 * view.el (view-buffer-other-window, view-buffer-other-frame):
5138 Handle special modes like view-buffer (Bug#10650).
5139 (view-buffer): Simplify.
5140
9f562668
CY
5141 * frame.el (set-frame-font): Tweak meaning of third argument.
5142
9f6e692e
JB
5143 * dynamic-setting.el (font-setting-change-default-font):
5144 Use set-frame-font (Bug#9982).
9f562668 5145
781acb9f
GM
51462012-02-01 Glenn Morris <rgm@gnu.org>
5147
6035be52
GM
5148 * progmodes/compile.el (compilation-internal-error-properties):
5149 Respect compilation-first-column in the "*compilation*" buffer.
5150
781acb9f
GM
5151 * emacs-lisp/easy-mmode.el (define-minor-mode):
5152 Relax :variable's test for a named function.
5153
abbceb00
AM
51542012-01-31 Alan Mackenzie <acm@muc.de>
5155
5156 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5157 off by one error.
5158
fce3fdeb
CY
51592012-01-31 Chong Yidong <cyd@gnu.org>
5160
5161 * frame.el (set-frame-font): New arg ALL-FRAMES.
5162
5163 * menu-bar.el (menu-set-font): Use set-frame-font.
5164
5165 * faces.el (face-spec-reset-face): Don't apply unspecified
5166 attribute values to the default face.
5167
47893581
JB
51682012-01-31 Juanma Barranquero <lekktu@gmail.com>
5169
5170 * progmodes/cwarn.el (cwarn): Remove dead link.
5171 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5172 Remove * from defcustom docstrings.
5173 (turn-on-cwarn-mode): Make obsolete.
5174 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5175 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5176
e58e988a
GM
51772012-01-31 Glenn Morris <rgm@gnu.org>
5178
60dc2671 5179 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5180 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5181 Allow named functions to be used as the cdr of :variable.
e58e988a 5182
7a3f511d
GM
51832012-01-30 Glenn Morris <rgm@gnu.org>
5184
5185 * emacs-lisp/authors.el (authors-fixed-entries):
5186 Remove reference to deleted file rnewspost.el.
5187
cb882333
JB
51882012-01-29 Juanma Barranquero <lekktu@gmail.com>
5189
5190 * window.el (window-with-parameter): Remove unused variable `windows'.
5191 (window--side-check): Remove unused variable `code'.
5192 (window--resize-siblings): Remove unused variable `first'.
5193 (adjust-window-trailing-edge): Remove unused variable `failed'.
5194 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5195 Use `let', not `let*'.
5196 (balance-windows-2): Remove unused variable `found'.
5197 (window--state-put-2): Remove unused variable `splits'.
5198 (window-state-put): Remove unused variable `selected'.
5199 (same-window-p): Use `string-match-p'.
5200 (display-buffer-assq-regexp): Remove unused variable `value'.
5201 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5202 Mark argument ALIST as ignored.
5203 (pop-to-buffer): Remove unused variable `old-window'.
5204
907201af
EZ
52052012-01-29 Eli Zaretskii <eliz@gnu.org>
5206
5207 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5208 and .lzma compressed files.
5209
ea162670
CY
52102012-01-29 Chong Yidong <cyd@gnu.org>
5211
5b95ee8a
CY
5212 * frame.el (window-system-default-frame-alist): Doc fix.
5213
ea162670
CY
5214 * dynamic-setting.el (font-setting-change-default-font): Don't
5215 change the default face if SET-FONT argument is non-nil (Bug#9982).
5216
d6e6f4b1
SB
52172012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5218
5219 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5220
0f29fa41 52212012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5222
5223 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5224 breakpoints in files outside current directory (Bug#6098).
5225
db174434
CY
52262012-01-29 Chong Yidong <cyd@gnu.org>
5227
6b25e4e2
SE
5228 * progmodes/python.el: Require ansi-color at top-level.
5229
6df6ae42
JB
5230 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5231 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5232 (lisp-mode-abbrev-table): Add doc.
5233 (lisp-mode-variables): Don't set local-abbrev-table.
5234 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5235
e70ee681
RW
52362012-01-28 Roland Winkler <winkler@gnu.org>
5237
5238 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5239
ace88aa2
RW
52402012-01-28 Roland Winkler <winkler@gnu.org>
5241
5242 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5243 (bibtex-set-dialect): Use it. Either set global values of
5244 dialect-dependent variables or bind these variables buffer-locally
5245 (Bug#10254).
5246 (bibtex-mode): Call bibtex-set-dialect via
5247 hack-local-variables-hook.
eb864a71
LM
5248 (bibtex-dialect): Update docstring.
5249 Add safe-local-variable predicate.
ace88aa2
RW
5250 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5251 bibtex-set-dialect.
5252 (bibtex-mode-map): Define menu for each dialect.
5253 (bibtex-entry): Fix docstring.
5254
93376c5b
CY
52552012-01-28 Chong Yidong <cyd@gnu.org>
5256
5257 * eshell/esh-arg.el (eshell-quote-argument): New function.
5258
5259 * eshell/esh-ext.el (eshell-invoke-batch-file):
5260 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5261 first arg to eshell-parse-command (Bug#10523).
5262
4372494f
DA
52632012-01-28 Drew Adams <drew.adams@oracle.com>
5264
5265 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5266 `default-directory' is non-nil.
5267
4d4ec1f8
EZ
52682012-01-28 Eli Zaretskii <eliz@gnu.org>
5269
5270 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5271 line that displays system-configuration-options. (Bug#9924)
5272
7c188927
DA
52732012-01-28 Drew Adams <drew.adams@oracle.com>
5274
5275 * descr-text.el (describe-char): Show information about POS, in
5276 addition to information about the character at POS. Improve and
5277 update the doc string. Change "code point" to "code point in
5278 charset", to avoid confusion with the character's Unicode code
5279 point shown above that. (Bug#10129)
5280
e0da685a
EZ
52812012-01-28 Eli Zaretskii <eliz@gnu.org>
5282
5283 * descr-text.el (describe-char): Show the raw character, not only
5284 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5285 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5286 for the reasons.
5287
70550acf
PH
52882012-01-28 Phil Hagelberg <phil@hagelb.org>
5289
eb864a71
LM
5290 * emacs-lisp/package.el (package-install):
5291 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5292
0ce8e868
CY
52932012-01-28 Chong Yidong <cyd@gnu.org>
5294
cb882333
JB
5295 * emacs-lisp/package.el (package-maybe-load-descriptor):
5296 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5297 (package-maybe-load-descriptor): Use it.
5298 (package-download-transaction): Fully load required packages
5299 inside the loop, so that `require' calls work (Bug#10593).
5300 (package-install): No need to call package-initialize now.
5301
2e7f3bea
CY
53022012-01-28 Chong Yidong <cyd@gnu.org>
5303
6e9bad14
CY
5304 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5305
f823b8ca
CY
5306 * tooltip.el (tooltip-mode): Doc fix.
5307 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5308
2680c309
CY
5309 * frame.el (set-cursor-color): Doc fix (Bug#352).
5310
d7a9e63b
CY
5311 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5312 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5313
2e7f3bea
CY
5314 * cus-edit.el (custom-buffer-create-internal): Fix search button
5315 action (Bug#10542).
2ae01800 5316 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5317
fc4f7a23
EW
53182012-01-27 Eduard Wiebe <usenet@pusto.de>
5319
5320 * dired.el (dired-mark-files-regexp):
5321 Include any subdirectory components. (Bug#10445)
5322
7dd37071
ML
53232012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5324
5325 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5326 Handle [host]:port syntax. (Bug#10533)
5327
a268160b
AH
53282012-01-27 Alex Harsanyi <harsanyi@mac.com>
5329
5330 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5331
e43273ef
GM
53322012-01-26 Glenn Morris <rgm@gnu.org>
5333
5334 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5335 * term.el (term-raw-escape-map): Use Control-X-prefix.
5336 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5337
1edf595d
MR
53382012-01-25 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (window-state-get, window--state-get-1): Don't deal
5341 with fixed-sizeness of windows. Simplify code.
5342
fa8eafef
JC
53432012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5344
6df6ae42
JB
5345 * window.el (window--state-get-1, window--state-put-2):
5346 Don't save and restore the mark.
fa8eafef 5347
0b21c100
CY
53482012-01-25 Chong Yidong <cyd@gnu.org>
5349
5350 * custom.el (custom-variable-p): Doc fix.
5351
5ae1a6c8
GM
53522012-01-25 Glenn Morris <rgm@gnu.org>
5353
40047858
GM
5354 * dired.el (dired-goto-file): Handle some of the more common
5355 characters that `ls -b' escapes. (Bug#10596)
5356
5ddce96c
GM
5357 * progmodes/compile.el (compilation-next-error-function):
5358 Respect compilation-first-column in the "*compilation*" buffer.
5359 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5360
5ae1a6c8
GM
5361 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5362
b559f1a9
GM
53632012-01-24 Glenn Morris <rgm@gnu.org>
5364
5365 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5366
6725d21a
JD
53672012-01-24 Julien Danjou <julien@danjou.info>
5368
5369 * color.el (color-rgb-to-hsl): Fix value computing.
5370 (color-hue-to-rgb): New function.
5371 (color-hsl-to-rgb): New function.
5372 (color-clamp, color-saturate-hsl, color-saturate-name)
5373 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5374 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5375
70df4bbe
GM
53762012-01-24 Glenn Morris <rgm@gnu.org>
5377
5378 * vc/vc-rcs.el (vc-rcs-create-tag):
5379 * vc/vc-sccs.el (vc-sccs-create-tag):
5380 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5381
802a2ae2
ML
53822012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5383
5384 * eshell/esh-util.el (eshell-read-hosts-file):
5385 Skip comment lines. (Bug#10549)
5386
d7128bb1
ML
5387 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5388
d1a5c3b4
JB
53892012-01-23 Juanma Barranquero <lekktu@gmail.com>
5390
2724d9c7
JB
5391 * subr.el (display-delayed-warnings): Doc fix.
5392 (collapse-delayed-warnings): New function to collapse identical
5393 adjacent warnings.
5394 (delayed-warnings-hook): Add it.
d1a5c3b4 5395
a5509865
MA
53962012-01-22 Michael Albinus <michael.albinus@gmx.de>
5397
5398 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5399
a5509865
MA
5400 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5401 (tramp-default-user-alist): Don't add "pscp".
5402 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5403 property "login-as", if set. (Bug#10530)
5404
cc6d5805
MA
54052012-01-21 Michael Albinus <michael.albinus@gmx.de>
5406
5407 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5408 "plink1" and "psftp". (Bug#10530)
5409
54102012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5411
5412 * international/mule-cmds.el (prefer-coding-system): Show a
5413 warning message if the default value of file-name-coding-system
5414 was not changed.
5415
f0960428
JC
54162012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5417
cb882333
JB
5418 * windmove.el (windmove-reference-loc):
5419 Fix windmove-reference-loc miscalculation.
f0960428 5420
dd6f2a63
JB
54212012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5422
5423 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5424 default unit.
5425
7b447e9b
GM
54262012-01-21 Glenn Morris <rgm@gnu.org>
5427
117a9ea1
GM
5428 * international/mule.el (auto-coding-alist): Add .tbz.
5429
7b447e9b
GM
5430 * files.el (local-enable-local-variables): Doc fix.
5431 (inhibit-local-variables-regexps): Rename from
5432 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5433 Doc fix. Add some extensions from auto-coding-alist.
5434 (inhibit-local-variables-suffixes):
5435 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5436 (inhibit-local-variables-p):
5437 New function, extracted from set-auto-mode-1.
5438 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5439 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5440 (hack-local-variables): Doc fix. Make the mode-only case
5441 respect enable-local-variables and friends.
5442 Respect inhibit-local-variables-regexps for file-locals, but
5443 not for directory-locals.
5444 (set-visited-file-name):
5445 Take account of inhibit-local-variables-regexps.
5446 Whether it applies may change as the file name is changed.
5447 * jka-cmpr-hook.el (jka-compr-install):
5448 * jka-compr.el (jka-compr-uninstall):
5449 Update for inhibit-first-line-modes-suffixes name change.
5450
dd6e3cdd
MR
54512012-01-20 Martin Rudalics <rudalics@gmx.at>
5452
5453 * help-macro.el (make-help-screen): Temporarily restore original
5454 binding for minor-mode-map-alist (Bug#10454).
5455
0d0deb38
JD
54562012-01-19 Julien Danjou <julien@danjou.info>
5457
5458 * color.el (color-name-to-rgb): Use the white color to find the max
5459 color component value and return correctly computed values.
5460 (color-name-to-rgb): Add missing float conversion for max value.
5461
34a02f46
MR
54622012-01-19 Martin Rudalics <rudalics@gmx.at>
5463
5464 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5465 special state value for window-persistent-parameters.
5466 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5467 (window--state-put-2): Reset all window parameters to nil before
5468 assigning values of persistent parameters.
5469
606c44c4
AM
54702012-01-18 Alan Mackenzie <acm@muc.de>
5471
5472 Eliminate sluggishness and hangs in fontification of "semicolon
5473 deserts".
5474
cb882333
JB
5475 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5476 Change value 10000 -> 3000.
606c44c4
AM
5477 (c-state-safe-place): Reformulate so it doesn't stack up an
5478 infinite number of wrong entries in c-state-nonlit-pos-cache.
5479 (c-determine-limit-get-base, c-determine-limit): New functions to
5480 determine backward search limits disregarding literals.
5481 (c-find-decl-spots): Amend commenting.
5482 (c-cheap-inside-bracelist-p): New function which detects "={".
5483
5484 * progmodes/cc-fonts.el
5485 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5486 backward search.
5487 (c-font-lock-declarations): Fix an occurrence of point being
5488 undefined. Check additionally for point being in a bracelist or
5489 near a macro invocation without a semicolon so as to avoid a
5490 fruitless time consuming search for a declarator. Give a more
5491 precise search limit for declarators using the new
5492 c-determine-limit.
5493
f3860cea
GM
54942012-01-18 Glenn Morris <rgm@gnu.org>
5495
5496 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5497 (set-auto-mode): Doc fixes.
5498
1db03b16
GM
54992012-01-17 Glenn Morris <rgm@gnu.org>
5500
0e6038be
GM
5501 * isearch.el (search-nonincremental-instead): Fix doc typo.
5502
1db03b16
GM
5503 * dired.el (dired-insert-directory): Handle newlines in directory name.
5504 (dired-build-subdir-alist): Unescape newlines in directory name.
5505
4cb0aa75
MA
55062012-01-17 Michael Albinus <michael.albinus@gmx.de>
5507
5508 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5509 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5510 (tramp-action-terminal): Use it. (Bug#10530)
5511
1d00653d
SM
55122012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5515
6a6ee00d
MR
55162012-01-16 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (window-state-ignored-parameters): Remove variable.
5519 (window--state-get-1): Rename argument MARKERS to IGNORE.
5520 Handle persistent window parameters. Make copy of clone-of
5521 parameter only if requested. (Bug#10348)
5522 (window--state-put-2): Install a window parameter only if it has
5523 a non-nil value or an existing parameter shall be overwritten.
5524
97912def
MA
55252012-01-15 Michael Albinus <michael.albinus@gmx.de>
5526
5527 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5528
688070a5
EZ
55292012-01-14 Eli Zaretskii <eliz@gnu.org>
5530
5531 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5532 don't pass the (nil) value of `upnode' to string-match.
5533
301afadc
CY
55342012-01-14 Chong Yidong <cyd@gnu.org>
5535
5536 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5537 Fix values recognized by the cursorBlink resource.
301afadc 5538
9e5788aa
PE
55392012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5540
5541 * epg.el (epg--make-temp-file): Avoid permission race condition
5542 when running on old Emacs versions (bug#10403).
5543
3cdb7f5a
GM
55442012-01-14 Glenn Morris <rgm@gnu.org>
5545
5546 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5547
8c82b1b4
AM
55482012-01-13 Alan Mackenzie <acm@muc.de>
5549
5550 Fix filling for when filladapt mode is enabled.
5551
5552 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5553 c-mask-paragraph, pass in `fill-paragraph' rather than
5554 `fill-region-as-paragraph'. (This is a reversion of a previous
5555 change.)
eb864a71
LM
5556 * progmodes/cc-mode.el (c-basic-common-init):
5557 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5558
e517eda4
GM
55592012-01-13 Glenn Morris <rgm@gnu.org>
5560
1498536e
GM
5561 * dired.el (dired-switches-escape-p): New function.
5562 (dired-insert-directory): Use dired-switches-escape-p.
5563 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5564
e517eda4
GM
5565 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5566
328f984d
GM
55672012-01-12 Glenn Morris <rgm@gnu.org>
5568
5569 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5570 changes in adaptive-fill-regexp. (Bug#10276)
5571
2cc769a8
AM
55722012-01-11 Alan Mackenzie <acm@muc.de>
5573
5574 Fix Emacs bug #10463 - put `widen's around the critical spots.
5575
1d00653d 5576 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5577 widen around each invocation of c-state-pp-to-literal. Remove an
5578 unused let variable.
5579
e52c37fa
GM
55802012-01-11 Glenn Morris <rgm@gnu.org>
5581
5582 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5583 Doc fix.
e52c37fa 5584
96f8741e
CY
55852012-01-10 Chong Yidong <cyd@gnu.org>
5586
1d00653d
SM
5587 * net/network-stream.el (network-stream-open-starttls):
5588 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5589 response to the capability command.
5590
b09a806e
GM
55912012-01-10 Glenn Morris <rgm@gnu.org>
5592
5593 * mail/unrmail.el (unrmail): Tweak previous change.
5594
7655cb66
CY
55952012-01-09 Chong Yidong <cyd@gnu.org>
5596
5597 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5598
9d5a8f0b
AM
55992012-01-08 Alan Mackenzie <acm@muc.de>
5600
5601 Optimise font locking in long enum definitions.
5602
5603 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5604 arm to a cond form to handle enums.
5605 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5606 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5607
9a0115ab 56082012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5609
5610 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5611 (Bug#10401)
6bb72cbd 5612
f186bb95
LMI
56132012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5614
29232a68
LMI
5615 * faces.el (set-face-attribute): Clarify the meaning of the nil
5616 frame (bug#10294).
5617
4e5d086d
LMI
5618 * subr.el (with-selected-frame): Mention that the selected frame
5619 is restored (bug#9980).
5620
8e66aebe
LMI
5621 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5622 (bug#9759).
5623
cd394be1 5624 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5625 (password-read): Don't autoload unused function.
5626
adf4e762
JB
56272012-01-07 Juanma Barranquero <lekktu@gmail.com>
5628
5629 * progmodes/which-func.el (which-func-mode): Turn into a
5630 non-interactive function and mark as obsolete (bug#10428).
5631
89bd9ccd
CY
56322012-01-06 Chong Yidong <cyd@gnu.org>
5633
5634 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5635 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5636 functions, along with 1 and -1.
5637
4afee9d5
EZ
56382012-01-06 Eli Zaretskii <eliz@gnu.org>
5639
5640 * time.el (display-time-load-average)
5641 (display-time-default-load-average): Doc fixes. See the thread
5642 starting at
5643 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5644 for the details.
5645
536aea70
GM
56462012-01-06 Glenn Morris <rgm@gnu.org>
5647
665ae865
GM
5648 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5649 has no messages. (Bug#10377)
5650
c869783d
GM
5651 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5652 than Info-edit. (Bug#10385)
5653
2bb4227e
GM
5654 * time.el (display-time-load-average, display-time-next-load-average):
5655 Doc fixes.
5656
7d5944b9
GM
5657 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5658 local setting of buffer-read-only to the input buffer. (Bug#10419)
5659
536aea70
GM
5660 * calendar/calendar.el (calendar-mode):
5661 Locally set scroll-margin to 0. (Bug#10379)
5662
7dccca16
UM
56632012-01-06 Ulrich Mueller <ulm@gentoo.org>
5664
5665 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5666
afbb7930
GM
56672012-01-05 Glenn Morris <rgm@gnu.org>
5668
5669 * eshell/em-unix.el (diff-no-select): Autoload it.
5670 (eshell/diff): Use diff-no-select. (Bug#10420)
5671
04482335
CY
56722012-01-05 Chong Yidong <cyd@gnu.org>
5673
7baca3bc
CY
5674 * shell.el (shell-dynamic-complete-functions): Revert last change.
5675 (shell-command-completion-function): New function.
5676 (shell-completion-vars): Use it to implement
5677 shell-completion-execonly (Bug#10417).
5678
04482335
CY
5679 * custom.el (enable-theme): Don't set custom-safe-themes.
5680
1d00653d
SM
5681 * cus-theme.el (custom-theme-merge-theme):
5682 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5683
bb5aa5d6
MM
56842012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5685
5686 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5687 first prompt in `sql-interacive-mode'.
5688 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5689 keywords.
6df6ae42 5690 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5691 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5692 context of original buffer. Invoke `sql-login-hook'.
5693
a7183d7c
EZ
56942012-01-04 Eli Zaretskii <eliz@gnu.org>
5695
5696 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5697 letters in cite-prefix.
5698
a1eacd1e
LMI
56992012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700
5701 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5702
787cdb34
CY
57032012-01-03 Chong Yidong <cyd@gnu.org>
5704
1d00653d
SM
5705 * shell.el (shell-dynamic-complete-functions):
5706 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5707 comint-filename-completion first (Bug#10417).
5708
30710442
RS
57092012-01-02 Richard Stallman <rms@gnu.org>
5710
5711 * battery.el (battery-status-function):
5712 Detect when to use battery-yeeloong-sysfs.
5713 (battery-echo-area-format): Add string for Yeeloong.
5714 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5715 (battery-yeeloong-sysfs): New function.
5716
f75bfc33
CY
57172012-01-02 Chong Yidong <cyd@gnu.org>
5718
5719 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5720 (dirtrack): Merge code for handling relative filenames in prompt
5721 from shell-dir-cookie-watcher.
5722 (dirtrack-debug-message): New arg to avoid excess format calls.
5723
5724 * shell.el (shell-dir-cookie-re): Variable deleted.
5725 (shell-dir-cookie-watcher): Function deleted.
5726 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5727 with dirtrack-mode.
5728
651e947e
EZ
57292012-01-01 Eli Zaretskii <eliz@gnu.org>
5730
1d00653d
SM
5731 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5732 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5733 libgnutls-26.dll.
5734
94d4c7dc
AS
57352011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5738
8d43f3cd
EZ
57392011-12-31 Eli Zaretskii <eliz@gnu.org>
5740
5741 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5742 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5743
98c8795a
MA
57442011-12-29 Michael Albinus <michael.albinus@gmx.de>
5745
5746 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5747 also for alternative shells.
5748 (tramp-open-connection-setup-interactive-shell): Check, whether
5749 the shell is a busybox.
5750 (tramp-send-command): Don't suppress multiple prompts for
5751 busyboxes, it hurts.
5752
51281b32
CY
57532011-12-28 Chong Yidong <cyd@gnu.org>
5754
5755 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5756 (gdb-get-source-file): Move mode line update to
5757 gdb-get-source-file (Bug#10087).
5758
2170cb53
CY
57592011-12-25 Chong Yidong <cyd@gnu.org>
5760
5761 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5762 gud-gdb-marker-filter without taking it as an argument.
5763 (gud-gdb-run-command-fetch-lines): Caller changed.
5764 (gud-gdb-completion-function): New variable.
5765 (gud-gdb-completion-at-point): Use it.
5766 (gud-gdb-completions-1): Split from gud-gdb-completions.
5767
5768 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5769 function as separate arguments.
5770 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5771 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5772 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5773 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5774 (gdb-stopped, def-gdb-auto-update-trigger)
5775 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5776 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5777 Callers changed.
2170cb53
CY
5778 (gud-gdbmi-completions): New function.
5779 (gdb): Use it for generating the completion table.
5780
be8b11bb
AM
57812011-12-24 Alan Mackenzie <acm@muc.de>
5782
5783 Introduce a mechanism to widen the region used in context font
1d00653d 5784 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5785
1d00653d
SM
5786 * progmodes/cc-langs.el (c-before-font-lock-functions):
5787 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5788 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5789 functions to be run just before context (etc.) font locking.
5790
5791 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5792 New, functionality extracted from
be8b11bb 5793 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5794 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5795 (c-after-change): Set c-in-after-change-fontification.
5796 (c-set-fl-decl-start): Rejig its interface, so it can be called
5797 from both after-change and context fontifying.
b81d40f0
JB
5798 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5799 New functions.
5800 (c-standard-font-lock-fontify-region-function): New variable.
5801 (c-font-lock-fontify-region): New function.
be8b11bb 5802
341cf6ac
JL
58032011-12-24 Juri Linkov <juri@jurta.org>
5804
5805 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5806 (Bug#10348)
5807
bffcee0a
MA
58082011-12-23 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5811 existence of source file. (Bug#10325)
5812
cb5e207c
AM
58132011-12-23 Alan Mackenzie <acm@muc.de>
5814
5815 Fix unstable fontification inside templates.
5816
b81d40f0
JB
5817 * progmodes/cc-langs.el (c-before-font-lock-functions):
5818 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5819 additionally has c-set-fl-decl-start. The other languages (apart
5820 from AWK) have that as a single entry.
5821
b81d40f0
JB
5822 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5823 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5824 c-set-fl-decl-start.
5825
b81d40f0
JB
5826 * progmodes/cc-mode.el (c-common-init, c-after-change):
5827 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5828 (c-set-fl-decl-start): New function, extracted from
5829 c-font-lock-enclosing-decls and enhanced.
5830
60ff536c
JB
58312011-12-23 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5834
1c4757d6
JL
58352011-12-22 Juri Linkov <juri@jurta.org>
5836
5837 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5838
d031f2c7
CY
58392011-12-22 Chong Yidong <cyd@gnu.org>
5840
5841 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5842
bace743a
DA
58432011-12-21 Drew Adams <drew.adams@oracle.com>
5844
5845 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5846
728a1f2b
JC
58472011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5848
5849 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5850
0d373f73
TZ
58512011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5852
fec0aaa4
TZ
5853 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5854 highlighting and support. Fix up comments for capitalization.
5855 (cfengine-mode-debug): New var.
5856 (cfengine3-mode): Change the modeline indicator to "CFE3".
5857 (cfengine3-font-lock-keywords): Improve defun highlighting.
5858 (cfengine2-actions): Rename from `cfengine-actions'.
5859 (cfengine2-font-lock-keywords): Rename from
5860 `cfengine-font-lock-keywords'.
5861 (cfengine2-imenu-expression): Rename from
5862 `cfengine-imenu-expression'.
5863 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5864 (cfengine2-beginning-of-defun): Rename from
5865 `cfengine-beginning-of-defun'.
5866 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5867 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5868 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5869 modeline indicator to "CFE2".
5870 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5871 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5872
bc86f573
CY
58732011-12-21 Chong Yidong <cyd@gnu.org>
5874
5875 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5876 filename argument.
5877
d45ba96b
MR
58782011-12-20 Martin Rudalics <rudalics@gmx.at>
5879
5880 * window.el (window-normalize-buffer-to-display): Remove.
5881 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5882
a6198c90
CY
58832011-12-19 Chong Yidong <cyd@gnu.org>
5884
5885 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5886 Don't signal an error in a predicate function; return non-nil.
5887 (vc-dir-mark-file): Move the error here.
5888 (vc-dir-mark-unmark): If acting on the region, keep going if one
5889 of the entries cannot be marked/unmarked.
5890 (vc-dir-mark-all-files): If current entry is a directory, mark
5891 only child files, as documented.
5892
34c5fb55
VB
58932011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5894
5895 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5896 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5897 addition.
5898
c803b2b7
JD
58992011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5900
5901 * term/ns-win.el (ns-get-selection-internal)
5902 (ns-store-selection-internal): Declare.
1154d12e
JB
5903 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5904 Declare as obsolete.
5905 (ns-get-pasteboard, ns-paste-secondary):
5906 Use ns-get-selection-internal.
5907 (ns-set-pasteboard, ns-copy-including-secondary):
5908 Use ns-store-selection-internal.
c803b2b7 5909
9cff91f8 59102011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5911
5912 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5913 (vc-deduce-fileset): Doc fix.
99a289d9 5914
f16c898a
AS
59152011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5916
5917 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5918
763237c4
SS
59192011-12-13 Sam Steingold <sds@gnu.org>
5920
5921 * man.el (Man-getpage-in-background): When running under a
5922 window-system, ignore $MANWIDTH and $COLUMNS.
5923
5fc1c122
KH
59242011-12-15 Kenichi Handa <handa@m17n.org>
5925
5926 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5927 (setup-ethiopic-environment-internal): Comment out key-binding for
5928 ethio-toggle-punctuation.
5929
13d49cbb
AM
59302011-12-13 Alan Mackenzie <acm@muc.de>
5931
898169a2
AM
5932 Add the switch statement to AWK Mode.
5933
7a71b18d 5934 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5935 "default" to the keywords regexp.
5936
7a71b18d 5937 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5938 expression as the rest.
1d00653d
SM
5939 (c-nonlabel-token-key): Allow string literals for AWK.
5940 Refactor for the other modes.
898169a2 5941
13d49cbb 5942 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5943 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5944 routines. Limit backward searching in c-font-lock-enclosing.decl.
5945
5946 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5947 pp-state and literal type in addition to the limits.
1d00653d 5948 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5949 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5950 (c-slow-in-literal, c-fast-in-literal): Remove.
5951 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5952
5953 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5954 being in a literal. Add a limit for backward searching.
5955
5956 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5957 c-slow-in-literal.
5958
15e0efc7
SM
59592011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5962
454592a6
MR
59632011-12-13 Martin Rudalics <rudalics@gmx.at>
5964
5965 * window.el (delete-other-windows): Use correct frame in call to
5966 window-with-parameter.
5967
87393f26
DP
59682011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5969
5970 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5971 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5972 (makefile-gmake-statements, makefile-makepp-statements):
5973 Use it and add new makepp keywords.
5974 (makefile-makepp-font-lock-keywords): Add new patterns.
5975 (makefile-match-function-end): Match new [...] and [[...]].
5976
11636b22
JB
59772011-12-11 Juanma Barranquero <lekktu@gmail.com>
5978
5979 * ses.el (ses-call-printer-return, ses-cell-property-get)
5980 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5981 (ses-create-cell-variable, ses-reset-header-string)
5982 (ses-cell-set-formula, ses-repair-cell-reference-all)
5983 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5984 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5985 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5986 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5987 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5988 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5989 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5990 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5991 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5992 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5993 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5994 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5995
cf018193
VB
59962011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5997
5998 * ses.el: The overall change is to add cell renaming, that is
5999 setting fancy names for cell symbols other than name matching
6000 "\\`[A-Z]+[0-9]+\\'" regexp .
6001 (ses-create-cell-variable): New defun.
6002 (ses-relocate-formula): Relocate formulas only for cells the
6003 symbols of which are not renamed, i.e. symbols whose names do not
6004 match regexp "\\`[A-Z]+[0-9]+\\'".
6005 (ses-relocate-all): Relocate values only for cells the symbols of
6006 which are not renamed.
6007 (ses-load): Create cells variables as the (ses-cell ...) are read,
6008 in order to check row col consistency with cell symbol name only
6009 for cells that are not renamed.
6010 (ses-replace-name-in-formula): New defun.
6011 (ses-rename-cell): New defun.
6012
ee957461
CY
60132011-12-11 Chong Yidong <cyd@gnu.org>
6014
6015 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6016 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6017
9a9e9ef0
MR
60182011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6019
6020 * window.el (other-window): Fix docstring.
6021
92a8eba5
EZ
60222011-12-10 Eli Zaretskii <eliz@gnu.org>
6023
6024 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6025 `from' or `to' address before taking its substring.
6026 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6027 encoded name is chopped in the middle of the encoded string, and
6028 thus displayed encoded.
6029
e152e577
JB
60302011-12-10 Juanma Barranquero <lekktu@gmail.com>
6031
6032 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6033
e5d84bfe
EZ
60342011-12-10 Eli Zaretskii <eliz@gnu.org>
6035
6036 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6037 to use texinfo-update-node and commands that call it if the
6038 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6039 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6040 (texinfo-all-menus-update, texinfo-master-menu)
6041 (texinfo-update-node, texinfo-every-node-update)
6042 (texinfo-multiple-files-update): Doc fix. Warn against updating
6043 all the @node lines.
6044 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6045 argument is numeric. Explain better in the doc string what the
6046 function really does.
6047 (texinfo-insert-master-menu-list): Improve the error message
6048 displayed if there's no menu in the Top node.
6049 (Bug#2975) See also this thread:
e5d84bfe
EZ
6050 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6051
1d84e9bb
MG
60522011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6053
6054 * speedbar.el (speedbar-supported-extension-expressions):
6055 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6056
382c953b
JB
60572011-12-09 Juanma Barranquero <lekktu@gmail.com>
6058
6059 * printing.el (pr-mode-alist):
6060 * simple.el (filter-buffer-substring-functions)
6061 (completion-list-insert-choice-function):
6062 * window.el (window-with-parameter, window-atom-root)
6063 (window-sides-slots, window-size-fixed, window-min-delta)
6064 (window-max-delta, window--resize-mini-window)
6065 (window--resize-child-windows-normal, window-tree)
6066 (delete-other-windows, quit-window, split-window)
6067 (display-buffer-record-window, special-display-buffer-names)
6068 (special-display-regexps, special-display-popup-frame)
6069 (same-window-p, split-window-sensibly)
6070 (display-buffer-overriding-action, display-buffer-alist)
6071 (display-buffer-base-action, display-buffer, switch-to-buffer)
6072 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6073 (fit-window-to-buffer, recenter-positions)
6074 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6075 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6076 and remove unneeded backslashes in docstrings.
6077
39c9faef
SM
60782011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6079
98449af8
SM
6080 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6081
39c9faef
SM
6082 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6083 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6084 end in ".mk".
6085 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6086 when reading the makefile (bug#10116).
6087
86ed9fdc
SM
60882011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6091 (bug#10116).
6092
5580f89d
GM
60932011-12-06 Glenn Morris <rgm@gnu.org>
6094
6095 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6096
28d3917c
CY
60972011-12-06 Chong Yidong <cyd@gnu.org>
6098
6099 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6100
a98edce9
JB
61012011-12-06 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * textmodes/table.el (table-shorten-cell): Fix typo.
6104
e65adfac
CG
61052011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6106
6107 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6108
71cc0b74
EZ
61092011-12-05 Eli Zaretskii <eliz@gnu.org>
6110
6111 * descr-text.el (describe-char): Fix display of strong
6112 right-to-left characters and directional embeddings and overrides.
6113
6114 * simple.el (what-cursor-position): Fix display of codepoints of
6115 strong right-to-left characters.
6116
315bc30d
CY
61172011-12-05 Chong Yidong <cyd@gnu.org>
6118
6119 * faces.el (read-color): Doc fix.
6120
58a70b94
GM
61212011-12-05 Glenn Morris <rgm@gnu.org>
6122
6123 * align.el (align--set-marker): Add doc-string.
6124 Don't try to move something that is not a marker. (Bug#10216)
6125
5158face
GM
61262011-12-04 Glenn Morris <rgm@gnu.org>
6127
6128 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6129 overly zealous deletion of trailing whitespace.
6130
520fca41
JB
61312011-12-04 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * server.el (server-delete-client): On Windows, do not try to delete
6134 the only terminal.
6135 (server-process-filter): On Windows, treat requests for a tty frame as
6136 if they were for a GUI frame if the running server is in GUI mode.
6137
5e605a2e
GM
61382011-12-03 Glenn Morris <rgm@gnu.org>
6139
6140 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6141
5c3fe83f
SM
61422011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6f5e57e7
SM
6144 * electric.el: Streamline electric-indent's hook.
6145 (electric-indent-chars): Revert to simple list.
6146 (electric-indent-functions): New var.
6147 (electric-indent-post-self-insert-function): Use it.
6148
5c3fe83f
SM
6149 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6150 there's no inferior buffer (bug#10196).
6151 (prolog-consult-compile): Don't use toggle-read-only.
6152
6bdac736
MA
61532011-12-02 Michael Albinus <michael.albinus@gmx.de>
6154
6155 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6156 interrupt. (Bug#10187)
6157
6131ba7f
SM
61582011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6159
99c79fee
SM
6160 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6161 (bug#9160).
6162
6131ba7f
SM
6163 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6164 (bug#10191).
6165
cb0a02ea
JL
61662011-12-02 Juri Linkov <juri@jurta.org>
6167
6168 * info.el (Info-search): Display "end of manual" when Isearch
6169 reaches the end of single-file Info manual. (Bug#9918)
6170
66e0570c
EZ
61712011-12-02 Eli Zaretskii <eliz@gnu.org>
6172
6173 * isearch.el (isearch-message-prefix): Run the input method part
6174 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6175
02b16839
JL
61762011-12-02 Juri Linkov <juri@jurta.org>
6177
6178 * isearch.el (isearch-occur): Use `word-search-regexp' for
6179 `isearch-word'.
6180 (isearch-search-and-update): Add condition for `isearch-word' and
6181 call `word-search-regexp'. (Bug#10145)
6182
0b950688
GM
61832011-12-01 Glenn Morris <rgm@gnu.org>
6184
6185 * eshell/em-hist.el (eshell-hist-initialize):
6186 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6187 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6188
9505c3c7
SM
61892011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6192
1bbe96b2 61932011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6194
a1beca85
SM
6195 * progmodes/verilog-mode.el (verilog-pretty-expr):
6196 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6197 verilog, such as += *= and the like.
6198 (verilog-assignment-operator-re): Regular expression to find the
6199 assigment operator in a verilog assignment.
6200 (verilog-assignment-operation-re): Regular expression to find an
6201 assignment statement for pretty-expr.
6202 (verilog-in-attribute-p): Query returns true if point is in an
6203 attribute context; used to skip these for expression line up from
6204 pretty-expr.
6205 (verilog-in-parameter-p): Query returns true if point is in an
6206 parameter definition context; used to skip these for expression
6207 line up from pretty-expr.
6208 (verilog-in-parenthesis-p): Query returns true if point is in a
6209 parenthetical expression, specifically ( ) but not [ ] or { };
6210 used by pretty-expr.
6211 (verilog-just-one-space): If there is no space, don't add one.
6212 (verilog-get-lineup-indent-2): Specifically skip just attribute
6213 contexts for expression lineup, rather than skipping all
6214 parenthetical expressions.
6215 (verilog-calculate-indent): Fix comment, and fix indent.
6216 (verilog-do-indent): Indent declarations in lists (suggested by
6217 Joachim Lechner).
6218 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6219 skeleton items.
6220 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6221 by Alain Mellan).
6222
1bbe96b2 62232011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6224
6225 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6226 parameters with embedded comments. Reported by Ray Stevens.
6227 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6228 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6229 Reported by Tim Holt.
6230 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6231 instantiated by upper module causing wrong expansion until AUTOed a
6232 second time. Reported by K C Buckenmaier.
6233 (verilog-diff-auto): Fix showing .* as a difference when
6234 `verilog-auto-star-save' off. Reported by Dan Dever.
6235 (verilog-auto-reset, verilog-read-always-signals)
6236 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6237 temporary signals in reset list if
6238 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6239 style to each signal's assignment type, bug381.
6240 Reported by Thomas Esposito.
6288f0ca
WS
6241 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6242 (verilog-uvm-statement-re): Support UVM indentation and
6243 highlighting, with old OVM keywords only.
a1beca85 6244 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6245 Support AUTOTIEOFF creating non-wire data types.
6246 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6247 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6248 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6249 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6250 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6251 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6252 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6253 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6254 non-numeric vector width. Reported by Alex Reed.
6255 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6256 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6257 (verilog-auto-delete-trailing-whitespace):
6258 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6259 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6260 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6261 Fix verilog-scan-cache corruption when running user AUTO expansion
6262 hooks that call indentation routines.
6263 (verilog-simplify-range-expression): Fix typo ignoring lower case
6264 identifiers.
6265 (verilog-delete-auto): Fix delete-autos to also remove user created
6266 automatics, as long as they start with AUTO.
6267 (verilog-batch-diff-auto, verilog-diff-auto)
6268 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6269 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6270 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6271 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6272 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6273 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6274 is disabled and its cache will get corrupt, causing AUTOS not to
6275 expand. Instead use only -quick functions.
6276 (verilog-scan-region): Fix scanning over escaped quotes.
6277 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6278 (verilog-re-search-backward-quick)
6279 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6280 related functions now ignore strings, to fix misparsing of strings
6281 with magic comments embedded in them.
a1beca85
SM
6282 (verilog-read-auto-template):
6283 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6284 Reported by Brad Dobbie.
6285 (verilog-read-auto-template):
6286 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6287 Reported by Brad Dobbie.
6288f0ca
WS
6288 (verilog-auto-inst, verilog-auto-inst-param)
6289 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6290 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6291 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6292 debugging templates without merge conflicts, bug357.
6293 Reported by Brad Dobbie.
6294 (verilog-read-auto-template):
6295 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6296 Reported by Brad Dobbie.
6297 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6298 abbrevs so user won't be asked to save.
6299 (verilog-read-auto-lisp-present): Fix to start at beginning of
6300 buffer in case called outside of verilog-auto.
6301 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6302 to "X-2". Reported by Matthew Myers.
6303 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6304 all inputs from module templates. Reported by Leith Johnson.
6305 (verilog-module-inside-filename-p): Fix locating programs as with
6306 modules.
6307 (verilog-auto-inst-port): Fix vl-width expressions when using
6308 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6309 (verilog-decls-get-regs, verilog-decls-get-signals,
6310 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6311 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6312 verilog-read-decls): Combine reg and wire structures into one var
6313 structure to represent SystemVerilog concepts.
6314 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6315 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6316 (verilog-auto-wire-type, verilog-insert-definition):
6317 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6318 SystemVerilog "logic" keyword instead of "wire"/"reg".
6319 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6320 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6321 ifdef or generate if so there's not a driver conflict).
6322 Reported by Matthew Myers.
6323 (verilog-auto-declare-nettype, verilog-insert-definition):
6324 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6325 `default_nettype none. Reported by Julian Gorfajn.
6326 (verilog-read-always-signals-recurse, verilog-read-decls)
6327 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6328 malformed end statement, bug325. Reported by Joshua Wise and
6329 Andrew Drake.
6330 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6331 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6332 when expanding .* in interfaces, bug320.
6333 Reported by Pierre-David Pfister.
6288f0ca 6334 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6335 name and open parenthesis, bug317.
6336 Reported by Pierre-David Pfister.
6288f0ca
WS
6337 (verilog-simplify-range-expression): Fix simplification of
6338 multiplications inside AUTOWIRE connections, bug303.
6339 (verilog-auto-inst-port): Support parameter expansion in
6340 multidimensional arrays.
6341 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6342 after "assert property". Reported by Julian Gorfajn.
6343 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6344 with multiplication, bug303.
6345 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6346 Reported by Jan Frode Lonnum.
6347
1bbe96b2
GM
63482011-11-30 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6351 (hfy-shell-file-name, hfy-shell):
6352 * international/fontset.el (x-decompose-font-name): Fix typos.
6353
63542011-11-29 Ken Brown <kbrown@cornell.edu>
6355
6356 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6357 (gdb-version): Remove defvar.
6358 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6359 (gdb-gud-context-command, gdb-non-stop-handler)
6360 (gdb-current-context-command, gdb-stopped): Use it.
6361 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6362 (gdb-non-stop-handler): Don't enable pretty-printing here.
6363 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6364 non-stop mode. Use the following.
6365 (gdb-check-target-async): New defun.
6366 (gud-watch, gdb-stopped): Fix whitespace.
6367 (gdb-get-source-file): Don't try to display the source file if
6368 `gdb-main-file' is nil.
6369
63702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * align.el: Try to generate fewer markers (bug#10047).
6373 (align--set-marker): New macro.
6374 (align-region): Use it.
6375
c935221f
SM
63762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6379
e70b5064
CY
63802011-11-29 Chong Yidong <cyd@gnu.org>
6381
6382 * indent.el (indent-for-tab-command, indent-according-to-mode):
6383 Doc fix.
6384 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6385
f3af92b7
MA
63862011-11-29 Michael Albinus <michael.albinus@gmx.de>
6387
6388 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6389 aware of remote file names. (Bug#10124)
6390
ed472be9
CY
63912011-11-29 Chong Yidong <cyd@gnu.org>
6392
6393 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6394
24510c22
SM
63952011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * files.el (find-file): Don't use force-same-window (bug#10144).
6398 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6399 use pop-to-buffer if the selected window can't be used.
6400 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6401
c60c3703
EZ
64022011-11-28 Eli Zaretskii <eliz@gnu.org>
6403
6404 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6405 special-mode-map.
6406
e95def75
CY
64072011-11-28 Chong Yidong <cyd@gnu.org>
6408
6409 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6410
c3f1c606
NR
64112011-11-27 Nick Roberts <nickrob@snap.net.nz>
6412
6413 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6414 gdb-get-source-file-list on gdb-create-source-file-list.
6415
00db469c
EZ
64162011-11-26 Eli Zaretskii <eliz@gnu.org>
6417
6418 * whitespace.el (whitespace-newline): Use a different foreground
6419 color for 16-color light-background displays.
6420
4ad3bc2a
CY
64212011-11-24 Chong Yidong <cyd@gnu.org>
6422
6423 * window.el (display-buffer--special-action): Doc fix.
6424
e9fce1ac
JB
64252011-11-25 Juanma Barranquero <lekktu@gmail.com>
6426
6427 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6428 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6429 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6430 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6431 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6432 (avl-tree-stack-first):
6433 * emacs-lisp/cconv.el (cconv--analyse-use):
6434 * net/gnutls.el (gnutls-negotiate): Fix typos.
6435
cb825e5d
GM
64362011-11-24 Glenn Morris <rgm@gnu.org>
6437
3adbe224
GM
6438 * lpr.el (lpr-windows-system, lpr-lp-system):
6439 * mail/binhex.el (binhex-begin-line):
6440 * progmodes/grep.el (grep-history, grep-find-history):
6441 * textmodes/flyspell.el:
6442 * vc/pcvs-defs.el (cvs-global-menu):
6443 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6444 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6445 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6446
321decc8
GM
6447 * net/tls.el: Fix case of "GnuTLS".
6448
420b63ad
GM
6449 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6450
cb825e5d
GM
6451 * version.el (emacs-build-system): Give it a doc-string.
6452
a0649f08
JL
64532011-11-24 Juri Linkov <juri@jurta.org>
6454
6455 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6456
c0bc0fd4
GM
64572011-11-24 Glenn Morris <rgm@gnu.org>
6458
6459 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6460 if called on a non-mime message just toggle the headers. (Bug#8006)
6461
20db1522
JB
64622011-11-24 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6465 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6466 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6467 (allout-rebullet-heading, allout-open-sibtopic)
6468 (allout-toggle-current-subtree-encryption)
6469 (allout-toggle-subtree-encryption, allout-encrypt-string)
6470 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6471 (allout-distinctive-bullets-string, allout-auto-activation):
6472 * window.el (window-normalize-buffer-to-display):
6473 * progmodes/verilog-mode.el (verilog-batch-indent):
6474 * textmodes/bibtex.el (bibtex-field-braces-opt)
6475 (bibtex-field-strings-opt):
6476 * vc/cvs-status.el (cvs-tree-merge):
6477 Fix typos.
6478
7262a87c
MA
64792011-11-23 Michael Albinus <michael.albinus@gmx.de>
6480
6481 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6482 `non-essential' to t, in order to avoid remote connections.
6483
283430a1
EZ
64842011-11-23 Eli Zaretskii <eliz@gnu.org>
6485
a1beca85
SM
6486 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6487 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6488 case-insensitively.
6489
d2992a38
ML
64902011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6491
6492 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6493
50419064
GM
64942011-11-23 Glenn Morris <rgm@gnu.org>
6495
da94eca1
GM
6496 * paths.el (rmail-file-name): Reformat the doc-string so that it
6497 is picked up.
6498
9aac4de2
GM
6499 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6500 (rmail-auto-file): Ignore case in the "special" field names,
6501 as mail-fetch-field does for all others.
6502
8038d2d2
GM
6503 * mail/rmail.el (rmail-forward):
6504 * mail/rmailkwd.el (rmail-set-label):
6505 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6506 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6507
f3fe222a
GM
6508 * mail/rmail.el (rmail-current-message): Doc fix.
6509
50419064
GM
6510 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6511
28109f49
SM
65122011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6515
394c65f1
GM
65162011-11-22 Glenn Morris <rgm@gnu.org>
6517
6518 * mail/rmailmm.el (test-rmail-mime-handler)
6519 (test-rmail-mime-bulk-handler)
6520 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6521
f2a0aa3a
JL
65222011-11-21 Juri Linkov <juri@jurta.org>
6523
1154d12e
JB
6524 * calc/calc.el (calc-read-key-sequence):
6525 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6526
9c34a344
LMI
65272011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6528
6529 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6530 Tell the caller that the next line needs recomputation, even
6531 though it doesn't start a sexp (bug#10094).
6532
f04a3be9
SM
65332011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6536
7978747f
SM
65372011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6538
f04a3be9
SM
6539 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6540 Use force-same-window.
7978747f 6541
fe7a3057
JB
65422011-11-20 Juanma Barranquero <lekktu@gmail.com>
6543
6544 * descr-text.el (describe-char-unicode-data):
6545 * json.el (json-string-escape):
6546 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6547 (Footnote-unicode, Footnote-style-p):
6548 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6549
24901d61
CY
65502011-11-20 Chong Yidong <cyd@gnu.org>
6551
6552 * window.el (replace-buffer-in-windows): Restore interactive spec.
6553
bac7ff22
SM
65542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6555
24f3d7b9
SM
6556 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6557
bac7ff22
SM
6558 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6559 (byte-compile-global-not-obsolete-vars): New var.
6560 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6561 Use it.
6562 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6563
cd1181db
JB
65642011-11-20 Juanma Barranquero <lekktu@gmail.com>
6565
6566 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6567 * progmodes/pascal.el (electric-pascal-equal):
6568 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6569 * xml.el (xml-substitute-special): Fix typos.
6570
7fb18e9e
GM
65712011-11-20 Glenn Morris <rgm@gnu.org>
6572
6573 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6574 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6575 Doc fixes.
6576 (rmail-decode-mime-charset): Mark as obsolete.
6577
6578 * mail/rmailsum.el (rmail-message-regexp-p-1):
6579 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6580 Before using mime functions, check they are set. (Bug#10077)
6581
d5a6b3ba
JL
65822011-11-19 Juri Linkov <juri@jurta.org>
6583
6584 * info.el (Info-finder-find-node): Use `package--builtins' instead
6585 of `package-alist'. Use node names formed by the pattern "Keyword "
6586 and the keyword name.
6587
e981b61f
AS
65882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6589
1d00653d 6590 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6591
3ffbc301
JL
65922011-11-19 Juri Linkov <juri@jurta.org>
6593
6594 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6595 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6596 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6597 `old-history', `old-history-forward'. Add let-binding
6598 `window-selected'. Remove calls to `kill-buffer',
6599 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6600 before calling `Info-find-node', so `Info-find-node-2' will reread
6601 the Info file. Restore window positions only when `window-selected'
6602 is non-nil.
6603
30c62133
JL
66042011-11-19 Juri Linkov <juri@jurta.org>
6605
6606 * isearch.el (isearch-lazy-highlight-new-loop):
6607 Remove condition `(not isearch-error)'. (Bug#9918)
6608
6609 * misearch.el (multi-isearch-search-fun): Add condition
6610 `(not bound)' to ignore lazy-highlighting search.
6611 Add the search-failed message "end of multi" when the end of
6612 multi-sequence is reached. Uncapitalize the search-failed
6613 message "Repeat for next buffer".
6614
6615 * info.el (Info-search): Add the search-failed message
6616 "end of the manual" when the end of the manual is reached
6617 in Isearch mode.
6618
645ca9cf
JL
66192011-11-19 Juri Linkov <juri@jurta.org>
6620
6621 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6622 Use non-destructive `remove' instead of `delete' because
6623 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6624 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6625
df754f66
JL
66262011-11-19 Juri Linkov <juri@jurta.org>
6627
6628 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6629 to nil instead of binding `search-ring' and `regexp-search-ring'.
6630 (Bug#9185)
6631
0e23d96a
EZ
66322011-11-19 Eli Zaretskii <eliz@gnu.org>
6633
6634 * simple.el (line-move): Force movement by logical lines for any
6635 hscrolled window, not only when auto-hscroll-mode is on.
6636 (line-move-visual): Update doc string to that effect. (Bug#10076)
6637
8a6ccb66
AS
66382011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6639
6640 * language/european.el (macintosh): Define as alias for mac-roman.
6641
49ae5b39
EZ
66422011-11-19 Eli Zaretskii <eliz@gnu.org>
6643
6644 * mail/rmailmm.el (rmail-mime-display-header)
6645 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6646 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6647 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6648 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6649 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6650 of a raw aref.
6651 (rmail-mime-entity-segment): To get past the tagline, move forward
6652 2 more lines, to account for the 2 empty lines that precede and
6653 follow the line with the buttons.
6654 (rmail-mime-update-tagline): Move one more line, to get past the
6655 empty line that follows the buttons in the tagline. (Bug#9520)
6656
c56cad4a
MR
66572011-11-19 Martin Rudalics <rudalics@gmx.at>
6658
6659 * window.el (window-max-delta-1, window-min-delta-1)
6660 (window-min-size-1, window-state-get-1, window-state-put-1)
6661 (window-state-put-2): Use "window--" prefix.
6662
cbe71af3
SM
66632011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6664
2ad52c60
SM
6665 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6666 (smie-warning-count): New var.
6667 (smie-set-prec2tab): Use it.
6668 (smie-bnf->prec2): Improve warnings. Add docstring.
6669 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6670 (smie-bnf--set-class): New function.
6671 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6672 corner case.
6673
6944dbc1
SM
6674 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6675 (compilation-error-properties, compilation-move-to-column):
6676 Handle compilation-first-column while in the target buffer.
6677
c400c4d7
SM
6678 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6679 Don't hardcode point-min==1.
6680
6dbe3e96
SM
6681 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6682 (eshell-rewrite-for-command): Remove workaround.
6683 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6684 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6685 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6686
cbe71af3
SM
6687 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6688
a8e1496d
GM
66892011-11-17 Glenn Morris <rgm@gnu.org>
6690
6691 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6692 Ignore buffer-local generated-autoload-file if it is the same
6693 as the global value. (Bug#10049)
6694
df85d315
JB
66952011-11-17 Juanma Barranquero <lekktu@gmail.com>
6696
6697 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6698 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6699 (reftex-toc-previous-heading, reftex-toc-max-level)
6700 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6701 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6702 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6703 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6704 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6705 (reftex-toc-rename-label, reftex-toc-visit-location)
6706 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6707 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6708 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6709 leaving "*toc*" only for references to the buffer.
6710
a0c2d0ae
MR
67112011-11-17 Martin Rudalics <rudalics@gmx.at>
6712
6713 * window.el (window-resize, delete-window, split-window):
6714 Replace window-splits by window-combination-resize.
1d00653d 6715 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6716
35c0bac8
GM
67172011-11-17 Glenn Morris <rgm@gnu.org>
6718
6719 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6720 Make bash entry derive from sh entry, not shell entry.
6721
d0c8fc8a
MA
67222011-11-16 Michael Albinus <michael.albinus@gmx.de>
6723
7262a87c
MA
6724 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6725 local file name.
6726
7877f373
JB
67272011-11-16 Juanma Barranquero <lekktu@gmail.com>
6728
6729 * menu-bar.el (menu-bar-file-menu):
6730 * printing.el (pr-ps-utility):
6731 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6732 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6733 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6734 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6735 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6736 (icalendar--convert-cyclic-to-ical)
6737 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6738 (icalendar--convert-ical-to-diary)
6739 (icalendar--convert-recurring-to-diary)
6740 (icalendar--convert-non-recurring-all-day-to-diary)
6741 (icalendar-import-format-sample):
6742 * progmodes/idlw-shell.el (idlwave-shell-mode):
6743 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6744 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6745 (vhdl-ps-print-init): Fix typos.
6746
10649b82
KM
67472011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6748
9d0cfcd6
GM
6749 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6750 FSF and collapse date sequence, obscure author/maintainer email address
6751 better, remove extra version line, track relocation of author's webpage.
10649b82 6752
9d0cfcd6
GM
6753 * progmodes/python.el (python-pdbtrack-input-prompt)
6754 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6755 regular python pdb prompts. Adjustments shamelessly taken exactly as
6756 suggested in EmacsWiki page (tiny change):
6757 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6758
58179cce
JB
67592011-11-16 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * expand.el (expand-pos, expand-index, expand-point):
6762 Remove redundant info from docstring.
6763 (expand-add-abbrevs): Doc fix.
6764 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6765 (expand-sample-perl-mode-expand-list): Fix typos.
6766
6767 * net/dbus.el (dbus-event-member-name):
6768 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6769 * term/pc-win.el (msdos-create-frame-with-faces):
6770 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6771
b6f67890
MR
67722011-11-16 Martin Rudalics <rudalics@gmx.at>
6773
6774 * window.el (split-window, window-state-get-1)
6775 (window-state-put-1, window-state-put-2): Rename occurrences of
6776 window-nest to window-combination-limit.
1d00653d 6777 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6778
ce7ddba0
CY
67792011-11-16 Chong Yidong <cyd@gnu.org>
6780
6781 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6782 regexp (Bug#10033).
6783
3ae704f4
SM
67842011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6787 `completing-read' will remove *Completions* and will preserve
6788 current-buffer for us.
6789 (tmm-add-prompt): Users of *Completions* will always (re)set its
6790 major mode.
6791 (tmm-old-comp-map): Remove.
6792
6ad1cdde
GM
67932011-11-16 Glenn Morris <rgm@gnu.org>
6794
6795 * mail/rmailedit.el: Require rmailmm when compiling.
6796 (rmail-old-mime-state): New declaration.
6797 (rmail-edit-current-message): If editing a mime message,
6798 edit the "raw" message from the mbox buffer.
6799 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6800
d20faa20
GM
68012011-11-15 Glenn Morris <rgm@gnu.org>
6802
6803 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6804 which wasn't being used. Add optional arg to force given state.
6805 (rmail-mime): Add optional arg to force given state.
6806
c7015153
JB
68072011-11-15 Juanma Barranquero <lekktu@gmail.com>
6808
6809 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6810 * frame.el (display-mm-dimensions-alist):
6811 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6812 (outline-move-subtree-down):
6813 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6814 (newsticker--treeview-do-get-node):
6815 * net/quickurl.el (quickurl-list-buffer-name):
6816 * progmodes/dcl-mode.el (dcl-mode):
6817 * progmodes/gdb-mi.el (gdb-mapcar*):
6818 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6819
45261b50
GM
68202011-11-15 Glenn Morris <rgm@gnu.org>
6821
6822 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6823 in a boolean sense, so just make it a boolean, and fix the doc.
6824 (rmail-show-mime-function, rmail-mime-feature)
6825 (rmail-require-mime-maybe): Doc fixes.
6826 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6827
6828 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6829
0d26e0b6
JB
68302011-11-15 Juanma Barranquero <lekktu@gmail.com>
6831
6832 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6833 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6834 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6835 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6836
447f30f6
GM
68372011-11-15 Glenn Morris <rgm@gnu.org>
6838
672b871d
GM
6839 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6840 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6841 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6842 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6843 (rmail-mime, rmail-show-mime): Doc fixes.
6844
f6aa5bb1
GM
6845 * term/ns-win.el (mode-line-frame-identification):
6846 Leave it alone. (Bug#10051)
6847
947cd66b
GM
6848 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6849
447f30f6
GM
6850 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6851 Handle empty buffers. (Bug#9978)
6852
0b381c7e
JB
68532011-11-14 Juanma Barranquero <lekktu@gmail.com>
6854
6855 * international/mule.el (define-charset):
6856 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6857 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6858 * progmodes/verilog-mode.el (verilog-backward-token):
6859 * textmodes/ispell.el (lookup-words):
6860 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6861
71e027ac
GM
68622011-11-14 Glenn Morris <rgm@gnu.org>
6863
56632ce4
GM
6864 * progmodes/executable.el
6865 (executable-make-buffer-file-executable-if-script-p):
6866 Handle file-modes returning nil.
6867
40500957
GM
6868 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6869 message - not necessary, and causes problems. (Bug#9831)
6870
071c2340
GM
6871 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6872
d3cfca60
GM
6873 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6874
71e027ac
GM
6875 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6876 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6877 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6878
89d61221
MR
68792011-11-12 Martin Rudalics <rudalics@gmx.at>
6880
6881 * window.el (window-resize, delete-window): Use window-splits
6882 variable instead of function.
6883 (window-state-get-1, window-state-put-2, window-state-put):
6884 Don't deal with windows' splits status.
6885
98282f6f
GM
68862011-11-12 Glenn Morris <rgm@gnu.org>
6887
6888 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6889 (apropos-documentation): Doc fixes.
6890
40a8bdf6
JB
68912011-11-11 Juanma Barranquero <lekktu@gmail.com>
6892
6893 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6894 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6895
65bd19ff
SM
68962011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * electric.el (electric-indent-post-self-insert-function): Make it
6899 possible for a char to only indent in some circumstances.
6900 (electric-indent-mode): Simplify.
6901
54f9154c
MR
69022011-11-11 Martin Rudalics <rudalics@gmx.at>
6903
6904 * window.el (windows-with-parameter): Remove unused function.
6905 (windows-at-side): Rename to window-at-side-list.
6906 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6907 (window-side-check, window-size-ignore, window-size-fixed-1)
6908 (window-in-direction-2): Prefix with "window--".
6909 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6910
68cbc58b
GM
69112011-11-11 Glenn Morris <rgm@gnu.org>
6912
6913 * subr.el (eval-after-load): If FILE is already loaded,
6914 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6915
b2621720
GM
69162011-11-10 Glenn Morris <rgm@gnu.org>
6917
9a4de110
GM
6918 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6919 Call svn via vc-svn-command rather than vc-do-command.
6920 (vc-svn-command): Add --non-interactive. (Bug#9993)
6921 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6922
b2621720
GM
6923 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6924 Add toggle-read-only. (Bug#7292)
6925 * files.el (toggle-read-only): Mention that it should only
6926 be used interactively. (Bug#10006)
6927
1dce7193
SM
69282011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6929
d9ac1a1e
SM
6930 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6931 Adjust regexp for OCaml warnings.
6932
0c325082
SM
6933 * electric.el (electric-pair-post-self-insert-function): Let user
6934 turn it off buffer-locally (bug#9932).
6935
90132c14
SM
6936 * progmodes/python.el (python-beginning-of-statement):
6937 Rewrite (bug#2703).
6938
1dce7193
SM
6939 * progmodes/compile.el: Better handle TABs (bug#9749).
6940 (compilation-internal-error-properties)
6941 (compilation-next-error-function): Obey the target buffer's
6942 compilation-error-screen-columns.
6943
c4e7c63a
JB
69442011-11-09 Juanma Barranquero <lekktu@gmail.com>
6945
6946 * progmodes/meta-mode.el: Remove obsolete comments.
6947 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6948 Fix typos in docstrings.
6949
2cffd681
MR
69502011-11-09 Martin Rudalics <rudalics@gmx.at>
6951
6952 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6953 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6954 (window--resizable): New function. Make all callers of
6955 window-resizable call window--resizable instead.
6956 (window-resizable): Rewrite in terms of window--resizable.
6957
0edcba87
GM
69582011-11-08 Glenn Morris <rgm@gnu.org>
6959
6960 * progmodes/delphi.el (delphi-mode-syntax-table):
6961 Let define-derived-mode define a proper syntax table. (Bug#9994)
6962
4b0d61e3
SM
69632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * window.el: Stay away from defsubst.
6966 (window-list-no-nils): Remove.
6967 (window-state-get-1, window-state-get): Use backquote instead.
6968
cd394be1 69692011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6970
4b0d61e3 6971 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6972 Fix incorrect use of default argument in `completing-read'.
6973
e1c2c6f2
MR
69742011-11-08 Martin Rudalics <rudalics@gmx.at>
6975
6976 * window.el (display-buffer-function, special-display-function):
6977 Mention display-buffer-record-window but do not mention
6978 help-setup parameter in doc-strings.
b3f4a882 6979 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6980
105216ed
CY
69812011-11-08 Chong Yidong <cyd@gnu.org>
6982
6983 * window.el (window-total-height, window-total-width): Doc fix.
6984 (window-body-size): Move from C.
6985 (window-body-height, window-body-width): Move to C.
6986
0a9f9ab5
SM
69872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * window.el: Make special-display like display-buffer-alist (bug#9532).
6990 (display-buffer--special-action): New function, morphed
6991 from display-buffer--special.
6992 (display-buffer): Use it to handle special-display-buffers at higher
6993 priority (just after display-buffer-alist).
6994 (display-buffer-fallback-action, display-buffer--other-frame-action)
6995 (pop-to-buffer-same-window): Remove display-buffer--special.
6996
a769dd15
GM
69972011-11-07 Glenn Morris <rgm@gnu.org>
6998
6999 * calendar/cal-menu.el (cal-menu-set-date-title):
7000 Do nothing if not in a calendar. (Bug#9976)
7001
05a61ee3
SM
70022011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 * files.el (find-file): Always use selected-window.
7005
be7f5545
MR
70062011-11-07 Martin Rudalics <rudalics@gmx.at>
7007
7008 * window.el (window-combinations): Make WINDOW argument
7009 mandatory. Rewrite doc-string.
7010 (walk-window-subtree, window-atom-check, window-min-delta)
7011 (window-max-delta, window--resize-this-window)
7012 (window--resize-root-window-vertically, window-tree)
7013 (balance-windows, window-state-put): Rewrite doc-strings as to
7014 not mention the term "subwindow".
7015 (window--resize-subwindows-skip-p): Rename to
7016 window--resize-child-windows-skip-p.
7017 (window--resize-subwindows-normal): Rename to
7018 window--resize-child-windows-normal.
7019 (window--resize-subwindows): Rename to
7020 window--resize-child-windows.
7021 (window-or-subwindow-p): Rename to window--in-subtree-p.
7022
3c6702ef
ML
70232011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7024
7025 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7026 Ensure that mbox format messages end in two newlines (Bug#9974).
7027
49745b39
CY
70282011-11-06 Chong Yidong <cyd@gnu.org>
7029
7030 * window.el (window-combination-p): Function deleted; its
7031 side-effect is not used in any existing code.
7032 (window-combinations, window-combined-p): Call window-*-child
7033 directly.
7034
24300f5f
CY
70352011-11-05 Chong Yidong <cyd@gnu.org>
7036
7037 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7038 (window-size-ignore, window-state-get): Callers changed.
7039 (window-normalize-window): Rename from window-normalize-any-window.
7040 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7041 (window-normalize-live-window): Delete.
447f16b8
CY
7042 (window-combination-p, window-combined-p, window-combinations)
7043 (walk-window-subtree, window-atom-root, window-min-size)
7044 (window-sizable, window-sizable-p, window-size-fixed-p)
7045 (window-min-delta, window-max-delta, window-resizable)
7046 (window-resizable-p, window-full-height-p, window-full-width-p)
7047 (window-current-scroll-bars, window-point-1, set-window-point-1)
7048 (window-at-side-p, window-in-direction, window-resize)
7049 (adjust-window-trailing-edge, maximize-window, minimize-window)
7050 (window-deletable-p, delete-window, delete-other-windows)
7051 (record-window-buffer, unrecord-window-buffer)
7052 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7053 (quit-window, split-window, window-state-put)
7054 (set-window-text-height, fit-window-to-buffer)
7055 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7056
89bd5ee1
EZ
70572011-11-04 Eli Zaretskii <eliz@gnu.org>
7058
53479029
EZ
7059 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7060 rfc2047-decode-string.
7061 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7062 warnings.
7063
89bd5ee1
EZ
7064 * window.el (window-body-height, window-body-width): Mention in
7065 the doc string that the return values are in frame's canonical
7066 units. (Bug#9949)
7067
bd17fdee
AM
70682011-11-03 Alan Mackenzie <acm@muc.de>
7069
7070 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7071 change in cc-engine.el.
7072
acc825c5
SM
70732011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7076
1885e5b8
MR
70772011-11-02 Martin Rudalics <rudalics@gmx.at>
7078
7079 * window.el (quit-window): Call unrecord-window-buffer after
7080 showing another buffer in the window. (Bug#9937)
acc825c5 7081 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7082
ebe06da9
JB
70832011-11-02 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7086 Accept status with more than 9 shelves. (Bug#9935)
7087 Reported by Colin D Bennett <colin@gibibit.com>.
7088
4ee88440
MR
70892011-11-01 Martin Rudalics <rudalics@gmx.at>
7090
7091 * help.el (with-help-window): Don't reference
7092 temp-buffer-show-specifiers in doc-string.
7093
08e1d82c
AS
70942011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7095
7096 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7097 menu-item.
7098
84bd6e9e
VJL
70992011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7100
7101 * whitespace.el: New version 13.2.2.
7102 (whitespace-newline-mode): Disable properly. Reported by Sarah
7103 <EmacsWiki>.
7104
dba0634a
UJ
71052011-10-30 Ulf Jasper <ulf.jasper@web.de>
7106
7107 * net/newst-treeview.el: Remove "Time-stamp".
7108 (newsticker--group-manage-orphan-feeds): Do not call
7109 newsticker--treeview-tree-update.
db22a3c2
JB
7110 (newsticker-treeview-update, newsticker-treeview):
7111 Call newsticker--treeview-tree-update if necessary.
dba0634a 7112
3d8daefe
MR
71132011-10-30 Martin Rudalics <rudalics@gmx.at>
7114
7115 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7116 (window-iso-combinations): Remove "iso-" infix.
7117 Suggested by Chong Yidong.
3d8daefe
MR
7118 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7119 (window-max-delta-1, window-resize, window--resize-siblings)
7120 (window--resize-this-window, adjust-window-trailing-edge)
7121 (split-window, balance-windows-1)
7122 (shrink-window-if-larger-than-buffer):
7123 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7124 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7125
1bc4c3ae
SM
71262011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7129 in place (bug#9907).
7130 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7131 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7132 (eshell-structure-basic-command, eshell-rewrite-while-command)
7133 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7134 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7135 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7136 (eshell-do-pipelines-synchronously, eshell-eval-command):
7137 Use backquotes and prefer setq to set.
7138 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7139 (eshell-macrop): Use functionp.
c1e2f5fa 7140 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7141
30b65d9c
CY
71422011-10-30 Chong Yidong <cyd@gnu.org>
7143
7144 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7145 instead of set-mark (Bug#9810).
7146
2d197ffb
CY
71472011-10-30 Chong Yidong <cyd@gnu.org>
7148
7149 * window.el (split-window-below, split-window-right): Rename from
7150 split-window-above-each-other and split-window-side-by-side
7151 respectively. All callers changed.
7152 (split-window-sensibly, split-window-sensibly): Use them.
7153 (split-window-keep-point): Doc fix.
7154
7155 * isearch.el: Add isearch-scroll property to split-window-below
7156 and split-window-right.
7157
7158 * follow.el (follow-mode):
7159 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7160 * progmodes/ada-xref.el (ada-gdb-application):
7161 * emulation/vip.el (vip-buffer-in-two-windows):
7162 * image-dired.el (image-dired-dired-with-window-configuration):
7163 * dired-x.el (dired-do-find-marked-files):
7164 * dired.el (dired-pop-to-buffer):
7165 * bs.el (bs--show-with-configuration):
7166 * vc/emerge.el (emerge-setup-windows):
7167 * textmodes/two-column.el (2C-two-columns):
7168 * textmodes/reftex-toc.el (reftex-toc):
7169 * progmodes/gdb-mi.el (gdb-setup-windows):
7170 * progmodes/fortran.el (fortran-window-create):
7171 * net/newst-treeview.el (newsticker--treeview-window-init):
7172 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7173 * emulation/tpu-edt.el (tpu-gold-map):
7174 * emulation/crisp.el (crisp-mode-map):
7175 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7176
38bb2ca8
CY
71772011-10-29 Chong Yidong <cyd@gnu.org>
7178
aa4de341
CY
7179 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7180
e1eb5385
CY
7181 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7182
5d2ece3c
CY
7183 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7184 forged Ispell output (Bug#7904).
7185
38bb2ca8
CY
7186 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7187
d0af9f77
SM
71882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * doc-view.el: Avoid ugly errors about not finding nil.
7191 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7192 (doc-view-dvipdf-program, doc-view-unoconv-program)
7193 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7194 Avoid nil or absolute file name as default value.
7195 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7196
52bedd34
AM
71972011-10-28 Alan Mackenzie <acm@muc.de>
7198
db22a3c2 7199 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7200
7e43cfa5
AM
72012011-10-28 Alan Mackenzie <acm@muc.de>
7202
7203 Amend the handling of c-beginning/end-of-defun in nested declaration
7204 scopes.
7205
52bedd34
AM
7206 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7207 cc-langs.el. Change it to a defcustom.
7e43cfa5 7208
52bedd34
AM
7209 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7210 cc-vars.el.
7e43cfa5 7211
d0af9f77
SM
7212 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7213 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7214
52bedd34 7215 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7216 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7217 (c-widen-to-enclosing-decl-scope): New function.
7218 (c-while-widening-to-decl-block): New macro.
7219 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7220 outward for defun boundaries, and correspondingly change symbol
7221 `respect-enclosure' to `go-outward'.
7222 (c-declaration-limits): Change algorithm to report only the "innermost"
7223 defun's boundaries.
7224
1a2ce9ee
DD
72252011-10-28 Deniz Dogan <deniz@dogan.se>
7226
7227 * net/rcirc.el (rcirc-mode): Use hard newlines.
7228
bc97a826
AM
72292011-10-28 Alan Mackenzie <acm@muc.de>
7230
7231 Amend to indent and fontify macros "which include their own semicolon"
7232 correctly, using the "virtual semicolon" mechanism.
7233
52bedd34 7234 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7235
d0af9f77 7236 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7237 Recode to scan one line at a time rather than having \n and \r
58179cce 7238 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7239 (c-forward-label): Amend for virtual semicolons.
58179cce 7240 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7241
52bedd34
AM
7242 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7243 of the new C macros.
bc97a826 7244
52bedd34 7245 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7246 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7247 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7248 (c-opt-cpp-macro-define): Make into a full language variable.
7249 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7250 AWK Mode (including \n, \r) removed, no longer needed.
7251
d0af9f77
SM
7252 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7253 Invoke c-make-macro-with-semi-re.
bc97a826 7254
52bedd34
AM
7255 * progmodes/cc-vars.el (c-macro-with-semi-re):
7256 (c-macro-names-with-semicolon): New variables.
58179cce 7257 (c-make-macro-with-semi-re): New function.
bc97a826 7258
7a6c0941
SM
72592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * vc/log-edit.el: Fill empty field rather than adding new one.
7262 (log-edit-add-field): New function.
7263 (log-edit-insert-changelog): Use it.
7264
b0c4cdcf
ML
72652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7266
7267 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7268
ee1f1da9
SM
72692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7272 (gdb--check-interpreter): New function.
7273 (gdb): Use it.
7274
51bc5f8b
GM
72752011-10-27 Glenn Morris <rgm@gnu.org>
7276
416a2c45
GM
7277 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7278 (least-positive-float, least-negative-float)
7279 (least-positive-normalized-float, least-negative-normalized-float)
7280 (float-epsilon, float-negative-epsilon):
7281 Remove unnecessary declarations.
7282
7283 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7284 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7285 (least-positive-float, least-negative-float)
7286 (least-positive-normalized-float, least-negative-normalized-float)
7287 (float-epsilon, float-negative-epsilon): Add doc-strings,
7288 based on those in cl.texi.
7289
51bc5f8b
GM
7290 * files.el (set-visited-file-name): If the major-mode changed,
7291 reload the local variables. (Bug#9796)
7292
15de15c6
CY
72932011-10-27 Chong Yidong <cyd@gnu.org>
7294
7295 * subr.el (change-major-mode-after-body-hook): New hook.
7296 (run-mode-hooks): Run it.
7297
ee1f1da9
SM
7298 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7299 Use change-major-mode-before-body-hook.
15de15c6
CY
7300
7301 * simple.el (fundamental-mode):
7302 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7303 change introducing fundamental-mode-hook.
7304
5430d399
JB
73052011-10-26 Juanma Barranquero <lekktu@gmail.com>
7306
acc825c5 7307 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7308
ad74a69e
MA
73092011-10-26 Michael Albinus <michael.albinus@gmx.de>
7310
7311 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7312 tramp.el explicitly. (Bug#7583)
ad74a69e 7313
71d4c2a5
SM
73142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7315
7316 * progmodes/octave-mod.el:
7317 * progmodes/octave-inf.el: Update maintainer.
7318
b1f6fa26
CY
73192011-10-26 Chong Yidong <cyd@gnu.org>
7320
7321 * subr.el (with-wrapper-hook): Rewrite doc.
7322
3f04efd6
MA
73232011-10-25 Michael Albinus <michael.albinus@gmx.de>
7324
7325 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7326 filenames "/method:foo:". (Bug#9793)
3f04efd6 7327
410488d3
SM
73282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7331 (bug#9865).
7332
c1ebb47e
GM
73332011-10-24 Glenn Morris <rgm@gnu.org>
7334
7335 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7336
7f5c46c7
MA
73372011-10-24 Michael Albinus <michael.albinus@gmx.de>
7338
7339 * notifications.el: Add the requirement of a running D-Bus session
7340 bus to the Commentary.
7341
db2440b6
JL
73422011-10-24 Juri Linkov <juri@jurta.org>
7343
7344 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7345 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7346 (Bug#9364)
7347
feecf435
JL
73482011-10-24 Juri Linkov <juri@jurta.org>
7349
7350 * info.el (Info-following-node-name-re): Add newline to the list
7351 of allowed characters for leading space. (Bug#9824)
7352
a3839de2
SM
73532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7354
acc825c5
SM
7355 * progmodes/octave-inf.el (inferior-octave-mode-map):
7356 Fix C-c C-h binding.
a3839de2
SM
7357 * progmodes/octave-mod.el (octave-help): Remove.
7358
09388e76
MA
73592011-10-23 Michael Albinus <michael.albinus@gmx.de>
7360
7361 Sync with Tramp 2.2.3.
7362
7363 * net/tramp-cache.el (top): Pacify byte-compiler using
7364 `init-file-user' and `site-run-file'.
7365
7366 * net/trampver.el: Update release number.
7367
86c60681
CY
73682011-10-23 Chong Yidong <cyd@gnu.org>
7369
7370 * files.el (toggle-read-only): Remove obsolete comment about
7371 version control.
7372
7373 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7374 for toggle-read-only. Note that this hasn't called vc-next-action
7375 since 2008-05-02, though it wasn't documented at the time.
7376
a3839de2
SM
7377 * vc/ediff-init.el (ediff-toggle-read-only-function):
7378 Use toggle-read-only.
86c60681 7379
cd5495ff
AM
73802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7381
7382 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7383 of c-parse-state.
7384
00b77525 7385 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7386 correct faulty logical expression.
cd5495ff
AM
7387 (c-parse-state-state, c-record-parse-state-state):
7388 (c-replay-parse-state-state): New defvar/defuns.
7389 (c-debug-parse-state): Use new functions.
7390
42ee24ed
MR
73912011-10-22 Martin Rudalics <rudalics@gmx.at>
7392
7393 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7394 last fix. Use window-in-direction correctly.
42ee24ed 7395
a7dee7e7
CY
73962011-10-21 Chong Yidong <cyd@gnu.org>
7397
7398 * progmodes/idlwave.el (idlwave-mode):
7399 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7400 require-final-newline; that's done in prog-mode.
7401 Suggested by Stefan Monnier.
a7dee7e7 7402
e07b9a6d
MR
74032011-10-21 Martin Rudalics <rudalics@gmx.at>
7404
7405 * mouse.el (mouse-drag-window-above)
7406 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7407 (mouse-drag-mode-line-1, mouse-drag-header-line)
7408 (mouse-drag-vertical-line-rightward-window): Remove.
7409 (mouse-drag-line): New function.
7410 (mouse-drag-mode-line, mouse-drag-header-line)
7411 (mouse-drag-vertical-line): Call mouse-drag-line.
7412 * window.el (window-at-side-p, windows-at-side): New functions.
7413
7e1361d9
UM
74142011-10-21 Ulrich Mueller <ulm@gentoo.org>
7415
7416 * tar-mode.el (tar-grind-file-mode):
7417 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7418
30fcaf3a
CY
74192011-10-21 Chong Yidong <cyd@gnu.org>
7420
7421 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7422 * progmodes/vera-mode.el (vera-mode):
7423 Use mode-require-final-newline.
30fcaf3a 7424
516eddb0
GM
74252011-10-20 Glenn Morris <rgm@gnu.org>
7426
db22a3c2 7427 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7428
10d5f513
CS
74292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7430
7431 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7432
ac6c8639
CY
74332011-10-20 Chong Yidong <cyd@gnu.org>
7434
7435 * emulation/cua-base.el (cua-mode):
7436 * mail/footnote.el (footnote-mode):
7437 * mail/mailabbrev.el (mail-abbrevs-mode):
7438 * net/xesam.el (xesam-minor-mode):
7439 * progmodes/bug-reference.el (bug-reference-mode):
7440 * progmodes/cap-words.el (capitalized-words-mode):
7441 * progmodes/compile.el (compilation-minor-mode)
7442 (compilation-shell-minor-mode):
7443 * progmodes/gud.el (gud-tooltip-mode):
7444 * progmodes/hideif.el (hide-ifdef-mode):
7445 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7446 * progmodes/subword.el (subword-mode):
7447 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7448 * progmodes/which-func.el (which-function-mode):
7449 * term/tvi970.el (tvi970-set-keypad-mode):
7450 * term/vt100.el (vt100-wide-mode):
7451 * textmodes/flyspell.el (flyspell-mode):
7452 * textmodes/ispell.el (ispell-minor-mode):
7453 * textmodes/nroff-mode.el (nroff-electric-mode):
7454 * textmodes/paragraphs.el (use-hard-newlines):
7455 * textmodes/refill.el (refill-mode):
7456 * textmodes/reftex.el (reftex-mode):
7457 * textmodes/rst.el (rst-minor-mode):
7458 * textmodes/sgml-mode.el (html-autoview-mode)
7459 (sgml-electric-tag-pair-mode):
7460 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7461 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7462 * emulation/crisp.el (crisp-mode):
7463 * emacs-lisp/eldoc.el (eldoc-mode):
7464 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7465 minor mode behavior.
7466
aa42ab43
JL
74672011-10-19 Juri Linkov <juri@jurta.org>
7468
7469 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7470 the list of hard-coded chars with escape-glyph face.
7471
89400f1d
SM
74722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7475
305c07f6
MA
74762011-10-19 Michael Albinus <michael.albinus@gmx.de>
7477
7478 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7479 running process.
7480
13754b54
GM
74812011-10-19 Glenn Morris <rgm@gnu.org>
7482
7483 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7484 Ignore ignored files. (Bug#9726)
7485
06e21633
CY
74862011-10-19 Chong Yidong <cyd@gnu.org>
7487
7488 Doc fix for minor modes, stating that an omitted argument enables
7489 the mode unconditionally when called from Lisp.
7490
7491 * abbrev.el (abbrev-mode):
7492 * allout.el (allout-mode):
7493 * autoinsert.el (auto-insert-mode):
7494 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7495 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7496 (global-auto-revert-mode):
7497 * battery.el (display-battery-mode):
7498 * composite.el (global-auto-composition-mode)
7499 (auto-composition-mode):
7500 * delsel.el (delete-selection-mode):
7501 * desktop.el (desktop-save-mode):
7502 * dired-x.el (dired-omit-mode):
7503 * dirtrack.el (dirtrack-mode):
7504 * doc-view.el (doc-view-minor-mode):
7505 * double.el (double-mode):
7506 * electric.el (electric-indent-mode, electric-pair-mode):
7507 * emacs-lock.el (emacs-lock-mode):
7508 * epa-hook.el (auto-encryption-mode):
7509 * follow.el (follow-mode):
7510 * font-core.el (font-lock-mode):
7511 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7512 * help.el (temp-buffer-resize-mode):
7513 * hilit-chg.el (highlight-changes-mode)
7514 (highlight-changes-visible-mode):
7515 * hi-lock.el (hi-lock-mode):
7516 * hl-line.el (hl-line-mode, global-hl-line-mode):
7517 * icomplete.el (icomplete-mode):
7518 * ido.el (ido-everywhere):
7519 * image-file.el (auto-image-file-mode):
7520 * image-mode.el (image-minor-mode):
7521 * iswitchb.el (iswitchb-mode):
7522 * jka-cmpr-hook.el (auto-compression-mode):
7523 * linum.el (linum-mode):
7524 * longlines.el (longlines-mode):
7525 * master.el (master-mode):
7526 * mb-depth.el (minibuffer-depth-indicate-mode):
7527 * menu-bar.el (menu-bar-mode):
7528 * minibuf-eldef.el (minibuffer-electric-default-mode):
7529 * mouse-sel.el (mouse-sel-mode):
7530 * msb.el (msb-mode):
7531 * mwheel.el (mouse-wheel-mode):
7532 * outline.el (outline-minor-mode):
7533 * paren.el (show-paren-mode):
7534 * recentf.el (recentf-mode):
7535 * reveal.el (reveal-mode, global-reveal-mode):
7536 * rfn-eshadow.el (file-name-shadow-mode):
7537 * ruler-mode.el (ruler-mode):
7538 * savehist.el (savehist-mode):
7539 * scroll-all.el (scroll-all-mode):
7540 * scroll-bar.el (scroll-bar-mode):
7541 * server.el (server-mode):
7542 * shell.el (shell-dirtrack-mode):
7543 * simple.el (auto-fill-mode, transient-mark-mode)
7544 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7545 (line-number-mode, column-number-mode, size-indication-mode)
7546 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7547 * strokes.el (strokes-mode):
7548 * time.el (display-time-mode):
7549 * t-mouse.el (gpm-mouse-mode):
7550 * tool-bar.el (tool-bar-mode):
7551 * tooltip.el (tooltip-mode):
7552 * type-break.el (type-break-mode-line-message-mode)
7553 (type-break-query-mode):
7554 * view.el (view-mode):
7555 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7556 (global-whitespace-mode, global-whitespace-newline-mode):
7557 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7558
a3839de2
SM
7559 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7560 Fix autogenerated docstring.
06e21633 7561
5214e501
JL
75622011-10-19 Juri Linkov <juri@jurta.org>
7563
7564 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7565 by checking environment variables "DESKTOP_SESSION" and
7566 "XDG_CURRENT_DESKTOP". (Bug#9779)
7567
195f8db9
JL
75682011-10-19 Juri Linkov <juri@jurta.org>
7569
7570 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7571 (browse-url-chromium-program, browse-url-chromium-arguments):
7572 New defcustoms.
7573 (browse-url-default-browser): Check for `browse-url-chromium' and
7574 call `browse-url-chromium-program'.
7575 (browse-url-chromium): New command. (Bug#9779)
7576
343a34ff
JB
75772011-10-18 Juanma Barranquero <lekktu@gmail.com>
7578
7579 * facemenu.el (list-colors-duplicates): On Windows, detect more
7580 duplicates by assuming that only colors matching "^System" are
7581 special "system colors". (Bug#9722)
7582
6978a151
SM
75832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7586 to distinguish the author from the committer.
7587
6a80b297
MA
75882011-10-18 Michael Albinus <michael.albinus@gmx.de>
7589
7590 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7591
b31a5677
JK
75922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7593
7594 * international/mule.el (sgml-html-meta-auto-coding-function):
7595 Add support for detecting encoding in HTML5 specified only as
7596 <meta charset="UTF-8">. Implementation just makes http-equiv and
7597 content-type parts from HTML4 encoding string optional. (Bug#9716)
7598
80c6d77f
GM
75992011-10-18 Glenn Morris <rgm@gnu.org>
7600
7601 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7602
08b0fee8
CY
76032011-10-18 Chong Yidong <cyd@gnu.org>
7604
7605 * faces.el (cursor): Doc fix.
7606
67e729a5
CY
76072011-10-17 Chong Yidong <cyd@gnu.org>
7608
7609 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7610
343a34ff 76112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7612
7613 * dirtrack.el (dirtrack): Support shell buffers with path
7614 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7615
0bc06380
TZ
76162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7617
7618 * json.el: Bump version to 1.3 and note change in History.
7619 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7620
8b79f3e0
SM
76212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7622
5a7c536b
SM
7623 * comint.el (comint-insert-input, comint-send-input)
7624 (comint-get-old-input-default, comint-backward-matching-input)
7625 (comint-next-prompt): Use nil instead of `input' for field property of
7626 past user input (bug#114).
7627
96a8a0df
SM
7628 * minibuffer.el (completion--replace): Inherit surrounding properties
7629 (bug#114).
7630 (minibuffer-complete-and-exit): Use it.
7631
8b79f3e0
SM
7632 * comint.el (comint--table-subvert): Quote the all-completions output
7633 (bug#9160).
7634
b8f7ff0d
MR
76352011-10-17 Martin Rudalics <rudalics@gmx.at>
7636
8b79f3e0 7637 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7638
b8f7ff0d 7639 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7640 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7641 entries and separate them from frame entries.
7642
c235b555
GM
76432011-10-15 Glenn Morris <rgm@gnu.org>
7644
7645 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7646 Doc fixes.
7647
6bbfa6e1
CY
76482011-10-15 Chong Yidong <cyd@stupidchicken.com>
7649
8b79f3e0
SM
7650 * net/network-stream.el (network-stream-open-starttls):
7651 Improve detection of failure due to lack of TLS support.
ec5c990d 7652
6bbfa6e1
CY
7653 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7654 putting the input text in front and in bold.
7655
98488977
SM
76562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7657
3d1337be
SM
7658 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7659
ee0b45e4
SM
7660 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7661 empty buffer.
7662
98488977
SM
7663 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7664 unread-command-events rather than pushing yet-another event.
7665
186f4720
EZ
76662011-10-14 Eli Zaretskii <eliz@gnu.org>
7667
7668 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7669 the explanation of the possible choices. Make the options passed
7670 to completing-read shorter.
7671
8b7a997c
AM
76722011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7673
7674 * textmodes/flyspell.el (flyspell-large-region): Make sure
7675 extended character mode is used if defined (Bug#1339).
7676
12587bbb
EZ
76772011-10-13 Eli Zaretskii <eliz@gnu.org>
7678
7679 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7680 character info for LRE, LRO, RLE, and RLO characters by appending
7681 an invisible PDF.
12587bbb 7682
bad41229
SM
76832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7686 even in case of error; add debug spec; simplify data flow.
7687 (with-timeout-handler): Remove.
7688
28dbc92f
MA
76892011-10-12 Michael Albinus <michael.albinus@gmx.de>
7690
7691 Fix Bug#6019, Bug#9315.
7692
7693 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7694 complete `buffer-file-name', the local file name part could look
7695 remotely (for example on VMS).
7696
7697 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7698 `tramp-run-real-handler'.
7699 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7700 already quoted by '"'.
7701
7702 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7703 Let `file-name-handler-alist' be nil, the local file name part
7704 could look remotely (for example on VMS).
7705
e1b0b23a
SM
77062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7709 from here...
7710 (flyspell-post-command-hook): ...to here.
7711
a120bde9
SM
77122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7715 if not needed.
7716 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7717 using completion. Protect against "slow" callers.
7718 Remove the "message hack".
7719
7ce7717b
JL
77202011-10-11 Juri Linkov <juri@jurta.org>
7721
7722 * isearch.el (isearch-lazy-highlight-word): New variable.
7723 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7724 Use it. (Bug#9727)
7725
c02ee9d6
GM
77262011-10-11 Glenn Morris <rgm@gnu.org>
7727
7728 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7729 like f90-previous-statement does.
7730
93e616fd 77312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7732
1f190e73 7733 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7734 only in interactive use, to avoid error.
7735
af7b6078
SM
77362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7737
7738 * minibuffer.el (completion-file-name-table): Fix last change,
7739 i.e. ignore normal errors but not the other ones.
7740
0563dae9
MR
77412011-10-10 Martin Rudalics <rudalics@gmx.at>
7742
7743 * window.el (special-display-buffer-names)
7744 (special-display-regexps): Remove some remnants of earlier
7745 changes from doc-strings.
366ca7f3
MR
7746 (quit-windows-on): New function.
7747
7748 * vc/vc.el (vc-revert, vc-rollback):
7749 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7750 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7751 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7752
49677495
MR
77532011-10-09 Martin Rudalics <rudalics@gmx.at>
7754
7755 * window.el (frame-auto-hide-function): Add version tag.
7756 (Bug#9699)
7757
56f2d1e1
MA
77582011-10-09 Michael Albinus <michael.albinus@gmx.de>
7759
7760 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7761 condition.
7762
112a6592
LL
77632011-10-09 Leo Liu <sdl.web@gmail.com>
7764
7765 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7766 (Bug#9701)
7767
0812589b
GM
77682011-10-08 Glenn Morris <rgm@gnu.org>
7769
7770 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7771 before the first code statement zero indent. (Bug#9690)
7772
b2b0776e
CY
77732011-10-08 Chong Yidong <cyd@stupidchicken.com>
7774
7775 * simple.el (count-words-region): Always count in the region.
7776 Report the number of lines and characters too.
7777 (count-words): New command, which counts in the buffer if the
7778 region is inactive, as count-words-region used to.
7779 (count-words--message): New function. Handle plurals.
7780 (count-lines-region): Make it an alias for count-words-region.
7781
7782 * bindings.el (esc-map): Replace count-lines-region with
7783 count-words-region.
7784
c557cd6b
MR
77852011-10-08 Martin Rudalics <rudalics@gmx.at>
7786
7787 * window.el (window--delete): Delete dedicated frame
7788 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7789 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7790
61a57ef4 77912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7792
3a7d293b 7793 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7794
c3833279
CY
77952011-10-07 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * bindings.el ([M-left],[M-right]): Bind to left-word and
7798 right-word respectively.
7799
21ce8245
GM
78002011-10-07 Glenn Morris <rgm@gnu.org>
7801
7802 * cus-start.el (debug-on-quit): Fix custom type.
7803
6d823bb2
LMI
78042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7805
0181e193
LMI
7806 * subr.el (define-key-after): Clarify that the function is not
7807 useful for non-menu keymaps.
7808
6d823bb2
LMI
7809 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7810
8e3459ce 78112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7812
21ce8245 7813 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7814 in current minibuffer (Fix bug with recursive minibuffers).
7815
a1c2d21e
CY
78162011-10-06 Chong Yidong <cyd@stupidchicken.com>
7817
7818 * progmodes/gdb-mi.el (gdb): Doc fix.
7819
5a4cf282
MR
78202011-10-05 Martin Rudalics <rudalics@gmx.at>
7821
7822 * window.el (frame-auto-hide-function): New option replacing
7823 frame-auto-delete. Suggested by Stefan Monnier.
7824 (window--delete): Call frame-auto-hide-function instead of
7825 investigating frame-auto-delete.
c96111ea
MR
7826 (window-point-1, set-window-point-1): New functions.
7827 (window-in-direction, record-window-buffer, window-state-get-1)
7828 (display-buffer-record-window): Use window-point-1 instead of
7829 window-point.
7830 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7831
9854542e
SM
78322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7835
8943cfb0
GM
78362011-10-05 Glenn Morris <rgm@gnu.org>
7837
7838 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7839 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7840
647ab967
LL
78412011-10-05 Leo Liu <sdl.web@gmail.com>
7842
7843 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7844 works with buffer object.
7845
3ddfbced
SM
78462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * mpc.el (mpc-tool-bar-map): Add labels.
7849
bdfa5dd2
GM
78502011-10-04 Glenn Morris <rgm@gnu.org>
7851
7852 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7853
0e2070b5
MR
78542011-10-04 Martin Rudalics <rudalics@gmx.at>
7855
7856 * window.el (window--delete): New function.
7857 (frame-auto-delete): Resuscitate option.
7858 (bury-buffer, replace-buffer-in-windows)
7859 (quit-window): Rewrite using window--delete.
7860 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7861 Pass display-buffer-mark-dedicated to window--display-buffer-2
7862 (Bug#9639).
7863
3dc61a09
SM
78642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7865
915a9b64
SM
7866 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7867 returns a list (bug#9554). Add remote file name completion.
7868 * comint.el (comint--table-subvert): Curry and get quote&unquote
7869 functions as arguments.
7870 (comint--complete-file-name-data): Adjust call accordingly.
7871 * pcomplete.el (pcomplete--table-subvert): Remove.
7872 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7873
3dc61a09
SM
7874 * minibuffer.el (completion-table-case-fold): Use currying.
7875 (completion--styles-type, completion--cycling-threshold-type):
7876 New constants.
7877 (completion-styles, completion-category-overrides)
7878 (completion-cycle-threshold): Use them.
7879 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7880 completion-table-case-fold.
7881
8ea0a993
SB
78822011-10-03 Stephen Berman <stephen.berman@gmx.net>
7883
7884 * minibuffer.el (completion-category-overrides): Fix type of styles
7885 and add more user friendly tags (bug#9660).
7886
8c24b7f6
SM
78872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7890 (mule-input-method-string): New widget.
7891 (default-input-method, language-info-custom-alist): Use it.
7892
428fe61a
SM
78932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7894
32c1fffd
SM
7895 * pcomplete.el: Require comint.
7896 (pcomplete--common-suffix): Remove.
7897 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7898 (pcomplete--table-subvert): Sync with comint--table-subvert.
7899 (pcomplete--entries): Use comint-completion-file-name-table.
7900 * comint.el (comint-unquote-filename): Simplify.
7901 (comint-completion-file-name-table): New function (bug#9616).
7902 (comint--complete-file-name-data): Use it.
7903
428fe61a
SM
7904 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7905 (pcmpl-gnu-tar-buffer): Remove.
7906 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7907 around. Make sure pcomplete-suffix-list is only changed temporarily.
7908 Don't look inside the tar's file if it's too large.
428fe61a 7909
04c52e2f
CY
79102011-10-01 Chong Yidong <cyd@stupidchicken.com>
7911
ce3cefcc
CY
7912 * cus-edit.el (custom-mode-map):
7913 * epa.el (epa-key-list-mode-map):
7914 * man.el (Man-mode-map):
7915 * startup.el (splash-screen-keymap):
7916 * simple.el (special-mode-map): Use scroll-up-command and
7917 scroll-down-command.
7918
7919 * progmodes/idlw-help.el (idlwave-help-mode-map):
7920 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7921 * net/newst-plainview.el (newsticker-mode-map):
7922 * emulation/ws-mode.el (wordstar-mode-map):
7923 * emulation/vi.el (vi-com-map):
7924 * calc/calc-graph.el (calc-graph-show-dumb):
7925 * term/sun.el (terminal-init-sun):
7926 * term/ns-win.el (global-map):
7927 * progmodes/grep.el (grep-mode-map):
7928 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7929 * mail/rmail.el (rmail-mode-map):
7930 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7931
04c52e2f
CY
7932 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7933 custom-safe-themes as special.
7934
79adf8c8
JD
79352011-10-01 Julien Danjou <julien@danjou.info>
7936
7937 * notifications.el (notifications-notify): Fix docstring.
7938
63bd50d3
PS
79392011-10-01 Per Starbäck <per@starback.se>
7940
7941 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7942
199e4c7e
MR
79432011-09-30 Martin Rudalics <rudalics@gmx.at>
7944
7945 * startup.el (command-line-1): Fix last fix by inserting
7946 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7947 (Bug#9605) and (Bug#9636)
199e4c7e 7948
fe5f08dd
EZ
79492011-09-29 Eli Zaretskii <eliz@gnu.org>
7950
7951 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7952 window is hscrolled, move by logical lines. (Bug#9607)
7953 (line-move-visual): Update the doc string to the above effect.
7954
b5516bbd
MR
79552011-09-29 Martin Rudalics <rudalics@gmx.at>
7956
ccee00c0
MR
7957 * window.el (display-buffer-record-window): When WINDOW is the
7958 selected window use `point' instead of `window-point'. (Bug#9626)
7959
b5516bbd
MR
7960 * startup.el (command-line-1): Use insert-before-markers when
7961 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7962
b5516bbd
MR
7963 * help.el (help-window): Remove variable.
7964
52aa0014
GM
79652011-09-29 Glenn Morris <rgm@gnu.org>
7966
7967 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7968
df9a7357
JB
79692011-09-29 Juanma Barranquero <lekktu@gmail.com>
7970
7971 * descr-text.el (describe-char-categories): Accept category
7972 descriptions more than one line long.
7973
a8406c20
SM
79742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7975
88d9610c
SM
7976 * simple.el (delete-trailing-whitespace): Fix last change.
7977
a5daf810
SM
7978 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7979 Don't confuse "y => 3" as the beginning of a `y' operation.
7980
a8406c20
SM
7981 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7982 object has more than 4 slots (bug#9613).
7983
a239d4e9
JB
79842011-09-28 Juanma Barranquero <lekktu@gmail.com>
7985
7986 * subr.el (with-output-to-temp-buffer):
7987 * net/quickurl.el (quickurl, quickurl-browse-url):
7988 Fix typos in docstrings.
7989
693fbdb6
EZ
79902011-09-27 Eli Zaretskii <eliz@gnu.org>
7991
7992 * minibuffer.el (completion-styles)
7993 (completion-category-overrides): Cross reference each other in doc
7994 strings.
7995
8b457e28
GM
79962011-09-27 Glenn Morris <rgm@gnu.org>
7997
7998 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7999 to split-string. (Bug#9606)
8000
85a16208
LMI
80012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8002
8003 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8004 (bug#9615).
8005
502f9ebd
CY
80062011-09-27 Chong Yidong <cyd@stupidchicken.com>
8007
8008 * emacs-lisp/package.el (list-packages): Fix echo area message.
8009
7690bdea
LL
80102011-09-27 Leo Liu <sdl.web@gmail.com>
8011
8012 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8013
e2ee6f30
MA
80142011-09-25 Michael Albinus <michael.albinus@gmx.de>
8015
8016 * net/dbus.el (dbus-unregister-object): Don't release services for
8017 registered signals. (Bug#9581)
8018
f3f98342
TZ
80192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8020
8021 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8022 function that picks between cfengine 2 and 3 support
8023 automatically. Update docs accordingly.
8024
dd7aa8dd
KH
80252011-09-22 Kenichi Handa <handa@m17n.org>
8026
8027 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8028 ZERO.
8029 (indian-itrans-v5-table-for-tamil): New variable.
8030 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8031
3f2b07f8
KM
80322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8033
8034 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8035 that's true if the current command involved collapsing of text.
8036 It's reset to false at the beginning of the next command.
8037 (allout-post-command-business): Move the cursor to the beginning
8038 of entry if the cursor is hidden and collapsing activity just
8039 happened.
8040
371d6a61
CY
80412011-09-24 Chong Yidong <cyd@stupidchicken.com>
8042
8043 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8044 tracking (Bug#9541).
8045
2ac2721a
UJ
80462011-09-24 Ulf Jasper <ulf.jasper@web.de>
8047
8048 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8049 (newsticker-show-news): Automatically load html rendering package
8050 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8051 because w3m-fill-column is let-bound" and the error "Symbol's value
8052 as variable is void: w3m-fill-column".
2ac2721a 8053
fac7ae53
MA
80542011-09-24 Michael Albinus <michael.albinus@gmx.de>
8055
8056 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8057 Release services only if they are defined. (Bug#9581)
8058
e08b633b
RS
80592011-09-23 Richard Stallman <rms@gnu.org>
8060
e488d29c
RS
8061 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8062 distinguish start of paragraph from start of its text.
8063
19c38752
RS
8064 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8065
e08b633b
RS
8066 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8067 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8068 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8069
0a39f27e
AS
80702011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8071
8072 * international/mule-diag.el (mule-diag): Insert a newline after
8073 each fontset description.
8074
db4e950d
SM
80752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 * simple.el (delete-trailing-whitespace):
8078 Document last change; simplify.
8079
eca3f3ea
PW
80802011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8081
d68e189a
PW
8082 * simple.el (delete-trailing-whitespace): Also delete
8083 extra newlines at the end of the buffer.
8084
eca3f3ea
PW
8085 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8086 (picture-newline): Use forward-line so as to ignore fields.
8087
01c157cc
SM
80882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * subr.el (with-wrapper-hook): Fix edebug spec.
8091
022de23e
LMI
80922011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8093
8094 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8095 (bug#4538).
8096
91683089
MA
80972011-09-23 Michael Albinus <michael.albinus@gmx.de>
8098
eca3f3ea
PW
8099 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8100 Fix nasty bug using wrong cached values.
91683089 8101
5bdd6fa4
AM
81022011-09-23 Alan Mackenzie <acm@muc.de>
8103
8104 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8105
97adfb97
CY
81062011-09-23 Chong Yidong <cyd@stupidchicken.com>
8107
8108 * window.el (pop-to-buffer): Ensure right window is selected if we
8109 chose another frame.
8110
d4ef2b50
EZ
81112011-09-22 Eli Zaretskii <eliz@gnu.org>
8112
8113 * simple.el (what-cursor-position): Use get-char-property-change
8114 and next-single-char-property-change, to be able to show display
8115 properties that come from overlays as well as text properties.
8116
72258fe5
CY
81172011-09-22 Chong Yidong <cyd@stupidchicken.com>
8118
8119 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8120
8121 * cmuscheme.el (run-scheme, switch-to-scheme):
8122 * cus-edit.el (customize-group, custom-buffer-create)
8123 (customize-browse):
8124 * info.el (info):
8125 * shell.el (shell):
8126 * mail/sendmail.el (mail):
8127 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8128
8f098516
RS
81292011-09-22 Richard Stallman <rms@gnu.org>
8130
8131 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8132 move back only to line beg, don't move back over blank lines.
8133
e74f1bb6
MA
81342011-09-22 Michael Albinus <michael.albinus@gmx.de>
8135
8136 * files.el (copy-directory): Set directory attributes only in case
8137 they could be retrieved from the source directory. (Bug#9565)
8138
bfeef8b6
DK
81392011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8140
8141 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8142 (hs-find-block-beginning, hs-hide-level-recursive):
8143 Ignore strings as well as comments. (Bug#9502)
8144
7e423bb8
AS
81452011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8146
8147 * progmodes/sql.el (sql-comint-postgres):
8148 Convert port number to a string. (Bug#9566)
8149
b4d72fcf
MR
81502011-09-22 Martin Rudalics <rudalics@gmx.at>
8151
8152 * window.el (quit-window): Undedicate window when switching to
8153 previous buffer. Reported by Thierry Volpiatto
8154 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8155 (special-display-popup-frame): When popping up a new frame reset
8156 its previous buffers to nil. Simplify code.
b4d72fcf 8157
a7b88dc6
MA
81582011-09-21 Michael Albinus <michael.albinus@gmx.de>
8159
8160 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8161 and process filter, as done also in `shell-command'.
8162
cf4eacfd
MR
81632011-09-21 Martin Rudalics <rudalics@gmx.at>
8164
eca3f3ea 8165 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8166 Call set-window-start with NOFORCE argument t.
8167 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8168 (quit-window): Reword doc-string. Handle new format of
8169 quit-restore parameter. Don't delete window if it has a
8170 previous buffer we can show instead of the present one.
8171 (display-buffer-record-window): Rewrite using a new format for
8172 the quit-restore window parameter
8173 (special-display-popup-frame, display-buffer-same-window)
8174 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8175 (display-buffer-pop-up-window, display-buffer-use-some-window):
8176 Adapt symbol passed to display-buffer-record-window.
8177 * help.el (help-window-setup): Handle new format of quit-restore
8178 parameter.
8179
8d28cb95
SM
81802011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8181
94ab793f
SM
8182 * faces.el (face-list): Fix docstring (bug#9564).
8183
8d28cb95
SM
8184 * window.el (display-buffer--action-function-custom-type):
8185 Don't include internal functions in the Custom interface.
8186
3820edeb
JL
81872011-09-20 Juri Linkov <juri@jurta.org>
8188
8189 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8190 (Info-forward-node, Info-backward-node, Info-next-preorder)
8191 (Info-last-preorder): Use it. (Bug#9528)
8192
5147931d
JL
81932011-09-20 Juri Linkov <juri@jurta.org>
8194
8195 * info.el (Info-last-preorder): Visit last menu item only when
8196 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8197
cf499a1a
JD
81982011-09-20 Julien Danjou <julien@danjou.info>
8199
8200 * password-cache.el (password-cache-remove): Remove entries even if the
8201 value is nil, so that password with a nil value (negative caching) is
8202 possible to invalidate.
8203
f84e2fe2
LM
82042011-09-20 Lawrence Mitchell <wence@gmx.li>
8205
8206 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8207 all whitespace around breakpoint. (Bug#9553)
8208 (f90-find-breakpoint): Only break at whitespace inside a comment.
8209
78054a46
SM
82102011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 * minibuffer.el (completion-file-name-table): Keep track of errors.
8213 (completion-table-with-predicate): Handle the case where pred1 is nil.
8214 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8215
345083b2
SM
82162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8217
e24e27be
SM
8218 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8219 (debugger-return-value): Signal an error if the debugging context does
8220 not await any return value.
8221
345083b2
SM
8222 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8223 * image-mode.el (image-toggle-display-text)
8224 (image-toggle-display-image): Stay away from evil `intangible'.
8225
08d355e3
LL
82262011-09-19 Leo Liu <sdl.web@gmail.com>
8227
8228 * replace.el (occur-revert-arguments): Make it permanent-local.
8229 (occur-mode): Don't call font-lock-defontify.
8230
f01da43f
CY
82312011-09-19 Chong Yidong <cyd@stupidchicken.com>
8232
8233 * net/ldap.el (ldap-search-internal): Don't push empty search
8234 result (Bug#9508).
8235
b6072fa6
SM
82362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8239
443d6696
MA
82402011-09-19 Michael Albinus <michael.albinus@gmx.de>
8241
8242 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8243 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8244
7cc6e154
JL
82452011-09-18 Juri Linkov <juri@jurta.org>
8246
8247 * buff-menu.el (Buffer-menu-mode-map):
8248 * dired.el (dired-mode-map):
8249 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8250 (lisp-interaction-mode-map):
8251 * emacs-lisp/package.el (package-menu-mode-map):
8252 * epa.el (epa-key-list-mode-map):
8253 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8254 (menu-bar-options-menu):
8255 * outline.el (outline-mode-menu-bar-map):
8256 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8257 * vc/vc-dir.el (vc-dir-menu-map):
8258 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8259 Capitalize non-function content words in menu item strings.
8260
8261 * dired.el (dired-mode-map): Add menu item for
8262 `image-dired-dired-toggle-marked-thumbs'.
8263
80302a81
JL
82642011-09-18 Juri Linkov <juri@jurta.org>
8265
8266 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8267 to `isearch-case-fold-search' and restore its original value
8268 after the `isearch-mode' call.
8269
46c5cf66
JL
82702011-09-18 Juri Linkov <juri@jurta.org>
8271
8272 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8273 because `zgrep' returns 1 for successful matches (bug#9226).
8274
d18b513b
JL
82752011-09-18 Juri Linkov <juri@jurta.org>
8276
8277 * info.el (Info-extract-menu-node-name): Check the second match
8278 for empty string (second test-case of bug#9528).
8279 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8280 intermediate nodes to the history (first test-case of bug#9528).
8281
72753f87
JL
82822011-09-18 Juri Linkov <juri@jurta.org>
8283
8284 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8285 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8286
c9384295
JL
82872011-09-18 Juri Linkov <juri@jurta.org>
8288
1154d12e
JB
8289 * info.el (Info-file-supports-index-cookies):
8290 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8291 outputs one more line for long file names (bug#4142).
c9384295 8292
d473dce8
CY
82932011-09-18 Chong Yidong <cyd@stupidchicken.com>
8294
8295 * newcomment.el (comment-normalize-vars): If prompting for
8296 comment-start, set comment-start-skip too (Bug#8424).
8297
2176854d
JB
82982011-09-18 Johan Bockgård <bojohan@gnu.org>
8299
8300 * icomplete.el: Fix previous fix of Bug#5849.
8301 (icomplete-mode): Don't set completion-show-inline-help.
8302 (icomplete-minibuffer-setup): Set completion-show-inline-help
8303 locally during icompletion.
8304
3aace4e4
CY
83052011-09-18 Chong Yidong <cyd@stupidchicken.com>
8306
c940224f
CY
8307 * woman.el (woman2-process-escapes): Don't delete unrecognized
8308 escapes (Bug#7843).
8309
3aace4e4
CY
8310 * files.el (inhibit-first-line-modes-regexps): Add image files.
8311 (hack-local-variables-prop-line): Return nil for malformed
8312 prop-lines (Bug#9044).
8313
710dec63
MA
83142011-09-18 Michael Albinus <michael.albinus@gmx.de>
8315
8316 * net/tramp.el (top): Don't require 'shell.
8317 (tramp-methods): Fix docstring.
8318 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8319 Return complete remote file name. Handle "smb" case.
8320 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8321 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8322
8323 * net/tramp-compat.el (top): Require 'shell.
8324
8325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8326 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8327 `tramp-current-host'.
8328 (tramp-get-remote-tmpdir): Remove.
8329
8330 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8331 `tramp-tmpdir' entries.
8332 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8333 (tramp-smb-handle-file-attributes): Ignore errors.
8334 (tramp-smb-wait-for-output): Check also for process end.
8335
5d5ac8ec
LMI
83362011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8337
8338 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8339 when sending QUIT (bug#9312).
8340
8c0f49f0
CY
83412011-09-17 Chong Yidong <cyd@stupidchicken.com>
8342
8343 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8344 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8345 occur-mode-display-occurrence.
8346 (occur-edit-mode): Add usage message.
8347 (occur-cease-edit): New command.
8348 (occur-after-change-function): Use text properties to find the
8349 position of the prefix text.
8350 (occur-engine): Set stickiness of prefix text properties.
8351
8f1383f7
GM
83522011-09-17 Glenn Morris <rgm@gnu.org>
8353
8354 * progmodes/etags.el (complete-tag):
8355 Fix call to completion-in-region. (Bug#9526)
8356
744ba0e3
JL
83572011-09-17 Juri Linkov <juri@jurta.org>
8358
8359 * textmodes/ispell.el (ispell-word): Add to the error message
8360 the word, ispell program name and current dictionary (bug#9121).
8361 (ispell-tex-arg-end): Capitalize "error" in the error message.
8362
d9bbf400
AS
83632011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8364
8365 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8366 check. (Bug#4251)
8367
8da11505
JL
83682011-09-17 Juri Linkov <juri@jurta.org>
8369
8370 * window.el (window-safe-min-height, window-safe-min-width):
8371 Fix typos (followup to bug#9522).
8372
a91adc7e
SJ
83732011-09-17 Sven Joachim <svenjoac@gmx.de>
8374
8375 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8376
064f328a
EZ
83772011-09-16 Eli Zaretskii <eliz@gnu.org>
8378
8379 * simple.el (line-move): If goal-column is set, move by logical
8380 lines, not by display lines. (Bug#971)
8381 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8382 to reflect the above change.
8383
e69df516
SM
83842011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * image.el (imagemagick-register-types): Use regexp-opt.
8387
cbb0f9ab
CY
83882011-09-15 Chong Yidong <cyd@stupidchicken.com>
8389
8390 * window.el (display-buffer-base-action): Rename from
8391 display-buffer-default-action. Make default value empty.
8392 (display-buffer-overriding-action): Convert to defvar.
8393 (display-buffer-fallback-action): New var.
8394
25322144
CY
83952011-09-15 Chong Yidong <cyd@stupidchicken.com>
8396
8397 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8398 declaration.
8399 (package--add-to-archive-contents): If there is a duplicate entry
8400 with an older version, remove it.
8401 (package-menu-mark-delete, package-menu-mark-install)
8402 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8403 (package-menu-mark-obsolete-for-deletion):
8404 Use package-menu-get-status instead of a regexp search.
25322144
CY
8405 (package-menu-get-status): Use tabulated-list-entry.
8406 (package-menu-mark-upgrades): New command.
d770725a 8407 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8408 (package-menu-execute): Do installation before deletion.
8409 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8410 instead of checking major-mode.
8411 (package-menu--find-upgrades): New function.
8412
7520339c
LMI
84132011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414
8415 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8416 passwords in the log buffer.
65a046c4
LMI
8417 (smtpmail-process-filter): Update the process marker so that the
8418 "broken by peer" status message is inserted in the right place.
7520339c 8419
d3c30954
SM
84202011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8421
3fe48822
SM
8422 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8423 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8424 bibtex-completion-at-point-function.
8425 (bibtex-completion-at-point-function): Use them.
8426
1b8b3954
SM
8427 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8428
d3c30954
SM
8429 * mpc.el (mpc-constraints-tag-lookup): New function.
8430 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8431 also to browser "album|playlist".
8432
72779976
JL
84332011-09-14 Juri Linkov <juri@jurta.org>
8434
8435 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8436 (isearch-edit-string): Use length of `isearch-string' when
8437 `isearch-fail-pos' returns nil.
8438 (isearch-message): Remove duplicate code and call
8439 `isearch-fail-pos' with arg `t'.
8440
a0bf2bcd
CY
84412011-09-14 Chong Yidong <cyd@stupidchicken.com>
8442
17bb0a2d
CY
8443 * replace.el (occur-mode-goto-occurrence): Don't force using other
8444 window (Bug#9499).
8445
a0bf2bcd
CY
8446 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8447
f678e0b6
MR
84482011-09-14 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (display-buffer-window): Remove.
8451 (display-buffer-record-window): Use help-setup window parameter
8452 instead of variable display-buffer-window.
8453 (display-buffer-function, special-display-buffer-names)
8454 (special-display-function): Mention help-setup parameter instead
8455 of display-buffer-window in doc-string.
d3c30954
SM
8456 * help.el (help-window-setup): New argument help-window.
8457 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8458 Reword some messages.
8459 (with-help-window): Pass window used for displaying the buffer
8460 to help-window-setup. Don't set display-buffer-window.
8461
8e39b2e8
GM
84622011-09-13 Glenn Morris <rgm@gnu.org>
8463
8464 * emacs-lisp/debug.el (debugger-make-xrefs):
8465 Preserve point. (Bug#9462)
8466
85e9c04b
CY
84672011-09-13 Chong Yidong <cyd@stupidchicken.com>
8468
8469 * window.el (window-deletable-p): Use next-frame.
8470
1b36ed6a
MR
84712011-09-13 Martin Rudalics <rudalics@gmx.at>
8472
8473 * window.el (window-auto-delete): Remove.
8474 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8475 dedication and previous buffers.
1b36ed6a
MR
8476 (switch-to-prev-buffer): Don't delete window.
8477 (delete-windows-on): Delete a window's frame if and only if the
8478 window is dedicated.
8479 (replace-buffer-in-windows): Delete buffer's window or frame if
8480 and only if window is dedicated.
8481 (quit-window): Handle quit-restore as before last change.
4d61f28d 8482 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8483
ef8ef9fb
CY
84842011-09-13 Chong Yidong <cyd@stupidchicken.com>
8485
8486 * window.el (window-deletable-p): Never delete the last frame on a
8487 given terminal.
8488
b2cba41e
GM
84892011-09-13 Glenn Morris <rgm@gnu.org>
8490
8491 * help.el (describe-key-briefly): Copy previous standard-output change.
8492
51553db6 84932011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8494
8495 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8496
b7556719
GM
84972011-09-13 Glenn Morris <rgm@gnu.org>
8498
8499 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8500 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8501
64b51947
CY
85022011-09-12 Chong Yidong <cyd@stupidchicken.com>
8503
8504 * dired-aux.el (dired-mark-read-string): Don't return default
8505 value on empty input (Bug#9361).
8506 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8507 Omit initial minibuffer contents.
8508 (dired-do-chmod): Signal an error on empty input.
8509 (dired-mark-read-string): Don't return default on empty input.
8510
8511 * files.el (file-modes-symbolic-to-number): Doc fix.
8512
393a301e
SM
85132011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * international/mule-cmds.el (ucs-completions): Remove.
8516 (read-char-by-name): Use complete-with-action instead; add metadata.
8517
fa5660f9
CY
85182011-09-11 Chong Yidong <cyd@stupidchicken.com>
8519
8520 * window.el (display-buffer--action-function-custom-type)
8521 (display-buffer--action-custom-type): New vars.
8522 (display-buffer-alist, display-buffer-default-action)
8523 (display-buffer-overriding-action): Add defcustom types.
8524
4a592f66
CY
8525 * frame.el (delete-other-frames): Doc fix (Bug#276).
8526
73d56dbd
LMI
85272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528
8529 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8530
37ac18a3
CY
85312011-09-11 Chong Yidong <cyd@stupidchicken.com>
8532
8533 Change modes that used same-window-* vars to use switch-to-buffer.
8534
8535 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8536 Use switch-to-buffer.
8537
8538 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8539 (customize-browse, custom-buffer-create-other-window):
8540 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8541
8542 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8543 (Info-prev, Info-up, Info-speedbar-goto-node)
8544 (info-display-manual): Use switch-to-buffer.
8545 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8546
8547 * mail/sendmail.el (mail): Use switch-to-buffer.
8548 (mail-recover): Use switch-to-buffer-other-window.
8549
8550 * cmuscheme.el (run-scheme, switch-to-scheme):
8551 * ielm.el (ielm):
8552 * shell.el (shell):
8553 * net/rlogin.el (rlogin):
8554 * net/telnet.el (telnet, rsh):
8555 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8556
10195bd6
AS
85572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8558
8559 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8560
b322f63a
LMI
85612011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8562
39d7fed6
LMI
8563 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8564 so don't mention it (bug#9301).
ba5a81f1 8565 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8566
ee0e9f11
LMI
8567 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8568 match `x', `w32' and `ns', like the manual says (bug#9029).
8569
0b1c89c1 8570 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8571 (process-kill-buffer-query-function): Mention the buffer name in
8572 the query.
0b1c89c1 8573
77549ea8
LMI
8574 * image-mode.el (image-next-line): The line parameter is mandatory
8575 (bug#9258).
8576
803ef892
LMI
8577 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8578 which can be useful (bug#9301).
8579
12980837
LMI
8580 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8581
91054f8f
LMI
8582 * subr.el (match-string): Mention that the current buffer should
8583 be the same as the search was done in (bug#9282).
8584
b322f63a
LMI
8585 * facemenu.el: Disable the remove-* commands if the mark isn't
8586 active (bug#9162).
8587
3199b96f
CY
85882011-09-10 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8591 of display-buffer.
8592 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8593
8594 * replace.el (occur-mode-goto-occurrence)
8595 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8596 and display-buffer.
8597
8598 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8599 display-buffer.
8600
8601 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8602 special-display and same-window variables.
8603 (mail-other-window): Use switch-to-buffer-other-window.
8604 (mail-other-frame): USe switch-to-buffer-other-frame.
8605
393a301e
SM
8606 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8607 Use display-buffer-other-frame.
3199b96f
CY
8608 (gdb-display-gdb-buffer): Use pop-to-buffer.
8609
8610 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8611
8612 * progmodes/python.el: Don't set same-window-buffer-names.
8613
8614 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8615
8616 * window.el (display-buffer-alist): Add *Python*.
8617
8319e0bf
CY
86182011-09-10 Chong Yidong <cyd@stupidchicken.com>
8619
8620 * window.el (display-buffer-alist): Add entry for buffers
8621 previously handled same-window-*.
8622 (display-buffer-alist, display-buffer-default-action)
8623 (display-buffer-overriding-action): Mark as risky.
8624 (display-buffer-alist): Document action function changes.
8625 (display-buffer--same-window-action)
8626 (display-buffer--other-frame-action): New variables.
8627 (switch-to-buffer, display-buffer-other-frame): Use them.
8628 (display-buffer): Rename reuse-frame entry to reusable-frames.
8629 (display-buffer-reuse-selected-window): Function deleted.
8630 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8631 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8632 (display-buffer-special): New function.
8633 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8634 display-buffer-reuse-or-pop-window. Split off special-display
8635 part into display-buffer-special.
8636 (display-buffer-use-some-window): Don't perform any special
8637 pop-up-frames handling.
8638 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8639 (display-buffer--maybe-same-window): Rename from
0d3ff375 8640 display-buffer-maybe-same-window.
8319e0bf 8641
919a69aa
CY
8642 * info.el: Don't set same-window-regexps.
8643 (info-setup): New function.
8644 (info-other-window, info): Call it.
8645
8646 * cus-edit.el: Don't set same-window-regexps.
8647 (customize-group): New argument.
8648 (customize-group-other-window): Use it.
8649 (customize-face, customize-face-other-window): Likewise.
8650 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8651
8319e0bf
CY
8652 * net/rlogin.el:
8653 * net/telnet.el:
8654 * progmodes/gud.el: Don't set same-window-regexps.
8655
8656 * cmuscheme.el:
8657 * ielm.el:
8658 * shell.el:
8659 * mail/sendmail.el:
8660 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8661
25173000
JL
86622011-09-10 Juri Linkov <juri@jurta.org>
8663
8664 * isearch.el (isearch-edit-string): Remove obsolete mention of
8665 `C-w' (`isearch-yank-word-or-char') from docstring.
8666 (isearch-query-replace): Fix typo in docstring (bug#9466).
8667
056e44ef
JL
86682011-09-10 Juri Linkov <juri@jurta.org>
8669
8670 * paren.el (show-paren-function): Don't show escaped parens.
8671 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8672
c3760c17
EZ
86732011-09-10 Eli Zaretskii <eliz@gnu.org>
8674
8675 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8676 (mm-default-file-encoding): Remove autoload forms, they are
8677 replaced with autoload cookies in mml.el and mm-encode.el.
8678 (mail-add-attachment): New command.
8679 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8680 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8681 the doc string.
8682 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8683
fece895e
RT
86842011-09-10 Reuben Thomas <rrt@sc3d.org>
8685
e69df516
SM
8686 * simple.el (count-words-region): Use buffer if there's no region
8687 (bug#9429).
fece895e 8688
5e68ce4a
JL
86892011-09-09 Juri Linkov <juri@jurta.org>
8690
8691 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8692 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8693 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8694
0a6b9622
AM
86952011-09-09 Alan Mackenzie <acm@muc.de>
8696
8697 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8698 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8699
14a29deb
EZ
87002011-09-09 Eli Zaretskii <eliz@gnu.org>
8701
8702 Fix for Savannah bug#9392.
8703 * simple.el (mail-encode-mml): New defvar.
8704
8705 * mail/rmail.el (mail-encode-mml): Add a defvar.
8706 (rmail-enable-mime-composing): Default to t.
8707 (rmail-forward): Use MIME method of forwarding only if both
8708 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8709 Set mail-encode-mml non-nil if the MIME method was used.
8710
8711 * mail/sendmail.el (mml-to-mime): Add autoload form.
8712 (mail-encode-mml): Add a defvar.
8713 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8714 to nil.
8715 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8716 message through mml-to-mime, and reset mail-encode-mml to nil.
8717
28c45130
GM
87182011-09-09 Glenn Morris <rgm@gnu.org>
8719
8720 * woman.el (woman-if-body): When processing an .el block,
8721 do not delete the next .el block as well. (Bug#9447)
69f4b618 8722 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8723
9b1c252e
MR
87242011-09-08 Martin Rudalics <rudalics@gmx.at>
8725
8726 * window.el (window-deletable-p): Make sure window is live before
8727 invoking window-prev-buffers.
8728
567457e3
LL
87292011-09-08 Leo Liu <sdl.web@gmail.com>
8730
8731 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8732
97f05794
JL
87332011-09-08 Juri Linkov <juri@jurta.org>
8734
8735 * progmodes/compile.el (compilation-environment): Make it
8736 a defcustom (bug#8340).
8737
8b0874b5
MR
87382011-09-08 Martin Rudalics <rudalics@gmx.at>
8739
8740 * window.el (frame-auto-delete): Rename to window-auto-delete.
8741 Make it control auto-deletion of windows and/or frames.
8742 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8743 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8744 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8745 Rewrite handling of case when window/frame can be deleted.
8746 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8747 argument t. (Bug#9456)
8b0874b5 8748
4feb6e73
CY
87492011-09-07 Chong Yidong <cyd@stupidchicken.com>
8750
8751 * help-mode.el (help-mode): Restore autoload.
8752
91ab9c13
JL
87532011-09-07 Juri Linkov <juri@jurta.org>
8754
8755 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8756 `compilation-environment'. Set buffer-local
8757 `compilation-environment' to `thisenv' later after (funcall mode).
8758 (Bug#8340)
8759
8760 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8761 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8762 instead of replacing its value. (Bug#8340)
8763
0527e251
JL
87642011-09-07 Juri Linkov <juri@jurta.org>
8765
8766 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8767 based on text properties put by `grep-filter' instead of matching
8768 escape sequences.
8769 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8770 to the value of `grep-error-screen-columns' (bug#9438).
8771
249f792c
JL
87722011-09-07 Juri Linkov <juri@jurta.org>
8773
8774 * simple.el (next-error-highlight, next-error-highlight-no-select):
8775 Doc fix (bug#9432).
8776
ff7271b9
OT
87772011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8778
8779 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8780 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8781
183fc730
LL
87822011-09-07 Leo Liu <sdl.web@gmail.com>
8783
8784 * net/rcirc.el (rcirc-mode): Conditionally initialize
8785 rcirc-input-ring.
8786
77694924
SM
87872011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * emacs-lisp/find-func.el (find-function-C-source): Only set
8790 find-function-C-source-directory after checking that we found a source
8791 file there (bug#9440).
8792
d809b8eb
AM
87932011-09-06 Alan Mackenzie <acm@muc.de>
8794
8795 * isearch.el (isearch-other-meta-char): Wherever a key list is
8796 unread, "unread" the prefix arg, too. This fixes bug #8901.
8797
453de99f
OG
87982011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8799
8800 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8801
90439906
JL
88022011-09-05 Juri Linkov <juri@jurta.org>
8803
8804 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8805
f62bd846
JL
88062011-09-05 Juri Linkov <juri@jurta.org>
8807
8808 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8809 keeping point where processing of grep matches begins, and
8810 continue to delete remaining escape sequences from the same point.
8811 (grep-filter): Make leading zero optional in "0?1;31m" because
8812 git-grep emits "\033[1;31m" escape sequences unlike expected
8813 "\033[01;31m" as GNU Grep does (bug#9408).
8814 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8815
045820ec
JL
88162011-09-05 Juri Linkov <juri@jurta.org>
8817
8818 * subr.el (y-or-n-p): Capitalize "yes".
8819
f5e29b9b
MA
88202011-09-04 Michael Albinus <michael.albinus@gmx.de>
8821
8822 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8823 `tramp-cache-unload-hook' where appropriate.
8824 (tramp-methods): Rename `tramp-remote-sh' to
8825 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8826 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8827
8828 * net/tramp-sh.el (top): Don't require 'shell.
8829 (tramp-methods): Add `tramp-remote-shell' and
8830 `tramp-remote-shell-args' entries.
8831 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8832 (tramp-sh-handle-shell-command): Remove.
8833 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8834 Use `tramp-remote-shell'.
8835
2784c434
CY
88362011-09-03 Chong Yidong <cyd@stupidchicken.com>
8837
393a301e 8838 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8839 (sendmail-query-once): Save directly to send-mail-function.
8840 Update message-send-mail-function too.
8841
8842 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8843
464cdf56
CS
88442011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8845
8846 * progmodes/python.el (python-mode-map): Use correct function to
8847 start python interpreter from menu-bar (as reported by Geert
8848 Kloosterman).
8849 (inferior-python-mode-map): Fix typo.
393a301e 8850 (python-shell-map): Remove.
464cdf56 8851
d37e5c87
DD
88522011-09-03 Deniz Dogan <deniz@dogan.se>
8853
8854 * net/rcirc.el (rcirc-print): Simplify code for
8855 rcirc-scroll-show-maximum-output. There is no need to walk
8856 through all windows to find the right one.
8857
f3ada0ee
CS
88582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8859
8860 * help.el (help-return-method): Doc fix.
8861
1f3c99ca
MR
88622011-09-03 Martin Rudalics <rudalics@gmx.at>
8863
8864 * window.el (window-deletable-p): Don't return a non-nil value
8865 when there's a buffer that was shown in the window before.
8866 (Bug#9419)
393a301e
SM
8867 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8868 Set window's previous buffers to nil.
1f3c99ca 8869
a3cf097f
EZ
88702011-09-03 Eli Zaretskii <eliz@gnu.org>
8871
8872 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8873 newline before and after the tag line, so it doesn't interfere
8874 with determining the paragraph direction of bidirectional text.
8875
3d03de90
LL
88762011-09-03 Leo Liu <sdl.web@gmail.com>
8877
8878 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8879
c3313451
CY
88802011-09-02 Chong Yidong <cyd@stupidchicken.com>
8881
393a301e 8882 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8883 (pop-to-buffer): Change interactive spec. Pass second argument
8884 directly to display-buffer.
8885 (display-buffer): Fix interactive spec. Use functionp to
8886 distinguish between a function and a list of functions.
8887
8888 * abbrev.el (edit-abbrevs):
8889 * arc-mode.el (archive-extract):
8890 * autoinsert.el (auto-insert):
8891 * bookmark.el (bookmark-bmenu-list):
8892 * files.el (find-file):
8893 * view.el (view-buffer):
8894 * progmodes/compile.el (compilation-goto-locus):
8895 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8896
89894cd8
CY
88972011-09-02 Chong Yidong <cyd@stupidchicken.com>
8898
8899 * window.el (display-buffer-alist): Doc fix.
8900 (display-buffer): Add docstring. Don't treat
8901 display-buffer-default specially.
8902 (display-buffer-reuse-selected-window)
8903 (display-buffer-same-window, display-buffer-maybe-same-window)
8904 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8905 (display-buffer-pop-up-window)
8906 (display-buffer-reuse-or-pop-window)
8907 (display-buffer-use-some-window): New functions.
8908 (display-buffer-default-action): Use them.
393a301e 8909 (display-buffer-default): Delete.
89894cd8
CY
8910 (pop-to-buffer-1): Fix choice of actions.
8911
ae0bc9fb
SM
89122011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * minibuffer.el (completion--insert-strings): Don't get confused by
8915 completion entries that end with an LF char.
8916
e9d90883
EZ
89172011-09-01 Eli Zaretskii <eliz@gnu.org>
8918
8919 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8920
437014c8
CY
89212011-09-01 Chong Yidong <cyd@stupidchicken.com>
8922
8923 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8924 (display-buffer-same-window, display-buffer-other-window):
8925 New functions.
437014c8
CY
8926 (pop-to-buffer-1): New function. Use the above.
8927 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8928 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8929
8930 * view.el (view-buffer-other-window, view-buffer-other-frame):
8931 Just use pop-to-buffer.
8932
a5e063d5
TV
89332011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8934
8935 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8936
793d32bb
WH
89372011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8938
8939 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8940
d65e4c15
RS
89412011-08-31 Richard Stallman <rms@gnu.org>
8942
8943 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8944 of the separation of rmail-view-buffer from rmail-buffer.
8945 If you say no to "replace original", the decrypt is in the
8946 view buffer. If you say yes, the decrypt goes into the
8947 rmail buffer also.
8948
f818cd2a
MR
89492011-08-31 Martin Rudalics <rudalics@gmx.at>
8950
8951 * window.el (display-buffer-window): Rewrite doc-string.
8952 (display-buffer-record-window): New function.
8953 (display-buffer-macro-specifiers)
8954 (display-buffer-even-window-sizes, display-buffer-set-height)
8955 (display-buffer-set-width, display-buffer-in-window)
8956 (display-buffer-reuse-window, display-buffer-split-specifiers)
8957 (display-buffer-side-specifiers, display-buffer-split-window-1)
8958 (display-buffer-split-window, display-buffer-split-atom-window)
8959 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8960 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8961 (display-buffer-other-window-means-other-frame)
8962 (display-buffer-normalize-special)
8963 (display-buffer-normalize-default)
8964 (display-buffer-normalize-argument)
8965 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8966 (display-buffer-normalize-specifiers, display-buffer-frame)
8967 (display-buffer-same-window, display-buffer-same-frame)
8968 (display-buffer-other-window)
8969 (display-buffer-same-frame-other-window)
8970 (display-buffer-other-frame, pop-to-buffer-same-window)
8971 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8972 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8973 (switch-to-buffer-same-frame)
8974 (switch-to-buffer-other-window-same-frame)
8975 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8976 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8977 (display-buffer-alist-set): Remove.
8978 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8979 (special-display-regexps, special-display-function):
8980 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8981 parameter.
8982 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8983 (special-display-frame-alist, special-display-popup-frame)
8984 (same-window-buffer-names, same-window-regexps, same-window-p)
8985 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8986 (split-window-preferred-function, split-height-threshold)
8987 (split-width-threshold, window-splittable-p)
8988 (split-window-sensibly, window--try-to-split-window)
8989 (window--frame-usable-p, even-window-heights)
8990 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8991 (window--display-buffer-2, display-buffer-other-frame):
8992 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8993 (display-buffer-default, display-buffer-assq-regexp): New functions.
8994 (display-buffer-alist): Rewrite doc-string.
8995 (display-buffer-default-action)
8996 (display-buffer-overriding-action): New variables.
8997 (display-buffer, switch-to-buffer): Rewrite.
8998 (pop-to-buffer): Restore Emacs 23 behavior but use
8999 window-normalize-buffer-to-display.
9000 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9001 Restore Emacs 23 behavior but use
9002 window-normalize-buffer-to-switch-to.
9003 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9004 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9005 Rewrite using Emacs 23 options.
f818cd2a 9006
5bc3b51d
MA
90072011-08-31 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * net/tramp.el (tramp-root-regexp): Remove.
9010 (tramp-completion-file-name-regexp-unified)
9011 (tramp-completion-file-name-regexp-separate)
9012 (tramp-completion-file-name-regexp-url): Don't use leading volume
9013 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9014 (tramp-drop-volume-letter): Simplify definition.
9015 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9016
b1a4f8e1
SM
90172011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9020 (bug#9356).
9021
5664fa7b
RT
90222011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9023
b1a4f8e1 9024 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9025
9a45d6c3
JL
90262011-08-29 Juri Linkov <juri@jurta.org>
9027
9028 * isearch.el (isearch-done): Don't display message "Mark saved"
9029 when arg `edit' is non-nil to prevent its flicker in the echo area.
9030
fb87e0fb
CY
90312011-08-28 Chong Yidong <cyd@stupidchicken.com>
9032
9033 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9034 obsolete packages for deletion.
9035
09ac1c2a
CS
90362011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9037
9038 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9039 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9040 view-mode from help-mode.
9041 (help-xref-override-view-map): Remove.
9042 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9043 view-mode is not used anymore.
9044
7a1ff57f
CY
90452011-08-28 Chong Yidong <cyd@stupidchicken.com>
9046
9047 * server.el (server-port): Doc fix.
9048
b9696605
CY
9049 * cus-theme.el (custom-theme-choose-mode): Inherit from
9050 special-mode (Bug#9124).
9051 (custom-theme-choose-mode-map): Add special-mode to parent.
9052
ef8cdf8c
AM
90532011-08-28 Alan Mackenzie <acm@muc.de>
9054
9055 * progmodes/cc-fonts.el
9056 (c-make-font-lock-BO-decl-search-function): New function.
9057 (c-basic-matchers-after - "Fontify the clauses after various
9058 keywords"): Extract the three keyword lists for the 3 erroneous
9059 constructs from the list of four, and use the new function above
9060 in place of an old one.
9061
27de4e20
DD
90622011-08-28 Deniz Dogan <deniz@dogan.se>
9063
9064 * net/rcirc.el (rcirc-insert-prev-input)
9065 (rcirc-insert-next-input): Remove unused argument.
9066
356a3681
SM
90672011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9070
3fc9b218
AM
90712011-08-27 Alan Mackenzie <acm@muc.de>
9072
9073 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9074 handle function pointer parameters properly.
9075
538a061c
MR
90762011-08-27 Martin Rudalics <rudalics@gmx.at>
9077
9078 * window.el (display-buffer-reuse-window): Fix case where
9079 selected window was reused with non-nil OTHER-WINDOW argument.
9080 (Bug#9381)
9081
35b1c40c
DD
90822011-08-27 Deniz Dogan <deniz@dogan.se>
9083
9084 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9085 oftc's NickServ messages.
9086
2f6a3e79
GM
90872011-08-27 Glenn Morris <rgm@gnu.org>
9088
9089 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9090
7254299e
CY
90912011-08-26 Chong Yidong <cyd@stupidchicken.com>
9092
9093 * emacs-lisp/package.el (package-install): Call package-initialize
9094 if called interactively.
9095
f8ccf167
LL
90962011-08-26 Leo Liu <sdl.web@gmail.com>
9097
9098 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9099
3e8cd5ce
JL
91002011-08-25 Juri Linkov <juri@jurta.org>
9101
9102 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9103 `search-whitespace-regexp' (bug#9364).
9104
93eb7113
JL
91052011-08-25 Juri Linkov <juri@jurta.org>
9106
9107 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9108 `regexp-search-ring' to their global values to protect from
9109 updating by `read-from-minibuffer' (bug#9185).
9110
f65d1611
JL
91112011-08-25 Juri Linkov <juri@jurta.org>
9112
9113 * textmodes/ispell.el (ispell-command-loop): Add newline
9114 at the end of the "Use option `i'..." line.
9115
f1cf7a31
JL
91162011-08-25 Juri Linkov <juri@jurta.org>
9117
9118 * battery.el (display-battery-mode): If `battery-status-function'
9119 or `battery-mode-line-format' is nil, display the message and set
9120 `display-battery-mode' to nil (bug#9363).
9121
0c95fcf7
EZ
91222011-08-25 Eli Zaretskii <eliz@gnu.org>
9123
9124 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9125 bidi-string-mark-left-to-right; they are unnecessary now.
9126
a2ebe600
DD
91272011-08-25 Deniz Dogan <deniz@dogan.se>
9128
9129 * net/quickurl.el: Documentation typo fixes.
9130
e4ed06f1
CY
91312011-08-25 Chong Yidong <cyd@stupidchicken.com>
9132
9133 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9134
e5f1c99e
GM
91352011-08-25 Glenn Morris <rgm@gnu.org>
9136
b2948976
GM
9137 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9138
e5f1c99e
GM
9139 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9140 (smtpmail-via-smtp): Handle nil response from smtp.
9141
f22f4808
JL
91422011-08-24 Juri Linkov <juri@jurta.org>
9143
9144 * proced.el (proced-marked): Inherit from `error' instead of
9145 `font-lock-warning-face'.
9146
9147 * ibuffer.el (ibuffer-marked-face): Change default face from
9148 `font-lock-warning-face' to `warning'.
9149 (ibuffer-deletion-face): Change default face from
9150 `font-lock-type-face' to `error'.
9151
9152 * battery.el (battery-update): Use the face `error' instead of
9153 `font-lock-warning-face' (bug#6117).
9154
6a93965e
JL
91552011-08-24 Juri Linkov <juri@jurta.org>
9156
9157 * faces.el (success): Change face color from "Green3" to
9158 "ForestGreen" on light background (bug#9353).
9159
1ed43b09
CY
91602011-08-24 Chong Yidong <cyd@stupidchicken.com>
9161
5664fa7b
RT
9162 * window.el (quit-window): Rename from quit-restore-window.
9163 Use same arglist as old quit-window.
1ed43b09
CY
9164 (frame-auto-delete): Doc fix.
9165
9166 * view.el (view-mode-exit): Use quit-window.
9167
11dcdbb2
JL
91682011-08-24 Juri Linkov <juri@jurta.org>
9169
9170 * isearch.el (isearch-ring-adjust1): Start visiting previous
9171 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9172 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9173 for empty search string (when the last search string is reused
9174 automatically) to adjust the isearch ring to the last element and
9175 prepare the correct index for further M-p commands (bug#9185).
9176
de62b4df
KH
91772011-08-24 Kenichi Handa <handa@m17n.org>
9178
9179 * international/ucs-normalize.el: If decomposition property of
9180 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9181 nil.
9182 (nfd, nfkd): Likewise.
9183
963b492b
SM
91842011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9187 from process filters aren't reliably transmitted to the surrounding
9188 accept-process-output.
9189 (mpc-proc-check): New function.
9190 (mpc-proc-sync): Use it (bug#8293)
9191
93b6b5e1
SM
91922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9195 Add compatibility functions (bug#9313).
9196
bca633fb
EZ
91972011-08-23 Eli Zaretskii <eliz@gnu.org>
9198
b177498a
EZ
9199 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9200
6df6ae42 9201 * international/uni-bidi.el: Regenerate.
bca633fb 9202
0902a04e
KH
92032011-08-23 Kenichi Handa <handa@m17n.org>
9204
9205 * international/charprop.el:
9206 * international/uni-bidi.el:
9207 * international/uni-category.el:
9208 * international/uni-combining.el:
9209 * international/uni-comment.el:
9210 * international/uni-decimal.el:
9211 * international/uni-decomposition.el:
9212 * international/uni-digit.el:
9213 * international/uni-lowercase.el:
9214 * international/uni-mirrored.el:
9215 * international/uni-name.el:
9216 * international/uni-numeric.el:
9217 * international/uni-old-name.el:
9218 * international/uni-titlecase.el:
9219 * international/uni-uppercase.el: Regenerate.
9220
3bbf23bc
MR
92212011-08-23 Martin Rudalics <rudalics@gmx.at>
9222
9223 * help.el (help-window-setup): Fix message displayed when other
9224 window is reused. (Bug#9341)
9225
b3fd59bd
SM
92262011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9227
1802e444
SM
9228 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9229 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9230
b3fd59bd
SM
9231 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9232 Mark obsolete.
9233 * shell.el (shell-parse-pcomplete-arguments): New function.
9234 (shell-completion-vars): Use it instead (bug#9160).
9235
4eb61348
SM
92362011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9237
867cab74
SM
9238 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9239 strings and comments (bug#9333).
9240
4eb61348
SM
9241 * emacs-lisp/debug.el (debug-arglist): New function.
9242 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9243 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9244
262a1439
JL
92452011-08-22 Juri Linkov <juri@jurta.org>
9246
56ee679c
JL
9247 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9248 Revert regexp that highlights output switches to its old
9249 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9250
262a1439
JL
9251 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9252 to check for empty output (bug#9226).
9253
f13f86fb
CY
92542011-08-22 Chong Yidong <cyd@stupidchicken.com>
9255
9256 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9257 symbol-constituent as the default, as that stops font-lock from
9258 working properly (Bug#8843).
9259
c65c9622
LMI
92602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9261
9262 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9263 `coding-system-for-*' around the process open call to avoid
9264 auth-source side effects.
e7f2c178 9265 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9266 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9267 probe hangs.
c65c9622 9268
23a8a5ab
CY
92692011-08-21 Chong Yidong <cyd@stupidchicken.com>
9270
ff98b2dd
CY
9271 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9272
23a8a5ab
CY
9273 * emacs-lisp/find-func.el (find-function-noselect): New arg
9274 lisp-only.
9275
9276 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9277 signal an error for built-in functions (Bug#6664).
9278
f5e3c598
LMI
92792011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
9281 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9282 (smtpmail-try-auth-methods): Use it.
9283
a3f2468a
CY
92842011-08-21 Chong Yidong <cyd@stupidchicken.com>
9285
2c34e8da
CY
9286 * font-lock.el (font-lock-fontify-region)
9287 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9288 (font-lock-default-unfontify-buffer)
9289 (font-lock-default-fontify-region)
9290 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9291
b3fd59bd
SM
9292 * progmodes/compile.el (compilation-error-properties):
9293 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9294 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9295 `ant' regexp.
ee31aabc 9296
a3f2468a
CY
9297 * net/browse-url.el (browse-url-firefox): Don't call
9298 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9299
8e999f70
GM
93002011-08-20 Glenn Morris <rgm@gnu.org>
9301
c21a496a
GM
9302 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9303
59ee0542
GM
9304 * tutorial.el (tutorial--default-keys): Update some default bindings.
9305
8e999f70
GM
9306 * files.el (hack-local-variables): Fully ignore case for "mode:".
9307
e3715033
AM
93082011-08-20 Alan Mackenzie <acm@muc.de>
9309
9310 Resolve invalid use of a regexp in regexp-opt.
9311
4d61f28d
JB
9312 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9313 detection for a java annotation.
e3715033 9314
4d61f28d 9315 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9316 detection for a java annotation.
9317
4d61f28d
JB
9318 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9319 handling for java.
e3715033
AM
9320 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9321
04ed2e9c
CY
93222011-08-20 Chong Yidong <cyd@stupidchicken.com>
9323
9324 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9325 (Bug#9274).
9326
826cee64
AM
93272011-08-20 Alan Mackenzie <acm@muc.de>
9328
58179cce 9329 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9330 such a construct. Mainly for when jit-lock etc. starts a chunk
9331 here.
9332
58179cce 9333 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9334 variable.
58179cce 9335 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9336 c-make-font-lock-search-function.
9337 (c-make-font-lock-search-function): Use the above function.
9338 (c-make-font-lock-context-search-function): New function.
9339 (c-cpp-matchers): Enhance the preprocessor expression case with
9340 the above function
9341 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9342 which takes an expression.
9343
9344 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9345
13009bd8
MR
93462011-08-20 Martin Rudalics <rudalics@gmx.at>
9347
9348 * window.el (display-buffer-reuse-window)
9349 (display-buffer-pop-up-window): Don't reuse or split a side
9350 window.
9351
9234ff7f
GM
93522011-08-19 Glenn Morris <rgm@gnu.org>
9353
9354 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9355 Downcase "Mode:". (Bug#9331)
9234ff7f 9356
f635daa1
CY
93572011-08-18 Chong Yidong <cyd@stupidchicken.com>
9358
9359 * international/characters.el: Add L and R categories.
9360
9361 * subr.el (bidi-string-mark-left-to-right): Rename from
9362 string-mark-left-to-right. Use category search.
9363
9364 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9365
bc987f8b
JL
93662011-08-18 Juri Linkov <juri@jurta.org>
9367
9368 * faces.el (error, warning, success): New faces with definitions
9369 copied from old default values of `font-lock-warning-face',
9370 `compilation-warning', `compilation-info' (bug#6117).
9371
9372 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9373
9374 * progmodes/compile.el (compilation-error): Inherit from `error'.
9375 (compilation-warning): Inherit from `warning'.
9376 (compilation-info): Inherit from `success'.
9377
9378 * dired.el (dired-marked): Inherit from `warning'.
9379 (dired-flagged): Inherit from `error'.
9380
57173b96
LMI
93812011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9382
3e79eb87
LMI
9383 * mail/smtpmail.el (auth-source): Require to avoid problems with
9384 binding variables (bug#9298). Also clean up some unused
9385 autoloads.
9386
b3fd59bd
SM
9387 * net/network-stream.el (network-stream-open-starttls):
9388 Support using starttls.el without using gnutls-cli.
57173b96 9389
02b404de
JL
93902011-08-17 Juri Linkov <juri@jurta.org>
9391
9392 * progmodes/grep.el (rgrep): Handle the case when
9393 `grep-find-command' is a cons cell (bug#9278).
9394
8c9177f2
MR
93952011-08-17 Martin Rudalics <rudalics@gmx.at>
9396
9397 * window.el (display-buffer-pop-up-frame): Run frame creation
9398 function with BUFFER current (as special-display-popup-frame
9399 does). Reported by Drew Adams.
9400
3644a0ab
DU
94012011-08-17 Daiki Ueno <ueno@unixuser.org>
9402
9403 * epa-mail.el: Simplify GnuPG group expansion using
9404 epg-expand-group.
9405 (epa-mail-group-alist, epa-mail-group-modtime)
9406 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9407 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9408 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9409 Remove.
9410
5e617bc2 94112011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9412
9413 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9414
9c4aeabf
AM
94152011-08-16 Alan Mackenzie <acm@muc.de>
9416
9417 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9418 Correct, to avoid the inside of macros.
9419
3a99bf64
RS
94202011-08-16 Richard Stallman <rms@gnu.org>
9421
04963aa8
RS
9422 * epa-mail.el: Handle GnuPG group definitions.
9423 (epa-mail-group-alist, epa-mail-group-modtime)
9424 (epa-mail-gnupg-conf-file): New variables.
9425 (epa-mail-parse-groups, epa-mail-sync-groups)
9426 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9427 (epa-mail-expand-recipients): New functions.
9428 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9429
177549d0
RS
9430 * mail/rmail.el (rmail-epa-decrypt): New command.
9431
fe38beef
RS
9432 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9433 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9434 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9435 (epa-decrypt-armor-in-region): Make error message clearer.
9436
934eacb9
SM
94372011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9440 and "a2b" to "ab" for `prefix'.
9441
d024fb4e
CY
94422011-08-14 Chong Yidong <cyd@stupidchicken.com>
9443
9444 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9445 filter groups.
de148fee
CY
9446 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9447 Fourquet (Bug#8804).
d024fb4e 9448
62f1ca49
JB
94492011-08-12 Juanma Barranquero <lekktu@gmail.com>
9450
9451 * startup.el (argi): Declare as global variable (bug#9275).
9452
9ccaaa4b
CY
94532011-08-12 Chong Yidong <cyd@stupidchicken.com>
9454
9455 * subr.el (string-mark-left-to-right): Search the entire string
9456 for RTL script, not just the terminating character. Doc fix.
9457
a3dae87a
SM
94582011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9459
6cd18349
SM
9460 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9461 New function.
9462 (js--regexp-literal, js-syntax-propertize-function): Remove.
9463 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9464 (js-mode-map): Don't rebind electric keys.
9465 (js-insert-and-indent): Remove.
9466 (js-mode): Setup electric-layout and electric-indent instead.
9467
a3dae87a
SM
9468 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9469
9d5cb631
DU
94702011-08-12 Daiki Ueno <ueno@unixuser.org>
9471
9472 * epa.el (epa-progress-callback-function): Fix the logic of
9473 displaying progress.
9474 * epa-file.el (epa-file-insert-file-contents): Make progress
9475 display more user-friendly.
9476 (epa-file-write-region): Ditto.
9477
3e26a4a2
CY
94782011-08-10 Chong Yidong <cyd@stupidchicken.com>
9479
9480 * subr.el (string-mark-left-to-right): New function.
9481
9482 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9483 Use string-mark-left-to-right.
9484 (list-buffers-noselect): Caller changed.
9485
a3dae87a
SM
9486 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9487 Use string-mark-left-to-right.
3e26a4a2
CY
9488 (tabulated-list-print): Recenter after moving point.
9489
ac8cf6e6
JL
94902011-08-10 Juri Linkov <juri@jurta.org>
9491
9492 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9493 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9494 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9495
8d96c9a4
CY
94962011-08-09 Chong Yidong <cyd@stupidchicken.com>
9497
9498 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9499 (Bug#7554).
9500
7be1c708 95012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9502
9503 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9504 character. (Bug#6594)
9505
37e11a63
CY
95062011-08-08 Chong Yidong <cyd@stupidchicken.com>
9507
839dde57
CY
9508 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9509 (image-dired--with-db-file): New macro.
9510 (image-dired-write-tags, image-dired-remove-tag)
9511 (image-dired-create-gallery-lists, image-dired-write-comments)
9512 (image-dired-get-comment, image-dired-mark-tagged-files)
9513 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9514 (image-dired-gallery-generate): Use insert-file-contents.
9515
37e11a63
CY
9516 * time.el (display-time-world-list, display-time-world-display):
9517 * time-stamp.el (time-stamp-string):
9518 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9519 set-time-zone-rule (Bug#7337).
9520
0b4946c4
DU
95212011-08-08 Daiki Ueno <ueno@unixuser.org>
9522
9523 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9524 (epg-error-to-string, epg-errors-to-string): New function.
9525 (epg-wait-for-completion): Reverse errors list.
9526 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9527 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9528 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9529 (epg-sign-keys, epg-generate-key-from-file)
9530 (epg-generate-key-from-string): Format errors by using
9531 epg-errors-to-string (bug#9255).
9532 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9533
75bfc667
JL
95342011-08-07 Juri Linkov <juri@jurta.org>
9535
9536 * faces.el (list-faces-display): Remove extra angle bracket
9537 from `help-mode-map'.
9538
9539 * info.el (Info-history-toc-nodes): Doc fix.
9540
9541 * longlines.el (longlines-mode): Doc fix.
9542
673e08bb
SM
95432011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9544
4640dd88
SM
9545 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9546 of statements and in a few more cases (bug#9183).
9547
673e08bb
SM
9548 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9549 New functions.
9550 (cl-transform-lambda): Use them (bug#9239).
9551
89b3f019
MR
95522011-08-05 Martin Rudalics <rudalics@gmx.at>
9553
9554 * window.el (display-buffer-same-window)
9555 (display-buffer-same-frame, display-buffer-other-window)
9556 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9557 (pop-to-buffer-other-window)
9558 (pop-to-buffer-same-frame-other-window)
9559 (pop-to-buffer-other-frame): Make them defuns.
9560 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9561
640c8776
SM
95622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * subr.el (make-composed-keymap): Move from C. Change calling
9565 convention, and improve docstring to bring attention to a subtle point.
9566 * minibuffer.el (completing-read-default): Adjust accordingly.
9567
63648a95
MA
95682011-08-03 Michael Albinus <michael.albinus@gmx.de>
9569
9570 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9571 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9572
9573 * net/trampver.el: Update release number.
9574
b796c9b7
SM
95752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9578 "in" (bug#9190).
9579
2239d7d5
LMI
95802011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9581
e07dd7c3
LMI
9582 * mail/sendmail.el (sendmail-query-once): Restore the current
9583 buffer after querying (bug#9074).
9584
0e6a2bd7
LMI
9585 * dired.el (dired-flagged): Use different faces for marked and
9586 flagged files (bug#6117).
9587
ce887515
LMI
9588 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9589 (bug#4433).
9590
92f2affc
LMI
9591 * ido.el (ido-mode): Switch off the message if called
9592 non-interactively.
9593
57d5aff0
LMI
9594 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9595 before 587, since it appears that that's more likely to work for
9596 more people.
9597
98cd6c18 9598 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9599 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9600 exist.
9601
b96dec83
LMI
9602 * info.el: Remove the `Info-beginning-of-buffer' function
9603 (bug#8325).
9604
b796c9b7
SM
9605 * net/network-stream.el (network-stream-open-starttls):
9606 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9607
d90e2ea0
MR
96082011-08-01 Martin Rudalics <rudalics@gmx.at>
9609
9610 * window.el (display-buffer-in-window): Don't set dedicated status
9611 of window here (Bug#9215).
9612 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9613 (display-buffer-pop-up-side-window)
b796c9b7 9614 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9615
cca09170
SM
96162011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9619 before binding generated-autoload-file.
9620
027b979c
DD
96212011-08-01 Deniz Dogan <deniz@dogan.se>
9622
9623 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9624
3c7ee4f3
MA
96252011-07-30 Michael Albinus <michael.albinus@gmx.de>
9626
9627 Sync with Tramp 2.2.2.
9628
9629 * net/trampver.el: Update release number.
9630
2cc8e51a
JL
96312011-07-30 Juri Linkov <juri@jurta.org>
9632
9633 * dired-aux.el (dired-touch-initial): Remove function.
9634 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9635 current time, and `default' to the last modification time of the
9636 current marked file (bug#6887).
9637
a514d856
JM
96382011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9639
9640 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9641 numeric argument to read-number (bug#9163).
a514d856 9642
8a7eddd7
MA
96432011-07-27 Michael Albinus <michael.albinus@gmx.de>
9644
9645 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9646 connection process, it could be nil.
9647
1ddd96f5
LL
96482011-07-27 Leo Liu <sdl.web@gmail.com>
9649
9650 Simplify url handling in rcirc-mode.
9651
9652 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9653 (rcirc-browse-url-at-mouse): Remove.
9654 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9655
b248a85d
AM
96562011-07-26 Alan Mackenzie <acm@muc.de>
9657
9658 Fontify bitfield declarations properly.
9659
9660 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9661 (c-symbol-chars): Now exported as a lang variable.
9662 (c-not-primitive-type-keywords): New lang variable.
9663
9664 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9665 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9666 parsed as a bitfield declaration.
b248a85d 9667
b796c9b7
SM
9668 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9669 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9670 (c-punctuation-in): New function.
9671 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9672 declarations properly.
9673
68575ab0
UJ
96742011-07-26 Ulf Jasper <ulf.jasper@web.de>
9675
9676 * calendar/icalendar.el (icalendar--all-events): Take care of
9677 multiple vcalendars in a single file.
b796c9b7 9678 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9679
0f0a88b9
DD
96802011-07-25 Deniz Dogan <deniz@dogan.se>
9681
9682 * image.el (insert-image): Clarifying docstring.
9683
0b3f36df
MA
96842011-07-24 Michael Albinus <michael.albinus@gmx.de>
9685
9686 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9687 `tramp-send-command-and-check' if there is no error.
9688 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9689
a9901f61
AM
96902011-07-22 Alan Mackenzie <acm@muc.de>
9691
9692 Prevent cc-langs.elc being loaded at run time.
9693
9694 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9695 cc-langs.
9696
4d61f28d 9697 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9698 "(require 'cc-langs)". Quote a form so it will evaluate at
9699 (cc-mode's) compilation time.
9700
11d074b2
MA
97012011-07-22 Michael Albinus <michael.albinus@gmx.de>
9702
9703 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9704 loading. (Bug#9114)
9705
938b94c8
MR
97062011-07-21 Martin Rudalics <rudalics@gmx.at>
9707
9708 * window.el (display-buffer-pop-up-window)
9709 (display-buffer-pop-up-side-window)
9710 (display-buffer-in-side-window): Call display-buffer-set-height
9711 and display-buffer-set-width after setting the new window's
b796c9b7 9712 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9713
bfa4f190
SS
97142011-07-20 Sam Steingold <sds@gnu.org>
9715
9716 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9717 (etags-tags-included-tables): Call `convert-standard-filename' on
9718 the file names contained in TAGS so that windows Emacs can handle
9719 TAGS files created by cygwin ctags.
9720
8ca42262
LMI
97212011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9722
9723 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9724 which apparently didn't work.
9725
5db2afd2 97262011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9727
5db2afd2
RW
9728 * proced.el (proced-send-signal): For *Marked Processes* buffer
9729 put point at beginning of buffer.
9730
92e15d10
SB
97312011-07-19 Stephen Berman <stephen.berman@gmx.net>
9732
9733 * proced.el (proced-format): Make header lines align with the text
9734 (bug#1779).
9735
1bfd59e5
LMI
97362011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9737
9738 * view.el (view-buffer): Allow running in `special' modes if we're
9739 visiting a file (bug#8615).
9740
f5aae37c
MR
97412011-07-19 Martin Rudalics <rudalics@gmx.at>
9742
9743 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9744 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9745 New functions.
f5aae37c
MR
9746 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9747 more accurately.
9748
bf2c1571
AM
97492011-07-18 Alan Mackenzie <acm@muc.de>
9750
9751 Fontify declarators properly when, e.g., a jit-lock chunk begins
9752 inside a declaration.
9753
9754 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9755
b796c9b7
SM
9756 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9757 New function.
bf2c1571
AM
9758 (c-complex-decl-matchers): Insert reference to
9759 c-font-lock-enclosing-decls.
9760
9761 * progmodes/cc-engine.el (c-backward-single-comment):
9762 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9763 to nil around calls to (forward-comment -1).
9764
4e190b80
LMI
97652011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
12dc863d
LMI
9767 * image.el (put-image): Doc typo fix.
9768
a762e966
LMI
9769 * progmodes/etags.el (tags-search): Doc typo fix.
9770
4e190b80
LMI
9771 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9772 password if we get errors 550 to 554.
9773
f019fb21
LMI
97742011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9775
b796c9b7 9776 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9777
81746738
LMI
9778 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9779 indentation character (bug#6380).
9780
3ee3a1b5
LMI
9781 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9782
c82f64de
LMI
9783 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9784 to clarify what the problem is (bug#4291).
9785
f019fb21
LMI
9786 * simple.el (current-kill): Clarify what
9787 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9788 (auto-fill-mode): Document `auto-fill-function' in relation to
9789 `auto-fill-mode' (bug#2470).
f019fb21 9790
0794775d
LM
97912011-07-16 Lawrence Mitchell <wence@gmx.li>
9792
9793 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9794 method if slot is read-only (bug#9035).
9795
be39b8cc
MR
97962011-07-16 Martin Rudalics <rudalics@gmx.at>
9797
b796c9b7 9798 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9799 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9800 selected before, see discussion of (Bug#8615), (Bug#6954).
9801 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9802
6ccf7859
GM
98032011-07-15 Glenn Morris <rgm@gnu.org>
9804
9805 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9806 Respect help-form.
6ccf7859 9807
87e86684
LM
98082011-07-09 Lawrence Mitchell <wence@gmx.li>
9809
9810 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9811 (gnutls-negotiate): Use it.
9812
d6066239
LMI
98132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9814
b796c9b7
SM
9815 * net/gnutls.el (gnutls-negotiate):
9816 Upcase `gnutls-algorithm-priority'.
d6066239 9817
bd23ebc0
GM
98182011-07-15 Glenn Morris <rgm@gnu.org>
9819
c65bca65
GM
9820 * jka-compr.el (jka-compr-verbose): Move from here...
9821 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9822 Add missing :version tag.
9823 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9824
478615cc
LMI
98252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9826
7b41decb
LMI
9827 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9828 (gnutls-negotiate): Use it.
9829
dbc44fcd
LMI
9830 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9831
06789f97
LMI
9832 * info.el (Info-beginning-of-buffer): New command.
9833 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9834 announcing `b' as the key (bug#8325).
ab896c37 9835 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9836
c39da690
LMI
9837 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9838
3aa5f34b
LMI
9839 * international/mule-cmds.el
9840 (describe-specified-language-support): Make the error message
9841 clearer (bug#8905).
9842
4bf0979f
LMI
9843 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9844
478615cc
LMI
9845 * isearch.el (isearch-barrier): Add a doc string, since it's
9846 mentioned in a function doc string (bug#8678).
9847
75c68aa1
MR
98482011-07-15 Martin Rudalics <rudalics@gmx.at>
9849
9850 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9851 buffer argument (Bug#9083) and self-identifying label argument.
9852
a7c33da2
GM
98532011-07-15 Glenn Morris <rgm@gnu.org>
9854
9855 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9856
2f5c6024
LMI
98572011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9858
9859 * man.el (Man-fontify-manpage): Fix message when formatting the
9860 man page (bug#7929).
9861
0bb23927 98622011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9863
9864 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9865 argument LRM; if non-nil, append an invisible LRM character to the
9866 buffer name.
9867 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9868 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9869 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9870 paragraph direction.
cce4b0a7 9871
621ef9ab
LMI
98722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9873
d1583c48
LMI
9874 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9875 the man page name (bug#7929).
9876
6a57fb5f
LMI
9877 * image.el (put-image): Mention the `put-image' overlay property
9878 (bug#7834).
9879
d7956b14
LMI
9880 * scroll-bar.el (set-scroll-bar-mode): Mention that
9881 `scroll-bar-mode' lists the values (bug#7772).
9882
5b2d4a66
LMI
9883 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9884 command (bug#7729).
9885
7509a874
LMI
9886 * rect.el (apply-on-rectangle): Return the point after the last
9887 operation.
9888 (string-rectangle): Go to the point after the last operation
9889 (bug#7522).
9890
4fe74b19
LMI
9891 * printing.el (pr-toggle-region): Clarify the documentation
9892 slightly (bug#7493).
9893
b796c9b7
SM
9894 * time.el (display-time-update):
9895 Allow `display-time-mail-function' to return nil (bug#7158).
9896 Fix suggested by Detlev Zundel.
ab283561 9897
fc233c9d
LMI
9898 * vc/diff.el (diff): Clarify the order the file names are read
9899 (bug#7111).
9900
43f5740b
LMI
9901 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9902 the doc string (bug#7015).
9903
f2182a76
LMI
9904 * font-lock.el (font-lock-maximum-decoration): Mention what
9905 numeric levels mean (bug#6935).
9906
621ef9ab
LMI
9907 * startup.el (initial-buffer-choice): Don't mention the `none'
9908 selection, which is against policy.
9909
adc47434
MR
99102011-07-14 Martin Rudalics <rudalics@gmx.at>
9911
b796c9b7
SM
9912 * window.el (display-buffer-normalize-special):
9913 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9914
7e5bfb8f
EZ
99152011-07-14 Eli Zaretskii <eliz@gnu.org>
9916
9917 * subr.el (version<, version<=, version=): Mention "-CVS" and
9918 "-12345" alpha version numbers.
9919
27fa387a
CY
99202011-07-14 Chong Yidong <cyd@stupidchicken.com>
9921
9922 * bindings.el: Add advertised binding for set-mark-command
9923 (Bug#5772).
9924
8bdfa064
CY
99252011-07-14 Chong Yidong <cyd@stupidchicken.com>
9926
9927 * bindings.el (mode-line-other-buffer):
9928 * bookmark.el (bookmark-bmenu-2-window):
9929 * bs.el (bs-cycle-next, bs-cycle-previous):
9930 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9931 switch-to-buffer.
9932
9933 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9934 Delete.
8bdfa064 9935
5eba16a3
JB
99362011-07-14 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * follow.el (follow-debug-message, follow-redisplay):
9939 * jka-cmpr-hook.el (with-auto-compression-mode):
9940 Fix typos in docstrings.
9941
15853710
LMI
99422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9943
a28e4607
LMI
9944 * subr.el (with-silent-modifications): Clarify somewhat what the
9945 macro inhibits (bug#6525).
9946
15853710
LMI
9947 * simple.el (eval-expression): Note what it does if called
9948 interactively (bug#6495).
9949
bee0fcef
CY
99502011-07-13 Chong Yidong <cyd@stupidchicken.com>
9951
b796c9b7
SM
9952 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9953 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9954
9955 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9956 Remove switch-to-buffer.
9957
58274504
LMI
99582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959
bd2fcc8d
LMI
9960 * files.el (make-directory): Clarify that an error will be raised
9961 if there's an error (bug#6397).
9962
0f04b32c
LMI
9963 * startup.el (initial-buffer-choice): Add `none' as a choice
9964 (bug#6234).
9965
465c5fc8
LMI
9966 * subr.el (add-hook): Clarify section about buffer-local hooks
9967 (bug#6218).
9968
58274504
LMI
9969 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9970
bead9a43
JB
99712011-07-13 Juanma Barranquero <lekktu@gmail.com>
9972
9973 * tabify.el (untabify): Preserve the current column so that point
9974 doesn't move (bug#6032).
9975
3af98a7b
LMI
99762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9977
b796c9b7
SM
9978 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9979 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9980
6240145a
GM
99812011-07-13 Glenn Morris <rgm@gnu.org>
9982
9983 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9984 (dired-insert-directory): Give a message the first time
9985 if ls is found not to support --dired.
9986
1d8c2ccc
LMI
99872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988
9989 * simple.el (toggle-truncate-lines): Clarify what is toggled
9990 (bug#5580). Text by Drew Adams.
9991
5fc4038e
CY
99922011-07-13 Chong Yidong <cyd@stupidchicken.com>
9993
9994 * simple.el (blink-matching-open): Make the error message from the
9995 last change less verbose.
9996
bf6012e5
DN
99972011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9998
9999 * font-lock.el (font-lock-comment-face): Use the high contrast
10000 "yellow" color for font-lock-comment-face on low color terminals
10001 using a dark background color (bug#4221).
10002
343c3b5a
LMI
100032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10004
7e9505c5
LMI
10005 * dired.el (dired-insert-set-properties): Make the doc string
10006 reflect what it does now (bug#5325).
10007
c26fdcf5
LMI
10008 * simple.el (blink-matching-open): Say that we were unable to find
10009 the match within the limit, if we're limited (bug#5122).
10010
bb388cc5
LMI
10011 * international/mule-cmds.el (prefer-coding-system): Add an
10012 example (bug#4869).
10013
343c3b5a
LMI
10014 * progmodes/etags.el (tags-search): Document `file-list-form'
10015 (bug#4731).
10016
2a517d45
LM
100172011-07-13 Lawrence Mitchell <wence@gmx.li>
10018
10019 * net/browse-url.el (browse-url-default-browser)
10020 (browse-url-browser-function): Make the default browser choice a
10021 bit more logical (bug#4300). Also clean up the doc string.
10022
b6c78ef2
JB
100232011-07-13 Juanma Barranquero <lekktu@gmail.com>
10024
10025 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10026 binary endings (bug#4440).
10027
1c4dd947
LMI
100282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10029
a2014063
LMI
10030 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10031 which can be pretty annoying (bug#8971).
10032
9c9c2d88
LMI
10033 * jka-compr.el (jka-compr-verbose): New variable, and use
10034 throughout (bug#8971).
10035
1c4dd947
LMI
10036 * info.el (Info-find-file): Fall back on the installation
10037 directory if we can't find the info node anywhere else.
10038
a1c9f41b
SO
100392011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10040
10041 * vc/vc.el (vc-revert-file):
10042 Don't set file time-stamp in the past. (Bug#5181)
10043
536f3d36
LMI
100442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10045
7152b011
LMI
10046 * files.el (after-find-file): Give a better error message when
10047 trying to find a symlink that points to a file that doesn't exist
10048 (bug#4398).
10049
536f3d36
LMI
10050 * progmodes/cc-vars.el: Remove (probably) misleading comment
10051 (bug#4396).
10052
460c0fba
JB
100532011-07-12 Johan Bockgård <bojohan@gnu.org>
10054
10055 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10056
7a6bda45
CY
100572011-07-12 Chong Yidong <cyd@stupidchicken.com>
10058
10059 * mouse-sel.el: Hack restoring functionality, while keeping
10060 compatibility with 2010-07-03 changes to mouse selection.
10061 (mouse-sel-primary-overlay): New var.
10062 (mouse-sel-selection-alist): Use it.
10063 (mouse-sel-mode): Doc fix; remove points that are default features
10064 of mouse.el.
10065
c79598ef
JB
100662011-07-12 Johan Bockgård <bojohan@gnu.org>
10067
10068 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10069 Fix previous fix (bug#2490).
10070
ff8be6ef
RW
100712011-07-12 Roland Winkler <winkler@gnu.org>
10072
b796c9b7
SM
10073 * textmodes/bibtex.el (bibtex-initialize):
10074 Use pop-to-buffer-same-window.
ff8be6ef
RW
10075 (bibtex-search-entries): Fix interactive call.
10076
296ba3ee
LMI
100772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10078
f5242a02 10079 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10080 Fontise bytecomp Error lines more correctly (bug#2490).
10081 Fix suggested by Johan Bockgård.
f5242a02 10082
296ba3ee
LMI
10083 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10084
10085 * dired-x.el (dired-guess-default): Use `delete-dups'.
10086
f69fd0d2
CY
100872011-07-12 Chong Yidong <cyd@stupidchicken.com>
10088
10089 * dired.el (dired-mark-prompt):
10090 * dired-aux.el (dired-read-shell-command): Doc fix.
10091
eab5dc07
LMI
100922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10093
b796c9b7
SM
10094 * mail/sendmail.el (sendmail-query-once):
10095 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10096 emacs -Q.
10097
10098 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10099
eab5dc07
LMI
10100 * cus-edit.el (custom-file): Take an optional no-error variable.
10101 (customize-save-variable): Set the variable, and give a warning if
10102 running under "emacs -q".
10103
a1e65d42
JB
101042011-07-11 Juanma Barranquero <lekktu@gmail.com>
10105
10106 * loadhist.el (unload-feature-special-hooks):
10107 Add `auto-coding-functions', `fill-nobreak-predicate' and
10108 `find-directory-functions' (bug#5327).
10109
1d52da10
LMI
101102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10111
be958f1d
LMI
10112 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10113
5bedb26c
LMI
10114 * cus-edit.el (custom-guess-name-alist): -alist variables should
10115 use the `alist' type (bug#3120). Suggested by Drew Adams.
10116
1d52da10
LMI
10117 * printing.el: Add documentation to all the `pr-toggle-' commands.
10118
cd394be1 101192011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10120
10121 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10122 backends where it makes sense (bug#2623).
10123
dcc88d8a
LMI
101242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10125
c3de9feb
LMI
10126 * dired-x.el (dired-guess-default): Remove duplicate shell command
10127 entries (bug#2028).
8a93078b 10128 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10129 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10130
dcc88d8a
LMI
10131 * subr.el (remove-duplicates): New conveniency function.
10132
505e3645
LMI
101332011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134
10135 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10136 (bug#1526).
10137
101382011-07-10 Martin Rudalics <rudalics@gmx.at>
10139
10140 * window.el (display-buffer-normalize-default): Don't invert
10141 meaning of even-window-heights. Reported by Eli Zaretskii
10142 <eliz@gnu.org>.
10143
455e4fa1
BR
101442011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10145
10146 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10147
8e0bc3e9
CY
101482011-07-10 Chong Yidong <cyd@stupidchicken.com>
10149
10150 * window.el (display-buffer): Fix arguments to
10151 display-buffer-reuse-window in last change.
10152
fa7c3228
CY
10153 * faces.el (link): Use a less saturated blue on light backgrounds.
10154
10155 * startup.el (fancy-startup-text, fancy-about-text)
10156 (fancy-startup-tail): Use font-lock faces, for background safety.
10157
c0a7f300
BN
101582011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10159
b796c9b7
SM
10160 * emulation/viper-cmd.el (viper-change-state-to-vi):
10161 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10162
4dc2a129
MR
101632011-07-09 Martin Rudalics <rudalics@gmx.at>
10164
10165 * window.el (display-buffer-default-specifiers): Remove.
10166 (display-buffer-macro-specifiers): Remove default specifiers.
10167 (display-buffer-alist): Default to nil.
b796c9b7 10168 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10169 (display-buffer-pop-up-window): Allow splitting internal
10170 windows. Check whether a live window was created.
10171 (display-buffer-other-window-means-other-frame)
10172 (display-buffer-normalize-arguments): Rename to
10173 display-buffer-normalize-argument and rewrite. Set the
10174 other-window specifier.
10175 (display-buffer-normalize-special): New function.
10176 (display-buffer-normalize-options): Rename to
10177 display-buffer-normalize-default and rewrite.
10178 (display-buffer-normalize-options-inhibit): Remove.
10179 (display-buffer-normalize-specifiers): Rewrite.
10180 (display-buffer): Process other-window specifier and call
10181 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10182 more faithfully.
b796c9b7 10183 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10184 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10185 (display-buffer-in-window, display-buffer-alist-set):
10186 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10187 <tassilo@member.fsf.org>.
10188
2d43b8c9
LL
101892011-07-09 Leo Liu <sdl.web@gmail.com>
10190
10191 * register.el (insert-register): Restore accidental change on
10192 2011-06-26. (Bug#9028)
10193
7f9b7c53
GM
101942011-07-09 Glenn Morris <rgm@gnu.org>
10195
10196 * subr.el (remq): Handle the empty list. (Bug#9024)
10197
f042cfd8
AS
101982011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10199
10200 * mail/sendmail.el (send-mail-function): No longer delay custom
10201 initialization.
10202 * custom.el (custom-initialize-delay): Doc fix.
10203
856b2f11
SM
102042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10207
afae1d68
MA
102082011-07-08 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10211 human-friendly prompt.
10212
0757af94
SM
102132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10216 provided by a particular plugin.
10217
d760b731
LMI
102182011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10219
10220 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10221 save customizations (with "emacs -Q"), just set the variable
10222 instead of erroring out.
10223
10224 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10225
cd79ce90
JL
102262011-07-08 Juri Linkov <juri@jurta.org>
10227
10228 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10229 (archive-zip-update-case): Use 7z if found by `executable-find'.
10230 The order of searching the available programs is the same as in
10231 `archive-zip-extract' (bug#8968).
10232
14cc04aa
CY
102332011-07-07 Chong Yidong <cyd@stupidchicken.com>
10234
10235 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10236 (menu-bar-options-menu): Tweak descriptions.
10237
0a1848ec
LMI
102382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10239
10240 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10241 menu items into verb phrases (bug#1421). Also refill to fit under
10242 80 columns.
10243
f5bd0689
CY
102442011-07-07 Chong Yidong <cyd@stupidchicken.com>
10245
538e85c6
CY
10246 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10247 (Info-read-node-name): Doc fix (Bug#1084).
10248
f5bd0689
CY
10249 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10250 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10251 (end-of-sexp, beginning-of-sexp)
10252 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10253 (forward-symbol, forward-same-syntax, word-at-point)
10254 (sentence-at-point): Doc fix (Bug#1144).
10255
56ec5115
LMI
102562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10257
f3f8e37f
LMI
10258 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10259 should cover it (bug#1281).
10260
0757af94 10261 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10262
e9fce1ac 10263 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10264 negotiation fails, then possibly try again with a non-encrypted
10265 connection (bug#9017).
10266
56ec5115
LMI
10267 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10268 be used.
10269
c2f9aec8
RS
102702011-07-07 Richard Stallman <rms@gnu.org>
10271
10272 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10273 property, and handle its changed format.
10274 Look for the correct line number.
10275 Use file's line contents (but not past first =) to find
10276 correct line in message.
10277
ef7b981d 102782011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10279
10280 * international/characters.el (build-unicode-category-table):
10281 Delete it.
0757af94 10282 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10283
0757af94 10284 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10285 to src/chartab.c.
10286 (get-char-code-property): Call unicode-property-table-internal to
10287 load a file. Call get-unicode-property-internal where necessary.
10288 (put-char-code-property): Call unicode-property-table-internal to
10289 load a file. Call put-unicode-property-internal where necessary.
10290 put-unicode-property-internal where necessary.
0757af94
SM
10291 (char-code-property-description):
10292 Call unicode-property-table-internal to load a file.
c805dec0
KH
10293
10294 * international/charprop.el:
10295 * international/uni-bidi.el:
10296 * international/uni-category.el:
10297 * international/uni-combining.el:
10298 * international/uni-comment.el:
10299 * international/uni-decimal.el:
10300 * international/uni-decomposition.el:
10301 * international/uni-digit.el:
10302 * international/uni-lowercase.el:
10303 * international/uni-mirrored.el:
10304 * international/uni-name.el:
10305 * international/uni-numeric.el:
10306 * international/uni-old-name.el:
10307 * international/uni-titlecase.el:
10308 * international/uni-uppercase.el: Regenerate.
10309
10310 * loadup.el: Load international/charprop.el before
10311 international/characters.
10312
e14b388a
CY
103132011-07-07 Chong Yidong <cyd@stupidchicken.com>
10314
10315 * window.el (next-buffer, previous-buffer): Signal an error if
10316 called from a minibuffer window.
10317
10318 * bindings.el: Revert 2011-07-04 change.
10319
354cf0ba
RS
103202011-07-06 Richard Stallman <rms@gnu.org>
10321
10322 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10323 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10324 Treat markers like ints.
10325 (rmail-mime-entity): Doc fix.
10326
a48868a7
LMI
103272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10328
4906cd3d
LMI
10329 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10330 defcustom again for backwards compatibility.
10331
e0457abe
LMI
10332 * simple.el (shell-command-on-region): Fill.
10333
d67f7e1f
LMI
10334 * dired-aux.el (dired-kill-line): Add a doc string.
10335
fe204702
LMI
10336 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10337 to "\\sw\\|\\s_" (bug#358).
10338
a48868a7
LMI
10339 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10340 (dired-unmark-backward): Ditto.
10341 (dired-flag-backup-files): Ditto.
10342
10343 * dired-x.el (dired-mark-sexp): Ditto.
10344
aa8a705c
RS
103452011-07-06 Richard Stallman <rms@gnu.org>
10346
10347 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10348 (rmail-mime-entity): New arg TRUNCATED.
10349 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10350 New functions.
10351 (rmail-mime-save): Warn if entity is truncated.
10352 (rmail-mime-toggle-hidden): Likewise, for showing.
10353 (rmail-mime-process-multipart): Record when an entity is truncated.
10354
a9a936b9
RS
10355 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10356 if ENTITY is a string.
10357
1f2b92cb
LMI
103582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10359
f4f73198 10360 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10361 of faces when `M-C-x'-ing their definitions (bug#8378).
10362 Also clean up the code slightly.
f4f73198 10363
12b16734 10364 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10365 because that makes the colors go away.
12b16734 10366
f0691d22
LMI
10367 * mail/sendmail.el (send-mail-function): Change the default to
10368 `sendmail-query-once'.
9e87df06 10369 (sendmail-query-once): Add an autoload cookie.
f0691d22 10370
1f2b92cb
LMI
10371 * net/network-stream.el (network-stream-open-starttls): Try using
10372 a plain connection even if the server offered STARTTLS, and we
10373 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10374 capability. This should make smtpmail.el work in slightly more
10375 configurations.
10376
1cdd2a1b
MA
103772011-07-06 Michael Albinus <michael.albinus@gmx.de>
10378
10379 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10380 New defun.
10381 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10382
fbcc67e2
MM
103832011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10384
10385 * progmodes/sql.el: Version 3.0
0757af94 10386 (sql-product-alist): Add product :completion-object,
fbcc67e2 10387 :completion-column, and :statement attributes.
0757af94 10388 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10389 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10390 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10391 ansi keywords.
10392 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10393 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10394 (sql-oracle-show-reserved-words): New function for development.
10395 (sql-product-font-lock): Simplify for source code buffers.
10396 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10397 New functions.
10398 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10399 (sql-mode-map): Add statement movement functions.
10400 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10401 New variable.
fbcc67e2
MM
10402 (sql-statement-regexp, sql-beginning-of-statement)
10403 (sql-end-of-statement, sql-signum): New functions.
0757af94 10404 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10405 (sql-show-sqli-buffer): Bug fix.
10406 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10407 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10408 with sql-interactive-mode.
10409 (sql-save-connection): Save buffer local settings.
0757af94 10410 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10411 (sql-product-interactive): Bug fix.
10412 (sql-preoutput-hold): New variable.
10413 (sql-interactive-remove-continuation-prompt): Bug fixes.
10414 (sql-debug-redirect): New variable.
10415 (sql-str-literal): New function.
10416 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10417 Redesign.
fbcc67e2
MM
10418 (sql-oracle-save-settings, sql-oracle-restore-settings)
10419 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10420 (sql-completion-object, sql-completion-column)
10421 (sql-completion-sqlbuf): New variables.
10422 (sql-build-completions-1, sql-build-completions)
10423 (sql-try-completion): New functions.
10424 (sql-read-table-name): Use them.
10425 (sql-contains-names): New buffer local variable.
10426 (sql-list-all, sql-list-table): Use it.
10427 (sql-oracle-completion-types): New variable.
10428 (sql-oracle-completion-object, sql-sqlite-completion-object)
10429 (sql-postgres-completion-object): New functions.
10430
d4eaeab1
GM
104312011-07-06 Glenn Morris <rgm@gnu.org>
10432
10433 * window.el (pop-to-buffer): Doc fix.
10434
322b7dab 104352011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10436
10437 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10438
322b7dab 104392011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10440
322b7dab 10441 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10442
322b7dab 10443 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10444
605dd5bf
CY
104452011-07-05 Chong Yidong <cyd@stupidchicken.com>
10446
10447 * button.el (button): Inherit from link face. Suggested by Dan
10448 Nicolaescu.
10449
7dbfa719
SM
104502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10451
3db614b0
SM
10452 * progmodes/gdb-mi.el: Fit in 80 columns.
10453 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10454 switch-to-buffer.
10455
7dbfa719
SM
10456 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10457 if imenu is simply not configured (bug#8941).
10458
919d884a
KM
104592011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10460
10461 * allout.el (allout-post-undo-hook): New allout outline-change
10462 event hook to signal undo activity.
10463 (allout-post-command-business): Run allout-post-undo-hook if an
10464 undo just occurred.
7dbfa719
SM
10465 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10466 * allout-widgets.el (allout-widgets-after-undo-function):
10467 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10468 in the vicinity of an undo.
10469 (allout-widgets-mode): Include allout-widgets-after-undo-function
10470 on the new allout-post-undo-hook.
10471
450a0f09
SM
104722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10475 Let define-derived-mode define it.
10476 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10477 cycles of abbrev-table inheritance (bug#8998).
10478
2de69e00
RW
104792011-07-05 Roland Winkler <winkler@gnu.org>
10480
10481 * textmodes/bibtex.el: Add support for biblatex.
10482 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10483 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10484 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10485 (bibtex-entry-alist, bibtex-field-alist): New variables.
10486 (bibtex-entry-field-alist): Obsolete alias for
10487 bibtex-BibTeX-entry-alist.
10488 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10489 (bibtex-set-dialect): New command.
10490 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10491 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10492 Bind via bibtex-set-dialect.
2de69e00
RW
10493 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10494 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10495 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10496 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10497 Define via bibtex-set-dialect.
450a0f09
SM
10498 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10499 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10500 (bibtex-vec-push, bibtex-vec-incr): New functions.
10501 (bibtex-format-entry, bibtex-field-list)
10502 (bibtex-print-help-message, bibtex-validate)
10503 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10504
2dcdbdd9
SM
105052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * progmodes/compile.el (compilation-goto-locus):
10508 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10509 * bs.el (bs-cycle-next, bs-cycle-previous):
10510 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10511 * bindings.el (mode-line-other-buffer):
10512 * autoinsert.el (auto-insert):
10513 * arc-mode.el (archive-extract):
10514 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10515
b27640fe
JB
105162011-07-05 Juanma Barranquero <lekktu@gmail.com>
10517
10518 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10519 Fix check of `emacs-lock-unlockable-modes'.
10520 Coerce true values of `emacs-lock--try-unlocking' to t.
10521
53bbe3ad
JB
105222011-07-05 Juanma Barranquero <lekktu@gmail.com>
10523
10524 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10525 * emacs-lock.el: New file.
10526
1d3cdbc7
JD
105272011-07-05 Julien Danjou <julien@danjou.info>
10528
10529 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10530 than `boundp' to check if face is set.
10531
9173deec
JB
105322011-07-05 Juanma Barranquero <lekktu@gmail.com>
10533
10534 * register.el (registerv-make):
10535 * window.el (window-min-height): Fix typos in docstrings.
10536
869795d6
JD
105372011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10538
9173deec 10539 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10540 Update doc string.
10541
b768cdcd
JB
105422011-07-04 Juanma Barranquero <lekktu@gmail.com>
10543
10544 * server.el (server-execute): Catch quit and call
10545 `server-return-error' to pass the error back to emacsclient and
10546 close the connection (bug#8942).
10547
13aa217b
KM
105482011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10549
10550 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10551 insecure exception for current topic. Also note that auto-saves
10552 are handled differently.
10553
5d3385a0 10554 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10555 State variables for tracking auto-save inhibition situation.
10556
10557 (allout-write-contents-hook-handler): Rename from
10558 'allout-write-file-hook-handler', and describe how it depends on
10559 write-contents-functions sensitivity to non-nil value to prevent
10560 file write.
10561
10562 (allout-auto-save-hook-handler): Remove. auto-save does not check
10563 this in individual buffers, only in the starting buffer, so this
10564 is not the right way for us to inhibit auto-save in a buffer
10565 according to its condition.
10566
10567 (allout-mode): Use new allout-write-contents-hook-handler, and
10568 only with write-contents-functions. Remove auto-save provisions -
10569 they're implemented elsewhere.
10570
10571 (allout-before-change-handler): If undo is in progress, note that
10572 for attention of allout-post-command-business.
10573
10574 (allout-post-command-business): If the command we're following was
10575 an undo, check for change in the status of encrypted items and
10576 adjust auto-save inhibitions accordingly.
10577
10578 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10579 according to whether there are or aren't any plain-text topics
10580 pending encryption.
10581
2dcdbdd9 10582 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10583 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10584 if there are plain-text topics pending encryption.
13aa217b
KM
10585
10586 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10587 buffer-saved-size and some allout state to not inhibit auto-saves
10588 if there are no longer any plain-text topics pending encryption.
10589
0757af94
SM
10590 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10591 No longer provide for exemption of the current topic.
13aa217b 10592
ac89b32c
JL
105932011-07-04 Juri Linkov <juri@jurta.org>
10594
10595 Add 7z operations to delete and save changed members (bug#8968).
10596 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10597 New defcustoms.
10598 (archive-7z-write-file-member): New function.
10599 (archive-7z-summarize): Fix the number of dashes in the
10600 listing output.
10601
8fa39615
SM
106022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10605 (bug#8958).
10606
2f11b3f1
CY
106072011-07-04 Chong Yidong <cyd@stupidchicken.com>
10608
d66fef2b
CY
10609 * bindings.el: Ignore next-buffer and previous-buffer in
10610 minibuffer-local-map.
10611
2f11b3f1
CY
10612 * font-lock.el (font-lock-builtin-face): Change light background
10613 color to dark slate blue (Bug#6693).
10614
f932a347
WD
106152011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10616
10617 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10618
c8af70e1
SM
106192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10620
10621 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10622 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10623 Add switch-to-buffer.
10624
f158badc
LMI
106252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10626
10627 * isearch.el (isearch-search-fun-function): Clarify further the
10628 meaning of the function returned.
10629
6d95bd46
MA
106302011-07-04 Michael Albinus <michael.albinus@gmx.de>
10631
10632 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10633
10634 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10635 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10636 Use it.
10637 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10638 `tramp-default-remote-path' does not exist.
10639 (tramp-send-command-and-read): New optional argument NOERROR.
10640 (tramp-open-connection-setup-interactive-shell)
10641 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10642 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10643 (tramp-process-sentinel): Flush also process' connection property.
10644 (tramp-sh-handle-start-file-process): Do not set process
10645 sentinel. It is done now ...
10646 (tramp-maybe-open-connection): ... here. (Bug#8929)
10647
909e6b67
MK
106482011-07-04 MON KEY <monkey@sandpframing.com>
10649
10650 * play/animate.el (animate-string): Doc fixes and allow changing
10651 the buffer name (bug#5417).
10652
106532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10654
c8af70e1 10655 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10656
f34755dc
PE
106572011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10658
396cec72
PE
10659 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10660 This is simpler and helps future-proof the code.
10661 (timer-until): Use time-subtract and float-time.
08235028 10662 (timer--time-less-p): Use time-less-p.
f34755dc 10663
56e6cc31
JB
106642011-07-04 Juanma Barranquero <lekktu@gmail.com>
10665
3abb79e5
JB
10666 * type-break.el (timep): Use the value of `float-time' to avoid a
10667 byte-compiler warning.
10668
56e6cc31
JB
10669 * server.el (server-eval-and-print): Return any result, even nil.
10670
7b9430b4
PE
106712011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10672
10673 * type-break.el: Accept time formats that the builtins accept.
10674 (timep, type-break-time-difference): Accept any format that
10675 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10676 This is simpler and helps future-proof the code.
10677 (type-break-time-difference): Round rather than ignoring
10678 subseconds components.
10679
3034e9e7
LMI
106802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10681
10682 * info.el (Info-apropos-matches): Make non-interactive, since it
10683 doesn't seem to do anything useful as a command (bug#8829).
10684
1485f4c0
CY
106852011-07-03 Chong Yidong <cyd@stupidchicken.com>
10686
10687 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10688 Move from faces.el.
1485f4c0
CY
10689 (frame-default-terminal-background): New function.
10690
10691 * custom.el (custom-push-theme): Don't record faces in `changed'
10692 theme; this doesn't work correctly for per-frame face settings.
10693 (disable-theme): Use face-set-after-frame-default to reset faces.
10694 (custom--frame-color-default): New function.
10695
9fa3dd45
LMI
106962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10697
c8af70e1 10698 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10699 (bug#8769).
10700
6cbbc20c
KR
107012011-03-29 Kevin Ryde <user42@zip.com.au>
10702
10703 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10704 `perl-Test2' extend to match possible "fail #N" rep count
10705 (bug#8377).
10706
c7f98048
LMI
107072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10708
65676592
LMI
10709 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10710 `smtpmail-via-smtp' now returns the error instead of nil.
10711
c7f98048
LMI
10712 * isearch.el (isearch-search-fun-function): Clarify the doc string
10713 (bug#8101).
10714
56e6cc31 107152011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10716
10717 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10718 unnecessary spaces (bug#8987).
10719
2b216704
LMI
107202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10721
10722 * net/network-stream.el (open-network-stream): Use the
10723 :end-of-capability command thoughout.
10724
107252011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10726
10727 * net/network-stream.el (open-network-stream): Add the
10728 :end-of-capability command parameter, used by pop3.el.
10729
36adf6ce
LMI
107302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10731
1ca0da0e
LMI
10732 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10733
fc00f69c
LMI
10734 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10735 for list)" (bug#6475).
10736
28fd8759 10737 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10738 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10739 an error (bug#6297).
10740
0dd8b6da
LMI
10741 * man.el (Man-reference-regexp): Allow matching possible
10742 word-wrapped references (bug#6289).
10743
ce1438d6
LMI
10744 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10745 for consistency with the other vc buffers (bug#6197).
10746 (vc-checkin): Ditto.
10747
10748 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10749
36adf6ce
LMI
10750 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10751
e83cc1f7
LMI
107522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10753
8a20ca4c
LMI
10754 * custom.el (defcustom): Clarify that :set is only used in the
10755 Customize user interface (bug#6089).
10756
83319045
LMI
10757 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10758 associated with a file, refuse to run instead of erroring out
10759 (bug#6084).
10760
a8392169
LMI
10761 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10762 the doc string, since it appears that using `fill-column' always
10763 controls the width (bug#7845).
10764
e83cc1f7
LMI
10765 * simple.el (shell-command-on-region): Say where the error output
10766 went if `shell-command-default-error-buffer' is set (bug#6857).
10767
e47ca23b
KM
107682011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10769
10770 * allout.el (allout-yank-processing): Adjust cursor position for
10771 backwards-deleted space.
10772
10773 (allout-rebullet-heading): Register changes with
10774 allout-exposure-changed-hook, so the modified topic is properly
10775 decorated.
10776
5cf56143
LMI
107772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10778
08549772
LMI
10779 * minibuffer.el (completion-in-region): Document PREDICATE
10780 (bug#7136).
10781
48e96771
LMI
10782 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10783 of keyword/argument pairs (bug#6904).
10784
c8af70e1
SM
10785 * replace.el (multi-occur):
10786 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10787
e17d05e2
LMI
107882011-07-02 Drew Adams <drew.adams@oracle.com>
10789
10790 * dired.el (dired-mark-if): Make the message about whether it's
10791 marking or unmarking clearer (bug#8523).
10792
063b0e45
LMI
107932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10794
10795 * disp-table.el (display-table-print-array): New function.
10796 (describe-display-table): Use it to print the vectors more pretty
10797 (Bug#8859).
10798
28545e04
MR
107992011-07-02 Martin Rudalics <rudalics@gmx.at>
10800
10801 * window.el (window-state-get-1): Don't assign clone numbers.
10802 Add clone-of item to list of window parameters.
10803 (window-state-put-2): Don't process clone numbers.
10804 (display-buffer-alist): Fix doc-string.
10805
3349e122
SM
108062011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * subr.el (remq): Don't allocate if it's not needed.
10809 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10810 (keymap--merge-bindings): New functions.
10811 (keymap-canonicalize): Use them to refine the canonicalization.
10812 * minibuffer.el (minibuffer-local-completion-map)
10813 (minibuffer-local-must-match-map): Move initialization from C.
10814 (minibuffer-local-filename-completion-map): Move initialization from C;
10815 don't inherit from anything here.
10816 (minibuffer-local-filename-must-match-map): Make obsolete.
10817 (completing-read-default): Use make-composed-keymap to combine
10818 minibuffer-local-filename-completion-map with either
10819 minibuffer-local-must-match-map or
10820 minibuffer-local-filename-completion-map.
10821
d224ac83
GM
108222011-07-01 Glenn Morris <rgm@gnu.org>
10823
3de63bf8
GM
10824 * type-break.el (type-break-time-sum): Use dolist.
10825
d224ac83
GM
10826 * textmodes/flyspell.el (flyspell-word-search-backward):
10827 Replace CL function.
10828
1a1e3f32
SM
108292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10830
fe3f64d5
SM
10831 * mouse.el (mouse--strip-first-event): New function.
10832 (function-key-map): Use it to map fringe clicks to normal clicks
10833 by default.
10834
eb604e34
SM
10835 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10836 (vc-bzr-revision-completion-table): Add support for annotate and date.
10837
1a1e3f32
SM
10838 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10839 inherit from parent.
10840
5bd35902
LMI
108412011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10842
ace6c69c 10843 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10844 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10845
191e2bed
LMI
10846 * dired.el (dired-mode): Fix up the doc string as suggested by
10847 Drew Adams (bug#8817).
10848
5bd35902
LMI
10849 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10850 cookie, since the manual says that it should be possible to add
10851 this function to `find-file-hook' (bug#8709).
10852
eee8207a
TZ
108532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10854
10855 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10856 here. Noted Ted Zlatanov as the maintainer.
10857 (cfengine-common-settings, cfengine-common-syntax): New functions
10858 to set up common things between `cfengine-mode' and
10859 `cfengine3-mode'.
10860 (cfengine3-mode): New mode.
10861 (cfengine3-defuns cfengine3-defuns-regex
10862 (cfengine3-class-selector-regex cfengine3-category-regex)
10863 (cfengine3-vartypes cfengine3-font-lock-keywords)
10864 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10865 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10866
36b148cf
MA
108672011-07-01 Michael Albinus <michael.albinus@gmx.de>
10868
10869 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10870
10871 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10872
0bf4ba9a
MR
108732011-07-01 Martin Rudalics <rudalics@gmx.at>
10874
10875 * window.el (same-window-buffer-names, same-window-regexps)
10876 (same-window-p, special-display-frame-alist)
10877 (special-display-popup-frame, special-display-function)
10878 (special-display-buffer-names, special-display-regexps)
10879 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10880 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10881 (split-window-preferred-function, split-height-threshold)
10882 (split-width-threshold, even-window-heights)
10883 (display-buffer-mark-dedicated, window-splittable-p)
10884 (split-window-sensibly, window-safely-shrinkable-p):
10885 Un-obsolete.
10886 (display-buffer): Don't spread args with function specifier
10887 because special-display-popup-frame won't like it.
10888
35837f51
PE
108892011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10890
d0672f86
PE
10891 Time-stamp simplifications and fixes.
10892 These improve accuracy slightly, and future-proof the code
10893 against some potential changes to current-time format.
10894
b9444d97
PE
10895 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10896 by using time-since and float-time.
10897
0ef923dc
PE
10898 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10899 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10900 + NNN microseconds".
10901
2f81380d
PE
10902 * type-break.el (type-break-time-sum): Rewrite using time-add.
10903
845b5c3e
PE
10904 * play/hanoi.el (hanoi-current-time-float): Remove.
10905 All uses replaced by float-time.
10906
ee6f1be0
PE
10907 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10908 This yields a more-accurate answer.
10909 (rng-time-to-float): Remove; no longer needed.
10910
fe955043
PE
10911 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10912
5777162a
PE
10913 * calendar/timeclock.el (timeclock-seconds-to-time):
10914 Defalias to seconds-to-time, since they're the same thing.
10915
3103f8b6 10916 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10917 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10918 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10919
0e61a35f
SM
109202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * window.el (bury-buffer): Don't iconify the only frame.
10923 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10924 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10925
ddd63a1e
CY
109262011-07-01 Chong Yidong <cyd@stupidchicken.com>
10927
0e61a35f
SM
10928 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10929 Add mouse-yank-primary.
ddd63a1e 10930
055f4923
TZ
109312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10932
10933 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10934
6a2fb145
SM
109352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10938 (find-library-name): Use it to find relative load names when provided
10939 absolute file name (bug#8803).
10940
fd4983f2
LMI
109412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
887d14ad
LMI
10943 * textmodes/flyspell.el (flyspell-word): Consider words that
10944 differ only in case as potential doublons (bug#5687).
10945
c53dc7fc
LMI
10946 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10947 Remove two rather uninteresting debugging-like messages to make
10948 debbugs.el more silent.
10949
fd4983f2
LMI
10950 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10951 a password-like phrase.
10952
7a71b18d 109532011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10954
10955 * progmodes/cc-guess.el: New file.
10956
6a2fb145 10957 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10958
10959 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10960 derived from `c-basic-common-init'.
10961
10962 * progmodes/cc-mode.el (top-level): Require cc-guess.
10963 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10964
1fa280a3
LM
109652011-06-30 Lawrence Mitchell <wence@gmx.li>
10966
10967 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10968
e6597158
AM
109692011-06-30 Alan Mackenzie <acm@muc.de>
10970
1fa280a3
LM
10971 * progmodes/cc-engine.el (c-guess-continued-construct):
10972 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10973 lock is disabled. Name this case as "CASE G".
10974
68ba37fb
KM
109752011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10976
10977 * allout.el (allout-yank-processing): Fix injection of extra space
10978 between bullet and non-whitespace character in first topic when
10979 pasting, ensuring that the actual spacing in the pasted topic
10980 following the bullet char is preserved. This extra space was
10981 causing pasted encrypted topics to get a decrypted status even
10982 when the content was actually still encrypted. Now the decryption
10983 status from before the paste is preserved.
10984
10985 (allout-flag-region): Set all allout overlays so they evaporate
10986 when reduced to zero length (evanescent), to prevent overlay
10987 leakage.
10988
887a0b34
GM
109892011-06-30 Glenn Morris <rgm@gnu.org>
10990
94b9acce
GM
10991 * w32-fns.el (w32-charset-info-alist): Declare.
10992
1d9b46d4
GM
10993 * find-dired.el (find-grep-options): Simplify.
10994
cc232200
GM
10995 * term/ns-win.el (ns-set-resource): Declare.
10996
28e77c46
GM
10997 * ses.el (row, col): Declare dynamic variables honestly.
10998
887a0b34
GM
10999 * textmodes/reftex-parse.el (index-tags): Declare.
11000
658d8eb8
CY
110012011-06-30 Chong Yidong <cyd@stupidchicken.com>
11002
11003 * cus-edit.el (customize-push-and-save): New function.
11004
11005 * files.el (hack-local-variables-confirm): Use it.
11006
1fa280a3
LM
11007 * custom.el (load-theme): New arg NO-CONFIRM.
11008 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11009 (custom-enabled-themes): Doc fix.
11010
11011 * cus-theme.el (customize-create-theme)
11012 (custom-theme-merge-theme): Callers to load-theme changed.
11013
bb617717
LMI
110142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11015
d61bdd5d
LMI
11016 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11017 short URLs have at least one dot in them (bug #7614).
11018
bb617717
LMI
11019 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11020 nil, because using a pty is apparently too slow (bug #895).
11021
2f31f37a
LMI
110222011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11023
11024 * mail/sendmail.el (sendmail-query-once): New function.
11025 (sendmail-query-once-function): New variable.
11026
3076b24e
GM
110272011-06-29 Glenn Morris <rgm@gnu.org>
11028
faf2a174
GM
11029 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11030
3076b24e
GM
11031 * ses.el (top-level): Require cl when compiling.
11032 (ses-set-localvars): Fix error statement.
11033 Call it at compile time to silence a storm of warnings.
11034
5386012d
MR
110352011-06-29 Martin Rudalics <rudalics@gmx.at>
11036
11037 * window.el (normalize-live-buffer): Rename to
11038 window-normalize-buffer.
11039 (normalize-live-frame): Rename to window-normalize-frame.
11040 (normalize-any-window): Rename to window-normalize-any-window.
11041 (normalize-live-window): Rename to window-normalize-live-window.
11042 (make-window-atom): Rename to window-make-atom.
11043 (window-resize-reset): Rename to window--resize-reset.
11044 (window-resize-reset-1): Rename to window--resize-reset-1.
11045 (resize-mini-window): Rename to window--resize-mini-window.
11046 (resize-subwindows-skip-p): Rename to
11047 window--resize-subwindows-skip-p.
11048 (resize-subwindows-normal): Rename to
11049 window--resize-subwindows-normal.
11050 (resize-subwindows): Rename to window--resize-subwindows.
11051 (resize-other-windows): Rename to window--resize-siblings.
11052 (resize-this-window): Rename to window--resize-this-window.
11053 (resize-root-window): Rename to window--resize-root-window.
11054 (resize-root-window-vertically): Rename to
11055 window--resize-root-window-vertically.
11056 (normalize-buffer-to-display): Rename to
11057 window-normalize-buffer-to-display.
11058 (normalize-buffer-to-switch-to): Rename to
11059 window-normalize-buffer-to-switch-to.
11060 Correspondingly update all callers of the functions listed
11061 above.
11062 (display-buffer-alist, display-buffer-normalize-arguments)
11063 (display-buffer-normalize-options, display-buffer)
11064 (display-buffer-alist-set): Use "function" instead of
11065 "fun-with-args".
11066
1176868d
CY
110672011-06-28 Chong Yidong <cyd@stupidchicken.com>
11068
11069 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11070 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11071 debbugs.gnu.org. Mention acknowledgment email.
11072
20a7a65f
LMI
110732011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11074
11075 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11076 buffer multibyteness, since it shouldn't matter.
11077
5f45cca5
MR
110782011-06-28 Martin Rudalics <rudalics@gmx.at>
11079
11080 * window.el (display-buffer-in-side-window): Handle dedicated
11081 windows as in display-buffer-reuse-window.
11082 (display-buffer-normalize-alist): Use value of override
11083 specifier.
11084 (display-buffer-normalize-specifiers): Use value of
11085 other-window-means-other-frame specifier.
11086 (display-buffer-alist): Rewrite some texts in widgets.
11087 (display-buffer): Spread arguments when calling function
11088 specified by fun-with-args.
11089
ad85fe1f
DD
110902011-06-28 Deniz Dogan <deniz@dogan.se>
11091
1fa280a3
LM
11092 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11093 Unnest `let'.
da68c4c8 11094
ad85fe1f
DD
11095 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11096 selectors (Bug#5732).
ec49bd31 11097 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11098
a08cc025
JA
110992011-06-27 Jari Aalto <jari.aalto@cante.net>
11100
11101 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11102 (eshell-ls-date-format): New defcustom.
11103 (eshell-ls-file): Use it.
11104
e2b551c5
SM
111052011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11108
8982b231
KY
111092011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11110
11111 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11112 (ange-ftp-make-tmp-name): New arg.
11113 (ange-ftp-file-local-copy): Use it.
11114
36c9fa27
J
111152011-06-27 Jambunathan K <kjambunathan@gmail.com>
11116
11117 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11118 no-conversion (Bug#8870).
11119
d68443dc
MR
111202011-06-27 Martin Rudalics <rudalics@gmx.at>
11121
11122 * window.el (window-right, window-left, window-child)
11123 (window-child-count, window-last-child)
11124 (window-iso-combination-p, walk-window-tree-1)
11125 (window-atom-check-1, window-tree-1, delete-window)
11126 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11127 new naming conventions - window-vchild, window-hchild,
11128 window-next and window-prev are now called window-top-child,
11129 window-left-child, window-next-sibling and window-prev-sibling
11130 respectively.
d615d6d2
MR
11131 (resize-window-reset): Rename to window-resize-reset.
11132 (resize-window-reset-1): Rename to window-resize-reset-1.
11133 (resize-window): Rename to window-resize.
11134 (window-min-height, window-min-width)
11135 (resize-mini-window, resize-this-window, resize-root-window)
11136 (resize-root-window-vertically, adjust-window-trailing-edge)
11137 (enlarge-window, shrink-window, maximize-window)
11138 (minimize-window, delete-window, quit-restore-window)
11139 (split-window, balance-windows, balance-windows-area-adjust)
11140 (balance-windows-area, window-state-put-2)
11141 (display-buffer-even-window-sizes, display-buffer-set-height)
11142 (display-buffer-set-width, set-window-text-height)
11143 (fit-window-to-buffer): Rename all "resize-window" prefixed
11144 calls to use the "window-resize" prefix convention.
11145 (display-buffer-alist): Fix symbol for label specifier.
11146 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11147 corresponding specifier.
11148 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11149
b6458526
VB
111502011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11151
11152 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11153 convention.
11154 (ses-call-printer): Does not pass an empty string to formatter when the
11155 cell is empty to keep from barking printer Calc math-format-value.
11156
d31fd9ac
RS
111572011-06-27 Richard Stallman <rms@gnu.org>
11158
43d5bf84
RS
11159 * battery.el (battery-mode-line-limit): New variable.
11160 (battery-update): Handle it.
11161
d31fd9ac
RS
11162 * mail/rmailmm.el (rmail-mime-process-multipart):
11163 Handle truncated messages.
11164
819a6054
GM
111652011-06-27 Glenn Morris <rgm@gnu.org>
11166
11167 * progmodes/flymake.el (flymake-err-line-patterns):
11168 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11169
cedc73f2
VB
111702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11171
819a6054 11172 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11173 (ses--clean-!, ses--clean-_): New functions.
11174 (ses-range): Add configurability of readout order, and conversion
11175 to Calc vector.
11176
5e5d49b6
VB
11177 * ses.el (ses-repair-cell-reference-all): New function.
11178 (ses-cell-symbol): Set macro as safe, so that it can be used in
11179 formulas.
11180
56e6cc31 11181 * ses.el: Update cycle detection algorithm.
90ca8b49 11182 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11183 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11184 (ses-set-localvars): New function.
11185 (ses-make-cell): Add property-list as a cell element.
11186 (ses-cell-property-get-fun, ses-cell-property-get)
11187 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11188 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11189 New functions.
90ca8b49
VB
11190 (ses-cell-property-set, ses-cell-property-pop)
11191 (ses-cell-property-get-handle): New macro.
11192 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11193 New aliases, used for code readability.
11194 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11195 cycle detection.
11196 (ses-self-reference-early-detection): New defcustom.
fac916bf 11197 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11198 (ses-mode): Use ses-set-localvars.
11199 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11200 before lauching the update processing.
11201 (ses-initialize-Dijkstra-attempt): New function.
11202 (ses-recalculate-cell): Update for cycle detection based on
11203 Dijkstra algorithm.
11204
2bb63e81
VB
11205 * ses.el: Fix commenting and indenting convention.
11206
c9d29fb8
SM
112072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * bs.el (bs-cycle-next): Complete last change.
11210
d8e4b68b
JB
112112011-06-27 Drew Adams <drew.adams@oracle.com>
11212
11213 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11214
40098786
LMI
112152011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11216
c9d29fb8
SM
11217 * net/network-stream.el (network-stream-open-starttls):
11218 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11219 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11220
40098786
LMI
11221 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11222 to binary to possibly avoid line encoding issues on Windows (among
11223 other things).
11224
468d09d4
LMI
112252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11226
11227 * net/network-stream.el (open-network-stream): Return an :error
11228 saying what the problem was, if possible.
11229
11230 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11231 server.
11232
11233 * net/network-stream.el (network-stream-open-starttls): If we
11234 wanted to use STARTTLS, and the server offered it, but we weren't
11235 able to because we had no STARTTLS support, then close the connection.
11236 (open-network-stream): Return an :error element, if present.
11237
16f07dd7
CY
112382011-06-26 Chong Yidong <cyd@stupidchicken.com>
11239
88821ca0
CY
11240 * hl-line.el (hl-line-sticky-flag): Doc fix.
11241 (global-hl-line-sticky-flag): New option (Bug#8323).
11242 (global-hl-line-highlight): Obey it.
11243
16f07dd7
CY
11244 * vc/vc.el (vc-revert-show-diff): Default to t.
11245
6b5ccddf
KM
112462011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11247
c9d29fb8
SM
11248 * allout-widgets.el (allout-widgets-post-command-business):
11249 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11250 undecorated when an isearch is continued past, and isearch
11251 automatically collapses them. This leads to "widget leaks", where
11252 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11253 hidden widgets can slow down cursor travel, substantially.
11254 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11255 so we're doing without this nicety.
11256
11257 (allout-widgets-tally-string): Don't try to do a hash-table-count
11258 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11259 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11260 *Messages* when allout-widgets-maintain-tally is t.
11261
355f2e07
MR
112622011-06-26 Martin Rudalics <rudalics@gmx.at>
11263
11264 * window.el (display-buffer-normalize-argument): Rename to
11265 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11266 LABEL argument. Respect special-display-function when popping up
11267 a new frame. Fix code searching for a window showing the buffer
11268 on another frame.
c9d29fb8
SM
11269 (display-buffer-normalize-specifiers):
11270 Call display-buffer-normalize-arguments.
355f2e07
MR
11271 (display-buffer-in-window): Don't undedicate the window if its
11272 buffer remains the same.
11273 Reported by Drew Adams <drew.adams@oracle.com>.
11274 (display-buffer-alist): Add choice for same-window macro
11275 specfier.
11276 (display-buffer): Mention special meaning of LABEL argument in
11277 doc-string. Fix quoting. Don't pop up a new frame even as
11278 fallback.
11279
7ca8fc42
JB
112802011-06-26 Juanma Barranquero <lekktu@gmail.com>
11281
11282 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11283 avoid deleting the current window in some cases (bug#8911).
11284
bc312254
AS
112852011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11288 (Bug#8934)
11289
2db18f3f
LMI
112902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11291
c9d29fb8
SM
11292 * net/network-stream.el (network-stream-open-starttls):
11293 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11294 (network-stream-open-tls): Ditto.
11295
6302e0d3
LL
112962011-06-26 Leo Liu <sdl.web@gmail.com>
11297
11298 * register.el (registerv): New struct.
11299 (registerv-make): New function.
c9d29fb8
SM
11300 (jump-to-register, describe-register-1, insert-register):
11301 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11302 struct. (Bug#8415)
11303
5fdd4046
CY
113042011-06-26 Chong Yidong <cyd@stupidchicken.com>
11305
2afef60a
CY
11306 * vc/vc.el (vc-revert-show-diff): New defcustom.
11307 (vc-diff-internal): New arg specifying diff buffer.
11308 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11309 reuse an existing *vc-diff* buffer (Bug#8927).
11310
5fdd4046
CY
11311 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11312
e93db24a
GM
113132011-06-26 Glenn Morris <rgm@gnu.org>
11314
11315 * progmodes/f90.el (f90-critical-indent): New option.
11316 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11317 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11318 (f90-mode): Doc fix.
11319 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11320 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11321 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11322 (f90-match-end): Handle block, critical.
11323
eefff499
GM
113242011-06-25 Glenn Morris <rgm@gnu.org>
11325
f6ba4cc9
GM
11326 * calendar/diary-lib.el (diary-included-files): Doc fix.
11327 (diary-include-files): New function, extracted from
11328 diary-include-other-diary-files and diary-mark-included-diary-files.
11329 (diary-include-other-diary-files, diary-mark-included-diary-files):
11330 Just call diary-include-files.
11331 (diary-mark-entries): Reset diary-included-files on first call.
11332
16712304
GM
11333 * calendar/diary-lib.el (diary-mark-entries)
11334 (diary-mark-included-diary-files):
11335 Visit included diary-files in temp buffers.
11336
5d8e0d43
GM
11337 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11338 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11339 (f90-start-block-re, f90-imenu-generic-expression)
11340 (f90-looking-at-program-block-start, f90-no-block-limit):
11341 Add support for submodules.
11342
ccf7a5d5
GM
11343 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11344 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11345
11fdef7d 113462011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11347
11348 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11349 buffer-file-type before setting its value, to avoid disastrous
eefff499 11350 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11351
74f53697
JB
113522011-06-25 Juanma Barranquero <lekktu@gmail.com>
11353
11354 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11355
11356 * ses.el (ses-unload-function):
11357 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11358
11359 * proced.el (proced-unload-function):
11360 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11361
18a4ce5e
AR
113622011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11363
11364 * server.el (server-create-window-system-frame): Add parameters arg.
11365 (server-process-filter): Doc fix. Handle frame-parameters.
11366
519d22cc
JB
113672011-06-25 Juanma Barranquero <lekktu@gmail.com>
11368
11369 Fix bug#8730, bug#8781.
11370
11371 * loadhist.el (unload--set-major-mode): New function.
11372 (unload-feature): Use it.
11373
11374 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11375 (python-unload-function): New function.
11376
c206f5b0
SM
113772011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11380
f9ad64f3
GS
113812011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11382
11383 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11384 the candidates list.
11385
7d0da90e
JB
113862011-06-24 Juanma Barranquero <lekktu@gmail.com>
11387
11388 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11389
14b4e83d
RS
113902011-06-23 Richard Stallman <rms@gnu.org>
11391
11392 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11393 (rmail-variables): Set next-error-move-function.
11394 (rmail-what-message): Take argument POS.
11395 (rmail-next-error-move): New function.
11396
273d2baf
SM
113972011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11400 messages for adjacent non-terminals.
11401
56c2cc9a
RS
114022011-06-23 Richard Stallman <rms@gnu.org>
11403
11404 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11405 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11406 (rmail-start-mail): Don't specify use of rmail-mail-return;
11407 that's done by mail-bury now.
11408 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11409
d59eb518
MA
114102011-06-23 Michael Albinus <michael.albinus@gmx.de>
11411
11412 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11413 SIZE is a number.
11414
02cfc6d6
MR
114152011-06-23 Martin Rudalics <rudalics@gmx.at>
11416
11417 * window.el (get-lru-window, get-mru-window)
11418 (get-largest-window): Never return a minibuffer window.
11419 (display-buffer-pop-up-window): Fix a bug that could lead to
11420 reusing the minibuffer window.
11421 (display-buffer): Pass original specifier argument to
11422 display-buffer-function instead of the normalized one.
11423 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11424
4e323265
LL
114252011-06-22 Leo Liu <sdl.web@gmail.com>
11426
11427 * minibuffer.el (completing-read-function)
11428 (completing-read-default): Move from minibuf.c
11429
7a70468f
RS
114302011-06-22 Richard Stallman <rms@gnu.org>
11431
50718fc2
RS
11432 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11433 to Rmail even if not started by a special Rmail command.
11434
7a70468f
RS
11435 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11436 Copy the buffer currently showing just one message.
11437
297dde5a
RW
114382011-06-22 Roland Winkler <winkler@gnu.org>
11439
11440 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11441 (bibtex-clean-entry): First delete the old key so that a
11442 customized algorithm for generating the new key does not get
11443 confused by the old key.
11444 (bibtex-url): Obey regexp of first step.
11445 (bibtex-search-entries): Do not use add-to-list with local
11446 list-var.
11447
97bb1093
LMI
114482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449
11450 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11451 stored a user name, then query for the password first, instead of
11452 waiting for SMTP to give an error message and the trying again.
11453
1c0f1a19
JD
114542011-06-22 Lawrence Mitchell <wence@gmx.li>
11455
11456 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11457 BUFFER in call-process.
11458
396f7c9d
LMI
114592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11460
11461 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11462 QUIT twice.
ddb7ffee
LMI
11463 (smtpmail-try-auth-methods): Require user name and password from
11464 auth-source.
396f7c9d 11465
8998d1b3
MR
114662011-06-22 Martin Rudalics <rudalics@gmx.at>
11467
11468 * window.el (display-buffer-default-specifiers)
11469 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11470 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11471 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11472
11473 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11474 (special-display-frame-alist, special-display-popup-frame):
11475 Remove duplicate declarations. These are now in window.el.
11476
4ea31e07
LMI
114772011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11478
c9d29fb8
SM
11479 * mail/smtpmail.el (smtpmail-via-smtp):
11480 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11481 server supports it. SMTP servers that support STARTTLS commonly
11482 require it.
11483
11484 * net/network-stream.el (network-stream-open-starttls): Support
11485 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11486 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11487
95f41d9a
LMI
11488 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11489 upgrades with `open-network-stream', and rely solely on
11490 auth-source for all credentials. Big changes throughout the file,
11491 but in particular:
c9d29fb8
SM
11492 (smtpmail-auth-credentials): Remove.
11493 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11494 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11495 MAIL FROM, too.
95f41d9a 11496
c9d29fb8
SM
11497 * net/network-stream.el (network-stream-open-starttls):
11498 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11499 STARTTLS.
11500 (auth-source): Require.
11501 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11502 (network-stream-certificate): Change cert-cert to cert and
11503 cert-key to key.
4ea31e07 11504
065ec2c7
MA
115052011-06-21 Michael Albinus <michael.albinus@gmx.de>
11506
11507 * net/tramp-cache.el (top): Don't load the persistency file when
11508 "emacs -Q" has been called.
11509
cd93b359
DR
115102011-06-21 Tim Harper <timcharper@gmail.com>
11511
d8e4b68b
JB
11512 * term/ns-win.el (ns-initialize-window-system):
11513 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11514 resource to NO as it is not yet supported by the NS port.
11515
ae9c0411
JB
115162011-06-21 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11519 (list-dynamic-libraries): ...not here.
11520
7f3f739f
LL
115212011-06-21 Leo Liu <sdl.web@gmail.com>
11522
11523 * subr.el (sha1): Implement sha1 using secure-hash.
11524
327c8fb1
MR
115252011-06-21 Martin Rudalics <rudalics@gmx.at>
11526
11527 * window.el (display-buffer-alist): In default value do not
11528 enforce searching a window on any but the selected frame.
11529 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11530 (display-buffer-select-window): Remove function.
11531 (display-buffer-in-window): When a window on another frame gets
11532 reused, do not select it any more but just raise its frame if
11533 necessary (Bug#8851) and (Bug#8856).
11534 (display-buffer-normalize-options): Handle pop-up-frames related
11535 options more faithfully.
11536 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11537 window if it is on another frame.
c9d29fb8
SM
11538 (display-buffer-alist, display-buffer-default-specifiers):
11539 Don't make new frame unsplittable by default.
9e9de014
MR
11540 (display-buffer-normalize-argument): Fix doc-string typo and use
11541 'same-frame-other-window instead of 'other-window when associating
11542 with display-buffer-macro-specifiers.
327c8fb1 11543
7cf3f556
VB
115442011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11545
11546 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11547 New functions.
11548 (5x5-mode-map, 5x5-mode-menu): Bind them.
11549 (5x5-draw-grid): Tweak the solver's rendering.
11550
60a406cf
SM
115512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11554 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11555
d8e4b68b 115562011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11557
11558 * menu-bar.el: Use function variable instead of switch-to-buffer.
11559 (menu-bar-select-buffer-function): New variable.
60a406cf 11560 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11561
478d6f95
SM
115622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11565 variable's status.
11566
ca530739
JD
115672011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11568
11569 * x-dnd.el (x-dnd-version-from-flags)
11570 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11571 and long as number (Bug#8899).
11572 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11573
bcd70d97
SM
115742011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11575
60a406cf 11576 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11577 (completion-try-completion, completion-all-completions): Compute the
11578 metadata argument if it's missing; make it optional (bug#8795).
11579
60a406cf 11580 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11581 (widget-complete): Use new :completion-function property.
11582 (widget-completions-at-point): New function.
11583 (default): Use :completion-function instead of :complete.
60a406cf
SM
11584 (widget-default-completions): Rename from widget-default-complete;
11585 Rewrite.
bcd70d97
SM
11586 (widget-string-complete, widget-file-complete, widget-color-complete):
11587 Remove functions.
11588 (file, symbol, function, variable, coding-system, color):
11589 * international/mule-cmds.el (default-input-method, charset)
11590 (language-info-custom-alist):
11591 * cus-edit.el (face): Use new property :completions.
11592
11593 * progmodes/pascal.el (pascal-completions-at-point): New function.
11594 (pascal-mode): Use it.
11595 (pascal-mode-map): Use completion-at-point.
11596 (pascal-toggle-completions): Make obsolete.
11597 (pascal-complete-word, pascal-show-completions):
11598 * progmodes/octave-mod.el (octave-complete-symbol):
11599 Redefine as obsolete alias.
11600 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11601 Signal absence of completion info for old Octave,
11602 (inferior-octave-complete): Redefine as obsolete alias.
11603 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11604 (meta-completions-at-point): Rename from meta-complete-symbol and
11605 adapt it for use on completion-at-point-functions.
11606 (meta-common-mode): Use it.
11607 (meta-looking-at-backward, meta-match-buffer): Remove.
11608 (meta-complete-symbol): Redefine as obsolete alias.
11609 (meta-common-mode-map): Use completion-at-point.
11610 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11611 (makefile-mode-map): Use completion-at-point.
11612 (makefile-completions-at-point): Rename from makefile-complete and
11613 adapt it for use on completion-at-point-functions.
11614 (makefile-mode): Use it.
11615 (makefile-complete): Redefine as obsolete alias.
11616
aebf69c8
DD
116172011-06-20 Deniz Dogan <deniz@dogan.se>
11618
11619 * net/rcirc.el: Delete trailing whitespaces once and for all.
11620
bfbbb27d
DC
116212011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11622
11623 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11624
d264a46b
CY
116252011-06-19 Chong Yidong <cyd@stupidchicken.com>
11626
4ca009e5
CY
11627 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11628
d264a46b
CY
11629 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11630
fbf5b3ce
MR
116312011-06-19 Martin Rudalics <rudalics@gmx.at>
11632
11633 * window.el (display-buffer-other-window-means-other-frame):
11634 Call display-buffer-normalize-alist.
11635 (display-buffer-normalize-specifiers-1): Rename to
11636 display-buffer-normalize-argument. New argument other-frame.
11637 Rewrite.
11638 (display-buffer-normalize-specifiers-2): Rename to
11639 display-buffer-normalize-options.
11640 (display-buffer-normalize-alist-1): New function.
11641 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11642 display-buffer-normalize-alist.
11643 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11644 (display-buffer-normalize-options-inhibit): New variable.
11645 (display-buffer-normalize-specifiers): Rewrite calling
11646 display-buffer-normalize-alist,
11647 display-buffer-normalize-argument, and
11648 display-buffer-normalize-options. Don't call the latter if
11649 display-buffer-normalize-options-inhibit is non-nil.
11650 (frame-auto-delete): New option.
11651 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11652 (window-list-no-nils, window-state-ignored-parameters)
11653 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11654 (window-state-put-1, window-state-put-2, window-state-put):
11655 New functions.
9a028c23
MR
11656 (display-buffer-normalize-options): Move special-display-p group
11657 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11658
6d10d800
CY
116592011-06-18 Chong Yidong <cyd@stupidchicken.com>
11660
6420d28b
CY
11661 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11662 groups (Bug#8776).
11663 (rx-submatch-n): New function.
11664 (rx): Document it.
11665
ddb8b596
CY
11666 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11667 (Bug#8768).
11668
11669 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11670
77080289
CY
11671 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11672
61dfb316
CY
11673 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11674 anytime existing face settings are present (Bug#8889).
11675
6d10d800
CY
11676 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11677 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11678 Remove unused argument.
11679
be3fb2b8
MR
116802011-06-18 Martin Rudalics <rudalics@gmx.at>
11681
bcd70d97
SM
11682 * window.el (display-buffer-default-specifiers):
11683 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11684 pop-up-window-min-width, and another reuse-window specifier
11685 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11686 (display-buffer-normalize-specifiers-2):
11687 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11688 pop-up-windows is unset. Add a reuse-window specifier for the
11689 case popping up a new window fails.
11690 (special-display-popup-frame): Remove double quoting.
28dec25a 11691 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11692
1c6d8c76
SM
116932011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11696 according to comint-completion-addsuffix.
11697
11698 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11699 (pcomplete-suffix-list): Mark as obsolete.
11700 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11701 pcomplete-seen in the closure.
11702 (pcomplete-comint-setup): Setup completion-at-point as well.
11703 (pcomplete--entries): New function.
11704 (pcomplete--env-regexp): New var.
11705 (pcomplete-entries): Rewrite to work with partial-completion and
11706 without relying on pcomplete-suffix-list.
11707 (pcomplete-pare-list): Remove, unused.
11708
25aef8b8
MR
117092011-06-17 Martin Rudalics <rudalics@gmx.at>
11710
11711 * window.el (display-buffer-alist): Set pop-up-window-min-height
11712 and pop-up-window-min-width in default value. Reported by
11713 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11714 other-window-means-other-frame.
11715 (display-buffer-macro-specifiers): Comment out entry for
11716 other-window specifier.
11717 (display-buffer-other-window-means-other-frame): New function.
11718 (display-buffer-normalize-specifiers-1): New arguments
11719 buffer-name and label. Treat other-window case specially.
11720 (display-buffer-normalize-specifiers-2): Treat other-window case
11721 specially.
11722 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11723 (display-buffer-normalize-specifiers):
11724 Call display-buffer-normalize-specifiers-3.
25aef8b8 11725
dbad4f69
MR
117262011-06-17 Martin Rudalics <rudalics@gmx.at>
11727
11728 * window.el (same-window-p): Fix two typos introduced when
11729 adding with-no-warnings.
d1067961
MR
11730 (display-buffer-normalize-specifiers-1): Don't check
11731 pop-up-frames for 'unset initialization.
11732 (display-buffer-normalize-specifiers-2): Major rewrite using
11733 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11734 (pop-up-frames, display-buffer-reuse-frames)
11735 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11736 Suggested by David Engster <deng@randomsample.de>.
11737 (even-window-heights): Initialize to 'unset.
11738 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11739 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11740 other window case.
dbad4f69 11741
9b9c9e3a
MR
117422011-06-16 Martin Rudalics <rudalics@gmx.at>
11743
bcd70d97
SM
11744 * window.el (display-buffer-normalize-specifiers-1):
11745 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11746 second argument of display-buffer (Bug#8865).
981d5c09
MR
11747 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11748 (switch-to-buffer-other-window-same-frame)
11749 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11750 Adams (Bug#8875).
9c2755e9
MR
11751 (display-buffer): Don't check noninteractive when calling
11752 display-buffer-pop-up-frame.
11753 (display-buffer-pop-up-frame): Never pop up a frame in
11754 noninteractive mode (Bug#8857).
67222e1d
MR
11755 (enlarge-window, shrink-window): Don't report an error when the
11756 window can't be resized as requested (Bug#8862).
9b9c9e3a 11757
2b75be67
SM
117582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11759
9ffdd3ba
SM
11760 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11761
cb581a67
SM
11762 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11763
2b75be67
SM
11764 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11765
8c0e3589
AM
117662011-06-15 Alan Mackenzie <acm@muc.de>
11767
cb581a67
SM
11768 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11769 for declarators, disable knr checking to speed up for normal files.
11770 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11771
b96e6cde
LMI
117722011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11773
4bba86e6
LMI
11774 * net/network-stream.el (open-network-stream): Add the keyword
11775 :always-query-capabilities for the case where you want to force a
11776 `plain' network connection, but the protocol still requires the
11777 capabilitiy command (i.e., SMTP and EHLO).
11778
2b75be67 11779 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11780 consistency with other `-live-p' functions.
11781
efdcdbf8
SM
117822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * window.el (same-window-buffer-names, same-window-regexps)
11785 (special-display-frame-alist, special-display-popup-frame)
11786 (special-display-function, special-display-buffer-names)
11787 (special-display-regexps, pop-up-frame-alist)
11788 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11789 (pop-up-windows, split-window-preferred-function)
11790 (split-height-threshold, split-width-threshold, even-window-heights)
11791 (display-buffer-mark-dedicated): Don't encourage the use of
11792 display-buffer-alist from Elisp code.
11793
c5cde042
DN
117942011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11795
11796 * progmodes/python.el (python-mode): Derive from prog-mode.
11797 * progmodes/ps-mode.el (ps-mode):
11798 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11799 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11800 * progmodes/ld-script.el (ld-script-mode): Likewise.
11801
baa1c9ab
MR
118022011-06-15 Martin Rudalics <rudalics@gmx.at>
11803
11804 * window.el (display-buffer-alist): Trim default value to avoid
11805 popping up a new frame (Bug#8857) or reusing an arbitrary window
11806 on another frame.
11807 (display-buffer): Do not fall back on popping up a new frame in
11808 batch mode (Bug#8857).
11809
c5dd5a51
CY
118102011-06-14 Chong Yidong <cyd@stupidchicken.com>
11811
11812 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11813 (custom-theme-summary): New function.
11814 (customize-themes): Use it.
11815
d647b7c4
GM
118162011-06-13 Glenn Morris <rgm@gnu.org>
11817
11818 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11819
9481c002
MR
118202011-06-13 Martin Rudalics <rudalics@gmx.at>
11821
357f93d2
MR
11822 * help.el (help-window): Remove variable.
11823 (help-window-point-marker, temp-buffer-max-height)
11824 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11825 (help-print-return-message): Don't set help-window.
11826 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11827 (help-window-setup-finish): Remove.
11828 (help-window-display-message, help-window-setup)
11829 (with-help-window): Major rewrite based on new
11830 display-buffer-window variable.
11831
11832 * help-mode.el (help-mode-finish): Remove help-window related
11833 code.
11834
11835 * view.el (view-exits-all-viewing-windows): Remove reference to
11836 view-return-to-alist in doc-string.
11837 (view-return-to-alist): Make obsolete.
11838 (view-buffer): Call pop-to-buffer-same-window and remove
11839 undo-window code.
11840 (view-buffer-other-window): Call pop-to-buffer-other-window and
11841 simplify code. Ignore second argument.
11842 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11843 simplify code. Ignore second argument.
11844 (view-return-to-alist-update): Make obsolete.
11845 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11846 Rewrite using quit-restore window parameters.
2b75be67
SM
11847 (view-mode-exit): Rename second argument to EXIT-ONLY.
11848 Rewrite using quit-restore-window.
357f93d2
MR
11849 (View-exit, View-exit-and-edit, View-leave, View-quit)
11850 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11851 appropriate arguments.
11852 (view-end-message): Use quit-restore window parameter.
11853
9481c002
MR
11854 * window.el (display-buffer-function): Rewrite doc-string.
11855 (display-buffer-window, display-buffer-alist): New variables.
11856 (display-buffer-split-specifiers)
11857 (display-buffer-side-specifiers)
11858 (display-buffer-macro-specifiers): New constants.
11859 (display-buffer-even-window-sizes, display-buffer-set-height)
11860 (display-buffer-set-width, display-buffer-select-window)
11861 (display-buffer-in-window, display-buffer-reuse-window)
11862 (display-buffer-split-window-1, display-buffer-split-window)
11863 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11864 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11865 (display-buffer-in-side-window, normalize-buffer-to-display)
11866 (display-buffer-normalize-specifiers-1)
11867 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11868 (display-buffer-normalize-specifiers, display-buffer-frame):
11869 New functions.
9481c002
MR
11870 (display-buffer): Major rewrite.
11871 (display-buffer-other-window, display-buffer-other-frame)
11872 (pop-to-buffer, switch-to-buffer-other-window)
11873 (switch-to-buffer-other-frame): Rewrite.
11874 (display-buffer-same-window, display-buffer-same-frame)
11875 (display-buffer-same-frame-other-window)
11876 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11877 (pop-to-buffer-other-window)
11878 (pop-to-buffer-same-frame-other-window)
11879 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11880 (switch-to-buffer-other-window-same-frame): New functions.
11881 (same-window-p, special-display-p): Rewrite disabling warnings.
11882 Make obsolete.
11883 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11884 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11885 Make obsolete
11886 (same-window-buffer-names, same-window-regexps)
11887 (special-display-frame-alist, special-display-popup-frame)
11888 (special-display-function, special-display-buffer-names)
11889 (special-display-regexps, pop-up-frame-alist)
11890 (pop-up-frame-function, split-window-preferred-function)
11891 (split-height-threshold, split-width-threshold)
11892 (even-window-heights): Make obsolete.
11893
9db51aca
GM
118942011-06-12 Glenn Morris <rgm@gnu.org>
11895
11896 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11897 Misc simplifications.
9db51aca 11898
39cffb44
MR
118992011-06-12 Martin Rudalics <rudalics@gmx.at>
11900
11901 * window.el (window-safely-shrinkable-p): Restore function which
11902 was inadvertently removed in change from 2011-06-11. Declare as
11903 obsolete.
11904
2b75be67
SM
11905 * calendar/calendar.el (calendar-generate-window):
11906 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11907 window-safely-shrinkable-p.
11908
a8955be7
GM
119092011-06-12 Glenn Morris <rgm@gnu.org>
11910
11911 * progmodes/fortran.el (fortran-mode-syntax-table):
11912 * progmodes/f90.el (f90-mode-syntax-table):
11913 Set % to punctuation. (Bug#8820)
11914 (f90-find-tag-default): Remove, no longer needed.
11915
f0d4059d
DC
119162011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11917
11918 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11919
1100a63c
CY
119202011-06-11 Chong Yidong <cyd@stupidchicken.com>
11921
11922 * image.el (image-animated-p): Return animation delay in seconds.
11923 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11924 (image-animate-timeout): Remove DELAY argument. Don't assume
11925 every subimage has the same delay; get it from image-animated-p.
11926 (image-animate): Caller changed.
11927
def722bf
MA
119282011-06-11 Michael Albinus <michael.albinus@gmx.de>
11929
11930 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11931 to ignored backtrace functions.
11932
0a2bb1a9
GM
119332011-06-11 Glenn Morris <rgm@gnu.org>
11934
11935 * calendar/appt.el (appt-disp-window-function): Doc fix.
11936 (appt-check): Handle overlapping appointments. (Bug#8337)
11937
6198ccd0
MR
119382011-06-11 Martin Rudalics <rudalics@gmx.at>
11939
11940 * window.el (window-tree-1, window-tree): New functions, moving
11941 the latter to window.el.
11942 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11943 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11944 (bw-refresh-edges): Remove.
11945 (balance-windows-1, balance-windows-2): New functions.
11946 (balance-windows): Rewrite in terms of window tree functions,
11947 balance-windows-1 and balance-windows-2.
11948 (bw-adjust-window): Remove.
11949 (balance-windows-area-adjust): New function with functionality of
11950 bw-adjust-window but using resize-window.
2b75be67
SM
11951 (set-window-text-height): Rewrite doc-string.
11952 Use normalize-live-window and resize-window.
11953 (enlarge-window-horizontally, shrink-window-horizontally):
11954 Rename argument to DELTA.
6198ccd0
MR
11955 (window-buffer-height): New function.
11956 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11957 Rewrite using new window resize routines.
2b75be67
SM
11958 (kill-buffer-and-window, mouse-autoselect-window-select):
11959 Use ignore-errors instead of condition-case.
6198ccd0
MR
11960 (quit-window): Call delete-frame instead of delete-windows-on
11961 for the only buffer on frame.
11962
9397e56f
MR
119632011-06-10 Martin Rudalics <rudalics@gmx.at>
11964
11965 * loadup.el (top-level): Load window before files for the sake
11966 of replace-buffer-in-windows.
11967
11968 * files.el (read-buffer-to-switch)
11969 (switch-to-buffer-other-window)
2b75be67
SM
11970 (switch-to-buffer-other-frame, display-buffer-other-frame):
11971 Move to window.el.
9397e56f
MR
11972
11973 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11974 (previous-buffer): Move to window.el.
11975
11976 * bindings.el (unbury-buffer): Move to window.el.
11977
11978 * window.el (delete-other-windows-vertically): Move after
11979 definition of delete-other-windows.
11980 (other-window, delete-windows-on, replace-buffer-in-windows):
11981 Move here from window.c.
11982 (record-window-buffer, unrecord-window-buffer)
11983 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11984 (switch-to-next-buffer): New functions.
11985 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11986 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11987 (previous-buffer): Move here from simple.el.
11988 Call switch-to-prev-buffer.
9397e56f
MR
11989 (bury-buffer): Move here from buffer.c. Switch to previous
11990 buffer when window cannot be deleted.
11991 (unbury-buffer): Move here from bindings.el.
11992 (ctl-x-map): Move binding for other-window from window.c to
11993 here.
11994 (read-buffer-to-switch, switch-to-buffer-other-window)
11995 (switch-to-buffer-other-frame): Move here from files.el.
11996 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11997 (switch-to-buffer): Move here from buffer.c.
11998 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11999
562dd5e9
MR
120002011-06-10 Martin Rudalics <rudalics@gmx.at>
12001
12002 * window.el (window-min-height, window-min-width): Move here
12003 from window.c. Add defcustoms and rewrite doc-strings.
12004 (resize-mini-window, resize-window): New functions.
12005 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12006 Move here from window.c.
12007 (maximize-window, minimize-window): New functions.
12008 (delete-window, delete-other-windows, split-window): Move here
12009 from window.c.
12010 (window-split-min-size): New function.
12011 (split-window-keep-point): Mention split-window-above-each-other
12012 instead of split-window-vertically.
2b75be67 12013 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12014 Rename split-window-vertically to split-window-above-each-other
12015 and provide defalias for old definition.
12016 (split-window-side-by-side, split-window-horizontally):
12017 Rename split-window-horizontally to split-window-side-by-side
12018 and provide defalias for the old definition.
562dd5e9
MR
12019 (ctl-x-map): Move bindings for delete-window,
12020 delete-other-windows and enlarge-window here from window.c.
12021 Replace bindings for split-window-vertically and
12022 split-window-horizontally by bindings for
12023 split-window-above-each-other and split-window-side-by-side.
12024
12025 * cus-start.el (all): Remove entries for window-min-height and
12026 window-min-width. Add entries for window-splits and
12027 window-nest.
12028
f0da764a
GM
120292011-06-09 Glenn Morris <rgm@gnu.org>
12030
80675c21
GM
12031 * calendar/appt.el (appt-mode-line): New function.
12032 (appt-check, appt-disp-window): Use it.
12033
f0da764a
GM
12034 * files.el (hack-one-local-variable-eval-safep):
12035 Allow minor-modes with explicit +/-1 arguments.
12036
59f623b7
TZ
120372011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12038
12039 * term/xterm.el (xterm): Add defgroup.
12040 (xterm-extra-capabilities): Add defcustom to supply known xterm
12041 capabilities, skip querying them, or query them (default).
12042 (terminal-init-xterm): Use it.
12043 (terminal-init-xterm-modify-other-keys): New function to set up
12044 modifyOtherKeys support to simplify `terminal-init-xterm'.
12045
9aab8e0d
MR
120462011-06-09 Martin Rudalics <rudalics@gmx.at>
12047
12048 * window.el (resize-window-reset, resize-window-reset-1)
12049 (resize-subwindows-skip-p, resize-subwindows-normal)
12050 (resize-subwindows, resize-other-windows, resize-this-window)
12051 (resize-root-window, resize-root-window-vertically)
12052 (window-deletable-p, window-or-subwindow-p)
12053 (frame-root-window-p): New functions.
12054
e8b08aee
GM
120552011-06-09 Glenn Morris <rgm@gnu.org>
12056
12057 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12058 (ange-ftp-get-files): Use it.
12059
254c37a5
AK
120602011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12061
12062 * mail/sendmail.el (mail-recover-1, mail-recover):
12063 * files.el (recover-file, recover-session):
12064 Handle dired-listing-switches not being just a single short option.
12065
35d7dbd3
GM
120662011-06-09 Glenn Morris <rgm@gnu.org>
12067
12068 * calendar/appt.el (appt-display-message, appt-disp-window):
12069 Handle lists of appointments.
12070
387522b2
MR
120712011-06-08 Martin Rudalics <rudalics@gmx.at>
12072
2b75be67
SM
12073 * window.el (one-window-p): Move down in code.
12074 Rewrite doc-string.
12075 (window-current-scroll-bars): Rewrite doc-string.
12076 Normalize live window argument.
387522b2
MR
12077 (walk-windows, get-window-with-predicate, count-windows):
12078 Rewrite doc-string. Use window-list-1.
12079 (window-in-direction-2, window-in-direction, get-mru-window):
12080 New functions.
12081
d8e4b68b 120822011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12083
12084 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12085 Doc fix (Bug#8713).
12086
120872011-06-08 Chong Yidong <cyd@stupidchicken.com>
12088
12089 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12090
120912011-06-08 Juanma Barranquero <lekktu@gmail.com>
12092
12093 * loadhist.el (unload-feature-special-hooks):
12094 Add `comint-output-filter-functions'.
12095
0de12c52
IK
120962011-06-08 Ivan Kanis <gnu@kanis.fr>
12097
12098 * calendar/appt.el (appt-check): Move some initializations into the let.
12099
f3d1777e
MR
121002011-06-08 Martin Rudalics <rudalics@gmx.at>
12101
12102 * window.el (window-height): Defalias to window-total-height.
12103 (window-width): Defalias to window-body-width.
12104
18af70d0
CY
121052011-06-07 Chong Yidong <cyd@stupidchicken.com>
12106
12107 * image-mode.el (image-toggle-animation): New command.
12108 (image-mode-map): Bind it to RET.
12109 (image-mode): Update message.
12110 (image-toggle-display-image): Avoid a spurious cache flush.
12111 (image-transform-rotation): Doc fix.
12112 (image-transform-properties): Return quickly in the normal case.
12113 (image-animate-loop): Rename from image-animate-max-time.
12114
2b75be67 12115 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12116 (create-animated-image): Remove unnecessary function.
12117 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12118 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12119 (image-animate-timer): Use car-safe.
12120 (image-animate-timeout): Rename argument.
12121
190b47e6
MR
121222011-06-07 Martin Rudalics <rudalics@gmx.at>
12123
12124 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12125 window.c. Rename first argument to ALL-FRAMES.
12126 Rephrase doc-strings.
12127 (get-buffer-window-list): Rewrite using window-list-1.
12128 Rephrase doc-string.
a1511caf
MR
12129 (window-safe-min-height, window-safe-min-width): New constants.
12130 (window-size-ignore, window-min-size, window-min-size-1)
12131 (window-sizable, window-sizable-p, window-size-fixed-1)
12132 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12133 (window-max-delta-1, window-max-delta, window-resizable)
12134 (window-resizable-p, window-total-height, window-total-width)
12135 (window-body-width): New functions.
12136 (window-full-height-p, window-full-width-p): Rewrite using
12137 window-total-size.
12138 (window-body-height): Rewrite using window-body-size.
190b47e6 12139
85cc1f11
MR
121402011-06-06 Martin Rudalics <rudalics@gmx.at>
12141
12142 * window.el (window-right, window-left, window-child)
12143 (window-child-count, window-last-child, window-any-p)
12144 (normalize-live-buffer, normalize-live-frame)
12145 (normalize-any-window, normalize-live-window)
12146 (window-iso-combination-p, window-iso-combined-p)
12147 (window-iso-combinations)
12148 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12149 (windows-with-parameter, window-with-parameter)
12150 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12151 (window-atom-check, window-side-check, window-check):
12152 New functions.
85cc1f11
MR
12153 (ignore-window-parameters, window-sides, window-sides-vertical)
12154 (window-sides-slots): New variables.
12155 (window-size-fixed): Move down in code. Minor doc-string fix.
12156
e7156492
AS
121572011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12158
12159 * comint.el (comint-dynamic-complete-as-filename)
12160 (comint-dynamic-complete-filename): Correctly call
12161 completion-in-region.
12162
7e821d0d
DD
121632011-06-05 Deniz Dogan <deniz@dogan.se>
12164
12165 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12166 in last change.
12167
ac09b8a1
DD
121682011-06-05 Deniz Dogan <deniz@dogan.se>
12169
12170 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12171 (rcirc): Use it to prompt for encryption.
12172
34699b85
RW
121732011-06-05 Roland Winkler <winkler@gnu.org>
12174
12175 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12176 (bibtex-search-entries): New command bound to C-c C-a.
12177 (bibtex-display-entries): New function.
12178
004dedd3
RW
121792011-06-05 Roland Winkler <winkler@gnu.org>
12180
12181 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12182 (bibtex-insert-kill): After yanking insert newline if necessary.
12183 (bibtex-initialize): Call bibtex-string-files-init only once.
12184 (bibtex-mode): Do not call easy-menu-add.
12185 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12186 (bibtex-yank): Set arg properly if nil.
12187
022fe7ce
RW
121882011-06-05 Roland Winkler <winkler@gnu.org>
12189
2b75be67
SM
12190 * textmodes/bibtex.el (bibtex-search-entry-globally):
12191 New variable.
022fe7ce
RW
12192 (bibtex-search-entry): Use it.
12193
b7c3692a
RW
121942011-06-05 Roland Winkler <winkler@gnu.org>
12195
12196 * textmodes/bibtex.el (bibtex-entry-format): New option
12197 sort-fields.
12198 (bibtex-format-entry, bibtex-reformat): Honor this option.
12199 (bibtex-parse-entry): Return fields in proper order.
12200
8eda563d
JB
122012011-06-05 Juanma Barranquero <lekktu@gmail.com>
12202
12203 * doc-view.el (doc-view-remove-if): Move computation of result out
12204 of `dolist' to silence misleading lexical-binding warning.
12205
7dbe3dbc
CY
122062011-06-04 Chong Yidong <cyd@stupidchicken.com>
12207
12208 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12209 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12210
0c33dd17
MA
122112011-06-04 Michael Albinus <michael.albinus@gmx.de>
12212
12213 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12214 "SunOS 5.10".
12215
f8f91c2b
MA
122162011-06-04 Michael Albinus <michael.albinus@gmx.de>
12217
12218 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12219 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12220 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12221 (tramp-parse-putty):
12222 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12223 (tramp-completion-function-alist-ssh)
12224 (tramp-completion-function-alist-telnet)
12225 (tramp-completion-function-alist-su)
12226 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12227 cookie.
12228
12229 * net/tramp-ftp.el:
12230 * net/tramp-sh.el:
12231 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12232 load "tramp.el" `tramp-set-completion-function'.
12233
e17d9003
SM
122342011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * shell.el: Require and use pcomplete.
12237 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12238 (shell-completion-vars): Set pcomplete-default-completion-function.
12239
6c4cab03
DD
122402011-06-04 Deniz Dogan <deniz@dogan.se>
12241
12242 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12243 `memq' (Bug#8799).
12244
ea9fafe0
SM
122452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12246
12247 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12248
b3e945d3
JB
122492011-06-02 Juanma Barranquero <lekktu@gmail.com>
12250
12251 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12252 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12253 * vc/log-view.el (log-view-beginning-of-defun):
12254 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12255 (smerge-refine-forward, smerge-refine-chopup-region):
12256 Silence warning for unused `dotimes' counter variables.
12257
7d520089
SM
122582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * net/tramp.el (tramp-with-progress-reporter): Rename from
12261 with-progress-reporter. Use `declare'.
12262 * net/tramp-smb.el:
12263 * net/tramp-sh.el:
12264 * net/tramp-gvfs.el: Update all uses.
12265
a1c2400f
JB
122662011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12267
12268 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12269 buffer isn't killed before making it current.
12270
2403c841
SM
122712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 Silence various byte-compiler warnings.
12274 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12275 `access-type' and new obsolescence format.
12276 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12277 new format.
12278 (byte-compile-check-variable): New `access-type' argument.
12279 Only warn if the access-type is obsolete.
12280 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12281 (byte-compile-variable-set): Adjust callers.
12282 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12283 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12284 setting it as obsolete.
12285 * simple.el (minibuffer-completing-symbol):
12286 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12287 access as obsolete.
12288 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12289 obsolete yet.
12290 * international/quail.el (quail-mouse-choose-completion): Remove unused
12291 code referring to obsolete var.
12292 (quail-choose-completion-string): Remove.
12293 * server.el (server-clients-with, server-kill-buffer-query-function)
12294 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12295 * proced.el (proced-send-signal):
12296 * emacs-lisp/lisp.el (lisp-complete-symbol):
12297 Replace completion-annotate-function with completion-extra-properties.
12298
2462470b
SM
122992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12300
fb5b2591
SM
12301 * simple.el (goto-line): Use read-number.
12302 (overriding-map-is-bound): Remove.
12303 (saved-overriding-map): Change default.
12304 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12305 Take the map as argument.
12306 (universal-argument, negative-argument, digit-argument): Use it.
12307 (restore-overriding-map): Adjust.
12308 (do-auto-fill): Use fill-forward-paragraph.
12309 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12310
fd6fa53f
SM
12311 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12312 (minibuffer-inactive-mode): New major mode.
12313 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12314 the *Messages* buffer" hack.
12315 (mouse-popup-menubar): Don't burp if the event is a normal key.
12316
2462470b
SM
12317 Miscellaneous tweaks.
12318 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12319 lexical scoping as in subr.el's dolist and dotimes.
12320 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12321 Silence compiler warning.
12322 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12323 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12324 * international/ccl.el (ccl-compile): Trivial simplification.
12325 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12326 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12327 `printflag' argument.
12328 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12329 Purecopy the whole obsolescence data.
12330
108bf785
LL
123312011-06-01 Leo Liu <sdl.web@gmail.com>
12332
12333 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12334 improve doc-string as suggested by Marco Pessotto
12335 <melmothx@gmail.com>.
12336 (rcirc-print): Fix last change.
12337
30a23501
SM
123382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * minibuffer.el (complete-with-action): Return nil for the metadata and
12341 boundaries of non-functional tables.
12342 (completion-table-dynamic): Return nil for the metadata.
12343 (completion-table-with-terminator): Add default case, using
12344 complete-with-action.
12345 (completion--metadata): New function.
12346 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12347 to try and avoid pathological performance problems.
12348 (completion--embedded-envvar-table): Return `category' metadata.
12349
bcd54f83
LMI
123502011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12351
12352 * subr.el (process-alive-p): New tiny convenience function.
12353
e227544d
SM
123542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12357 content but also its previous major mode.
12358
e8296fdc
HE
123592011-05-31 Helmut Eller <eller.helmut@gmail.com>
12360
4d61f28d 12361 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12362 *Backtrace* buffer when we exit with C-M-c.
12363
620c53a6
SM
123642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * minibuffer.el: Add metadata method to completion tables.
12367 (completion-category-overrides): New defcustom.
12368 (completion-metadata, completion--field-metadata)
12369 (completion-metadata-get, completion--styles)
12370 (completion--cycle-threshold): New functions.
12371 (completion-try-completion, completion-all-completions):
12372 Add `metadata' argument to choose completion-styles.
12373 (completion--do-completion): Use metadata to choose cycling.
12374 (completion-all-sorted-completions): Use metadata for sorting.
12375 Remove :completion-cycle-penalty which is not needed any more.
12376 (completion--try-word-completion): Add `metadata' argument.
12377 (minibuffer-completion-help): Check metadata for annotation function
12378 and sorting.
12379 (completion-file-name-table): Return `category' metadata.
12380 (minibuffer-completing-file-name): Make obsolete.
12381 * simple.el (minibuffer-completing-symbol): Make obsolete.
12382 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12383 completion-try-completion.
12384
1257e755
SM
123852011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12388
3767e706
LL
123892011-05-30 Leo Liu <sdl.web@gmail.com>
12390
12391 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12392 (rcirc-print): Decode all incoming messages (bug#8744).
12393 (rcirc-decode-coding-system): Allow value nil for automatic coding
12394 system detection.
3767e706 12395
d1a5d56a
GM
123962011-06-01 Glenn Morris <rgm@gnu.org>
12397
12398 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12399
e8cbec34
CY
124002011-05-29 Chong Yidong <cyd@stupidchicken.com>
12401
12402 * image.el (image-animate-max-time): Allow nil and t values.
12403 Default to nil.
12404 (create-animated-image): Doc fix.
12405 (image-animate-start): Remove second arg; just use
12406 image-animate-max-time.
12407 (image-animate-timeout): Doc fix. Args changed.
12408
12409 * image-mode.el (image-toggle-display-image): Ensure that the
12410 image spec passed to the animate timer is the same object as in
58179cce 12411 the buffer's display property (Bug#6981).
e8cbec34
CY
12412 (image-transform-properties): Doc fix.
12413
12414 * image.el (image-animate-max-time): Default to nil.
12415
159daf87
MR
124162011-05-29 Martin Rudalics <rudalics@gmx.at>
12417
12418 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12419 entire buffer list (Bug#8184).
12420
d66c4c7c
CY
124212011-05-29 Chong Yidong <cyd@stupidchicken.com>
12422
12423 * image.el (imagemagick-types-inhibit)
12424 (imagemagick-register-types): Doc fix.
12425
80aec780
DD
124262011-05-29 Deniz Dogan <deniz@dogan.se>
12427
12428 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12429 default.
12430
1dd3c2d9
CY
124312011-05-29 Chong Yidong <cyd@stupidchicken.com>
12432
12433 * select.el: Don't perform clipboard-manager saving in hooks;
12434 leave the hooks empty.
12435
60e56523
LL
124362011-05-28 Leo Liu <sdl.web@gmail.com>
12437
12438 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12439 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12440 (occur-edit-mode): New major mode (Bug#8463).
12441 (occur-after-change-function): New function.
12442 (occur-engine): Give Occur tags a read-only property.
12443
2b1e1a22
KR
124442011-05-28 Kevin Ryde <user42@zip.com.au>
12445
12446 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12447
5d344e88
CY
124482011-05-28 Chong Yidong <cyd@stupidchicken.com>
12449
8e6ca83d
CY
12450 * bindings.el (help-echo): Make the initial non-indicator dash
12451 empty on graphical terminals (Bug#7295).
12452
5d344e88
CY
12453 * files.el (auto-mode-alist): Move config rule after the
12454 in-stripping one (Bug#8547).
12455
bfbbace7
CY
12456 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12457
fbeba6e2
CY
12458 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12459 setting (Bug#8740).
12460
60ed8c72
AA
124612011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12462
4ac619f0
AA
12463 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12464 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12465 (Bug#8539).
60ed8c72 12466
23db196e
CY
124672011-05-28 Chong Yidong <cyd@stupidchicken.com>
12468
12469 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12470
5012f24c
DK
124712011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12472
12473 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12474 (hs-hide-block-at-point, hs-find-block-beginning)
12475 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12476 (Bug#8279).
12477
6a639b16
GM
124782011-05-28 Glenn Morris <rgm@gnu.org>
12479
12480 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12481
d43eaf2c
CY
124822011-05-28 Chong Yidong <cyd@stupidchicken.com>
12483
5199bde1
CY
12484 * help-fns.el (describe-function-1): If the function is a derived
12485 major mode, print the parent mode.
12486
d43eaf2c
CY
12487 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12488 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12489
423428a8
SM
124902011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12491
0ff8e1ba 12492 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12493 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12494 * progmodes/etags.el (tags-completion-at-point-function):
12495 * info-look.el (info-lookup-completions-at-point): Mark as
12496 non-exclusive.
12497 (info-complete): Adjust accordingly.
12498
423428a8
SM
12499 * info-look.el: Convert to lexical-binding and completion-at-point.
12500 (info-lookup-completions-at-point): New function.
12501 (info-complete): Use it and completion-in-region.
12502
b74aa22b
DA
125032011-05-28 Drew Adams <drew.adams@oracle.com>
12504
12505 * isearch.el: Let M-e start with point at the first mismatched char.
12506 (isearch-fail-pos): New function.
12507 (isearch-edit-string): Use it.
12508
66e2e71d
DK
125092011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12510
12511 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12512
b1890b0f 125132011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12514
12515 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12516 traversal functions for avl-trees.
12517 (avl-tree--stack): New struct.
12518 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12519 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12520 (avl-tree--do-enter): Add optional `updatefun' arg.
12521 Change return value.
eb95d01d 12522 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12523 (avl-tree--do-delete): Add `test' and `nilflag' args.
12524 Change return value.
eb95d01d
TC
12525 (avl-tree-member): Add optional `nilflag'
12526 (avl-tree-member-p): New function.
12527 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12528 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12529 (avl-tree-stack-empty-p): New functions.
12530
3769ddcf
TC
12531 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12532 avl-tree--del-balance1 and make it work both ways.
12533 (avl-tree--del-balance2): Remove.
12534 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12535 make it work both ways.
12536 (avl-tree--enter-balance2): Remove.
12537 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12538 New macros.
12539 (avl-tree--mapc, avl-tree-map): Add direction argument.
12540
eb95d01d 125412011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12542
12543 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12544
a9f737ee
CY
125452011-05-27 Chong Yidong <cyd@stupidchicken.com>
12546
12547 * select.el: Support clipboard managers with built-in function
12548 x-clipboard-manager-save, via delete-frame-functions and
12549 kill-emacs-hook.
12550 (xselect-convert-to-targets): Add MULTIPLE target to list.
12551 (xselect-convert-to-save-targets): New function.
12552
c92a1e54
KH
125532011-05-27 Kenichi Handa <handa@m17n.org>
12554
12555 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12556 let-binding rfc2047-encode-encoded-words to nil.
12557
e145f188
GM
125582011-05-27 Glenn Morris <rgm@gnu.org>
12559
5ec8a862
GM
12560 * mail/emacsbug.el: Don't require url-util.
12561
4b29d9fb
GM
12562 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12563
e145f188
GM
12564 * files.el (set-auto-mode):
12565 Also respect mode: entries at the end of the file. (Bug#8586)
12566
7d15102b
GM
125672011-05-26 Glenn Morris <rgm@gnu.org>
12568
98f593b8
GM
12569 * files.el (hack-local-variables-prop-line, hack-local-variables):
12570 Downcase mode names, as seems to be traditional.
27b48e63 12571 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12572
7d15102b
GM
12573 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12574 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12575
51d5b4ec
JD
125762011-05-25 Julien Danjou <julien@danjou.info>
12577
12578 * textmodes/rst.el (rst-define-level-faces): Do not define face
12579 symbol if it is already defined.
12580
91513f63
VB
125812011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12582
12583 * play/5x5.el (5x5-new-game, 5x5-randomize):
12584 Reset 5x5-solver-output to nil when a new grid is cast.
12585 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12586 these debugging traces, as defmacro breaks the compiled code.
12587
4d90d6d0
DK
125882011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12589
12590 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12591
e1b90ef6
LL
125922011-05-24 Leo Liu <sdl.web@gmail.com>
12593
12594 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12595 (vc-bzr-sha1): Adapt.
12596
d8e4b68b 12597 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12598
12599 * bindings.el: Provide sha1 feature.
12600
db0406bb 126012011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12602
12603 * mail/sendmail.el: Require `rfc2047'.
12604 (mail-insert-from-field): Do not perform RFC2047 encoding.
12605 (mail-encode-header): New function.
12606 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12607 buffer to the return value of select-message-coding-system.
12608 Call mail-encode-header.
b8d747b9
KH
12609
12610 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12611
db0406bb 126122011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12613
4d90d6d0
DK
12614 * mail/supercite.el (sc-default-cite-frame):
12615 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12616
eb8a5e9b
GM
126172011-05-24 Glenn Morris <rgm@gnu.org>
12618
f8630703
GM
12619 * progmodes/python.el (brm-menu): Declare.
12620
8831bbed
GM
12621 * emulation/viper.el (viper-set-hooks): Declare.
12622
eb8a5e9b
GM
12623 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12624 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12625 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12626 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12627 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12628 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12629
a2a25d24
SM
126302011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12631
12632 Add an :exit-function for completion-at-point.
12633
12634 * minibuffer.el (completion--done): New fun.
12635 (completion--do-completion): Use it. New arg `expect-exact'.
12636 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12637 since completion--do-completion does it for us now.
12638 (minibuffer-force-complete): Use completion--done and
12639 completion--replace. Handle sole-completion case with more care.
12640 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12641 (completion-extra-properties): New var.
12642 (completion-annotate-function): Make obsolete.
12643 (minibuffer-completion-help): Adjust accordingly.
12644 Use completion-list-insert-choice-function.
12645 (completion-at-point, completion-help-at-point):
12646 Bind completion-extra-properties.
12647 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12648 * simple.el (completion-list-insert-choice-function): New var.
12649 (completion-setup-function): Preserve it.
12650 (choose-completion): Pay attention to it, shuffle the code a bit.
12651 (choose-completion-string): New arg `insert-function'.
12652
12653 * textmodes/bibtex.el: Convert to lexical binding.
12654 (bibtex-mode-map): Use completion-at-point.
12655 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12656 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12657 (bibtex-complete): Define as obsolete alias.
12658 (bibtex-complete-internal): Remove.
12659 (bibtex-format-entry): Remove unused sub-group in regexp.
12660 * shell.el (shell--command-completion-data)
12661 (shell-environment-variable-completion):
12662 * pcomplete.el (pcomplete-completions-at-point):
12663 * comint.el (comint--complete-file-name-data): Use :exit-function
12664 instead of completion-table-with-terminator so it also works for
12665 choose-completion.
12666
e44e373d
SM
126672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12668
4f91a816
SM
12669 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12670
782fc819
SM
12671 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12672 (bug#8710).
12673
e44e373d
SM
12674 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12675
381987c3
KM
126762011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12677
12678 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12679 customization variable and implement: If non-nil, auto-fill will
12680 be inhibited while on topic's header line.
12681
b776bc70
VB
126822011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12683
12684 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12685 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12686 always have a solution in grid size = 5 cases.
12687 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12688 (5x5-solver-output, 5x5-log-buffer): New vars.
12689 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12690 Make these variables buffer local to achieve 5x5 multi-session-ness.
12691 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12692 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12693 (5x5-solve-suggest): New funs.
12694 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12695 randomize a grid so that we ensure that there is always a solution.
12696 (5x5-make-random-grid): Allow other movement than flipping.
12697
7de88b6e
KR
126982011-05-23 Kevin Ryde <user42@zip.com.au>
12699
12700 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12701 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12702 advice and passes PREDICATE.
12703
b1ef1257
SM
127042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12705
bbca48fe
SM
12706 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12707 byte-compile-lambda if it's actually a lambda.
12708
b1ef1257
SM
12709 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12710 Fix function quoting. Use backquote better.
12711
92a9cc65
YS
127122011-05-22 Yuanle Song <sylecn@gmail.com>
12713
12714 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12715 matching (Bug#8516).
12716
f0fb8059
JA
127172011-01-22 Jari Aalto <jari.aalto@cante.net>
12718
12719 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12720 different face (Bug#8178).
12721
d5b44c93
CY
127222011-05-22 Chong Yidong <cyd@stupidchicken.com>
12723
12724 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12725 defface (Bug#8144).
12726
79106a44
SM
127272011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12728
9c848d8a
SM
12729 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12730 funcall as well (bug#8712). Warn when performing those conversions.
12731 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12732
79106a44
SM
12733 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12734
88dfa756
GM
127352011-05-22 Glenn Morris <rgm@gnu.org>
12736
12737 * files.el (hack-local-variables-prop-line): Small simplifications.
12738 (hack-local-variables, hack-local-variables-prop-line):
12739 If MODE-ONLY, return the mode, rather than just `t'.
12740
b7cf2c79
SM
127412011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12744
3f1a8558
GM
127452011-05-21 Glenn Morris <rgm@gnu.org>
12746
7e4ccca3
GM
12747 * files.el (hack-local-variables-prop-line, hack-local-variables):
12748 If only interested in the mode, don't bother doing the other stuff.
12749
637d46ca
GM
12750 * image-mode.el (image-after-revert-hook):
12751 Redraw all frames on which the image is visible. (Bug#8567)
12752
973d955b
GM
12753 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12754
3f1a8558
GM
12755 * wid-edit.el (widget-checklist-match-inline):
12756 Fix 2011-04-19 change. (Bug#8649)
12757
96479927
SM
127582011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12759
1dcf791f
SM
12760 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12761 Also allow singlespace after single-letter capitals followed by a dot.
12762
96479927
SM
12763 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12764 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12765
35fd0881
N
127662011-05-20 Nix <nix@esperi.org.uk>
12767
12768 * files.el (basic-save-buffer-2):
12769 Fix handling of break-hardlink-on-save with non-existent files.
12770
82745640
DD
127712011-05-19 Deniz Dogan <deniz@dogan.se>
12772
12773 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12774 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12775
4a720484
GM
127762011-05-19 Glenn Morris <rgm@gnu.org>
12777
d1f21341
GM
12778 * progmodes/f90.el (f90-type-def-re):
12779 Handle "type, bind(c)". (Bug#8691)
12780
4a720484
GM
12781 * emacs-lisp/autoload.el (batch-update-autoloads):
12782 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12783
2fb0a219
MA
127842011-05-18 Michael Albinus <michael.albinus@gmx.de>
12785
12786 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12787 property for the correct connection in case of multihops.
12788
e565dd37
GM
127892011-05-18 Glenn Morris <rgm@gnu.org>
12790
c2571358 12791 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12792 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12793
e565dd37
GM
12794 Rationalize calendar handling of day and month abbrev-arrays.
12795 * calendar/calendar.el (calendar-customized-p): New function.
12796 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12797 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12798 Add :set function.
12799 (calendar-abbrev-length, calendar-day-abbrev-array)
12800 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12801 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12802 Elements may no longer be nil.
12803 (calendar-day-name, calendar-month-name):
12804 Update for changed nature of abbrev arrays.
12805 * calendar/diary-lib.el (diary-name-pattern):
12806 Update for changed nature of abbrev arrays.
12807 (diary-mark-entries-1): Update calendar-make-alist calls.
12808 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12809 * calendar/cal-html.el (cal-html-day-abbrev-array):
12810 Simply inherit from calendar-day-abbrev-array.
12811
1d99a745
SM
128122011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * progmodes/grep.el (grep-mode): Disable default
12815 compilation-directory-matcher setting (bug#8684).
12816
7c1d9aa0
MA
128172011-05-17 Michael Albinus <michael.albinus@gmx.de>
12818
12819 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12820 instead of "head" and "tail". There were problems with SunOS 5.9,
12821 and it performs better.
12822
3952e9d8
GM
128232011-05-17 Glenn Morris <rgm@gnu.org>
12824
2dd12e7f
GM
12825 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12826
e4157b9c
GM
12827 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12828 Replace obsolete function.
12829
8e249bbd
GM
12830 * shell.el (pcomplete-parse-arguments-function): Declare.
12831
3952e9d8
GM
12832 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12833 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12834 (appt-check): Doc fixes.
12835 (appt-disp-window-function, appt-delete-window-function):
12836 Remove needless special case in custom :type.
12837 (appt-display-count): Default to 0, not nil.
12838 (appt-check): Reset appt-display-count to 0, not nil.
12839
c71a0d48 128402011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12841
c71a0d48
GM
12842 * progmodes/python.el (python-font-lock-keywords):
12843 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12844
31d55be9
SM
128452011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12848
3bfacb2f
KR
128492011-05-16 Kevin Ryde <user42@zip.com.au>
12850
12851 * info-look.el (makefile-automake-mode): New setups, looking in
12852 automake manual, then makefile-mode.
12853 (makefile-mode): Remove automake manual, have it just in
12854 makefile-automake-mode since there's various things different or
12855 not relevant to plain make.
12856 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12857 believe a hypothetical automake-mode would go to makefile-mode,
12858 not the other way around.
12859
c8e83751
CY
128602011-05-15 Chong Yidong <cyd@stupidchicken.com>
12861
5e9e35cd
CY
12862 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12863 hunk-end tags (Bug#8672).
12864
c8e83751
CY
12865 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12866 vc-annotate-show-diff-revision-at-line (Bug#8671).
12867
50b23e5a
GM
128682011-05-14 Glenn Morris <rgm@gnu.org>
12869
7210a739
GM
12870 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12871 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12872 (change-log-font-lock-keywords): Also handle multiple author lines
12873 with leading tabs. (Bug#8644)
7210a739 12874
4691905a
GM
12875 * calendar/appt.el (appt-check): Rename some local variables.
12876 Some simplification/reordering.
12877
50b23e5a
GM
12878 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12879 (feedmail-sendmail-f-doesnt-sell-me-out)
12880 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12881 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12882 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12883 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12884 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12885 (feedmail-binmail-gnulinuxish-template):
12886 Rename from feedmail-binmail-linuxish-template.
12887 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12888 Use insert-buffer-substring.
12889
215cda7c
BC
128902011-05-14 Bill Carpenter <bill@carpenter.org>
12891
12892 * mail/feedmail.el (feedmail-patch-level): Increase.
12893 (feedmail-debug): New custom group.
12894 (feedmail-confirm-outgoing-timeout)
12895 (feedmail-sendmail-f-doesnt-sell-me-out)
12896 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12897 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12898 (feedmail-sender-line, feedmail-from-line)
12899 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12900 (feedmail-spray-this-address)
215cda7c
BC
12901 (feedmail-spray-address-fiddle-plex-list)
12902 (feedmail-queue-use-send-time-for-date)
12903 (feedmail-queue-use-send-time-for-message-id)
12904 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12905 (feedmail-buffer-eating-function):
12906 Doc fixes.
12907 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12908 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12909 (feedmail-message-action-scroll-down): New functions.
12910 (feedmail-queue-directory, feedmail-queue-draft-directory):
12911 Use expand-file-name.
12912 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12913 Remove C-v help entry.
12914 (feedmail-queue-buffer-file-name): New variable.
12915 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12916 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12917 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12918 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12919 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12920 (feedmail-message-action-toggle-spray)
12921 (feedmail-run-the-queue-no-prompts)
12922 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12923 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12924 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12925 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12926 (feedmail-envelope-deducer, feedmail-fiddle-from)
12927 (feedmail-fiddle-sender, feedmail-default-date-generator)
12928 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12929 (feedmail-fiddle-spray-address)
12930 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12931 (feedmail-fiddle-list-of-fiddle-plexes)
12932 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12933 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12934 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12935 Change default. Doc fix.
12936 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12937 (feedmail-binmail-linuxish-template): New constant.
12938 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12939 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12940 (feedmail-send-it): Add debug call.
12941 Use feedmail-queue-buffer-file-name, and
12942 feedmail-send-it-immediately-wrapper.
12943 (feedmail-message-action-send): Add debug call.
12944 Use feedmail-send-it-immediately-wrapper.
12945 (feedmail-queue-express-to-queue): Add debug call.
12946 Run feedmail-queue-express-hook.
12947 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12948 (feedmail-message-action-help-blat):
12949 Rename from feedmail-queue-send-edit-prompt-help-first.
12950 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12951 Check line-endings. Handle errors better.
12952 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12953 Doc fix. Add debug call.
12954 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12955 Use feedmail-queue-send-edit-prompt-inner.
12956 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12957 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12958 from feedmail-queue-send-edit-prompt.
12959 (feedmail-queue-send-edit-prompt-help)
12960 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12961 (feedmail-tidy-up-slug): Add debug call.
12962 Respect feedmail-queue-slug-suspect-regexp.
12963 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12964 (feedmail-dump-message-to-queue): Add debug call.
12965 Expand queue-directory.
12966 (feedmail-dump-message-to-queue): Change message slightly.
12967 Use feedmail-say-chatter.
12968 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12969 (feedmail-send-it-immediately-wrapper): New function.
12970 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12971 Insert empty string rather than newline. Handle full-frame case.
12972 Use catch/throw. Use feedmail-say-chatter.
12973 (feedmail-fiddle-from): Try mail-host-address.
12974 (feedmail-default-message-id-generator): Doc fix.
12975 Bind system-time-locale. Handle missing end.
12976 (feedmail-fiddle-x-mailer): Add debug call.
12977 Handle feedmail-x-mailer-line being nil.
12978 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12979 Add debug call. Use buffer-substring-no-properties.
12980 (feedmail-say-debug, feedmail-say-chatter): New functions.
12981 (feedmail-find-eoh): Give an explicit error.
12982
42c7e61e
UJ
129832011-05-13 Ulf Jasper <ulf.jasper@web.de>
12984
c2571358 12985 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12986 family from helvetica to sans.
c2571358 12987 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12988 etc/images/newsticker.
12989
c2571358 12990 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12991 family from helvetica to sans.
12992
12993 * net/newst-plainview.el (newsticker-new-item-face)
12994 (newsticker-old-item-face, newsticker-immortal-item-face)
12995 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12996 (newsticker-statistics-face): Change default family from
42c7e61e 12997 helvetica to sans.
c2571358 12998 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12999 etc/images/newsticker.
13000
5d3385a0
JB
13001 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13002 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13003 auto-marking.
13004
8497a297
DV
130052011-05-13 Didier Verna <didier@xemacs.org>
13006
13007 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13008 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13009 TODO entries.
8497a297
DV
13010 (lisp-lambda-list-keyword-parameter-indentation)
13011 (lisp-lambda-list-keyword-parameter-alignment)
13012 (lisp-lambda-list-keyword-alignment): New customizable user options.
13013 (lisp-indent-defun-method): Improve docstring.
13014 (extended-loop-p): Fix comment.
13015 (lisp-indent-lambda-list-keywords-regexp): New variable.
13016 (lisp-indent-lambda-list): New function.
13017 (lisp-indent-259): Use it.
13018 (lisp-indent-defmethod): Support for more than one
13019 method qualifier and properly indent methods lambda-lists.
13020 (defgeneric): Provide a missing common-lisp-indent-function property.
13021
f278f87f
SM
130222011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13025 bounds for the empty string (bug#8667).
13026
5233edd7
GM
130272011-05-13 Glenn Morris <rgm@gnu.org>
13028
5237a44f
GM
13029 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13030
8340026c 13031 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13032 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13033
5233edd7 13034 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13035 (appt-time-msg-list): Doc fix.
a5464014 13036 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13037
92d10796
AS
130382011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13039
13040 * progmodes/ld-script.el (ld-script-keywords)
13041 (ld-script-builtins): Update keywords list.
13042
914a0ae1
SM
130432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13044
c89be45f
SM
13045 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13046
914a0ae1
SM
13047 * shell.el (shell-completion-vars): New function.
13048 (shell-mode):
13049 * simple.el (read-shell-command): Use it.
13050 (blink-matching-open): No need for " [...]" in minibuffer-message.
13051
98dc3df3
GM
130522011-05-12 Glenn Morris <rgm@gnu.org>
13053
13054 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13055 (appt-check): Simplify.
13056
d2fc7e3d 130572011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13058
4d61f28d 13059 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13060 literal "/dev/null".
13061
d2fc7e3d 130622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13063
13064 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13065 Fix typo.
13066
d2fc7e3d 130672011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13068
3f254caa
SM
13069 * progmodes/which-func.el (which-function):
13070 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13071 which might not be defined (Bug#8260).
13072
d45885f7
GM
130732011-05-12 Glenn Morris <rgm@gnu.org>
13074
13075 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13076 Let byte-compile-initial-macro-environment always take precedence.
13077
488086f4
SM
130782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * net/rcirc.el: Add support for SSL/TLS connections.
13081 (rcirc-server-alist): New field `encryption'.
13082 (rcirc): Check `encryption' settings.
13083 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13084 Merge make-local-variable into `set'.
13085 (rcirc--connection-open-p): New function.
13086 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13087 the process is not a network process (e.g. running gnutls-cli).
13088 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13089 Make rcirc-(en|de)code-coding-system local here.
13090 (rcirc-mode): Merge make-local-variable into `set'.
13091 (rcirc-parent-buffer): Make permanent buffer-local.
13092 (rcirc-multiline-minor-mode): Don't do it here.
13093 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13094 there's no server buffer.
13095
7d3b9d44
GM
130962011-05-11 Glenn Morris <rgm@gnu.org>
13097
f64049c6
GM
13098 * newcomment.el (comment-kill): Prefix "unused" local.
13099
93c9df73
GM
13100 * term/w32console.el (get-screen-color): Declare.
13101
7d3b9d44
GM
13102 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13103 Handle symbol elements of byte-compile-initial-macro-environment.
13104
9e2dd53f
LL
131052011-05-10 Leo Liu <sdl.web@gmail.com>
13106
488086f4
SM
13107 * bookmark.el (bookmark-bmenu-mode-map):
13108 Bind bookmark-bmenu-search to `/'.
8b340240 13109
9e2dd53f 13110 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13111 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13112 (Footnote-unicode): New function.
13113 (footnote-style-alist): Add unicode style to the list.
13114 (footnote-style): Doc fix.
9e2dd53f 13115
79b70037
GM
131162011-05-10 Jim Meyering <meyering@redhat.com>
13117
13118 Fix doubled-word typos.
13119 * international/quail.el (quail-insert-kbd-layout): and and -> and
13120 * kermit.el: and and -> and
13121 * net/ldap.el (ldap-search-internal): to to -> to
13122 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13123 * progmodes/js.el (js-mode): and and -> and
13124 * textmodes/artist.el (artist-move-to-xy): at at -> at
13125 (artist-draw-region-trim-line-endings): if if -> if
13126 And Safetyc -> Safety.
13127 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13128
b8f82dc1 131292011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13130 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13131
13132 * files.el (hack-one-local-variable-eval-safep):
13133 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13134
4f99f44b
GM
131352011-05-10 Glenn Morris <rgm@gnu.org>
13136
13137 * calendar/diary-lib.el (diary-list-entries-hook)
13138 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13139 (diary-nongregorian-marking-hook, diary-list-entries)
13140 (diary-include-other-diary-files, diary-mark-entries)
13141 (diary-mark-included-diary-files): Doc fixes.
13142
84f29e6b
JB
131432011-05-09 Juanma Barranquero <lekktu@gmail.com>
13144
13145 * misc.el: Require tabulated-list.el during compilation.
13146
9bedd73a
CY
131472011-05-09 Chong Yidong <cyd@stupidchicken.com>
13148
488086f4
SM
13149 * progmodes/compile.el (compilation-start):
13150 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13151 (compilation-filter-hook): Doc fix.
13152
797c735c
DD
131532011-05-09 Deniz Dogan <deniz@dogan.se>
13154
13155 * wdired.el: Remove outdated installation comment. Fix usage
13156 comment.
13157
5f4b1dfe
JB
131582011-05-09 Juanma Barranquero <lekktu@gmail.com>
13159
13160 * misc.el: Implement new command `list-dynamic-libraries'.
13161 (list-dynamic-libraries--loaded-only-p): New variable.
13162 (list-dynamic-libraries--refresh): New function.
13163 (list-dynamic-libraries): New command.
13164
4c44026c
CY
131652011-05-09 Chong Yidong <cyd@stupidchicken.com>
13166
488086f4
SM
13167 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13168 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13169 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13170 higher priority to avoid clobbering by gnu.
13171
027f966d
CY
131722011-05-08 Chong Yidong <cyd@stupidchicken.com>
13173
13174 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13175 if the face has existing theme settings (Bug#8454).
13176
085f5d7d
CY
131772011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13178
488086f4
SM
13179 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13180 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13181
2a86a00c
RS
13182 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13183 special file names `.' and `..' (Bug#8259).
13184
d9c54a06
CY
131852011-05-08 Chong Yidong <cyd@stupidchicken.com>
13186
488086f4
SM
13187 * progmodes/grep.el (grep-mode-font-lock-keywords):
13188 Remove buffer-changing entries.
d9c54a06
CY
13189 (grep-filter): New function.
13190 (grep-mode): Add it to compilation-filter-hook.
13191
13192 * progmodes/compile.el (compilation-filter-hook)
13193 (compilation-filter-start): New defvars.
13194 (compilation-filter): Call compilation-filter-hook prior to
13195 updating the process mark.
13196
c4662635
SM
131972011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13198
13199 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13200
b0512a1d
EZ
132012011-05-07 Eli Zaretskii <eliz@gnu.org>
13202
605c9376
EZ
13203 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13204 mailclient-send-it even if window-system is nil. (Bug#8595)
13205
c4662635
SM
13206 * term/w32console.el (terminal-init-w32console):
13207 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13208 background-mode. (Bug#8597)
13209
d1dc2cc2
SM
132102011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13213 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13214 New functions.
13215 (defgeneric, eieio--defmethod): Use them.
13216 (eieio-defgeneric): Remove.
13217 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13218
915d1300
GM
132192011-05-07 Glenn Morris <rgm@gnu.org>
13220
a3961c3e
GM
13221 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13222 Use let rather than let*.
13223 (timeclock-find-discrep): Remove unused local.
13224
314347b9
GM
13225 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13226
915d1300
GM
13227 * calendar/appt.el (appt-time-msg-list): Doc fix.
13228
275b59b0
NF
132292011-05-06 Noah Friedman <friedman@splode.com>
13230
13231 * apropos.el (apropos-print-doc): Only use
13232 emacs-lisp-docstring-fill-column when it is bound to an integer,
13233 per that variable's documentation.
13234
6c19f744
SM
132352011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13238 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13239
60f884b2
GM
132402011-05-06 Glenn Morris <rgm@gnu.org>
13241
5006e634
GM
13242 * calendar/appt.el (appt-message-warning-time): Doc fix.
13243 (appt-warning-time-regexp): New option.
13244 (appt-make-list): Respect appt-message-warning-time.
13245
548d0a63
GM
13246 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13247 New options.
13248 (diary-add-to-list): Strip comments from the displayed string.
13249 (diary-mode): Set comment-start and comment-end.
13250
60f884b2
GM
13251 * vc/diff-mode.el (smerge-refine-subst): Declare.
13252 (diff-refine-hunk): Don't require smerge-mode when compiling.
13253
989681bb
JB
132542011-05-06 Juanma Barranquero <lekktu@gmail.com>
13255
13256 * simple.el (list-processes): Return nil as the docstring says.
13257
a6bc05e1
MA
132582011-05-05 Michael Albinus <michael.albinus@gmx.de>
13259
13260 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13261 to "".
13262 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13263 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13264 determining of binary transfer. (Bug#7383)
13265
23c22e9a
MA
132662011-05-05 Michael Albinus <michael.albinus@gmx.de>
13267
c4662635
SM
13268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13269 Fix port computation bug. (Bug#8618)
23c22e9a 13270
0bff894f
GM
132712011-05-05 Glenn Morris <rgm@gnu.org>
13272
b8296902
GM
13273 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13274
1f522ce8
GM
13275 * simple.el (shell-dynamic-complete-functions)
13276 (comint-dynamic-complete-functions): Declare.
13277
cf5bee67
GM
13278 * net/network-stream.el (gnutls-negotiate):
13279 * simple.el (tabulated-list-print): Fix declarations.
13280
13281 * progmodes/gud.el (syntax-symbol, syntax-point):
13282 Remove unnecessary and incorrect declarations.
13283
0bff894f
GM
13284 * emacs-lisp/check-declare.el (check-declare-scan):
13285 Handle byte-compile-initial-macro-environment in bytecomp.el
13286
9869b3ae
SM
132872011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13288
13289 Fix earlier half-done eieio-defmethod change (bug#8338).
13290 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13291 Streamline and change calling convention.
13292 (defmethod): Adjust accordingly and simplify.
13293 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13294 new eieio--defmethod.
13295 (slot-boundp): Minor CSE simplification.
13296
9c1d5ac5
MZ
132972011-05-05 Milan Zamazal <pdm@zamazal.org>
13298
13299 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13300 (glasses-make-readable): Use glasses-separate-capital-groups.
13301
455c834e
JB
133022011-05-05 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13305 (warning-series): Doc fix.
13306 (display-warning): Don't try to create the buffer if we just found it.
13307
9ed7c8cb
CY
133082011-05-04 Chong Yidong <cyd@stupidchicken.com>
13309
13310 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13311 (autoload-find-generated-file): New function.
13312 (generate-file-autoloads): Bind generated-autoload-file to
13313 buffer-file-name.
9869b3ae
SM
13314 (update-file-autoloads, update-directory-autoloads):
13315 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13316 output file (Bug#7989).
13317 (batch-update-autoloads): Doc fix.
13318
0898ca10
JB
133192011-05-04 Juanma Barranquero <lekktu@gmail.com>
13320
13321 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13322
31dfb76c
GM
133232011-05-04 Glenn Morris <rgm@gnu.org>
13324
f330b642
GM
13325 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13326 function, so it follows changes in calendar-date-style.
13327 (diary-fancy-date-matcher): New function.
13328 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13329 (diary-fancy-font-lock-fontify-region-function):
13330 Use diary-fancy-date-pattern as a function.
13331
31dfb76c
GM
13332 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13333 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13334
48e79d6a
TZ
133352011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13336
13337 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13338 instead of positional arguments. Allow :keylist and :crlfiles
13339 arguments.
13340 (open-gnutls-stream): Call it.
13341
13342 * net/network-stream.el (network-stream-open-starttls): Adjust to
13343 call `gnutls-negotiate' with :process and :hostname arguments.
13344
dd5a5ee0
SM
133452011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13346
ef80fc09
SM
13347 * minibuffer.el (completion--message): New function.
13348 (completion--do-completion, minibuffer-complete)
13349 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13350 (completion--do-completion): Don't ignore completion-auto-help when in
13351 icomplete-mode.
13352
dd5a5ee0
SM
13353 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13354 internal encoding (e.g. tibetan zero is not whitespace).
13355 (global-whitespace-mode): Prefer save-current-buffer.
13356 (whitespace-trailing-regexp): Remove useless save-match-data.
13357 (whitespace-empty-at-bob-regexp): Minor simplification.
13358
b7d22a83
CY
133592011-05-03 Chong Yidong <cyd@stupidchicken.com>
13360
13361 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13362
5192af46
AM
133632011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13364
13365 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13366 Use `concat' to create string for insertion.
5192af46 13367
5767d190
SM
133682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13371 Avoid open-line which runs post-self-insert-hook.
13372 (bibtex-fill-entry): Remove unused `end' var.
13373
bf242939
AM
133742011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13375
5767d190
SM
13376 * textmodes/ispell.el (ispell-add-per-file-word-list):
13377 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13378
25666126
LL
133792011-05-03 Leo Liu <sdl.web@gmail.com>
13380
13381 * isearch.el (isearch-yank-pop): New command.
5767d190 13382 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13383 (isearch-forward): Mention it.
13384
52d3c2d0
SM
133852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13386
1bcace58
SM
13387 * simple.el (minibuffer-complete-shell-command): Remove.
13388 (minibuffer-local-shell-command-map): Use completion-at-point.
13389 (read-shell-command): Setup completion vars here instead.
13390 (read-expression-map): Bind TAB to symbol completion.
13391
52d3c2d0
SM
13392 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13393 error directly rather via storing it into `results'.
13394
35813471
LL
133952011-05-02 Leo Liu <sdl.web@gmail.com>
13396
13397 * vc/diff.el: Fix description.
13398
e793a940
LMI
133992011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13400
13401 * server.el (server-eval-at): New function.
13402
8de66e05
LMI
134032011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13404
13405 * net/network-stream.el (open-network-stream): Take a :nowait
13406 parameter and pass it on to `make-network-process'.
13407 (network-stream-open-plain): Ditto.
13408
dcb79f20
AS
134092011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13410
13411 * faces.el (face-spec-set-match-display): Don't match toolkit
13412 options on terminal frames.
13413
14a7fbd8
SM
134142011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13415
7eabc1be
SM
13416 * progmodes/pascal.el: Use lexical binding.
13417 (pascal-mode-map): Remove author preferences.
13418
14a7fbd8
SM
13419 * pcomplete.el (pcomplete-std-complete): Don't abuse
13420 completion-at-point.
13421
50f84510
JB
134222011-04-28 Juanma Barranquero <lekktu@gmail.com>
13423
6e087a44
JB
13424 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13425 removing code that has been dead since 1991 or so.
13426
50f84510
JB
13427 * startup.el (command-line): When warning about "_emacs", use a
13428 delayed warning to allow the user to filter it out.
13429
0ba690bd
DD
134302011-04-28 Deniz Dogan <deniz@dogan.se>
13431
13432 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13433 user has not joined.
13434
08abfaad
SM
134352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13436
13437 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13438 aren't any completions at point.
13439
638f053a
JB
134402011-04-28 Juanma Barranquero <lekktu@gmail.com>
13441
13442 * subr.el (display-delayed-warnings): New function.
13443 (delayed-warnings-hook): New variable.
13444
8fff8daa
SM
134452011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13446
08abfaad
SM
13447 * minibuffer.el (completion-at-point, completion-help-at-point):
13448 Don't presume that a given completion-at-point-function will always
13449 use the same calling convention.
13450
8fff8daa
SM
13451 * pcomplete.el (pcomplete-completions-at-point):
13452 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13453 pcomplete-seen is non-nil.
13454 (pcomplete-comint-setup): Also recognize the new comint/shell
13455 completion functions.
13456 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13457 pcomplete-seen is non-nil.
13458
841a1577 134592011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13460
841a1577 13461 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13462 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13463 the first character in the entry. This allows for code to add its
211ec907
UJ
13464 own uid to the entry.
13465 (icalendar--convert-float-to-ical): Add export of
13466 `diary-float'-entries save for those with the optional DAY
13467 argument.
13468
2a782793
DC
134692011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13470
13471 * subr.el (shell-quote-argument): Use alternate escaping strategy
13472 when we spot a variable reference in a string.
13473
0438ce91
DC
134742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13475
13476 * cus-start.el (all): Define customization for debug-on-event.
13477
841a1577 134782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13479
13480 * subr.el (shell-quote-argument): Escape correctly under Windows.
13481
d090ed6c
SM
134822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13485
bfd31217
MA
134862011-04-25 Michael Albinus <michael.albinus@gmx.de>
13487
d090ed6c
SM
13488 * net/tramp.el (tramp-process-actions): Add POS argument.
13489 Delete region between POS and (pos).
bfd31217 13490
d090ed6c
SM
13491 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13492 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13493 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13494
13495 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13496 position in `tramp-process-actions' call.
13497
13498 * net/trampver.el: Update release number.
13499
e92f3bd3
SM
135002011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13501
850256b5
SM
13502 * custom.el (defcustom): Obey lexical-binding.
13503
e92f3bd3
SM
13504 Fix octave-inf completion problems reported by Alexander Klimov.
13505 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13506 Inherit from octave-mode-syntax-table.
13507 (inferior-octave-mode): Set info-lookup-mode.
13508 (inferior-octave-completion-at-point): New function.
13509 (inferior-octave-complete): Use it and completion-in-region.
13510 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13511 comint-filename-completion.
13512 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13513 symbol elements which shouldn't be word elements.
13514 (octave-font-lock-keywords, octave-beginning-of-defun)
13515 (octave-function-header-regexp): Adjust regexps accordingly.
13516 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13517
cd22b309
JB
135182011-04-25 Juanma Barranquero <lekktu@gmail.com>
13519
13520 * net/gnutls.el (gnutls-errorp): Declare before first use.
13521
8b492194
TZ
135222011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13523
13524 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13525 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13526 default trustfile exists before going to use it. Add missing
5a5fa834 13527 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13528 Reported by Claudio Bley <claudio.bley@gmail.com>.
13529 (open-gnutls-stream): Add usage example.
13530
13531 * net/network-stream.el (network-stream-open-starttls): Give host
13532 parameter to `gnutls-negotiate'.
13533 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13534 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13535
841a1577 135362011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13537
cd22b309
JB
13538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13539 Use correct match group (bug#8438).
05842630 13540
3ba7869c
CY
135412011-04-24 Chong Yidong <cyd@stupidchicken.com>
13542
512e3ae1
CY
13543 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13544 (package-menu--generate): New arg specifying packages to show.
13545 (package-menu-refresh, package-menu-execute, list-packages):
13546 Callers changed.
13547 (package-show-package-list): New function, replacing deleted
13548 package--list-packages (renamed because it is non-internal).
13549
13550 * finder.el (finder-list-matches): Use package-show-package-list
13551 instead of deleted package--list-packages.
13552
e92f3bd3
SM
13553 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13554 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13555 (vc-annotate-mode-map): Bind it to RET.
13556
7031be6d
UR
135572011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13558
13559 * progmodes/etags.el (next-file): Don't use set-buffer to change
13560 buffers (Bug#8478).
13561
4ef177aa
CY
135622011-04-24 Chong Yidong <cyd@stupidchicken.com>
13563
c8d173eb
CY
13564 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13565
4ef177aa
CY
13566 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13567 (apropos-accumulator): Doc fix.
13568 (apropos-function, apropos-macro, apropos-command)
13569 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13570 (apropos-plist): Add face property.
13571 (apropos-symbols-internal): Fix indentation.
13572 (apropos-print): Simplify help, and recognize apropos-multi-type.
13573 (apropos-print-doc): Use button-type-get to extract the button's
13574 face property. Fill docstring (Bug#8352).
13575
4ffd0d6b 135762011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13577
13578 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13579
c6c32125 13580 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13581 (mpuz-mode-map): Use mapc.
c6c32125
JB
13582 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13583 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13584 Fix typos in docstrings.
13585
58d468b4
JB
13586 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13587 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13588
6470c3c6
JB
13589 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13590
4ffd0d6b 135912011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13592
13593 * minibuffer.el (completion--do-completion): Avoid the "Next char
13594 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13595
3ad8bad0
CY
13596 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13597 mouse-2 into unread-command-events, it is interpreted correctly.
13598
71d73c9c 13599 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13600 (image-toggle-display): Doc fix.
71d73c9c 13601
841a1577 136022011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13603
4ffd0d6b
GM
13604 * textmodes/page.el (what-page): Use line-number-at-pos to
13605 calculate line number (Bug#6825).
6e1dbaa9 13606
c2fb1b60
JB
136072011-04-22 Juanma Barranquero <lekktu@gmail.com>
13608
13609 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13610 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13611 Pass argument NO-DEFAULT to `find-tag-interactive'.
13612
e02f48d7
JB
136132011-04-22 Juanma Barranquero <lekktu@gmail.com>
13614
13615 Lexical-binding cleanup.
13616
13617 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13618 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13619 * progmodes/ada-prj.el (ada-prj-initialize-values)
13620 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13621 (ada-prj-show-value):
13622 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13623 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13624 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13625 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13626 * progmodes/bug-reference.el (bug-reference-push-button):
13627 * progmodes/fortran.el (fortran-line-length):
13628 * progmodes/glasses.el (glasses-change):
13629 * progmodes/octave-mod.el (octave-fill-paragraph):
13630 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13631 (python-pdbtrack-grub-for-buffer, python-sentinel):
13632 * progmodes/sql.el (sql-save-connection):
13633 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13634 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13635 Mark unused parameters.
13636
13637 * progmodes/compile.el (compilation--flush-directory-cache)
13638 (compilation--flush-parse, compile-internal): Mark unused parameters.
13639 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13640 (compilation-next-error-function): Remove unused variable `timestamp'.
13641
13642 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13643 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13644
13645 * progmodes/dcl-mode.el (dcl-end-of-command):
13646 Remove unused variable `start'.
13647 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13648 (dcl-option-value-basic, dcl-option-value-offset)
13649 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13650 Mark unused parameters.
13651 (dcl-save-local-variable): Remove unused variable `val'.
13652 (mode): Declare.
13653
13654 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13655 Mark unused parameters.
13656 (delphi-ignore-changes): Move before first use.
13657 (delphi-charset-token-at): Remove unused variable `start'.
13658 (delphi-else-start): Remove unused variable `if-count'.
13659 (delphi-comment-block-start, delphi-comment-block-end):
13660 Remove unused variable `kind'.
13661 (delphi-indent-line): Remove unused variable `new-point'.
13662
13663 * progmodes/ebrowse.el (ebrowse-files-list)
13664 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13665 Mark unused parameters. Don't quote `lambda'.
13666 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13667 Don't quote `lambda'.
13668 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13669 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13670 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13671 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13672 Use `ignore-errors'.
13673 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13674 (ebrowse-view/find-file-and-search-pattern)
13675 (ebrowse-view/find-member-declaration/definition):
13676 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13677 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13678 Rename parameter PREFIX-ARG to PREFIX.
13679 (ebrowse-tags-read-name): Remove unused variables `start' and
13680 `member-info'.
13681 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13682 to `tags-file'.
13683
13684 * progmodes/etags.el (local-find-tag-hook): Declare.
13685 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13686 Mark unused parameters.
13687
13688 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13689 (executable-interpret): Mark unused parameter.
13690
13691 * progmodes/flymake.el (flymake-process-sentinel)
13692 (flymake-after-change-function)
13693 (flymake-create-temp-with-folder-structure)
13694 (flymake-get-include-dirs-dot): Mark unused parameters.
13695 (flymake-safe-delete-directory): Remove unused variable `err'.
13696
13697 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13698 (speedbar-timer-fn, speedbar-line-text)
13699 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13700 (speedbar-center-buffer-smartly): Declare functions.
13701 (gdb-find-watch-expression): Remove unused variable `array'.
13702 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13703 (gdb-starting): Mark unused parameters.
13704 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13705 (gdb-table-string): Remove unused variable `res'.
13706 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13707 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13708 (gdb-display-buffer): Remove unused variable `cur-size'.
13709
13710 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13711 allow lexical-binding compilation.
13712 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13713 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13714 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13715 Mark unused parameters.
13716 (gud-gdb-marker-filter): Remove unused variable `match'.
13717 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13718 lambda expressions and funcall them, instead of using `fset'.
13719
13720 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13721 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13722
13723 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13724 variable `header-beg'; use `let'.
13725
13726 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13727 `restart', `last-sexp' and `at-do'.
13728
13729 * progmodes/js.el (js--debug): Mark unused parameter.
13730 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13731 (js--splice-into-items): Remove unused variable `item'.
13732 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13733
13734 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13735 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13736 (makefile-complete): Remove unused variable `try'.
13737 (makefile-fill-paragraph, makefile-match-function-end):
13738 Mark unused parameters.
13739
13740 * progmodes/octave-inf.el (inferior-octave-complete):
13741 Remove unused variable `proc'.
13742 (inferior-octave-output-digest): Mark unused parameter.
13743
13744 * progmodes/perl-mode.el (perl-calculate-indent):
13745 Remove unused variable `err'.
13746
13747 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13748 (prolog-indent-line): Mark unused parameters.
13749 (prolog-indent-line): Remove unused variable `beg'.
13750
13751 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13752 (reporter-dont-compact-list): Declare.
13753
13754 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13755 Remove unused variable `char'.
13756 (sh-debug): Mark unused parameter.
13757 (sh-get-indent-info): Remove unused variable `start'.
13758 (sh-calculate-indent): Remove unused variable `var'.
13759
13760 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13761 (simula-electric-keyword): Remove unused variable `null'.
13762 (simula-search-backward, simula-search-forward): Remove unused
13763 variables `begin' and `end'.
13764
13765 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13766 Remove unused variable `pos'.
13767 (vera-electric-tab, vera-comment-uncomment-region):
13768 Mark unused parameters.
13769 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13770
7ede3b65
CY
137712011-04-22 Chong Yidong <cyd@stupidchicken.com>
13772
13773 * emacs-lisp/package.el (package--builtins, package-alist)
13774 (package-load-descriptor, package-built-in-p, package-activate)
13775 (define-package, package-installed-p)
13776 (package-compute-transaction, package-buffer-info)
13777 (package--push): Doc fix. Distinguish more clearly between
13778 version strings and version lists.
13779
121656e9
JB
137802011-04-21 Juanma Barranquero <lekktu@gmail.com>
13781
13782 Lexical-binding cleanup.
13783
13784 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13785 (5x5-make-mutate-best):
13786 * play/fortune.el (fortune-in-buffer):
13787 * play/gomoku.el (gomoku-init-display):
13788 * play/solitaire.el (solitaire, solitaire-do-check):
13789 * play/tetris.el (tetris-default-update-speed-function):
13790 Mark unused parameters.
13791
13792 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13793 (bubbles--shift): Remove unused variable `char-org'.
13794 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13795 (bubbles--show-images): Remove unused variable `char'.
13796
13797 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13798 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13799 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13800 (decipher-analyze-buffer): Use ?\s.
13801 (decipher-make-checkpoint): Remove unused variable `mapping'.
13802
13803 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13804
13805 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13806 Remove unused variable `result'; use `let'.
13807
13808 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13809 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13810 (gametree-children-shown-p, gametree-compute-reduced-score):
13811 Use `ignore-errors'.
13812
13813 * play/handwrite.el (ps-lpr-switches): Declare.
13814 (handwrite): Remove unused variables `pmin' and `lastp'.
13815
13816 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13817
13818 * play/landmark.el (landmark-init-display)
13819 (landmark-update-naught-weights): Mark unused parameters.
13820 (landmark-y): Remove unused variable `noise'. Simplify.
13821 (landmark-human-plays): Remove unused variable `score'.
13822
13823 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13824 (mpuz-try-proposal): Remove unused variable `game'.
13825
13826 * play/zone.el (life-patterns): Declare.
13827
80f499c7
JB
138282011-04-20 Juanma Barranquero <lekktu@gmail.com>
13829
13830 * vc/vc.el (ediff-vc-internal): Declare function.
13831
024ff170
SM
138322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13833
c0a193ea
SM
13834 * shell.el: Use lexical-binding and std completion UI.
13835 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13836 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13837 comint-preoutput-filter-functions rather than on
13838 comint-output-filter-functions.
13839 (shell-command-completion, shell--command-completion-data)
13840 (shell-filename-completion, shell-environment-variable-completion)
13841 (shell-c-a-p-replace-by-expanded-directory): New functions.
13842 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13843 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13844 (shell-dynamic-complete-environment-variable): Use them.
13845 (shell-dynamic-complete-as-environment-variable)
13846 (shell-dynamic-complete-as-command): Remove.
13847 (shell-match-partial-variable): Match past point.
13848 * comint.el: Clean up use of completion-at-point-functions.
13849 (comint-completion-at-point): New function.
13850 (comint-mode): Use it completion-at-point-functions.
13851 (comint-dynamic-complete): Make it obsolete.
13852 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13853 (comint-c-a-p-replace-by-expanded-history): New function.
13854 (comint-dynamic-complete-functions)
13855 (comint-replace-by-expanded-history): Use it.
13856 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13857 termination strings. Try harder to avoid second try-completion.
13858 (completion-in-region-mode-map): Disable bindings that don't work yet.
13859
2dbaa080
SM
13860 * comint.el: Use lexical-binding. Require CL.
13861 (comint-dynamic-complete-functions): Use comint-filename-completion.
13862 (comint-completion-addsuffix): Tweak custom type.
13863 (comint-filename-completion, comint--common-suffix)
13864 (comint--common-quoted-suffix, comint--table-subvert)
13865 (comint--complete-file-name-data): New functions.
13866 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13867 (comint-dynamic-list-filename-completions): Use them.
13868 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13869
2dbaa080
SM
13870 * minibuffer.el (completion-in-region-mode):
13871 Keep completion-in-region-mode--predicate global.
13872 (completion-in-region--postch):
13873 Assume completion-in-region-mode--predicate is not null.
13874
c79a6f38
SM
13875 * progmodes/flymake.el (flymake-start-syntax-check-process):
13876 Obey `dir'. Simplify.
13877
024ff170
SM
13878 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13879 we're in VC after all.
13880
1c6c854e
CS
138812011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13882
13883 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13884 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13885 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13886
bed7f140
SM
138872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13888
332e62ab
SM
13889 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13890 add sanity check.
13891
bed7f140
SM
13892 * obsolete/erc-hecomplete.el: Make obsolete.
13893 * obsolete/: Standardize obsolescence info in the header.
13894
f195c582
GM
138952011-04-20 Glenn Morris <rgm@gnu.org>
13896
13897 * calendar/solar.el (solar-horizontal-coordinates):
13898 Use the longitude argument rather than `calendar-longitude'.
13899 (solar-date-next-longitude): Remove unused locals.
13900
cb79b8c0
VJL
139012011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13902
13903 * whitespace.el: New version 13.2.1.
13904
139052011-04-20 felix <EmacsWiki> (tiny change)
13906
d8e4b68b 13907 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13908 switching between major modes on a file.
13909
602ea69d
SM
139102011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13913 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13914 multi-line comments as well.
13915
06b60517
JB
139162011-04-19 Juanma Barranquero <lekktu@gmail.com>
13917
13918 Lexical-binding cleanup.
13919
13920 * arc-mode.el (archive-mode-revert):
13921 * cmuscheme.el (scheme-interactively-start-process):
13922 * custom.el (custom-initialize-delay):
13923 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13924 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13925 * emacs-lock.el (emacs-lock-clear-sentinel):
13926 * ezimage.el (defezimage):
13927 * follow.el (follow-avoid-tail-recenter):
13928 * fringe.el (set-fringe-mode-1):
13929 * generic-x.el (bat-generic-mode-compile):
13930 * help-mode.el (help-info-variable, help-do-xref)
13931 (help-mode-revert-buffer):
13932 * help.el (view-emacs-todo):
13933 * iswitchb.el (iswitchb-completion-help):
13934 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13935 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13936 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13937 * locate.el (locate-update):
13938 * longlines.el (longlines-encode-region)
13939 (longlines-after-change-function):
13940 * outline.el (outline-isearch-open-invisible):
13941 * ps-def.el (declare-function, charset-dimension, char-width)
13942 (encode-char):
13943 * ps-mule.el (ps-mule-plot-string):
13944 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13945 (recentf-edit-list-select, recentf-edit-list-validate)
13946 (recentf-open-files-action):
13947 * rect.el (delete-whitespace-rectangle-line)
13948 (rectangle-number-line-callback):
13949 * register.el (window-configuration-to-register)
13950 (frame-configuration-to-register):
13951 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13952 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13953 (xselect-convert-to-targets, xselect-convert-to-delete)
13954 (xselect-convert-to-filename, xselect-convert-to-charpos)
13955 (xselect-convert-to-lineno, xselect-convert-to-colno)
13956 (xselect-convert-to-os, xselect-convert-to-host)
13957 (xselect-convert-to-user, xselect-convert-to-class)
13958 (xselect-convert-to-name, xselect-convert-to-integer)
13959 (xselect-convert-to-atom, xselect-convert-to-identity):
13960 * subr.el (declare, ignore, process-kill-without-query)
13961 (text-clone-maintain):
13962 * terminal.el (te-get-char, te-tic-sentinel):
13963 * tool-bar.el (tool-bar-make-keymap):
13964 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13965 * type-break.el (type-break-mode, type-break-noninteractive-query):
13966 * view.el (View-back-to-mark):
13967 * wid-browse.el (widget-browse-action, widget-browse-widget)
13968 (widget-browse-widgets, widget-browse-sexp):
13969 * widget.el (define-widget-keywords):
13970 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13971 Mark unused parameters.
13972
13973 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13974 (align-areas): Remove unused variable `look'.
13975 (align-region): Remove unused variables `real-end' and `pos-list'.
13976
13977 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13978
13979 * bindings.el (mode-line-modified, mode-line-remote):
13980 Mark unused parameters.
13981 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13982
13983 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13984 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13985
13986 * comint.el (comint-history-isearch-pop-state)
13987 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13988 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13989 (comint-substitute-in-file-name): Doc fix.
13990
13991 * completion.el (cmpl-statistics-block): Mark unused parameter.
13992 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13993 (save-completions-to-file, load-completions-from-file):
13994 Remove unused local variable `e'.
13995
13996 * composite.el (compose-chars): Remove unused variable `len'.
13997 (lgstring-insert-glyph): Remove unused variable `g'.
13998 (compose-glyph-string): Remove unused variables `ascent',
13999 `descent', `lbearing' and `rbearing'.
14000 (compose-glyph-string-relative): Remove unused variables
14001 `lbearing', `rbearing' and `wadjust'.
14002 (compose-gstring-for-graphic): Remove unused variables `header',
14003 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14004 (compose-gstring-for-terminal): Remove unused variables `header'
14005 and `nchars'. Use `let', not `let*'.
14006
14007 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14008 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14009 (Custom-buffer-done, custom-buffer-create-internal)
14010 (custom-browse-visibility-action, custom-browse-group-tag-action)
14011 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14012 (widget-magic-mouse-down-action, custom-toggle-parent)
14013 (custom-add-parent-links, custom-toggle-hide-variable)
14014 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14015 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14016 (custom-face-menu-create, custom-variable-menu-create, get)
14017 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14018 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14019 (customize-apropos): Remove unused variable `tests'.
14020 (custom-group-value-create): Remove unused variable `hidden-p'.
14021 (sort-fold-case): Declare.
14022
14023 * cus-theme.el (custom-reset-standard-faces-list)
14024 (custom-reset-standard-variables-list): Declare.
14025 (customize-create-theme, custom-theme-revert, custom-theme-write)
14026 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14027 Mark unused parameters.
14028
14029 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14030
14031 * delim-col.el (delimit-columns-max): Move defvar before first use.
14032
14033 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14034 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14035
14036 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14037 (auto-insert): Declare.
14038 (desktop-restore-file-buffer): Rename desktop-* parameters;
14039 mark unused ones.
14040 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14041 (desktop-buffer): Rename desktop-* parameters.
14042
14043 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14044 (dframe-reposition-frame-xemacs, dframe-help-echo)
14045 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14046 Mark unused parameters.
14047
14048 * dired-aux.el (backup-extract-version-start, overwrite-query)
14049 (overwrite-backup-query, rename-regexp-query)
14050 (rename-non-directory-query): Declare.
14051 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14052 (dired-add-entry): Remove unused variable `orig-file-name'.
14053 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14054 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14055 `dired-copy-preserve-time' directly.
14056 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14057 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14058
14059 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14060 (dired-virtual-revert, dired-make-relative-symlink):
14061 Mark unused parameters.
14062 (manual-program): Declare.
14063 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14064 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14065 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14066
14067 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14068
14069 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14070
14071 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14072 Declare.
14073
14074 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14075
14076 * electric.el (Electric-command-loop): Rename parameter
14077 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14078
14079 * expand.el (expand-in-literal): Remove unused variable `here'.
14080
14081 * facemenu.el (facemenu-add-new-color):
14082 Remove unused variable `docstring'.
14083
14084 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14085 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14086 (face-attr-construct): Mark unused parameter. Doc fix.
14087 (read-color): Remove unused variable `hex-string'.
14088
14089 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14090 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14091 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14092 (display-buffer-other-frame): Remove unused variable `old-window'.
14093 (kill-buffer-hook): Declare.
14094 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14095 Mark unused parameters.
14096 (after-find-file): Pass 1 to `auto-save-mode', not t.
14097
14098 * files-x.el (auto-insert): Declare.
14099 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14100
14101 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14102 variable `buf'. Mark unused parameter.
06b60517
JB
14103 (find-lisp-insert-directory): Mark unused parameter.
14104
14105 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14106 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14107 (format-common-tail): Remove, unused.
14108 (format-deannotate-region): Remove unused variable `loc'.
14109 (format-annotate-region): Remove unused variable `p'.
14110 (format-annotate-single-property-change): Remove unused variables
14111 `default' and `tail'.
14112
14113 * forms.el (read-file-filter): Declare.
14114 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14115
14116 * frame.el (frame-creation-function-alist): Mark unused parameter.
14117 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14118
14119 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14120 Remove unused parameters.
14121 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14122 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14123
14124 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14125 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14126 (hfy-prepare-tag-map): Mark unused parameters.
14127 (htmlfontify-buffer): Use `called-interactively-p'.
14128
14129 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14130 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14131 (ibuffer-do-occur): Mark unused parameters.
14132 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14133 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14134
14135 * ibuffer.el: Don't quote `lambda'.
14136 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14137 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14138 Mark unused parameters.
14139
14140 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14141 (ido-completing-read): Mark unused parameters.
14142 (ido-copy-current-word): Mark unused parameters;
14143 remove unused variable `name'.
14144 (ido-sort-merged-list): Remove unused parameter `dirs'.
14145
14146 * ielm.el (ielm-input-sender): Mark unused parameter.
14147 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14148 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14149 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14150 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14151 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14152
14153 * image-dired.el (image-dired-display-thumbs): Remove unused
14154 variables `curr-file' and `count'.
14155 (image-dired-remove-tag): Remove unused variable `start'.
14156 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14157 variable `curr-file'
14158 (image-dired-rotate-original): Remove unused variable `temp-file'.
14159 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14160 Remove unused variable `file'.
14161 (image-dired-gallery-generate): Remove unused variable `curr'.
14162 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14163
14164 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14165
14166 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14167
14168 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14169
14170 * isearch.el (minibuffer-history-symbol): Declare.
14171 (isearch-edit-string): Remove unused variable `err'.
14172 (isearch-message-prefix, isearch-message-suffix):
14173 Mark unused parameters.
14174
14175 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14176
14177 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14178
14179 * makesum.el (double-column): Remove unused variable `cnt'.
14180
14181 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14182 (ido-ignore-item-temp-list): Declare.
14183
14184 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14185 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14186 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14187 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14188 `mouse-col-delta'.
14189
14190 * mouse-sel.el (mouse-extend-internal):
14191 Remove unused variable `orig-window-frame'.
14192
14193 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14194 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14195 Move declarations before first use.
14196 (pcomplete-opt): Mark unused parameters; doc fix.
14197
14198 * proced.el (proced-revert): Mark unused parameter.
14199 (proced-send-signal): Remove unused variable `err'.
14200
14201 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14202 Rename parameter PREFIX-ARG to ARG.
14203 (ps-basic-plot-string, ps-basic-plot-whitespace):
14204 Mark unused parameters.
14205
14206 * replace.el (replace-count): Define.
14207 (occur-revert-function): Mark unused parameters.
14208 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14209 (isearch-case-fold-search, isearch-string): Declare.
14210 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14211 bind `case-fold-search'. Remove unused variables `beg' and `end',
14212 and simplify.
14213 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14214 COUNT and bind `replace-count'.
14215 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14216 to COUNT.
14217
14218 * savehist.el (print-readably, print-string-length): Declare.
14219
14220 * shadowfile.el (shadow-expand-cluster-in-file-name):
14221 Remove unused variable `cluster'.
14222 (shadow-copy-file): Remove unused variable `i'.
14223 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14224 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14225 (shadow-define-literal-group, shadow-define-regexp-group)
14226 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14227
14228 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14229 (shell): Use `called-interactively-p'.
14230 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14231
14232 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14233 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14234 (delete-backward-char): Remove unused variable `ocol'.
14235 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14236 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14237 (event-apply-hyper-modifier, event-apply-shift-modifier)
14238 (event-apply-control-modifier, event-apply-meta-modifier):
14239 Mark unused parameters.
14240 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14241 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14242
14243 * speedbar.el (speedbar-ignored-directory-expressions)
14244 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14245 (speedbar-find-file, speedbar-dir-follow)
14246 (speedbar-directory-buttons-follow, speedbar-tag-find)
14247 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14248 (speedbar-buffers-line-directory, speedbar-buffer-click):
14249 Mark unused parameters.
14250 (speedbar-tag-file): Remove unused variable `mode'.
14251 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14252
14253 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14254
14255 * talk.el (talk): Remove unused variable `display'.
14256
14257 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14258 (tar-write-region-annotate): Mark unused parameter.
14259
14260 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14261 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14262 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14263 warning by another.
14264
14265 * time-stamp.el (time-stamp-string-preprocess):
14266 Remove unused variable `require-padding'.
14267
14268 * tree-widget.el (widget-glyph-enable): Declare.
14269 (tree-widget-action): Mark unused parameter.
14270
14271 * w32-fns.el (x-get-selection): Mark unused parameter.
14272 (autoload-make-program, generated-autoload-file): Declare.
14273
14274 * wdired.el (wdired-revert): Mark unused parameters.
14275 (wdired-xcase-word): Remove unused variable `err'.
14276
14277 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14278 (whitespace-help-scroll): Remove unused variable `data-help'.
14279
14280 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14281 (widget-image-insert, widget-after-change, default)
14282 (widget-default-format-handler, widget-default-notify)
14283 (widget-default-prompt-value, widget-info-link-action)
14284 (widget-url-link-action, widget-function-link-action)
14285 (widget-variable-link-action, widget-file-link-action)
14286 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14287 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14288 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14289 (widget-insert-button-action, widget-delete-button-action, visibility)
14290 (widget-documentation-link-action, widget-documentation-string-action)
14291 (widget-const-prompt-value, widget-regexp-match, symbol)
14292 (widget-coding-system-prompt-value)
14293 (widget-key-sequence-value-to-external, sexp)
14294 (widget-sexp-value-to-internal, character, vector, cons)
14295 (widget-choice-prompt-value, widget-boolean-prompt-value)
14296 (widget-color--choose-action): Mark unused parameters.
14297 (widget-item-match-inline, widget-choice-match-inline)
14298 (widget-checklist-match, widget-checklist-match-inline)
14299 (widget-group-match): Rename parameter VALUES to VALS.
14300 (widget-field-value-set): Remove unused variable `size'.
14301 (widget-color-action): Remove unused variables `value' and `start'.
14302
14303 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14304 variable `dir'. Doc fix.
06b60517
JB
14305 (windmove-find-other-window): Don't pass it.
14306
14307 * window.el (count-windows): Mark unused parameter.
14308 (bw-adjust-window): Remove unused variable `err'.
14309
14310 * woman.el (woman-file-name): Remove unused variable `default'.
14311 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14312 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14313 (global-font-lock-mode): Declare.
14314 (woman-decode-region): Mark unused parameter.
14315 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14316
14317 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14318 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14319 (x-dnd-handle-moz-url): Remove unused variable `title'.
14320 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14321
14322 * xml.el (xml-parse-tag, xml-parse-attlist):
14323 Remove unused variable `pos'.
14324
bc4f7f3d
GM
143252011-04-19 Glenn Morris <rgm@gnu.org>
14326
14327 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14328 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14329 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14330 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14331 * calendar/cal-html.el (cal-html-insert-minical):
14332 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14333 (calendar-mark-date-pattern):
14334 Prefix "unused" locals.
14335
14336 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14337 optional argument `style'.
14338
14339 * calendar/appt.el (appt-make-list):
14340 * calendar/cal-china.el (calendar-chinese-date-string):
14341 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14342 (diary-hebrew-yahrzeit):
14343 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14344 * calendar/calendar.el (calendar-generate-window):
14345 * calendar/time-date.el (time-to-days):
14346 Remove unused local variables.
14347
16a43933
CY
143482011-04-18 Chong Yidong <cyd@stupidchicken.com>
14349
14350 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14351 glyphless-char-display table.
14352 (tabulated-list-glyphless-char-display): New var.
14353
7eed1860
SS
143542011-04-18 Sam Steingold <sds@gnu.org>
14355
14356 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14357 to acknowledgments.
14358
4d2d1ccd
GM
143592011-04-17 Glenn Morris <rgm@gnu.org>
14360
14361 * calendar/diary-lib.el (diary-sexp-entry):
14362 * calendar/holidays.el (holiday-sexp):
14363 Set debug-on-error rather than the removed stack-trace-on-error.
14364
239da61d
GM
143652011-04-16 Glenn Morris <rgm@gnu.org>
14366
14367 * progmodes/f90.el: Use lexical-binding.
14368 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14369
8b05752a
SM
143702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14371
daca8ba5
SM
14372 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14373 (mail-mode): Setup mailalias completion here instead.
14374 * mail/mailalias.el: Use lexical-binding.
14375 (pattern, mailalias-done): Declare dynamic.
14376 (mail-completion-at-point-function): New function, from mail-complete.
14377 (mail-complete): Use it.
14378 (mail-completion-expand): New function.
14379 (mail-get-names): Use it.
14380 (mail-directory, mail-directory-process, mail-directory-stream):
14381 Don't use `pattern' for lexically bound arg.
14382
6f542485
SM
14383 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14384
037e7c3f
SM
14385 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14386 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14387 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14388
8b05752a
SM
14389 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14390 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14391 (byte-interactive-p): Define them again, for use when inlining
14392 old code.
14393
49093f60
JB
143942011-04-15 Juanma Barranquero <lekktu@gmail.com>
14395
14396 * loadup.el: Use `string-to-number', not `string-to-int'.
14397
b5b8e7de
SM
143982011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14401 gud-gdb-complete-command.
14402 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14403 (gud-gdb-completion-at-point): New function.
14404 (gud-gdb-completions): Remove.
14405
f42efeb5
MA
144062011-04-14 Michael Albinus <michael.albinus@gmx.de>
14407
49093f60
JB
14408 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14409 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14410 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14411 whether `executable-find' is bound.
f42efeb5
MA
14412
14413 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14414
e240cc21
SM
144152011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * minibuffer.el (completion-in-region-mode-predicate)
14418 (completion-in-region-mode--predicate): New vars.
14419 (completion-in-region, completion-in-region--postch)
14420 (completion-in-region-mode): Use them.
14421 (completion--capf-wrapper): Also return the hook function.
14422 (completion-at-point, completion-help-at-point):
14423 Adjust and provide a predicate.
c2bd2ab0
SM
14424
14425 Preserve arg names for advice of subr and lexical functions (bug#8457).
14426 * help-fns.el (help-function-arglist): Consolidate the subr and
14427 new-byte-code cases. Add argument `preserve-names' to extract names
14428 from the docstring when needed.
14429 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14430 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14431 (ad-arglist): Use help-function-arglist's new arg.
14432 (ad-definition-type): Use cond.
14433
c183f693
JB
144342011-04-13 Juanma Barranquero <lekktu@gmail.com>
14435
06641a47
JB
14436 * autorevert.el (auto-revert-handler):
14437 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14438 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14439 Don't quote lambda.
14440
c183f693
JB
14441 * image-mode.el (image-transform-set-scale):
14442 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14443
1e3b6001
G
144442011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14445
14446 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14447 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14448 Upgrades via gnutls-cli are too slow to be done opportunistically.
14449
2d6af8dd
JB
144502011-04-12 Juanma Barranquero <lekktu@gmail.com>
14451
14452 * dframe.el (dframe-current-frame): Remove spurious quote.
14453
c0749a51
GM
144542011-04-12 Glenn Morris <rgm@gnu.org>
14455
088d0d61
GM
14456 * calendar/cal-tex.el (cal-tex-end-document):
14457 Try to automatically use latin1 input if needed.
14458
c0749a51
GM
14459 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14460 Don't try to cons a mark onto an empty element.
14461
5c90fde0
LL
144622011-04-11 Leo Liu <sdl.web@gmail.com>
14463
14464 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14465 buffers.
14466 (ido-kill-buffer-at-head): Support killing virtual buffers.
14467
369e974d
CY
144682011-04-10 Chong Yidong <cyd@stupidchicken.com>
14469
14470 * minibuffer.el (completion-show-inline-help): New var.
14471 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14472 (minibuffer-force-complete, minibuffer-complete-word):
14473 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14474
14475 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14476 to avoid interference from inline help (Bug#5849).
14477
37f1c930
LL
144782011-04-10 Leo Liu <sdl.web@gmail.com>
14479
099c39a4
JB
14480 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14481 Fix typo.
37f1c930 14482
a32d4040
CY
144832011-04-09 Chong Yidong <cyd@stupidchicken.com>
14484
14485 * image-mode.el (image-toggle-display-image): Signal an error if
14486 not in Image mode.
14487 (image-transform-mode, image-transform-resize)
14488 (image-transform-set-rotation): Doc fix.
daca8ba5 14489 (image-transform-set-resize): Delete.
a32d4040
CY
14490 (image-transform-set-scale, image-transform-fit-to-height)
14491 (image-transform-fit-to-width): Handle image-toggle-display-image
14492 and image-transform-resize directly.
14493
099c39a4 144942011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14495
14496 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14497 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14498 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14499 (doc-view-mode-map): Add bindings for the new functions.
14500
099c39a4 145012011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14502
4d61f28d 14503 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14504 Fix typo in docstring.
14505
3726838a
EZ
145062011-04-08 Eli Zaretskii <eliz@gnu.org>
14507
04f33f1e
EZ
14508 * files.el (file-size-human-readable): Produce one digit after
14509 decimal, like "ls -lh" does.
14510
14511 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14512 the file size representation.
14513
3726838a
EZ
14514 * simple.el (list-processes): If async subprocesses are not
14515 available, error out with a clear error message.
14516
cbb59342
CY
145172011-04-08 Chong Yidong <cyd@stupidchicken.com>
14518
14519 * help.el (help-form-show): New function, to be called from C.
14520 Put help-form output in a buffer named differently than *Help*.
14521
e3971c44
EZ
145222011-04-08 Eli Zaretskii <eliz@gnu.org>
14523
14524 * files.el (file-size-human-readable): New function.
14525
14526 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14527 computing the representation inline. Don't require `cl'.
14528
12544bbe
GM
145292011-04-08 Glenn Morris <rgm@gnu.org>
14530
a1de6c6a
GM
14531 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14532
3c4671f4
GM
14533 * net/browse-url.el (browse-url-firefox):
14534 Test system-type, not system-configuration.
14535
b605679c
GM
14536 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14537 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14538 Use log-edit-empty-buffer-p. (Bug#7598)
14539
56442f0c
GM
14540 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14541 (rlogin-mode-map): Initialize in the defvar.
14542 (rlogin): Use ignore-errors.
14543
12544bbe
GM
14544 * replace.el (occur-mode-map): Some fixes for menu items.
14545
eb237b0f
AH
145462011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14547
14548 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14549
7d668f2c
CY
145502011-04-06 Chong Yidong <cyd@stupidchicken.com>
14551
e67a13ab
CY
14552 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14553 issuing unused warnings.
14554
14555 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14556 macro directly.
14557
7d668f2c
CY
14558 * simple.el: Lisp reimplement of list-processes. Based on an
14559 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14560 (process-menu-mode): New major mode.
14561 (list-processes--refresh, list-processes):
14562 (process-menu-visit-buffer): New functions.
14563
14564 * files.el (save-buffers-kill-emacs): Don't assume any return
14565 value of list-processes, which is undocumented anyway.
14566
a83ec3c9
CY
145672011-04-06 Chong Yidong <cyd@stupidchicken.com>
14568
14569 * emacs-lisp/tabulated-list.el: New file.
14570
e91a96fe
CY
14571 * emacs-lisp/package.el: Use Tabulated List mode.
14572 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14573 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14574 table format using Tabulated List mode variables.
14575 (package--push): New macro, replacing package-list-maybe-add.
14576 (package-menu--generate): Use package--push. Renamed from
14577 package--generate-package-list.
14578 (package-menu-refresh, list-packages): Use it.
daca8ba5 14579 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14580 Return insertion data instead of inserting it directly.
099c39a4
JB
14581 (package-menu-describe-package, package-menu-execute):
14582 Use tabulated-list-get-id.
e91a96fe
CY
14583 (package-menu-mark-delete, package-menu-mark-install)
14584 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14585 (package-menu-mark-obsolete-for-deletion):
14586 Use tabulated-list-put-tag.
e91a96fe
CY
14587 (package--list-packages, package-menu-revert)
14588 (package-menu-get-package, package-menu-get-version)
14589 (package-menu-sort-by-column): Functions deleted.
14590 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14591 (package-menu--status-predicate, package-menu--version-predicate)
14592 (package-menu--name-predicate)
14593 (package-menu--description-predicate): Handle arguments in the
14594 Tabulated List format.
14595 (package-list-packages-no-fetch): Call list-packages.
14596
3e214b50
JB
145972011-04-06 Juanma Barranquero <lekktu@gmail.com>
14598
14599 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14600 (after-find-file): Don't bind it.
3e214b50
JB
14601 (revert-buffer-in-progress-p): New variable.
14602 (revert-buffer): Bind it.
14603 Pass nil for `after-find-file-from-revert-buffer'.
14604
14605 * saveplace.el (save-place-find-file-hook): Use new variable
14606 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14607
3f0f1700
GM
146082011-04-06 Glenn Morris <rgm@gnu.org>
14609
c0274801
GM
14610 * Makefile.in (AUTOGEN_VCS): New variable.
14611 (autoloads): Use $AUTOGEN_VCS.
14612
3f0f1700
GM
14613 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14614 * calendar/calendar.el (calendar-mode-map):
14615 Check for toolkit scroll bars. (Bug#8305)
14616
41ea9e48
CY
146172011-04-05 Chong Yidong <cyd@stupidchicken.com>
14618
14619 * minibuffer.el (completion-in-region--postch)
14620 (completion-in-region-mode): Remove unnecessary messages.
14621
6194c800
JB
146222011-04-05 Juanma Barranquero <lekktu@gmail.com>
14623
33256f14
JB
14624 * font-lock.el (font-lock-refresh-defaults):
14625 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14626 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14627
6194c800
JB
14628 * info.el (Info-directory-list, Info-read-node-name-2)
14629 (Info-split-parameter-string): Doc fixes.
14630 (Info-virtual-nodes): Reflow docstring.
14631 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14632 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14633 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14634 Fix typos in docstrings.
14635 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14636 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14637 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14638 (Info-restore-desktop-buffer): Mark unused parameters.
14639 (Info-directory-find-file, Info-directory-find-node)
14640 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14641 (Info-virtual-index-find-node, Info-apropos-find-file)
14642 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14643 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14644 (Info-virtual-index): Remove unused local variable `nodename'.
14645
b87a8200 146462011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14647
b87a8200
DD
14648 * net/rcirc.el: Update my e-mail address.
14649 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14650
3b2ff876
CY
146512011-04-05 Chong Yidong <cyd@stupidchicken.com>
14652
14653 * startup.el (command-line): Save the cursor's theme-face
14654 directly, instead of using face-override-spec.
14655
14656 * custom.el (load-theme): Minor optimization in assigning faces.
14657
8d17e7ca
JB
146582011-04-04 Juanma Barranquero <lekktu@gmail.com>
14659
14660 * help-fns.el (describe-variable): Complete all variables having
14661 documentation, including keywords.
14662 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14663
2fbc1934
JB
146642011-04-04 Juanma Barranquero <lekktu@gmail.com>
14665
14666 Convert to lexical-binding.
14667
14668 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14669 (bs--get-marked-string, bs--get-modified-string)
14670 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14671 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14672 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14673
14674 * ehelp.el (electric-help-execute-extended)
14675 (electric-help-ctrl-x-prefix):
14676 * hexl.el (hexl-revert-buffer-function):
14677 * linum.el (linum-after-change, linum-after-scroll):
14678 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14679
14680 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14681
74f50695
DU
146822011-04-04 Daiki Ueno <ueno@unixuser.org>
14683
14684 * epa-dired.el:
14685 * epa-mail.el:
14686 * epa-hook.el:
14687 * epa-file.el:
14688 * epa.el:
14689 * epg.el: Use lexical binding.
14690
c11325f7
CY
146912011-04-03 Chong Yidong <cyd@stupidchicken.com>
14692
0d9e9a12
CY
14693 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14694
c11325f7 14695 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14696 dictionary case for flyspell-mark-duplications-exceptions.
14697 Use regexp matching for languages.
c11325f7
CY
14698 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14699 default dictionary (Bug#7926).
14700
da91b5f2
CY
147012011-04-02 Chong Yidong <cyd@stupidchicken.com>
14702
099c39a4
JB
14703 * emacs-lisp/package.el (package--with-work-buffer):
14704 Recognize https URLs.
da91b5f2 14705
099c39a4
JB
14706 * net/network-stream.el: Move from gnus/proto-stream.el.
14707 Change prefix to network-stream throughout.
da91b5f2
CY
14708 (open-protocol-stream): Merge into open-network-stream, leaving
14709 open-protocol-stream as an alias. Handle nil BUFFER args.
14710
14711 * subr.el (open-network-stream): Move to net/network-stream.el.
14712
afa8e9f6
GM
147132011-04-02 Glenn Morris <rgm@gnu.org>
14714
1d2e369d
GM
14715 * find-dired.el (find-exec-terminator): New option.
14716 (find-ls-option): Test for -ls support.
14717 (find-ls-subdir-switches): Test for -b in find-ls-option.
14718 (find-dired, find-grep-dired): Doc fixes.
14719 (find-dired): Use find-exec-terminator.
14720
8abb7da8 14721 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14722 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14723 (find-name-arg): Remove purecopy.
8abb7da8 14724
f3ca7378
GM
14725 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14726 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14727 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14728 accordingly. Don't add the null-device if not needed.
14729
afa8e9f6
GM
14730 * files.el (save-some-buffers): Doc fix.
14731
35eae264
EZ
147322011-04-02 Eli Zaretskii <eliz@gnu.org>
14733
14734 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14735
26b51db5
JB
147362011-04-01 Juanma Barranquero <lekktu@gmail.com>
14737
14738 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14739 Use `dolist' rather than `mapcar'.
14740
7200d79c
SM
147412011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14742
03408648 14743 Add lexical binding.
7200d79c 14744
03408648
SM
14745 * subr.el (apply-partially): Use new closures rather than CL.
14746 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14747 (dolist, dotimes): Use slightly different expansion for lexical code.
14748 (functionp): Move to C.
14749 (letrec): New macro.
14750 (with-wrapper-hook): Use it and apply-partially instead of CL.
14751 (eval-after-load): Preserve lexical-binding.
14752 (save-window-excursion, with-output-to-temp-buffer): Turn them
14753 into macros.
7200d79c 14754
03408648
SM
14755 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14756
14757 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14758 than the arglist.
14759 (help-add-fundoc-usage): Don't add `Not documented'.
14760 (help-function-arglist): Handle closures, subroutines, and new
14761 byte-code-functions.
14762 (help-make-usage): Remove leading underscores.
14763 (describe-function-1): Handle closures.
14764 (describe-variable): Use special-variable-p for completion.
14765
14766 * files.el (lexical-binding): Declare safe.
f488fb65 14767
03408648
SM
14768 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14769 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14770 (pcase): Add `let' pattern.
14771 Change memoization so it actually works.
14772 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14773 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14774 <let>: New case.
f488fb65 14775
03408648
SM
14776 * emacs-lisp/macroexp.el: Use lexical binding.
14777 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14778 Don't convert ' to #' without checking that it's indeed quoting
14779 a lambda.
14780
14781 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14782 Use eval-sexp-add-defvars.
03408648
SM
14783 (eval-sexp-add-defvars): New fun.
14784
14785 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14786
14787 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14788 Don't autoload.
14789 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14790 than the internal `byte-compile-lambda'.
14791 (defmethod): Don't hide code under quotes.
14792 (eieio-defmethod): New `code' argument.
14793
14794 * emacs-lisp/eieio-comp.el: Remove.
14795
14796 * emacs-lisp/edebug.el (edebug-eval-defun)
14797 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14798 (edebug-toggle): Avoid `eval'.
14799
14800 * emacs-lisp/disass.el (disassemble-internal): Handle new
14801 `closure' objects.
14802 (disassemble-1): Handle new byte codes.
14803
14804 * emacs-lisp/cl.el (pushnew): Silence warning.
14805
14806 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14807 (cl-byte-compile-throw): Remove.
14808 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14809
14810 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14811 closures.
14812
14813 * emacs-lisp/cconv.el: New file.
14814
14815 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14816 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14817 (byte-compile-initial-macro-environment):
14818 Handle declare-function here.
14819 (byte-compile--lexical-environment): New var.
14820 (byte-stack-ref, byte-stack-set, byte-discardN)
14821 (byte-discardN-preserve-tos): New lap codes.
14822 (byte-interactive-p): Don't use any more.
14823 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14824 New macros.
14825 (byte-compile-lapcode): Use them and handle new lap codes.
14826 (byte-compile-obsolete): Remove.
14827 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14828 (byte-compile-arglist-warn): Check late def of inlinable funs.
14829 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14830 since they should have been expanded by now.
14831 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14832 (byte-compile-from-buffer): Remove unused second arg.
14833 (byte-compile-preprocess): New function.
14834 (byte-compile-toplevel-file-form): New function to distinguish
14835 file-form calls from outside from file-form calls from hunk-handlers.
14836 (byte-compile-file-form): Simplify.
14837 (byte-compile-file-form-defsubst): Remove.
14838 (byte-compile-file-form-defmumble): Simplify now that
14839 byte-compile-lambda always returns a byte-code-function.
14840 (byte-compile): Preprocess.
14841 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14842 Remove, not used any more.
14843 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14844 (byte-compile-make-args-desc): New funs.
14845 (byte-compile-lambda): Handle lexical functions. Always return
14846 a byte-code-function.
14847 (byte-compile-reserved-constants): New var, to make up room for
14848 closed-over variables.
14849 (byte-compile-constants-vector): Obey it.
14850 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14851 (byte-compile-macroexpand-declare-function): New function.
14852 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14853 byte-code-functions.
14854 (byte-compile-form): Check obsolescence here.
14855 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14856 (byte-compile-variable-ref): Remove.
14857 (byte-compile-dynamic-variable-op): New fun.
14858 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14859 (byte-compile-variable-set): New funs.
14860 (byte-compile-discard): Add 2 args.
14861 (byte-compile-stack-ref, byte-compile-stack-set)
14862 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14863 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14864 macroexpand-all instead.
14865 (byte-compile-quote-form): Remove.
14866 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14867 (byte-compile-bind, byte-compile-unbind): New funs.
14868 (byte-compile-let): Handle let* and lexical binding.
14869 (byte-compile-let*): Remove.
14870 (byte-compile-catch, byte-compile-unwind-protect)
14871 (byte-compile-track-mouse, byte-compile-condition-case):
14872 Handle a new :fun-body form, used for lexical scoping.
14873 (byte-compile-save-window-excursion)
14874 (byte-compile-with-output-to-temp-buffer): Remove.
14875 (byte-compile-defun): Simplify.
14876 (byte-compile-stack-adjustment): New fun.
14877 (byte-compile-out): Use it.
14878 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14879
14880 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14881 handler any more.
14882
14883 * emacs-lisp/byte-opt.el: Use lexical binding.
14884 (byte-inline-lapcode): Remove (to bytecomp).
14885 (byte-compile-inline-expand): Pay attention to inlining to/from
14886 lexically bound code.
14887 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14888 any more.
14889 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14890 any more and don't call compiler-macros.
14891 (byte-compile-splice-in-already-compiled-code): Remove.
14892 (byte-code): Don't inline any more.
14893 (disassemble-offset): Receive `bytes' as argument rather than via
14894 dynamic scoping.
14895 (byte-compile-tag-number): Declare before first use.
14896 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14897 `return' even if make-spliceable.
14898 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14899 obsolete interactive-p.
14900 (byte-optimize-lapcode): Optimize new lap-codes.
14901 Don't trip up on new form of `byte-constant' lap code.
14902
14903 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14904
14905 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14906
14907 * custom.el (custom-initialize-default, custom-declare-variable):
14908 Use `defvar'.
14909
14910 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14911 New variables.
14912 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14913 (COMPILE_FIRST): Add macroexp and cconv.
14914 * makefile.w32-in: Mirror changes in Makefile.in.
14915
14916 * vc/cvs-status.el:
14917 * vc/diff-mode.el:
14918 * vc/log-edit.el:
14919 * vc/log-view.el:
14920 * vc/smerge-mode.el:
14921 * textmodes/bibtex-style.el:
14922 * textmodes/css.el:
14923 * startup.el:
14924 * uniquify.el:
da91b5f2
CY
14925 * minibuffer.el:
14926 * newcomment.el:
14927 * reveal.el:
14928 * server.el:
14929 * mpc.el:
14930 * emacs-lisp/smie.el:
14931 * doc-view.el:
14932 * dired.el:
03408648
SM
14933 * abbrev.el: Use lexical binding.
14934
0f0c1f27
EZ
149352011-04-01 Eli Zaretskii <eliz@gnu.org>
14936
14937 * info.el (info-display-manual): New function.
14938
c82b2579
SM
149392011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14942
221ddf68
TH
149432011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14944
14945 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14946 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14947
cba6e77e
GM
149482011-03-31 Glenn Morris <rgm@gnu.org>
14949
e040639f
GM
14950 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14951
cba6e77e
GM
14952 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14953
6d0f1c9e
CS
149542011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14955
14956 * progmodes/python.el (python-default-interpreter)
14957 (python-python-command-args, python-jython-command-args)
14958 (python-which-shell, python-which-args, python-which-bufname)
14959 (python-file-queue, python-comint-output-filter-function)
14960 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14961 variables and functions.
14962
3e2d70fd
SM
149632011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14964
14965 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14966 (completion-in-region-mode): New minor mode.
14967 (completion-in-region): Use it.
14968 (completion-in-region--data, completion-in-region-mode-map): New vars.
14969 (completion-in-region--postch): New function.
14970 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14971 New vars.
14972 (completion--capf-wrapper): New function.
14973 (completion-at-point): Use it to track well-behavedness of
14974 hook functions.
14975 (completion-help-at-point): New command.
14976
f3e4086c
JM
149772011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14978
14979 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14980 syntax class to search for whitespace on a single line
14981 (Message-ID: <4D938140.4030905@redhat.com>).
14982
eb7ffc14
LL
149832011-03-30 Leo Liu <sdl.web@gmail.com>
14984
14985 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14986 New commands.
14987 (edit-abbrevs-map): Bind them here.
14988 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14989
d806ab68
KM
149902011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14991
14992 * allout.el (allout-hide-by-annotation, allout-flag-region):
14993 Reduce possibility of overlay leakage by making them volatile.
14994
14995 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14996 hash is not shared between buffers. Mode initialization is
14997 responsible for giving it a useful starting value.
14998 (allout-item-span): Reduce possibility of overlay leakage by
14999 making them volatile.
15000 (allout-widgets-count-buttons-in-region): Add diagnostic function
15001 for tracking down button overlay leaks.
15002
ea622834
LL
150032011-03-29 Leo Liu <sdl.web@gmail.com>
15004
15005 * ido.el (ido-read-internal): Use the default history var
15006 minibuffer-history if no HISTORY is specified.
15007
b62f8267
G
150082011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15009
03408648
SM
15010 * net/imap.el (imap-shell-open, imap-process-connection-type):
15011 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15012 Kerberos, SSL, other subprocesses.
15013
947b6566
LL
150142011-03-28 Leo Liu <sdl.web@gmail.com>
15015
15016 * abbrev.el (abbrev-table-empty-p): New function.
15017 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15018 nonempty ones. (Bug#5937)
15019
5ffb62aa
JD
150202011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15021
15022 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15023
7a097943
LL
150242011-03-27 Leo Liu <sdl.web@gmail.com>
15025
15026 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15027 for foreground and background colors.
15028 (ansi-color-make-color-map): Adapt.
15029
c5b40130
LL
150302011-03-25 Leo Liu <sdl.web@gmail.com>
15031
1f48f7d2
LL
15032 * midnight.el (midnight-time-float): Remove. Note it calculates
15033 the microsecond component incorrectly and seconds-to-time does the
15034 same job.
625897ec 15035 Remove redundant (require 'timer).
1f48f7d2 15036
c5b40130
LL
15037 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15038 (ido-completions): Remove unused arguments. (Bug#8329)
15039
d86d2721
SM
150402011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15041
15042 * minibuffer.el (completion--flush-all-sorted-completions):
15043 Remove itself from hook.
15044 (completion-at-point): Let the functions perform the completion
15045 immediately and return nil or t.
15046 * comint.el (comint-dynamic-complete-functions): Now identical to
15047 completion-at-point-functions.
15048 (comint-dynamic-list-input-ring): Remove unused var `index'.
15049 (comint--match-partial-filename, comint--unquote&expand-filename):
15050 New funs, split from comint-match-partial-filename.
15051 (comint-dynamic-complete): Use completion-at-point.
15052 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15053
e8974c48
DA
150542011-03-24 Drew Adams <drew.adams@oracle.com>
15055
15056 * thingatpt.el: Support `defun'.
15057
def71b5e
LL
150582011-03-23 Leo Liu <sdl.web@gmail.com>
15059
cb5af48e
LL
15060 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15061
def71b5e
LL
15062 * help-mode.el (help-mode-finish): Tweak regexp.
15063
927c53e7
GM
150642011-03-23 Glenn Morris <rgm@gnu.org>
15065
18d05bed
GM
15066 * eshell/esh-opt.el (eshell-eval-using-options):
15067 Do not bind unused local variable `eshell-option-stub'.
15068
927c53e7
GM
15069 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15070
9d0da923
JB
150712011-03-22 Juanma Barranquero <lekktu@gmail.com>
15072
15073 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15074 keymap variable in `with-no-warnings' to avoid a warning when the
15075 keymap has been already `defconst'ed.
15076
4b978a67
LL
150772011-03-22 Leo Liu <sdl.web@gmail.com>
15078
15079 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15080 encode all chars in abbrevs; otherwise use emacs-mule or
15081 utf-8-emacs. (Bug#8308)
15082
5fd62452
JB
150832011-03-22 Juanma Barranquero <lekktu@gmail.com>
15084
0b1596c6
JB
15085 * simple.el (backward-delete-char-untabify):
15086 Avoid warning about using `delete-backward-char'.
15087
5fd62452
JB
15088 * image.el (image-type-file-name-regexps): Make it variable.
15089 `imagemagick-register-types' modifies it, and the user may want
15090 to add new extensions for known image types.
15091 (imagemagick-register-types): Throw error if not using ImageMagick.
15092
0b4e93f1
LL
150932011-03-22 Leo Liu <sdl.web@gmail.com>
15094
15095 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15096 located before rcirc-prompt-end-marker.
15097 (rcirc-complete): Error if point is not after rcirc prompt.
15098 Handle the case when table is nil.
9882e214 15099 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15100
fccee4ab
CY
151012011-03-22 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * custom.el (custom--inhibit-theme-enable): Make it affect only
15104 custom-theme-set-variables and custom-theme-set-faces.
15105 (provide-theme): Ignore custom--inhibit-theme-enable.
15106 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15107 (custom-enabling-themes): Delete variable.
d86d2721
SM
15108 (enable-theme): Accept only loaded themes as arguments.
15109 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15110 (custom-enabled-themes): Forbid themes from setting this.
15111 Eliminate use of custom-enabling-themes.
15112 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15113
af896da6
LL
151142011-03-21 Leo Liu <sdl.web@gmail.com>
15115
15116 * ido.el (ido-read-internal): Add ido-selected to history instead
15117 of user input.
15118
78f64af0
SM
151192011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * subr.el (deferred-action-list, deferred-action-function):
15122 Mark obsolete.
15123
b16ac1ec
LL
151242011-03-21 Leo Liu <sdl.web@gmail.com>
15125
810f7698
LL
15126 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15127 change on 2011-02-13 (bug#8309).
15128
b16ac1ec
LL
15129 * minibuffer.el (read-file-name-function): Change default value.
15130 (read-file-name--defaults): Rename from read-file-name-defaults.
15131 (read-file-name-default): Rename from read-file-name.
15132 (read-file-name): Call read-file-name-function.
15133
4e05e67e
GM
151342011-03-21 Glenn Morris <rgm@gnu.org>
15135
15136 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15137 Doc fixes.
15138
4359915b
CY
151392011-03-21 Chong Yidong <cyd@stupidchicken.com>
15140
15141 * cus-theme.el: Add missing provide statement.
15142 (customize-create-theme): Extract theme value correctly.
15143 (custom-theme-visit-theme): Autoload.
15144 (customize-create-theme): Prompt before inserting default faces.
15145
1fe275ee
JB
151462011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15147
15148 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15149 units and musical notes.
15150
cd394be1 151512011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15152
15153 * ido.el (ido-read-internal): Use completing-read-default.
15154 (ido-completing-read): Fix compatibility with completing-read.
15155
7d476bde
CO
151562011-03-20 Christian Ohler <ohler@gnu.org>
15157
15158 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15159 (ert-delete-all-tests): Use `called-interactively-p' rather than
15160 `interactive-p'.
15161 (ert--make-xrefs-region): Respect END.
15162
fe0fb33e
CY
151632011-03-19 Chong Yidong <cyd@stupidchicken.com>
15164
ff854b0b
CY
15165 * dired-aux.el (dired-create-directory): Signal an error if the
15166 directory already exists (Bug#8246).
15167
fe0fb33e
CY
15168 * facemenu.el (list-colors-display): Call list-faces-display
15169 inside with-help-window.
15170 (list-colors-print): Use display property to align the final
15171 column, instead of checking window-width.
15172
576bce32
EZ
151732011-03-19 Eli Zaretskii <eliz@gnu.org>
15174
4d61f28d 15175 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15176 windows-nt systems.
15177 (emerge-protect-metachars): Quote correctly for ms-dos and
15178 windows-nt systems.
15179
89c41d68 151802011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15181
15182 * info.el (info-initialize): Replace all uses of `:' with
15183 path-separator for compatibility with non-Unix systems.
15184 Cache quoting of path-separator. (Bug#8258)
15185
b14e3e21 151862011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15187
15188 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15189 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15190 (mouse-avoidance-mode): Fix typos in docstrings.
15191
4525ce3e
CY
151922011-03-19 Chong Yidong <cyd@stupidchicken.com>
15193
15194 * startup.el (package-subdirectory-regexp): Move from package.el.
15195 Omit \\` and \\', and let callers add them.
15196
15197 * emacs-lisp/package.el (package-strip-version)
15198 (package-load-all-descriptors): Add \\` and \\' to
15199 package-subdirectory-regexp before using it.
15200 (package-untar-buffer): New arg DIR; ensure that file untars only
15201 into this expected directory. Remove superfluous delete-region.
15202 (package-unpack): Caller changed.
15203 (package-tar-file-info): Use package-subdirectory-regexp.
15204
a904a09a 152052011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15206
a904a09a
SM
15207 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15208 diff-mode-shared-map (bug#8284).
15209 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15210
152112011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15212
15213 * calendar/time-date.el (format-seconds): Use assoc instead of
15214 assoc-string, since assoc-string doesn't exist in XEmacs.
15215
171fc304
JB
152162011-03-17 Juanma Barranquero <lekktu@gmail.com>
15217
15218 * custom.el (custom-known-themes): Reflow docstring.
15219 (custom-theme-load-path): Fix typo in docstring.
15220 (load-theme): Fix typo in error message.
15221 (custom-available-themes, custom-variable-theme-value):
15222 Use `let', not `let*'.
15223
d71990a1
JB
152242011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15225
15226 * calc/README: Mention inclusion of musical notes.
15227
15228 * calc/calc-units.el (calc-lu-quant): Rename from
15229 `calc-logunits-quantity'.
15230 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15231 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15232 (calc-db): Rename from `calc-dblevel'.
15233 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15234 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15235 (calc-np): Rename from `calc-nplevel'.
15236 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15237 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15238 (calc-lu-plus): Rename from `calc-logunits-add'.
15239 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15240 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15241 (calc-lu-minus): Rename from `calc-logunits-sub'.
15242 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15243 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15244 (calc-lu-times): Rename from `calc-logunits-mul'.
15245 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15246 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15247 (calc-lu-divide): Rename from `calc-logunits-div'.
15248 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15249 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15250
15251 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15252 functions being autoloaded.
15253
15254 * calc/calc.el (calc-lu-power-reference): Rename from
15255 `calc-logunits-power-reference'.
15256 (calc-lu-field-reference): Rename from
15257 `calc-logunits-field-reference'.
15258
7a71b18d
GM
15259 * calc/calc-help.el (calc-l-prefix-help):
15260 Mention musical note functions.
d71990a1 15261
40c2934b
SM
152622011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15263
15264 * minibuffer.el (completion-all-sorted-completions):
15265 Use :completion-cycle-penalty text property if present.
15266
b0911414
KM
152672011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15268
15269 * allout.el (allout-yank-processing): Adjust for new rebulleting
15270 regime so bullet being yanked is used without prompting the user
15271 for a choice.
15272
8a05b668
JB
152732011-03-16 Juanma Barranquero <lekktu@gmail.com>
15274
15275 * startup.el (command-line): Warn the user that _emacs is deprecated.
15276
5ba5fb81
JB
152772011-03-16 Juanma Barranquero <lekktu@gmail.com>
15278
15279 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15280 (delphi-verbose, delphi-comment-face, delphi-string-face)
15281 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15282 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15283 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15284 (delphi-new-comment-line, delphi-font-lock-defaults)
15285 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15286 Fix typos in docstrings.
15287
2dab465b
KM
152882011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15289
5ba5fb81 15290 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15291 Invert the roles of character and string values for INSTEAD, so a
15292 string is used for the more common case of a defaulting prompt.
15293
0adf5618
SM
152942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * progmodes/ruby-mode.el (ruby-backward-sexp):
15297 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15298 * play/gamegrid.el (gamegrid-make-face):
15299 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15300 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15301 * notifications.el (notifications-notify):
15302 * net/xesam.el (xesam-search-engines):
15303 * net/quickurl.el (quickurl-list-insert):
15304 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15305
d72700e5
CY
153062011-03-15 Chong Yidong <cyd@stupidchicken.com>
15307
15308 * startup.el (command-line): Update package subdirectory regexp.
15309
49c5410a
SM
153102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15311
c6eee9aa
SM
15312 * allout.el (allout-abbreviate-flattened-numbering)
15313 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15314
49c5410a
SM
15315 * subr.el (read-char-choice): Only show the cursor after the prompt,
15316 not after the answer.
15317
047b2bb9
KR
153182011-03-15 Kevin Ryde <user42@zip.com.au>
15319
15320 * help-fns.el (variable-at-point): Skip leading quotes, if any
15321 (bug#8253).
15322
0a57d256
SM
153232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15324
15325 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15326 warning message.
15327
77c992bc
MA
153282011-03-14 Michael Albinus <michael.albinus@gmx.de>
15329
15330 * shell.el (shell): When called interactively, offer to change the
15331 shell file name on remote hosts.
15332
eebc475d
TZ
153332011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15334
15335 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15336 integration for LDAP parameters. The host, base, user or binddn,
15337 and secret tokens can be specified in a netrc file, for instance.
15338 This is optional because an `auth-source' parameter must be
15339 specified in the search attributes.
15340
9d05d1ba
JB
153412011-03-13 Juanma Barranquero <lekktu@gmail.com>
15342
15343 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15344
09d9db2c
GM
153452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15348 into declaration. Remove redundant and harmful binding.
15349
153502011-03-12 Eli Zaretskii <eliz@gnu.org>
15351
15352 * files.el (file-ownership-preserved-p): Pass `integer' as an
15353 explicit 2nd argument to `file-attributes'. If the file's owner
15354 is the Administrators group on Windows, and the current user is
15355 Administrator, consider that a match.
15356
15357 * server.el (server-ensure-safe-dir): Consider server directory
15358 safe on MS-Windows if its owner is the Administrators group while
15359 the current Emacs user is Administrator. Use `=' to compare
15360 numerical UIDs, since they could be integers or floats.
15361
219bd536
JB
153622011-03-12 Juanma Barranquero <lekktu@gmail.com>
15363
15364 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15365
f3afd36b
MA
153662011-03-12 Michael Albinus <michael.albinus@gmx.de>
15367
15368 Sync with Tramp 2.2.1.
15369
15370 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15371
15372 * net/trampver.el: Update release number.
15373
3aaaa6f1
SM
153742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15375
94642599
SM
15376 * progmodes/compile.el (compilation--previous-directory): Fix up
15377 various nil/dead-marker mismatches (bug#8014).
15378 (compilation-directory-properties, compilation-error-properties):
15379 Don't call it at a position past the one we're about to change.
15380
3aaaa6f1
SM
15381 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15382 Disable obsolescence warnings in the file that declares it.
15383
14239447
KM
153842011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15385
099c39a4
JB
15386 * allout-widgets.el (allout-widgets-tally):
15387 Initialize allout-widgets-tally as a hash table rather than nil to
15388 prevent mode-line redisplay warnings. Also, clarify the module
15389 description and fix a comment typo.
14239447 15390
135e287c
JB
153912011-03-11 Juanma Barranquero <lekktu@gmail.com>
15392
15393 * help-fns.el (describe-variable): Don't complete keywords.
15394 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15395
ffbf300e
CY
153962011-03-10 Chong Yidong <cyd@stupidchicken.com>
15397
ba08b241
CY
15398 * emacs-lisp/package.el (package-version-join): Impose a standard
15399 string representation for pre/alpha/beta version lists.
15400 (package-unpack-single): Standardize the directory name by passing
15401 it through package-version-join.
15402 (package-strip-rcs-id): Accept any version string that does not
15403 signal an error in version-to-list.
ffbf300e 15404
f346fd6b
MA
154052011-03-10 Michael Albinus <michael.albinus@gmx.de>
15406
15407 * simple.el (delete-trailing-whitespace): Return nil for the
15408 benefit of `write-file-functions'.
15409
ccb55d27
GM
154102011-03-10 Glenn Morris <rgm@gnu.org>
15411
5ceaac0c
GM
15412 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15413
02da65ff
GM
15414 * vc/vc-git.el (vc-git-program): New option.
15415 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15416 (vc-git--call): Use it.
15417
b2f603cc
GM
15418 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15419
5772caab
GM
15420 * cus-edit.el (Custom-newline): If no button at point, look
15421 for a subgroup button at start-of-line. (Bug#2298)
15422
ccb55d27
GM
15423 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15424
ec6ecaed
JD
154252011-03-10 Julien Danjou <julien@danjou.info>
15426
15427 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15428 `cursor-type' is nil.
15429
9d5aa01d
JB
154302011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15431
15432 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15433
b6a5875b
KM
154342011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15435
7a71b18d 15436 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15437 preserves the existing header prefix, rebulleting it if necessary,
15438 rather than replacing it. This is necessary for proper operation
15439 of cooperative addons like allout-widgets.
1154d12e
JB
15440 (allout-make-topic-prefix, allout-rebullet-heading):
15441 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15442 value as alternate bullet to be used, instead of prompting the user
15443 for a bullet character.
b6a5875b 15444
ee545c35
MA
154452011-03-09 Michael Albinus <michael.albinus@gmx.de>
15446
d86d2721
SM
15447 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15448 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15449 `tramp-default-port'.
15450
c47971d7
DD
154512011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15452
15453 * net/rcirc.el (rcirc-handler-001): Remove useless
15454 with-rcirc-process-buffer.
15455 (rcirc-check-auth-status): Swap arguments to string-match.
15456
13522cb4
GM
154572011-03-09 Glenn Morris <rgm@gnu.org>
15458
0be6f4f1
GM
15459 * shell.el (shell-mode):
15460 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15461
13522cb4
GM
15462 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15463 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15464
515de2e3
CY
154652011-03-08 Chong Yidong <cyd@stupidchicken.com>
15466
15467 * emacs-lisp/package.el (package-refresh-contents)
15468 (package-menu-execute): Use condition-case-no-debug.
15469
b511b994
MA
154702011-03-08 Michael Albinus <michael.albinus@gmx.de>
15471
15472 * simple.el (shell-command-to-string): Use `process-file'.
15473
15474 * emacs-lisp/package.el (package-tar-file-info): Handle also
15475 remote files.
15476
d86d2721
SM
15477 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15478 Use `equal' for upload base check.
b511b994 15479
25bbfb31
AM
154802011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15481
15482 * textmodes/texinfo.el (texinfo-environments):
15483 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15484
be996521
GM
154852011-03-08 Glenn Morris <rgm@gnu.org>
15486
e9c8529f
GM
15487 * cus-start.el (cursor-in-non-selected-windows):
15488 Fix :set quoting oddness. (Bug#8192)
15489
be996521
GM
15490 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15491 in some setf expressions. (Bug#2159)
15492
2bb5649e
CY
154932011-03-08 Chong Yidong <cyd@stupidchicken.com>
15494
15495 * custom.el (custom-available-themes): Return themes in
15496 alphabetical order.
15497
33383987 15498See ChangeLog.15 for earlier changes.
e3d51b27
MR
15499
15500;; Local Variables:
15501;; coding: utf-8
e3d51b27
MR
15502;; End:
15503
acaf905b 15504 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15505
15506 This file is part of GNU Emacs.
15507
15508 GNU Emacs is free software: you can redistribute it and/or modify
15509 it under the terms of the GNU General Public License as published by
15510 the Free Software Foundation, either version 3 of the License, or
15511 (at your option) any later version.
15512
15513 GNU Emacs is distributed in the hope that it will be useful,
15514 but WITHOUT ANY WARRANTY; without even the implied warranty of
15515 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15516 GNU General Public License for more details.
15517
15518 You should have received a copy of the GNU General Public License
15519 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.