Change term.el to use font-lock.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
32f7f28e
CY
12012-06-20 Chong Yidong <cyd@gnu.org>
2
3 * term.el (term-window-width): Handle the case of a missing right
4 fringe (Bug#8837).
5 (term-check-size): Use window-text-height (Bug#5445).
6ff7caa8
CY
6 (term-mode): Use define-derived-mode. Minor cleanups. Set
7 font-lock-defaults (Bug#7692).
8 (term-move-columns, term-insert-char, term-emulate-terminal)
9 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 10
493c6688
MA
112012-06-20 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/ange-ftp.el (ange-ftp-get-passwd): Bind
14 `enable-recursive-minibuffers'.
15 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
16
3f06ecf4
DR
172012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
18
19 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
20
68f12411
GM
212012-06-19 Glenn Morris <rgm@gnu.org>
22
23 * progmodes/python.el (python-mode): Derive from prog-mode.
24
b3820318
KG
252012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
26
27 * emulation/edt.el (edt-default-menu-bar-update-buffers)
28 (edt-user-menu-bar-update-buffers): New functions.
29 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
30
c6bf3022
CY
312012-06-19 Chong Yidong <cyd@gnu.org>
32
33 * subr.el (with-selected-window): Preserve the selected window's
34 terminal's top-frame (Bug#4702).
35
36 * window.el (save-selected-window): Likewise.
37
25f09295
SM
382012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * progmodes/python.el (python-rx-constituents): Move backquote.
41 (python-skeleton-define, python-define-auxiliary-skeleton):
42 Use `declare'.
43
6b11952a
MA
442012-06-18 Michael Albinus <michael.albinus@gmx.de>
45
46 * minibuffer.el (read-file-name-default): Revert the patch from
47 2012-06-17.
48
ee4b1330
SM
492012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
52 (pcase--u1, pcase--q1): Don't use apply-partially.
53
35647f79
GM
542012-06-18 Glenn Morris <rgm@gnu.org>
55
56 * progmodes/python.el (python-proc, python-buffer)
57 (python-send-receive, python-send-string): Fix obsolete versions.
58
24b0cff0
MR
592012-06-18 Martin Rudalics <rudalics@gmx.at>
60
61 * window.el (special-display-p): Completely remove stringp
62 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
63
29855149
MA
642012-06-17 Michael Albinus <michael.albinus@gmx.de>
65
66 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
67
68 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
69
70 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
71 * net/tramp-sh.el (tramp-maybe-open-connection):
72 Throw if `non-essential' is non-nil.
73
07463363
MR
742012-06-17 Martin Rudalics <rudalics@gmx.at>
75
76 * window.el (special-display-p): Signal an error if BUFFER-NAME
77 is not a string (Bug#11713).
78
48d1354e
PE
792012-06-17 Paul Eggert <eggert@cs.ucla.edu>
80
81 * progmodes/python.el (python-info-beginning-of-backslash):
82 Rename from python-info-beginning-of-backlash, as a spelling fix.
83
eb4a8a9a
CY
842012-06-17 Chong Yidong <cyd@gnu.org>
85
86 * term.el (term-emulate-terminal): If term-check-size is called,
87 move point to the process mark without resetting point (Bug#4635).
88
ddfbf826 892012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
90
91 * international/mule-cmds.el (mule-menu-keymap)
92 (set-language-environment, set-locale-environment): Doc tweaks.
93
9b0e3eba
AA
942012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
95
96 * cus-face.el (custom-face-attributes): Add wave-style underline
97 attribute.
98 * faces.el (set-face-attribute): Update docstring to describe
99 wave-style underline attribute.
100
771e3eae
CY
1012012-06-16 Chong Yidong <cyd@gnu.org>
102
103 * term/xterm.el (terminal-init-xterm): Discard input before
104 querying background mode (Bug#10959).
105
7ae2ea10
SM
1062012-06-16 Stefan Merten <smerten@oekonux.de>
107
108 * textmodes/rst.el: Added and corrected some comments.
109 (rst-re-alist-def): Improve symbol syntax.
110 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
111 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
112 (rst-official-version, rst-official-cvs-rev): Update version
113 information.
7ae2ea10 114
b6974efa
JB
1152012-06-15 Juanma Barranquero <lekktu@gmail.com>
116
117 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
118 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
119
8826d473
GM
1202012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
121
122 * progmodes/python.el: New python.el merge.
123 (python-guess-indent): Obsolete var.
124 (python-indent-guess-indent-offset): New defcustom.
125 (python-indent): Obsolete var.
126 (python-indent-offset): New defcustom.
127 (python-python-command, python-jython-command): Delete var.
128 (python-shell-interpreter): New defcustom.
129 (python-pdbtrack-do-tracking-p): Delete var.
130 (python-pdbtrack-activate): New defcustom.
131 (python-use-skeletons): Obsolete var.
132 (python-skeleton-autoinsert): New defcustom.
133 (inferior-python-filter-regexp, python-continuation-offset)
134 (python-honour-comment-indentation, python-indent-string-contents)
135 (python-jython-packages, python-mode-hook)
136 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
137 (python-shell-prompt-alist)
138 (python-source-modes): Delete defcustoms.
139 (python-check-buffer-name, python-eldoc-setup-code)
140 (python-eldoc-string-code, python-ffap-setup-code)
141 (python-ffap-string-code, python-fill-comment-function)
142 (python-fill-decorator-function, python-fill-paren-function)
143 (python-fill-string-function, python-imenu-include-defun-type)
144 (python-imenu-make-tree, python-imenu-subtree-root-label)
145 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
146 (python-shell-compilation-regexp-alist)
147 (python-shell-completion-module-string-code)
148 (python-shell-completion-pdb-string-code)
149 (python-shell-completion-setup-code)
150 (python-shell-completion-string-code)
151 (python-shell-enable-font-lock, python-shell-exec-path)
152 (python-shell-extra-pythonpaths)
153 (python-shell-internal-buffer-name, python-shell-interpreter-args)
154 (python-shell-process-environment)
155 (python-shell-prompt-block-regexp)
156 (python-shell-prompt-output-regexp)
157 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
158 (python-shell-send-setup-max-wait, python-shell-setup-codes)
159 (python-shell-virtualenv-path): New defcustoms.
160 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
161 (inferior-python-mode-syntax-table, python--prompt-regexp)
162 (python-buffer, python-command python-python-command)
163 (python-default-template, python-imports, python-indent-index)
164 (python-indent-list, python-indent-list-length)
165 (python-mode-running, python-pdbtrack-is-tracking-p)
166 (python-preoutput-continuation, python-preoutput-leftover)
167 (python-preoutput-result, python-preoutput-skip-next-prompt)
168 (python-prev-dir/file, python-recursing)
169 (python-saved-check-command, python-version-checked)
170 (python-which-func-length-limit)
171 (view-return-to-alist): Delete vars.
172 (python-check-custom-command, python-dotty-syntax-table)
173 (python-imenu-index-alist, python-indent-current-level)
174 (python-indent-dedenters, python-indent-levels)
175 (python-nav-beginning-of-defun-regexp)
176 (python-nav-list-defun-positions-cache)
177 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
178 (python-shell-internal-buffer)
179 (python-skeleton-available): New vars.
180 (def-python-skeleton): Delete macro.
181 (python-skeleton-define): New macro.
182 (python-define-auxiliary-skeleton, python-rx): New macros.
183 (python-insert-class): Delete command.
184 (python-skeleton-class): New command.
185 (python-insert-def): Delete command.
186 (python-skeleton-def): New command.
187 (python-insert-for): Delete command.
188 (python-skeleton-for): New command.
189 (python-insert-if): Delete command.
190 (python-skeleton-if): New command.
191 (python-insert-try/except, python-insert-try/finally): Delete commands.
192 (python-skeleton-try): New command.
193 (python-insert-while): Delete command.
194 (python-skeleton-while): New command.
195 (python-backspace): Delete command.
196 (python-indent-dedent-line-backspace): New command.
197 (python-electric-colon): Delete command.
198 (python-indent-electric-colon): New command.
199 (python-guess-indent): Delete command.
200 (python-indent-guess-indent-offset): New command.
201 (python-shift-left): Delete command.
202 (python-indent-shift-left): New command.
203 (python-shift-right): Delete command.
204 (python-indent-shift-right): New command.
205 (python-find-function): Delete command.
206 (python-nav-jump-to-defun): New command.
207 (python-next-statement): Delete command.
208 (python-nav-forward-sentence): New command.
209 (python-previous-statement): Delete command.
210 (python-nav-backward-sentence): New command.
211 (python-fill-paragraph): Delete command.
212 (python-fill-paragraph-function): New command.
213 (python-send-buffer): Delete command.
214 (python-shell-send-buffer): New command.
215 (python-send-defun): Delete command.
216 (python-shell-send-defun): New command.
217 (python-send-region, python-send-region-and-go): Delete commands.
218 (python-shell-send-region)
219 (python-shell-switch-to-shell): New commands.
220 (python-send-string): Delete command.
221 (python-shell-send-string): New command.
222 (python-switch-to-python): Delete command.
223 (python-shell-switch-to-shell): New command.
224 (python-describe-symbol): Delete command.
225 (python-eldoc-at-point): New command.
226 (python--set-prompt-regexp, python-args-to-list)
227 (python-after-info-look, python-check-version)
228 (python-check-comint-prompt, python-find-imports)
229 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
230 (python-unload-function, python-expand-template)
231 (python-maybe-jython, python-preoutput-filter)
232 (python-pdbtrack-get-source-buffer)
233 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
234 (python-pdbtrack-toggle-stack-tracking)
235 (python-pdbtrack-track-stack-file, python-initial-text)
236 (python-first-word, python-comment-line-p, python-send-command)
237 (python-setup-brm, python-sentinel, python-set-proc)
238 (python-skip-out, python-input-filter, python-outdent-p)
239 (python-outline-level, python-backslash-continuation-line-p)
240 (python-end-of-block, python-end-of-statement, python-mark-block)
241 (python-beginning-of-block, python-beginning-of-statement)
242 (python-blank-line-p, python-beginning-of-string)
243 (python-open-block-statement-p): Delete functions.
244 (python-indent-line, python-indent-line-1): Delete functions.
245 (python-indent-line): New function.
246 (python-indentation-levels): Delete function.
247 (python-indent-calculate-levels): New function.
248 (python-proc): Delete function.
249 (python-shell-get-process): New function.
250 (python-send-receive): Delete function.
251 (python-shell-send-string-no-output): New function.
252 (python-module-path): Delete function.
253 (python-ffap-module-path): New function.
254 (python-completion-at-point)
255 (python-symbol-completions): Delete functions.
256 (python-completion-complete-at-point): New function.
257 (python-load-file): Delete function.
258 (python-shell-send-file): New function.
259 (python-calculate-indentation): Delete function.
260 (python-indent-calculate-indentation): New function.
261 (python-skip-comments/blanks): Delete function.
262 (python-util-forward-comment): New function.
263 (python-continuation-line-p): Delete function.
264 (python-info-continuation-line-p): New function.
265 (python-which-func, python-current-defun): Delete function.
266 (python-info-current-defun): New function.
267 (python-beginning-of-defun): Delete function.
268 (python-nav-beginning-of-defun): New function.
269 (python-close-block-statement-p)
270 (python-block-end-p): Delete function.
271 (python-info-closing-block): New function.
272 (python-comint-output-filter-function)
273 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
274 (python-fill-comment, python-fill-decorator, python-fill-paren)
275 (python-fill-string, python-imenu-make-element-tree)
276 (python-imenu-make-tree, python-imenu-tree-assoc)
277 (python-indent-context, python-indent-dedent-line)
278 (python-indent-line-function)
279 (python-indent-post-self-insert-function)
280 (python-indent-toggle-levels)
281 (python-info-assignment-continuation-line-p)
282 (python-info-beginning-of-backlash)
283 (python-info-block-continuation-line-p)
284 (python-info-closing-block-message)
285 (python-info-line-ends-backslash-p)
286 (python-info-looking-at-beginning-of-defun)
287 (python-info-ppss-context, python-info-ppss-context-type)
288 (python-nav-list-defun-positions, python-nav-read-defun)
289 (python-nav-sentence-end, python-nav-sentence-start)
290 (python-pdbtrack-comint-output-filter-function)
291 (python-pdbtrack-set-tracked-buffer)
292 (python-shell-calculate-exec-path)
293 (python-shell-calculate-process-environment)
294 (python-shell-completion--do-completion-at-point)
295 (python-shell-completion--get-completions)
296 (python-shell-completion-complete-at-point)
297 (python-shell-completion-complete-or-indent)
298 (python-shell-get-or-create-process)
299 (python-shell-get-process-name)
300 (python-shell-internal-get-or-create-process)
301 (python-shell-internal-get-process-name)
302 (python-shell-internal-send-string, python-shell-make-comint)
303 (python-shell-parse-command, python-shell-send-setup-code)
304 (python-skeleton-add-menu-items)
305 (python-util-clone-local-variables, python-util-position)
306 (run-python-internal, python-indentation-levels)
307 (python-nav-beginning-of-defun)
308 (python-completion-complete-at-point): New functions.
309 (run-python): Change arguments. New API requirements.
310
4302f5ba
SM
3112012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
312
f38ea36d
SM
313 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
314 (bug#11649).
315
316 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
317 (macroexp--expand-all): Use it.
318
4302f5ba
SM
319 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
320 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
321 Use `cl-function' instead.
322
33377562
JB
3232012-06-14 Juanma Barranquero <lekktu@gmail.com>
324
325 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
326 Suggested by Stefan Monnier while discussing bug#11657.
327
54c5ba1a
SS
3282012-06-14 Sam Steingold <sds@gnu.org>
329
330 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
331
f9f1b1fe
AS
3322012-06-14 Andreas Schwab <schwab@linux-m68k.org>
333
334 * play/doctor.el (doctor-doc): Remove parameter and use
335 doctor-sent instead of sent.
336 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
337
a81068ba
SM
3382012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
339
5a315f9c
SM
340 * files.el: Require cl-lib.
341 (file-name-non-special): Replace case -> cl-case.
342
343 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
344
a81068ba
SM
345 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
346 mapping from #' to function*.
347
8cca9703
CY
3482012-06-13 Chong Yidong <cyd@gnu.org>
349
350 * mouse.el (mouse-drag-track): Do not set the mark if the user
351 releases the mouse without selecting anything (Bug#11588).
352
a12ac9d7
SM
3532012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
354
ccf1dc18
SM
355 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
356 as well (bug#11646).
357
ef62b23d
SM
358 * loadup.el: Count byte-code functions as well.
359
c4c8444a
SM
360 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
361 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
362
a12ac9d7
SM
363 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
364 (bug#11649). Add cl-defun and cl-defmacro.
365
87e6e64f
DA
3662012-06-13 Drew Adams <drew.adams@oracle.com>
367
368 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
369 Fix last change.
370
682cefaf
MA
3712012-06-13 Michael Albinus <michael.albinus@gmx.de>
372
373 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
374 Otherwise, it blocks in batch mode.
375
773e1f08
JB
3762012-06-13 Juanma Barranquero <lekktu@gmail.com>
377
378 * help-mode.el (bookmark-make-record-default): Declare.
379
60057926
CY
3802012-06-13 Chong Yidong <cyd@gnu.org>
381
382 * emacs-lisp/package.el (list-packages): Compute a list of
383 packages that are newly-available since the last list-packages
384 invocation.
385 (package-menu--new-package-list): New var.
386 (package-menu--generate, package-menu--print-info)
387 (package-menu--status-predicate, package-menu-mark-install):
388 Handle new status label "new".
389
ad4d226c
SM
3902012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
393 conversion to backquotes.
394
f1a4e679
CY
3952012-06-12 Chong Yidong <cyd@gnu.org>
396
397 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
398 Rename from gud-inhibit-global-bindings.
399
400 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
401
402 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
403 hook from nxml-glyph-set-hook.
404
405 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
406 declaration.
407
408 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
409
410 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
411 Convert to defcustom.
412
0c9e42b5
DA
4132012-06-12 Drew Adams <drew.adams@oracle.com>
414
415 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
416 New functions.
417 (help-mode): Use them.
418
09e06855
GM
4192012-06-11 Glenn Morris <rgm@gnu.org>
420
421 * progmodes/fortran.el (fortran-font-lock-keywords-3):
422 Use preprocessor face for directives.
423 (fortran-directive-re): Doc fix.
424
71adb94b
SM
4252012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
426
2eb87922
SM
427 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
428 conversion to backquotes (bug#11652).
429
71adb94b
SM
430 Fix compiler-expansion of CL's cXXr functions (bug#11673).
431 * emacs-lisp/cl-lib.el (cl--defalias): New function.
432 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
433 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
434 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
435 (cl-ninth, cl-tenth): Mark them as inlinable.
436 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
437 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
438 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
439 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
440 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
441 (cl-list*, cl-adjoin): Don't put an autoload manually.
442 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
443 (cl--compiler-macro-list*): Add autoload cookie.
444 (cl--compiler-macro-cXXr): New function.
2eb87922 445
71adb94b
SM
446 * help-fns.el (help-fns--compiler-macro): New function extracted from
447 describe-function-1; follow aliases and use `compiler-macro' property.
448 (describe-function-1): Use it.
449
a6674402
CY
4502012-06-11 Chong Yidong <cyd@gnu.org>
451
452 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
453 is uninstalled, if imagemagick is installed.
454
bb3faf5b
SM
4552012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * emacs-lisp/cl-lib.el: Use lexical-binding.
458 (cl-map-extents, cl-maclisp-member): Remove.
459 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
460 (cl--set-substring, cl--block-wrapper, cl--block-throw)
461 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
462 * emacs-lisp/cl-extra.el: Use lexical-binding.
463 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
464 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
465 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
466 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
467 * emacs-lisp/cl-seq.el: Use lexical-binding.
468 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
469 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
470 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
471 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
472 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
473 CL's internals.
474
2fe4b125
MA
4752012-06-11 Michael Albinus <michael.albinus@gmx.de>
476
477 Sync with Tramp 2.2.6-pre.
478
479 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
480 `print-length' and `print-level' to nil, in order to avoid
481 truncation. Reported by Christopher Schmidt
482 <christopher@ristopher.com>.
483
484 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
485
486 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
487 New defmacro.
488 (tramp-compat-copy-directory): Add optional argument
489 COPY-CONTENTS. It is not handled yet.
490
491 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
492 (tramp-ftp-file-name-p): Simplify.
493
494 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
495 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
496 connection vector.
497
498 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
499 (tramp-methods): Do not use `tramp-password-end-of-line'.
500 (tramp-completion-function-alist-putty): Handle UNIX case.
501 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
502 (tramp-do-file-attributes-with-stat)
503 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
504 gid as real numbers. They could run out of integer range on cygwin.
505 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
506 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
507 (tramp-open-connection-setup-interactive-shell):
508 Use `tramp-cleanup'. Move check for busyboxes ...
509 (tramp-find-shell): ... here. Simplify implementation.
510 Set "remote-shell" property also for alternative shells.
511 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
512 If failing, a regular file would be written otherwise.
513 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
514 (tramp-find-inline-encoding): Cache the coding commands in the
515 process cache. Apply test command on the remote side, if defined.
516 (tramp-find-inline-compress): Cache the compress commands in the
517 process cache.
518 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
519 when requested. Handle hops.
520 (tramp-current-connection): New defvar.
87e6e64f
DA
521 (tramp-maybe-open-connection): Use `tramp-cleanup'.
522 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 523 Handle user interrupt. (Bug#10187)
87e6e64f
DA
524 (tramp-get-inline-compress, tramp-get-inline-coding):
525 Read connection properties from the process cache.
2fe4b125
MA
526
527 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
528 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
529 New defconsts.
2fe4b125
MA
530 (tramp-smb-prompt): Extend for powershell prompt.
531 (tramp-smb-file-name-handler-alist): Add handlers for
532 `process-file', `shell-command' and `start-file-process'.
533 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
534 (tramp-smb-winexe-shell-command-switch): New defcustoms.
535 (tramp-smb-file-name-p): Simplify.
536 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
537 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
538 (tramp-smb-shell-quote-argument): New defuns.
539 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
540 Implement using "tar". By this, time-stamps are preserved.
541 (tramp-smb-handle-copy-file): Handle also the case of directories.
542 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
543 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
544 Use `tramp-get-connection-buffer').
2fe4b125
MA
545 (tramp-smb-handle-rename-file): Use "rename", when source and
546 target are on the same share.
87e6e64f
DA
547 (tramp-smb-maybe-open-connection): Handle wrong passwords.
548 Use `tramp-smb-server-version'.
2fe4b125
MA
549 (tramp-smb-wait-for-output): Remove prompt.
550
551 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
552 (tramp-methods, tramp-rsh-end-of-line):
553 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
554 (tramp-save-ad-hoc-proxies): New defcustom.
555 (tramp-completion-function-alist): Adapt docstring.
556 (tramp-default-password-end-of-line): Remove defcustom.
557 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
558 (tramp-user-regexp, tramp-file-name-regexp-unified)
559 (tramp-file-name-regexp-url): Extend regexp by hop separator.
560 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
561 (tramp-remote-file-name-spec-regexp): New defconst.
562 (tramp-file-name-structure): Extend structure for hops.
563 (tramp-get-method-parameter): Move up.
564 (tramp-file-name-p, tramp-dissect-file-name)
565 (with-parsed-tramp-file-name): Handle hops.
566 (tramp-file-name-hop): New defun.
567 (tramp-make-tramp-file-name): New optional arg HOP.
568 (tramp-message-show-progress-reporter-message): New defvar.
569 (tramp-with-progress-reporter): Use it. We cannot use
570 `tramp-message-show-message' here, because this suppresses also
571 error buffers.
572 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
573 `tramp-message-show-message' is nil.
574 Use `tramp-get-connection-buffer'.
2fe4b125
MA
575 (tramp-cleanup): New defun.
576 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
577 (tramp-file-name-handler): If `debug-on-error' is set, propagate
578 an error unchanged.
579 (tramp-completion-handle-file-name-all-completions): Handle hops.
580 Fix an error when called from ido.
581 (tramp-completion-dissect-file-name): Use better local variable
582 name. Add hop to the vector.
583 (tramp-handle-insert-file-contents): Use progress-reporter for the
584 whole scenario.
585 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
586 to `t'.
587 (tramp-check-for-regexp): Simplify search.
588 (tramp-enter-password): Remove it. Move implementation ...
589 (tramp-action-password): ... here.
590 (tramp-mode-string-to-int, tramp-local-host-p)
591 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
592 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
593 Set tramp-autoload cookie.
2fe4b125
MA
594
595 * net/trampver.el: Update release number.
596
5972012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
598 Michael Albinus <michael.albinus@gmx.de>
599
600 * net/tramp.el (tramp-set-completion-function): Fix docstring.
601 (tramp-parse-group, tramp-parse-file)
602 (tramp-parse-shostkeys-sknownhosts): New defuns.
603 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
604 (tramp-parse-shosts-group, tramp-parse-sconfig)
605 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
606 (tramp-parse-sknownhosts, tramp-parse-hosts)
607 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
608 Use them.
609 (tramp-parse-passwd-group, tramp-parse-netrc-group)
610 (tramp-parse-putty-group): Don't narrow.
611 (tramp-parse-putty): Make a loop.
612 (tramp-file-name-handler): Catch the `suppress' signal.
613
72834e10
CY
6142012-06-11 Chong Yidong <cyd@gnu.org>
615
616 * image.el (imagemagick-register-types): Put the ImageMagick entry
617 at the end of image-type-file-name-regexps.
618
a4712e11
JB
6192012-06-11 Johan Bockgård <bojohan@gnu.org>
620
621 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
622 (pcase, pcase-let*, pcase-dolist): Use them.
623
82ad98e3
SM
6242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * emacs-lisp/pcase.el (pcase--let*): New function.
627 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
628 (pcase--expand): Use macroexp-let².
629
f80efb86
SM
6302012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
633 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
634 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
635 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
636 * emacs-lisp/derived.el: Use pcase instead of `cl'.
637 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
638
31ca4639 6392012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 640
31ca4639
CY
641 * mail/rmail.el (rmail-yank-current-message): Leave point at
642 correct position. (Bug#11660)
94f0aa34 643
31ca4639 6442012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 645
31ca4639 646 * allout-widgets.el: Fix code header.
9e1b8ec4 647
31ca4639 6482012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 649
f80efb86
SM
650 * cus-edit.el (customize-changed-options-previous-release):
651 Bump to 24.1.
31ca4639 652
642b6d30
AS
6532012-06-09 Andreas Schwab <schwab@linux-m68k.org>
654
655 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
656
4f5d2ba1
CY
6572012-06-09 Chong Yidong <cyd@gnu.org>
658
659 * ebuff-menu.el (electric-buffer-list): Preserve header line.
660
e75852fd
MR
6612012-06-09 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (special-display-popup-frame): Don't use
664 window--display-buffer (Bug#11651).
665
1e48e282
EZ
6662012-06-09 Eli Zaretskii <eliz@gnu.org>
667
8a26b487
EZ
668 Fix parallel builds: make sure loaddefs.el is not being written
669 while Lisp files are compiled.
670 (compile): Don't depend on 'mh-autoloads'.
671 (compile-CMD, compile-SH): Depend on 'autoloads'.
672 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
673
1e48e282
EZ
674 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
675
6175e34b
CY
6762012-06-09 Chong Yidong <cyd@gnu.org>
677
678 * face-remap.el (face-remap-add-relative, face-remap-set-base)
679 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
680 Doc fixes (Bug#11225).
681
d9857e53
SM
6822012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
685 a function if there's a clear indication that it has a compiler-macro.
686 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
687 (macro-declarations-alist): Add arglist to declaration functions.
688 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
689 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
690 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
691 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
692 Also add autoload to find the compiler macro.
693 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
694 (cl--compiler-macro-member, cl--compiler-macro-assoc)
695 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
696 (cl--compiler-macro-get): New functions, replacing calls to
697 cl-define-compiler-macro.
698 (cl-typep) [compiler-macro]: Use macroexp-let².
699
f81298f8 7002012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
701
702 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
703 string properly, fixes Bug#11473.
704
4b56d0fe
CY
7052012-06-08 Chong Yidong <cyd@gnu.org>
706
707 * faces.el (set-face-attribute): Doc fix.
708 (modify-face): Don't use :bold and :italic.
709 (error, warning, success): Tweak definitions.
710
711 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
712 (custom-modified, custom-set, custom-changed, custom-themed)
713 (custom-saved, custom-button, custom-button-mouse)
714 (custom-button-pressed, custom-state, custom-comment-tag)
715 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
716 (custom-group-subtitle): Use new-style face specs.
717 (custom-invalid-face, custom-rogue-face, custom-modified-face)
718 (custom-set-face, custom-changed-face, custom-saved-face)
719 (custom-button-face, custom-button-pressed-face)
720 (custom-documentation-face, custom-state-face)
721 (custom-comment-face, custom-comment-tag-face)
722 (custom-variable-tag-face, custom-variable-button-face)
723 (custom-face-tag-face, custom-group-tag-face-1)
724 (custom-group-tag-face): Remove obsolete face alias.
725
726 * epa.el (epa-validity-high, epa-validity-medium)
727 (epa-validity-low, epa-mark, epa-field-name, epa-string)
728 (epa-field-name, epa-field-body):
729 * font-lock.el (font-lock-comment-face, font-lock-string-face)
730 (font-lock-keyword-face, font-lock-builtin-face)
731 (font-lock-function-name-face, font-lock-variable-name-face)
732 (font-lock-type-face, font-lock-constant-face):
733 * ido.el (ido-first-match, ido-only-match, ido-subdir)
734 (ido-virtual, ido-indicator, ido-incomplete-regexp):
735 * speedbar.el (speedbar-button-face, speedbar-file-face)
736 (speedbar-directory-face, speedbar-tag-face)
737 (speedbar-selected-face, speedbar-highlight-face)
738 (speedbar-separator-face):
739 * whitespace.el (whitespace-newline, whitespace-space)
740 (whitespace-hspace, whitespace-tab, whitespace-trailing)
741 (whitespace-line, whitespace-space-before-tab)
742 (whitespace-space-after-tab, whitespace-indentation)
743 (whitespace-empty):
744 * emulation/cua-base.el (cua-global-mark):
745 * eshell/em-prompt.el (eshell-prompt):
746 * net/newst-plainview.el (newsticker-new-item-face)
747 (newsticker-old-item-face, newsticker-immortal-item-face)
748 (newsticker-obsolete-item-face, newsticker-date-face)
749 (newsticker-statistics-face, newsticker-default-face):
750 * net/newst-reader.el (newsticker-feed-face)
751 (newsticker-extra-face, newsticker-enclosure-face):
752 * net/newst-treeview.el (newsticker-treeview-face)
753 (newsticker-treeview-new-face, newsticker-treeview-old-face)
754 (newsticker-treeview-immortal-face)
755 (newsticker-treeview-obsolete-face)
756 (newsticker-treeview-selection-face):
757 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
758 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
759 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
760 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
761 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
762 (nxml-outline-active-indicator, nxml-outline-ellipsis):
763 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
764 (mpuz-text):
765 * progmodes/vera-mode.el (vera-font-lock-number)
766 (vera-font-lock-function, vera-font-lock-interface):
767 * textmodes/table.el (table-cell): Use new-style face specs, and
768 don't use the old :bold and :italic attributes.
769
770 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
771 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
772 (ebrowse-member-class, ebrowse-progress): Likewise.
773 (ebrowse-tree-mark-face, ebrowse-root-class-face)
774 (ebrowse-file-name-face, ebrowse-default-face)
775 (ebrowse-member-attribute-face, ebrowse-member-class-face)
776 (ebrowse-progress-face): Remove obsolete faces.
777
778 * progmodes/flymake.el (flymake-errline, flymake-warnline):
779 Inherit from error and warning faces respectively.
780
781 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
782 Likewise.
f80efb86
SM
783 (flyspell-incorrect-face, flyspell-duplicate-face):
784 Remove obsolete aliases.
4b56d0fe 785
03310646
MA
7862012-06-08 Michael Albinus <michael.albinus@gmx.de>
787
788 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
789 Avoid infloop.
790
513749ee
SM
7912012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * startup.el (argv, argi): Make lexically scoped.
794 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
795 * emacs-lisp/cl-macs.el: Use lexical-binding.
796 Rename cl-bind-* to cl--bind-*.
797 * files.el: Don't require `cl' since it doesn't use it.
798 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
799
595ef4ad
JB
8002012-06-08 Juanma Barranquero <lekktu@gmail.com>
801
802 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
803 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
804 instead of calling external sort utility.
805 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
806
e9f66fcb
EZ
8072012-06-08 Eli Zaretskii <eliz@gnu.org>
808
809 * descr-text.el (describe-char): Mention how to insert the
810 character, if the current input method doesn't support it.
811 See the discussion in this thread for the details:
812 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
813
3d10db47
SS
8142012-06-08 Sam Steingold <sds@gnu.org>
815
816 * bindings.el (global-map): Bind XF86Forward to next-buffer and
817 XF86Back to previous-buffer.
818 (minibuffer-local-map): Bind them to next-history-element and
819 previous-history-element respectively.
820 * help-mode.el (help-mode-map): Bind them to help-go-forward and
821 help-go-back respectively.
822 * info.el (Info-mode-map): Bind them to Info-history-forward and
823 Info-history-back respectively.
824 These are the keys next to Up on the ThinkPad keyboard.
825
de7e2b36
SM
8262012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
829 * emacs-lisp/cl-macs.el: Provide itself.
830 (cl--labels-convert-cache): New var.
831 (cl--labels-convert): New function.
832 (cl-flet, cl-labels): New implementation with new semantics, relying on
833 lexical-binding.
834 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
835 (cl-closure-vars, cl--function-convert-cache)
836 (cl--function-convert): Move from cl-macs.el.
837 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
838 rename by removing the "cl-" prefix.
839 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
840
6fa6c4ae
SM
8412012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
844 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
845 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
846 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
847 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
848 (cl-hash-table-count): Add old compatibility aliases.
849
850 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
851 Use macroexpand-all-environment instead.
852 (cl--old-macroexpand): New var.
853 (cl--sm-macroexpand): New function.
854 (cl-symbol-macrolet): Use it during macro expansion.
855 (cl--function-convert-cache): New var.
856 (cl--function-convert): New function, extracted from
857 cl-macroexpand-all.
858 (cl-lexical-let): Use it.
859
860 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
861 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
862 (cl-member): Remove old alias.
863
864 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
865 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
866 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
867 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
868 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
869 (cl-macroexpand-cmacs): Remove var.
870 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
871 Use macroexpand-all instead.
872
4dd1c416
SM
8732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
876 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
877 (macroexp-copyable-p): New functions and macros.
878 * emacs-lisp/edebug.el (edebug-unwrap):
879 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
880 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
881 (pcase--let*): Remove.
882 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
883 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
884 macroexp-const-p instead.
885 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
886
887 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
888 instead of "cl-" for internal definitions. Use macroexp-const-p.
889 (cl-old-bc-file-form): Remove var.
890 (cl-const-exprs-p): Remove fun.
891 (cl-labels, cl-macrolet): Use backquote.
892 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
893 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
894 (cl-define-setf-expander): Rename from cl-define-setf-method.
895 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
896
897 * international/mule-cmds.el: Don't require CL.
898 (view-hello-file): Don't use `letf'.
899
ed8bd4d7
SM
9002012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
901
7287f2f3
SM
902 * tmm.el (tmm-prompt): Use string-prefix-p.
903 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
904 (tmm-add-prompt): Use minibuffer-completion-help.
905 (tmm-delete-map): Remove.
906
ed8bd4d7
SM
907 * subr.el (kbd): Make it its own function.
908
7b4cdbf4
SM
9092012-06-07 Stefan Merten <smerten@oekonux.de>
910
911 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
912 Silence compiler warnings. Fix versions.
ed8bd4d7 913 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 914 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 915 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
916 (rst-package-emacs-version-alist): Correct Emacs version to
917 represent major merge with upstream.
ed8bd4d7 918 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 919
2b48d721
GM
9202012-06-06 Glenn Morris <rgm@gnu.org>
921
922 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
923 Only print environment variables if set.
924
fa779ab0
SM
9252012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
928 (macroexp--cons): Rename from maybe-cons.
929 (macroexp--accumulate): Rename from macroexp-accumulate.
930 (macroexp--all-forms): Rename from macroexpand-all-forms.
931 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
932 (macroexp--expand-all): Rename from macroexpand-all-1.
933
628299e0
SS
9342012-06-06 Sam Steingold <sds@gnu.org>
935
936 * calendar/calendar.el (calendar-in-read-only-buffer):
937 Call `special-mode' to enable the standard read-only keybindings.
938
b7bb5838
SM
9392012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
942 with "loading" messages (bug#11635).
943
dfb308ba
MA
9442012-06-06 Michael Albinus <michael.albinus@gmx.de>
945
946 * files.el (enable-remote-dir-locals): New option.
947 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
948
0372ee92
MA
949 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
950 Ensure, that the temp directory is local.
951
952 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
953 `temporary-file-directory'.
954
eed0bb91
MA
955 * progmodes/python.el (python-send-region): Ensure, that the
956 temporary file is created also in the remote case.
957
7a58f64d
GM
9582012-06-06 Glenn Morris <rgm@gnu.org>
959
f7dd4e98
GM
960 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
961 (vc-rcs-update-changelog): Use it.
962
276d5f5d
GM
963 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
964
7a58f64d
GM
965 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
966 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
967 (vc-sccs-diff): Replace use of the external vcdiff script.
968
daed4003
GM
9692012-06-05 Glenn Morris <rgm@gnu.org>
970
971 * ledit.el: Move to obsolete/.
972
48c455c7
SS
9732012-06-05 Sam Steingold <sds@gnu.org>
974
975 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
976 patch (Bug#11140).
977
57a7d507
SM
9782012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
979
d32926ff
SM
980 * emacs-list/cust-print.el: Move to obsolete.
981
53aacf21
SM
982 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
983 compiler-macro expansion.
984
57a7d507
SM
985 Add native compiler-macro support.
986 * emacs-lisp/macroexp.el (macroexpand-all-1):
987 Support compiler-macros directly. Properly follow aliases and apply
988 the compiler macros more thoroughly.
989 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
990 macroexpand now properly follows aliases.
991 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
992 (cl-compiler-macroexpand): Use new prop.
993 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
994
995 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
996
51a5f9d8
MR
9972012-06-05 Martin Rudalics <rudalics@gmx.at>
998
999 * window.el (get-lru-window, get-mru-window, get-largest-window):
1000 New argument NOT-SELECTED to avoid picking the selected window.
1001 (window--display-buffer-1, window--display-buffer-2): Replace by
1002 new function window--display-buffer
1003 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1004 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1005 Use window--display-buffer.
51a5f9d8
MR
1006 (display-buffer-use-some-window): Remove temporary dedication
1007 hack by calling get-lru-window and get-largest-window with
1008 NOT-SELECTED argument non-nil. Call window--display-buffer.
1009
08f9f738
GM
10102012-06-05 Glenn Morris <rgm@gnu.org>
1011
1012 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1013 Replace external vcdiff script.
1014
e364a2b7
SM
10152012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1016
1017 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1018
041df390
CY
10192012-06-04 Chong Yidong <cyd@gnu.org>
1020
e364a2b7
SM
1021 * image.el (imagemagick-types-inhibit): Revert last change.
1022 Add INFO and M.
47b36b94 1023 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1024
7c1898a7
SM
10252012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * emacs-lisp/cl-lib.el: Rename from cl.el.
1028 * emacs-lisp/cl.el: New compatibility file.
1029 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1030 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1031 to obey the "cl-" prefix.
1032 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1033
0c3461de
GM
10342012-06-03 Glenn Morris <rgm@gnu.org>
1035
1e266c88
GM
1036 * emacs-lisp/authors.el (authors-aliases): Addition.
1037
0c3461de
GM
1038 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1039 Fix :version.
1040
d8a52e15
SM
10412012-06-03 Stefan Merten <smerten@oekonux.de>
1042
1043 * textmodes/rst.el: Add comments.
1044 (rst-transition, rst-adornment): New faces.
1045 (rst-adornment-faces-alist): Make default safe to reevaluate.
1046 Fixes
1047 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1048 Improve customization tags.
1049 (rst-define-level-faces): Clarify meaning.
1050
5205d6f6
CY
10512012-06-03 Chong Yidong <cyd@gnu.org>
1052
1053 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1054 (compilation-mode-line-run, compilation-mode-line-exit):
1055 New faces.
5205d6f6
CY
1056 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1057
757ee657
JD
10582012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1059
7c1898a7
SM
1060 * progmodes/which-func.el (which-func-update-ediff-windows):
1061 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1062
5f2c76c6
CY
10632012-06-03 Chong Yidong <cyd@gnu.org>
1064
1065 * bindings.el: Remove explicit help text from format-mode-line.
1066 It is now supplied by mode-line-default-help-echo.
1067 (mode-line-front-space, mode-line-end-spaces)
1068 (mode-line-misc-info): New variables.
1069 (mode-line-modes, mode-line-position): Move the default value to
1070 the variable definition.
1071 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1072 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1073 (mode-line-modified-help-echo): New functions.
1074 (mode-line-mule-info, mode-line-modified): Use them.
1075 (mode-line-eol-desc, propertized-buffer-identification):
1076 Consistency fixes for help text.
cbe46e5f
CY
1077 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1078 set-buffer-file-coding-system (Bug#289).
1079 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1080
f2d6a3df
SM
10812012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * simple.el (execute-extended-command): Set real-this-command
1084 (bug#11506).
1085
37269466
CY
10862012-06-02 Chong Yidong <cyd@gnu.org>
1087
1088 Remove incorrect uses of "modeline" in comments, docstrings, and
1089 function/variable names (Bug#10329).
1090
1091 * cus-edit.el (mode-line):
1092 * dframe.el (dframe-mouse-hscroll):
1093 * emacs-lisp/re-builder.el:
1094 * emacs-lisp/easy-mmode.el (define-minor-mode):
1095 * frame.el (set-frame-name):
1096 * help.el (lookup-minor-mode-from-indicator):
1097 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1098 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1099 (c-toggle-hungry-state):
1100 * progmodes/antlr-mode.el (antlr-language-alist):
1101 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1102 * progmodes/vhdl-mode.el (vhdl-mode):
1103 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1104 * term/ns-win.el (ns-face-at-pos):
1105 * term/sup-mouse.el (sup-mouse-report):
1106 * textmodes/flyspell.el (flyspell-mode-line-string):
1107 * textmodes/ispell.el (ispell-highlight-face):
1108 * textmodes/reftex-global.el:
1109 * vc/vc-arch.el (vc-arch-mode-line-string):
1110 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1111 * vc/vc-git.el (vc-git-mode-line-string):
1112 * vc/vc-hooks.el (vc-display-status)
1113 (vc-default-mode-line-string):
1114 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1115
1116 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1117
1118 * dired.el (dired-sort-set-mode-line): Rename from
1119 dired-sort-set-modeline. All callers changed.
1120
1121 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1122 eshell-status-in-modeline.
1123
1124 * foldout.el (foldout-mode-line-string): Rename from
1125 foldout-modeline-string. All callers changed.
1126 (foldout-update-mode-line): Rename from foldout-update-modeline.
1127
1128 * subr.el (redraw-modeline): Make into obsolete alias.
1129
1130 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1131 timeclock-modeline-display. Make old name an alias.
1132 (timeclock-update-mode-line): Likewise. All callers changed.
1133 (timeclock-mode-line-display): No need to check before using
1134 add-hook.
1135 (timeclock-relative, timeclock-day-over-hook)
1136 (timeclock-use-elapsed, timeclock-mode-string)
1137 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1138
1139 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1140 crisp-mode-modeline-string.
1141
1142 * play/solitaire.el (solitaire-build-mode-line): Rename from
1143 solitaire-build-modeline. All callers changed.
1144
1145 * play/zone.el (zone-hiding-mode-line): Rename from
1146 zone-hiding-modeline. All callers changed.
1147 (zone): Remove unusued `modeline-hidden-level' property.
1148
1149 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1150 xscheme-modeline-initialize. All callers changed.
1151
1152 * strokes.el (strokes-lighter): Rename from
1153 strokes-modeline-string.
1154
1155 * textmodes/sgml-mode.el (html-face-tag-alist)
1156 (html-tag-face-alist): Use mode-line face instead of obsolete
1157 alias modeline.
1158
42152ee4
SM
11592012-06-02 Stefan Merten <smerten@oekonux.de>
1160
1161 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1162 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1163
95f520b5
CY
11642012-06-02 Chong Yidong <cyd@gnu.org>
1165
1166 * image.el (imagemagick-enabled-types): Rename from
1167 imagemagick-types-enable. Add many more types.
1168 (imagemagick-types-inhibit): Change default to nil.
1169 (imagemagick-filter-types): Caller changed.
1170
4a5f187a
SM
11712012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1172
03fef3e6
SM
1173 * emacs-lisp/cl-macs.el: Use backquotes.
1174 (cl-transform-function-property): Use eval-and-compile rather than
1175 abusing `require'.
1176 (defstruct): Use declare-function instead of with-no-warnings.
1177
4a5f187a
SM
1178 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1179 (byte-compile-output-docform): Re-add the print-circle bindings.
1180 (byte-compile-fix-header): Use #$ just because it's shorter.
1181 (byte-compile-output-file-form): Remove defun/defmacro.
1182
bd56924f
MR
11832012-06-01 Martin Rudalics <rudalics@gmx.at>
1184
1185 * simple.el (choose-completion): Remove now obsolete binding for
1186 owindow.
1187
046e38ce
MA
11882012-06-01 Michael Albinus <michael.albinus@gmx.de>
1189
1190 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1191 in order to avoid "Stack overflow in regexp matcher".
1192
32d72c2f
GM
11932012-05-31 Glenn Morris <rgm@gnu.org>
1194
1195 * image.el: For clarity, call imagemagick-register-types at
1196 top-level, rather than relying on a custom :initialize.
1197 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1198 (imagemagick-filter-types): New function. (Bug#7406)
1199 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1200 If disabling support, remove elements altogether rather
1201 than using an impossible regexp.
1202 (imagemagick-types-inhibit): Give it the default init function.
1203
dd41169b
SM
12042012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1205
4a5f187a
SM
1206 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1207 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1208
efc00ab1 12092012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1210
1211 * desktop.el (desktop-read): Clear previous and next buffers for
1212 all windows and bury *Messages* buffer (bug#11556).
1213
500fcedc
SM
12142012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 Add `declare' for `defun'. Align `defmacro's with it.
1217 * emacs-lisp/easy-mmode.el (define-minor-mode)
1218 (define-globalized-minor-mode): Don't autoload the var definitions.
1219 * emacs-lisp/byte-run.el: Use lexical-binding.
1220 (defun-declarations-alist, macro-declarations-alist): New vars.
1221 (defmacro, defun): Use them.
1222 (make-obsolete, define-obsolete-function-alias)
1223 (make-obsolete-variable, define-obsolete-variable-alias):
1224 Use `declare'.
1225 (macro-declaration-function): Mark obsolete.
1226 * emacs-lisp/autoload.el: Use lexical-binding.
1227 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1228
6e8a1786
AM
12292012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1230
1231 * textmodes/ispell.el (ispell-with-no-warnings):
1232 Define as a macro.
500fcedc
SM
1233 (ispell-kill-ispell, ispell-change-dictionary):
1234 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1235 `interactive-p'.
1236
61b108cc
SM
12372012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1240 (macro-declaration-function): Move var from C code.
1241 (macro-declaration-function): Define function with defalias.
1242 * emacs-lisp/macroexp.el (macroexpand-all-1):
1243 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1244 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1245 defun/defmacro any more.
1246 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1247 Provide fallback for unknown arglist.
1248 (byte-compile-arglist-warn): Change calling convention.
1249 (byte-compile-output-file-form): Move print-vars binding.
1250 (byte-compile-output-docform): Simplify accordingly.
1251 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1252 (byte-compile-defmacro-declaration): Remove.
1253 (byte-compile-file-form-defmumble): Generalize to defalias.
1254 (byte-compile-output-as-comment): Return byte-positions.
1255 Simplify callers accordingly.
1256 (byte-compile-lambda): Use `assert'.
1257 (byte-compile-defun, byte-compile-defmacro): Remove.
1258 (byte-compile-file-form-defalias):
1259 Use byte-compile-file-form-defmumble.
1260 (byte-compile-defalias-warn): Remove.
1261
6d3f7c2f
SM
12622012-05-29 Stefan Merten <smerten@oekonux.de>
1263
1264 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1265 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1266
1267 (rst-mode-abbrev-table): Merge definition.
1268 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1269 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1270
6dbaa1c7
UJ
12712012-05-29 Ulf Jasper <ulf.jasper@web.de>
1272
1273 * calendar/icalendar.el
1274 (icalendar-export-region): Export UID properly.
1275
12762012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1277 * calendar/icalendar.el (icalendar-import-format):
1278 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1279 (icalendar-import-format-uid): New.
1280 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1281 Export UID.
1282
6876a58d
SM
12832012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1286 different alternative patterns.
1287 (pcase-codegen): Be more careful to preserve identity.
1288 (pcase--u1): Don't forget to mark vars as used.
1289
1290 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1291 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1292 (byte-compile-from-buffer): ...rather than here.
1293
1294 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1295 functions from byte-compile-function-environment.
1296
46b7967e
TN
12972012-05-29 Troels Nielsen <bn.troels@gmail.com>
1298
1299 * window.el (window-deletable-p): Avoid deleting the root window
1300 of a frame with an active minibuffer.
1301
69d565e2
MR
13022012-05-29 Martin Rudalics <rudalics@gmx.at>
1303
1304 * simple.el (choose-completion): Use quit-window (Bug#11567).
1305
a149fa51
CY
13062012-05-29 Chong Yidong <cyd@gnu.org>
1307
1308 * whitespace.el (whitespace-cleanup): Fix usage of
1309 whitespace-empty-at-bob-regexp (Bug#11492).
1310
2b311310
AH
13112012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1312
1313 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1314 revert (Bug#11488).
1315
b9cb2387
JL
13162012-05-29 Juri Linkov <juri@jurta.org>
1317
1318 * isearch.el (isearch-mode-map): Bind `M-s _' to
1319 `isearch-toggle-symbol'. Bind `M-s c' to
1320 `isearch-toggle-case-fold'.
1321 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1322 (isearch-forward): Add `M-s _' to the docstring.
1323 (isearch-forward-symbol, isearch-toggle-case-fold)
1324 (isearch-symbol-regexp): New functions. (Bug#11381)
1325
d5e61c1c
JL
13262012-05-29 Juri Linkov <juri@jurta.org>
1327
1328 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1329 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1330 a function, call it to get the regexp.
1331 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1332 property `isearch-message-prefix' instead of the string "word ".
1333 (isearch-search-fun-default): For the case of `isearch-word',
1334 return a lambda that calls re-search-forward/re-search-backward
1335 with a regexp returned by `word-search-regexp' or by the function
1336 in `isearch-word'.
1337
8cbd80f7
JL
13382012-05-29 Juri Linkov <juri@jurta.org>
1339
1340 * isearch.el (isearch-search-fun-default): New function.
1341 (isearch-search-fun): Move default part to the new function
1342 `isearch-search-fun-default'.
1343 (isearch-search-fun-function): Set the default value to
1344 `isearch-search-fun-default'. (Bug#11381)
1345
1346 * comint.el (comint-history-isearch-end):
1347 Use `isearch-search-fun-default'.
1348 (comint-history-isearch-search): Use `isearch-search-fun-default'
1349 and remove spacial case for `isearch-word'.
1350 (comint-history-isearch-wrap): Remove spacial case for
1351 `isearch-word'.
1352
1353 * hexl.el (hexl-isearch-search-function):
1354 Use `isearch-search-fun-default'.
1355
1356 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1357 Use `word-search-regexp' for `isearch-word'.
1358
1359 * misearch.el (multi-isearch-search-fun):
1360 Use `isearch-search-fun-default'.
1361
1362 * simple.el (minibuffer-history-isearch-search):
1363 Use `isearch-search-fun-default' and remove spacial case for
1364 `isearch-word'.
1365 (minibuffer-history-isearch-wrap): Remove spacial case for
1366 `isearch-word'.
1367
1368 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1369 Remove spacial case for `isearch-word'.
1370 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1371
85c8c5b6
AM
13722012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1373
1374 Decrease XEmacs incompatibilities.
1375 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1376 Use `string-match'.
1377 (flyspell-delete-region-overlays): Use alternative definition for
1378 XEmacs.
1379 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1380 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1381 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1382 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1383 `define-obsolete-face-alias' under XEmacs, but old method.
1384
1385 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1386 `with-no-warnings' definition or Emacs alias.
1387 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1388 (ispell-word): Do not use `region-p' if XEmacs.
1389
8cab9efc
AM
13902012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1391
1392 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1393 Check for `ispell-dictionary-base-alist' instead of full
1394 `ispell-dictionary-alist'.
1395 (ispell-init-process): Show spellchecker when starting new Ispell
1396 process.
1397
fda91268
RZ
13982012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1401 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1402
694ea8e3
JB
14032012-05-27 Juanma Barranquero <lekktu@gmail.com>
1404
1405 * version.el (motif-version-string, gtk-version-string)
1406 (ns-version-string): Declare.
1407
e4d4f539
JL
14082012-05-27 Juri Linkov <juri@jurta.org>
1409
1410 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1411 after the `eval-defun-1' specialcaseing
1412 like in `edebug-eval-defun' (bug#10181).
1413
1414 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1415 like in `eval-defun-1'.
1416
33017faf 14172012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1418
fda91268
RZ
1419 * mail/sendmail.el (mail-yank-region):
1420 Recognize rmail-yank-current-message in addition to insert-buffer.
1421 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1422 a *mail* buffer created through rmail-start-mail with sendmail as
1423 mail-user-agent.
1424
33017faf
GM
14252012-05-27 Chong Yidong <cyd@gnu.org>
1426
1427 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1428 Default to 256 (Bug#11267).
1429
1430 * help.el (describe-mode): Doc fix.
1431
04188bb9
GM
14322012-05-26 Glenn Morris <rgm@gnu.org>
1433
38264cc9
GM
1434 * w32-fns.el (w32-init-info): Remove.
1435 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1436
eb7afdad
GM
1437 * info.el (info-initialize): For self-contained NS builds, put the
1438 included info/ directory at the front. (Bug#2791)
1439
04188bb9
GM
1440 * paths.el (Info-default-directory-list): Make it a defcustom,
1441 mainly so that we can use custom-initialize-delay.
1442
a179e3f7
SM
14432012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1444
43416392
SM
1445 * subr.el (buffer-has-markers-at): Mark obsolete.
1446
a179e3f7 1447 * subr.el (lambda): Use declare.
43416392 1448
a179e3f7
SM
1449 * emacs-lisp/lisp-mode.el (lambda):
1450 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1451
34a008d9
AH
14522012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1453
1454 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1455
0a3b289f
GM
14562012-05-26 Glenn Morris <rgm@gnu.org>
1457
1458 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1459
758c81e8
GM
14602012-05-25 Glenn Morris <rgm@gnu.org>
1461
f9f334f0
GM
1462 * paths.el: Remove no-byte-compile.
1463 * loadup.el: No need to load paths.el uncompiled.
1464
87eb79c2
GM
1465 * image.el (imagemagick-types-inhibit): Doc fix.
1466
758c81e8
GM
1467 * version.el: Remove no-byte-compile and associated formatting.
1468 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1469 is ancient code from when there was an "inc-vers.el".
1470
e7e85dc0
SM
14712012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * progmodes/gdb-mi.el: Minor style changes.
1474 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1475 Turn into minor modes.
1476 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1477 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1478 (gdb-shell): Remove unneeded let-binding.
1479 (gdb-get-many-fields): Eliminate O(n²) behavior.
1480
f31237a4
EZ
14812012-05-25 Eli Zaretskii <eliz@gnu.org>
1482
1483 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1484 platforms that don't link in fontset.c.
1485
bc1b21bb
JL
14862012-05-25 Juri Linkov <juri@jurta.org>
1487
1488 Use the same diff color scheme as in modern VCSes (bug#10181).
1489
1490 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1491 to avoid confusion with `diff-added' that now uses green colors.
1492 (diff-removed): Use shades of red.
1493 (diff-added): Use shades of green.
1494 (diff-changed): Leave just the yellow color.
1495 (diff-use-changed-face): New variable.
1496 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1497 how to highlight context diff changes.
1498 (diff-refine-change): Use shades of yellow.
1499 (diff-refine-removed): New face that uses shades of red.
1500 (diff-refine-added): New face that uses shades of green.
1501 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1502 `diff-refine-removed' in the call to `smerge-refine-subst'
1503 depending on the value of `diff-use-changed-face'.
1504
1505 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1506 (smerge-other): Use shades of green.
1507 (smerge-base): Use shades of yellow.
1508 (smerge-refined-change): Empty face.
1509 (smerge-refined-removed): New face that uses shades of red.
1510 (smerge-refined-added): New face that uses shades of green.
1511 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1512 args `props-r' and `props-a', and use them. Doc fix.
1513 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1514 on its value use different faces `smerge-refined-change',
1515 `smerge-refined-removed', `smerge-refined-added' in the call to
1516 `smerge-refine-subst'.
1517
1518 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1519 Add face condition `min-colors 88' with shades of red.
1520 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1521 `min-colors 88' with shades of green.
1522 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1523 `min-colors 88' with shades of yellow.
1524
6df9112c
GM
15252012-05-24 Glenn Morris <rgm@gnu.org>
1526
ead5edc0
GM
1527 * paths.el (prune-directory-list, remote-shell-program): Move to...
1528 * files.el (prune-directory-list, remote-shell-program): ...here.
1529 For the latter, delay initialization, prefer ssh, just search PATH.
1530
f18b81e6
GM
1531 * paths.el (term-file-prefix): Move to faces.el (the only user).
1532 * faces.el (term-file-prefix): Move here, make it a defcustom.
1533
ee2f89a6
GM
1534 * paths.el (news-directory, news-path, news-inews-program):
1535 Move to gnus/nnspool.el.
61a583ca 1536
f8815e4c
GM
1537 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1538
c8f3b42c
GM
1539 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1540 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1541 Make the latter a defcustom, with a delayed initialization.
1542
6df9112c
GM
1543 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1544 These were deleted from Gnus itself late 2010.
1545
5dadff36
JB
15462012-05-22 Juanma Barranquero <lekktu@gmail.com>
1547
9e1701c6
JB
1548 * progmodes/which-func.el (which-func-ff-hook):
1549 Check against user-error, not error.
1550
bd7239f5 1551 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1552 cl-specs.el, which no longer exists.
1553
3290526d
GM
15542012-05-22 Glenn Morris <rgm@gnu.org>
1555
1556 * info.el (info-emacs-bug): New command.
1557 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1558 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1559
ff0c3cfb
GM
15602012-05-21 Glenn Morris <rgm@gnu.org>
1561
1562 * makefile.w32-in (update-subdirs-SH):
1563 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1564
5814f126
SM
15652012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1566
a52c0aa0
SM
1567 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1568
5814f126
SM
1569 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1570 Simplify Maven regexp, and make sure the file can't start with a space
1571 (bug#11517).
1572
b847032c
GM
15732012-05-21 Glenn Morris <rgm@gnu.org>
1574
1575 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1576 Scrap superfluous subshells.
1577
3858bfe7
SM
15782012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1581 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1582
d14b0029
JB
15832012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1584
1585 * calc/calc.el (calc-ensure-consistent-units): New variable.
1586
a52c0aa0
SM
1587 * calc/calc-units.el (math-consistent-units-p)
1588 (math-check-unit-consistency): New functions.
1589 (calc-quick-units, calc-convert-units):
1590 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1591 is non-nil.
d14b0029
JB
1592 (calc-extract-units): Fix typo.
1593
60c4db3a
SM
15942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1595
77f3b62e
SM
1596 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1597
60c4db3a
SM
1598 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1599 (flyspell-default-deplacement-commands): Don't spell check after
1600 repeated window/frame switches (e.g. triggered by mouse-movement).
1601 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1602 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1603 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1604 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1605 Remove unused vars.
1606 (flyspell-get-casechars, flyspell-get-not-casechars):
1607 Simplify; Don't bother removing a ] just to add it back.
1608 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1609
b1a10716
RS
16102012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1611
1612 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1613 New functions.
bd7239f5 1614 (math-function-table): Add support for more C functions.
b1a10716 1615
3f1b25b5
AM
16162012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1617
1618 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1619 (flyspell-debug-signal-word-checked): Protect delay handling for
1620 otherchars against empty otherchars.
1621
b581bb5c
SM
16222012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1625 their respective macro declarations.
1626 * skeleton.el (define-skeleton):
1627 * progmodes/compile.el (define-compilation-mode):
1628 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1629 (define-ibuffer-filter):
1630 * emacs-lisp/generic.el (define-generic-mode):
1631 * emacs-lisp/easy-mmode.el (define-minor-mode)
1632 (define-globalized-minor-mode):
1633 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1634 * emacs-lisp/byte-run.el (defsubst):
1635 * custom.el (deftheme): Add doc-string metadata.
1636
70b8ef8f
SM
16372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1640
b1198e17
SM
16412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1642
9abdc45d
SM
1643 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1644
b1198e17
SM
1645 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1646 * emacs-lisp/cl-macs.el: Idem.
1647 * emacs-lisp/cl-specs.el: Remove.
1648
4735906a
SM
16492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 Minor renaming of internal CL functions and variables.
1652 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1653 (cl--position): Rename from cl-position.
1654 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1655 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1656 (cl--random-state): Rename from *random-state*.
1657
ac348012
SM
16582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1661 parens around the arg list (bug#11499).
1662
a0a79cde
JL
16632012-05-17 Juri Linkov <juri@jurta.org>
1664
1665 * isearch.el (word-search-regexp, word-search-backward)
1666 (word-search-forward, word-search-backward-lax)
1667 (word-search-forward-lax): Move functions from search.c
1668 (bug#10145, bug#11381).
1669
65034a51
AM
16702012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1671
1672 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1673 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1674 normal word components.
1675
1a72a195
SM
16762012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * minibuffer.el (completion--sifn-requote): Fix last change.
1679 (minibuffer-local-must-match-filename-map):
1680 Move define-obsolete-variable-alias before its var.
1681
fdb058c2
SM
16822012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1683
c41045e6
SM
1684 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1685
036dfb8b
SM
1686 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1687 behavior.
1688 (completion--string-equal-p): New function.
1689 (completion--twq-all): Use it to get better assertion failure data.
1690
2473256d
SM
1691 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1692 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1693 (shell--requote-argument): New functions.
1694 (shell-completion-vars): Use them.
1695 (shell--parse-pcomplete-arguments): Rename from
1696 shell-parse-pcomplete-arguments.
1697 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1698 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1699 Obey comint-file-name-quote-list.
1700
fdb058c2
SM
1701 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1702 (smie-indent-keyword): Use it.
1703
51fa99f1
SM
17042012-05-14 Stefan Merten <smerten@oekonux.de>
1705
1706 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1707
e18afed7 17082012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1709
1710 * net/rlogin.el (rlogin-mode-map): Fix last change.
1711
e18afed7 17122012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1713
1714 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1715 the following \r\n using a single `process-send-string', since the
1716 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1717 with two `process-send-string's (Bug#11444).
8633b1f4 1718
e18afed7 17192012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1720
fdb058c2
SM
1721 * shell.el (shell-parse-pcomplete-arguments):
1722 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1723
2d21d7f6
WJ
17242012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1725
e18afed7 1726 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1727 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1728 (image-transform-width, image-transform-fit-width): New functions.
1729 (image-transform-properties): Use them.
1730 (image-transform-check-size): New function.
1731 (image-toggle-display-image): Use it (for testing).
1732 (image-transform-set-rotation): Reduce angle mod 360.
1733 Delete obsolete comment.
1734
7102e6d0
WJ
17352012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1736
1737 * image-mode.el: Fix scaling (bug#11399).
1738 (image-transform-resize): Doc fix.
1739 (image-transform-properties): Default scale is 1 and height should
1740 be an integer.
1741
06bc5e6e
SM
17422012-05-13 Johan Bockgård <bojohan@gnu.org>
1743
1744 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1745 than hard-coding `car', to fix misbehavior when moving forward.
1746
0ae03b6a
CY
17472012-05-13 Chong Yidong <cyd@gnu.org>
1748
1749 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1750 (tabulated-list-entries, tabulated-list-padding)
1751 (tabulated-list-sort-key): Make permanent-local.
1752
1753 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1754 (electric-buffer-list): Put electric buffer menu
1755 command descriptions in this docstring, instead of the docstring
1756 of electric-buffer-menu-mode. Code cleanups.
1757 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1758 Electric-buffer-menu-mode.
1759 (electric-buffer-update-highlight): Minor code cleanup.
1760
205a7391
MA
17612012-05-13 Michael Albinus <michael.albinus@gmx.de>
1762
1763 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1764 (Bug#11447)
1765
e5bd0a28
SM
17662012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 Move define-obsolete-variable-alias before the var's definition.
1769 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1770 * tooltip.el (tooltip-hook):
1771 * textmodes/reftex-toc.el (reftex-toc-map):
1772 * textmodes/reftex-sel.el (reftex-select-label-map)
1773 (reftex-select-bib-map):
1774 * textmodes/reftex-index.el (reftex-index-map)
1775 (reftex-index-phrases-map):
1776 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1777 * progmodes/meta-mode.el (meta-mode-map):
1778 * novice.el (disabled-command-hook):
1779 * loadhist.el (unload-hook-features-list):
1780 * frame.el (blink-cursor):
1781 * files.el (find-file-not-found-hooks, write-file-hooks)
1782 (write-contents-hooks):
1783 * emulation/tpu-edt.el (GOLD-map):
1784 * emacs-lock.el (emacs-lock-from-exiting):
1785 * emacs-lisp/generic.el (generic-font-lock-defaults):
1786 * emacs-lisp/chart.el (chart-map):
1787 * dos-fns.el (register-name-alist):
1788 * dired-x.el (dired-omit-files-p):
1789 * desktop.el (desktop-enable):
1790 * cus-edit.el (custom-mode-hook):
1791 * buff-menu.el (buffer-menu-mode-hook):
1792 * bookmark.el (bookmark-read-annotation-text-func)
1793 (bookmark-exit-hooks):
1794 * allout.el (allout-mode-deactivate-hook)
1795 (allout-exposure-change-hook, allout-structure-added-hook)
1796 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1797 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1798 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1799 comes before the corresponding variable's definition.
1800
ac59c2f6
CY
18012012-05-12 Chong Yidong <cyd@gnu.org>
1802
1803 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1804 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1805 (Buffer-menu-mode-map): Bind it.
1806 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1807
dee6c9a3
SM
18082012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1809
2171cea5
SM
1810 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1811 (prolog-upper-case-string, prolog-lower-case-string)
1812 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1813 (prolog-use-smie, prolog-smie-grammar): New vars.
1814 (prolog-smie-forward-token, prolog-smie-backward-token)
1815 (prolog-smie-rules): New funs.
1816 (prolog-comment-indent): Remove.
1817 (prolog-mode-variables): Use default comment indentation instead.
1818 Setup SMIE.
1819 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1820 (prolog-mode): Don't call them any more.
1821 (prolog-electric-colon, prolog-electric-dash)
1822 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1823
aa0382bd
SM
1824 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1825
dbacb4bd
SM
1826 * minibuffer.el (completion--twq-all): Again, allow case differences.
1827
13bdd94c
SM
1828 * term.el: Move keymap initialization code to be more idiomatic.
1829 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1830 (term-terminal-menu): Move initialization into declaration.
1831 (term-escape-char): Let the user set it in her .emacs.
1832
ff46c759
SM
1833 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1834 Provide SMIE-based indentation (not enabled by default yet).
1835 (sh-mode-map): Don't bind electric keys.
1836 Use electric-pair-mode instead of skeleton-pair.
1837 (sh-assignment-regexp): Fit within 80 columns.
1838 (sh-indent-supported): Specify actual shell name instead of boolean.
1839 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1840 (sh-maybe-here-document): Use it. Make obsolete.
1841 (sh-electric-here-document-mode) New minor mode.
1842 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1843 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1844 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1845 (sh-smie-rc-grammar, sh-use-smie): New vars.
1846 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1847 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1848 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1849 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1850 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1851 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1852 (sh-set-shell): Use smie-setup if requested.
1853
dee6c9a3
SM
1854 * term.el (term-set-escape-char): Properly set term-escape-char.
1855 See http://stackoverflow.com/questions/10524656.
1856
9f9aa044
CY
18572012-05-10 Chong Yidong <cyd@gnu.org>
1858
1859 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1860 Use url-generic-parse-url, and handle host names and Windows
1861 filenames properly.
1862 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1863 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1864 URL schemes to work on.
1865 (ffap--toggle-read-only): New function.
1866 (ffap-read-only, ffap-read-only-other-window)
1867 (ffap-read-only-other-frame): Use it.
1868 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1869 necessary for ffap-url-unwrap-remote.
1870
836d29b3
DA
18712012-05-10 Dave Abrahams <dave@boostpro.com>
1872
1873 * cus-start.el (create-lockfiles): Add it.
1874
00fd78ed
CY
18752012-05-09 Chong Yidong <cyd@gnu.org>
1876
1877 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1878 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1879
666b903b 18802012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1881
1882 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1883
666b903b 18842012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1885
1886 * ansi-color.el (ansi-color-process-output): Check for validity of
1887 comint-last-output-start before using it. This avoids a bad
1888 interaction with gdb-mi's input/output buffer.
1889
666b903b 18902012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1891
1892 * files.el (dir-locals-read-from-file):
1893 Mention dir-locals in any error message.
1894
666b903b 18952012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1896
1897 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1898 package (Bug#11410).
1899
f677562b
CY
1900 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1901 variables into description.
1902
666b903b 19032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1904
1905 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1906 shell-delimiter-argument-list (bug#11348).
1907 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1908
b499d8d0
JB
19092012-05-09 Juanma Barranquero <lekktu@gmail.com>
1910
8f6b6da8
JB
1911 * textmodes/rst.el: Silence byte-compiler warnings.
1912 (rst-re-alist, rst-reset-section-caches): Move around.
1913 (rst-re): Use `characterp', not `char-valid-p'.
1914 (font-lock-beg, font-lock-end): Declare.
1915
4824146a
JB
1916 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1917 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1918
b499d8d0
JB
1919 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1920
ad89bb83
GM
19212012-05-08 Glenn Morris <rgm@gnu.org>
1922
1923 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1924
8bba5a75
SM
19252012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1926
49ed9c8e
SM
1927 * vc/log-edit.el: Add GNU coding standards highlighting.
1928 (log-edit-font-lock-gnu-style)
1929 (log-edit-font-lock-gnu-keywords): New vars.
1930 (log-edit-font-lock-keywords): New fun.
1931 (log-edit-mode): Don't fold case in font-lock.
1932 (log-edit-font-lock-keywords): Do not assume case-folding.
1933
07d00b56
SM
1934 * imenu.el: Misc cleanup. Make docstrings out of comments.
1935 Use lexical-binding.
1936 (imenu--index-alist, imenu--last-menubar-index-alist)
1937 (imenu-menubar-modified-tick): Use defvar-local.
1938 (imenu--split-menu): Remove unused var.
1939 (imenu--cleanup-seen): Declare as global.
1940 (imenu--cleanup): Use dolist.
1941
8bba5a75
SM
1942 * subr.el (defvar-local): Add debug spec and doc-string position.
1943
5075bdb5
GM
19442012-05-08 Glenn Morris <rgm@gnu.org>
1945
c052c904
GM
1946 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1947 * language/english.el, language/georgian.el, language/greek.el:
1948 * language/japanese.el, language/khmer.el, language/korean.el:
1949 * language/lao.el, language/misc-lang.el, language/romanian.el:
1950 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1951 * language/thai.el, language/utf-8-lang.el:
1952 Remove no-byte-compile setting.
1953
5075bdb5
GM
1954 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1955
06f679a7
AH
19562012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1957
1958 * progmodes/make-mode.el (makefile-browse):
1959 Remove unnecessary interactive. (Bug#11324)
1960
03794570
GM
19612012-05-07 Glenn Morris <rgm@gnu.org>
1962
af8630f4
GM
1963 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1964
03794570
GM
1965 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1966
f0809a9d
SM
19672012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1968
28be5ce7
SM
1969 * loadup.el: Preload newcomment.el.
1970 * newcomment.el: Move autoload-only code to toplevel.
1971
f0809a9d
SM
1972 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1973 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1974 Handle new :right-align column property.
1975 (tabulated-list-print-col): Idem, plus use `display' text-property to
1976 try and preserve alignment for variable pitch fonts.
1977
1241b724
CY
19782012-05-07 Chong Yidong <cyd@gnu.org>
1979
1980 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1981 (tabulated-list-use-header-line): New var.
1982 (tabulated-list-init-header): Use it.
1983 (tabulated-list-print-fake-header): New function.
1984 (tabulated-list-print): Use it.
1985 (tabulated-list-sort-button-map): Add non-header-line commands.
1986 (tabulated-list-init-header): Add column name property to basic
1987 labels as well.
1988 (tabulated-list-col-sort): Handle non-header-line button case.
1989 (tabulated-list--sort-by-column-name): Fix a corner case.
1990
f0809a9d
SM
1991 * buff-menu.el (list-buffers--refresh):
1992 Handle Buffer-menu-use-header-line.
1241b724 1993
e5f9458f
CY
19942012-05-06 Chong Yidong <cyd@gnu.org>
1995
1996 * buff-menu.el: Convert to Tabulated List mode.
1997 (Buffer-menu-buffer+size-width): Make obsolete.
1998 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1999 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2000 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2001 documentation into docstring of buffer-menu.
2002 (Buffer-menu-toggle-files-only): Add an informative message.
2003 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2004 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2005 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2006 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2007 (Buffer-menu-execute, Buffer-menu-select)
2008 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2009 (Buffer-menu-bury): Use Tabulated List machinery.
2010 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2011 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2012 Delete.
e5f9458f
CY
2013 (list-buffers--refresh): New function.
2014 (list-buffers-noselect): Use it.
2015 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2016 (Buffer-menu--pretty-file-name): New helper functions.
2017
2018 * loadup.el: Preload tabulated-list.
2019
2020 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2021 tabulated-list-sort-column.
2022 (tabulated-list-init-header): Add the initial aligning space even
2023 if tabulated-list-padding is zero.
2024
e129292c
CS
20252012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2026
2027 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2028 whose cdr is not a cons cell correctly (bug#11038).
2029
6632d361
CY
20302012-05-06 Chong Yidong <cyd@gnu.org>
2031
e129292c
CS
2032 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2033 Accept additional plist in column descriptors.
6632d361
CY
2034 (tabulated-list-init-header): Obey it.
2035 (tabulated-list-get-entry): New function.
2036 (tabulated-list-put-tag): Use it. Use string-width instead of
2037 length.
2038 (tabulated-list--column-number): New function.
2039 (tabulated-list-print): Use it.
e129292c
CS
2040 (tabulated-list-print-col): New function.
2041 Set `tabulated-list-column-name' property on each column's text.
6632d361 2042 (tabulated-list-print-entry): Use it.
e129292c
CS
2043 (tabulated-list-delete-entry, tabulated-list-set-col):
2044 New functions.
6632d361
CY
2045 (tabulated-list-sort-column): New command (Bug#11337).
2046
3cc99f68
CY
2047 * buff-menu.el (list-buffers): Move C-x C-b binding from
2048 buff-menu.el to bindings.el.
2049
2050 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2051 :advertised-binding feature.
2052
52b61776
TN
20532012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2054
2055 * progmodes/compile.el (compilation-internal-error-properties):
2056 Calculate start position correctly when end-col is set but
2057 end-line is not (Bug#11382).
2058
ebfe2597
WJ
20592012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2060
2061 * man.el (Man-unindent): Use text-property-default-nonsticky to
2062 prevent untabify from inheriting face properties (Bug#11408).
2063
6d3f7c2f
SM
20642012-05-05 Stefan Merten <smerten@oekonux.de>
2065
2066 * textmodes/rst.el: Major merge with upstream development up to
2067 Docutils SVN r7399 / rst.el V1.2.1.
2068
2069 Clarify maintainership and authors.
2070
2071 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2072 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2073 (rst-official-version, rst-official-cvs-rev, rst-version)
2074 (rst-package-emacs-version-alist): New functions and variables
2075 for version information.
2076
2077 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2078 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2079 (rst-mode-syntax-table, rst-mode): New and corrected functions
2080 and variables representing reStructuredText features.
2081
2082 (rst-re): New function for reStructuredText regexes. Use in
2083 many places.
2084
2085 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2086 (rst-mode-map): Rebind keys.
2087
2088 (rst-mode-lazy, rst-font-lock-keywords)
2089 (rst-font-lock-extend-region)
2090 (rst-font-lock-extend-region-internal)
2091 (rst-font-lock-extend-region-extend)
2092 (rst-font-lock-find-unindented-line-limit)
2093 (rst-font-lock-find-unindented-line-match)
2094 (rst-adornment-level, rst-font-lock-adornment-level)
2095 (rst-font-lock-adornment-match)
2096 (rst-font-lock-handle-adornment-pre-match-form)
2097 (rst-font-lock-handle-adornment-matcher): Major revision of
2098 font-locking. Integrate with other code. Use `jit-lock-mode'.
2099
2100 (rst-preferred-adornments, rst-adjust-hook)
2101 (rst-new-adornment-down, rst-preferred-bullets)
2102 (rst-preferred-bullets, rst-indent, rst-indent-width)
2103 (rst-indent-field, rst-indent-literal-normal)
2104 (rst-indent-literal-minimized, rst-indent-comment): Change,
2105 extend and improve customization.
2106
2107 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2108 (rst-normalize-cursor-position, rst-get-decoration)
2109 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2110 (rst-rstrip, rst-toc-insert-find-delete-contents)
2111 (rst-shift-fill-region, rst-compute-bullet-tabs)
2112 (rst-debug-print-tabs, rst-debug-mark-found)
2113 (rst-shift-region-guts, rst-shift-region-right)
2114 (rst-shift-region-left, rst-use-char-classes)
2115 (rst-font-lock-keywords-function)
2116 (rst-font-lock-indentation-point)
2117 (rst-font-lock-find-unindented-line-begin)
2118 (rst-font-lock-find-unindented-line-end)
2119 (rst-font-lock-find-unindented-line)
2120 (rst-font-lock-adornment-point, rst-font-lock-level)
2121 (rst-adornment-level-alist): Remove functions and variables.
2122
2123 (rst-compare-adornments, rst-get-adornment-match)
2124 (rst-suggest-new-adornment, rst-get-adornments-around)
2125 (rst-adornment-complete-p, rst-get-next-adornment)
2126 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2127 (rst-straighten-adornments): Standardize function names to
2128 use "adornment" instead of "decoration". Correct callers.
2129 Similar standardizing in many places.
2130
2131 (rst-update-section, rst-adjust, rst-promote-region)
2132 (rst-enumerate-region, rst-bullet-list-region)
2133 (rst-repeat-last-character): Correct use of `interactive'.
2134
2135 (rst-classify-adornment, rst-find-all-adornments)
2136 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2137 (rst-find-leftmost-column, rst-repeat-last-character):
2138 Refactor functions.
2139
2140 (rst-find-title-line, rst-reset-section-caches)
2141 (rst-get-adornments-around, rst-adjust-adornment-work)
2142 (rst-arabic-to-roman, rst-roman-to-arabic)
2143 (rst-insert-list-pos, rst-insert-list-new-item)
2144 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2145 New functions.
2146
2147 (rst-all-sections, rst-section-hierarchy)
2148 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2149 New variables.
2150
2151 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2152 configuration instead of only buffer. Change where necessary.
2153
2154 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2155 (rst-shift-region, rst-adaptive-fill): New functions for
2156 indentation and filling.
2157
2158 (rst-comment-line-break, rst-comment-indent)
2159 (rst-comment-insert-comment, rst-comment-region)
2160 (rst-uncomment-region): New functions for handling comments.
2161
2162 (rst-compile): Quote shell arguments.
2163
2164 (rst-compile-pdf-preview, rst-compile-slides-preview):
2165 Delete temporary files after use.
2166
a43f98b3
GM
21672012-05-05 Glenn Morris <rgm@gnu.org>
2168
48176e8b
GM
2169 * calendar/cal-html.el: Optionally include holidays in the output.
2170 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2171 (cal-html-holidays): New option.
2172 (cal-html-css-default): Add holiday entry.
2173 (holiday-in-range): Autoload it.
2174 (cal-html-htmlify-entry): Add optional class argument.
2175 (cal-html-htmlify-list): Add optional holidays argument.
2176 (cal-html-insert-agenda-days): Include holidays in the output.
2177 (cal-html-one-month): Maybe include holidays.
2178
a43f98b3
GM
2179 * calendar/holidays.el (holiday-in-range):
2180 Move here from cal-tex-list-holidays.
2181 * calendar/cal-tex.el (cal-tex-list-holidays):
2182 Make it an obsolete alias for holiday-in-range. Update all callers.
2183
fef9d149 21842012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2185
2186 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2187 Nextstep.
2188
248da2f4
RW
21892012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2190
2191 * files.el (file-auto-mode-skip): New var.
2192 (set-auto-mode-1): Use it.
2193
f95e9344
SM
21942012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2195
df96ab1e
SM
2196 * repeat.el: Use lexical-binding.
2197 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2198 (repeat-undo-count): Remove.
2199 (repeat):
2200 * progmodes/octave-mod.el (octave-abbrev-start):
2201 * progmodes/f90.el (f90-abbrev-start):
2202 * face-remap.el (text-scale-adjust):
2203 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2204
5342bb06
SM
2205 * emacs-lisp/pcase.el (pcase--let*): New function.
2206 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2207 a bit more.
2208 (pcase--split-pred): Be more clever about ruling out overlap between
2209 a predicate and some constant pattern.
2210 (pcase--q1): Use `null' instead of (eq foo nil).
2211
f95e9344
SM
2212 * subr.el (setq-local, defvar-local): New macros.
2213 (kbd): Redefine as an alias.
2214 (with-selected-window): Leave unrelated frames alone.
2215 (set-temporary-overlay-map): New function.
2216
71873e2b
SM
22172012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * subr.el (user-error): New function.
2220 * window.el (switch-to-buffer):
2221 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2222 (smerge-match-conflict):
2223 * simple.el (previous-matching-history-element)
2224 (next-matching-history-element, goto-history-element, undo-more)
2225 (undo-start):
2226 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2227 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2228 (next-file, tags-loop-scan, list-tags, complete-tag):
2229 * progmodes/compile.el (compilation-loop):
2230 * mouse.el (mouse-minibuffer-check):
2231 * man.el (Man-bgproc-sentinel, Man-goto-page):
2232 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2233 (Info-history-forward, Info-follow-reference, Info-menu)
2234 (Info-extract-menu-item, Info-extract-menu-counting)
2235 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2236 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2237 (Info-next-reference, Info-prev-reference, Info-index)
2238 (Info-index-next, Info-follow-nearest-node)
2239 (Info-copy-current-node-name):
2240 * imenu.el (imenu--make-index-alist)
2241 (imenu-default-create-index-function, imenu-add-to-menubar):
2242 * files.el (basic-save-buffer, recover-file):
2243 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2244 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2245 (checkdoc-message-text, checkdoc-defun):
2246 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2247 * cus-edit.el (customize-changed-options, customize-rogue)
2248 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2249 (custom-variable-mark-to-reset-standard)
2250 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2251 (custom-file):
2252 * completion.el (check-completion-length):
2253 * comint.el (comint-search-arg)
2254 (comint-previous-matching-input-string-position)
2255 (comint-previous-matching-input)
2256 (comint-replace-by-expanded-history-before-point, comint-send-input)
2257 (comint-copy-old-input, comint-backward-matching-input)
2258 (comint-goto-process-mark, comint-set-process-mark):
2259 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2260 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2261
8a61ee22
SM
22622012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2263
66408d1e
SM
2264 * dabbrev.el (dabbrev--ignore-case-p): New function.
2265 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2266 Use it.
2267
8a61ee22
SM
2268 * files.el (automount-dir-prefix): Mark as obsolete.
2269
3c74813a
GM
22702012-05-04 Glenn Morris <rgm@gnu.org>
2271
2272 * patcomp.el, play/bruce.el: Move to obsolete/.
2273
0bfcf5c5
PE
22742012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2275
2276 Fix minor Y10k bugs.
2277 * arc-mode.el (archive-unixdate):
2278 * autoinsert.el (auto-insert-alist):
2279 * calc/calc-forms.el (math-this-year):
2280 * emacs-lisp/copyright.el (copyright-current-year)
2281 (copyright-update-year, copyright):
2282 * tar-mode.el (tar-clip-time-string):
2283 * time.el (display-time-update):
2284 Don't assume years have 4 digits.
2285
78f3273a
CY
22862012-05-04 Chong Yidong <cyd@gnu.org>
2287
2288 * dos-w32.el (file-name-buffer-file-type-alist)
2289 (direct-print-region-use-command-dot-com):
2290 * ffap.el (ffap-menu-regexp):
2291 * find-file.el (ff-special-constructs):
2292 * follow.el (follow-debug):
2293 * forms.el (forms--debug):
2294 * iswitchb.el (iswitchb-all-frames):
2295 * ido.el (ido-all-frames):
2296 * emacs-lisp/timer.el (timer-max-repeats):
2297 * mail/feedmail.el (feedmail-mail-send-hook)
2298 (feedmail-mail-send-hook-queued):
2299 * mail/footnote.el (footnote-signature-separator):
2300 * mail/mailabbrev.el (mail-alias-separator-string)
2301 (mail-abbrev-mode-regexp):
2302 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2303 * progmodes/idlwave.el (idlwave-libinfo-file)
2304 (idlwave-default-completion-case-is-down)
2305 (idlwave-library-routines): Convert defvars to defcustoms.
2306
2307 * mail/rmail.el (rmail-decode-mime-charset):
2308 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2309 (idlwave-shell-fix-inserted-breaks)
2310 (idlwave-shell-activate-alt-keybindings)
2311 (idlwave-shell-use-breakpoint-glyph):
2312 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2313
f7ae6719
SM
23142012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2317
47086495
WS
23182012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2319
2320 * progmodes/verilog-mode.el (font-lock-keywords):
2321 Fix mis-highligting auto. Reported by Craig Barner.
2322 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2323 defines from global name space. Reported by Dan Dever.
2324 (verilog-auto-reset, verilog-auto-reset-widths)
2325 (verilog-auto-tieoff): Support using unbased numbers for
2326 AUTORESET and AUTOTIEOFF.
2327 (verilog-submit-bug-report): Update variable list.
2328 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2329 parenthesis from not matching. Reported by Michael Rytting.
2330 (verilog-auto-template-lint): Fix hash error when linting modules
2331 with no used templates.
2332 (verilog-warn, verilog-warn-error)
2333 (verilog-warn-fatal): When non-interactive report multiple
2334 warnings before exiting. Suggested by Brad Dobbie.
2335 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2336 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2337 to report unused template errors. Reported by Brad Dobbie.
2338 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2339 nets, bug438. Reported by Vns Blore.
2340 (verilog-auto-inout-module, verilog-auto-reg)
2341 (verilog-read-decls, verilog-read-sub-decls-sig)
2342 (verilog-signals-edit-wire-reg, verilog-signals-with):
2343 Fix passing of Verilog data types in ANSI input/output ports
2344 such as "output logic" into the AUTOs. Special case "wire" and
2345 "reg" for backwards compatibility presuming Verilog 2001.
2346 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2347 (verilog-preprocess): Fix replication of preprocess output.
2348 Reported by Brad Dobbie.
2349 (verilog-auto-inst-interfaced-ports):
2350 Create verilog-auto-inst-interfaced-ports, bug429.
2351 Reported by Julian Gorfajn.
2352 (verilog-after-save-font-hook)
2353 (verilog-before-save-font-hook): New variable.
2354 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2355 (verilog-save-font-mods): Wrap disabling fontification, reported
2356 by David Rogoff.
2357 (verilog-do-indent, verilog-pretty-declarations-auto)
2358 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2359 Reported by Pierre-David Pfister.
2360 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2361 of class declarations, bug292. Reported by Kevin Heilman.
2362 (verilog-read-decls): Fix 'parameter type' not appearing in
2363 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2364 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2365 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2366 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2367 Reported by David Kravitz.
2368
23692012-05-03 Michael McNamara <mac@mail.brushroad.com>
2370
2371 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2372 assignment with tests in ifs and for loops.
2373 (verilog-extended-complete-re, verilog-complete-reg): Change so
2374 that DPI inport functions don't look like fuction declarations.
2375 (verilog-pretty-expr): Don't line up assignment
2376 operations to the test and increment in if and for loops
2377 (verilog-extended-complete-re, verilog-complete-reg): Change so
2378 that DPI inport functions don't look like fuction declarations
2379
2e51d4b5
KH
23802012-05-03 Kenichi Handa <handa@m17n.org>
2381
2382 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2383 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2384 (Bug#11282).
2385
2bd785a2
SM
23862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * emacs-lisp/bytecomp.el
2389 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2390 since cconv.el might have introduced :fun-body, internal-make-closure,
2391 and friends for bytecomp to handle (bug#11391).
2392 * custom.el (defcustom): Avoid ((λ ..) ..).
2393
99d27583
SM
23942012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2397
55a71479
JB
23982012-05-02 Juanma Barranquero <lekktu@gmail.com>
2399
2400 * notifications.el (dbus-debug):
2401 * term/linux.el (gpm-mouse-enable):
2402 * term/screen.el (xterm-register-default-colors): Declare.
2403
7b97c764
CY
24042012-05-02 Chong Yidong <cyd@gnu.org>
2405
2bc356d7
CY
2406 * cus-start.el (gc-cons-percentage, exec-suffixes)
2407 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2408 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2409 (make-cursor-line-fully-visible, void-text-area-pointer)
2410 (font-list-limit): Add customization data.
2411
7b97c764
CY
2412 * allout.el (allout-exposure-change-functions)
2413 (allout-structure-added-functions)
2414 (allout-structure-deleted-functions)
2415 (allout-structure-shifted-functions): Rename abnormal hooks from
2416 *-hook, and convert to defcustoms.
5d3385a0
JB
2417 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2418 Convert to defcustoms.
7b97c764
CY
2419 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2420
2421 * allout-widgets.el: Hook callers changed.
2422
90207a15 24232012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2424
2425 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2426 the yanked message in preference to the default value of
2427 buffer-file-coding-system.
2428
90207a15 24292012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2430
5d3385a0
JB
2431 * window.el (display-buffer--action-function-custom-type):
2432 Fix entry.
d9558cad 2433
90207a15 24342012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2435
2436 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2437
d80ac57b
GM
24382012-05-01 Glenn Morris <rgm@gnu.org>
2439
976f7668
GM
2440 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2441
beb83b5a
GM
2442 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2443
d80ac57b
GM
2444 * cus-edit.el (custom-variable-documentation): Simplify with format.
2445
b593d6a9
AH
24462012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2447 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * simple.el (suggest-key-bindings, execute-extended-command):
2450 Move from keyboard.c.
2451
782fbf2a
CY
24522012-05-01 Chong Yidong <cyd@gnu.org>
2453
2454 * follow.el: Eliminate advice.
2455 (set-process-filter, process-filter, sit-for): Advice deleted.
2456 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2457 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2458 Vars deleted.
782fbf2a
CY
2459 (follow-auto): Use a :set function.
2460 (follow-mode): Rewritten. Don't advise process filters.
2461 (follow-switch-to-current-buffer-all, follow-scroll-up)
2462 (follow-scroll-down): Assume follow-mode is bound.
2463 (follow-comint-scroll-to-bottom)
2464 (follow-align-compilation-windows): New functions.
2465 (follow--window-sorter): New function.
2466 (follow-all-followers): Use it to explicitly sort windows by their
2467 positions; don't make assumptions about next-window order.
2468 (follow-windows-start-end, follow-delete-other-windows-and-split)
2469 (follow-calc-win-start): Doc fix.
2470 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2471 vertical-motion unnecessarily.
2472 (follow-adjust-window): New function.
2473 (follow-post-command-hook): Use it.
2474 (follow-call-set-process-filter, follow-call-process-filter)
2475 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2476 (follow-stop-intercept-process-output, follow-generic-filter):
2477 Functions deleted.
2478 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2479 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2480 New functions, replacing advice on scroll-bar-* commands.
87233a14 2481 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2482
2483 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2484 (comint-postoutput-scroll-to-bottom): Use it.
2485 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2486
290af740
GM
24872012-05-01 Glenn Morris <rgm@gnu.org>
2488
2489 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2490 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2491 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2492 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2493 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2494 Remove no-byte-compile setting.
2495
6eac8dc9
SM
24962012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2499 all-completions code to not return a number in the last cdr.
2500
9cc7819c
LL
25012012-04-30 Leo Liu <sdl.web@gmail.com>
2502
2503 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2504 read-only error.
2505
c93b886f
CY
25062012-04-29 Chong Yidong <cyd@gnu.org>
2507
2508 * follow.el (follow-calc-win-end): Rewrite to handle partial
2509 screen lines correctly (Bug#8390).
2510 (follow-avoid-tail-recenter): Minor cleanup.
2511
8b6c19f4
SM
25122012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 Avoid the obsolete `assoc' package.
2515 * speedbar.el (speedbar-refresh): Avoid adelete.
2516 (speedbar-file-lists): Simplify and avoid aput.
2517 * man.el (Man--sections, Man--refpages): New vars, replacing
2518 Man-sections-alist and Man-refpages-alist.
2519 (Man-build-section-alist, Man-build-references-alist):
2520 Use them; avoid aput.
2521 (Man--last-section, Man--last-refpage): New vars.
2522 (Man-follow-manual-reference): Use them.
2523 Use the `default' arg of completing-read.
2524 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2525
c5bb7569
CY
25262012-04-27 Chong Yidong <cyd@gnu.org>
2527
d1d2e2e8
CY
2528 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2529
15cd8efd
CY
2530 * startup.el (x-apply-session-resources): New function.
2531
2532 * term/ns-win.el (ns-initialize-window-system):
2533 * term/w32-win.el (w32-initialize-window-system):
2534 * term/x-win.el (x-initialize-window-system): Use it to properly
2535 set menu-bar-mode and other vars from X resources, even if the
2536 initial frame is not a window-system frame (Bug#2299).
2537
c5bb7569
CY
2538 * subr.el (read-key): Avoid running filter function when setting
2539 up temporary tool bar entries (Bug#9922).
2540
a8e7d6d7 25412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2542
2543 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2544 (Bug#11344)
2545
a8e7d6d7 25462012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2547
2548 * select.el (xselect--encode-string): New function, split from
2549 xselect-convert-to-string.
2550 (xselect-convert-to-string): Use it.
2551 (xselect-convert-to-filename, xselect-convert-to-os)
2552 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2553 returned strings are properly encoded (Bug#11315).
2554
a8e7d6d7 25552012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2556
2557 * simple.el (delete-active-region): Move to killing custom group.
2558
a8e7d6d7 25592012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2560
2561 * progmodes/which-func.el (which-func-current): Quote %
2562 characters for mode-line processing.
2563
578c1d4b 25642012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2565
2566 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2567 reaching eob (Bug#11286).
2568
a8e7d6d7 25692012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2570
2571 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2572 (gdb): Make it buffer-local and init to zero.
2573 (gdb-control-commands-regexp): New variable.
2574 (gdb-send): Don't wrap in "-interpreter-exec console" if
2575 gdb-control-level is positive. Increment gdb-control-level
2576 whenever the command matches gdb-control-commands-regexp, and
2577 decrement it each time the command is "end". (Bug#11279)
2578
a8e7d6d7 25792012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2580
2581 * window.el (adjust-window-trailing-edge, enlarge-window)
2582 (shrink-window, window-resize):
2583 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2584 windows (Bug#11276).
2585
b3608390
CY
25862012-04-27 Chong Yidong <cyd@gnu.org>
2587
2588 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2589 fix "missing prefix" warning. All callers changed.
b3608390 2590
797e6e88
SM
25912012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * emacs-lisp/assoc.el: Move to obsolete/.
2594
e95a67dc
SM
25952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2596
657c21e4 2597 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2598
2599 * term/ns-win.el (ns-define-service):
2600 * progmodes/pascal.el (pascal-goto-defun):
2601 * progmodes/js.el (js--read-tab):
2602 * progmodes/etags.el (tags-lazy-completion-table):
2603 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2604 * emacs-lisp/ewoc.el (ewoc--wrap):
2605 * emacs-lisp/assoc.el (aput, adelete, amake):
2606 * doc-view.el (doc-view-convert-current-doc):
2607 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2608
cb3e7ae0
CY
26092012-04-26 Chong Yidong <cyd@gnu.org>
2610
dce04f7f
CY
2611 * image.el (image-type-from-buffer): Only return supported image
2612 type (Bug#9045).
2613
cb3e7ae0
CY
2614 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2615 value, for symmetry with diff-end-of-hunk.
2616 (diff-split-hunk, diff-find-source-location)
2617 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2618 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2619 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2620 compute the relevant hunk or file properly (Bug#6005).
2621 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2622
0d42eb3e
SM
26232012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * vc/vc-mtn.el:
2626 * vc/vc-hg.el:
2627 * vc/vc-git.el:
2628 * vc/vc-dir.el:
2629 * vc/vc-cvs.el:
2630 * vc/vc-bzr.el:
2631 * vc/vc-arch.el:
2632 * vc/vc.el: Replace lexical-let by lexical-binding.
2633 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2634 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2635 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2636
f08ae1c9
CY
26372012-04-26 Chong Yidong <cyd@gnu.org>
2638
8b71081d
CY
2639 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2640 (diff-mode-shared-map): Bind it to / and [remap undo].
2641
f08ae1c9
CY
2642 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2643 (ediff-window-setup-function): Use it as the default, to set up
2644 windows based on whether the current frame is graphical (Bug#2138).
2645 (ediff-choose-window-setup-function-automatically): Make obsolete.
2646
2647 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2648
ef24141c
SM
26492012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2650
cc356a5d
SM
2651 * ffap.el: Remove old code for obsolete package.
2652 (ffap-complete-as-file-p): Remove.
2653
b4ff4f1f
SM
2654 Use completion-table-with-quoting for comint and pcomplete.
2655 * comint.el (comint--unquote&requote-argument)
2656 (comint--unquote-argument, comint--requote-argument): New functions.
2657 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2658 (comint-quote-filename): Use regexp-opt-charset.
2659 (comint--common-suffix, comint--common-quoted-suffix)
2660 (comint--table-subvert): Remove.
2661 (comint-unquote-function, comint-requote-function): New vars.
2662 (comint--complete-file-name-data): Use them with
2663 completion-table-with-quoting.
2664 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2665 * pcomplete.el (pcomplete-arg-quote-list)
2666 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2667 (pcomplete-unquote-argument-function): Default to non-nil.
2668 (pcomplete-unquote-argument): Simplify.
2669 (pcomplete--common-quoted-suffix): Remove.
2670 (pcomplete-requote-argument-function): New var.
2671 (pcomplete--common-suffix): New function.
2672 (pcomplete-completions-at-point): Use completion-table-with-quoting
2673 and completion-table-subvert.
2674
79c4eeb4
SM
2675 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2676 (minibuffer--double-dollars): Preserve properties.
2677 (completion--sifn-requote): New function.
2678 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2679
ef24141c
SM
2680 * minibuffer.el: Add support for completion of quoted/escaped data.
2681 (completion-table-with-quoting, completion-table-subvert): New funs.
2682 (completion--twq-try, completion--twq-all): New functions.
2683 (completion--nth-completion): New function.
2684 (completion-try-completion, completion-all-completions): Use it.
2685
784e7d6e
LL
26862012-04-25 Leo Liu <sdl.web@gmail.com>
2687
dd2ac746
SM
2688 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2689 Use compilation-message if available to find real filename.
784e7d6e 2690
07875ee7
CY
26912012-04-25 Chong Yidong <cyd@gnu.org>
2692
2693 * vc/diff-mode.el (diff-setup-whitespace): New function.
2694 (diff-mode): Use it.
2695
2696 * vc/diff.el (diff-sentinel):
2697 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2698 Whitespace mode variables based on diff style (Bug#8612).
2699
5055880d
LL
27002012-04-25 Leo Liu <sdl.web@gmail.com>
2701
daf75653
LL
2702 * progmodes/python.el (python-send-region): Add suffix .py to the
2703 temp file.
2704
5055880d
LL
2705 * files.el (auto-mode-alist): Use javascript-mode instead.
2706
db9b177b
AH
27072012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2708
ef24141c 2709 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2710
2711 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2712 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2713 references, see Bug#9.
ef24141c 2714 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2715 when receiving a fault reply.
ef24141c 2716 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2717
2718 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2719 (soap-inspect-simple-type): New function.
db9b177b 2720
ef24141c 2721 * soap-client.el (soap-simple-type): New struct.
db9b177b 2722 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2723 (soap-decode-basic-type, soap-encode-basic-type):
2724 support unsignedInt and double basic types.
db9b177b 2725 (soap-resolve-references-for-simple-type)
ef24141c
SM
2726 (soap-parse-simple-type, soap-encode-simple-type): New function.
2727 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2728
2729 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2730 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2731 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2732 the local name of "soapenc:Array".
2733 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2734 decoding integer, byte and anyURI xsd types.
2735
1fc6097b
CY
27362012-04-25 Chong Yidong <cyd@gnu.org>
2737
2738 * cus-edit.el (custom-buffer-create-internal): Update header text.
2739
afc6df87
EZ
27402012-04-25 Eli Zaretskii <eliz@gnu.org>
2741
2742 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2743 settings on 'system-type', not on 'window-system'. On MS-Windows,
2744 set interactive-mode on in GDB.
2745
dfbd787f
SM
27462012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2749 (ruby-syntax-propertize-regexp): Remove.
2750 (ruby-syntax-propertize-function): Split regexp into chunks.
2751 Match following code directly.
2752
85222d44
DG
27532012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2754
51a8ea2a
DG
2755 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2756 (ruby-syntax-propertize-regexp): New function.
2757 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2758 by a special keyword.
2759
85222d44
DG
2760 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2761 (ruby-syntax-general-delimiters-goto-beg)
2762 (ruby-syntax-propertize-general-delimiters): New functions.
2763 (ruby-syntax-propertize-function): Use them to handle GDL.
2764 (ruby-font-lock-keywords): Move old handling of GDL...
2765 (ruby-font-lock-syntactic-keywords): .. to here.
2766 (ruby-calculate-indent): Adjust indentation for GDL.
2767
b613912b
MA
27682012-04-24 Michael Albinus <michael.albinus@gmx.de>
2769
b5380639
MA
2770 * notifications.el (top): Remove unneeded declarations.
2771 (notifications-specification-version): Change to "1.2".
e43042fe 2772 (notifications-interface, notifications-notify-method)
b613912b
MA
2773 (notifications-close-notification-method): Fix docstring.
2774 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2775 (notifications-notify): Add :action-items, :resident and
2776 :transient hints. Change "image_data" to "image-data" and
2777 "image_path" to "image-path".
b613912b
MA
2778 (notifications-get-capabilities): New defun.
2779
257440aa
LL
27802012-04-24 Leo Liu <sdl.web@gmail.com>
2781
2782 * progmodes/python.el: Move hideshow setup to the end.
2783
b1bac16e
MR
27842012-04-24 Martin Rudalics <rudalics@gmx.at>
2785
2786 * window.el (handle-select-window): Clear echo area since this is
2787 no more done by read_char (Bug#11304).
2788
d81bd059
SM
27892012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2792 and `/ M' to filter-derived-mode.
2793 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2794 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2795 (ibuffer-mark-by-mode): Use default rather than initial-input.
2796 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2797
c4cf6d91
IA
27982012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2799
2800 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2801 (ibuffer-filter-by-derived-mode): New filter.
2802 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2803
7511ded8
CY
28042012-04-23 Andreas Politz <politza@fh-trier.de>
2805
2806 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2807
775c916b
CY
28082012-04-23 Chong Yidong <cyd@gnu.org>
2809
2810 * cus-edit.el (customize-apropos, customize-apropos-options):
2811 Disable matching of non-option variables (Bug#11176).
2812 (customize-option, customize-option-other-window)
2813 (customize-changed-options): Doc fix.
2814 (customize-apropos-options, customize-apropos-faces)
2815 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2816
2817 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2818 Fix word list splitting (Bug#11132).
46c71e23
CY
2819 (apropos-symbol, apropos-keybinding, apropos-label)
2820 (apropos-property, apropos-function-button)
2821 (apropos-variable-button, apropos-misc-button): New faces.
2822 (apropos-symbol-face, apropos-keybinding-face)
2823 (apropos-label-face, apropos-property-face, apropos-match-face):
2824 Variables removed (Bug#8396).
2825 (apropos-library-button, apropos-format-plist, apropos-print)
2826 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2827
2df41f9c
MA
28282012-04-23 Michael Albinus <michael.albinus@gmx.de>
2829
2830 * net/xesam.el (xesam-mode-map): Use let-bound map in
2831 initialization. (Bug#11292)
2832
da00640a
AM
28332012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2834
2835 Preserve ispell session localwords when switching back to
2836 original buffer.
2837
2838 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2839 variable to hold buffer session localwords.
2840 (ispell-kill-ispell): add option 'clear to delete session
2841 localwords.
2842 (ispell-command-loop, ispell-change-dictionary)
2843 (ispell-buffer-local-words): Preserve session localwords when
2844 needed.
2845
2846 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2847 Preserve session localwords when needed.
2848
f621ccf5
AM
28492012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2850
2851 * ispell.el (ispell-insert-word) Remove unneeded function using
2852 obsolete `translation-table-for-input'.
ef24141c
SM
2853 (ispell-word, ispell-process-line, ispell-complete-word):
2854 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2855
c2d1019e
CY
28562012-04-22 Chong Yidong <cyd@gnu.org>
2857
2858 * cus-edit.el (custom-variable-menu)
2859 (custom-variable-reset-saved, custom-face-menu)
2860 (custom-face-reset-saved): If there is no saved value, make the
2861 "reset-saved" operation bring back the default (Bug#9509).
2862 (custom-face-state): Properly detect themed faces.
2863
eeddc531
CY
2864 * faces.el (face-spec-set): Stop supporting deprecated form of
2865 third arg.
2866
dcbf5805
MA
28672012-04-22 Michael Albinus <michael.albinus@gmx.de>
2868
2869 Move functions from C to Lisp. Make non-blocking method calls
2870 the default. Implement further D-Bus standard interfaces.
2871
ef24141c
SM
2872 * net/dbus.el (dbus-message-internal): Declare function.
2873 Remove unneeded function declarations.
dcbf5805
MA
2874 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2875 (dbus-message-type-method-return, dbus-message-type-error)
2876 (dbus-message-type-signal): Declare variables. Remove local
2877 definitions.
2878 (dbus-interface-dbus, dbus-interface-peer)
2879 (dbus-interface-introspectable, dbus-interface-properties)
2880 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2881 Adapt docstring.
2882 (dbus-interface-objectmanager): New defconst.
2883 (dbus-call-method, dbus-call-method-asynchronously)
2884 (dbus-send-signal, dbus-method-return-internal)
2885 (dbus-method-error-internal, dbus-register-service)
2886 (dbus-register-signal, dbus-register-method): New defuns, moved
2887 from dbusbind.c
2888 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2889 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2890 New defuns.
dcbf5805
MA
2891 (dbus-call-method-non-blocking): Make it an obsolete function.
2892 (dbus-unregister-object, dbus-unregister-service)
2893 (dbus-handle-event, dbus-register-property)
2894 (dbus-property-handler): Obey the new structure of
2895 `bus-registered-objects'.
2896 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2897 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2898 Use `dbus-call-method'.
2899
cf20dee0
CY
29002012-04-22 Chong Yidong <cyd@gnu.org>
2901
2902 * cus-edit.el (custom-commands, custom-reset-menu)
2903 (Custom-reset-standard): Tweak labels.
2904 (custom-reset-button-menu): Change default to t.
2905 (custom-buffer-create-internal): For the custom-reset-button-menu
2906 case, put the revert button first.
2907 (custom-group-subtitle): New face.
2908 (custom-group-value-create): Align docstring to a specific column.
2909
2910 * wid-edit.el (widget-documentation-link-add): Don't handle
2911 indentation in this function.
2912 (widget-documentation-string-indent-to): New function.
2913 (widget-documentation-string-value-create): Use it.
2914
2915 * autorevert.el (auto-revert):
2916 * epg-config.el (epg):
2917 * ibuffer.el (ibuffer):
2918 * mpc.el (mpc):
2919 * ses.el (ses):
2920 * eshell/eshell.el (eshell):
2921 * net/ange-ftp.el (ange-ftp):
2922 * progmodes/ebnf2ps.el (postscript):
2923 * progmodes/flymake.el (flymake):
2924 * progmodes/prolog.el (prolog):
2925 * progmodes/verilog-mode.el (verilog-mode):
2926 * progmodes/which-func.el (which-func):
2927 * term/xterm.el (xterm):
2928 * textmodes/picture.el (picture):
2929 * textmodes/tildify.el (tildify):
2930 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2931 customization buffers.
2932
583e23bd
AM
29332012-04-22 Alan Mackenzie <acm@muc.de>
2934
2935 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2936 Adding a ) can hide the resulting (..) from searches. Fix it.
2937 Bound the backward search to the position of the existing (.
2938
7dd51bf1
JB
29392012-04-21 Juanma Barranquero <lekktu@gmail.com>
2940
2941 * progmodes/verilog-mode.el (verilog-mode): Check whether
2942 which-func-modes is t before adding verilog-mode.
2943 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2944
d64a438f
LL
29452012-04-21 Leo Liu <sdl.web@gmail.com>
2946
7dd51bf1 2947 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2948
081e8d65
MV
29492012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2950
2951 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2952 filling of the last column of a table (Bug#5635).
2953 (woman-find-next-control-line): New arg, specifying an additional
2954 regexp component for the control line.
2955 (woman2-roff-buffer): Use it.
2956 (woman-break-table): New function.
2957 (woman2-TS): Use it.
2958
29592012-04-21 Chong Yidong <cyd@gnu.org>
2960
2961 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2962 (woman-horizontal-escapes, woman-negative-vertical-space)
2963 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2964 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2965
ed571ccb
SM
29662012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2967
2968 * minibuffer.el (completion-file-name-table): Complete user names.
2969
39773899
LL
29702012-04-20 Leo Liu <sdl.web@gmail.com>
2971
2972 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2973 and pcase-let*.
2974
de6ff46d
CY
29752012-04-20 Chong Yidong <cyd@gnu.org>
2976
2977 * server.el (server-execute): Respect initial-buffer-choice if it
2978 is a string and there are no files to open (Bug#2825).
2979 (server-create-window-system-frame, server-create-tty-frame):
2980 Don't switch buffers here.
2d0e8e61
CY
2981 (server-process-filter): Only try to open a window system frame if
2982 compiled with graphical support (Bug#8314).
de6ff46d 2983
54071013
DN
29842012-04-20 Dan Nicolaescu <dann@gnu.org>
2985
2986 * battery.el (battery-echo-area-format): Display remaining time
2987 for sysfs backend too (Bug#11269).
2988 (battery-linux-sysfs): Fix conditional for the charge.
2989
f30d612a
CY
29902012-04-20 Chong Yidong <cyd@gnu.org>
2991
c07a4c0b 2992 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2993 (gdb-inferior-io--init-proc): New function.
2994 (gdb-init-1): Use it.
2995 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2996 responsible for allocating a new pty and hooking it to gdb when
2997 the old pty gets an EIO due to process exit.
2998 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2999 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3000 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3001
2116e93c
EZ
30022012-04-20 Eli Zaretskii <eliz@gnu.org>
3003
3004 * window.el (window-min-size, window-sizable, window-min-delta)
3005 (window-max-delta, window--resizable, window-resizable)
3006 (window-total-size, window-full-height-p, window-full-width-p)
3007 (window-in-direction, window--resize-mini-window, window-resize)
3008 (window--resize-child-windows-normal)
3009 (window--resize-child-windows, window--resize-siblings)
3010 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3011 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3012
c07a4c0b 30132012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3014
ef24141c
SM
3015 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3016 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3017 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3018 pty process (Bug#11273).
3019 (gdb-update): New arg to suppress talking to the gdb process.
3020 (gdb-done-or-error): Use it.
3021 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3022 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3023 sentinel not being called.
3024
3025 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3026
d02766ab
CY
3027 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3028
c07a4c0b 30292012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3030
3031 * net/network-stream.el (open-network-stream): Doc fix.
3032
c07a4c0b 30332012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3034
3035 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3036
c07a4c0b 30372012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3038
3039 Ensure searching for keywords is case sensitive.
3040
3041 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3042 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3043 (c-defun-name, c-mark-function, c-cpp-define-name)
3044 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3045 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3046
ef24141c
SM
3047 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3048 Bind case-fold-search to nil.
f0f6bc35 3049
c07a4c0b 30502012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3051
3052 * mail/sendmail.el (mail-bury): Call return action with the right
3053 Rmail buffer (Bug#11242).
3054
9a864fa2
CY
3055 * server.el (server-process-filter): Handle corner case where both
3056 tty and nowait options are present (Bug#11102).
3057
539aa513
EZ
30582012-04-20 Eli Zaretskii <eliz@gnu.org>
3059
3060 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3061 (top level): Put into the executable the ident-style '$Id:' tag on
3062 windows-nt as well.
539aa513 3063
cfc7d5da
SM
30642012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3066 * electric.el (electric-indent-post-self-insert-function): Check that
3067 electric-indent-mode is enabled in current buffer.
3068
5b01685c
JB
30692012-04-19 Juanma Barranquero <lekktu@gmail.com>
3070
3071 * imenu.el (imenu-progress-message): Restore; it is "used" in
3072 erc/erc-imenu.el and net/snmp-mode.el.
3073
4d6769e1
JB
30742012-04-19 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3077 (mouse-avoidance-nudge-mouse): Remove unused binding.
3078
3079 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3080
3081 * descr-text.el (describe-char):
3082 * progmodes/python.el (python-describe-symbol):
3083 Don't call `toggle-read-only', set `buffer-read-only'.
3084
3085 * imenu.el (imenu-default-goto-function): Mark unused args.
3086 (imenu-progress-message): Remove obsolete macro; all callers changed.
3087
3088 * subr.el (keymap-canonicalize): Remove unused binding.
3089 (read-passwd): Mark unused arg.
3090
3091 * tutorial.el (tutorial--display-changes): Remove unused binding.
3092 (tutorial--save-tutorial-to): Remove unused variable.
3093
3094 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3095 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3096 (package-generate-autoloads, package-menu--generate)
3097 (package-menu--find-upgrades): Remove unused bindings.
3098
3099 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3100 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3101 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3102 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3103 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3104 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3105 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3106 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3107 (cua-delete-char-rectangle): Mark unused args.
3108 (cua-align-rectangle): Remove unused binding.
3109
3110 * mail/rmail.el (compilation--message->loc)
3111 (epa--find-coding-system-for-mime-charset): Declare.
3112
3113 * net/dbus.el (dbus-register-service): Declare.
3114 (dbus-name-owner-changed-handler): Remove unused binding.
3115
3116 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3117 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3118 (nxml-scan-backward-within): Mark unused arg.
3119 (nxml-dynamic-markup-word): Remove unused binding.
3120
3121 * mouse.el (mouse-menu-major-mode-map):
3122 * emacs-lisp/authors.el (authors-scan-change-log)
3123 (authors-add-to-author-list):
3124 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3125 * emacs-lisp/smie.el (smie-auto-fill):
3126 * mail/sendmail.el (mail-bury):
3127 * mail/unrmail.el (unrmail):
3128 * net/tls.el (open-tls-stream):
3129 * textmodes/picture.el (picture-mouse-set-point):
3130 Remove unused bindings.
3131
8c8fc5df
MA
31322012-04-19 Michael Albinus <michael.albinus@gmx.de>
3133
3134 * net/tramp.el (tramp-action-password): Let-bind
3135 `enable-recursive-minibuffers' to t.
3136
a77b0ac9
SS
31372012-04-18 Sam Steingold <sds@gnu.org>
3138
3139 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3140 instead of 'string to accommodate values like [f11].
3141 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3142 * progmodes/gdb-mi.el: Likewise.
3143
12a106a9
LL
31442012-04-18 Leo Liu <sdl.web@gmail.com>
3145
3146 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3147 current buffer.
3148 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3149 LOCAL is nil.
3150
bc6494ef
CY
31512012-04-18 Chong Yidong <cyd@gnu.org>
3152
3153 * simple.el (line-move): Use forward-line if in batch mode
3154 (Bug#11053).
3155
c09c46b2
CS
31562012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3157
3158 * files.el (after-find-file): Do not try to add a final newline if
3159 the buffer is read-only (Bug#11156).
3160
5f6530ea
RS
31612012-04-17 Richard Stallman <rms@gnu.org>
3162
3163 * mail/rmail.el (rmail-start-mail):
3164 Pass (rmail-mail-return...) for the return-action.
3165 Pass (rmail-yank-current-message...) for the yank-action.
3166 (rmail-yank-current-message): New function.
3167 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3168 (rmail-reply): Likewise.
3169 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3170
3171 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3172 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3173 buffer, not newbuf.
3174
197b6f3c
JB
31752012-04-17 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * server.el (server-ensure-safe-dir): Simplify.
3178
2311d8e5 31792012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3180
2311d8e5
GM
3181 * emacs-lisp/smie.el: Provide smarter auto-filling.
3182 (smie-auto-fill): New function.
3183 (smie-setup): Use it.
98fb480e 3184
2311d8e5
GM
3185 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3186
31872012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3188
3189 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3190 (comment-indent): Use it.
3191
2311d8e5 31922012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3193
3194 * ses.el: The overall change is to add cell renaming, that is
3195 setting fancy names for cell symbols other than name matching
3196 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3197 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3198 (ses-create-cell-variable): New defun.
2311d8e5 3199 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3200 (ses-relocate-formula): Relocate formulas only for cells the
3201 symbols of which are not renamed, i.e. symbols whose names do not
3202 match regexp "\\`[A-Z]+[0-9]+\\'".
3203 (ses-relocate-all): Relocate values only for cells the symbols of
3204 which are not renamed.
3205 (ses-load): Create cells variables as the (ses-cell ...) are read,
3206 in order to check row col consistency with cell symbol name only
3207 for cells that are not renamed.
3208 (ses-replace-name-in-formula): New defun.
3209 (ses-rename-cell): New defun.
4bdf2ad2 3210
fc72b15c
PO
32112012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3212
3213 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3214 New option (bug#11118).
3215 (perl-calculate-indent): Respect it.
3216
12e10e61
GM
32172012-04-17 Glenn Morris <rgm@gnu.org>
3218
3219 * dired-aux.el (dired-mark-read-string): Doc fix.
3220
30009afd
DA
32212012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3222
3223 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3224 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3225
41f03f4d
GM
32262012-04-17 Glenn Morris <rgm@gnu.org>
3227
3228 * mouse.el (mouse-drag-track):
3229 * speedbar.el (speedbar-frame-mode):
3230 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3231
f45f90f3
LL
32322012-04-16 Leo Liu <sdl.web@gmail.com>
3233
3234 * progmodes/python.el: Trivial cleanup.
3235
94ee8db5
GM
32362012-04-16 Glenn Morris <rgm@gnu.org>
3237
121b8917
GM
3238 * vc/vc.el (vc-string-prefix-p):
3239 * vc/pcvs-util.el (cvs-string-prefix-p):
3240 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3241 * mpc.el (mpc-string-prefix-p):
3242 Make all of these into obsolete aliases for string-prefix-p.
3243 Update callers.
3244 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3245
1197ecfa
GM
3246 * textmodes/two-column.el: Move custom options to the start.
3247 (frame-width): Remove compat definition.
3248 (2C-associate-buffer, 2C-dissociate):
3249 Use with-current-buffer rather than save-excursion.
3250 (2C-dissociate): Force a mode-line update.
3251 (2C-autoscroll): Use ignore-errors.
3252
099e7202
GM
3253 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3254 Autoload trivia.
3255
bf350d6a
GM
3256 * emacs-lisp/cl-extra.el (*random-state*):
3257 Remove unnecessary declaration.
3258
0e829eab
GM
3259 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3260
e3ad7552
GM
3261 * play/cookie1.el (cookie-snarf):
3262 Give an explicit error if input file cannot be read.
3263
68892d27
GM
3264 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3265
20f0c46d
GM
3266 * progmodes/perl-mode.el (c-macro-expand):
3267 Remove unnecessary autoload (it is in loaddefs.el).
3268
5a0978ce
GM
3269 * textmodes/picture.el (picture-desired-column)
3270 (picture-update-desired-column): Convert comments to doc-strings.
3271 (picture-substitute): Remove function.
3272 (picture-mode-map): Initialize in the defvar.
3273
6b955486
GM
3274 * woman.el: Remove eval-after-load for tar-mode.
3275 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3276 (woman-tar-extract-file): Autoload it.
3277
94ee8db5
GM
3278 * frame.el (automatic-hscrolling): Make this alias obsolete.
3279
177eca34
AM
32802012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3281
3282 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3283 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3284 (ispell-dictionary-base-alist): Revert to original XEmacs
3285 friendly version for default. [:alpha:] will be added in
3286 `ispell-set-spellchecker-params' if needed
177eca34 3287
c505aaeb
CY
32882012-04-16 Chong Yidong <cyd@gnu.org>
3289
3290 * image.el (imagemagick--extension-regexp): New variable.
3291 (imagemagick-register-types): Use it.
3292 (imagemagick-types-inhibit): Add :set function. Allow new value
3293 of t to inhibit all types.
3294
3295 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3296 so we can preload it.
3297
3298 * loadup.el (fboundp): Preload regexp-opt, needed by
3299 imagemagick-register-types.
3300
60efac0f
CY
33012012-04-15 Chong Yidong <cyd@gnu.org>
3302
3303 * frame.el (scrolling): Remove nearly unused customization group.
3304
3305 * scroll-all.el (scroll-all-mode): Move to windows group.
3306
5dd1713e
CY
33072012-04-15 Chong Yidong <cyd@gnu.org>
3308
3309 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3310
e6fd457e
CY
33112012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3313 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3314 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3315
e153c136
GM
33162012-04-15 Glenn Morris <rgm@gnu.org>
3317
3318 * simple.el (process-file-side-effects): Doc fix.
3319
e6fd457e 33202012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3321
3322 * international/mule-cmds.el (set-language-environment): Doc fix.
3323
3603c3b1
JB
33242012-04-14 Juanma Barranquero <lekktu@gmail.com>
3325
3326 * server.el (server-auth-key, server-generate-key): Doc fixes.
3327 (server-get-auth-key): Doc fix. Use `string-match-p'.
3328 (server-start): Reflow docstring.
3329
e6de100c
LI
33302012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3331
3332 * server.el (server-generate-key): `called-interactively-p'
3333 requires a parameter.
3334
29734c21
MN
33352012-04-14 Michal Nazarewicz <mina86@mina86.com>
3336
3337 * server.el (server-auth-key): New variable.
75f1671a 3338 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3339 (server-start): Use the new variable and functions to allow
3340 setting a permanent server key (bug#9423).
3341
d65c9521
LL
33422012-04-14 Leo Liu <sdl.web@gmail.com>
3343
3344 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3345
5ae255c7
PE
33462012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3347
3348 Spelling fixes.
3349 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3350 Emacs uses American spelling.
3351
d5e6342e
JB
33522012-04-14 Juanma Barranquero <lekktu@gmail.com>
3353
3354 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3355 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3356 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3357 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3358
ab036cd7
SM
33592012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * progmodes/which-func.el (which-func-modes): Change default.
3362
35dc09a1 33632012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3364
3365 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3366 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3367
35dc09a1 33682012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3369
3370 * custom.el (custom-theme-set-variables): Doc fix.
3371
35dc09a1 33722012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3373
3374 * international/mule.el (set-auto-coding-for-load): Doc fix.
3375
35dc09a1 33762012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3377
35dc09a1
GM
3378 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3379 imenu work again for Objective C Mode. Correct the *-index values,
3380 these having been disturbed by a previous change in 2011-08.
57f845ee 3381
0de3da9f
AM
3382 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3383 Correct two search limits.
3384
35dc09a1 33852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3386
3387 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3388
35dc09a1 33892012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3390
3391 * international/characters.el: Fix sorting.
3392
35dc09a1 33932012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3394
3395 * international/characters.el: Add more missing Latin case pairs.
3396
35dc09a1 33972012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3398
3399 * files.el (dir-locals-set-class-variables): Doc fix.
3400
35dc09a1 34012012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3402
3f1b5bf8
EZ
3403 * international/characters.el: Add set-case-syntax-pair call for
3404 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3405 counterpart. (Bug#11209)
3406
9f847f41
EZ
3407 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3408
35dc09a1 34092012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3410
3411 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3412
35dc09a1 34132012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3414
35dc09a1
GM
3415 * textmodes/ispell.el (ispell-dictionary-base-alist):
3416 Add data for Hebrew.
e2627d21 3417
35dc09a1 34182012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3419
35dc09a1
GM
3420 * net/rcirc.el (rcirc-cmd-quit):
3421 Revert 2012-03-18 change (Bug#11192).
5c14e333 3422
35dc09a1 34232012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3424
3425 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3426
35dc09a1 34272012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3428
4517fe3a
SM
3429 * minibuffer.el (completion-in-region-mode-map):
3430 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3431
b472a594
VD
34322012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3433
3434 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3435
09b95ce3
MY
34362012-04-13 Masatake YAMATO <yamato@redhat.com>
3437
3438 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3439 to allow `C-M-f' and `C-M-b' to move to the nearest path
3440 separator (bug#9511).
3441
4b63a9ca
LI
34422012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3443
3444 * avoid.el: Require cl when compiling. And also move the
3445 `provide' to the end.
3446
7b55b8bf
TV
34472012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3448
3449 * avoid.el (mouse-avoidance-banish-position): New variable.
3450 (mouse-avoidance-banish-destination): Use it (bug#10165).
3451
adedaa1f
LL
34522012-04-13 Leo Liu <sdl.web@gmail.com>
3453
3454 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3455
70e74021
KB
34562012-04-13 Ken Brown <kbrown@cornell.edu>
3457
3458 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3459 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3460 (browse-url-filename-alist): For the same reason, don't modify
3461 file:// URLs on Cygwin.
3462
e75e89ba
SM
34632012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3466 the region on shift if the binding is already shifted (bug#11221).
3467
82f289a4
GM
34682012-04-12 Glenn Morris <rgm@gnu.org>
3469
3470 * mail/mailpost.el: Move to obsolete/.
3471
d333dc4c
DA
34722012-04-12 Drew Adams <drew.adams@oracle.com>
3473
3474 * imenu.el (imenu--generic-function): Ignore invisible definitions
3475 (bug#10123).
3476
0d15b5ba
VD
34772012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3478
3479 * hexl.el (hexl-bits): New variable.
3480 (hexl-options): Mention the variable in the doc string.
75f1671a 3481 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3482 (hexl-mode): Mention the new variable.
75f1671a
JB
3483 (hexl-mode, hexl-current-address, hexl-current-address):
3484 Use the displen.
0d15b5ba
VD
3485 (hexl-ascii-start-column): New function.
3486 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3487 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3488
64a440db
AM
34892012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3490
3491 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3492 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3493 the encoding, as expected by hunspell.
3494
6decb6c2
SM
34952012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * battery.el (battery--linux-sysfs-regexp): New const.
3498 (battery-status-function): Use it. Remove yeeloong special case.
3499 (battery-yeeloong-sysfs): Remove.
3500 (battery-echo-area-format): Remove yeeloong special case.
3501
088be6fb
SM
35022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3503
6622e416
SM
3504 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3505 Reported by Noah Friedman.
3506
088be6fb
SM
3507 * subr.el (read-passwd): Use read-string.
3508
b49f886e
LMI
35092012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3510
3511 * vcursor.el (vcursor-move): Increase the priority of the overlay
3512 (bug#9663).
3513
a63067fc
DD
35142012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3515
3516 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3517 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3518
ac3cf14a
WS
35192012-04-11 William Stevenson <yhvh2000@gmail.com>
3520
3521 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3522 define-minor-mode (bug#10760).
3523
c4fc691b 35242012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3525
4d6769e1 3526 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3527 that directories matching `grep-find-ignored-files' won't be
3528 pruned (bug#10351).
3529
af23e2e5
CY
35302012-04-11 Chong Yidong <cyd@gnu.org>
3531
3532 * startup.el (command-line): Remove support for long-obsolete
3533 variable font-lock-face-attributes.
3534
ab7ce8c1
GM
35352012-04-11 Glenn Morris <rgm@gnu.org>
3536
3537 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3538
de8c03dc
SM
35392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * window.el (window--state-get-1): Obey window-point-insertion-type.
3542
050cc68b
LB
35432012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3544
3545 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3546 to previous function when point is on the first character of a
75f1671a 3547 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3548
a38c310c
GM
35492012-04-11 Glenn Morris <rgm@gnu.org>
3550
effed0c2
GM
3551 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3552 not just file-errors.
3553
a38c310c
GM
3554 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3555 (vc-bzr-sha1): Use internal sha1.
3556
0221e323
SM
35572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3560
43956923
SG
35612012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3562
3563 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3564 that start in the middle of the line (bug#10496).
3565
6a8c9eaf
DN
35662012-04-10 Dan Nicolaescu <dann@gnu.org>
3567
3568 * battery.el (battery-linux-proc-acpi): Only one battery is
3569 discharged at a time, but that seems to confuse battery.el when
3570 computing `rate-type' for the battery not being discharged
3571 (bug#10332).
3572
1930bf5d
SM
35732012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3574
2a718f6f
SM
3575 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3576
599430d0
SM
3577 * international/quail.el: Use dolist and simplify.
3578 (quail-define-package, quail-update-keyboard-layout)
3579 (quail-define-rules): Use dolist.
3580 (quail-insert-kbd-layout, quail-get-translation): CSE.
3581
a2754b6c
SM
3582 * tmm.el: Use dolist, remove left over hook.
3583 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3584 Use dolist.
3585 (calendar-load-hook): Don't mess with it.
3586
1930bf5d
SM
3587 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3588 Use derived-mode-p. Run the diff asynchronously.
3589
9f67961c
LMI
35902012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3591
3592 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3593
2a8ce227
JB
35942012-04-10 Juanma Barranquero <lekktu@gmail.com>
3595
3596 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3597 (list-dynamic-libraries--loaded): New function.
3598 (list-dynamic-libraries--refresh): Use it.
3599
8f33b5f8
NW
36002012-04-10 Nathan Weizenbaum <nweiz@google.com>
3601
1930bf5d
SM
3602 * progmodes/python.el (python-fill-paragraph):
3603 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3604 disabled (bug#7018).
3605
b12f0439
L
36062012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3607
1930bf5d 3608 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3609 DOS/MS Windows for the Baltic languages. There are still plenty
3610 of texts written in this encoding/codepage (bug#6519).
b12f0439 3611
57c3bd01
GM
36122012-04-10 Glenn Morris <rgm@gnu.org>
3613
3614 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3615 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3616
6c3eab30
FA
36172012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3618
1930bf5d 3619 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3620 next-line "n" and previous-line "p" in order to make recentf more
3621 consistent with ibuffer, dired or org-mode (bug#9387).
3622
24d78a88
LMI
36232012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3624
bc72b5d9
LMI
3625 * image.el (put-image): Return the overlay created instead of the
3626 optional input string (bug#7834). Note that this may break code
3627 that is (for some reason or other) depending on `put-image'
3628 returning the string.
3629
bd2dba5a
LMI
3630 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3631
74beb59f
LMI
3632 * simple.el (zap-to-char): Allow zapping using input methods
3633 (bug#1580).
3634
24d78a88
LMI
3635 * textmodes/fill.el (fill-region): Leave point and mark where they
3636 were before filling (bug#5399).
3637
263f20cd
GM
36382012-04-09 Glenn Morris <rgm@gnu.org>
3639
3640 * version.el (emacs-bzr-get-version):
3641 Handle lightweight checkouts of local branches.
3642
58d1f797
AS
36432012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3644
263f20cd 3645 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3646
b4d3bc10
CY
36472012-04-09 Chong Yidong <cyd@gnu.org>
3648
3649 * custom.el (custom-variable-p): Return nil for non-symbol
3650 arguments instead of signaling an error.
3651 (user-variable-p): Obsolete alias for custom-variable-p.
3652
3653 * apropos.el (apropos-variable):
3654 * files-x.el (read-file-local-variable):
3655 * simple.el (set-variable):
3656 * woman.el (woman-mini-help):
3657 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3658
fd06db5d
GM
36592012-04-09 Glenn Morris <rgm@gnu.org>
3660
e5fcdb5e
GM
3661 * startup.el (normal-top-level): Don't look for leim-list.el
3662 in places where it will not be found. (Bug#910)
3663
fd06db5d
GM
3664 * international/mule-cmds.el (set-default-coding-systems):
3665 * files.el (normal-mode):
3666 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3667 This function was removed with ucs-tables.el in 2008.
3668
b39bb7e1
EZ
36692012-04-08 Eli Zaretskii <eliz@gnu.org>
3670
3671 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3672 ispell-encoding8-command to "-i", without a trailing space.
3673 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3674 separate command-line arguments, to specify the encoding, since
3675 that's how hunspell expects it.
3676
5c5b8e23
GM
36772012-04-08 Glenn Morris <rgm@gnu.org>
3678
3679 * loadup.el: Load bindings before cus-start.
3680 This reduces somewhat the number of "rogue" settings in emacs -Q.
3681
a1ed8b05
GM
36822012-04-07 Glenn Morris <rgm@gnu.org>
3683
3684 * version.el (emacs-bzr-get-version): New function.
dfae128a 3685 (emacs-bzr-version): New variable.
a1ed8b05
GM
3686 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3687 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3688
b142f158
EZ
36892012-04-07 Eli Zaretskii <eliz@gnu.org>
3690
dfae128a
GM
3691 * international/uni-bidi.el, international/uni-category.el:
3692 * international/uni-combining.el, international/uni-decimal.el:
3693 * international/uni-decomposition.el, international/uni-digit.el:
3694 * international/uni-lowercase.el, international/uni-mirrored.el:
3695 * international/uni-name.el, international/uni-numeric.el:
3696 * international/uni-titlecase.el, international/uni-uppercase.el:
3697 Update for Unicode 6.1.
b142f158 3698
9078ead6
EZ
36992012-04-07 Eli Zaretskii <eliz@gnu.org>
3700
3701 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3702
f23d2c7d
LMI
37032012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3704
3705 * window.el (shrink-window): Mention the `window-min-height'
3706 variable in the doc string.
3707
0a0a3573
BG
37082012-04-05 Bastien Guerry <bzg@altern.org>
3709
3710 * color.el (color-lighten-name): Fix typo.
3711
e5248ac9
SM
37122012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * server.el (server--on-display-p): New function.
3715 (server--on-display-p): Use it.
3716
b4243e22
GV
37172012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3718
3719 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3720 (bug#11145).
3721
305d9f44
SM
37222012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * comint.el (comint--common-quoted-suffix): Check string boundary
3725 before comparing (bug#11158).
3726 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3727
3d439cd1
CY
37282012-04-04 Chong Yidong <cyd@gnu.org>
3729
321cc491
CY
3730 * minibuffer.el (completion-extra-properties): Doc fix.
3731
3d439cd1
CY
3732 * subr.el (delayed-warnings-hook): Doc fix.
3733
2d562c0f
DU
37342012-04-04 Daiki Ueno <ueno@unixuser.org>
3735
3736 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3737 selection (Bug#11159).
3738 (epa-insert-keys): Inform that the default public key will be
3739 exported if no key is selected.
3740
4443f204
RS
37412012-04-04 Richard Stallman <rms@gnu.org>
3742
3743 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3744
529c06b6
CY
37452012-04-03 Chong Yidong <cyd@gnu.org>
3746
3747 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3748 mail-insert-file, not its obsolete alias mail-attach-file.
3749
66b907dc
MA
37502012-04-03 Michael Albinus <michael.albinus@gmx.de>
3751
3752 * notifications.el (notifications-notify): Fix docstring.
3753
c0ea195d
GM
37542012-04-02 Glenn Morris <rgm@gnu.org>
3755
3756 * emacs-lisp/authors.el (authors-aliases): Another addition.
3757
5ca64e00
MA
37582012-04-02 Michael Albinus <michael.albinus@gmx.de>
3759
3760 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3761 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3762 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3763
42ee526b
CY
37642012-04-01 Chong Yidong <cyd@gnu.org>
3765
3766 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3767 Handle root directory properly.
3768 (copy-directory): Caller changed.
3769
3770 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3771 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3772
0b021094
GM
37732012-03-31 Glenn Morris <rgm@gnu.org>
3774
40f86458
GM
3775 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3776
7019c177
GM
3777 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3778
a1daddd6
GM
3779 * calendar/calendar.el (calendar-window-list)
3780 (calendar-hide-window): Restore. (Bug#11140)
3781 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3782
0b021094
GM
3783 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3784
40311efc
TV
37852012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3786
3787 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3788 Check if file is a symlink (Bug#10489).
3789
3790 * files.el (copy-directory): Likewise.
3791
5319014e
CY
37922012-03-30 Chong Yidong <cyd@gnu.org>
3793
3794 * image.el (imagemagick-types-inhibit)
3795 (imagemagick-register-types): Doc fix.
3796
935d1290
AM
37972012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3798
ef24141c
SM
3799 * ispell.el (ispell-get-extended-character-mode):
3800 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3801 and treats ~word as ordinary words in pipe mode.
935d1290 3802
61c6e8fd
GM
38032012-03-30 Glenn Morris <rgm@gnu.org>
3804
3805 * tutorial.el (help-with-tutorial): Ensure local variables don't
3806 happen to make the buffer read-only. (Bug#11127)
3807
81fdff00
SM
38082012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3811 (perl-calculate-indent): Return `noindent' in strings.
3812
6e7a6ec0
SS
38132012-03-28 Sam Steingold <sds@gnu.org>
3814
3815 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3816 instead of the broken adhockery which does not prevent calendar
3817 buffers from being displayed at random after exit.
3818 (calendar-window-list, calendar-hide-window): Remove the broken
3819 adhockery.
3820
fee88ca0
GM
38212012-03-28 Glenn Morris <rgm@gnu.org>
3822
3823 * replace.el (query-replace-map): Doc fix.
3824
38de3354
AS
38252012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3826
3827 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3828 contents. (Bug#11109)
3829
b973155e
SM
38302012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3833 (bug#11077).
3834 (avl-tree--check, avl-tree--check-node): New funs.
3835
dcb6e7b3
MR
38362012-03-27 Martin Rudalics <rudalics@gmx.at>
3837
3838 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3839 (switch-to-prev-buffer, switch-to-next-buffer):
3840 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3841 showing a buffer already is done on the same frame.
3842
b4fa35fa
GM
38432012-03-27 Glenn Morris <rgm@gnu.org>
3844
3845 * startup.el (mail-host-address): Doc fix.
3846
f9210e18
SM
38472012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3850 than 197 variables.
3851
c0bf7753
AF
38522012-03-26 Ami Fischman <ami@fischman.org>
3853
3854 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3855
33da7b16
GM
38562012-03-26 Glenn Morris <rgm@gnu.org>
3857
02243d9d
GM
3858 * files.el (save-buffers-kill-emacs): Doc fix.
3859
33da7b16
GM
3860 * startup.el (normal-top-level, command-line, command-line-1):
3861 Give them doc strings.
3862
e5a69fd0
EZ
38632012-03-25 Eli Zaretskii <eliz@gnu.org>
3864
3865 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3866 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3867
9a69676a
CY
38682012-03-25 Chong Yidong <cyd@gnu.org>
3869
4125cb8b
CY
3870 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3871 theme if it was previously enabled before (Bug#11031).
3872
dd470960
CY
3873 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3874 spec with custom-face-get-current-spec if its :shown-value is not
3875 determined yet (Bug#9337).
4125cb8b 3876 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3877
9a69676a
CY
3878 * button.el (button-at): Minor addition to docstring.
3879
6e7e90fa
SL
38802012-03-24 Simon Leinen <simon.leinen@gmail.com>
3881
3882 * vc/vc.el (vc-merge): Fix a prompt.
3883
f06e2758
CY
38842012-03-24 Chong Yidong <cyd@gnu.org>
3885
3886 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3887 point (Bug#9623).
3888
6e7e90fa
SL
3889 * button.el (button-at): Minor addition to docstring.
3890
b9d0879b
SM
38912012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * newcomment.el (comment-choose-indent): No space after BOL.
3894
e71cebb3
SS
38952012-03-22 Sam Steingold <sds@gnu.org>
3896
3897 * window.el (switch-to-prev-buffer): Revert last patch because the
3898 bug turned out to be an advertised feature (Elisp manual 28.14).
3899
335aff35
GM
39002012-03-22 Glenn Morris <rgm@gnu.org>
3901
3902 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3903 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3904
c676576a
LMI
39052012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3906
3907 * net/network-stream.el (network-stream-open-starttls): Make error
3908 message under Windows be less misleading.
3909
126f3d39
LW
39102012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3911
3912 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3913 understands (bug#9942).
3914
64fee311
CY
39152012-03-22 Chong Yidong <cyd@gnu.org>
3916
3917 * simple.el (end-of-visible-line): Handle return value of
3918 next-single-property-change properly (Bug#9371).
3919
a640d29a
KH
39202012-03-22 Kenichi Handa <handa@m17n.org>
3921
3922 * international/quail.el (quail-insert-kbd-layout): Fix previous
3923 change. To avoid unwanted bidi reordering, use
3924 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3925
39675016
DG
39262012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3927
3928 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3929 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3930 (ruby-beginning-of-indent): Be more careful with the difference
3931 between word-boundary and symbol boundary.
3932 (ruby-mode-syntax-table): Make : a symbol constituent.
3933
0a6934fc 39342012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3935
3d008e4f
SM
3936 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3937
0a6934fc
SM
39382012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3939
af67c9d7
SM
3940 * progmodes/etags.el (tags-completion-at-point-function):
3941 Improve last fix.
3942
1acad97c
SM
3943 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3944
e298b5da
SS
39452012-03-21 Sam Steingold <sds@gnu.org>
3946
3947 * progmodes/etags.el (tags-completion-at-point-function):
3948 Avoid the error when point is inside the pattern.
3949
91d82a70
JY
39502012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3951
3952 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3953 line (Bug#10855).
3954
69188b79
CY
39552012-03-21 Drew Adams <drew.adams@oracle.com>
3956
3957 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3958
99fc91fe
AK
39592012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3960
3961 * ido.el (ido-set-current-directory, ido-read-internal)
3962 (ido-choose-completion-string, ido-completion-help): Handle nil
3963 value of ido-completion-buffer (Bug#11008).
3964
087bbb4c
SS
39652012-03-21 Sam Steingold <sds@gnu.org>
3966
3967 * window.el (switch-to-prev-buffer): Do not switch to a visible
3968 window previous buffer, just like with the frame previous buffers.
3969
fb5b8aca
CY
39702012-03-21 Chong Yidong <cyd@gnu.org>
3971
3972 * faces.el (make-face, make-empty-face, copy-face):
3973 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3974 Doc fixes.
3975
dc9924b8
SM
39762012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3979 (widget-complete): Remove broken use of it.
3980
f0bcceb9
CY
39812012-03-20 Chong Yidong <cyd@gnu.org>
3982
dc9924b8
SM
3983 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3984 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3985 characters.
3986
ee52ebf3
TH
39872012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3988
3989 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3990 to draw rectangles, not squares. (Regression introduced by revno
3991 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3992
4c5779ab
CY
39932012-03-18 Chong Yidong <cyd@gnu.org>
3994
3995 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3996 it is not yet defined (for temacs).
3997
15360934
LL
39982012-03-18 Leo Liu <sdl.web@gmail.com>
3999
dc9924b8 4000 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4001
d9a8eb66
EZ
40022012-03-17 Eli Zaretskii <eliz@gnu.org>
4003
4004 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4005 (ispell-choices-win-default-height, ispell-silently-savep)
4006 (ispell-dictionary-alist, ispell-encoding8-command)
4007 (ispell-check-version, ispell-aspell-find-dictionary)
4008 (ispell-valid-dictionary-list, ispell-words-keyword)
4009 (ispell-get-word, ispell-internal-change-dictionary)
4010 (ispell-region, ispell-skip-region-list)
4011 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4012 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4013 (ispell-message-text-end, ispell-message)
4014 (ispell-buffer-local-parsing): Doc fix.
4015
f02ff80d
J
40162012-03-13 Jambunathan K <kjambunathan@gmail.com>
4017
4018 * htmlfontify.el: Add support for code block fontification for ODT
4019 export (Bug #9914).
4020 (hfy-optimisations): Define new option
4021 `body-text-only'
4022 (hfy-fontify-buffer): Honor above setting.
4023 (hfy-begin-span, hfy-end-span): New routines factored out form
4024 `hfy-fontify-buffer'.
4025 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4026 that permit insertion of custom tags.
4027 (hfy-fontify-buffer): Use above handlers.
4028 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4029 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4030 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4031 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4032 bind a special variable `hfy-user-sheet-assoc'.
4033 (htmlfontify-string): New defun.
4034 (hfy-compile-face-map): Make sure that the last char in the
4035 buffer is correctly fontified.
4036 (hfy-face-resolve-face): Whitespace only change.
4037
9ac7a13f
EZ
40382012-03-17 Eli Zaretskii <eliz@gnu.org>
4039
4040 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4041 message more clear.
4042
e2b5bdd7
LL
40432012-03-16 Leo Liu <sdl.web@gmail.com>
4044
4045 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4046
2e492df3
AM
40472012-03-16 Alan Mackenzie <acm@muc.de>
4048
4049 Further optimise the handling of large macros.
4050
4051 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4052 limit to a call of `c-literal-limits'.
4053 (c-determine-+ve-limit): New function.
dc9924b8
SM
4054 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4055 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4056 In CASE 5B, restrict a search limit to 500.
4057 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4058
4059 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4060 Restrict macro bounds to +-500 from after-change's BEG END.
4061
50e94f0c
LL
40622012-03-16 Leo Liu <sdl.web@gmail.com>
4063
4064 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4065
6f09f6ed
AH
40662012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4067
4068 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4069 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4070
c7e73d51
GM
40712012-03-16 Glenn Morris <rgm@gnu.org>
4072
da986230
GM
4073 * view.el (view-buffer, view-buffer-other-window)
4074 (view-buffer-other-frame): Doc fixes re special mode-class.
4075
0835f01e
GM
4076 * subr.el (eval-after-load): If named feature is provided not from
4077 a file, run after-load forms. (Bug#10946)
4078
c7e73d51
GM
4079 * calendar/calendar.el (calendar-insert-at-column):
4080 Handle non-unit-width characters a bit better. (Bug#10978)
4081
3f2eafd1
CY
40822012-03-15 Chong Yidong <cyd@gnu.org>
4083
4084 * emacs-lisp/ring.el (ring-extend): New function.
4085 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4086
4087 * comint.el (comint-read-input-ring)
4088 (comint-add-to-input-history): Grow comint-input-ring lazily.
4089
103af3fe
SM
40902012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4091
663b1677
SM
4092 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4093 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4094
103af3fe
SM
4095 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4096 (imenu-add-to-menubar): Don't add a redundant index.
4097 (imenu-update-menubar): Handle a dynamically composed keymap.
4098
899cb7cb
KY
40992012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4100
4101 * mail/sendmail.el (mail-encode-header):
4102 Bind rfc2047-encode-encoded-words to nil.
4103
3809f91d
GM
41042012-03-13 Glenn Morris <rgm@gnu.org>
4105
4106 * calendar/calendar.el (calendar-string-spread):
4107 Handle non-unit-width characters a bit better. (Bug#10978)
4108
9e345a01
LL
41092012-03-13 Leo Liu <sdl.web@gmail.com>
4110
4111 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4112 directory and file as argument (Bug#10822).
4113
4a07df36
KS
41142012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4115
4116 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4117 For dynamically generated code, follow $PC.
4118 (gdb-disassembly-handler-custom): Handle no function name case.
4119
4aaa9356
TL
41202012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4121
4122 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4123 * emulation/ws-mode.el (ws-query-replace):
4124 * sort.el (sort-regexp-fields):
4125 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4126
225979da
SM
41272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 * dabbrev.el: Fix cycle completion order (bug#10963).
4130 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4131 (dabbrev-completion): Don't use an obarray; provide
4132 a cycle-sort-function.
4133
e2f1fdab
LL
41342012-03-12 Leo Liu <sdl.web@gmail.com>
4135
dc9924b8 4136 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4137 (kill-do-not-save-duplicates): Doc fix.
4138
b19490ed
SM
41392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4140
4141 * dabbrev.el: Fix cycle completion (bug#10963).
4142 Use lexical binding and wrap to 80 columns.
4143 (dabbrev-completion): Delay computing the list of completions.
4144
4b05d722
KH
41452012-03-12 Kenichi Handa <handa@m17n.org>
4146
4147 * international/quail.el (quail-insert-kbd-layout): Surround each
4148 row by LRO and PDF instead of inserting many LRMs. Pad the left
4149 and right of each non-spacing marks. Insert invisible space
4150 between lower and upper characters to prevent composition.
4151
dbbc2e69
SM
41522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * minibuffer.el (minibuffer-complete): Don't get confused when the
4155 function is run twice via different commands (bug#10958).
4156 (complete-with-action): Fix docstring.
4157
292112ed
CY
41582012-03-12 Chong Yidong <cyd@gnu.org>
4159
5d1ac394
CY
4160 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4161 (nxml-completion-at-point-function): New function.
4162 (nxml-mode): Use it.
4163 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4164
292112ed
CY
4165 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4166 Load generated autoloads file before byte compiling (Bug#10970).
4167 (package--make-autoloads-and-compile): New helper fun.
4168
4098f8f7
CS
41692012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4170
4171 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4172
8f754691
MA
41732012-03-11 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * autorevert.el (auto-revert-handler): Ensure, that
4176 file-readable-p is applied only for local files or in
4177 auto-revert-tail-mode.
4178
e29ab36b
AS
41792012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4180
dbbc2e69
SM
4181 * server.el (server-eval-at): Handle non-tcp connections.
4182 Decode result string.
ad0bf5b6 4183
e29ab36b
AS
4184 * server.el (server-msg-size): New constant.
4185 (server-reply-print): New function.
4186 (server-eval-and-print): Use it.
4187 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4188 Handle -print-nonl.
4189
de5939ba
CS
41902012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4191
4192 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4193 (Bug#10987).
4194
0c93eabf
CY
41952012-03-11 Chong Yidong <cyd@gnu.org>
4196
397a688f
CY
4197 * simple.el (goto-line): Doc fix (Bug#9938).
4198
2cc775f9
CY
4199 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4200
0c93eabf
CY
4201 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4202 when finished (Bug#10963).
4203
c491fa41
MR
42042012-03-11 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (split-window-below): Fix bug in case where
4207 split-window-keep-point is nil (Bug#10971).
4208
300e8fa5
JL
42092012-03-11 Juri Linkov <juri@jurta.org>
4210
4211 * replace.el (replace-highlight): Set isearch-word to nil
4212 unconditionally. (Bug#10887)
4213
dbf6c5a1
EZ
42142012-03-10 Eli Zaretskii <eliz@gnu.org>
4215
4216 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4217 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4218 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4219 (mairix-widget-create-query): Add usage information about mairix
4220 search forms: negating words, searching for substrings, etc.
4221
b9e501de
JP
42222012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4223
4224 * international/fontset.el (font-encoding-alist): Add an entry for
4225 ksx1001 (Bug#5667).
4226
92795c91
RS
42272012-03-10 Richard Stallman <rms@gnu.org>
4228
1694e6c1
RS
4229 * mail/sendmail.el (mail-encode-header):
4230 Set rfc2047-encode-encoded-words.
4231
607e8555
RS
4232 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4233
de3bc99a
RS
4234 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4235 view buffer means not swapped.
4236 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4237 (rmail-write-region-annotate): Error if real text has disappeared.
4238
92795c91
RS
4239 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4240
699bd04e
CY
42412012-03-10 Chong Yidong <cyd@gnu.org>
4242
4243 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4244 * emulation/cua-base.el (cua--init-keymaps):
4245 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4246
570a1714
MR
42472012-03-10 Martin Rudalics <rudalics@gmx.at>
4248
dbbc2e69
SM
4249 * speedbar.el (speedbar-unhighlight-one-tag-line):
4250 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4251
82dcf4e4
CY
42522012-03-10 Chong Yidong <cyd@gnu.org>
4253
7a2c7ca7
CY
4254 * minibuffer.el (completion-in-region, completion-help-at-point):
4255 Give the completion field overlay a high priority (Bug#6830).
4256
82dcf4e4
CY
4257 * dired.el (dired-goto-file): Recognize absolute file name
4258 listings (Bug#7126).
4259 (dired-goto-file-1): New helper function.
4260 (dired-toggle-read-only): Inhibit warnings.
4261
052e28ac
MA
42622012-03-09 Michael Albinus <michael.albinus@gmx.de>
4263
75f1671a 4264 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4265 there are no properties.
4266
95d5e396
LL
42672012-03-09 Leo Liu <sdl.web@gmail.com>
4268
4269 * savehist.el (savehist-printable): Stricter check for string
4270 value (Bug#10937).
4271
3f018d6d
EZ
42722012-03-09 Eli Zaretskii <eliz@gnu.org>
4273
dbbc2e69
SM
4274 * mail/smtpmail.el (smtpmail-send-it):
4275 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4276 valid mbox format.
4277
f7fd3d79
GM
42782012-03-09 Glenn Morris <rgm@gnu.org>
4279
4280 * files.el (dir-locals-find-file):
4281 Don't check result is regular, readable.
4282 (dir-locals-read-from-file): Demote errors.
4283
6ff6e72f
EZ
42842012-03-08 Eli Zaretskii <eliz@gnu.org>
4285
dbbc2e69
SM
4286 * international/quail.el (quail-insert-kbd-layout):
4287 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4288 layout cell, to prevent their reordering by bidi display engine.
4289 For details, see the discussion in
4290 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4291
9cec7834
AM
42922012-03-08 Alan Mackenzie <acm@muc.de>
4293
4294 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4295 the starting position; make it extend the marked region when
4296 invoked repeatedly - all under appropriate circumstances.
4297 Fixes bugs #5525, #10906.
4298
9a40b8d4
GM
42992012-03-08 Glenn Morris <rgm@gnu.org>
4300
4301 * files.el (locate-dominating-file, dir-locals-find-file):
4302 Undo 2012-03-06 change.
4303
7a08ed35
EZ
43042012-03-07 Eli Zaretskii <eliz@gnu.org>
4305
dbbc2e69
SM
4306 * international/quail.el (quail-help):
4307 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4308 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4309 for the reason.
4310
5aca4f71 43112012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4312
4313 Avoid superfluous registering of signals. (Bug#10807)
4314
4315 * notifications.el (notifications-on-action-object)
4316 (notifications-on-close-object): New defvars.
4317 (notifications-on-action-signal, notifications-on-closed-signal):
4318 Unregister the signal if not needed any longer.
4319 (notifications-notify): Register `notifications-action-signal' or
4320 `notifications-closed-signal', if :on-action or :on-close has been
4321 passed as argument.
4322
78e8b10a
CY
43232012-03-07 Chong Yidong <cyd@gnu.org>
4324
4325 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4326 non-X platforms.
4327
69481eb8
GM
43282012-03-06 Glenn Morris <rgm@gnu.org>
4329
4330 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4331 (x-disown-selection-internal, x-get-selection-internal):
4332 Doc fix (add arglist signatures). (Bug#10783)
4333
133b8e11
KS
43342012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4335
4336 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4337 Handle breakpoints with no "type".
4338
99a83064
GM
43392012-03-06 Glenn Morris <rgm@gnu.org>
4340
4341 * files.el (locate-dominating-file): Add optional predicate argument.
4342 (dir-locals-find-file): Make use of above change.
4343
17798e78
TTN
43442012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4345
4346 * info.el (Info-insert-dir): Also try "dir.gz".
4347
eb182446
GM
43482012-03-06 Glenn Morris <rgm@gnu.org>
4349
8f2114ee
GM
4350 * files.el (dir-locals-find-file):
4351 Ignore non-readable or non-regular files. (Bug#10928)
4352
eb182446
GM
4353 * files.el (locate-dominating-file): Doc fix.
4354
24679323
AS
43552012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4356
4357 * calendar/calendar.el (calendar-set-mode-line):
4358 `getenv' returns a string. (Bug#10951)
4359
01d972a9
LL
43602012-03-05 Leo Liu <sdl.web@gmail.com>
4361
109aa8a9
LL
4362 * simple.el (backward-delete-char-untabify): Constrain point to
4363 field (Bug#10939).
4364
01d972a9
LL
4365 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4366
10607bea
CY
43672012-03-05 Chong Yidong <cyd@gnu.org>
4368
4369 * simple.el (count-words): If called from Lisp, return the word
4370 count, for symmetry with `count-lines'. Arglist changed.
4371 (count-words--message): Args changed. Consolidate counting code
4372 from count-words and count-words-region.
4373 (count-words-region): Caller changed.
4374 (count-lines-region): Make it an obsolete alias.
4375
5dd11cfe
TH
43762012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4377
4378 * saveplace.el (save-place-to-alist)
4379 (save-place-ignore-files-regexp): Allow value nil to disable this
4380 feature.
4381
c349f4e6
CY
43822012-03-04 Chong Yidong <cyd@gnu.org>
4383
4384 * faces.el (face-spec-reset-face): For the default face, reset the
4385 attributes to default values (Bug#10748).
4386
e627be4c
LMI
43872012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4388
4389 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4390 previous patch: Check `message-send-mail-function', and not the
4391 default function (bug#10897).
4392
ebeabff4
MA
43932012-03-04 Michael Albinus <michael.albinus@gmx.de>
4394
a41a6cf4
MA
4395 * notifications.el (notifications-on-action-signal)
4396 (notifications-on-closed-signal): Check for unique service name of
4397 incoming event. Fix error in removing entry.
ebeabff4 4398 (top): Register for signals with wildcard service name.
a41a6cf4 4399 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4400
c1ca42b4
CY
44012012-03-04 Chong Yidong <cyd@gnu.org>
4402
dc9924b8 4403 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4404
ea16568d
GM
44052012-03-04 Glenn Morris <rgm@gnu.org>
4406
4407 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4408 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4409 (expand-abbrev, define-abbrev-table): Doc fixes.
4410
fbae4637
LMI
44112012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4412
4413 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4414 `message-default-send-mail-function' and not `send-mail-function'
4415 when doing the prompting for `sendmail-query-once' before sending
4416 in Message buffers (bug#10897).
4417
a1e7225c
LMI
4418 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4419 This is inconsistent with all the other stream functions, which leave
4420 the setting up to the higher levels (if so wanted) (bug#10931).
4421
56d093a9
AM
44222012-03-02 Alan Mackenzie <acm@muc.de>
4423
4424 Depessimize the handling of very large macros.
4425
4426 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4427 (c-macro-cache-syntactic): New variables to implement a one
4428 element macro cache.
4429 (c-invalidate-macro-cache): New function.
4430 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4431 Adapt to use the new cache.
4432 (c-state-safe-place): Use better the cache of safe positions.
4433 (c-state-semi-nonlit-pos-cache)
4434 (c-state-semi-nonlit-pos-cache-limit):
4435 New variables for...
4436 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4437 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4438 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4439 Use c-state-semi-safe-place.
56d093a9 4440
dbbc2e69
SM
4441 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4442 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4443
817e5c3d
MA
44442012-03-02 Michael Albinus <michael.albinus@gmx.de>
4445
dbbc2e69
SM
4446 * jka-compr.el (jka-compr-call-process):
4447 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4448 not remote.
4449
a032a702
MA
44502012-03-01 Michael Albinus <michael.albinus@gmx.de>
4451
4452 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4453 access of FILE2, if FILE1 does not exist.
4454
99a54f21
MA
4455 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4456 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4457
4458 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4459 Add "PAGER=" to `process-environment'.
4460
f6561e1f
MM
44612012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4462
4463 * progmodes/sql.el: Bug fix
4464 (sql-get-login-ext): Save login values in globals.
4465 (sql-get-login): Use new version of `sql-get-login-ext'.
4466 (sql-interactive-mode): Set global `sql-connection' to nil.
4467 (sql-connect): Set global values for connection.
4468 (sql-product-interactive): Save global values as buffer local.
4469
2d44d9cc
LL
44702012-02-29 Leo Liu <sdl.web@gmail.com>
4471
4472 * abbrev.el (define-abbrevs): Reset sys to nil.
4473
96b49301 44742012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4475
bf7f9bc5
JB
4476 * files.el (file-equal-p): Rename from `files-equal-p'.
4477 Return nil when one or both files don't exist.
96b49301 4478 (file-subdir-of-p): Now only top directory must exists,
4479 return nil if it doesn't.
bf7f9bc5
JB
4480 (copy-directory): No need to test with `file-subdir-of-p' after
4481 creating dir.
4482 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4483 to `file-equal-p'.
96b49301 4484
44e97401
GM
44852012-02-28 Glenn Morris <rgm@gnu.org>
4486
4487 * shell.el (shell-mode):
4488 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4489 * play/landmark.el (landmark-font-lock-face-O):
4490 * play/handwrite.el (handwrite):
4491 * play/gomoku.el (gomoku-O):
4492 * net/browse-url.el (browse-url-browser-display):
4493 * international/mule.el (define-charset):
4494 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4495 * filesets.el (filesets-find-file-delay):
4496 * eshell/em-xtra.el (eshell-xtra):
4497 * eshell/em-unix.el (eshell-grep):
4498 * emulation/viper.el (viper-mode):
4499 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4500 * emacs-lisp/easymenu.el (easy-menu-define):
4501 * calendar/timeclock.el (timeclock-use-display-time):
4502 * bs.el (bs-mode):
4503 * bookmark.el (bookmark-save-flag):
4504 Doc fix (standardize possessive apostrophe usage).
4505
c98c6276
CY
45062012-02-27 Chong Yidong <cyd@gnu.org>
4507
bf7f9bc5
JB
4508 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4509 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4510
c98c6276
CY
4511 * font-lock.el (font-lock-specified-p): Rename from
4512 font-lock-spec-present. Callers changed.
4513
9c62cd04 45142012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4515
bf7f9bc5
JB
4516 * emacs-lisp/package.el (package-compute-transaction):
4517 Handle holding a package version to t in package-load-list.
8ac9e529 4518
530739c9
MA
45192012-02-26 Michael Albinus <michael.albinus@gmx.de>
4520
4521 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4522 (tramp-get-inode, tramp-get-device): Use cached values.
4523
487915d7
AM
45242012-02-26 Alan Mackenzie <acm@muc.de>
4525
4526 Check there is a font-lock specification before doing initial
4527 fontification.
4528
4529 * font-core.el (font-lock-mode): Move the conditional from
4530 :after-hook to font-lock-initial-fontify.
4531 (font-lock-default-function): Move the check for a specification
4532 to font-lock-spec-present.
4533
dc9924b8 4534 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4535 (font-lock-spec-present): New function.
4536
4fd96557
JB
45372012-02-26 Jim Blandy <jimb@red-bean.com>
4538
4539 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4540 (gdb-send): Apply it to the operand of the '-interpreter-exec
4541 console' command, so that we can pass arguments with (say) quotes
4542 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4543
9a4888c0
CY
45442012-02-26 Chong Yidong <cyd@gnu.org>
4545
07498861
CY
4546 * help-fns.el (describe-function-1): Clarify description of
4547 remapping (Bug#10844).
4548
9a4888c0
CY
4549 * files.el (files-equal-p): Doc fix.
4550 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4551 and quit the loop once a mismatch is found.
4552
ea8fb88d
JB
45532012-02-25 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * bs.el (bs--show-with-configuration): Don't throw an error
4556 if the window cannot be split; otherwise, subsequent calls to
4557 bs-show fail, restoring a stale window config. (Bug#10882)
4558
525795c1
JD
45592012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4560
4561 * term/ns-win.el (global-map): Bind ns-drag-file to
4562 ns-find-file (Bug#5855, Bug#10050).
4563
f008086f
AS
45642012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4565
4566 * calendar/parse-time.el (parse-time-string): Allow extractor to
4567 return nil.
4568
a3fcfa99
MA
45692012-02-25 Michael Albinus <michael.albinus@gmx.de>
4570
91027d08
JB
4571 * net/tramp.el (tramp-file-name-for-operation):
4572 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4573
4574 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4575 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4576 Add COPY-CONTENTS argument.
a3fcfa99 4577
67b0de11
CY
45782012-02-25 Chong Yidong <cyd@gnu.org>
4579
4580 Add custom groups for VC backends, for consistency with vc-bzr.
4581
4582 * vc/vc-arch.el (vc-arch):
4583 * vc/vc-cvs.el (vc-cvs):
4584 * vc/vc-git.el (vc-git):
4585 * vc/vc-hg.el (vc-hg):
4586 * vc/vc-mtn.el (vc-mtn):
4587 * vc/vc-rcs.el (vc-rcs):
4588 * vc/vc-sccs.el (vc-sccs):
4589 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4590 All relevant defcustoms reassigned.
4591
3c9dfce6
CY
45922012-02-25 Chong Yidong <cyd@gnu.org>
4593
1339bf43
CY
4594 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4595
3c9dfce6
CY
4596 * term/x-win.el (x-initialize-window-system): Reduce default for
4597 x-selection-timeout to 5 seconds (Bug#8869).
4598
25b2e303 45992012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4600
ec70a47d
GM
4601 * files.el (files-equal-p, file-subdir-of-p): New functions.
4602 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4603 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4604 * dired-aux.el (dired-copy-file-recursive): Same.
4605 (dired-create-files): Modify destination when source is equal to
4606 dest when copying files.
53a46cd0 4607 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4608
914260cd
MA
46092012-02-24 Michael Albinus <michael.albinus@gmx.de>
4610
4611 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4612 (Bug#10874)
4613
2cb228f7
AM
46142012-02-23 Alan Mackenzie <acm@muc.de>
4615
4616 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4617 parameter "after-hook:" to allow the expansion to run code after
4618 the execution of the mode hooks.
4619
4620 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4621 from font-lock-mode-internal.
2cb228f7 4622
91027d08 4623 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4624 :after-hook.
4625
8f0fde21
SM
46262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4627
3e88618b
SM
4628 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4629 (completion--cache-all-sorted-completions): New function.
4630 (completion-all-sorted-completions): Use it.
4631 (completion--do-completion, minibuffer-force-complete):
4632 Use it to re-instate the flush hook.
4633
8f0fde21
SM
4634 * icomplete.el (icomplete-completions): Replace last fix with a better
4635 one (bug#10850).
4636
8e911f6f
DG
46372012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4638
4639 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4640 when it might call us back infinitely (bug#10797).
4641
49fe4321
GM
46422012-02-23 Glenn Morris <rgm@gnu.org>
4643
4644 * minibuffer.el (completion-category-overrides): Doc fix.
4645
b291b572
SM
46462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4649 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4650
31a9ef2e
GM
46512012-02-23 Glenn Morris <rgm@gnu.org>
4652
5e6e6794 4653 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4654 (authors-obsolete-files-regexps, authors-ignored-files)
4655 (authors-ambiguous-files, authors-renamed-files-alist):
4656 Add more entries.
4657
0bd1e074
JL
46582012-02-23 Juri Linkov <juri@jurta.org>
4659
4660 * isearch.el (isearch-occur): Sync interactive spec with occur's
4661 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4662
b617673c
JL
4663 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4664
19e9789e
JL
46652012-02-22 Juri Linkov <juri@jurta.org>
4666
4667 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4668 (ucs-insert): Doc fix. Check for hex digits in the string.
4669 Don't display `nil' in the error message. (Bug#10857)
4670
f41ce09d
AM
46712012-02-22 Alan Mackenzie <acm@muc.de>
4672
7a71b18d 4673 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4674
ac2eceee
GM
46752012-02-22 Glenn Morris <rgm@gnu.org>
4676
4677 * ffap.el (ffap-c-path):
4678 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4679
abd1f678
CY
46802012-02-22 Chong Yidong <cyd@gnu.org>
4681
4682 * custom.el (load-theme): Doc fix.
4683
f25aef2e
GM
46842012-02-22 Glenn Morris <rgm@gnu.org>
4685
4686 * dired-x.el (dired-guess-shell-alist-default):
4687 Remove escape sequences from nroff output. (Bug#172)
4688
5f8dc2ca
GM
46892012-02-21 Glenn Morris <rgm@gnu.org>
4690
6ff86ec4
GM
4691 * vc/emerge.el (emerge-defvar-local):
4692 Set `permanent-local' property rather than unused `preserved'.
4693
be3223a3 4694 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4695 (picture-mode-map): Use it. (Bug#10860)
4696 (picture-mode): Doc fix.
4697
3fe58f4f
JB
46982012-02-21 Juanma Barranquero <lekktu@gmail.com>
4699
4700 * newcomment.el (uncomment-region-default): Remove unused binding.
4701
f9a998c3
GM
47022012-02-21 Glenn Morris <rgm@gnu.org>
4703
4704 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4705 (picture-self-insert, picture-tab-chars): Doc fix.
4706 (picture-mode-map): Fix C-a, C-e.
4707
c6029348
GM
47082012-02-20 Glenn Morris <rgm@gnu.org>
4709
4710 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4711
ab1ce9d7
LL
47122012-02-20 Leo Liu <sdl.web@gmail.com>
4713
4714 * icomplete.el (icomplete-completions): Check FROM arg before
4715 passing to substring (Bug#10850).
4716
0fd40f89
CY
47172012-02-19 Chong Yidong <cyd@gnu.org>
4718
4719 * comint.el: Require ansi-color.
4720 (comint-output-filter-functions): Add ansi-color-process-output.
4721
4722 * ansi-color.el: Don't set comint-output-filter-functions; it is
4723 now in the initial value defined in comint.el.
4724 (ansi-color-apply-face-function): New variable.
4725 (ansi-color-apply-on-region): Use it.
4726 (ansi-color-apply-overlay-face): New function.
4727
4728 * shell.el (shell): No need to require ansi-color.
4729 (shell-mode): Use ansi-color-apply-face-function to highlight
4730 color escapes using font-lock-face property (Bug#10835).
4731
20af2394
CY
47322012-02-19 Chong Yidong <cyd@gnu.org>
4733
4734 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4735 mode-line formats (Bug#10839).
4736
e23a3fbe
GM
47372012-02-18 Glenn Morris <rgm@gnu.org>
4738
b474519e
GM
4739 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4740
4741 * mail/undigest.el (unforward-rmail-message): Doc fix.
4742
e23a3fbe
GM
4743 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4744
57939ff4
EZ
47452012-02-18 Eli Zaretskii <eliz@gnu.org>
4746
4747 * international/characters.el (script-list): Sync with the latest
4748 Unicode Character Database.
4749
0c23686e
AS
47502012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4751
4752 * international/titdic-cnv.el: Remove duplicate coding tag.
4753 * language/cham.el: Likewise.
4754 * language/tai-viet.el: Likewise.
4755
6818b449
GM
47562012-02-18 Glenn Morris <rgm@gnu.org>
4757
4758 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4759 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4760 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4761 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4762 * calendar/holidays.el (holiday-bahai-holidays)
4763 (calendar-holidays, list-holidays):
4764 Use utf-8 Bahá'í in doc-strings, menus, etc.
4765
0311a3fc
TH
47662012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4767
4768 * saveplace.el (save-place-ignore-files-regexp): New variable
4769 allowing for excluding files from saving their location of point.
4770 The default value matches the temporary commit message editing
4771 files from Git, SVN, Bazaar, and Mercurial.
4772 (save-place-to-alist): Use it.
4773
eb864a71
LM
47742012-02-17 Lawrence Mitchell <wence@gmx.li>
4775 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * newcomment.el (uncomment-region-default): Don't leave extra space
4778 when an arg is provided (bug#8150).
4779
ee0ce425
TZ
47802012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4781
eb864a71 4782 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4783
95ddf442
GM
47842012-02-17 Glenn Morris <rgm@gnu.org>
4785
4786 * net/socks.el: Require network-stream. (Bug#10599)
4787
48dd1e39 47882012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4789
4790 * international/charprop.el:
4791 * international/uni-name.el:
4792 * international/uni-old-name.el:
4793 * international/uni-comment.el: Regenerate.
4794
d68cd087
GM
47952012-02-16 Glenn Morris <rgm@gnu.org>
4796
4797 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4798 Interactively in calendar buffer, give an error if not on a date.
4799
13932042
GM
48002012-02-15 Glenn Morris <rgm@gnu.org>
4801
4802 * shell.el (shell-delimiter-argument-list):
4803 Revert 2011-02-17 change. (Bug#8027)
4804
c3a70e2b
CY
48052012-02-15 Chong Yidong <cyd@gnu.org>
4806
60236b0d
CY
4807 * minibuffer.el (completion-at-point-functions): Doc fix.
4808
c3a70e2b
CY
4809 * custom.el (defcustom): Doc fix; note use of defvar.
4810
9f26dc24
GM
48112012-02-15 Glenn Morris <rgm@gnu.org>
4812
4813 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4814 Doc fixes.
4815
6546b134
GM
48162012-02-14 Glenn Morris <rgm@gnu.org>
4817
4818 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4819
d29b2b4c
LI
48202012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4821
4822 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4823 way the ports list is computed.
835bdcba
LI
4824 (smtpmail-query-smtp-server): Prompt the user for a port number if
4825 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4826
08dcdbc9
TZ
48272012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4828
4829 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4830
2605051a
GM
48312012-02-13 Glenn Morris <rgm@gnu.org>
4832
4833 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4834
7ee99f32
TZ
48352012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4836
4837 * net/gnutls.el (gnutls-trustfiles): New variable.
4838 (gnutls-negotiate): Use it.
4839
5f0af64f
LI
48402012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4841
4842 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4843 does its stuff if Gnus is running.
4844
c14fcc95
AM
48452012-02-13 Alan Mackenzie <acm@muc.de>
4846
4847 Fix a loop in c-set-fl-decl-start.
4848
7a71b18d 4849 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4850 c-backward-syntactic-ws actually moves backwards.
4851
142b4d90
LL
48522012-02-13 Leo Liu <sdl.web@gmail.com>
4853
4854 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4855 beginning so that all \C-o chars are removed.
4856
fa9958a6
TZ
48572012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4858
dc9924b8 4859 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4860
0bc5886a
AM
48612012-02-12 Alan Mackenzie <acm@muc.de>
4862
4863 Fix infinite loop with long macros.
4d6769e1 4864 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4865
d4bd55e7
CY
48662012-02-12 Chong Yidong <cyd@gnu.org>
4867
4868 * window.el (display-buffer): Doc fix (Bug#10785).
4869
66f3fe22
GM
48702012-02-12 Glenn Morris <rgm@gnu.org>
4871
bd7da63e
GM
4872 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4873 (x-disown-selection-internal, x-get-selection-internal):
4874 Sync docs with the xselect.c versions.
4875
66f3fe22
GM
4876 * allout-widgets.el: Add missing license notice.
4877
3e0d2fa7
GM
48782012-02-11 Glenn Morris <rgm@gnu.org>
4879
cfecdf09
GM
4880 * select.el (x-get-selection-internal, x-own-selection-internal)
4881 (x-disown-selection-internal):
4882 * x-dnd.el (x-get-selection-internal): Update declarations.
4883
6d216d7f
GM
4884 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4885
2bed3f04
GM
4886 * window.el (window-sides-slots):
4887 * tool-bar.el (tool-bar-position):
4888 * term/xterm.el (xterm-extra-capabilities):
4889 * ses.el (ses-self-reference-early-detection):
4890 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4891 (verilog-auto-wire-type)
4892 (verilog-auto-delete-trailing-whitespace)
4893 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4894 (verilog-auto-tieoff-declaration):
4895 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4896 (sql-oracle-statement-starters, sql-oracle-scan-on):
4897 * progmodes/prolog.el (prolog-align-comments-flag)
4898 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4899 (prolog-left-indent-regexp, prolog-paren-indent-p)
4900 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4901 (prolog-types, prolog-mode-specificators)
4902 (prolog-determinism-specificators, prolog-directives)
4903 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4904 (prolog-electric-dot-flag)
4905 (prolog-electric-dot-full-predicate-template)
4906 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4907 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4908 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4909 (prolog-program-switches, prolog-prompt-regexp)
4910 (prolog-debug-on-string, prolog-debug-off-string)
4911 (prolog-trace-on-string, prolog-trace-off-string)
4912 (prolog-zip-on-string, prolog-zip-off-string)
4913 (prolog-use-standard-consult-compile-method-flag)
4914 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4915 (prolog-imenu-max-lines, prolog-info-predicate-index)
4916 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4917 (prolog-char-quote-workaround):
4918 * progmodes/cc-vars.el (c-defun-tactic):
4919 * net/tramp.el (tramp-encoding-command-interactive)
4920 (tramp-local-end-of-line):
4921 * net/soap-client.el (soap-client):
4922 * net/netrc.el (netrc-file):
4923 * net/gnutls.el (gnutls):
4924 * minibuffer.el (completion-category-overrides)
4925 (completion-cycle-threshold)
4926 (completion-pcm-complete-word-inserts-delimiters):
4927 * man.el (Man-name-local-regexp):
4928 * mail/feedmail.el (feedmail-display-full-frame):
4929 * international/characters.el (glyphless-char-display-control):
4930 * eshell/em-ls.el (eshell-ls-date-format):
4931 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4932 (lisp-lambda-list-keyword-parameter-indentation)
4933 (lisp-lambda-list-keyword-parameter-alignment):
4934 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4935 * dired-x.el (dired-omit-verbose):
4936 * cus-theme.el (custom-theme-allow-multiple-selections):
4937 * calc/calc.el (calc-highlight-selections-with-faces)
4938 (calc-lu-field-reference, calc-lu-power-reference)
4939 (calc-note-threshold):
4940 * battery.el (battery-mode-line-limit):
4941 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4942 (archive-7z-update):
4943 * allout.el (allout-prefixed-keybindings)
4944 (allout-unprefixed-keybindings)
4945 (allout-inhibit-auto-fill-on-headline)
4946 (allout-flattened-numbering-abbreviation):
4947 * allout-widgets.el (allout-widgets-auto-activation)
4948 (allout-widgets-icons-dark-subdir)
4949 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4950 (allout-widgets-theme-dark-background)
4951 (allout-widgets-theme-light-background)
4952 (allout-widgets-item-image-properties-emacs)
4953 (allout-widgets-item-image-properties-xemacs)
4954 (allout-widgets-run-unit-tests-on-load)
4955 (allout-widgets-time-decoration-activity)
4956 (allout-widgets-hook-error-post-time)
4957 (allout-widgets-track-decoration):
4958 Add missing :version tags to new defcustoms and defgroups.
4959
5fec1b8e
GM
4960 * progmodes/sql.el (sql-ansi-statement-starters)
4961 (sql-oracle-statement-starters): Add custom type.
4962
3e0d2fa7
GM
4963 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4964 (prolog-system-version): Give it a type.
4965
90b671e2
EZ
49662012-02-11 Eli Zaretskii <eliz@gnu.org>
4967
4968 * term/pc-win.el (x-select-text, x-selection-owner-p)
4969 (x-own-selection-internal, x-disown-selection-internal)
4970 (x-get-selection-internal): Sync doc strings and argument lists
4971 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4972
5eac0c02
LL
49732012-02-11 Leo Liu <sdl.web@gmail.com>
4974
4975 * progmodes/python.el (python-end-of-statement): Fix infinite
4976 loop. (Bug#10788)
4977
f82cb659
GM
49782012-02-10 Glenn Morris <rgm@gnu.org>
4979
4980 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4981 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4982
cc26d239
LI
49832012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4984
4985 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4986 about SMTP before checking the From header.
4987
91027d08 4988 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4989 into own function for reuse by emacsbug.el.
4990
1be3ca5a
LL
49912012-02-10 Leo Liu <sdl.web@gmail.com>
4992
4993 * subr.el (condition-case-unless-debug): Rename from
4994 condition-case-no-debug. All callers changed.
4995 (with-demoted-errors): Fix caller.
4996
4997 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4998 * nxml/rng-valid.el (rng-do-some-validation):
4999 * emacs-lisp/package.el (package-refresh-contents)
5000 (package-menu-execute):
5001 * desktop.el (desktop-create-buffer):
91027d08 5002 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5003
b011fbfe
GM
50042012-02-10 Glenn Morris <rgm@gnu.org>
5005
b2096d72
GM
5006 * textmodes/bibtex.el:
5007 Add missing :version tags for new/changed defcustoms.
5008
b011fbfe
GM
5009 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5010
4c7e65bf
LI
50112012-02-09 Lars Ingebrigtsen <larsi@rusty>
5012
5013 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5014 (smtpmail-via-smtp): Use it, or fall back on the From address.
5015 (smtpmail-send-it): Ditto.
5016
f3934f6f
SM
50172012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5020 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5021 (byte-compile-tmp-var): New const.
5022 (byte-compile-defvar): Use it to minimize .elc size.
5023 Just use `defvar' rather than simulate it (bug#10761).
5024
a075a2c5
GM
50252012-02-09 Glenn Morris <rgm@gnu.org>
5026
cf3aa21b
GM
5027 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5028
354998cd
GM
5029 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5030 Add :version tags.
5031
dc9924b8
SM
5032 * progmodes/compile.el (compilation-error-screen-columns)
5033 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5034
dab3703d
GM
5035 * vc/log-view.el (log-view-toggle-entry-display):
5036 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5037
3f88cd72
GM
5038 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5039 (report-emacs-bug-can-use-xdg-email):
5040 (report-emacs-bug-insert-to-mailer): Doc fixes.
5041 (report-emacs-bug): Message fix.
5042
d95b247d
GM
5043 * net/browse-url.el (browse-url-can-use-xdg-open)
5044 (browse-url-xdg-open): Doc fixes.
5045
a075a2c5
GM
5046 * electric.el (electric-indent-mode, electric-pair-mode)
5047 (electric-layout-rules, electric-layout-mode): Doc fixes.
5048 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5049
ffb6157e
MR
50502012-02-08 Martin Rudalics <rudalics@gmx.at>
5051
5052 * server.el (server-unselect-display): Don't inadvertently kill
5053 the current buffer. (Bug#10729)
5054
e1ac4066
GM
50552012-02-08 Glenn Morris <rgm@gnu.org>
5056
34e8a2da
GM
5057 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5058 (sql-list-table): Doc fixes.
5059
b4ac6e8c
GM
5060 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5061 Comment out (does nothing).
5062
e1ac4066
GM
5063 * completion.el (dynamic-completion-mode):
5064 * dirtrack.el (dirtrack-debug-mode):
5065 * electric.el (electric-layout-mode):
5066 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5067 * face-remap.el (text-scale-mode, buffer-face-mode):
5068 * iimage.el (iimage-mode):
5069 * image-mode.el (image-transform-mode):
5070 * minibuffer.el (completion-in-region-mode):
5071 * scroll-lock.el (scroll-lock-mode):
5072 * simple.el (next-error-follow-minor-mode):
5073 * tar-mode.el (tar-subfile-mode):
5074 * tooltip.el (tooltip-mode):
5075 * vcursor.el (vcursor-use-vcursor-map):
5076 * wid-browse.el (widget-minor-mode):
5077 * emulation/tpu-edt.el (tpu-edt-mode):
5078 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5079 * international/iso-ascii.el (iso-ascii-mode):
5080 * language/thai-util.el (thai-word-mode):
5081 * mail/supercite.el (sc-minor-mode):
5082 * net/goto-addr.el (goto-address-mode):
5083 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5084 * progmodes/cwarn.el (cwarn-mode):
5085 * progmodes/flymake.el (flymake-mode):
5086 * progmodes/glasses.el (glasses-mode):
5087 * progmodes/hideshow.el (hs-minor-mode):
5088 * progmodes/pascal.el (pascal-outline-mode):
5089 * textmodes/enriched.el (enriched-mode):
5090 * vc/smerge-mode.el (smerge-mode):
5091 Doc fixes (minor mode argument).
5092
5e0d957f
EZ
50932012-02-07 Eli Zaretskii <eliz@gnu.org>
5094
5095 * ls-lisp.el (ls-lisp-sanitize): New function.
5096 (ls-lisp-insert-directory): Use it to fix or remove any elements
5097 in file-alist with missing attributes. (Bug#4673)
5098
98d7371e
AM
50992012-02-07 Alan Mackenzie <acm@muc.de>
5100
5101 Fix spurious recognition of c-in-knr-argdecl.
5102
5103 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5104 putative K&R region.
5105
667ced3a
AM
51062012-02-07 Alan Mackenzie <acm@muc.de>
5107
eb864a71
LM
5108 * progmodes/cc-engine.el (c-forward-objc-directive):
5109 Prevent looping in "#pragma mark @implementation".
667ced3a 5110
5b77774d
MA
51112012-02-07 Michael Albinus <michael.albinus@gmx.de>
5112
5113 * notifications.el (notifications-on-closed-signal): Make `reason'
5114 optional. (Bug#10744)
5115
af008560
GM
51162012-02-07 Glenn Morris <rgm@gnu.org>
5117
60d47423
GM
5118 * emacs-lisp/easy-mmode.el (define-minor-mode):
5119 Doc fixes for the macro and the mode it defines.
5120
dd605cc4
GM
5121 * image.el (imagemagick-types-inhibit): Doc fix.
5122
af008560
GM
5123 * cus-start.el (imagemagick-render-type): Add it.
5124
5cc59a37
LI
51252012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5126
4d6769e1
JB
5127 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5128 Set the default at load time, too, so that `font-lock-fontify-buffer'
5129 can be called without setting up the entire mode first. This fixes
5130 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5131
9a6dd747
CY
51322012-02-06 Chong Yidong <cyd@gnu.org>
5133
2d16b285
CY
5134 * simple.el (list-processes--refresh): Delete exited processes
5135 (Bug#8094).
5136
171e9b6e
CY
5137 * comint.el (comint-next-prompt): next-single-char-property-change
5138 and prev-single-char-property-change never return nil (Bug#8657).
5139
9a6dd747
CY
5140 * custom.el (defcustom): Doc fix (Bug#9711).
5141
aa4589a7
CY
51422012-02-05 Chong Yidong <cyd@gnu.org>
5143
5c2a252f
CY
5144 * cus-edit.el (custom-variable-reset-backup): Quote the value
5145 before storing it in the customized-value property (Bug#6712).
4aab9006 5146 (custom-display): Add a customization type tag.
983b9602 5147 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5148
aa4589a7
CY
5149 * wid-edit.el (widget-field-value-get): New optional arg to
5150 suppress trailing whitespace truncation.
5151 (character): Use it (Bug#2689).
5152
1ff980ae
AS
51532012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5154
5155 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5156 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5157
03988c98
CY
51582012-02-05 Chong Yidong <cyd@gnu.org>
5159
eeb6cc88
CY
5160 * cus-edit.el (custom-variable-value-create): For mismatched
5161 types, show the current value (Bug#7600).
5162
03988c98
CY
5163 * custom.el (defcustom): Doc fix.
5164
f8cdeef0
GM
51652012-02-05 Glenn Morris <rgm@gnu.org>
5166
5167 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5168
0696d255
JB
51692012-02-05 Juanma Barranquero <lekktu@gmail.com>
5170
5171 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5172 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5173 (pp-last-sexp): Use `looking-at-p'.
5174
34c99998
GM
51752012-02-04 Glenn Morris <rgm@gnu.org>
5176
8f05da42
GM
5177 * files.el (revert-buffer):
5178 Doc fix (mention revert-buffer-in-progress-p).
5179
f160676e
GM
5180 * emacs-lisp/ert-x.el (ert-simulate-command):
5181 Check deferred-action-list (which is obsolete) is bound.
5182
c7291ad9
GM
5183 * subr.el (with-wrapper-hook): Doc fixes.
5184
34c99998
GM
5185 * simple.el (filter-buffer-substring-functions)
5186 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5187
6283a7d3
LL
51882012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5189
5190 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5191 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5192
e96e3013
LL
51932012-02-04 Leo Liu <sdl.web@gmail.com>
5194
5195 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5196
8ded50f2
GM
51972012-02-04 Glenn Morris <rgm@gnu.org>
5198
82ff1d13
GM
5199 * image.el (image-extension-data): Add obsolete alias.
5200
987a0a16
GM
5201 * isearch.el (isearch-update): Doc fix.
5202
ea32ef46
GM
5203 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5204
8ded50f2
GM
5205 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5206
eea14f31
GM
52072012-02-03 Glenn Morris <rgm@gnu.org>
5208
5209 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5210 (image-animate-timeout): Doc fix.
5211
5212 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5213
12f381b7
GM
52142012-02-02 Glenn Morris <rgm@gnu.org>
5215
953cebf5
GM
5216 * server.el (server-auth-dir): Doc fix.
5217 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5218
12f381b7
GM
5219 * subr.el (run-mode-hooks): Doc fix.
5220
953a8c3b
JL
52212012-02-02 Juri Linkov <juri@jurta.org>
5222
5223 * image-mode.el (image-toggle-display-image): Remove tautological
5224 `major-mode' from the `derived-mode-p' test.
5225
c5d3843c
KH
52262012-02-02 Kenichi Handa <handa@m17n.org>
5227
9f6e692e 5228 * composite.el (compose-region): Cancel previous change.
c5d3843c 5229
159462d4 52302012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5231
5232 * composite.el (compose-region, compose-string): Signal error for
5233 a null string component (Bug#6988).
5234
9f562668
CY
52352012-02-01 Chong Yidong <cyd@gnu.org>
5236
e2cef717
CY
5237 * view.el (view-buffer-other-window, view-buffer-other-frame):
5238 Handle special modes like view-buffer (Bug#10650).
5239 (view-buffer): Simplify.
5240
9f562668
CY
5241 * frame.el (set-frame-font): Tweak meaning of third argument.
5242
9f6e692e
JB
5243 * dynamic-setting.el (font-setting-change-default-font):
5244 Use set-frame-font (Bug#9982).
9f562668 5245
781acb9f
GM
52462012-02-01 Glenn Morris <rgm@gnu.org>
5247
6035be52
GM
5248 * progmodes/compile.el (compilation-internal-error-properties):
5249 Respect compilation-first-column in the "*compilation*" buffer.
5250
781acb9f
GM
5251 * emacs-lisp/easy-mmode.el (define-minor-mode):
5252 Relax :variable's test for a named function.
5253
abbceb00
AM
52542012-01-31 Alan Mackenzie <acm@muc.de>
5255
5256 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5257 off by one error.
5258
fce3fdeb
CY
52592012-01-31 Chong Yidong <cyd@gnu.org>
5260
5261 * frame.el (set-frame-font): New arg ALL-FRAMES.
5262
5263 * menu-bar.el (menu-set-font): Use set-frame-font.
5264
5265 * faces.el (face-spec-reset-face): Don't apply unspecified
5266 attribute values to the default face.
5267
47893581
JB
52682012-01-31 Juanma Barranquero <lekktu@gmail.com>
5269
5270 * progmodes/cwarn.el (cwarn): Remove dead link.
5271 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5272 Remove * from defcustom docstrings.
5273 (turn-on-cwarn-mode): Make obsolete.
5274 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5275 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5276
e58e988a
GM
52772012-01-31 Glenn Morris <rgm@gnu.org>
5278
60dc2671 5279 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5280 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5281 Allow named functions to be used as the cdr of :variable.
e58e988a 5282
7a3f511d
GM
52832012-01-30 Glenn Morris <rgm@gnu.org>
5284
5285 * emacs-lisp/authors.el (authors-fixed-entries):
5286 Remove reference to deleted file rnewspost.el.
5287
cb882333
JB
52882012-01-29 Juanma Barranquero <lekktu@gmail.com>
5289
5290 * window.el (window-with-parameter): Remove unused variable `windows'.
5291 (window--side-check): Remove unused variable `code'.
5292 (window--resize-siblings): Remove unused variable `first'.
5293 (adjust-window-trailing-edge): Remove unused variable `failed'.
5294 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5295 Use `let', not `let*'.
5296 (balance-windows-2): Remove unused variable `found'.
5297 (window--state-put-2): Remove unused variable `splits'.
5298 (window-state-put): Remove unused variable `selected'.
5299 (same-window-p): Use `string-match-p'.
5300 (display-buffer-assq-regexp): Remove unused variable `value'.
5301 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5302 Mark argument ALIST as ignored.
5303 (pop-to-buffer): Remove unused variable `old-window'.
5304
907201af
EZ
53052012-01-29 Eli Zaretskii <eliz@gnu.org>
5306
5307 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5308 and .lzma compressed files.
5309
ea162670
CY
53102012-01-29 Chong Yidong <cyd@gnu.org>
5311
5b95ee8a
CY
5312 * frame.el (window-system-default-frame-alist): Doc fix.
5313
ea162670
CY
5314 * dynamic-setting.el (font-setting-change-default-font): Don't
5315 change the default face if SET-FONT argument is non-nil (Bug#9982).
5316
d6e6f4b1
SB
53172012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5318
5319 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5320
0f29fa41 53212012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5322
5323 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5324 breakpoints in files outside current directory (Bug#6098).
5325
db174434
CY
53262012-01-29 Chong Yidong <cyd@gnu.org>
5327
6b25e4e2
SE
5328 * progmodes/python.el: Require ansi-color at top-level.
5329
6df6ae42
JB
5330 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5331 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5332 (lisp-mode-abbrev-table): Add doc.
5333 (lisp-mode-variables): Don't set local-abbrev-table.
5334 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5335
e70ee681
RW
53362012-01-28 Roland Winkler <winkler@gnu.org>
5337
5338 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5339
ace88aa2
RW
53402012-01-28 Roland Winkler <winkler@gnu.org>
5341
5342 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5343 (bibtex-set-dialect): Use it. Either set global values of
5344 dialect-dependent variables or bind these variables buffer-locally
5345 (Bug#10254).
5346 (bibtex-mode): Call bibtex-set-dialect via
5347 hack-local-variables-hook.
eb864a71
LM
5348 (bibtex-dialect): Update docstring.
5349 Add safe-local-variable predicate.
ace88aa2
RW
5350 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5351 bibtex-set-dialect.
5352 (bibtex-mode-map): Define menu for each dialect.
5353 (bibtex-entry): Fix docstring.
5354
93376c5b
CY
53552012-01-28 Chong Yidong <cyd@gnu.org>
5356
5357 * eshell/esh-arg.el (eshell-quote-argument): New function.
5358
5359 * eshell/esh-ext.el (eshell-invoke-batch-file):
5360 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5361 first arg to eshell-parse-command (Bug#10523).
5362
4372494f
DA
53632012-01-28 Drew Adams <drew.adams@oracle.com>
5364
5365 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5366 `default-directory' is non-nil.
5367
4d4ec1f8
EZ
53682012-01-28 Eli Zaretskii <eliz@gnu.org>
5369
5370 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5371 line that displays system-configuration-options. (Bug#9924)
5372
7c188927
DA
53732012-01-28 Drew Adams <drew.adams@oracle.com>
5374
5375 * descr-text.el (describe-char): Show information about POS, in
5376 addition to information about the character at POS. Improve and
5377 update the doc string. Change "code point" to "code point in
5378 charset", to avoid confusion with the character's Unicode code
5379 point shown above that. (Bug#10129)
5380
e0da685a
EZ
53812012-01-28 Eli Zaretskii <eliz@gnu.org>
5382
5383 * descr-text.el (describe-char): Show the raw character, not only
5384 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5385 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5386 for the reasons.
5387
70550acf
PH
53882012-01-28 Phil Hagelberg <phil@hagelb.org>
5389
eb864a71
LM
5390 * emacs-lisp/package.el (package-install):
5391 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5392
0ce8e868
CY
53932012-01-28 Chong Yidong <cyd@gnu.org>
5394
cb882333
JB
5395 * emacs-lisp/package.el (package-maybe-load-descriptor):
5396 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5397 (package-maybe-load-descriptor): Use it.
5398 (package-download-transaction): Fully load required packages
5399 inside the loop, so that `require' calls work (Bug#10593).
5400 (package-install): No need to call package-initialize now.
5401
2e7f3bea
CY
54022012-01-28 Chong Yidong <cyd@gnu.org>
5403
6e9bad14
CY
5404 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5405
f823b8ca
CY
5406 * tooltip.el (tooltip-mode): Doc fix.
5407 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5408
2680c309
CY
5409 * frame.el (set-cursor-color): Doc fix (Bug#352).
5410
d7a9e63b
CY
5411 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5412 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5413
2e7f3bea
CY
5414 * cus-edit.el (custom-buffer-create-internal): Fix search button
5415 action (Bug#10542).
2ae01800 5416 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5417
fc4f7a23
EW
54182012-01-27 Eduard Wiebe <usenet@pusto.de>
5419
5420 * dired.el (dired-mark-files-regexp):
5421 Include any subdirectory components. (Bug#10445)
5422
7dd37071
ML
54232012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5424
5425 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5426 Handle [host]:port syntax. (Bug#10533)
5427
a268160b
AH
54282012-01-27 Alex Harsanyi <harsanyi@mac.com>
5429
5430 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5431
e43273ef
GM
54322012-01-26 Glenn Morris <rgm@gnu.org>
5433
5434 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5435 * term.el (term-raw-escape-map): Use Control-X-prefix.
5436 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5437
1edf595d
MR
54382012-01-25 Martin Rudalics <rudalics@gmx.at>
5439
5440 * window.el (window-state-get, window--state-get-1): Don't deal
5441 with fixed-sizeness of windows. Simplify code.
5442
fa8eafef
JC
54432012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5444
6df6ae42
JB
5445 * window.el (window--state-get-1, window--state-put-2):
5446 Don't save and restore the mark.
fa8eafef 5447
0b21c100
CY
54482012-01-25 Chong Yidong <cyd@gnu.org>
5449
5450 * custom.el (custom-variable-p): Doc fix.
5451
5ae1a6c8
GM
54522012-01-25 Glenn Morris <rgm@gnu.org>
5453
40047858
GM
5454 * dired.el (dired-goto-file): Handle some of the more common
5455 characters that `ls -b' escapes. (Bug#10596)
5456
5ddce96c
GM
5457 * progmodes/compile.el (compilation-next-error-function):
5458 Respect compilation-first-column in the "*compilation*" buffer.
5459 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5460
5ae1a6c8
GM
5461 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5462
b559f1a9
GM
54632012-01-24 Glenn Morris <rgm@gnu.org>
5464
5465 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5466
6725d21a
JD
54672012-01-24 Julien Danjou <julien@danjou.info>
5468
5469 * color.el (color-rgb-to-hsl): Fix value computing.
5470 (color-hue-to-rgb): New function.
5471 (color-hsl-to-rgb): New function.
5472 (color-clamp, color-saturate-hsl, color-saturate-name)
5473 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5474 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5475
70df4bbe
GM
54762012-01-24 Glenn Morris <rgm@gnu.org>
5477
5478 * vc/vc-rcs.el (vc-rcs-create-tag):
5479 * vc/vc-sccs.el (vc-sccs-create-tag):
5480 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5481
802a2ae2
ML
54822012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5483
5484 * eshell/esh-util.el (eshell-read-hosts-file):
5485 Skip comment lines. (Bug#10549)
5486
d7128bb1
ML
5487 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5488
d1a5c3b4
JB
54892012-01-23 Juanma Barranquero <lekktu@gmail.com>
5490
2724d9c7
JB
5491 * subr.el (display-delayed-warnings): Doc fix.
5492 (collapse-delayed-warnings): New function to collapse identical
5493 adjacent warnings.
5494 (delayed-warnings-hook): Add it.
d1a5c3b4 5495
a5509865
MA
54962012-01-22 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5499
a5509865
MA
5500 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5501 (tramp-default-user-alist): Don't add "pscp".
5502 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5503 property "login-as", if set. (Bug#10530)
5504
cc6d5805
MA
55052012-01-21 Michael Albinus <michael.albinus@gmx.de>
5506
5507 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5508 "plink1" and "psftp". (Bug#10530)
5509
55102012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5511
5512 * international/mule-cmds.el (prefer-coding-system): Show a
5513 warning message if the default value of file-name-coding-system
5514 was not changed.
5515
f0960428
JC
55162012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5517
cb882333
JB
5518 * windmove.el (windmove-reference-loc):
5519 Fix windmove-reference-loc miscalculation.
f0960428 5520
dd6f2a63
JB
55212012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5522
5523 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5524 default unit.
5525
7b447e9b
GM
55262012-01-21 Glenn Morris <rgm@gnu.org>
5527
117a9ea1
GM
5528 * international/mule.el (auto-coding-alist): Add .tbz.
5529
7b447e9b
GM
5530 * files.el (local-enable-local-variables): Doc fix.
5531 (inhibit-local-variables-regexps): Rename from
5532 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5533 Doc fix. Add some extensions from auto-coding-alist.
5534 (inhibit-local-variables-suffixes):
5535 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5536 (inhibit-local-variables-p):
5537 New function, extracted from set-auto-mode-1.
5538 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5539 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5540 (hack-local-variables): Doc fix. Make the mode-only case
5541 respect enable-local-variables and friends.
5542 Respect inhibit-local-variables-regexps for file-locals, but
5543 not for directory-locals.
5544 (set-visited-file-name):
5545 Take account of inhibit-local-variables-regexps.
5546 Whether it applies may change as the file name is changed.
5547 * jka-cmpr-hook.el (jka-compr-install):
5548 * jka-compr.el (jka-compr-uninstall):
5549 Update for inhibit-first-line-modes-suffixes name change.
5550
dd6e3cdd
MR
55512012-01-20 Martin Rudalics <rudalics@gmx.at>
5552
5553 * help-macro.el (make-help-screen): Temporarily restore original
5554 binding for minor-mode-map-alist (Bug#10454).
5555
0d0deb38
JD
55562012-01-19 Julien Danjou <julien@danjou.info>
5557
5558 * color.el (color-name-to-rgb): Use the white color to find the max
5559 color component value and return correctly computed values.
5560 (color-name-to-rgb): Add missing float conversion for max value.
5561
34a02f46
MR
55622012-01-19 Martin Rudalics <rudalics@gmx.at>
5563
5564 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5565 special state value for window-persistent-parameters.
5566 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5567 (window--state-put-2): Reset all window parameters to nil before
5568 assigning values of persistent parameters.
5569
606c44c4
AM
55702012-01-18 Alan Mackenzie <acm@muc.de>
5571
5572 Eliminate sluggishness and hangs in fontification of "semicolon
5573 deserts".
5574
cb882333
JB
5575 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5576 Change value 10000 -> 3000.
606c44c4
AM
5577 (c-state-safe-place): Reformulate so it doesn't stack up an
5578 infinite number of wrong entries in c-state-nonlit-pos-cache.
5579 (c-determine-limit-get-base, c-determine-limit): New functions to
5580 determine backward search limits disregarding literals.
5581 (c-find-decl-spots): Amend commenting.
5582 (c-cheap-inside-bracelist-p): New function which detects "={".
5583
5584 * progmodes/cc-fonts.el
5585 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5586 backward search.
5587 (c-font-lock-declarations): Fix an occurrence of point being
5588 undefined. Check additionally for point being in a bracelist or
5589 near a macro invocation without a semicolon so as to avoid a
5590 fruitless time consuming search for a declarator. Give a more
5591 precise search limit for declarators using the new
5592 c-determine-limit.
5593
f3860cea
GM
55942012-01-18 Glenn Morris <rgm@gnu.org>
5595
5596 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5597 (set-auto-mode): Doc fixes.
5598
1db03b16
GM
55992012-01-17 Glenn Morris <rgm@gnu.org>
5600
0e6038be
GM
5601 * isearch.el (search-nonincremental-instead): Fix doc typo.
5602
1db03b16
GM
5603 * dired.el (dired-insert-directory): Handle newlines in directory name.
5604 (dired-build-subdir-alist): Unescape newlines in directory name.
5605
4cb0aa75
MA
56062012-01-17 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5609 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5610 (tramp-action-terminal): Use it. (Bug#10530)
5611
1d00653d
SM
56122012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5615
6a6ee00d
MR
56162012-01-16 Martin Rudalics <rudalics@gmx.at>
5617
5618 * window.el (window-state-ignored-parameters): Remove variable.
5619 (window--state-get-1): Rename argument MARKERS to IGNORE.
5620 Handle persistent window parameters. Make copy of clone-of
5621 parameter only if requested. (Bug#10348)
5622 (window--state-put-2): Install a window parameter only if it has
5623 a non-nil value or an existing parameter shall be overwritten.
5624
97912def
MA
56252012-01-15 Michael Albinus <michael.albinus@gmx.de>
5626
5627 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5628
688070a5
EZ
56292012-01-14 Eli Zaretskii <eliz@gnu.org>
5630
5631 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5632 don't pass the (nil) value of `upnode' to string-match.
5633
301afadc
CY
56342012-01-14 Chong Yidong <cyd@gnu.org>
5635
5636 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5637 Fix values recognized by the cursorBlink resource.
301afadc 5638
9e5788aa
PE
56392012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5640
5641 * epg.el (epg--make-temp-file): Avoid permission race condition
5642 when running on old Emacs versions (bug#10403).
5643
3cdb7f5a
GM
56442012-01-14 Glenn Morris <rgm@gnu.org>
5645
5646 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5647
8c82b1b4
AM
56482012-01-13 Alan Mackenzie <acm@muc.de>
5649
5650 Fix filling for when filladapt mode is enabled.
5651
5652 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5653 c-mask-paragraph, pass in `fill-paragraph' rather than
5654 `fill-region-as-paragraph'. (This is a reversion of a previous
5655 change.)
eb864a71
LM
5656 * progmodes/cc-mode.el (c-basic-common-init):
5657 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5658
e517eda4
GM
56592012-01-13 Glenn Morris <rgm@gnu.org>
5660
1498536e
GM
5661 * dired.el (dired-switches-escape-p): New function.
5662 (dired-insert-directory): Use dired-switches-escape-p.
5663 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5664
e517eda4
GM
5665 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5666
328f984d
GM
56672012-01-12 Glenn Morris <rgm@gnu.org>
5668
5669 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5670 changes in adaptive-fill-regexp. (Bug#10276)
5671
2cc769a8
AM
56722012-01-11 Alan Mackenzie <acm@muc.de>
5673
5674 Fix Emacs bug #10463 - put `widen's around the critical spots.
5675
1d00653d 5676 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5677 widen around each invocation of c-state-pp-to-literal. Remove an
5678 unused let variable.
5679
e52c37fa
GM
56802012-01-11 Glenn Morris <rgm@gnu.org>
5681
5682 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5683 Doc fix.
e52c37fa 5684
96f8741e
CY
56852012-01-10 Chong Yidong <cyd@gnu.org>
5686
1d00653d
SM
5687 * net/network-stream.el (network-stream-open-starttls):
5688 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5689 response to the capability command.
5690
b09a806e
GM
56912012-01-10 Glenn Morris <rgm@gnu.org>
5692
5693 * mail/unrmail.el (unrmail): Tweak previous change.
5694
7655cb66
CY
56952012-01-09 Chong Yidong <cyd@gnu.org>
5696
5697 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5698
9d5a8f0b
AM
56992012-01-08 Alan Mackenzie <acm@muc.de>
5700
5701 Optimise font locking in long enum definitions.
5702
5703 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5704 arm to a cond form to handle enums.
5705 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5706 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5707
9a0115ab 57082012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5709
5710 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5711 (Bug#10401)
6bb72cbd 5712
f186bb95
LMI
57132012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5714
29232a68
LMI
5715 * faces.el (set-face-attribute): Clarify the meaning of the nil
5716 frame (bug#10294).
5717
4e5d086d
LMI
5718 * subr.el (with-selected-frame): Mention that the selected frame
5719 is restored (bug#9980).
5720
8e66aebe
LMI
5721 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5722 (bug#9759).
5723
cd394be1 5724 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5725 (password-read): Don't autoload unused function.
5726
adf4e762
JB
57272012-01-07 Juanma Barranquero <lekktu@gmail.com>
5728
5729 * progmodes/which-func.el (which-func-mode): Turn into a
5730 non-interactive function and mark as obsolete (bug#10428).
5731
89bd9ccd
CY
57322012-01-06 Chong Yidong <cyd@gnu.org>
5733
5734 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5735 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5736 functions, along with 1 and -1.
5737
4afee9d5
EZ
57382012-01-06 Eli Zaretskii <eliz@gnu.org>
5739
5740 * time.el (display-time-load-average)
5741 (display-time-default-load-average): Doc fixes. See the thread
5742 starting at
5743 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5744 for the details.
5745
536aea70
GM
57462012-01-06 Glenn Morris <rgm@gnu.org>
5747
665ae865
GM
5748 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5749 has no messages. (Bug#10377)
5750
c869783d
GM
5751 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5752 than Info-edit. (Bug#10385)
5753
2bb4227e
GM
5754 * time.el (display-time-load-average, display-time-next-load-average):
5755 Doc fixes.
5756
7d5944b9
GM
5757 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5758 local setting of buffer-read-only to the input buffer. (Bug#10419)
5759
536aea70
GM
5760 * calendar/calendar.el (calendar-mode):
5761 Locally set scroll-margin to 0. (Bug#10379)
5762
7dccca16
UM
57632012-01-06 Ulrich Mueller <ulm@gentoo.org>
5764
5765 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5766
afbb7930
GM
57672012-01-05 Glenn Morris <rgm@gnu.org>
5768
5769 * eshell/em-unix.el (diff-no-select): Autoload it.
5770 (eshell/diff): Use diff-no-select. (Bug#10420)
5771
04482335
CY
57722012-01-05 Chong Yidong <cyd@gnu.org>
5773
7baca3bc
CY
5774 * shell.el (shell-dynamic-complete-functions): Revert last change.
5775 (shell-command-completion-function): New function.
5776 (shell-completion-vars): Use it to implement
5777 shell-completion-execonly (Bug#10417).
5778
04482335
CY
5779 * custom.el (enable-theme): Don't set custom-safe-themes.
5780
1d00653d
SM
5781 * cus-theme.el (custom-theme-merge-theme):
5782 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5783
bb5aa5d6
MM
57842012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5785
5786 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5787 first prompt in `sql-interacive-mode'.
5788 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5789 keywords.
6df6ae42 5790 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5791 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5792 context of original buffer. Invoke `sql-login-hook'.
5793
a7183d7c
EZ
57942012-01-04 Eli Zaretskii <eliz@gnu.org>
5795
5796 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5797 letters in cite-prefix.
5798
a1eacd1e
LMI
57992012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5800
5801 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5802
787cdb34
CY
58032012-01-03 Chong Yidong <cyd@gnu.org>
5804
1d00653d
SM
5805 * shell.el (shell-dynamic-complete-functions):
5806 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5807 comint-filename-completion first (Bug#10417).
5808
30710442
RS
58092012-01-02 Richard Stallman <rms@gnu.org>
5810
5811 * battery.el (battery-status-function):
5812 Detect when to use battery-yeeloong-sysfs.
5813 (battery-echo-area-format): Add string for Yeeloong.
5814 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5815 (battery-yeeloong-sysfs): New function.
5816
f75bfc33
CY
58172012-01-02 Chong Yidong <cyd@gnu.org>
5818
5819 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5820 (dirtrack): Merge code for handling relative filenames in prompt
5821 from shell-dir-cookie-watcher.
5822 (dirtrack-debug-message): New arg to avoid excess format calls.
5823
5824 * shell.el (shell-dir-cookie-re): Variable deleted.
5825 (shell-dir-cookie-watcher): Function deleted.
5826 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5827 with dirtrack-mode.
5828
651e947e
EZ
58292012-01-01 Eli Zaretskii <eliz@gnu.org>
5830
1d00653d
SM
5831 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5832 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5833 libgnutls-26.dll.
5834
94d4c7dc
AS
58352011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5836
5837 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5838
8d43f3cd
EZ
58392011-12-31 Eli Zaretskii <eliz@gnu.org>
5840
5841 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5842 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5843
98c8795a
MA
58442011-12-29 Michael Albinus <michael.albinus@gmx.de>
5845
5846 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5847 also for alternative shells.
5848 (tramp-open-connection-setup-interactive-shell): Check, whether
5849 the shell is a busybox.
5850 (tramp-send-command): Don't suppress multiple prompts for
5851 busyboxes, it hurts.
5852
51281b32
CY
58532011-12-28 Chong Yidong <cyd@gnu.org>
5854
5855 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5856 (gdb-get-source-file): Move mode line update to
5857 gdb-get-source-file (Bug#10087).
5858
2170cb53
CY
58592011-12-25 Chong Yidong <cyd@gnu.org>
5860
5861 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5862 gud-gdb-marker-filter without taking it as an argument.
5863 (gud-gdb-run-command-fetch-lines): Caller changed.
5864 (gud-gdb-completion-function): New variable.
5865 (gud-gdb-completion-at-point): Use it.
5866 (gud-gdb-completions-1): Split from gud-gdb-completions.
5867
5868 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5869 function as separate arguments.
5870 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5871 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5872 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5873 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5874 (gdb-stopped, def-gdb-auto-update-trigger)
5875 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5876 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5877 Callers changed.
2170cb53
CY
5878 (gud-gdbmi-completions): New function.
5879 (gdb): Use it for generating the completion table.
5880
be8b11bb
AM
58812011-12-24 Alan Mackenzie <acm@muc.de>
5882
5883 Introduce a mechanism to widen the region used in context font
1d00653d 5884 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5885
1d00653d
SM
5886 * progmodes/cc-langs.el (c-before-font-lock-functions):
5887 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5888 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5889 functions to be run just before context (etc.) font locking.
5890
5891 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5892 New, functionality extracted from
be8b11bb 5893 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5894 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5895 (c-after-change): Set c-in-after-change-fontification.
5896 (c-set-fl-decl-start): Rejig its interface, so it can be called
5897 from both after-change and context fontifying.
b81d40f0
JB
5898 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5899 New functions.
5900 (c-standard-font-lock-fontify-region-function): New variable.
5901 (c-font-lock-fontify-region): New function.
be8b11bb 5902
341cf6ac
JL
59032011-12-24 Juri Linkov <juri@jurta.org>
5904
5905 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5906 (Bug#10348)
5907
bffcee0a
MA
59082011-12-23 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5911 existence of source file. (Bug#10325)
5912
cb5e207c
AM
59132011-12-23 Alan Mackenzie <acm@muc.de>
5914
5915 Fix unstable fontification inside templates.
5916
b81d40f0
JB
5917 * progmodes/cc-langs.el (c-before-font-lock-functions):
5918 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5919 additionally has c-set-fl-decl-start. The other languages (apart
5920 from AWK) have that as a single entry.
5921
b81d40f0
JB
5922 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5923 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5924 c-set-fl-decl-start.
5925
b81d40f0
JB
5926 * progmodes/cc-mode.el (c-common-init, c-after-change):
5927 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5928 (c-set-fl-decl-start): New function, extracted from
5929 c-font-lock-enclosing-decls and enhanced.
5930
60ff536c
JB
59312011-12-23 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5934
1c4757d6
JL
59352011-12-22 Juri Linkov <juri@jurta.org>
5936
5937 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5938
d031f2c7
CY
59392011-12-22 Chong Yidong <cyd@gnu.org>
5940
5941 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5942
bace743a
DA
59432011-12-21 Drew Adams <drew.adams@oracle.com>
5944
5945 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5946
728a1f2b
JC
59472011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5948
5949 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5950
0d373f73
TZ
59512011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5952
fec0aaa4
TZ
5953 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5954 highlighting and support. Fix up comments for capitalization.
5955 (cfengine-mode-debug): New var.
5956 (cfengine3-mode): Change the modeline indicator to "CFE3".
5957 (cfengine3-font-lock-keywords): Improve defun highlighting.
5958 (cfengine2-actions): Rename from `cfengine-actions'.
5959 (cfengine2-font-lock-keywords): Rename from
5960 `cfengine-font-lock-keywords'.
5961 (cfengine2-imenu-expression): Rename from
5962 `cfengine-imenu-expression'.
5963 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5964 (cfengine2-beginning-of-defun): Rename from
5965 `cfengine-beginning-of-defun'.
5966 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5967 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5968 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5969 modeline indicator to "CFE2".
5970 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5971 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5972
bc86f573
CY
59732011-12-21 Chong Yidong <cyd@gnu.org>
5974
5975 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5976 filename argument.
5977
d45ba96b
MR
59782011-12-20 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (window-normalize-buffer-to-display): Remove.
5981 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5982
a6198c90
CY
59832011-12-19 Chong Yidong <cyd@gnu.org>
5984
5985 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5986 Don't signal an error in a predicate function; return non-nil.
5987 (vc-dir-mark-file): Move the error here.
5988 (vc-dir-mark-unmark): If acting on the region, keep going if one
5989 of the entries cannot be marked/unmarked.
5990 (vc-dir-mark-all-files): If current entry is a directory, mark
5991 only child files, as documented.
5992
34c5fb55
VB
59932011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5994
5995 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5996 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5997 addition.
5998
c803b2b7
JD
59992011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6000
6001 * term/ns-win.el (ns-get-selection-internal)
6002 (ns-store-selection-internal): Declare.
1154d12e
JB
6003 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6004 Declare as obsolete.
6005 (ns-get-pasteboard, ns-paste-secondary):
6006 Use ns-get-selection-internal.
6007 (ns-set-pasteboard, ns-copy-including-secondary):
6008 Use ns-store-selection-internal.
c803b2b7 6009
9cff91f8 60102011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6011
6012 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6013 (vc-deduce-fileset): Doc fix.
99a289d9 6014
f16c898a
AS
60152011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6016
6017 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6018
763237c4
SS
60192011-12-13 Sam Steingold <sds@gnu.org>
6020
6021 * man.el (Man-getpage-in-background): When running under a
6022 window-system, ignore $MANWIDTH and $COLUMNS.
6023
5fc1c122
KH
60242011-12-15 Kenichi Handa <handa@m17n.org>
6025
6026 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6027 (setup-ethiopic-environment-internal): Comment out key-binding for
6028 ethio-toggle-punctuation.
6029
13d49cbb
AM
60302011-12-13 Alan Mackenzie <acm@muc.de>
6031
898169a2
AM
6032 Add the switch statement to AWK Mode.
6033
7a71b18d 6034 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6035 "default" to the keywords regexp.
6036
7a71b18d 6037 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6038 expression as the rest.
1d00653d
SM
6039 (c-nonlabel-token-key): Allow string literals for AWK.
6040 Refactor for the other modes.
898169a2 6041
13d49cbb 6042 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6043 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6044 routines. Limit backward searching in c-font-lock-enclosing.decl.
6045
6046 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6047 pp-state and literal type in addition to the limits.
1d00653d 6048 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6049 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6050 (c-slow-in-literal, c-fast-in-literal): Remove.
6051 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6052
6053 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6054 being in a literal. Add a limit for backward searching.
6055
6056 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6057 c-slow-in-literal.
6058
15e0efc7
SM
60592011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6062
454592a6
MR
60632011-12-13 Martin Rudalics <rudalics@gmx.at>
6064
6065 * window.el (delete-other-windows): Use correct frame in call to
6066 window-with-parameter.
6067
87393f26
DP
60682011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6069
6070 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6071 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6072 (makefile-gmake-statements, makefile-makepp-statements):
6073 Use it and add new makepp keywords.
6074 (makefile-makepp-font-lock-keywords): Add new patterns.
6075 (makefile-match-function-end): Match new [...] and [[...]].
6076
11636b22
JB
60772011-12-11 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * ses.el (ses-call-printer-return, ses-cell-property-get)
6080 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6081 (ses-create-cell-variable, ses-reset-header-string)
6082 (ses-cell-set-formula, ses-repair-cell-reference-all)
6083 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6084 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6085 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6086 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6087 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6088 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6089 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6090 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6091 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6092 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6093 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6094 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6095
cf018193
VB
60962011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6097
6098 * ses.el: The overall change is to add cell renaming, that is
6099 setting fancy names for cell symbols other than name matching
6100 "\\`[A-Z]+[0-9]+\\'" regexp .
6101 (ses-create-cell-variable): New defun.
6102 (ses-relocate-formula): Relocate formulas only for cells the
6103 symbols of which are not renamed, i.e. symbols whose names do not
6104 match regexp "\\`[A-Z]+[0-9]+\\'".
6105 (ses-relocate-all): Relocate values only for cells the symbols of
6106 which are not renamed.
6107 (ses-load): Create cells variables as the (ses-cell ...) are read,
6108 in order to check row col consistency with cell symbol name only
6109 for cells that are not renamed.
6110 (ses-replace-name-in-formula): New defun.
6111 (ses-rename-cell): New defun.
6112
ee957461
CY
61132011-12-11 Chong Yidong <cyd@gnu.org>
6114
6115 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6116 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6117
9a9e9ef0
MR
61182011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6119
6120 * window.el (other-window): Fix docstring.
6121
92a8eba5
EZ
61222011-12-10 Eli Zaretskii <eliz@gnu.org>
6123
6124 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6125 `from' or `to' address before taking its substring.
6126 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6127 encoded name is chopped in the middle of the encoded string, and
6128 thus displayed encoded.
6129
e152e577
JB
61302011-12-10 Juanma Barranquero <lekktu@gmail.com>
6131
6132 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6133
e5d84bfe
EZ
61342011-12-10 Eli Zaretskii <eliz@gnu.org>
6135
6136 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6137 to use texinfo-update-node and commands that call it if the
6138 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6139 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6140 (texinfo-all-menus-update, texinfo-master-menu)
6141 (texinfo-update-node, texinfo-every-node-update)
6142 (texinfo-multiple-files-update): Doc fix. Warn against updating
6143 all the @node lines.
6144 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6145 argument is numeric. Explain better in the doc string what the
6146 function really does.
6147 (texinfo-insert-master-menu-list): Improve the error message
6148 displayed if there's no menu in the Top node.
6149 (Bug#2975) See also this thread:
e5d84bfe
EZ
6150 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6151
1d84e9bb
MG
61522011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6153
6154 * speedbar.el (speedbar-supported-extension-expressions):
6155 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6156
382c953b
JB
61572011-12-09 Juanma Barranquero <lekktu@gmail.com>
6158
6159 * printing.el (pr-mode-alist):
6160 * simple.el (filter-buffer-substring-functions)
6161 (completion-list-insert-choice-function):
6162 * window.el (window-with-parameter, window-atom-root)
6163 (window-sides-slots, window-size-fixed, window-min-delta)
6164 (window-max-delta, window--resize-mini-window)
6165 (window--resize-child-windows-normal, window-tree)
6166 (delete-other-windows, quit-window, split-window)
6167 (display-buffer-record-window, special-display-buffer-names)
6168 (special-display-regexps, special-display-popup-frame)
6169 (same-window-p, split-window-sensibly)
6170 (display-buffer-overriding-action, display-buffer-alist)
6171 (display-buffer-base-action, display-buffer, switch-to-buffer)
6172 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6173 (fit-window-to-buffer, recenter-positions)
6174 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6175 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6176 and remove unneeded backslashes in docstrings.
6177
39c9faef
SM
61782011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6179
98449af8
SM
6180 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6181
39c9faef
SM
6182 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6183 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6184 end in ".mk".
6185 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6186 when reading the makefile (bug#10116).
6187
86ed9fdc
SM
61882011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6191 (bug#10116).
6192
5580f89d
GM
61932011-12-06 Glenn Morris <rgm@gnu.org>
6194
6195 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6196
28d3917c
CY
61972011-12-06 Chong Yidong <cyd@gnu.org>
6198
6199 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6200
a98edce9
JB
62012011-12-06 Juanma Barranquero <lekktu@gmail.com>
6202
6203 * textmodes/table.el (table-shorten-cell): Fix typo.
6204
e65adfac
CG
62052011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6206
6207 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6208
71cc0b74
EZ
62092011-12-05 Eli Zaretskii <eliz@gnu.org>
6210
6211 * descr-text.el (describe-char): Fix display of strong
6212 right-to-left characters and directional embeddings and overrides.
6213
6214 * simple.el (what-cursor-position): Fix display of codepoints of
6215 strong right-to-left characters.
6216
315bc30d
CY
62172011-12-05 Chong Yidong <cyd@gnu.org>
6218
6219 * faces.el (read-color): Doc fix.
6220
58a70b94
GM
62212011-12-05 Glenn Morris <rgm@gnu.org>
6222
6223 * align.el (align--set-marker): Add doc-string.
6224 Don't try to move something that is not a marker. (Bug#10216)
6225
5158face
GM
62262011-12-04 Glenn Morris <rgm@gnu.org>
6227
6228 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6229 overly zealous deletion of trailing whitespace.
6230
520fca41
JB
62312011-12-04 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * server.el (server-delete-client): On Windows, do not try to delete
6234 the only terminal.
6235 (server-process-filter): On Windows, treat requests for a tty frame as
6236 if they were for a GUI frame if the running server is in GUI mode.
6237
5e605a2e
GM
62382011-12-03 Glenn Morris <rgm@gnu.org>
6239
6240 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6241
5c3fe83f
SM
62422011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6f5e57e7
SM
6244 * electric.el: Streamline electric-indent's hook.
6245 (electric-indent-chars): Revert to simple list.
6246 (electric-indent-functions): New var.
6247 (electric-indent-post-self-insert-function): Use it.
6248
5c3fe83f
SM
6249 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6250 there's no inferior buffer (bug#10196).
6251 (prolog-consult-compile): Don't use toggle-read-only.
6252
6bdac736
MA
62532011-12-02 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6256 interrupt. (Bug#10187)
6257
6131ba7f
SM
62582011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6259
99c79fee
SM
6260 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6261 (bug#9160).
6262
6131ba7f
SM
6263 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6264 (bug#10191).
6265
cb0a02ea
JL
62662011-12-02 Juri Linkov <juri@jurta.org>
6267
6268 * info.el (Info-search): Display "end of manual" when Isearch
6269 reaches the end of single-file Info manual. (Bug#9918)
6270
66e0570c
EZ
62712011-12-02 Eli Zaretskii <eliz@gnu.org>
6272
6273 * isearch.el (isearch-message-prefix): Run the input method part
6274 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6275
02b16839
JL
62762011-12-02 Juri Linkov <juri@jurta.org>
6277
6278 * isearch.el (isearch-occur): Use `word-search-regexp' for
6279 `isearch-word'.
6280 (isearch-search-and-update): Add condition for `isearch-word' and
6281 call `word-search-regexp'. (Bug#10145)
6282
0b950688
GM
62832011-12-01 Glenn Morris <rgm@gnu.org>
6284
6285 * eshell/em-hist.el (eshell-hist-initialize):
6286 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6287 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6288
9505c3c7
SM
62892011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6292
1bbe96b2 62932011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6294
a1beca85
SM
6295 * progmodes/verilog-mode.el (verilog-pretty-expr):
6296 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6297 verilog, such as += *= and the like.
6298 (verilog-assignment-operator-re): Regular expression to find the
6299 assigment operator in a verilog assignment.
6300 (verilog-assignment-operation-re): Regular expression to find an
6301 assignment statement for pretty-expr.
6302 (verilog-in-attribute-p): Query returns true if point is in an
6303 attribute context; used to skip these for expression line up from
6304 pretty-expr.
6305 (verilog-in-parameter-p): Query returns true if point is in an
6306 parameter definition context; used to skip these for expression
6307 line up from pretty-expr.
6308 (verilog-in-parenthesis-p): Query returns true if point is in a
6309 parenthetical expression, specifically ( ) but not [ ] or { };
6310 used by pretty-expr.
6311 (verilog-just-one-space): If there is no space, don't add one.
6312 (verilog-get-lineup-indent-2): Specifically skip just attribute
6313 contexts for expression lineup, rather than skipping all
6314 parenthetical expressions.
6315 (verilog-calculate-indent): Fix comment, and fix indent.
6316 (verilog-do-indent): Indent declarations in lists (suggested by
6317 Joachim Lechner).
6318 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6319 skeleton items.
6320 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6321 by Alain Mellan).
6322
1bbe96b2 63232011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6324
6325 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6326 parameters with embedded comments. Reported by Ray Stevens.
6327 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6328 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6329 Reported by Tim Holt.
6330 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6331 instantiated by upper module causing wrong expansion until AUTOed a
6332 second time. Reported by K C Buckenmaier.
6333 (verilog-diff-auto): Fix showing .* as a difference when
6334 `verilog-auto-star-save' off. Reported by Dan Dever.
6335 (verilog-auto-reset, verilog-read-always-signals)
6336 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6337 temporary signals in reset list if
6338 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6339 style to each signal's assignment type, bug381.
6340 Reported by Thomas Esposito.
6288f0ca
WS
6341 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6342 (verilog-uvm-statement-re): Support UVM indentation and
6343 highlighting, with old OVM keywords only.
a1beca85 6344 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6345 Support AUTOTIEOFF creating non-wire data types.
6346 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6347 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6348 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6349 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6350 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6351 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6352 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6353 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6354 non-numeric vector width. Reported by Alex Reed.
6355 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6356 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6357 (verilog-auto-delete-trailing-whitespace):
6358 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6359 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6360 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6361 Fix verilog-scan-cache corruption when running user AUTO expansion
6362 hooks that call indentation routines.
6363 (verilog-simplify-range-expression): Fix typo ignoring lower case
6364 identifiers.
6365 (verilog-delete-auto): Fix delete-autos to also remove user created
6366 automatics, as long as they start with AUTO.
6367 (verilog-batch-diff-auto, verilog-diff-auto)
6368 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6369 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6370 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6371 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6372 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6373 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6374 is disabled and its cache will get corrupt, causing AUTOS not to
6375 expand. Instead use only -quick functions.
6376 (verilog-scan-region): Fix scanning over escaped quotes.
6377 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6378 (verilog-re-search-backward-quick)
6379 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6380 related functions now ignore strings, to fix misparsing of strings
6381 with magic comments embedded in them.
a1beca85
SM
6382 (verilog-read-auto-template):
6383 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6384 Reported by Brad Dobbie.
6385 (verilog-read-auto-template):
6386 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6387 Reported by Brad Dobbie.
6288f0ca
WS
6388 (verilog-auto-inst, verilog-auto-inst-param)
6389 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6390 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6391 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6392 debugging templates without merge conflicts, bug357.
6393 Reported by Brad Dobbie.
6394 (verilog-read-auto-template):
6395 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6396 Reported by Brad Dobbie.
6397 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6398 abbrevs so user won't be asked to save.
6399 (verilog-read-auto-lisp-present): Fix to start at beginning of
6400 buffer in case called outside of verilog-auto.
6401 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6402 to "X-2". Reported by Matthew Myers.
6403 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6404 all inputs from module templates. Reported by Leith Johnson.
6405 (verilog-module-inside-filename-p): Fix locating programs as with
6406 modules.
6407 (verilog-auto-inst-port): Fix vl-width expressions when using
6408 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6409 (verilog-decls-get-regs, verilog-decls-get-signals,
6410 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6411 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6412 verilog-read-decls): Combine reg and wire structures into one var
6413 structure to represent SystemVerilog concepts.
6414 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6415 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6416 (verilog-auto-wire-type, verilog-insert-definition):
6417 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6418 SystemVerilog "logic" keyword instead of "wire"/"reg".
6419 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6420 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6421 ifdef or generate if so there's not a driver conflict).
6422 Reported by Matthew Myers.
6423 (verilog-auto-declare-nettype, verilog-insert-definition):
6424 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6425 `default_nettype none. Reported by Julian Gorfajn.
6426 (verilog-read-always-signals-recurse, verilog-read-decls)
6427 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6428 malformed end statement, bug325. Reported by Joshua Wise and
6429 Andrew Drake.
6430 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6431 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6432 when expanding .* in interfaces, bug320.
6433 Reported by Pierre-David Pfister.
6288f0ca 6434 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6435 name and open parenthesis, bug317.
6436 Reported by Pierre-David Pfister.
6288f0ca
WS
6437 (verilog-simplify-range-expression): Fix simplification of
6438 multiplications inside AUTOWIRE connections, bug303.
6439 (verilog-auto-inst-port): Support parameter expansion in
6440 multidimensional arrays.
6441 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6442 after "assert property". Reported by Julian Gorfajn.
6443 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6444 with multiplication, bug303.
6445 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6446 Reported by Jan Frode Lonnum.
6447
1bbe96b2
GM
64482011-11-30 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6451 (hfy-shell-file-name, hfy-shell):
6452 * international/fontset.el (x-decompose-font-name): Fix typos.
6453
64542011-11-29 Ken Brown <kbrown@cornell.edu>
6455
6456 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6457 (gdb-version): Remove defvar.
6458 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6459 (gdb-gud-context-command, gdb-non-stop-handler)
6460 (gdb-current-context-command, gdb-stopped): Use it.
6461 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6462 (gdb-non-stop-handler): Don't enable pretty-printing here.
6463 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6464 non-stop mode. Use the following.
6465 (gdb-check-target-async): New defun.
6466 (gud-watch, gdb-stopped): Fix whitespace.
6467 (gdb-get-source-file): Don't try to display the source file if
6468 `gdb-main-file' is nil.
6469
64702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * align.el: Try to generate fewer markers (bug#10047).
6473 (align--set-marker): New macro.
6474 (align-region): Use it.
6475
c935221f
SM
64762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6479
e70b5064
CY
64802011-11-29 Chong Yidong <cyd@gnu.org>
6481
6482 * indent.el (indent-for-tab-command, indent-according-to-mode):
6483 Doc fix.
6484 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6485
f3af92b7
MA
64862011-11-29 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6489 aware of remote file names. (Bug#10124)
6490
ed472be9
CY
64912011-11-29 Chong Yidong <cyd@gnu.org>
6492
6493 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6494
24510c22
SM
64952011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * files.el (find-file): Don't use force-same-window (bug#10144).
6498 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6499 use pop-to-buffer if the selected window can't be used.
6500 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6501
c60c3703
EZ
65022011-11-28 Eli Zaretskii <eliz@gnu.org>
6503
6504 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6505 special-mode-map.
6506
e95def75
CY
65072011-11-28 Chong Yidong <cyd@gnu.org>
6508
6509 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6510
c3f1c606
NR
65112011-11-27 Nick Roberts <nickrob@snap.net.nz>
6512
6513 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6514 gdb-get-source-file-list on gdb-create-source-file-list.
6515
00db469c
EZ
65162011-11-26 Eli Zaretskii <eliz@gnu.org>
6517
6518 * whitespace.el (whitespace-newline): Use a different foreground
6519 color for 16-color light-background displays.
6520
4ad3bc2a
CY
65212011-11-24 Chong Yidong <cyd@gnu.org>
6522
6523 * window.el (display-buffer--special-action): Doc fix.
6524
e9fce1ac
JB
65252011-11-25 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6528 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6529 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6530 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6531 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6532 (avl-tree-stack-first):
6533 * emacs-lisp/cconv.el (cconv--analyse-use):
6534 * net/gnutls.el (gnutls-negotiate): Fix typos.
6535
cb825e5d
GM
65362011-11-24 Glenn Morris <rgm@gnu.org>
6537
3adbe224
GM
6538 * lpr.el (lpr-windows-system, lpr-lp-system):
6539 * mail/binhex.el (binhex-begin-line):
6540 * progmodes/grep.el (grep-history, grep-find-history):
6541 * textmodes/flyspell.el:
6542 * vc/pcvs-defs.el (cvs-global-menu):
6543 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6544 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6545 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6546
321decc8
GM
6547 * net/tls.el: Fix case of "GnuTLS".
6548
420b63ad
GM
6549 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6550
cb825e5d
GM
6551 * version.el (emacs-build-system): Give it a doc-string.
6552
a0649f08
JL
65532011-11-24 Juri Linkov <juri@jurta.org>
6554
6555 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6556
c0bc0fd4
GM
65572011-11-24 Glenn Morris <rgm@gnu.org>
6558
6559 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6560 if called on a non-mime message just toggle the headers. (Bug#8006)
6561
20db1522
JB
65622011-11-24 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6565 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6566 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6567 (allout-rebullet-heading, allout-open-sibtopic)
6568 (allout-toggle-current-subtree-encryption)
6569 (allout-toggle-subtree-encryption, allout-encrypt-string)
6570 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6571 (allout-distinctive-bullets-string, allout-auto-activation):
6572 * window.el (window-normalize-buffer-to-display):
6573 * progmodes/verilog-mode.el (verilog-batch-indent):
6574 * textmodes/bibtex.el (bibtex-field-braces-opt)
6575 (bibtex-field-strings-opt):
6576 * vc/cvs-status.el (cvs-tree-merge):
6577 Fix typos.
6578
7262a87c
MA
65792011-11-23 Michael Albinus <michael.albinus@gmx.de>
6580
6581 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6582 `non-essential' to t, in order to avoid remote connections.
6583
283430a1
EZ
65842011-11-23 Eli Zaretskii <eliz@gnu.org>
6585
a1beca85
SM
6586 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6587 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6588 case-insensitively.
6589
d2992a38
ML
65902011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6591
6592 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6593
50419064
GM
65942011-11-23 Glenn Morris <rgm@gnu.org>
6595
da94eca1
GM
6596 * paths.el (rmail-file-name): Reformat the doc-string so that it
6597 is picked up.
6598
9aac4de2
GM
6599 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6600 (rmail-auto-file): Ignore case in the "special" field names,
6601 as mail-fetch-field does for all others.
6602
8038d2d2
GM
6603 * mail/rmail.el (rmail-forward):
6604 * mail/rmailkwd.el (rmail-set-label):
6605 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6606 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6607
f3fe222a
GM
6608 * mail/rmail.el (rmail-current-message): Doc fix.
6609
50419064
GM
6610 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6611
28109f49
SM
66122011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6615
394c65f1
GM
66162011-11-22 Glenn Morris <rgm@gnu.org>
6617
6618 * mail/rmailmm.el (test-rmail-mime-handler)
6619 (test-rmail-mime-bulk-handler)
6620 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6621
f2a0aa3a
JL
66222011-11-21 Juri Linkov <juri@jurta.org>
6623
1154d12e
JB
6624 * calc/calc.el (calc-read-key-sequence):
6625 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6626
9c34a344
LMI
66272011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6628
6629 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6630 Tell the caller that the next line needs recomputation, even
6631 though it doesn't start a sexp (bug#10094).
6632
f04a3be9
SM
66332011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6636
7978747f
SM
66372011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6638
f04a3be9
SM
6639 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6640 Use force-same-window.
7978747f 6641
fe7a3057
JB
66422011-11-20 Juanma Barranquero <lekktu@gmail.com>
6643
6644 * descr-text.el (describe-char-unicode-data):
6645 * json.el (json-string-escape):
6646 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6647 (Footnote-unicode, Footnote-style-p):
6648 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6649
24901d61
CY
66502011-11-20 Chong Yidong <cyd@gnu.org>
6651
6652 * window.el (replace-buffer-in-windows): Restore interactive spec.
6653
bac7ff22
SM
66542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6655
24f3d7b9
SM
6656 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6657
bac7ff22
SM
6658 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6659 (byte-compile-global-not-obsolete-vars): New var.
6660 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6661 Use it.
6662 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6663
cd1181db
JB
66642011-11-20 Juanma Barranquero <lekktu@gmail.com>
6665
6666 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6667 * progmodes/pascal.el (electric-pascal-equal):
6668 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6669 * xml.el (xml-substitute-special): Fix typos.
6670
7fb18e9e
GM
66712011-11-20 Glenn Morris <rgm@gnu.org>
6672
6673 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6674 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6675 Doc fixes.
6676 (rmail-decode-mime-charset): Mark as obsolete.
6677
6678 * mail/rmailsum.el (rmail-message-regexp-p-1):
6679 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6680 Before using mime functions, check they are set. (Bug#10077)
6681
d5a6b3ba
JL
66822011-11-19 Juri Linkov <juri@jurta.org>
6683
6684 * info.el (Info-finder-find-node): Use `package--builtins' instead
6685 of `package-alist'. Use node names formed by the pattern "Keyword "
6686 and the keyword name.
6687
e981b61f
AS
66882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6689
1d00653d 6690 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6691
3ffbc301
JL
66922011-11-19 Juri Linkov <juri@jurta.org>
6693
6694 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6695 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6696 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6697 `old-history', `old-history-forward'. Add let-binding
6698 `window-selected'. Remove calls to `kill-buffer',
6699 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6700 before calling `Info-find-node', so `Info-find-node-2' will reread
6701 the Info file. Restore window positions only when `window-selected'
6702 is non-nil.
6703
30c62133
JL
67042011-11-19 Juri Linkov <juri@jurta.org>
6705
6706 * isearch.el (isearch-lazy-highlight-new-loop):
6707 Remove condition `(not isearch-error)'. (Bug#9918)
6708
6709 * misearch.el (multi-isearch-search-fun): Add condition
6710 `(not bound)' to ignore lazy-highlighting search.
6711 Add the search-failed message "end of multi" when the end of
6712 multi-sequence is reached. Uncapitalize the search-failed
6713 message "Repeat for next buffer".
6714
6715 * info.el (Info-search): Add the search-failed message
6716 "end of the manual" when the end of the manual is reached
6717 in Isearch mode.
6718
645ca9cf
JL
67192011-11-19 Juri Linkov <juri@jurta.org>
6720
6721 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6722 Use non-destructive `remove' instead of `delete' because
6723 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6724 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6725
df754f66
JL
67262011-11-19 Juri Linkov <juri@jurta.org>
6727
6728 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6729 to nil instead of binding `search-ring' and `regexp-search-ring'.
6730 (Bug#9185)
6731
0e23d96a
EZ
67322011-11-19 Eli Zaretskii <eliz@gnu.org>
6733
6734 * simple.el (line-move): Force movement by logical lines for any
6735 hscrolled window, not only when auto-hscroll-mode is on.
6736 (line-move-visual): Update doc string to that effect. (Bug#10076)
6737
8a6ccb66
AS
67382011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6739
6740 * language/european.el (macintosh): Define as alias for mac-roman.
6741
49ae5b39
EZ
67422011-11-19 Eli Zaretskii <eliz@gnu.org>
6743
6744 * mail/rmailmm.el (rmail-mime-display-header)
6745 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6746 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6747 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6748 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6749 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6750 of a raw aref.
6751 (rmail-mime-entity-segment): To get past the tagline, move forward
6752 2 more lines, to account for the 2 empty lines that precede and
6753 follow the line with the buttons.
6754 (rmail-mime-update-tagline): Move one more line, to get past the
6755 empty line that follows the buttons in the tagline. (Bug#9520)
6756
c56cad4a
MR
67572011-11-19 Martin Rudalics <rudalics@gmx.at>
6758
6759 * window.el (window-max-delta-1, window-min-delta-1)
6760 (window-min-size-1, window-state-get-1, window-state-put-1)
6761 (window-state-put-2): Use "window--" prefix.
6762
cbe71af3
SM
67632011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6764
2ad52c60
SM
6765 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6766 (smie-warning-count): New var.
6767 (smie-set-prec2tab): Use it.
6768 (smie-bnf->prec2): Improve warnings. Add docstring.
6769 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6770 (smie-bnf--set-class): New function.
6771 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6772 corner case.
6773
6944dbc1
SM
6774 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6775 (compilation-error-properties, compilation-move-to-column):
6776 Handle compilation-first-column while in the target buffer.
6777
c400c4d7
SM
6778 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6779 Don't hardcode point-min==1.
6780
6dbe3e96
SM
6781 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6782 (eshell-rewrite-for-command): Remove workaround.
6783 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6784 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6785 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6786
cbe71af3
SM
6787 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6788
a8e1496d
GM
67892011-11-17 Glenn Morris <rgm@gnu.org>
6790
6791 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6792 Ignore buffer-local generated-autoload-file if it is the same
6793 as the global value. (Bug#10049)
6794
df85d315
JB
67952011-11-17 Juanma Barranquero <lekktu@gmail.com>
6796
6797 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6798 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6799 (reftex-toc-previous-heading, reftex-toc-max-level)
6800 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6801 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6802 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6803 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6804 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6805 (reftex-toc-rename-label, reftex-toc-visit-location)
6806 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6807 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6808 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6809 leaving "*toc*" only for references to the buffer.
6810
a0c2d0ae
MR
68112011-11-17 Martin Rudalics <rudalics@gmx.at>
6812
6813 * window.el (window-resize, delete-window, split-window):
6814 Replace window-splits by window-combination-resize.
1d00653d 6815 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6816
35c0bac8
GM
68172011-11-17 Glenn Morris <rgm@gnu.org>
6818
6819 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6820 Make bash entry derive from sh entry, not shell entry.
6821
d0c8fc8a
MA
68222011-11-16 Michael Albinus <michael.albinus@gmx.de>
6823
7262a87c
MA
6824 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6825 local file name.
6826
7877f373
JB
68272011-11-16 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * menu-bar.el (menu-bar-file-menu):
6830 * printing.el (pr-ps-utility):
6831 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6832 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6833 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6834 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6835 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6836 (icalendar--convert-cyclic-to-ical)
6837 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6838 (icalendar--convert-ical-to-diary)
6839 (icalendar--convert-recurring-to-diary)
6840 (icalendar--convert-non-recurring-all-day-to-diary)
6841 (icalendar-import-format-sample):
6842 * progmodes/idlw-shell.el (idlwave-shell-mode):
6843 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6844 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6845 (vhdl-ps-print-init): Fix typos.
6846
10649b82
KM
68472011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6848
9d0cfcd6
GM
6849 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6850 FSF and collapse date sequence, obscure author/maintainer email address
6851 better, remove extra version line, track relocation of author's webpage.
10649b82 6852
9d0cfcd6
GM
6853 * progmodes/python.el (python-pdbtrack-input-prompt)
6854 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6855 regular python pdb prompts. Adjustments shamelessly taken exactly as
6856 suggested in EmacsWiki page (tiny change):
6857 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6858
58179cce
JB
68592011-11-16 Juanma Barranquero <lekktu@gmail.com>
6860
6861 * expand.el (expand-pos, expand-index, expand-point):
6862 Remove redundant info from docstring.
6863 (expand-add-abbrevs): Doc fix.
6864 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6865 (expand-sample-perl-mode-expand-list): Fix typos.
6866
6867 * net/dbus.el (dbus-event-member-name):
6868 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6869 * term/pc-win.el (msdos-create-frame-with-faces):
6870 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6871
b6f67890
MR
68722011-11-16 Martin Rudalics <rudalics@gmx.at>
6873
6874 * window.el (split-window, window-state-get-1)
6875 (window-state-put-1, window-state-put-2): Rename occurrences of
6876 window-nest to window-combination-limit.
1d00653d 6877 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6878
ce7ddba0
CY
68792011-11-16 Chong Yidong <cyd@gnu.org>
6880
6881 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6882 regexp (Bug#10033).
6883
3ae704f4
SM
68842011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6887 `completing-read' will remove *Completions* and will preserve
6888 current-buffer for us.
6889 (tmm-add-prompt): Users of *Completions* will always (re)set its
6890 major mode.
6891 (tmm-old-comp-map): Remove.
6892
6ad1cdde
GM
68932011-11-16 Glenn Morris <rgm@gnu.org>
6894
6895 * mail/rmailedit.el: Require rmailmm when compiling.
6896 (rmail-old-mime-state): New declaration.
6897 (rmail-edit-current-message): If editing a mime message,
6898 edit the "raw" message from the mbox buffer.
6899 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6900
d20faa20
GM
69012011-11-15 Glenn Morris <rgm@gnu.org>
6902
6903 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6904 which wasn't being used. Add optional arg to force given state.
6905 (rmail-mime): Add optional arg to force given state.
6906
c7015153
JB
69072011-11-15 Juanma Barranquero <lekktu@gmail.com>
6908
6909 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6910 * frame.el (display-mm-dimensions-alist):
6911 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6912 (outline-move-subtree-down):
6913 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6914 (newsticker--treeview-do-get-node):
6915 * net/quickurl.el (quickurl-list-buffer-name):
6916 * progmodes/dcl-mode.el (dcl-mode):
6917 * progmodes/gdb-mi.el (gdb-mapcar*):
6918 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6919
45261b50
GM
69202011-11-15 Glenn Morris <rgm@gnu.org>
6921
6922 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6923 in a boolean sense, so just make it a boolean, and fix the doc.
6924 (rmail-show-mime-function, rmail-mime-feature)
6925 (rmail-require-mime-maybe): Doc fixes.
6926 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6927
6928 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6929
0d26e0b6
JB
69302011-11-15 Juanma Barranquero <lekktu@gmail.com>
6931
6932 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6933 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6934 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6935 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6936
447f30f6
GM
69372011-11-15 Glenn Morris <rgm@gnu.org>
6938
672b871d
GM
6939 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6940 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6941 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6942 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6943 (rmail-mime, rmail-show-mime): Doc fixes.
6944
f6aa5bb1
GM
6945 * term/ns-win.el (mode-line-frame-identification):
6946 Leave it alone. (Bug#10051)
6947
947cd66b
GM
6948 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6949
447f30f6
GM
6950 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6951 Handle empty buffers. (Bug#9978)
6952
0b381c7e
JB
69532011-11-14 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * international/mule.el (define-charset):
6956 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6957 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6958 * progmodes/verilog-mode.el (verilog-backward-token):
6959 * textmodes/ispell.el (lookup-words):
6960 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6961
71e027ac
GM
69622011-11-14 Glenn Morris <rgm@gnu.org>
6963
56632ce4
GM
6964 * progmodes/executable.el
6965 (executable-make-buffer-file-executable-if-script-p):
6966 Handle file-modes returning nil.
6967
40500957
GM
6968 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6969 message - not necessary, and causes problems. (Bug#9831)
6970
071c2340
GM
6971 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6972
d3cfca60
GM
6973 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6974
71e027ac
GM
6975 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6976 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6977 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6978
89d61221
MR
69792011-11-12 Martin Rudalics <rudalics@gmx.at>
6980
6981 * window.el (window-resize, delete-window): Use window-splits
6982 variable instead of function.
6983 (window-state-get-1, window-state-put-2, window-state-put):
6984 Don't deal with windows' splits status.
6985
98282f6f
GM
69862011-11-12 Glenn Morris <rgm@gnu.org>
6987
6988 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6989 (apropos-documentation): Doc fixes.
6990
40a8bdf6
JB
69912011-11-11 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6994 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6995
65bd19ff
SM
69962011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * electric.el (electric-indent-post-self-insert-function): Make it
6999 possible for a char to only indent in some circumstances.
7000 (electric-indent-mode): Simplify.
7001
54f9154c
MR
70022011-11-11 Martin Rudalics <rudalics@gmx.at>
7003
7004 * window.el (windows-with-parameter): Remove unused function.
7005 (windows-at-side): Rename to window-at-side-list.
7006 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7007 (window-side-check, window-size-ignore, window-size-fixed-1)
7008 (window-in-direction-2): Prefix with "window--".
7009 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7010
68cbc58b
GM
70112011-11-11 Glenn Morris <rgm@gnu.org>
7012
7013 * subr.el (eval-after-load): If FILE is already loaded,
7014 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7015
b2621720
GM
70162011-11-10 Glenn Morris <rgm@gnu.org>
7017
9a4de110
GM
7018 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7019 Call svn via vc-svn-command rather than vc-do-command.
7020 (vc-svn-command): Add --non-interactive. (Bug#9993)
7021 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7022
b2621720
GM
7023 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7024 Add toggle-read-only. (Bug#7292)
7025 * files.el (toggle-read-only): Mention that it should only
7026 be used interactively. (Bug#10006)
7027
1dce7193
SM
70282011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7029
d9ac1a1e
SM
7030 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7031 Adjust regexp for OCaml warnings.
7032
0c325082
SM
7033 * electric.el (electric-pair-post-self-insert-function): Let user
7034 turn it off buffer-locally (bug#9932).
7035
90132c14
SM
7036 * progmodes/python.el (python-beginning-of-statement):
7037 Rewrite (bug#2703).
7038
1dce7193
SM
7039 * progmodes/compile.el: Better handle TABs (bug#9749).
7040 (compilation-internal-error-properties)
7041 (compilation-next-error-function): Obey the target buffer's
7042 compilation-error-screen-columns.
7043
c4e7c63a
JB
70442011-11-09 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * progmodes/meta-mode.el: Remove obsolete comments.
7047 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7048 Fix typos in docstrings.
7049
2cffd681
MR
70502011-11-09 Martin Rudalics <rudalics@gmx.at>
7051
7052 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7053 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7054 (window--resizable): New function. Make all callers of
7055 window-resizable call window--resizable instead.
7056 (window-resizable): Rewrite in terms of window--resizable.
7057
0edcba87
GM
70582011-11-08 Glenn Morris <rgm@gnu.org>
7059
7060 * progmodes/delphi.el (delphi-mode-syntax-table):
7061 Let define-derived-mode define a proper syntax table. (Bug#9994)
7062
4b0d61e3
SM
70632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7064
7065 * window.el: Stay away from defsubst.
7066 (window-list-no-nils): Remove.
7067 (window-state-get-1, window-state-get): Use backquote instead.
7068
cd394be1 70692011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7070
4b0d61e3 7071 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7072 Fix incorrect use of default argument in `completing-read'.
7073
e1c2c6f2
MR
70742011-11-08 Martin Rudalics <rudalics@gmx.at>
7075
7076 * window.el (display-buffer-function, special-display-function):
7077 Mention display-buffer-record-window but do not mention
7078 help-setup parameter in doc-strings.
b3f4a882 7079 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7080
105216ed
CY
70812011-11-08 Chong Yidong <cyd@gnu.org>
7082
7083 * window.el (window-total-height, window-total-width): Doc fix.
7084 (window-body-size): Move from C.
7085 (window-body-height, window-body-width): Move to C.
7086
0a9f9ab5
SM
70872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * window.el: Make special-display like display-buffer-alist (bug#9532).
7090 (display-buffer--special-action): New function, morphed
7091 from display-buffer--special.
7092 (display-buffer): Use it to handle special-display-buffers at higher
7093 priority (just after display-buffer-alist).
7094 (display-buffer-fallback-action, display-buffer--other-frame-action)
7095 (pop-to-buffer-same-window): Remove display-buffer--special.
7096
a769dd15
GM
70972011-11-07 Glenn Morris <rgm@gnu.org>
7098
7099 * calendar/cal-menu.el (cal-menu-set-date-title):
7100 Do nothing if not in a calendar. (Bug#9976)
7101
05a61ee3
SM
71022011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * files.el (find-file): Always use selected-window.
7105
be7f5545
MR
71062011-11-07 Martin Rudalics <rudalics@gmx.at>
7107
7108 * window.el (window-combinations): Make WINDOW argument
7109 mandatory. Rewrite doc-string.
7110 (walk-window-subtree, window-atom-check, window-min-delta)
7111 (window-max-delta, window--resize-this-window)
7112 (window--resize-root-window-vertically, window-tree)
7113 (balance-windows, window-state-put): Rewrite doc-strings as to
7114 not mention the term "subwindow".
7115 (window--resize-subwindows-skip-p): Rename to
7116 window--resize-child-windows-skip-p.
7117 (window--resize-subwindows-normal): Rename to
7118 window--resize-child-windows-normal.
7119 (window--resize-subwindows): Rename to
7120 window--resize-child-windows.
7121 (window-or-subwindow-p): Rename to window--in-subtree-p.
7122
3c6702ef
ML
71232011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7124
7125 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7126 Ensure that mbox format messages end in two newlines (Bug#9974).
7127
49745b39
CY
71282011-11-06 Chong Yidong <cyd@gnu.org>
7129
7130 * window.el (window-combination-p): Function deleted; its
7131 side-effect is not used in any existing code.
7132 (window-combinations, window-combined-p): Call window-*-child
7133 directly.
7134
24300f5f
CY
71352011-11-05 Chong Yidong <cyd@gnu.org>
7136
7137 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7138 (window-size-ignore, window-state-get): Callers changed.
7139 (window-normalize-window): Rename from window-normalize-any-window.
7140 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7141 (window-normalize-live-window): Delete.
447f16b8
CY
7142 (window-combination-p, window-combined-p, window-combinations)
7143 (walk-window-subtree, window-atom-root, window-min-size)
7144 (window-sizable, window-sizable-p, window-size-fixed-p)
7145 (window-min-delta, window-max-delta, window-resizable)
7146 (window-resizable-p, window-full-height-p, window-full-width-p)
7147 (window-current-scroll-bars, window-point-1, set-window-point-1)
7148 (window-at-side-p, window-in-direction, window-resize)
7149 (adjust-window-trailing-edge, maximize-window, minimize-window)
7150 (window-deletable-p, delete-window, delete-other-windows)
7151 (record-window-buffer, unrecord-window-buffer)
7152 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7153 (quit-window, split-window, window-state-put)
7154 (set-window-text-height, fit-window-to-buffer)
7155 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7156
89bd5ee1
EZ
71572011-11-04 Eli Zaretskii <eliz@gnu.org>
7158
53479029
EZ
7159 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7160 rfc2047-decode-string.
7161 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7162 warnings.
7163
89bd5ee1
EZ
7164 * window.el (window-body-height, window-body-width): Mention in
7165 the doc string that the return values are in frame's canonical
7166 units. (Bug#9949)
7167
bd17fdee
AM
71682011-11-03 Alan Mackenzie <acm@muc.de>
7169
7170 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7171 change in cc-engine.el.
7172
acc825c5
SM
71732011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7176
1885e5b8
MR
71772011-11-02 Martin Rudalics <rudalics@gmx.at>
7178
7179 * window.el (quit-window): Call unrecord-window-buffer after
7180 showing another buffer in the window. (Bug#9937)
acc825c5 7181 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7182
ebe06da9
JB
71832011-11-02 Juanma Barranquero <lekktu@gmail.com>
7184
7185 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7186 Accept status with more than 9 shelves. (Bug#9935)
7187 Reported by Colin D Bennett <colin@gibibit.com>.
7188
4ee88440
MR
71892011-11-01 Martin Rudalics <rudalics@gmx.at>
7190
7191 * help.el (with-help-window): Don't reference
7192 temp-buffer-show-specifiers in doc-string.
7193
08e1d82c
AS
71942011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7195
7196 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7197 menu-item.
7198
84bd6e9e
VJL
71992011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7200
7201 * whitespace.el: New version 13.2.2.
7202 (whitespace-newline-mode): Disable properly. Reported by Sarah
7203 <EmacsWiki>.
7204
dba0634a
UJ
72052011-10-30 Ulf Jasper <ulf.jasper@web.de>
7206
7207 * net/newst-treeview.el: Remove "Time-stamp".
7208 (newsticker--group-manage-orphan-feeds): Do not call
7209 newsticker--treeview-tree-update.
db22a3c2
JB
7210 (newsticker-treeview-update, newsticker-treeview):
7211 Call newsticker--treeview-tree-update if necessary.
dba0634a 7212
3d8daefe
MR
72132011-10-30 Martin Rudalics <rudalics@gmx.at>
7214
7215 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7216 (window-iso-combinations): Remove "iso-" infix.
7217 Suggested by Chong Yidong.
3d8daefe
MR
7218 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7219 (window-max-delta-1, window-resize, window--resize-siblings)
7220 (window--resize-this-window, adjust-window-trailing-edge)
7221 (split-window, balance-windows-1)
7222 (shrink-window-if-larger-than-buffer):
7223 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7224 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7225
1bc4c3ae
SM
72262011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7229 in place (bug#9907).
7230 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7231 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7232 (eshell-structure-basic-command, eshell-rewrite-while-command)
7233 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7234 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7235 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7236 (eshell-do-pipelines-synchronously, eshell-eval-command):
7237 Use backquotes and prefer setq to set.
7238 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7239 (eshell-macrop): Use functionp.
c1e2f5fa 7240 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7241
30b65d9c
CY
72422011-10-30 Chong Yidong <cyd@gnu.org>
7243
7244 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7245 instead of set-mark (Bug#9810).
7246
2d197ffb
CY
72472011-10-30 Chong Yidong <cyd@gnu.org>
7248
7249 * window.el (split-window-below, split-window-right): Rename from
7250 split-window-above-each-other and split-window-side-by-side
7251 respectively. All callers changed.
7252 (split-window-sensibly, split-window-sensibly): Use them.
7253 (split-window-keep-point): Doc fix.
7254
7255 * isearch.el: Add isearch-scroll property to split-window-below
7256 and split-window-right.
7257
7258 * follow.el (follow-mode):
7259 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7260 * progmodes/ada-xref.el (ada-gdb-application):
7261 * emulation/vip.el (vip-buffer-in-two-windows):
7262 * image-dired.el (image-dired-dired-with-window-configuration):
7263 * dired-x.el (dired-do-find-marked-files):
7264 * dired.el (dired-pop-to-buffer):
7265 * bs.el (bs--show-with-configuration):
7266 * vc/emerge.el (emerge-setup-windows):
7267 * textmodes/two-column.el (2C-two-columns):
7268 * textmodes/reftex-toc.el (reftex-toc):
7269 * progmodes/gdb-mi.el (gdb-setup-windows):
7270 * progmodes/fortran.el (fortran-window-create):
7271 * net/newst-treeview.el (newsticker--treeview-window-init):
7272 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7273 * emulation/tpu-edt.el (tpu-gold-map):
7274 * emulation/crisp.el (crisp-mode-map):
7275 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7276
38bb2ca8
CY
72772011-10-29 Chong Yidong <cyd@gnu.org>
7278
aa4de341
CY
7279 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7280
e1eb5385
CY
7281 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7282
5d2ece3c
CY
7283 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7284 forged Ispell output (Bug#7904).
7285
38bb2ca8
CY
7286 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7287
d0af9f77
SM
72882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * doc-view.el: Avoid ugly errors about not finding nil.
7291 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7292 (doc-view-dvipdf-program, doc-view-unoconv-program)
7293 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7294 Avoid nil or absolute file name as default value.
7295 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7296
52bedd34
AM
72972011-10-28 Alan Mackenzie <acm@muc.de>
7298
db22a3c2 7299 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7300
7e43cfa5
AM
73012011-10-28 Alan Mackenzie <acm@muc.de>
7302
7303 Amend the handling of c-beginning/end-of-defun in nested declaration
7304 scopes.
7305
52bedd34
AM
7306 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7307 cc-langs.el. Change it to a defcustom.
7e43cfa5 7308
52bedd34
AM
7309 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7310 cc-vars.el.
7e43cfa5 7311
d0af9f77
SM
7312 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7313 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7314
52bedd34 7315 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7316 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7317 (c-widen-to-enclosing-decl-scope): New function.
7318 (c-while-widening-to-decl-block): New macro.
7319 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7320 outward for defun boundaries, and correspondingly change symbol
7321 `respect-enclosure' to `go-outward'.
7322 (c-declaration-limits): Change algorithm to report only the "innermost"
7323 defun's boundaries.
7324
1a2ce9ee
DD
73252011-10-28 Deniz Dogan <deniz@dogan.se>
7326
7327 * net/rcirc.el (rcirc-mode): Use hard newlines.
7328
bc97a826
AM
73292011-10-28 Alan Mackenzie <acm@muc.de>
7330
7331 Amend to indent and fontify macros "which include their own semicolon"
7332 correctly, using the "virtual semicolon" mechanism.
7333
52bedd34 7334 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7335
d0af9f77 7336 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7337 Recode to scan one line at a time rather than having \n and \r
58179cce 7338 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7339 (c-forward-label): Amend for virtual semicolons.
58179cce 7340 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7341
52bedd34
AM
7342 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7343 of the new C macros.
bc97a826 7344
52bedd34 7345 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7346 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7347 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7348 (c-opt-cpp-macro-define): Make into a full language variable.
7349 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7350 AWK Mode (including \n, \r) removed, no longer needed.
7351
d0af9f77
SM
7352 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7353 Invoke c-make-macro-with-semi-re.
bc97a826 7354
52bedd34
AM
7355 * progmodes/cc-vars.el (c-macro-with-semi-re):
7356 (c-macro-names-with-semicolon): New variables.
58179cce 7357 (c-make-macro-with-semi-re): New function.
bc97a826 7358
7a6c0941
SM
73592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * vc/log-edit.el: Fill empty field rather than adding new one.
7362 (log-edit-add-field): New function.
7363 (log-edit-insert-changelog): Use it.
7364
b0c4cdcf
ML
73652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7366
7367 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7368
ee1f1da9
SM
73692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7372 (gdb--check-interpreter): New function.
7373 (gdb): Use it.
7374
51bc5f8b
GM
73752011-10-27 Glenn Morris <rgm@gnu.org>
7376
416a2c45
GM
7377 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7378 (least-positive-float, least-negative-float)
7379 (least-positive-normalized-float, least-negative-normalized-float)
7380 (float-epsilon, float-negative-epsilon):
7381 Remove unnecessary declarations.
7382
7383 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7384 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7385 (least-positive-float, least-negative-float)
7386 (least-positive-normalized-float, least-negative-normalized-float)
7387 (float-epsilon, float-negative-epsilon): Add doc-strings,
7388 based on those in cl.texi.
7389
51bc5f8b
GM
7390 * files.el (set-visited-file-name): If the major-mode changed,
7391 reload the local variables. (Bug#9796)
7392
15de15c6
CY
73932011-10-27 Chong Yidong <cyd@gnu.org>
7394
7395 * subr.el (change-major-mode-after-body-hook): New hook.
7396 (run-mode-hooks): Run it.
7397
ee1f1da9
SM
7398 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7399 Use change-major-mode-before-body-hook.
15de15c6
CY
7400
7401 * simple.el (fundamental-mode):
7402 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7403 change introducing fundamental-mode-hook.
7404
5430d399
JB
74052011-10-26 Juanma Barranquero <lekktu@gmail.com>
7406
acc825c5 7407 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7408
ad74a69e
MA
74092011-10-26 Michael Albinus <michael.albinus@gmx.de>
7410
7411 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7412 tramp.el explicitly. (Bug#7583)
ad74a69e 7413
71d4c2a5
SM
74142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * progmodes/octave-mod.el:
7417 * progmodes/octave-inf.el: Update maintainer.
7418
b1f6fa26
CY
74192011-10-26 Chong Yidong <cyd@gnu.org>
7420
7421 * subr.el (with-wrapper-hook): Rewrite doc.
7422
3f04efd6
MA
74232011-10-25 Michael Albinus <michael.albinus@gmx.de>
7424
7425 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7426 filenames "/method:foo:". (Bug#9793)
3f04efd6 7427
410488d3
SM
74282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7431 (bug#9865).
7432
c1ebb47e
GM
74332011-10-24 Glenn Morris <rgm@gnu.org>
7434
7435 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7436
7f5c46c7
MA
74372011-10-24 Michael Albinus <michael.albinus@gmx.de>
7438
7439 * notifications.el: Add the requirement of a running D-Bus session
7440 bus to the Commentary.
7441
db2440b6
JL
74422011-10-24 Juri Linkov <juri@jurta.org>
7443
7444 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7445 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7446 (Bug#9364)
7447
feecf435
JL
74482011-10-24 Juri Linkov <juri@jurta.org>
7449
7450 * info.el (Info-following-node-name-re): Add newline to the list
7451 of allowed characters for leading space. (Bug#9824)
7452
a3839de2
SM
74532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7454
acc825c5
SM
7455 * progmodes/octave-inf.el (inferior-octave-mode-map):
7456 Fix C-c C-h binding.
a3839de2
SM
7457 * progmodes/octave-mod.el (octave-help): Remove.
7458
09388e76
MA
74592011-10-23 Michael Albinus <michael.albinus@gmx.de>
7460
7461 Sync with Tramp 2.2.3.
7462
7463 * net/tramp-cache.el (top): Pacify byte-compiler using
7464 `init-file-user' and `site-run-file'.
7465
7466 * net/trampver.el: Update release number.
7467
86c60681
CY
74682011-10-23 Chong Yidong <cyd@gnu.org>
7469
7470 * files.el (toggle-read-only): Remove obsolete comment about
7471 version control.
7472
7473 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7474 for toggle-read-only. Note that this hasn't called vc-next-action
7475 since 2008-05-02, though it wasn't documented at the time.
7476
a3839de2
SM
7477 * vc/ediff-init.el (ediff-toggle-read-only-function):
7478 Use toggle-read-only.
86c60681 7479
cd5495ff
AM
74802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7481
7482 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7483 of c-parse-state.
7484
00b77525 7485 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7486 correct faulty logical expression.
cd5495ff
AM
7487 (c-parse-state-state, c-record-parse-state-state):
7488 (c-replay-parse-state-state): New defvar/defuns.
7489 (c-debug-parse-state): Use new functions.
7490
42ee24ed
MR
74912011-10-22 Martin Rudalics <rudalics@gmx.at>
7492
7493 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7494 last fix. Use window-in-direction correctly.
42ee24ed 7495
a7dee7e7
CY
74962011-10-21 Chong Yidong <cyd@gnu.org>
7497
7498 * progmodes/idlwave.el (idlwave-mode):
7499 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7500 require-final-newline; that's done in prog-mode.
7501 Suggested by Stefan Monnier.
a7dee7e7 7502
e07b9a6d
MR
75032011-10-21 Martin Rudalics <rudalics@gmx.at>
7504
7505 * mouse.el (mouse-drag-window-above)
7506 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7507 (mouse-drag-mode-line-1, mouse-drag-header-line)
7508 (mouse-drag-vertical-line-rightward-window): Remove.
7509 (mouse-drag-line): New function.
7510 (mouse-drag-mode-line, mouse-drag-header-line)
7511 (mouse-drag-vertical-line): Call mouse-drag-line.
7512 * window.el (window-at-side-p, windows-at-side): New functions.
7513
7e1361d9
UM
75142011-10-21 Ulrich Mueller <ulm@gentoo.org>
7515
7516 * tar-mode.el (tar-grind-file-mode):
7517 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7518
30fcaf3a
CY
75192011-10-21 Chong Yidong <cyd@gnu.org>
7520
7521 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7522 * progmodes/vera-mode.el (vera-mode):
7523 Use mode-require-final-newline.
30fcaf3a 7524
516eddb0
GM
75252011-10-20 Glenn Morris <rgm@gnu.org>
7526
db22a3c2 7527 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7528
10d5f513
CS
75292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7530
7531 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7532
ac6c8639
CY
75332011-10-20 Chong Yidong <cyd@gnu.org>
7534
7535 * emulation/cua-base.el (cua-mode):
7536 * mail/footnote.el (footnote-mode):
7537 * mail/mailabbrev.el (mail-abbrevs-mode):
7538 * net/xesam.el (xesam-minor-mode):
7539 * progmodes/bug-reference.el (bug-reference-mode):
7540 * progmodes/cap-words.el (capitalized-words-mode):
7541 * progmodes/compile.el (compilation-minor-mode)
7542 (compilation-shell-minor-mode):
7543 * progmodes/gud.el (gud-tooltip-mode):
7544 * progmodes/hideif.el (hide-ifdef-mode):
7545 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7546 * progmodes/subword.el (subword-mode):
7547 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7548 * progmodes/which-func.el (which-function-mode):
7549 * term/tvi970.el (tvi970-set-keypad-mode):
7550 * term/vt100.el (vt100-wide-mode):
7551 * textmodes/flyspell.el (flyspell-mode):
7552 * textmodes/ispell.el (ispell-minor-mode):
7553 * textmodes/nroff-mode.el (nroff-electric-mode):
7554 * textmodes/paragraphs.el (use-hard-newlines):
7555 * textmodes/refill.el (refill-mode):
7556 * textmodes/reftex.el (reftex-mode):
7557 * textmodes/rst.el (rst-minor-mode):
7558 * textmodes/sgml-mode.el (html-autoview-mode)
7559 (sgml-electric-tag-pair-mode):
7560 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7561 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7562 * emulation/crisp.el (crisp-mode):
7563 * emacs-lisp/eldoc.el (eldoc-mode):
7564 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7565 minor mode behavior.
7566
aa42ab43
JL
75672011-10-19 Juri Linkov <juri@jurta.org>
7568
7569 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7570 the list of hard-coded chars with escape-glyph face.
7571
89400f1d
SM
75722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7575
305c07f6
MA
75762011-10-19 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7579 running process.
7580
13754b54
GM
75812011-10-19 Glenn Morris <rgm@gnu.org>
7582
7583 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7584 Ignore ignored files. (Bug#9726)
7585
06e21633
CY
75862011-10-19 Chong Yidong <cyd@gnu.org>
7587
7588 Doc fix for minor modes, stating that an omitted argument enables
7589 the mode unconditionally when called from Lisp.
7590
7591 * abbrev.el (abbrev-mode):
7592 * allout.el (allout-mode):
7593 * autoinsert.el (auto-insert-mode):
7594 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7595 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7596 (global-auto-revert-mode):
7597 * battery.el (display-battery-mode):
7598 * composite.el (global-auto-composition-mode)
7599 (auto-composition-mode):
7600 * delsel.el (delete-selection-mode):
7601 * desktop.el (desktop-save-mode):
7602 * dired-x.el (dired-omit-mode):
7603 * dirtrack.el (dirtrack-mode):
7604 * doc-view.el (doc-view-minor-mode):
7605 * double.el (double-mode):
7606 * electric.el (electric-indent-mode, electric-pair-mode):
7607 * emacs-lock.el (emacs-lock-mode):
7608 * epa-hook.el (auto-encryption-mode):
7609 * follow.el (follow-mode):
7610 * font-core.el (font-lock-mode):
7611 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7612 * help.el (temp-buffer-resize-mode):
7613 * hilit-chg.el (highlight-changes-mode)
7614 (highlight-changes-visible-mode):
7615 * hi-lock.el (hi-lock-mode):
7616 * hl-line.el (hl-line-mode, global-hl-line-mode):
7617 * icomplete.el (icomplete-mode):
7618 * ido.el (ido-everywhere):
7619 * image-file.el (auto-image-file-mode):
7620 * image-mode.el (image-minor-mode):
7621 * iswitchb.el (iswitchb-mode):
7622 * jka-cmpr-hook.el (auto-compression-mode):
7623 * linum.el (linum-mode):
7624 * longlines.el (longlines-mode):
7625 * master.el (master-mode):
7626 * mb-depth.el (minibuffer-depth-indicate-mode):
7627 * menu-bar.el (menu-bar-mode):
7628 * minibuf-eldef.el (minibuffer-electric-default-mode):
7629 * mouse-sel.el (mouse-sel-mode):
7630 * msb.el (msb-mode):
7631 * mwheel.el (mouse-wheel-mode):
7632 * outline.el (outline-minor-mode):
7633 * paren.el (show-paren-mode):
7634 * recentf.el (recentf-mode):
7635 * reveal.el (reveal-mode, global-reveal-mode):
7636 * rfn-eshadow.el (file-name-shadow-mode):
7637 * ruler-mode.el (ruler-mode):
7638 * savehist.el (savehist-mode):
7639 * scroll-all.el (scroll-all-mode):
7640 * scroll-bar.el (scroll-bar-mode):
7641 * server.el (server-mode):
7642 * shell.el (shell-dirtrack-mode):
7643 * simple.el (auto-fill-mode, transient-mark-mode)
7644 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7645 (line-number-mode, column-number-mode, size-indication-mode)
7646 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7647 * strokes.el (strokes-mode):
7648 * time.el (display-time-mode):
7649 * t-mouse.el (gpm-mouse-mode):
7650 * tool-bar.el (tool-bar-mode):
7651 * tooltip.el (tooltip-mode):
7652 * type-break.el (type-break-mode-line-message-mode)
7653 (type-break-query-mode):
7654 * view.el (view-mode):
7655 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7656 (global-whitespace-mode, global-whitespace-newline-mode):
7657 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7658
a3839de2
SM
7659 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7660 Fix autogenerated docstring.
06e21633 7661
5214e501
JL
76622011-10-19 Juri Linkov <juri@jurta.org>
7663
7664 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7665 by checking environment variables "DESKTOP_SESSION" and
7666 "XDG_CURRENT_DESKTOP". (Bug#9779)
7667
195f8db9
JL
76682011-10-19 Juri Linkov <juri@jurta.org>
7669
7670 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7671 (browse-url-chromium-program, browse-url-chromium-arguments):
7672 New defcustoms.
7673 (browse-url-default-browser): Check for `browse-url-chromium' and
7674 call `browse-url-chromium-program'.
7675 (browse-url-chromium): New command. (Bug#9779)
7676
343a34ff
JB
76772011-10-18 Juanma Barranquero <lekktu@gmail.com>
7678
7679 * facemenu.el (list-colors-duplicates): On Windows, detect more
7680 duplicates by assuming that only colors matching "^System" are
7681 special "system colors". (Bug#9722)
7682
6978a151
SM
76832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7686 to distinguish the author from the committer.
7687
6a80b297
MA
76882011-10-18 Michael Albinus <michael.albinus@gmx.de>
7689
7690 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7691
b31a5677
JK
76922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7693
7694 * international/mule.el (sgml-html-meta-auto-coding-function):
7695 Add support for detecting encoding in HTML5 specified only as
7696 <meta charset="UTF-8">. Implementation just makes http-equiv and
7697 content-type parts from HTML4 encoding string optional. (Bug#9716)
7698
80c6d77f
GM
76992011-10-18 Glenn Morris <rgm@gnu.org>
7700
7701 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7702
08b0fee8
CY
77032011-10-18 Chong Yidong <cyd@gnu.org>
7704
7705 * faces.el (cursor): Doc fix.
7706
67e729a5
CY
77072011-10-17 Chong Yidong <cyd@gnu.org>
7708
7709 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7710
343a34ff 77112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7712
7713 * dirtrack.el (dirtrack): Support shell buffers with path
7714 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7715
0bc06380
TZ
77162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7717
7718 * json.el: Bump version to 1.3 and note change in History.
7719 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7720
8b79f3e0
SM
77212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7722
5a7c536b
SM
7723 * comint.el (comint-insert-input, comint-send-input)
7724 (comint-get-old-input-default, comint-backward-matching-input)
7725 (comint-next-prompt): Use nil instead of `input' for field property of
7726 past user input (bug#114).
7727
96a8a0df
SM
7728 * minibuffer.el (completion--replace): Inherit surrounding properties
7729 (bug#114).
7730 (minibuffer-complete-and-exit): Use it.
7731
8b79f3e0
SM
7732 * comint.el (comint--table-subvert): Quote the all-completions output
7733 (bug#9160).
7734
b8f7ff0d
MR
77352011-10-17 Martin Rudalics <rudalics@gmx.at>
7736
8b79f3e0 7737 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7738
b8f7ff0d 7739 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7740 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7741 entries and separate them from frame entries.
7742
c235b555
GM
77432011-10-15 Glenn Morris <rgm@gnu.org>
7744
7745 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7746 Doc fixes.
7747
6bbfa6e1
CY
77482011-10-15 Chong Yidong <cyd@stupidchicken.com>
7749
8b79f3e0
SM
7750 * net/network-stream.el (network-stream-open-starttls):
7751 Improve detection of failure due to lack of TLS support.
ec5c990d 7752
6bbfa6e1
CY
7753 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7754 putting the input text in front and in bold.
7755
98488977
SM
77562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7757
3d1337be
SM
7758 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7759
ee0b45e4
SM
7760 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7761 empty buffer.
7762
98488977
SM
7763 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7764 unread-command-events rather than pushing yet-another event.
7765
186f4720
EZ
77662011-10-14 Eli Zaretskii <eliz@gnu.org>
7767
7768 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7769 the explanation of the possible choices. Make the options passed
7770 to completing-read shorter.
7771
8b7a997c
AM
77722011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7773
7774 * textmodes/flyspell.el (flyspell-large-region): Make sure
7775 extended character mode is used if defined (Bug#1339).
7776
12587bbb
EZ
77772011-10-13 Eli Zaretskii <eliz@gnu.org>
7778
7779 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7780 character info for LRE, LRO, RLE, and RLO characters by appending
7781 an invisible PDF.
12587bbb 7782
bad41229
SM
77832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7786 even in case of error; add debug spec; simplify data flow.
7787 (with-timeout-handler): Remove.
7788
28dbc92f
MA
77892011-10-12 Michael Albinus <michael.albinus@gmx.de>
7790
7791 Fix Bug#6019, Bug#9315.
7792
7793 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7794 complete `buffer-file-name', the local file name part could look
7795 remotely (for example on VMS).
7796
7797 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7798 `tramp-run-real-handler'.
7799 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7800 already quoted by '"'.
7801
7802 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7803 Let `file-name-handler-alist' be nil, the local file name part
7804 could look remotely (for example on VMS).
7805
e1b0b23a
SM
78062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7809 from here...
7810 (flyspell-post-command-hook): ...to here.
7811
a120bde9
SM
78122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7815 if not needed.
7816 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7817 using completion. Protect against "slow" callers.
7818 Remove the "message hack".
7819
7ce7717b
JL
78202011-10-11 Juri Linkov <juri@jurta.org>
7821
7822 * isearch.el (isearch-lazy-highlight-word): New variable.
7823 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7824 Use it. (Bug#9727)
7825
c02ee9d6
GM
78262011-10-11 Glenn Morris <rgm@gnu.org>
7827
7828 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7829 like f90-previous-statement does.
7830
93e616fd 78312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7832
1f190e73 7833 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7834 only in interactive use, to avoid error.
7835
af7b6078
SM
78362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * minibuffer.el (completion-file-name-table): Fix last change,
7839 i.e. ignore normal errors but not the other ones.
7840
0563dae9
MR
78412011-10-10 Martin Rudalics <rudalics@gmx.at>
7842
7843 * window.el (special-display-buffer-names)
7844 (special-display-regexps): Remove some remnants of earlier
7845 changes from doc-strings.
366ca7f3
MR
7846 (quit-windows-on): New function.
7847
7848 * vc/vc.el (vc-revert, vc-rollback):
7849 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7850 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7851 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7852
49677495
MR
78532011-10-09 Martin Rudalics <rudalics@gmx.at>
7854
7855 * window.el (frame-auto-hide-function): Add version tag.
7856 (Bug#9699)
7857
56f2d1e1
MA
78582011-10-09 Michael Albinus <michael.albinus@gmx.de>
7859
7860 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7861 condition.
7862
112a6592
LL
78632011-10-09 Leo Liu <sdl.web@gmail.com>
7864
7865 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7866 (Bug#9701)
7867
0812589b
GM
78682011-10-08 Glenn Morris <rgm@gnu.org>
7869
7870 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7871 before the first code statement zero indent. (Bug#9690)
7872
b2b0776e
CY
78732011-10-08 Chong Yidong <cyd@stupidchicken.com>
7874
7875 * simple.el (count-words-region): Always count in the region.
7876 Report the number of lines and characters too.
7877 (count-words): New command, which counts in the buffer if the
7878 region is inactive, as count-words-region used to.
7879 (count-words--message): New function. Handle plurals.
7880 (count-lines-region): Make it an alias for count-words-region.
7881
7882 * bindings.el (esc-map): Replace count-lines-region with
7883 count-words-region.
7884
c557cd6b
MR
78852011-10-08 Martin Rudalics <rudalics@gmx.at>
7886
7887 * window.el (window--delete): Delete dedicated frame
7888 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7889 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7890
61a57ef4 78912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7892
3a7d293b 7893 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7894
c3833279
CY
78952011-10-07 Chong Yidong <cyd@stupidchicken.com>
7896
7897 * bindings.el ([M-left],[M-right]): Bind to left-word and
7898 right-word respectively.
7899
21ce8245
GM
79002011-10-07 Glenn Morris <rgm@gnu.org>
7901
7902 * cus-start.el (debug-on-quit): Fix custom type.
7903
6d823bb2
LMI
79042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7905
0181e193
LMI
7906 * subr.el (define-key-after): Clarify that the function is not
7907 useful for non-menu keymaps.
7908
6d823bb2
LMI
7909 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7910
8e3459ce 79112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7912
21ce8245 7913 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7914 in current minibuffer (Fix bug with recursive minibuffers).
7915
a1c2d21e
CY
79162011-10-06 Chong Yidong <cyd@stupidchicken.com>
7917
7918 * progmodes/gdb-mi.el (gdb): Doc fix.
7919
5a4cf282
MR
79202011-10-05 Martin Rudalics <rudalics@gmx.at>
7921
7922 * window.el (frame-auto-hide-function): New option replacing
7923 frame-auto-delete. Suggested by Stefan Monnier.
7924 (window--delete): Call frame-auto-hide-function instead of
7925 investigating frame-auto-delete.
c96111ea
MR
7926 (window-point-1, set-window-point-1): New functions.
7927 (window-in-direction, record-window-buffer, window-state-get-1)
7928 (display-buffer-record-window): Use window-point-1 instead of
7929 window-point.
7930 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7931
9854542e
SM
79322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7933
7934 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7935
8943cfb0
GM
79362011-10-05 Glenn Morris <rgm@gnu.org>
7937
7938 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7939 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7940
647ab967
LL
79412011-10-05 Leo Liu <sdl.web@gmail.com>
7942
7943 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7944 works with buffer object.
7945
3ddfbced
SM
79462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * mpc.el (mpc-tool-bar-map): Add labels.
7949
bdfa5dd2
GM
79502011-10-04 Glenn Morris <rgm@gnu.org>
7951
7952 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7953
0e2070b5
MR
79542011-10-04 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (window--delete): New function.
7957 (frame-auto-delete): Resuscitate option.
7958 (bury-buffer, replace-buffer-in-windows)
7959 (quit-window): Rewrite using window--delete.
7960 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7961 Pass display-buffer-mark-dedicated to window--display-buffer-2
7962 (Bug#9639).
7963
3dc61a09
SM
79642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7965
915a9b64
SM
7966 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7967 returns a list (bug#9554). Add remote file name completion.
7968 * comint.el (comint--table-subvert): Curry and get quote&unquote
7969 functions as arguments.
7970 (comint--complete-file-name-data): Adjust call accordingly.
7971 * pcomplete.el (pcomplete--table-subvert): Remove.
7972 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7973
3dc61a09
SM
7974 * minibuffer.el (completion-table-case-fold): Use currying.
7975 (completion--styles-type, completion--cycling-threshold-type):
7976 New constants.
7977 (completion-styles, completion-category-overrides)
7978 (completion-cycle-threshold): Use them.
7979 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7980 completion-table-case-fold.
7981
8ea0a993
SB
79822011-10-03 Stephen Berman <stephen.berman@gmx.net>
7983
7984 * minibuffer.el (completion-category-overrides): Fix type of styles
7985 and add more user friendly tags (bug#9660).
7986
8c24b7f6
SM
79872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7990 (mule-input-method-string): New widget.
7991 (default-input-method, language-info-custom-alist): Use it.
7992
428fe61a
SM
79932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7994
32c1fffd
SM
7995 * pcomplete.el: Require comint.
7996 (pcomplete--common-suffix): Remove.
7997 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7998 (pcomplete--table-subvert): Sync with comint--table-subvert.
7999 (pcomplete--entries): Use comint-completion-file-name-table.
8000 * comint.el (comint-unquote-filename): Simplify.
8001 (comint-completion-file-name-table): New function (bug#9616).
8002 (comint--complete-file-name-data): Use it.
8003
428fe61a
SM
8004 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8005 (pcmpl-gnu-tar-buffer): Remove.
8006 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8007 around. Make sure pcomplete-suffix-list is only changed temporarily.
8008 Don't look inside the tar's file if it's too large.
428fe61a 8009
04c52e2f
CY
80102011-10-01 Chong Yidong <cyd@stupidchicken.com>
8011
ce3cefcc
CY
8012 * cus-edit.el (custom-mode-map):
8013 * epa.el (epa-key-list-mode-map):
8014 * man.el (Man-mode-map):
8015 * startup.el (splash-screen-keymap):
8016 * simple.el (special-mode-map): Use scroll-up-command and
8017 scroll-down-command.
8018
8019 * progmodes/idlw-help.el (idlwave-help-mode-map):
8020 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8021 * net/newst-plainview.el (newsticker-mode-map):
8022 * emulation/ws-mode.el (wordstar-mode-map):
8023 * emulation/vi.el (vi-com-map):
8024 * calc/calc-graph.el (calc-graph-show-dumb):
8025 * term/sun.el (terminal-init-sun):
8026 * term/ns-win.el (global-map):
8027 * progmodes/grep.el (grep-mode-map):
8028 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8029 * mail/rmail.el (rmail-mode-map):
8030 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8031
04c52e2f
CY
8032 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8033 custom-safe-themes as special.
8034
79adf8c8
JD
80352011-10-01 Julien Danjou <julien@danjou.info>
8036
8037 * notifications.el (notifications-notify): Fix docstring.
8038
63bd50d3
PS
80392011-10-01 Per Starbäck <per@starback.se>
8040
8041 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8042
199e4c7e
MR
80432011-09-30 Martin Rudalics <rudalics@gmx.at>
8044
8045 * startup.el (command-line-1): Fix last fix by inserting
8046 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8047 (Bug#9605) and (Bug#9636)
199e4c7e 8048
fe5f08dd
EZ
80492011-09-29 Eli Zaretskii <eliz@gnu.org>
8050
8051 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8052 window is hscrolled, move by logical lines. (Bug#9607)
8053 (line-move-visual): Update the doc string to the above effect.
8054
b5516bbd
MR
80552011-09-29 Martin Rudalics <rudalics@gmx.at>
8056
ccee00c0
MR
8057 * window.el (display-buffer-record-window): When WINDOW is the
8058 selected window use `point' instead of `window-point'. (Bug#9626)
8059
b5516bbd
MR
8060 * startup.el (command-line-1): Use insert-before-markers when
8061 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8062
b5516bbd
MR
8063 * help.el (help-window): Remove variable.
8064
52aa0014
GM
80652011-09-29 Glenn Morris <rgm@gnu.org>
8066
8067 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8068
df9a7357
JB
80692011-09-29 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * descr-text.el (describe-char-categories): Accept category
8072 descriptions more than one line long.
8073
a8406c20
SM
80742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8075
88d9610c
SM
8076 * simple.el (delete-trailing-whitespace): Fix last change.
8077
a5daf810
SM
8078 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8079 Don't confuse "y => 3" as the beginning of a `y' operation.
8080
a8406c20
SM
8081 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8082 object has more than 4 slots (bug#9613).
8083
a239d4e9
JB
80842011-09-28 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * subr.el (with-output-to-temp-buffer):
8087 * net/quickurl.el (quickurl, quickurl-browse-url):
8088 Fix typos in docstrings.
8089
693fbdb6
EZ
80902011-09-27 Eli Zaretskii <eliz@gnu.org>
8091
8092 * minibuffer.el (completion-styles)
8093 (completion-category-overrides): Cross reference each other in doc
8094 strings.
8095
8b457e28
GM
80962011-09-27 Glenn Morris <rgm@gnu.org>
8097
8098 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8099 to split-string. (Bug#9606)
8100
85a16208
LMI
81012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8102
8103 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8104 (bug#9615).
8105
502f9ebd
CY
81062011-09-27 Chong Yidong <cyd@stupidchicken.com>
8107
8108 * emacs-lisp/package.el (list-packages): Fix echo area message.
8109
7690bdea
LL
81102011-09-27 Leo Liu <sdl.web@gmail.com>
8111
8112 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8113
e2ee6f30
MA
81142011-09-25 Michael Albinus <michael.albinus@gmx.de>
8115
8116 * net/dbus.el (dbus-unregister-object): Don't release services for
8117 registered signals. (Bug#9581)
8118
f3f98342
TZ
81192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8120
8121 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8122 function that picks between cfengine 2 and 3 support
8123 automatically. Update docs accordingly.
8124
dd7aa8dd
KH
81252011-09-22 Kenichi Handa <handa@m17n.org>
8126
8127 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8128 ZERO.
8129 (indian-itrans-v5-table-for-tamil): New variable.
8130 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8131
3f2b07f8
KM
81322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8133
8134 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8135 that's true if the current command involved collapsing of text.
8136 It's reset to false at the beginning of the next command.
8137 (allout-post-command-business): Move the cursor to the beginning
8138 of entry if the cursor is hidden and collapsing activity just
8139 happened.
8140
371d6a61
CY
81412011-09-24 Chong Yidong <cyd@stupidchicken.com>
8142
8143 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8144 tracking (Bug#9541).
8145
2ac2721a
UJ
81462011-09-24 Ulf Jasper <ulf.jasper@web.de>
8147
8148 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8149 (newsticker-show-news): Automatically load html rendering package
8150 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8151 because w3m-fill-column is let-bound" and the error "Symbol's value
8152 as variable is void: w3m-fill-column".
2ac2721a 8153
fac7ae53
MA
81542011-09-24 Michael Albinus <michael.albinus@gmx.de>
8155
8156 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8157 Release services only if they are defined. (Bug#9581)
8158
e08b633b
RS
81592011-09-23 Richard Stallman <rms@gnu.org>
8160
e488d29c
RS
8161 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8162 distinguish start of paragraph from start of its text.
8163
19c38752
RS
8164 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8165
e08b633b
RS
8166 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8167 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8168 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8169
0a39f27e
AS
81702011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8171
8172 * international/mule-diag.el (mule-diag): Insert a newline after
8173 each fontset description.
8174
db4e950d
SM
81752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * simple.el (delete-trailing-whitespace):
8178 Document last change; simplify.
8179
eca3f3ea
PW
81802011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8181
d68e189a
PW
8182 * simple.el (delete-trailing-whitespace): Also delete
8183 extra newlines at the end of the buffer.
8184
eca3f3ea
PW
8185 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8186 (picture-newline): Use forward-line so as to ignore fields.
8187
01c157cc
SM
81882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * subr.el (with-wrapper-hook): Fix edebug spec.
8191
022de23e
LMI
81922011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8193
8194 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8195 (bug#4538).
8196
91683089
MA
81972011-09-23 Michael Albinus <michael.albinus@gmx.de>
8198
eca3f3ea
PW
8199 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8200 Fix nasty bug using wrong cached values.
91683089 8201
5bdd6fa4
AM
82022011-09-23 Alan Mackenzie <acm@muc.de>
8203
8204 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8205
97adfb97
CY
82062011-09-23 Chong Yidong <cyd@stupidchicken.com>
8207
8208 * window.el (pop-to-buffer): Ensure right window is selected if we
8209 chose another frame.
8210
d4ef2b50
EZ
82112011-09-22 Eli Zaretskii <eliz@gnu.org>
8212
8213 * simple.el (what-cursor-position): Use get-char-property-change
8214 and next-single-char-property-change, to be able to show display
8215 properties that come from overlays as well as text properties.
8216
72258fe5
CY
82172011-09-22 Chong Yidong <cyd@stupidchicken.com>
8218
8219 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8220
8221 * cmuscheme.el (run-scheme, switch-to-scheme):
8222 * cus-edit.el (customize-group, custom-buffer-create)
8223 (customize-browse):
8224 * info.el (info):
8225 * shell.el (shell):
8226 * mail/sendmail.el (mail):
8227 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8228
8f098516
RS
82292011-09-22 Richard Stallman <rms@gnu.org>
8230
8231 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8232 move back only to line beg, don't move back over blank lines.
8233
e74f1bb6
MA
82342011-09-22 Michael Albinus <michael.albinus@gmx.de>
8235
8236 * files.el (copy-directory): Set directory attributes only in case
8237 they could be retrieved from the source directory. (Bug#9565)
8238
bfeef8b6
DK
82392011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8240
8241 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8242 (hs-find-block-beginning, hs-hide-level-recursive):
8243 Ignore strings as well as comments. (Bug#9502)
8244
7e423bb8
AS
82452011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8246
8247 * progmodes/sql.el (sql-comint-postgres):
8248 Convert port number to a string. (Bug#9566)
8249
b4d72fcf
MR
82502011-09-22 Martin Rudalics <rudalics@gmx.at>
8251
8252 * window.el (quit-window): Undedicate window when switching to
8253 previous buffer. Reported by Thierry Volpiatto
8254 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8255 (special-display-popup-frame): When popping up a new frame reset
8256 its previous buffers to nil. Simplify code.
b4d72fcf 8257
a7b88dc6
MA
82582011-09-21 Michael Albinus <michael.albinus@gmx.de>
8259
8260 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8261 and process filter, as done also in `shell-command'.
8262
cf4eacfd
MR
82632011-09-21 Martin Rudalics <rudalics@gmx.at>
8264
eca3f3ea 8265 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8266 Call set-window-start with NOFORCE argument t.
8267 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8268 (quit-window): Reword doc-string. Handle new format of
8269 quit-restore parameter. Don't delete window if it has a
8270 previous buffer we can show instead of the present one.
8271 (display-buffer-record-window): Rewrite using a new format for
8272 the quit-restore window parameter
8273 (special-display-popup-frame, display-buffer-same-window)
8274 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8275 (display-buffer-pop-up-window, display-buffer-use-some-window):
8276 Adapt symbol passed to display-buffer-record-window.
8277 * help.el (help-window-setup): Handle new format of quit-restore
8278 parameter.
8279
8d28cb95
SM
82802011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8281
94ab793f
SM
8282 * faces.el (face-list): Fix docstring (bug#9564).
8283
8d28cb95
SM
8284 * window.el (display-buffer--action-function-custom-type):
8285 Don't include internal functions in the Custom interface.
8286
3820edeb
JL
82872011-09-20 Juri Linkov <juri@jurta.org>
8288
8289 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8290 (Info-forward-node, Info-backward-node, Info-next-preorder)
8291 (Info-last-preorder): Use it. (Bug#9528)
8292
5147931d
JL
82932011-09-20 Juri Linkov <juri@jurta.org>
8294
8295 * info.el (Info-last-preorder): Visit last menu item only when
8296 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8297
cf499a1a
JD
82982011-09-20 Julien Danjou <julien@danjou.info>
8299
8300 * password-cache.el (password-cache-remove): Remove entries even if the
8301 value is nil, so that password with a nil value (negative caching) is
8302 possible to invalidate.
8303
f84e2fe2
LM
83042011-09-20 Lawrence Mitchell <wence@gmx.li>
8305
8306 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8307 all whitespace around breakpoint. (Bug#9553)
8308 (f90-find-breakpoint): Only break at whitespace inside a comment.
8309
78054a46
SM
83102011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * minibuffer.el (completion-file-name-table): Keep track of errors.
8313 (completion-table-with-predicate): Handle the case where pred1 is nil.
8314 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8315
345083b2
SM
83162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8317
e24e27be
SM
8318 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8319 (debugger-return-value): Signal an error if the debugging context does
8320 not await any return value.
8321
345083b2
SM
8322 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8323 * image-mode.el (image-toggle-display-text)
8324 (image-toggle-display-image): Stay away from evil `intangible'.
8325
08d355e3
LL
83262011-09-19 Leo Liu <sdl.web@gmail.com>
8327
8328 * replace.el (occur-revert-arguments): Make it permanent-local.
8329 (occur-mode): Don't call font-lock-defontify.
8330
f01da43f
CY
83312011-09-19 Chong Yidong <cyd@stupidchicken.com>
8332
8333 * net/ldap.el (ldap-search-internal): Don't push empty search
8334 result (Bug#9508).
8335
b6072fa6
SM
83362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8339
443d6696
MA
83402011-09-19 Michael Albinus <michael.albinus@gmx.de>
8341
8342 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8343 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8344
7cc6e154
JL
83452011-09-18 Juri Linkov <juri@jurta.org>
8346
8347 * buff-menu.el (Buffer-menu-mode-map):
8348 * dired.el (dired-mode-map):
8349 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8350 (lisp-interaction-mode-map):
8351 * emacs-lisp/package.el (package-menu-mode-map):
8352 * epa.el (epa-key-list-mode-map):
8353 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8354 (menu-bar-options-menu):
8355 * outline.el (outline-mode-menu-bar-map):
8356 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8357 * vc/vc-dir.el (vc-dir-menu-map):
8358 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8359 Capitalize non-function content words in menu item strings.
8360
8361 * dired.el (dired-mode-map): Add menu item for
8362 `image-dired-dired-toggle-marked-thumbs'.
8363
80302a81
JL
83642011-09-18 Juri Linkov <juri@jurta.org>
8365
8366 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8367 to `isearch-case-fold-search' and restore its original value
8368 after the `isearch-mode' call.
8369
46c5cf66
JL
83702011-09-18 Juri Linkov <juri@jurta.org>
8371
8372 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8373 because `zgrep' returns 1 for successful matches (bug#9226).
8374
d18b513b
JL
83752011-09-18 Juri Linkov <juri@jurta.org>
8376
8377 * info.el (Info-extract-menu-node-name): Check the second match
8378 for empty string (second test-case of bug#9528).
8379 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8380 intermediate nodes to the history (first test-case of bug#9528).
8381
72753f87
JL
83822011-09-18 Juri Linkov <juri@jurta.org>
8383
8384 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8385 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8386
c9384295
JL
83872011-09-18 Juri Linkov <juri@jurta.org>
8388
1154d12e
JB
8389 * info.el (Info-file-supports-index-cookies):
8390 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8391 outputs one more line for long file names (bug#4142).
c9384295 8392
d473dce8
CY
83932011-09-18 Chong Yidong <cyd@stupidchicken.com>
8394
8395 * newcomment.el (comment-normalize-vars): If prompting for
8396 comment-start, set comment-start-skip too (Bug#8424).
8397
2176854d
JB
83982011-09-18 Johan Bockgård <bojohan@gnu.org>
8399
8400 * icomplete.el: Fix previous fix of Bug#5849.
8401 (icomplete-mode): Don't set completion-show-inline-help.
8402 (icomplete-minibuffer-setup): Set completion-show-inline-help
8403 locally during icompletion.
8404
3aace4e4
CY
84052011-09-18 Chong Yidong <cyd@stupidchicken.com>
8406
c940224f
CY
8407 * woman.el (woman2-process-escapes): Don't delete unrecognized
8408 escapes (Bug#7843).
8409
3aace4e4
CY
8410 * files.el (inhibit-first-line-modes-regexps): Add image files.
8411 (hack-local-variables-prop-line): Return nil for malformed
8412 prop-lines (Bug#9044).
8413
710dec63
MA
84142011-09-18 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * net/tramp.el (top): Don't require 'shell.
8417 (tramp-methods): Fix docstring.
8418 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8419 Return complete remote file name. Handle "smb" case.
8420 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8421 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8422
8423 * net/tramp-compat.el (top): Require 'shell.
8424
8425 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8426 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8427 `tramp-current-host'.
8428 (tramp-get-remote-tmpdir): Remove.
8429
8430 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8431 `tramp-tmpdir' entries.
8432 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8433 (tramp-smb-handle-file-attributes): Ignore errors.
8434 (tramp-smb-wait-for-output): Check also for process end.
8435
5d5ac8ec
LMI
84362011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8437
8438 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8439 when sending QUIT (bug#9312).
8440
8c0f49f0
CY
84412011-09-17 Chong Yidong <cyd@stupidchicken.com>
8442
8443 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8444 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8445 occur-mode-display-occurrence.
8446 (occur-edit-mode): Add usage message.
8447 (occur-cease-edit): New command.
8448 (occur-after-change-function): Use text properties to find the
8449 position of the prefix text.
8450 (occur-engine): Set stickiness of prefix text properties.
8451
8f1383f7
GM
84522011-09-17 Glenn Morris <rgm@gnu.org>
8453
8454 * progmodes/etags.el (complete-tag):
8455 Fix call to completion-in-region. (Bug#9526)
8456
744ba0e3
JL
84572011-09-17 Juri Linkov <juri@jurta.org>
8458
8459 * textmodes/ispell.el (ispell-word): Add to the error message
8460 the word, ispell program name and current dictionary (bug#9121).
8461 (ispell-tex-arg-end): Capitalize "error" in the error message.
8462
d9bbf400
AS
84632011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8464
8465 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8466 check. (Bug#4251)
8467
8da11505
JL
84682011-09-17 Juri Linkov <juri@jurta.org>
8469
8470 * window.el (window-safe-min-height, window-safe-min-width):
8471 Fix typos (followup to bug#9522).
8472
a91adc7e
SJ
84732011-09-17 Sven Joachim <svenjoac@gmx.de>
8474
8475 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8476
064f328a
EZ
84772011-09-16 Eli Zaretskii <eliz@gnu.org>
8478
8479 * simple.el (line-move): If goal-column is set, move by logical
8480 lines, not by display lines. (Bug#971)
8481 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8482 to reflect the above change.
8483
e69df516
SM
84842011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * image.el (imagemagick-register-types): Use regexp-opt.
8487
cbb0f9ab
CY
84882011-09-15 Chong Yidong <cyd@stupidchicken.com>
8489
8490 * window.el (display-buffer-base-action): Rename from
8491 display-buffer-default-action. Make default value empty.
8492 (display-buffer-overriding-action): Convert to defvar.
8493 (display-buffer-fallback-action): New var.
8494
25322144
CY
84952011-09-15 Chong Yidong <cyd@stupidchicken.com>
8496
8497 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8498 declaration.
8499 (package--add-to-archive-contents): If there is a duplicate entry
8500 with an older version, remove it.
8501 (package-menu-mark-delete, package-menu-mark-install)
8502 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8503 (package-menu-mark-obsolete-for-deletion):
8504 Use package-menu-get-status instead of a regexp search.
25322144
CY
8505 (package-menu-get-status): Use tabulated-list-entry.
8506 (package-menu-mark-upgrades): New command.
d770725a 8507 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8508 (package-menu-execute): Do installation before deletion.
8509 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8510 instead of checking major-mode.
8511 (package-menu--find-upgrades): New function.
8512
7520339c
LMI
85132011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8514
8515 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8516 passwords in the log buffer.
65a046c4
LMI
8517 (smtpmail-process-filter): Update the process marker so that the
8518 "broken by peer" status message is inserted in the right place.
7520339c 8519
d3c30954
SM
85202011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8521
3fe48822
SM
8522 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8523 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8524 bibtex-completion-at-point-function.
8525 (bibtex-completion-at-point-function): Use them.
8526
1b8b3954
SM
8527 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8528
d3c30954
SM
8529 * mpc.el (mpc-constraints-tag-lookup): New function.
8530 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8531 also to browser "album|playlist".
8532
72779976
JL
85332011-09-14 Juri Linkov <juri@jurta.org>
8534
8535 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8536 (isearch-edit-string): Use length of `isearch-string' when
8537 `isearch-fail-pos' returns nil.
8538 (isearch-message): Remove duplicate code and call
8539 `isearch-fail-pos' with arg `t'.
8540
a0bf2bcd
CY
85412011-09-14 Chong Yidong <cyd@stupidchicken.com>
8542
17bb0a2d
CY
8543 * replace.el (occur-mode-goto-occurrence): Don't force using other
8544 window (Bug#9499).
8545
a0bf2bcd
CY
8546 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8547
f678e0b6
MR
85482011-09-14 Martin Rudalics <rudalics@gmx.at>
8549
8550 * window.el (display-buffer-window): Remove.
8551 (display-buffer-record-window): Use help-setup window parameter
8552 instead of variable display-buffer-window.
8553 (display-buffer-function, special-display-buffer-names)
8554 (special-display-function): Mention help-setup parameter instead
8555 of display-buffer-window in doc-string.
d3c30954
SM
8556 * help.el (help-window-setup): New argument help-window.
8557 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8558 Reword some messages.
8559 (with-help-window): Pass window used for displaying the buffer
8560 to help-window-setup. Don't set display-buffer-window.
8561
8e39b2e8
GM
85622011-09-13 Glenn Morris <rgm@gnu.org>
8563
8564 * emacs-lisp/debug.el (debugger-make-xrefs):
8565 Preserve point. (Bug#9462)
8566
85e9c04b
CY
85672011-09-13 Chong Yidong <cyd@stupidchicken.com>
8568
8569 * window.el (window-deletable-p): Use next-frame.
8570
1b36ed6a
MR
85712011-09-13 Martin Rudalics <rudalics@gmx.at>
8572
8573 * window.el (window-auto-delete): Remove.
8574 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8575 dedication and previous buffers.
1b36ed6a
MR
8576 (switch-to-prev-buffer): Don't delete window.
8577 (delete-windows-on): Delete a window's frame if and only if the
8578 window is dedicated.
8579 (replace-buffer-in-windows): Delete buffer's window or frame if
8580 and only if window is dedicated.
8581 (quit-window): Handle quit-restore as before last change.
4d61f28d 8582 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8583
ef8ef9fb
CY
85842011-09-13 Chong Yidong <cyd@stupidchicken.com>
8585
8586 * window.el (window-deletable-p): Never delete the last frame on a
8587 given terminal.
8588
b2cba41e
GM
85892011-09-13 Glenn Morris <rgm@gnu.org>
8590
8591 * help.el (describe-key-briefly): Copy previous standard-output change.
8592
51553db6 85932011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8594
8595 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8596
b7556719
GM
85972011-09-13 Glenn Morris <rgm@gnu.org>
8598
8599 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8600 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8601
64b51947
CY
86022011-09-12 Chong Yidong <cyd@stupidchicken.com>
8603
8604 * dired-aux.el (dired-mark-read-string): Don't return default
8605 value on empty input (Bug#9361).
8606 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8607 Omit initial minibuffer contents.
8608 (dired-do-chmod): Signal an error on empty input.
8609 (dired-mark-read-string): Don't return default on empty input.
8610
8611 * files.el (file-modes-symbolic-to-number): Doc fix.
8612
393a301e
SM
86132011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * international/mule-cmds.el (ucs-completions): Remove.
8616 (read-char-by-name): Use complete-with-action instead; add metadata.
8617
fa5660f9
CY
86182011-09-11 Chong Yidong <cyd@stupidchicken.com>
8619
8620 * window.el (display-buffer--action-function-custom-type)
8621 (display-buffer--action-custom-type): New vars.
8622 (display-buffer-alist, display-buffer-default-action)
8623 (display-buffer-overriding-action): Add defcustom types.
8624
4a592f66
CY
8625 * frame.el (delete-other-frames): Doc fix (Bug#276).
8626
73d56dbd
LMI
86272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8628
8629 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8630
37ac18a3
CY
86312011-09-11 Chong Yidong <cyd@stupidchicken.com>
8632
8633 Change modes that used same-window-* vars to use switch-to-buffer.
8634
8635 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8636 Use switch-to-buffer.
8637
8638 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8639 (customize-browse, custom-buffer-create-other-window):
8640 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8641
8642 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8643 (Info-prev, Info-up, Info-speedbar-goto-node)
8644 (info-display-manual): Use switch-to-buffer.
8645 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8646
8647 * mail/sendmail.el (mail): Use switch-to-buffer.
8648 (mail-recover): Use switch-to-buffer-other-window.
8649
8650 * cmuscheme.el (run-scheme, switch-to-scheme):
8651 * ielm.el (ielm):
8652 * shell.el (shell):
8653 * net/rlogin.el (rlogin):
8654 * net/telnet.el (telnet, rsh):
8655 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8656
10195bd6
AS
86572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8658
8659 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8660
b322f63a
LMI
86612011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8662
39d7fed6
LMI
8663 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8664 so don't mention it (bug#9301).
ba5a81f1 8665 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8666
ee0e9f11
LMI
8667 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8668 match `x', `w32' and `ns', like the manual says (bug#9029).
8669
0b1c89c1 8670 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8671 (process-kill-buffer-query-function): Mention the buffer name in
8672 the query.
0b1c89c1 8673
77549ea8
LMI
8674 * image-mode.el (image-next-line): The line parameter is mandatory
8675 (bug#9258).
8676
803ef892
LMI
8677 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8678 which can be useful (bug#9301).
8679
12980837
LMI
8680 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8681
91054f8f
LMI
8682 * subr.el (match-string): Mention that the current buffer should
8683 be the same as the search was done in (bug#9282).
8684
b322f63a
LMI
8685 * facemenu.el: Disable the remove-* commands if the mark isn't
8686 active (bug#9162).
8687
3199b96f
CY
86882011-09-10 Chong Yidong <cyd@stupidchicken.com>
8689
8690 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8691 of display-buffer.
8692 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8693
8694 * replace.el (occur-mode-goto-occurrence)
8695 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8696 and display-buffer.
8697
8698 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8699 display-buffer.
8700
8701 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8702 special-display and same-window variables.
8703 (mail-other-window): Use switch-to-buffer-other-window.
8704 (mail-other-frame): USe switch-to-buffer-other-frame.
8705
393a301e
SM
8706 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8707 Use display-buffer-other-frame.
3199b96f
CY
8708 (gdb-display-gdb-buffer): Use pop-to-buffer.
8709
8710 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8711
8712 * progmodes/python.el: Don't set same-window-buffer-names.
8713
8714 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8715
8716 * window.el (display-buffer-alist): Add *Python*.
8717
8319e0bf
CY
87182011-09-10 Chong Yidong <cyd@stupidchicken.com>
8719
8720 * window.el (display-buffer-alist): Add entry for buffers
8721 previously handled same-window-*.
8722 (display-buffer-alist, display-buffer-default-action)
8723 (display-buffer-overriding-action): Mark as risky.
8724 (display-buffer-alist): Document action function changes.
8725 (display-buffer--same-window-action)
8726 (display-buffer--other-frame-action): New variables.
8727 (switch-to-buffer, display-buffer-other-frame): Use them.
8728 (display-buffer): Rename reuse-frame entry to reusable-frames.
8729 (display-buffer-reuse-selected-window): Function deleted.
8730 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8731 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8732 (display-buffer-special): New function.
8733 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8734 display-buffer-reuse-or-pop-window. Split off special-display
8735 part into display-buffer-special.
8736 (display-buffer-use-some-window): Don't perform any special
8737 pop-up-frames handling.
8738 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8739 (display-buffer--maybe-same-window): Rename from
0d3ff375 8740 display-buffer-maybe-same-window.
8319e0bf 8741
919a69aa
CY
8742 * info.el: Don't set same-window-regexps.
8743 (info-setup): New function.
8744 (info-other-window, info): Call it.
8745
8746 * cus-edit.el: Don't set same-window-regexps.
8747 (customize-group): New argument.
8748 (customize-group-other-window): Use it.
8749 (customize-face, customize-face-other-window): Likewise.
8750 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8751
8319e0bf
CY
8752 * net/rlogin.el:
8753 * net/telnet.el:
8754 * progmodes/gud.el: Don't set same-window-regexps.
8755
8756 * cmuscheme.el:
8757 * ielm.el:
8758 * shell.el:
8759 * mail/sendmail.el:
8760 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8761
25173000
JL
87622011-09-10 Juri Linkov <juri@jurta.org>
8763
8764 * isearch.el (isearch-edit-string): Remove obsolete mention of
8765 `C-w' (`isearch-yank-word-or-char') from docstring.
8766 (isearch-query-replace): Fix typo in docstring (bug#9466).
8767
056e44ef
JL
87682011-09-10 Juri Linkov <juri@jurta.org>
8769
8770 * paren.el (show-paren-function): Don't show escaped parens.
8771 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8772
c3760c17
EZ
87732011-09-10 Eli Zaretskii <eliz@gnu.org>
8774
8775 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8776 (mm-default-file-encoding): Remove autoload forms, they are
8777 replaced with autoload cookies in mml.el and mm-encode.el.
8778 (mail-add-attachment): New command.
8779 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8780 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8781 the doc string.
8782 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8783
fece895e
RT
87842011-09-10 Reuben Thomas <rrt@sc3d.org>
8785
e69df516
SM
8786 * simple.el (count-words-region): Use buffer if there's no region
8787 (bug#9429).
fece895e 8788
5e68ce4a
JL
87892011-09-09 Juri Linkov <juri@jurta.org>
8790
8791 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8792 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8793 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8794
0a6b9622
AM
87952011-09-09 Alan Mackenzie <acm@muc.de>
8796
8797 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8798 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8799
14a29deb
EZ
88002011-09-09 Eli Zaretskii <eliz@gnu.org>
8801
8802 Fix for Savannah bug#9392.
8803 * simple.el (mail-encode-mml): New defvar.
8804
8805 * mail/rmail.el (mail-encode-mml): Add a defvar.
8806 (rmail-enable-mime-composing): Default to t.
8807 (rmail-forward): Use MIME method of forwarding only if both
8808 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8809 Set mail-encode-mml non-nil if the MIME method was used.
8810
8811 * mail/sendmail.el (mml-to-mime): Add autoload form.
8812 (mail-encode-mml): Add a defvar.
8813 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8814 to nil.
8815 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8816 message through mml-to-mime, and reset mail-encode-mml to nil.
8817
28c45130
GM
88182011-09-09 Glenn Morris <rgm@gnu.org>
8819
8820 * woman.el (woman-if-body): When processing an .el block,
8821 do not delete the next .el block as well. (Bug#9447)
69f4b618 8822 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8823
9b1c252e
MR
88242011-09-08 Martin Rudalics <rudalics@gmx.at>
8825
8826 * window.el (window-deletable-p): Make sure window is live before
8827 invoking window-prev-buffers.
8828
567457e3
LL
88292011-09-08 Leo Liu <sdl.web@gmail.com>
8830
8831 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8832
97f05794
JL
88332011-09-08 Juri Linkov <juri@jurta.org>
8834
8835 * progmodes/compile.el (compilation-environment): Make it
8836 a defcustom (bug#8340).
8837
8b0874b5
MR
88382011-09-08 Martin Rudalics <rudalics@gmx.at>
8839
8840 * window.el (frame-auto-delete): Rename to window-auto-delete.
8841 Make it control auto-deletion of windows and/or frames.
8842 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8843 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8844 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8845 Rewrite handling of case when window/frame can be deleted.
8846 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8847 argument t. (Bug#9456)
8b0874b5 8848
4feb6e73
CY
88492011-09-07 Chong Yidong <cyd@stupidchicken.com>
8850
8851 * help-mode.el (help-mode): Restore autoload.
8852
91ab9c13
JL
88532011-09-07 Juri Linkov <juri@jurta.org>
8854
8855 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8856 `compilation-environment'. Set buffer-local
8857 `compilation-environment' to `thisenv' later after (funcall mode).
8858 (Bug#8340)
8859
8860 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8861 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8862 instead of replacing its value. (Bug#8340)
8863
0527e251
JL
88642011-09-07 Juri Linkov <juri@jurta.org>
8865
8866 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8867 based on text properties put by `grep-filter' instead of matching
8868 escape sequences.
8869 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8870 to the value of `grep-error-screen-columns' (bug#9438).
8871
249f792c
JL
88722011-09-07 Juri Linkov <juri@jurta.org>
8873
8874 * simple.el (next-error-highlight, next-error-highlight-no-select):
8875 Doc fix (bug#9432).
8876
ff7271b9
OT
88772011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8878
8879 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8880 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8881
183fc730
LL
88822011-09-07 Leo Liu <sdl.web@gmail.com>
8883
8884 * net/rcirc.el (rcirc-mode): Conditionally initialize
8885 rcirc-input-ring.
8886
77694924
SM
88872011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * emacs-lisp/find-func.el (find-function-C-source): Only set
8890 find-function-C-source-directory after checking that we found a source
8891 file there (bug#9440).
8892
d809b8eb
AM
88932011-09-06 Alan Mackenzie <acm@muc.de>
8894
8895 * isearch.el (isearch-other-meta-char): Wherever a key list is
8896 unread, "unread" the prefix arg, too. This fixes bug #8901.
8897
453de99f
OG
88982011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8899
8900 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8901
90439906
JL
89022011-09-05 Juri Linkov <juri@jurta.org>
8903
8904 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8905
f62bd846
JL
89062011-09-05 Juri Linkov <juri@jurta.org>
8907
8908 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8909 keeping point where processing of grep matches begins, and
8910 continue to delete remaining escape sequences from the same point.
8911 (grep-filter): Make leading zero optional in "0?1;31m" because
8912 git-grep emits "\033[1;31m" escape sequences unlike expected
8913 "\033[01;31m" as GNU Grep does (bug#9408).
8914 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8915
045820ec
JL
89162011-09-05 Juri Linkov <juri@jurta.org>
8917
8918 * subr.el (y-or-n-p): Capitalize "yes".
8919
f5e29b9b
MA
89202011-09-04 Michael Albinus <michael.albinus@gmx.de>
8921
8922 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8923 `tramp-cache-unload-hook' where appropriate.
8924 (tramp-methods): Rename `tramp-remote-sh' to
8925 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8926 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8927
8928 * net/tramp-sh.el (top): Don't require 'shell.
8929 (tramp-methods): Add `tramp-remote-shell' and
8930 `tramp-remote-shell-args' entries.
8931 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8932 (tramp-sh-handle-shell-command): Remove.
8933 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8934 Use `tramp-remote-shell'.
8935
2784c434
CY
89362011-09-03 Chong Yidong <cyd@stupidchicken.com>
8937
393a301e 8938 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8939 (sendmail-query-once): Save directly to send-mail-function.
8940 Update message-send-mail-function too.
8941
8942 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8943
464cdf56
CS
89442011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8945
8946 * progmodes/python.el (python-mode-map): Use correct function to
8947 start python interpreter from menu-bar (as reported by Geert
8948 Kloosterman).
8949 (inferior-python-mode-map): Fix typo.
393a301e 8950 (python-shell-map): Remove.
464cdf56 8951
d37e5c87
DD
89522011-09-03 Deniz Dogan <deniz@dogan.se>
8953
8954 * net/rcirc.el (rcirc-print): Simplify code for
8955 rcirc-scroll-show-maximum-output. There is no need to walk
8956 through all windows to find the right one.
8957
f3ada0ee
CS
89582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8959
8960 * help.el (help-return-method): Doc fix.
8961
1f3c99ca
MR
89622011-09-03 Martin Rudalics <rudalics@gmx.at>
8963
8964 * window.el (window-deletable-p): Don't return a non-nil value
8965 when there's a buffer that was shown in the window before.
8966 (Bug#9419)
393a301e
SM
8967 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8968 Set window's previous buffers to nil.
1f3c99ca 8969
a3cf097f
EZ
89702011-09-03 Eli Zaretskii <eliz@gnu.org>
8971
8972 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8973 newline before and after the tag line, so it doesn't interfere
8974 with determining the paragraph direction of bidirectional text.
8975
3d03de90
LL
89762011-09-03 Leo Liu <sdl.web@gmail.com>
8977
8978 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8979
c3313451
CY
89802011-09-02 Chong Yidong <cyd@stupidchicken.com>
8981
393a301e 8982 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8983 (pop-to-buffer): Change interactive spec. Pass second argument
8984 directly to display-buffer.
8985 (display-buffer): Fix interactive spec. Use functionp to
8986 distinguish between a function and a list of functions.
8987
8988 * abbrev.el (edit-abbrevs):
8989 * arc-mode.el (archive-extract):
8990 * autoinsert.el (auto-insert):
8991 * bookmark.el (bookmark-bmenu-list):
8992 * files.el (find-file):
8993 * view.el (view-buffer):
8994 * progmodes/compile.el (compilation-goto-locus):
8995 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8996
89894cd8
CY
89972011-09-02 Chong Yidong <cyd@stupidchicken.com>
8998
8999 * window.el (display-buffer-alist): Doc fix.
9000 (display-buffer): Add docstring. Don't treat
9001 display-buffer-default specially.
9002 (display-buffer-reuse-selected-window)
9003 (display-buffer-same-window, display-buffer-maybe-same-window)
9004 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9005 (display-buffer-pop-up-window)
9006 (display-buffer-reuse-or-pop-window)
9007 (display-buffer-use-some-window): New functions.
9008 (display-buffer-default-action): Use them.
393a301e 9009 (display-buffer-default): Delete.
89894cd8
CY
9010 (pop-to-buffer-1): Fix choice of actions.
9011
ae0bc9fb
SM
90122011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * minibuffer.el (completion--insert-strings): Don't get confused by
9015 completion entries that end with an LF char.
9016
e9d90883
EZ
90172011-09-01 Eli Zaretskii <eliz@gnu.org>
9018
9019 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9020
437014c8
CY
90212011-09-01 Chong Yidong <cyd@stupidchicken.com>
9022
9023 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9024 (display-buffer-same-window, display-buffer-other-window):
9025 New functions.
437014c8
CY
9026 (pop-to-buffer-1): New function. Use the above.
9027 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9028 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9029
9030 * view.el (view-buffer-other-window, view-buffer-other-frame):
9031 Just use pop-to-buffer.
9032
a5e063d5
TV
90332011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9034
9035 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9036
793d32bb
WH
90372011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9038
9039 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9040
d65e4c15
RS
90412011-08-31 Richard Stallman <rms@gnu.org>
9042
9043 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9044 of the separation of rmail-view-buffer from rmail-buffer.
9045 If you say no to "replace original", the decrypt is in the
9046 view buffer. If you say yes, the decrypt goes into the
9047 rmail buffer also.
9048
f818cd2a
MR
90492011-08-31 Martin Rudalics <rudalics@gmx.at>
9050
9051 * window.el (display-buffer-window): Rewrite doc-string.
9052 (display-buffer-record-window): New function.
9053 (display-buffer-macro-specifiers)
9054 (display-buffer-even-window-sizes, display-buffer-set-height)
9055 (display-buffer-set-width, display-buffer-in-window)
9056 (display-buffer-reuse-window, display-buffer-split-specifiers)
9057 (display-buffer-side-specifiers, display-buffer-split-window-1)
9058 (display-buffer-split-window, display-buffer-split-atom-window)
9059 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9060 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9061 (display-buffer-other-window-means-other-frame)
9062 (display-buffer-normalize-special)
9063 (display-buffer-normalize-default)
9064 (display-buffer-normalize-argument)
9065 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9066 (display-buffer-normalize-specifiers, display-buffer-frame)
9067 (display-buffer-same-window, display-buffer-same-frame)
9068 (display-buffer-other-window)
9069 (display-buffer-same-frame-other-window)
9070 (display-buffer-other-frame, pop-to-buffer-same-window)
9071 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9072 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9073 (switch-to-buffer-same-frame)
9074 (switch-to-buffer-other-window-same-frame)
9075 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9076 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9077 (display-buffer-alist-set): Remove.
9078 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9079 (special-display-regexps, special-display-function):
9080 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9081 parameter.
9082 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9083 (special-display-frame-alist, special-display-popup-frame)
9084 (same-window-buffer-names, same-window-regexps, same-window-p)
9085 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9086 (split-window-preferred-function, split-height-threshold)
9087 (split-width-threshold, window-splittable-p)
9088 (split-window-sensibly, window--try-to-split-window)
9089 (window--frame-usable-p, even-window-heights)
9090 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9091 (window--display-buffer-2, display-buffer-other-frame):
9092 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9093 (display-buffer-default, display-buffer-assq-regexp): New functions.
9094 (display-buffer-alist): Rewrite doc-string.
9095 (display-buffer-default-action)
9096 (display-buffer-overriding-action): New variables.
9097 (display-buffer, switch-to-buffer): Rewrite.
9098 (pop-to-buffer): Restore Emacs 23 behavior but use
9099 window-normalize-buffer-to-display.
9100 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9101 Restore Emacs 23 behavior but use
9102 window-normalize-buffer-to-switch-to.
9103 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9104 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9105 Rewrite using Emacs 23 options.
f818cd2a 9106
5bc3b51d
MA
91072011-08-31 Michael Albinus <michael.albinus@gmx.de>
9108
9109 * net/tramp.el (tramp-root-regexp): Remove.
9110 (tramp-completion-file-name-regexp-unified)
9111 (tramp-completion-file-name-regexp-separate)
9112 (tramp-completion-file-name-regexp-url): Don't use leading volume
9113 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9114 (tramp-drop-volume-letter): Simplify definition.
9115 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9116
b1a4f8e1
SM
91172011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9120 (bug#9356).
9121
5664fa7b
RT
91222011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9123
b1a4f8e1 9124 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9125
9a45d6c3
JL
91262011-08-29 Juri Linkov <juri@jurta.org>
9127
9128 * isearch.el (isearch-done): Don't display message "Mark saved"
9129 when arg `edit' is non-nil to prevent its flicker in the echo area.
9130
fb87e0fb
CY
91312011-08-28 Chong Yidong <cyd@stupidchicken.com>
9132
9133 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9134 obsolete packages for deletion.
9135
09ac1c2a
CS
91362011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9137
9138 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9139 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9140 view-mode from help-mode.
9141 (help-xref-override-view-map): Remove.
9142 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9143 view-mode is not used anymore.
9144
7a1ff57f
CY
91452011-08-28 Chong Yidong <cyd@stupidchicken.com>
9146
9147 * server.el (server-port): Doc fix.
9148
b9696605
CY
9149 * cus-theme.el (custom-theme-choose-mode): Inherit from
9150 special-mode (Bug#9124).
9151 (custom-theme-choose-mode-map): Add special-mode to parent.
9152
ef8cdf8c
AM
91532011-08-28 Alan Mackenzie <acm@muc.de>
9154
9155 * progmodes/cc-fonts.el
9156 (c-make-font-lock-BO-decl-search-function): New function.
9157 (c-basic-matchers-after - "Fontify the clauses after various
9158 keywords"): Extract the three keyword lists for the 3 erroneous
9159 constructs from the list of four, and use the new function above
9160 in place of an old one.
9161
27de4e20
DD
91622011-08-28 Deniz Dogan <deniz@dogan.se>
9163
9164 * net/rcirc.el (rcirc-insert-prev-input)
9165 (rcirc-insert-next-input): Remove unused argument.
9166
356a3681
SM
91672011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9170
3fc9b218
AM
91712011-08-27 Alan Mackenzie <acm@muc.de>
9172
9173 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9174 handle function pointer parameters properly.
9175
538a061c
MR
91762011-08-27 Martin Rudalics <rudalics@gmx.at>
9177
9178 * window.el (display-buffer-reuse-window): Fix case where
9179 selected window was reused with non-nil OTHER-WINDOW argument.
9180 (Bug#9381)
9181
35b1c40c
DD
91822011-08-27 Deniz Dogan <deniz@dogan.se>
9183
9184 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9185 oftc's NickServ messages.
9186
2f6a3e79
GM
91872011-08-27 Glenn Morris <rgm@gnu.org>
9188
9189 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9190
7254299e
CY
91912011-08-26 Chong Yidong <cyd@stupidchicken.com>
9192
9193 * emacs-lisp/package.el (package-install): Call package-initialize
9194 if called interactively.
9195
f8ccf167
LL
91962011-08-26 Leo Liu <sdl.web@gmail.com>
9197
9198 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9199
3e8cd5ce
JL
92002011-08-25 Juri Linkov <juri@jurta.org>
9201
9202 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9203 `search-whitespace-regexp' (bug#9364).
9204
93eb7113
JL
92052011-08-25 Juri Linkov <juri@jurta.org>
9206
9207 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9208 `regexp-search-ring' to their global values to protect from
9209 updating by `read-from-minibuffer' (bug#9185).
9210
f65d1611
JL
92112011-08-25 Juri Linkov <juri@jurta.org>
9212
9213 * textmodes/ispell.el (ispell-command-loop): Add newline
9214 at the end of the "Use option `i'..." line.
9215
f1cf7a31
JL
92162011-08-25 Juri Linkov <juri@jurta.org>
9217
9218 * battery.el (display-battery-mode): If `battery-status-function'
9219 or `battery-mode-line-format' is nil, display the message and set
9220 `display-battery-mode' to nil (bug#9363).
9221
0c95fcf7
EZ
92222011-08-25 Eli Zaretskii <eliz@gnu.org>
9223
9224 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9225 bidi-string-mark-left-to-right; they are unnecessary now.
9226
a2ebe600
DD
92272011-08-25 Deniz Dogan <deniz@dogan.se>
9228
9229 * net/quickurl.el: Documentation typo fixes.
9230
e4ed06f1
CY
92312011-08-25 Chong Yidong <cyd@stupidchicken.com>
9232
9233 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9234
e5f1c99e
GM
92352011-08-25 Glenn Morris <rgm@gnu.org>
9236
b2948976
GM
9237 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9238
e5f1c99e
GM
9239 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9240 (smtpmail-via-smtp): Handle nil response from smtp.
9241
f22f4808
JL
92422011-08-24 Juri Linkov <juri@jurta.org>
9243
9244 * proced.el (proced-marked): Inherit from `error' instead of
9245 `font-lock-warning-face'.
9246
9247 * ibuffer.el (ibuffer-marked-face): Change default face from
9248 `font-lock-warning-face' to `warning'.
9249 (ibuffer-deletion-face): Change default face from
9250 `font-lock-type-face' to `error'.
9251
9252 * battery.el (battery-update): Use the face `error' instead of
9253 `font-lock-warning-face' (bug#6117).
9254
6a93965e
JL
92552011-08-24 Juri Linkov <juri@jurta.org>
9256
9257 * faces.el (success): Change face color from "Green3" to
9258 "ForestGreen" on light background (bug#9353).
9259
1ed43b09
CY
92602011-08-24 Chong Yidong <cyd@stupidchicken.com>
9261
5664fa7b
RT
9262 * window.el (quit-window): Rename from quit-restore-window.
9263 Use same arglist as old quit-window.
1ed43b09
CY
9264 (frame-auto-delete): Doc fix.
9265
9266 * view.el (view-mode-exit): Use quit-window.
9267
11dcdbb2
JL
92682011-08-24 Juri Linkov <juri@jurta.org>
9269
9270 * isearch.el (isearch-ring-adjust1): Start visiting previous
9271 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9272 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9273 for empty search string (when the last search string is reused
9274 automatically) to adjust the isearch ring to the last element and
9275 prepare the correct index for further M-p commands (bug#9185).
9276
de62b4df
KH
92772011-08-24 Kenichi Handa <handa@m17n.org>
9278
9279 * international/ucs-normalize.el: If decomposition property of
9280 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9281 nil.
9282 (nfd, nfkd): Likewise.
9283
963b492b
SM
92842011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9287 from process filters aren't reliably transmitted to the surrounding
9288 accept-process-output.
9289 (mpc-proc-check): New function.
9290 (mpc-proc-sync): Use it (bug#8293)
9291
93b6b5e1
SM
92922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9295 Add compatibility functions (bug#9313).
9296
bca633fb
EZ
92972011-08-23 Eli Zaretskii <eliz@gnu.org>
9298
b177498a
EZ
9299 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9300
6df6ae42 9301 * international/uni-bidi.el: Regenerate.
bca633fb 9302
0902a04e
KH
93032011-08-23 Kenichi Handa <handa@m17n.org>
9304
9305 * international/charprop.el:
9306 * international/uni-bidi.el:
9307 * international/uni-category.el:
9308 * international/uni-combining.el:
9309 * international/uni-comment.el:
9310 * international/uni-decimal.el:
9311 * international/uni-decomposition.el:
9312 * international/uni-digit.el:
9313 * international/uni-lowercase.el:
9314 * international/uni-mirrored.el:
9315 * international/uni-name.el:
9316 * international/uni-numeric.el:
9317 * international/uni-old-name.el:
9318 * international/uni-titlecase.el:
9319 * international/uni-uppercase.el: Regenerate.
9320
3bbf23bc
MR
93212011-08-23 Martin Rudalics <rudalics@gmx.at>
9322
9323 * help.el (help-window-setup): Fix message displayed when other
9324 window is reused. (Bug#9341)
9325
b3fd59bd
SM
93262011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9327
1802e444
SM
9328 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9329 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9330
b3fd59bd
SM
9331 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9332 Mark obsolete.
9333 * shell.el (shell-parse-pcomplete-arguments): New function.
9334 (shell-completion-vars): Use it instead (bug#9160).
9335
4eb61348
SM
93362011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9337
867cab74
SM
9338 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9339 strings and comments (bug#9333).
9340
4eb61348
SM
9341 * emacs-lisp/debug.el (debug-arglist): New function.
9342 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9343 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9344
262a1439
JL
93452011-08-22 Juri Linkov <juri@jurta.org>
9346
56ee679c
JL
9347 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9348 Revert regexp that highlights output switches to its old
9349 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9350
262a1439
JL
9351 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9352 to check for empty output (bug#9226).
9353
f13f86fb
CY
93542011-08-22 Chong Yidong <cyd@stupidchicken.com>
9355
9356 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9357 symbol-constituent as the default, as that stops font-lock from
9358 working properly (Bug#8843).
9359
c65c9622
LMI
93602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9361
9362 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9363 `coding-system-for-*' around the process open call to avoid
9364 auth-source side effects.
e7f2c178 9365 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9366 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9367 probe hangs.
c65c9622 9368
23a8a5ab
CY
93692011-08-21 Chong Yidong <cyd@stupidchicken.com>
9370
ff98b2dd
CY
9371 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9372
23a8a5ab
CY
9373 * emacs-lisp/find-func.el (find-function-noselect): New arg
9374 lisp-only.
9375
9376 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9377 signal an error for built-in functions (Bug#6664).
9378
f5e3c598
LMI
93792011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9380
9381 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9382 (smtpmail-try-auth-methods): Use it.
9383
a3f2468a
CY
93842011-08-21 Chong Yidong <cyd@stupidchicken.com>
9385
2c34e8da
CY
9386 * font-lock.el (font-lock-fontify-region)
9387 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9388 (font-lock-default-unfontify-buffer)
9389 (font-lock-default-fontify-region)
9390 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9391
b3fd59bd
SM
9392 * progmodes/compile.el (compilation-error-properties):
9393 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9394 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9395 `ant' regexp.
ee31aabc 9396
a3f2468a
CY
9397 * net/browse-url.el (browse-url-firefox): Don't call
9398 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9399
8e999f70
GM
94002011-08-20 Glenn Morris <rgm@gnu.org>
9401
c21a496a
GM
9402 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9403
59ee0542
GM
9404 * tutorial.el (tutorial--default-keys): Update some default bindings.
9405
8e999f70
GM
9406 * files.el (hack-local-variables): Fully ignore case for "mode:".
9407
e3715033
AM
94082011-08-20 Alan Mackenzie <acm@muc.de>
9409
9410 Resolve invalid use of a regexp in regexp-opt.
9411
4d61f28d
JB
9412 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9413 detection for a java annotation.
e3715033 9414
4d61f28d 9415 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9416 detection for a java annotation.
9417
4d61f28d
JB
9418 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9419 handling for java.
e3715033
AM
9420 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9421
04ed2e9c
CY
94222011-08-20 Chong Yidong <cyd@stupidchicken.com>
9423
9424 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9425 (Bug#9274).
9426
826cee64
AM
94272011-08-20 Alan Mackenzie <acm@muc.de>
9428
58179cce 9429 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9430 such a construct. Mainly for when jit-lock etc. starts a chunk
9431 here.
9432
58179cce 9433 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9434 variable.
58179cce 9435 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9436 c-make-font-lock-search-function.
9437 (c-make-font-lock-search-function): Use the above function.
9438 (c-make-font-lock-context-search-function): New function.
9439 (c-cpp-matchers): Enhance the preprocessor expression case with
9440 the above function
9441 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9442 which takes an expression.
9443
9444 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9445
13009bd8
MR
94462011-08-20 Martin Rudalics <rudalics@gmx.at>
9447
9448 * window.el (display-buffer-reuse-window)
9449 (display-buffer-pop-up-window): Don't reuse or split a side
9450 window.
9451
9234ff7f
GM
94522011-08-19 Glenn Morris <rgm@gnu.org>
9453
9454 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9455 Downcase "Mode:". (Bug#9331)
9234ff7f 9456
f635daa1
CY
94572011-08-18 Chong Yidong <cyd@stupidchicken.com>
9458
9459 * international/characters.el: Add L and R categories.
9460
9461 * subr.el (bidi-string-mark-left-to-right): Rename from
9462 string-mark-left-to-right. Use category search.
9463
9464 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9465
bc987f8b
JL
94662011-08-18 Juri Linkov <juri@jurta.org>
9467
9468 * faces.el (error, warning, success): New faces with definitions
9469 copied from old default values of `font-lock-warning-face',
9470 `compilation-warning', `compilation-info' (bug#6117).
9471
9472 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9473
9474 * progmodes/compile.el (compilation-error): Inherit from `error'.
9475 (compilation-warning): Inherit from `warning'.
9476 (compilation-info): Inherit from `success'.
9477
9478 * dired.el (dired-marked): Inherit from `warning'.
9479 (dired-flagged): Inherit from `error'.
9480
57173b96
LMI
94812011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9482
3e79eb87
LMI
9483 * mail/smtpmail.el (auth-source): Require to avoid problems with
9484 binding variables (bug#9298). Also clean up some unused
9485 autoloads.
9486
b3fd59bd
SM
9487 * net/network-stream.el (network-stream-open-starttls):
9488 Support using starttls.el without using gnutls-cli.
57173b96 9489
02b404de
JL
94902011-08-17 Juri Linkov <juri@jurta.org>
9491
9492 * progmodes/grep.el (rgrep): Handle the case when
9493 `grep-find-command' is a cons cell (bug#9278).
9494
8c9177f2
MR
94952011-08-17 Martin Rudalics <rudalics@gmx.at>
9496
9497 * window.el (display-buffer-pop-up-frame): Run frame creation
9498 function with BUFFER current (as special-display-popup-frame
9499 does). Reported by Drew Adams.
9500
3644a0ab
DU
95012011-08-17 Daiki Ueno <ueno@unixuser.org>
9502
9503 * epa-mail.el: Simplify GnuPG group expansion using
9504 epg-expand-group.
9505 (epa-mail-group-alist, epa-mail-group-modtime)
9506 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9507 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9508 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9509 Remove.
9510
5e617bc2 95112011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9512
9513 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9514
9c4aeabf
AM
95152011-08-16 Alan Mackenzie <acm@muc.de>
9516
9517 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9518 Correct, to avoid the inside of macros.
9519
3a99bf64
RS
95202011-08-16 Richard Stallman <rms@gnu.org>
9521
04963aa8
RS
9522 * epa-mail.el: Handle GnuPG group definitions.
9523 (epa-mail-group-alist, epa-mail-group-modtime)
9524 (epa-mail-gnupg-conf-file): New variables.
9525 (epa-mail-parse-groups, epa-mail-sync-groups)
9526 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9527 (epa-mail-expand-recipients): New functions.
9528 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9529
177549d0
RS
9530 * mail/rmail.el (rmail-epa-decrypt): New command.
9531
fe38beef
RS
9532 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9533 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9534 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9535 (epa-decrypt-armor-in-region): Make error message clearer.
9536
934eacb9
SM
95372011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9540 and "a2b" to "ab" for `prefix'.
9541
d024fb4e
CY
95422011-08-14 Chong Yidong <cyd@stupidchicken.com>
9543
9544 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9545 filter groups.
de148fee
CY
9546 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9547 Fourquet (Bug#8804).
d024fb4e 9548
62f1ca49
JB
95492011-08-12 Juanma Barranquero <lekktu@gmail.com>
9550
9551 * startup.el (argi): Declare as global variable (bug#9275).
9552
9ccaaa4b
CY
95532011-08-12 Chong Yidong <cyd@stupidchicken.com>
9554
9555 * subr.el (string-mark-left-to-right): Search the entire string
9556 for RTL script, not just the terminating character. Doc fix.
9557
a3dae87a
SM
95582011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9559
6cd18349
SM
9560 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9561 New function.
9562 (js--regexp-literal, js-syntax-propertize-function): Remove.
9563 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9564 (js-mode-map): Don't rebind electric keys.
9565 (js-insert-and-indent): Remove.
9566 (js-mode): Setup electric-layout and electric-indent instead.
9567
a3dae87a
SM
9568 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9569
9d5cb631
DU
95702011-08-12 Daiki Ueno <ueno@unixuser.org>
9571
9572 * epa.el (epa-progress-callback-function): Fix the logic of
9573 displaying progress.
9574 * epa-file.el (epa-file-insert-file-contents): Make progress
9575 display more user-friendly.
9576 (epa-file-write-region): Ditto.
9577
3e26a4a2
CY
95782011-08-10 Chong Yidong <cyd@stupidchicken.com>
9579
9580 * subr.el (string-mark-left-to-right): New function.
9581
9582 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9583 Use string-mark-left-to-right.
9584 (list-buffers-noselect): Caller changed.
9585
a3dae87a
SM
9586 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9587 Use string-mark-left-to-right.
3e26a4a2
CY
9588 (tabulated-list-print): Recenter after moving point.
9589
ac8cf6e6
JL
95902011-08-10 Juri Linkov <juri@jurta.org>
9591
9592 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9593 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9594 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9595
8d96c9a4
CY
95962011-08-09 Chong Yidong <cyd@stupidchicken.com>
9597
9598 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9599 (Bug#7554).
9600
7be1c708 96012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9602
9603 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9604 character. (Bug#6594)
9605
37e11a63
CY
96062011-08-08 Chong Yidong <cyd@stupidchicken.com>
9607
839dde57
CY
9608 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9609 (image-dired--with-db-file): New macro.
9610 (image-dired-write-tags, image-dired-remove-tag)
9611 (image-dired-create-gallery-lists, image-dired-write-comments)
9612 (image-dired-get-comment, image-dired-mark-tagged-files)
9613 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9614 (image-dired-gallery-generate): Use insert-file-contents.
9615
37e11a63
CY
9616 * time.el (display-time-world-list, display-time-world-display):
9617 * time-stamp.el (time-stamp-string):
9618 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9619 set-time-zone-rule (Bug#7337).
9620
0b4946c4
DU
96212011-08-08 Daiki Ueno <ueno@unixuser.org>
9622
9623 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9624 (epg-error-to-string, epg-errors-to-string): New function.
9625 (epg-wait-for-completion): Reverse errors list.
9626 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9627 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9628 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9629 (epg-sign-keys, epg-generate-key-from-file)
9630 (epg-generate-key-from-string): Format errors by using
9631 epg-errors-to-string (bug#9255).
9632 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9633
75bfc667
JL
96342011-08-07 Juri Linkov <juri@jurta.org>
9635
9636 * faces.el (list-faces-display): Remove extra angle bracket
9637 from `help-mode-map'.
9638
9639 * info.el (Info-history-toc-nodes): Doc fix.
9640
9641 * longlines.el (longlines-mode): Doc fix.
9642
673e08bb
SM
96432011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9644
4640dd88
SM
9645 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9646 of statements and in a few more cases (bug#9183).
9647
673e08bb
SM
9648 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9649 New functions.
9650 (cl-transform-lambda): Use them (bug#9239).
9651
89b3f019
MR
96522011-08-05 Martin Rudalics <rudalics@gmx.at>
9653
9654 * window.el (display-buffer-same-window)
9655 (display-buffer-same-frame, display-buffer-other-window)
9656 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9657 (pop-to-buffer-other-window)
9658 (pop-to-buffer-same-frame-other-window)
9659 (pop-to-buffer-other-frame): Make them defuns.
9660 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9661
640c8776
SM
96622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * subr.el (make-composed-keymap): Move from C. Change calling
9665 convention, and improve docstring to bring attention to a subtle point.
9666 * minibuffer.el (completing-read-default): Adjust accordingly.
9667
63648a95
MA
96682011-08-03 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9671 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9672
9673 * net/trampver.el: Update release number.
9674
b796c9b7
SM
96752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9678 "in" (bug#9190).
9679
2239d7d5
LMI
96802011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9681
e07dd7c3
LMI
9682 * mail/sendmail.el (sendmail-query-once): Restore the current
9683 buffer after querying (bug#9074).
9684
0e6a2bd7
LMI
9685 * dired.el (dired-flagged): Use different faces for marked and
9686 flagged files (bug#6117).
9687
ce887515
LMI
9688 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9689 (bug#4433).
9690
92f2affc
LMI
9691 * ido.el (ido-mode): Switch off the message if called
9692 non-interactively.
9693
57d5aff0
LMI
9694 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9695 before 587, since it appears that that's more likely to work for
9696 more people.
9697
98cd6c18 9698 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9699 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9700 exist.
9701
b96dec83
LMI
9702 * info.el: Remove the `Info-beginning-of-buffer' function
9703 (bug#8325).
9704
b796c9b7
SM
9705 * net/network-stream.el (network-stream-open-starttls):
9706 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9707
d90e2ea0
MR
97082011-08-01 Martin Rudalics <rudalics@gmx.at>
9709
9710 * window.el (display-buffer-in-window): Don't set dedicated status
9711 of window here (Bug#9215).
9712 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9713 (display-buffer-pop-up-side-window)
b796c9b7 9714 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9715
cca09170
SM
97162011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9719 before binding generated-autoload-file.
9720
027b979c
DD
97212011-08-01 Deniz Dogan <deniz@dogan.se>
9722
9723 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9724
3c7ee4f3
MA
97252011-07-30 Michael Albinus <michael.albinus@gmx.de>
9726
9727 Sync with Tramp 2.2.2.
9728
9729 * net/trampver.el: Update release number.
9730
2cc8e51a
JL
97312011-07-30 Juri Linkov <juri@jurta.org>
9732
9733 * dired-aux.el (dired-touch-initial): Remove function.
9734 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9735 current time, and `default' to the last modification time of the
9736 current marked file (bug#6887).
9737
a514d856
JM
97382011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9739
9740 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9741 numeric argument to read-number (bug#9163).
a514d856 9742
8a7eddd7
MA
97432011-07-27 Michael Albinus <michael.albinus@gmx.de>
9744
9745 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9746 connection process, it could be nil.
9747
1ddd96f5
LL
97482011-07-27 Leo Liu <sdl.web@gmail.com>
9749
9750 Simplify url handling in rcirc-mode.
9751
9752 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9753 (rcirc-browse-url-at-mouse): Remove.
9754 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9755
b248a85d
AM
97562011-07-26 Alan Mackenzie <acm@muc.de>
9757
9758 Fontify bitfield declarations properly.
9759
9760 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9761 (c-symbol-chars): Now exported as a lang variable.
9762 (c-not-primitive-type-keywords): New lang variable.
9763
9764 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9765 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9766 parsed as a bitfield declaration.
b248a85d 9767
b796c9b7
SM
9768 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9769 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9770 (c-punctuation-in): New function.
9771 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9772 declarations properly.
9773
68575ab0
UJ
97742011-07-26 Ulf Jasper <ulf.jasper@web.de>
9775
9776 * calendar/icalendar.el (icalendar--all-events): Take care of
9777 multiple vcalendars in a single file.
b796c9b7 9778 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9779
0f0a88b9
DD
97802011-07-25 Deniz Dogan <deniz@dogan.se>
9781
9782 * image.el (insert-image): Clarifying docstring.
9783
0b3f36df
MA
97842011-07-24 Michael Albinus <michael.albinus@gmx.de>
9785
9786 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9787 `tramp-send-command-and-check' if there is no error.
9788 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9789
a9901f61
AM
97902011-07-22 Alan Mackenzie <acm@muc.de>
9791
9792 Prevent cc-langs.elc being loaded at run time.
9793
9794 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9795 cc-langs.
9796
4d61f28d 9797 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9798 "(require 'cc-langs)". Quote a form so it will evaluate at
9799 (cc-mode's) compilation time.
9800
11d074b2
MA
98012011-07-22 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9804 loading. (Bug#9114)
9805
938b94c8
MR
98062011-07-21 Martin Rudalics <rudalics@gmx.at>
9807
9808 * window.el (display-buffer-pop-up-window)
9809 (display-buffer-pop-up-side-window)
9810 (display-buffer-in-side-window): Call display-buffer-set-height
9811 and display-buffer-set-width after setting the new window's
b796c9b7 9812 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9813
bfa4f190
SS
98142011-07-20 Sam Steingold <sds@gnu.org>
9815
9816 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9817 (etags-tags-included-tables): Call `convert-standard-filename' on
9818 the file names contained in TAGS so that windows Emacs can handle
9819 TAGS files created by cygwin ctags.
9820
8ca42262
LMI
98212011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822
9823 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9824 which apparently didn't work.
9825
5db2afd2 98262011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9827
5db2afd2
RW
9828 * proced.el (proced-send-signal): For *Marked Processes* buffer
9829 put point at beginning of buffer.
9830
92e15d10
SB
98312011-07-19 Stephen Berman <stephen.berman@gmx.net>
9832
9833 * proced.el (proced-format): Make header lines align with the text
9834 (bug#1779).
9835
1bfd59e5
LMI
98362011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9837
9838 * view.el (view-buffer): Allow running in `special' modes if we're
9839 visiting a file (bug#8615).
9840
f5aae37c
MR
98412011-07-19 Martin Rudalics <rudalics@gmx.at>
9842
9843 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9844 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9845 New functions.
f5aae37c
MR
9846 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9847 more accurately.
9848
bf2c1571
AM
98492011-07-18 Alan Mackenzie <acm@muc.de>
9850
9851 Fontify declarators properly when, e.g., a jit-lock chunk begins
9852 inside a declaration.
9853
9854 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9855
b796c9b7
SM
9856 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9857 New function.
bf2c1571
AM
9858 (c-complex-decl-matchers): Insert reference to
9859 c-font-lock-enclosing-decls.
9860
9861 * progmodes/cc-engine.el (c-backward-single-comment):
9862 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9863 to nil around calls to (forward-comment -1).
9864
4e190b80
LMI
98652011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9866
12dc863d
LMI
9867 * image.el (put-image): Doc typo fix.
9868
a762e966
LMI
9869 * progmodes/etags.el (tags-search): Doc typo fix.
9870
4e190b80
LMI
9871 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9872 password if we get errors 550 to 554.
9873
f019fb21
LMI
98742011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9875
b796c9b7 9876 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9877
81746738
LMI
9878 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9879 indentation character (bug#6380).
9880
3ee3a1b5
LMI
9881 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9882
c82f64de
LMI
9883 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9884 to clarify what the problem is (bug#4291).
9885
f019fb21
LMI
9886 * simple.el (current-kill): Clarify what
9887 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9888 (auto-fill-mode): Document `auto-fill-function' in relation to
9889 `auto-fill-mode' (bug#2470).
f019fb21 9890
0794775d
LM
98912011-07-16 Lawrence Mitchell <wence@gmx.li>
9892
9893 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9894 method if slot is read-only (bug#9035).
9895
be39b8cc
MR
98962011-07-16 Martin Rudalics <rudalics@gmx.at>
9897
b796c9b7 9898 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9899 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9900 selected before, see discussion of (Bug#8615), (Bug#6954).
9901 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9902
6ccf7859
GM
99032011-07-15 Glenn Morris <rgm@gnu.org>
9904
9905 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9906 Respect help-form.
6ccf7859 9907
87e86684
LM
99082011-07-09 Lawrence Mitchell <wence@gmx.li>
9909
9910 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9911 (gnutls-negotiate): Use it.
9912
d6066239
LMI
99132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9914
b796c9b7
SM
9915 * net/gnutls.el (gnutls-negotiate):
9916 Upcase `gnutls-algorithm-priority'.
d6066239 9917
bd23ebc0
GM
99182011-07-15 Glenn Morris <rgm@gnu.org>
9919
c65bca65
GM
9920 * jka-compr.el (jka-compr-verbose): Move from here...
9921 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9922 Add missing :version tag.
9923 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9924
478615cc
LMI
99252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9926
7b41decb
LMI
9927 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9928 (gnutls-negotiate): Use it.
9929
dbc44fcd
LMI
9930 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9931
06789f97
LMI
9932 * info.el (Info-beginning-of-buffer): New command.
9933 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9934 announcing `b' as the key (bug#8325).
ab896c37 9935 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9936
c39da690
LMI
9937 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9938
3aa5f34b
LMI
9939 * international/mule-cmds.el
9940 (describe-specified-language-support): Make the error message
9941 clearer (bug#8905).
9942
4bf0979f
LMI
9943 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9944
478615cc
LMI
9945 * isearch.el (isearch-barrier): Add a doc string, since it's
9946 mentioned in a function doc string (bug#8678).
9947
75c68aa1
MR
99482011-07-15 Martin Rudalics <rudalics@gmx.at>
9949
9950 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9951 buffer argument (Bug#9083) and self-identifying label argument.
9952
a7c33da2
GM
99532011-07-15 Glenn Morris <rgm@gnu.org>
9954
9955 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9956
2f5c6024
LMI
99572011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9958
9959 * man.el (Man-fontify-manpage): Fix message when formatting the
9960 man page (bug#7929).
9961
0bb23927 99622011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9963
9964 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9965 argument LRM; if non-nil, append an invisible LRM character to the
9966 buffer name.
9967 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9968 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9969 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9970 paragraph direction.
cce4b0a7 9971
621ef9ab
LMI
99722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9973
d1583c48
LMI
9974 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9975 the man page name (bug#7929).
9976
6a57fb5f
LMI
9977 * image.el (put-image): Mention the `put-image' overlay property
9978 (bug#7834).
9979
d7956b14
LMI
9980 * scroll-bar.el (set-scroll-bar-mode): Mention that
9981 `scroll-bar-mode' lists the values (bug#7772).
9982
5b2d4a66
LMI
9983 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9984 command (bug#7729).
9985
7509a874
LMI
9986 * rect.el (apply-on-rectangle): Return the point after the last
9987 operation.
9988 (string-rectangle): Go to the point after the last operation
9989 (bug#7522).
9990
4fe74b19
LMI
9991 * printing.el (pr-toggle-region): Clarify the documentation
9992 slightly (bug#7493).
9993
b796c9b7
SM
9994 * time.el (display-time-update):
9995 Allow `display-time-mail-function' to return nil (bug#7158).
9996 Fix suggested by Detlev Zundel.
ab283561 9997
fc233c9d
LMI
9998 * vc/diff.el (diff): Clarify the order the file names are read
9999 (bug#7111).
10000
43f5740b
LMI
10001 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10002 the doc string (bug#7015).
10003
f2182a76
LMI
10004 * font-lock.el (font-lock-maximum-decoration): Mention what
10005 numeric levels mean (bug#6935).
10006
621ef9ab
LMI
10007 * startup.el (initial-buffer-choice): Don't mention the `none'
10008 selection, which is against policy.
10009
adc47434
MR
100102011-07-14 Martin Rudalics <rudalics@gmx.at>
10011
b796c9b7
SM
10012 * window.el (display-buffer-normalize-special):
10013 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10014
7e5bfb8f
EZ
100152011-07-14 Eli Zaretskii <eliz@gnu.org>
10016
10017 * subr.el (version<, version<=, version=): Mention "-CVS" and
10018 "-12345" alpha version numbers.
10019
27fa387a
CY
100202011-07-14 Chong Yidong <cyd@stupidchicken.com>
10021
10022 * bindings.el: Add advertised binding for set-mark-command
10023 (Bug#5772).
10024
8bdfa064
CY
100252011-07-14 Chong Yidong <cyd@stupidchicken.com>
10026
10027 * bindings.el (mode-line-other-buffer):
10028 * bookmark.el (bookmark-bmenu-2-window):
10029 * bs.el (bs-cycle-next, bs-cycle-previous):
10030 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10031 switch-to-buffer.
10032
10033 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10034 Delete.
8bdfa064 10035
5eba16a3
JB
100362011-07-14 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * follow.el (follow-debug-message, follow-redisplay):
10039 * jka-cmpr-hook.el (with-auto-compression-mode):
10040 Fix typos in docstrings.
10041
15853710
LMI
100422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10043
a28e4607
LMI
10044 * subr.el (with-silent-modifications): Clarify somewhat what the
10045 macro inhibits (bug#6525).
10046
15853710
LMI
10047 * simple.el (eval-expression): Note what it does if called
10048 interactively (bug#6495).
10049
bee0fcef
CY
100502011-07-13 Chong Yidong <cyd@stupidchicken.com>
10051
b796c9b7
SM
10052 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10053 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10054
10055 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10056 Remove switch-to-buffer.
10057
58274504
LMI
100582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10059
bd2fcc8d
LMI
10060 * files.el (make-directory): Clarify that an error will be raised
10061 if there's an error (bug#6397).
10062
0f04b32c
LMI
10063 * startup.el (initial-buffer-choice): Add `none' as a choice
10064 (bug#6234).
10065
465c5fc8
LMI
10066 * subr.el (add-hook): Clarify section about buffer-local hooks
10067 (bug#6218).
10068
58274504
LMI
10069 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10070
bead9a43
JB
100712011-07-13 Juanma Barranquero <lekktu@gmail.com>
10072
10073 * tabify.el (untabify): Preserve the current column so that point
10074 doesn't move (bug#6032).
10075
3af98a7b
LMI
100762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10077
b796c9b7
SM
10078 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10079 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10080
6240145a
GM
100812011-07-13 Glenn Morris <rgm@gnu.org>
10082
10083 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10084 (dired-insert-directory): Give a message the first time
10085 if ls is found not to support --dired.
10086
1d8c2ccc
LMI
100872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10088
10089 * simple.el (toggle-truncate-lines): Clarify what is toggled
10090 (bug#5580). Text by Drew Adams.
10091
5fc4038e
CY
100922011-07-13 Chong Yidong <cyd@stupidchicken.com>
10093
10094 * simple.el (blink-matching-open): Make the error message from the
10095 last change less verbose.
10096
bf6012e5
DN
100972011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10098
10099 * font-lock.el (font-lock-comment-face): Use the high contrast
10100 "yellow" color for font-lock-comment-face on low color terminals
10101 using a dark background color (bug#4221).
10102
343c3b5a
LMI
101032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104
7e9505c5
LMI
10105 * dired.el (dired-insert-set-properties): Make the doc string
10106 reflect what it does now (bug#5325).
10107
c26fdcf5
LMI
10108 * simple.el (blink-matching-open): Say that we were unable to find
10109 the match within the limit, if we're limited (bug#5122).
10110
bb388cc5
LMI
10111 * international/mule-cmds.el (prefer-coding-system): Add an
10112 example (bug#4869).
10113
343c3b5a
LMI
10114 * progmodes/etags.el (tags-search): Document `file-list-form'
10115 (bug#4731).
10116
2a517d45
LM
101172011-07-13 Lawrence Mitchell <wence@gmx.li>
10118
10119 * net/browse-url.el (browse-url-default-browser)
10120 (browse-url-browser-function): Make the default browser choice a
10121 bit more logical (bug#4300). Also clean up the doc string.
10122
b6c78ef2
JB
101232011-07-13 Juanma Barranquero <lekktu@gmail.com>
10124
10125 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10126 binary endings (bug#4440).
10127
1c4dd947
LMI
101282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10129
a2014063
LMI
10130 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10131 which can be pretty annoying (bug#8971).
10132
9c9c2d88
LMI
10133 * jka-compr.el (jka-compr-verbose): New variable, and use
10134 throughout (bug#8971).
10135
1c4dd947
LMI
10136 * info.el (Info-find-file): Fall back on the installation
10137 directory if we can't find the info node anywhere else.
10138
a1c9f41b
SO
101392011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10140
10141 * vc/vc.el (vc-revert-file):
10142 Don't set file time-stamp in the past. (Bug#5181)
10143
536f3d36
LMI
101442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10145
7152b011
LMI
10146 * files.el (after-find-file): Give a better error message when
10147 trying to find a symlink that points to a file that doesn't exist
10148 (bug#4398).
10149
536f3d36
LMI
10150 * progmodes/cc-vars.el: Remove (probably) misleading comment
10151 (bug#4396).
10152
460c0fba
JB
101532011-07-12 Johan Bockgård <bojohan@gnu.org>
10154
10155 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10156
7a6bda45
CY
101572011-07-12 Chong Yidong <cyd@stupidchicken.com>
10158
10159 * mouse-sel.el: Hack restoring functionality, while keeping
10160 compatibility with 2010-07-03 changes to mouse selection.
10161 (mouse-sel-primary-overlay): New var.
10162 (mouse-sel-selection-alist): Use it.
10163 (mouse-sel-mode): Doc fix; remove points that are default features
10164 of mouse.el.
10165
c79598ef
JB
101662011-07-12 Johan Bockgård <bojohan@gnu.org>
10167
10168 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10169 Fix previous fix (bug#2490).
10170
ff8be6ef
RW
101712011-07-12 Roland Winkler <winkler@gnu.org>
10172
b796c9b7
SM
10173 * textmodes/bibtex.el (bibtex-initialize):
10174 Use pop-to-buffer-same-window.
ff8be6ef
RW
10175 (bibtex-search-entries): Fix interactive call.
10176
296ba3ee
LMI
101772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10178
f5242a02 10179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10180 Fontise bytecomp Error lines more correctly (bug#2490).
10181 Fix suggested by Johan Bockgård.
f5242a02 10182
296ba3ee
LMI
10183 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10184
10185 * dired-x.el (dired-guess-default): Use `delete-dups'.
10186
f69fd0d2
CY
101872011-07-12 Chong Yidong <cyd@stupidchicken.com>
10188
10189 * dired.el (dired-mark-prompt):
10190 * dired-aux.el (dired-read-shell-command): Doc fix.
10191
eab5dc07
LMI
101922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10193
b796c9b7
SM
10194 * mail/sendmail.el (sendmail-query-once):
10195 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10196 emacs -Q.
10197
10198 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10199
eab5dc07
LMI
10200 * cus-edit.el (custom-file): Take an optional no-error variable.
10201 (customize-save-variable): Set the variable, and give a warning if
10202 running under "emacs -q".
10203
a1e65d42
JB
102042011-07-11 Juanma Barranquero <lekktu@gmail.com>
10205
10206 * loadhist.el (unload-feature-special-hooks):
10207 Add `auto-coding-functions', `fill-nobreak-predicate' and
10208 `find-directory-functions' (bug#5327).
10209
1d52da10
LMI
102102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10211
be958f1d
LMI
10212 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10213
5bedb26c
LMI
10214 * cus-edit.el (custom-guess-name-alist): -alist variables should
10215 use the `alist' type (bug#3120). Suggested by Drew Adams.
10216
1d52da10
LMI
10217 * printing.el: Add documentation to all the `pr-toggle-' commands.
10218
cd394be1 102192011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10220
10221 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10222 backends where it makes sense (bug#2623).
10223
dcc88d8a
LMI
102242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10225
c3de9feb
LMI
10226 * dired-x.el (dired-guess-default): Remove duplicate shell command
10227 entries (bug#2028).
8a93078b 10228 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10229 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10230
dcc88d8a
LMI
10231 * subr.el (remove-duplicates): New conveniency function.
10232
505e3645
LMI
102332011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10234
10235 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10236 (bug#1526).
10237
102382011-07-10 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (display-buffer-normalize-default): Don't invert
10241 meaning of even-window-heights. Reported by Eli Zaretskii
10242 <eliz@gnu.org>.
10243
455e4fa1
BR
102442011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10245
10246 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10247
8e0bc3e9
CY
102482011-07-10 Chong Yidong <cyd@stupidchicken.com>
10249
10250 * window.el (display-buffer): Fix arguments to
10251 display-buffer-reuse-window in last change.
10252
fa7c3228
CY
10253 * faces.el (link): Use a less saturated blue on light backgrounds.
10254
10255 * startup.el (fancy-startup-text, fancy-about-text)
10256 (fancy-startup-tail): Use font-lock faces, for background safety.
10257
c0a7f300
BN
102582011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10259
b796c9b7
SM
10260 * emulation/viper-cmd.el (viper-change-state-to-vi):
10261 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10262
4dc2a129
MR
102632011-07-09 Martin Rudalics <rudalics@gmx.at>
10264
10265 * window.el (display-buffer-default-specifiers): Remove.
10266 (display-buffer-macro-specifiers): Remove default specifiers.
10267 (display-buffer-alist): Default to nil.
b796c9b7 10268 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10269 (display-buffer-pop-up-window): Allow splitting internal
10270 windows. Check whether a live window was created.
10271 (display-buffer-other-window-means-other-frame)
10272 (display-buffer-normalize-arguments): Rename to
10273 display-buffer-normalize-argument and rewrite. Set the
10274 other-window specifier.
10275 (display-buffer-normalize-special): New function.
10276 (display-buffer-normalize-options): Rename to
10277 display-buffer-normalize-default and rewrite.
10278 (display-buffer-normalize-options-inhibit): Remove.
10279 (display-buffer-normalize-specifiers): Rewrite.
10280 (display-buffer): Process other-window specifier and call
10281 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10282 more faithfully.
b796c9b7 10283 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10284 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10285 (display-buffer-in-window, display-buffer-alist-set):
10286 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10287 <tassilo@member.fsf.org>.
10288
2d43b8c9
LL
102892011-07-09 Leo Liu <sdl.web@gmail.com>
10290
10291 * register.el (insert-register): Restore accidental change on
10292 2011-06-26. (Bug#9028)
10293
7f9b7c53
GM
102942011-07-09 Glenn Morris <rgm@gnu.org>
10295
10296 * subr.el (remq): Handle the empty list. (Bug#9024)
10297
f042cfd8
AS
102982011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10299
10300 * mail/sendmail.el (send-mail-function): No longer delay custom
10301 initialization.
10302 * custom.el (custom-initialize-delay): Doc fix.
10303
856b2f11
SM
103042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10307
afae1d68
MA
103082011-07-08 Michael Albinus <michael.albinus@gmx.de>
10309
10310 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10311 human-friendly prompt.
10312
0757af94
SM
103132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10316 provided by a particular plugin.
10317
d760b731
LMI
103182011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10319
10320 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10321 save customizations (with "emacs -Q"), just set the variable
10322 instead of erroring out.
10323
10324 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10325
cd79ce90
JL
103262011-07-08 Juri Linkov <juri@jurta.org>
10327
10328 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10329 (archive-zip-update-case): Use 7z if found by `executable-find'.
10330 The order of searching the available programs is the same as in
10331 `archive-zip-extract' (bug#8968).
10332
14cc04aa
CY
103332011-07-07 Chong Yidong <cyd@stupidchicken.com>
10334
10335 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10336 (menu-bar-options-menu): Tweak descriptions.
10337
0a1848ec
LMI
103382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10339
10340 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10341 menu items into verb phrases (bug#1421). Also refill to fit under
10342 80 columns.
10343
f5bd0689
CY
103442011-07-07 Chong Yidong <cyd@stupidchicken.com>
10345
538e85c6
CY
10346 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10347 (Info-read-node-name): Doc fix (Bug#1084).
10348
f5bd0689
CY
10349 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10350 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10351 (end-of-sexp, beginning-of-sexp)
10352 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10353 (forward-symbol, forward-same-syntax, word-at-point)
10354 (sentence-at-point): Doc fix (Bug#1144).
10355
56ec5115
LMI
103562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10357
f3f8e37f
LMI
10358 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10359 should cover it (bug#1281).
10360
0757af94 10361 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10362
e9fce1ac 10363 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10364 negotiation fails, then possibly try again with a non-encrypted
10365 connection (bug#9017).
10366
56ec5115
LMI
10367 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10368 be used.
10369
c2f9aec8
RS
103702011-07-07 Richard Stallman <rms@gnu.org>
10371
10372 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10373 property, and handle its changed format.
10374 Look for the correct line number.
10375 Use file's line contents (but not past first =) to find
10376 correct line in message.
10377
ef7b981d 103782011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10379
10380 * international/characters.el (build-unicode-category-table):
10381 Delete it.
0757af94 10382 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10383
0757af94 10384 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10385 to src/chartab.c.
10386 (get-char-code-property): Call unicode-property-table-internal to
10387 load a file. Call get-unicode-property-internal where necessary.
10388 (put-char-code-property): Call unicode-property-table-internal to
10389 load a file. Call put-unicode-property-internal where necessary.
10390 put-unicode-property-internal where necessary.
0757af94
SM
10391 (char-code-property-description):
10392 Call unicode-property-table-internal to load a file.
c805dec0
KH
10393
10394 * international/charprop.el:
10395 * international/uni-bidi.el:
10396 * international/uni-category.el:
10397 * international/uni-combining.el:
10398 * international/uni-comment.el:
10399 * international/uni-decimal.el:
10400 * international/uni-decomposition.el:
10401 * international/uni-digit.el:
10402 * international/uni-lowercase.el:
10403 * international/uni-mirrored.el:
10404 * international/uni-name.el:
10405 * international/uni-numeric.el:
10406 * international/uni-old-name.el:
10407 * international/uni-titlecase.el:
10408 * international/uni-uppercase.el: Regenerate.
10409
10410 * loadup.el: Load international/charprop.el before
10411 international/characters.
10412
e14b388a
CY
104132011-07-07 Chong Yidong <cyd@stupidchicken.com>
10414
10415 * window.el (next-buffer, previous-buffer): Signal an error if
10416 called from a minibuffer window.
10417
10418 * bindings.el: Revert 2011-07-04 change.
10419
354cf0ba
RS
104202011-07-06 Richard Stallman <rms@gnu.org>
10421
10422 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10423 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10424 Treat markers like ints.
10425 (rmail-mime-entity): Doc fix.
10426
a48868a7
LMI
104272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10428
4906cd3d
LMI
10429 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10430 defcustom again for backwards compatibility.
10431
e0457abe
LMI
10432 * simple.el (shell-command-on-region): Fill.
10433
d67f7e1f
LMI
10434 * dired-aux.el (dired-kill-line): Add a doc string.
10435
fe204702
LMI
10436 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10437 to "\\sw\\|\\s_" (bug#358).
10438
a48868a7
LMI
10439 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10440 (dired-unmark-backward): Ditto.
10441 (dired-flag-backup-files): Ditto.
10442
10443 * dired-x.el (dired-mark-sexp): Ditto.
10444
aa8a705c
RS
104452011-07-06 Richard Stallman <rms@gnu.org>
10446
10447 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10448 (rmail-mime-entity): New arg TRUNCATED.
10449 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10450 New functions.
10451 (rmail-mime-save): Warn if entity is truncated.
10452 (rmail-mime-toggle-hidden): Likewise, for showing.
10453 (rmail-mime-process-multipart): Record when an entity is truncated.
10454
a9a936b9
RS
10455 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10456 if ENTITY is a string.
10457
1f2b92cb
LMI
104582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10459
f4f73198 10460 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10461 of faces when `M-C-x'-ing their definitions (bug#8378).
10462 Also clean up the code slightly.
f4f73198 10463
12b16734 10464 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10465 because that makes the colors go away.
12b16734 10466
f0691d22
LMI
10467 * mail/sendmail.el (send-mail-function): Change the default to
10468 `sendmail-query-once'.
9e87df06 10469 (sendmail-query-once): Add an autoload cookie.
f0691d22 10470
1f2b92cb
LMI
10471 * net/network-stream.el (network-stream-open-starttls): Try using
10472 a plain connection even if the server offered STARTTLS, and we
10473 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10474 capability. This should make smtpmail.el work in slightly more
10475 configurations.
10476
1cdd2a1b
MA
104772011-07-06 Michael Albinus <michael.albinus@gmx.de>
10478
10479 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10480 New defun.
10481 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10482
fbcc67e2
MM
104832011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10484
10485 * progmodes/sql.el: Version 3.0
0757af94 10486 (sql-product-alist): Add product :completion-object,
fbcc67e2 10487 :completion-column, and :statement attributes.
0757af94 10488 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10489 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10490 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10491 ansi keywords.
10492 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10493 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10494 (sql-oracle-show-reserved-words): New function for development.
10495 (sql-product-font-lock): Simplify for source code buffers.
10496 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10497 New functions.
10498 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10499 (sql-mode-map): Add statement movement functions.
10500 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10501 New variable.
fbcc67e2
MM
10502 (sql-statement-regexp, sql-beginning-of-statement)
10503 (sql-end-of-statement, sql-signum): New functions.
0757af94 10504 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10505 (sql-show-sqli-buffer): Bug fix.
10506 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10507 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10508 with sql-interactive-mode.
10509 (sql-save-connection): Save buffer local settings.
0757af94 10510 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10511 (sql-product-interactive): Bug fix.
10512 (sql-preoutput-hold): New variable.
10513 (sql-interactive-remove-continuation-prompt): Bug fixes.
10514 (sql-debug-redirect): New variable.
10515 (sql-str-literal): New function.
10516 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10517 Redesign.
fbcc67e2
MM
10518 (sql-oracle-save-settings, sql-oracle-restore-settings)
10519 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10520 (sql-completion-object, sql-completion-column)
10521 (sql-completion-sqlbuf): New variables.
10522 (sql-build-completions-1, sql-build-completions)
10523 (sql-try-completion): New functions.
10524 (sql-read-table-name): Use them.
10525 (sql-contains-names): New buffer local variable.
10526 (sql-list-all, sql-list-table): Use it.
10527 (sql-oracle-completion-types): New variable.
10528 (sql-oracle-completion-object, sql-sqlite-completion-object)
10529 (sql-postgres-completion-object): New functions.
10530
d4eaeab1
GM
105312011-07-06 Glenn Morris <rgm@gnu.org>
10532
10533 * window.el (pop-to-buffer): Doc fix.
10534
322b7dab 105352011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10536
10537 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10538
322b7dab 105392011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10540
322b7dab 10541 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10542
322b7dab 10543 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10544
605dd5bf
CY
105452011-07-05 Chong Yidong <cyd@stupidchicken.com>
10546
10547 * button.el (button): Inherit from link face. Suggested by Dan
10548 Nicolaescu.
10549
7dbfa719
SM
105502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10551
3db614b0
SM
10552 * progmodes/gdb-mi.el: Fit in 80 columns.
10553 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10554 switch-to-buffer.
10555
7dbfa719
SM
10556 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10557 if imenu is simply not configured (bug#8941).
10558
919d884a
KM
105592011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10560
10561 * allout.el (allout-post-undo-hook): New allout outline-change
10562 event hook to signal undo activity.
10563 (allout-post-command-business): Run allout-post-undo-hook if an
10564 undo just occurred.
7dbfa719
SM
10565 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10566 * allout-widgets.el (allout-widgets-after-undo-function):
10567 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10568 in the vicinity of an undo.
10569 (allout-widgets-mode): Include allout-widgets-after-undo-function
10570 on the new allout-post-undo-hook.
10571
450a0f09
SM
105722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10575 Let define-derived-mode define it.
10576 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10577 cycles of abbrev-table inheritance (bug#8998).
10578
2de69e00
RW
105792011-07-05 Roland Winkler <winkler@gnu.org>
10580
10581 * textmodes/bibtex.el: Add support for biblatex.
10582 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10583 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10584 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10585 (bibtex-entry-alist, bibtex-field-alist): New variables.
10586 (bibtex-entry-field-alist): Obsolete alias for
10587 bibtex-BibTeX-entry-alist.
10588 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10589 (bibtex-set-dialect): New command.
10590 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10591 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10592 Bind via bibtex-set-dialect.
2de69e00
RW
10593 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10594 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10595 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10596 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10597 Define via bibtex-set-dialect.
450a0f09
SM
10598 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10599 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10600 (bibtex-vec-push, bibtex-vec-incr): New functions.
10601 (bibtex-format-entry, bibtex-field-list)
10602 (bibtex-print-help-message, bibtex-validate)
10603 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10604
2dcdbdd9
SM
106052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * progmodes/compile.el (compilation-goto-locus):
10608 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10609 * bs.el (bs-cycle-next, bs-cycle-previous):
10610 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10611 * bindings.el (mode-line-other-buffer):
10612 * autoinsert.el (auto-insert):
10613 * arc-mode.el (archive-extract):
10614 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10615
b27640fe
JB
106162011-07-05 Juanma Barranquero <lekktu@gmail.com>
10617
10618 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10619 Fix check of `emacs-lock-unlockable-modes'.
10620 Coerce true values of `emacs-lock--try-unlocking' to t.
10621
53bbe3ad
JB
106222011-07-05 Juanma Barranquero <lekktu@gmail.com>
10623
10624 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10625 * emacs-lock.el: New file.
10626
1d3cdbc7
JD
106272011-07-05 Julien Danjou <julien@danjou.info>
10628
10629 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10630 than `boundp' to check if face is set.
10631
9173deec
JB
106322011-07-05 Juanma Barranquero <lekktu@gmail.com>
10633
10634 * register.el (registerv-make):
10635 * window.el (window-min-height): Fix typos in docstrings.
10636
869795d6
JD
106372011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10638
9173deec 10639 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10640 Update doc string.
10641
b768cdcd
JB
106422011-07-04 Juanma Barranquero <lekktu@gmail.com>
10643
10644 * server.el (server-execute): Catch quit and call
10645 `server-return-error' to pass the error back to emacsclient and
10646 close the connection (bug#8942).
10647
13aa217b
KM
106482011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10649
10650 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10651 insecure exception for current topic. Also note that auto-saves
10652 are handled differently.
10653
5d3385a0 10654 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10655 State variables for tracking auto-save inhibition situation.
10656
10657 (allout-write-contents-hook-handler): Rename from
10658 'allout-write-file-hook-handler', and describe how it depends on
10659 write-contents-functions sensitivity to non-nil value to prevent
10660 file write.
10661
10662 (allout-auto-save-hook-handler): Remove. auto-save does not check
10663 this in individual buffers, only in the starting buffer, so this
10664 is not the right way for us to inhibit auto-save in a buffer
10665 according to its condition.
10666
10667 (allout-mode): Use new allout-write-contents-hook-handler, and
10668 only with write-contents-functions. Remove auto-save provisions -
10669 they're implemented elsewhere.
10670
10671 (allout-before-change-handler): If undo is in progress, note that
10672 for attention of allout-post-command-business.
10673
10674 (allout-post-command-business): If the command we're following was
10675 an undo, check for change in the status of encrypted items and
10676 adjust auto-save inhibitions accordingly.
10677
10678 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10679 according to whether there are or aren't any plain-text topics
10680 pending encryption.
10681
2dcdbdd9 10682 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10683 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10684 if there are plain-text topics pending encryption.
13aa217b
KM
10685
10686 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10687 buffer-saved-size and some allout state to not inhibit auto-saves
10688 if there are no longer any plain-text topics pending encryption.
10689
0757af94
SM
10690 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10691 No longer provide for exemption of the current topic.
13aa217b 10692
ac89b32c
JL
106932011-07-04 Juri Linkov <juri@jurta.org>
10694
10695 Add 7z operations to delete and save changed members (bug#8968).
10696 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10697 New defcustoms.
10698 (archive-7z-write-file-member): New function.
10699 (archive-7z-summarize): Fix the number of dashes in the
10700 listing output.
10701
8fa39615
SM
107022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10705 (bug#8958).
10706
2f11b3f1
CY
107072011-07-04 Chong Yidong <cyd@stupidchicken.com>
10708
d66fef2b
CY
10709 * bindings.el: Ignore next-buffer and previous-buffer in
10710 minibuffer-local-map.
10711
2f11b3f1
CY
10712 * font-lock.el (font-lock-builtin-face): Change light background
10713 color to dark slate blue (Bug#6693).
10714
f932a347
WD
107152011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10716
10717 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10718
c8af70e1
SM
107192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10722 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10723 Add switch-to-buffer.
10724
f158badc
LMI
107252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10726
10727 * isearch.el (isearch-search-fun-function): Clarify further the
10728 meaning of the function returned.
10729
6d95bd46
MA
107302011-07-04 Michael Albinus <michael.albinus@gmx.de>
10731
10732 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10733
10734 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10735 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10736 Use it.
10737 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10738 `tramp-default-remote-path' does not exist.
10739 (tramp-send-command-and-read): New optional argument NOERROR.
10740 (tramp-open-connection-setup-interactive-shell)
10741 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10742 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10743 (tramp-process-sentinel): Flush also process' connection property.
10744 (tramp-sh-handle-start-file-process): Do not set process
10745 sentinel. It is done now ...
10746 (tramp-maybe-open-connection): ... here. (Bug#8929)
10747
909e6b67
MK
107482011-07-04 MON KEY <monkey@sandpframing.com>
10749
10750 * play/animate.el (animate-string): Doc fixes and allow changing
10751 the buffer name (bug#5417).
10752
107532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10754
c8af70e1 10755 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10756
f34755dc
PE
107572011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10758
396cec72
PE
10759 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10760 This is simpler and helps future-proof the code.
10761 (timer-until): Use time-subtract and float-time.
08235028 10762 (timer--time-less-p): Use time-less-p.
f34755dc 10763
56e6cc31
JB
107642011-07-04 Juanma Barranquero <lekktu@gmail.com>
10765
3abb79e5
JB
10766 * type-break.el (timep): Use the value of `float-time' to avoid a
10767 byte-compiler warning.
10768
56e6cc31
JB
10769 * server.el (server-eval-and-print): Return any result, even nil.
10770
7b9430b4
PE
107712011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10772
10773 * type-break.el: Accept time formats that the builtins accept.
10774 (timep, type-break-time-difference): Accept any format that
10775 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10776 This is simpler and helps future-proof the code.
10777 (type-break-time-difference): Round rather than ignoring
10778 subseconds components.
10779
3034e9e7
LMI
107802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10781
10782 * info.el (Info-apropos-matches): Make non-interactive, since it
10783 doesn't seem to do anything useful as a command (bug#8829).
10784
1485f4c0
CY
107852011-07-03 Chong Yidong <cyd@stupidchicken.com>
10786
10787 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10788 Move from faces.el.
1485f4c0
CY
10789 (frame-default-terminal-background): New function.
10790
10791 * custom.el (custom-push-theme): Don't record faces in `changed'
10792 theme; this doesn't work correctly for per-frame face settings.
10793 (disable-theme): Use face-set-after-frame-default to reset faces.
10794 (custom--frame-color-default): New function.
10795
9fa3dd45
LMI
107962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10797
c8af70e1 10798 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10799 (bug#8769).
10800
6cbbc20c
KR
108012011-03-29 Kevin Ryde <user42@zip.com.au>
10802
10803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10804 `perl-Test2' extend to match possible "fail #N" rep count
10805 (bug#8377).
10806
c7f98048
LMI
108072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10808
65676592
LMI
10809 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10810 `smtpmail-via-smtp' now returns the error instead of nil.
10811
c7f98048
LMI
10812 * isearch.el (isearch-search-fun-function): Clarify the doc string
10813 (bug#8101).
10814
56e6cc31 108152011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10816
10817 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10818 unnecessary spaces (bug#8987).
10819
2b216704
LMI
108202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10821
10822 * net/network-stream.el (open-network-stream): Use the
10823 :end-of-capability command thoughout.
10824
108252011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10826
10827 * net/network-stream.el (open-network-stream): Add the
10828 :end-of-capability command parameter, used by pop3.el.
10829
36adf6ce
LMI
108302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10831
1ca0da0e
LMI
10832 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10833
fc00f69c
LMI
10834 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10835 for list)" (bug#6475).
10836
28fd8759 10837 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10838 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10839 an error (bug#6297).
10840
0dd8b6da
LMI
10841 * man.el (Man-reference-regexp): Allow matching possible
10842 word-wrapped references (bug#6289).
10843
ce1438d6
LMI
10844 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10845 for consistency with the other vc buffers (bug#6197).
10846 (vc-checkin): Ditto.
10847
10848 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10849
36adf6ce
LMI
10850 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10851
e83cc1f7
LMI
108522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10853
8a20ca4c
LMI
10854 * custom.el (defcustom): Clarify that :set is only used in the
10855 Customize user interface (bug#6089).
10856
83319045
LMI
10857 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10858 associated with a file, refuse to run instead of erroring out
10859 (bug#6084).
10860
a8392169
LMI
10861 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10862 the doc string, since it appears that using `fill-column' always
10863 controls the width (bug#7845).
10864
e83cc1f7
LMI
10865 * simple.el (shell-command-on-region): Say where the error output
10866 went if `shell-command-default-error-buffer' is set (bug#6857).
10867
e47ca23b
KM
108682011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10869
10870 * allout.el (allout-yank-processing): Adjust cursor position for
10871 backwards-deleted space.
10872
10873 (allout-rebullet-heading): Register changes with
10874 allout-exposure-changed-hook, so the modified topic is properly
10875 decorated.
10876
5cf56143
LMI
108772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10878
08549772
LMI
10879 * minibuffer.el (completion-in-region): Document PREDICATE
10880 (bug#7136).
10881
48e96771
LMI
10882 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10883 of keyword/argument pairs (bug#6904).
10884
c8af70e1
SM
10885 * replace.el (multi-occur):
10886 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10887
e17d05e2
LMI
108882011-07-02 Drew Adams <drew.adams@oracle.com>
10889
10890 * dired.el (dired-mark-if): Make the message about whether it's
10891 marking or unmarking clearer (bug#8523).
10892
063b0e45
LMI
108932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10894
10895 * disp-table.el (display-table-print-array): New function.
10896 (describe-display-table): Use it to print the vectors more pretty
10897 (Bug#8859).
10898
28545e04
MR
108992011-07-02 Martin Rudalics <rudalics@gmx.at>
10900
10901 * window.el (window-state-get-1): Don't assign clone numbers.
10902 Add clone-of item to list of window parameters.
10903 (window-state-put-2): Don't process clone numbers.
10904 (display-buffer-alist): Fix doc-string.
10905
3349e122
SM
109062011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * subr.el (remq): Don't allocate if it's not needed.
10909 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10910 (keymap--merge-bindings): New functions.
10911 (keymap-canonicalize): Use them to refine the canonicalization.
10912 * minibuffer.el (minibuffer-local-completion-map)
10913 (minibuffer-local-must-match-map): Move initialization from C.
10914 (minibuffer-local-filename-completion-map): Move initialization from C;
10915 don't inherit from anything here.
10916 (minibuffer-local-filename-must-match-map): Make obsolete.
10917 (completing-read-default): Use make-composed-keymap to combine
10918 minibuffer-local-filename-completion-map with either
10919 minibuffer-local-must-match-map or
10920 minibuffer-local-filename-completion-map.
10921
d224ac83
GM
109222011-07-01 Glenn Morris <rgm@gnu.org>
10923
3de63bf8
GM
10924 * type-break.el (type-break-time-sum): Use dolist.
10925
d224ac83
GM
10926 * textmodes/flyspell.el (flyspell-word-search-backward):
10927 Replace CL function.
10928
1a1e3f32
SM
109292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10930
fe3f64d5
SM
10931 * mouse.el (mouse--strip-first-event): New function.
10932 (function-key-map): Use it to map fringe clicks to normal clicks
10933 by default.
10934
eb604e34
SM
10935 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10936 (vc-bzr-revision-completion-table): Add support for annotate and date.
10937
1a1e3f32
SM
10938 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10939 inherit from parent.
10940
5bd35902
LMI
109412011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
ace6c69c 10943 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10944 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10945
191e2bed
LMI
10946 * dired.el (dired-mode): Fix up the doc string as suggested by
10947 Drew Adams (bug#8817).
10948
5bd35902
LMI
10949 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10950 cookie, since the manual says that it should be possible to add
10951 this function to `find-file-hook' (bug#8709).
10952
eee8207a
TZ
109532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10954
10955 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10956 here. Noted Ted Zlatanov as the maintainer.
10957 (cfengine-common-settings, cfengine-common-syntax): New functions
10958 to set up common things between `cfengine-mode' and
10959 `cfengine3-mode'.
10960 (cfengine3-mode): New mode.
10961 (cfengine3-defuns cfengine3-defuns-regex
10962 (cfengine3-class-selector-regex cfengine3-category-regex)
10963 (cfengine3-vartypes cfengine3-font-lock-keywords)
10964 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10965 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10966
36b148cf
MA
109672011-07-01 Michael Albinus <michael.albinus@gmx.de>
10968
10969 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10970
10971 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10972
0bf4ba9a
MR
109732011-07-01 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (same-window-buffer-names, same-window-regexps)
10976 (same-window-p, special-display-frame-alist)
10977 (special-display-popup-frame, special-display-function)
10978 (special-display-buffer-names, special-display-regexps)
10979 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10980 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10981 (split-window-preferred-function, split-height-threshold)
10982 (split-width-threshold, even-window-heights)
10983 (display-buffer-mark-dedicated, window-splittable-p)
10984 (split-window-sensibly, window-safely-shrinkable-p):
10985 Un-obsolete.
10986 (display-buffer): Don't spread args with function specifier
10987 because special-display-popup-frame won't like it.
10988
35837f51
PE
109892011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10990
d0672f86
PE
10991 Time-stamp simplifications and fixes.
10992 These improve accuracy slightly, and future-proof the code
10993 against some potential changes to current-time format.
10994
b9444d97
PE
10995 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10996 by using time-since and float-time.
10997
0ef923dc
PE
10998 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10999 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11000 + NNN microseconds".
11001
2f81380d
PE
11002 * type-break.el (type-break-time-sum): Rewrite using time-add.
11003
845b5c3e
PE
11004 * play/hanoi.el (hanoi-current-time-float): Remove.
11005 All uses replaced by float-time.
11006
ee6f1be0
PE
11007 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11008 This yields a more-accurate answer.
11009 (rng-time-to-float): Remove; no longer needed.
11010
fe955043
PE
11011 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11012
5777162a
PE
11013 * calendar/timeclock.el (timeclock-seconds-to-time):
11014 Defalias to seconds-to-time, since they're the same thing.
11015
3103f8b6 11016 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11017 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11018 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11019
0e61a35f
SM
110202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * window.el (bury-buffer): Don't iconify the only frame.
11023 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11024 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11025
ddd63a1e
CY
110262011-07-01 Chong Yidong <cyd@stupidchicken.com>
11027
0e61a35f
SM
11028 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11029 Add mouse-yank-primary.
ddd63a1e 11030
055f4923
TZ
110312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11032
11033 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11034
6a2fb145
SM
110352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11038 (find-library-name): Use it to find relative load names when provided
11039 absolute file name (bug#8803).
11040
fd4983f2
LMI
110412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11042
887d14ad
LMI
11043 * textmodes/flyspell.el (flyspell-word): Consider words that
11044 differ only in case as potential doublons (bug#5687).
11045
c53dc7fc
LMI
11046 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11047 Remove two rather uninteresting debugging-like messages to make
11048 debbugs.el more silent.
11049
fd4983f2
LMI
11050 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11051 a password-like phrase.
11052
7a71b18d 110532011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11054
11055 * progmodes/cc-guess.el: New file.
11056
6a2fb145 11057 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11058
11059 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11060 derived from `c-basic-common-init'.
11061
11062 * progmodes/cc-mode.el (top-level): Require cc-guess.
11063 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11064
1fa280a3
LM
110652011-06-30 Lawrence Mitchell <wence@gmx.li>
11066
11067 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11068
e6597158
AM
110692011-06-30 Alan Mackenzie <acm@muc.de>
11070
1fa280a3
LM
11071 * progmodes/cc-engine.el (c-guess-continued-construct):
11072 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11073 lock is disabled. Name this case as "CASE G".
11074
68ba37fb
KM
110752011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11076
11077 * allout.el (allout-yank-processing): Fix injection of extra space
11078 between bullet and non-whitespace character in first topic when
11079 pasting, ensuring that the actual spacing in the pasted topic
11080 following the bullet char is preserved. This extra space was
11081 causing pasted encrypted topics to get a decrypted status even
11082 when the content was actually still encrypted. Now the decryption
11083 status from before the paste is preserved.
11084
11085 (allout-flag-region): Set all allout overlays so they evaporate
11086 when reduced to zero length (evanescent), to prevent overlay
11087 leakage.
11088
887a0b34
GM
110892011-06-30 Glenn Morris <rgm@gnu.org>
11090
94b9acce
GM
11091 * w32-fns.el (w32-charset-info-alist): Declare.
11092
1d9b46d4
GM
11093 * find-dired.el (find-grep-options): Simplify.
11094
cc232200
GM
11095 * term/ns-win.el (ns-set-resource): Declare.
11096
28e77c46
GM
11097 * ses.el (row, col): Declare dynamic variables honestly.
11098
887a0b34
GM
11099 * textmodes/reftex-parse.el (index-tags): Declare.
11100
658d8eb8
CY
111012011-06-30 Chong Yidong <cyd@stupidchicken.com>
11102
11103 * cus-edit.el (customize-push-and-save): New function.
11104
11105 * files.el (hack-local-variables-confirm): Use it.
11106
1fa280a3
LM
11107 * custom.el (load-theme): New arg NO-CONFIRM.
11108 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11109 (custom-enabled-themes): Doc fix.
11110
11111 * cus-theme.el (customize-create-theme)
11112 (custom-theme-merge-theme): Callers to load-theme changed.
11113
bb617717
LMI
111142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11115
d61bdd5d
LMI
11116 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11117 short URLs have at least one dot in them (bug #7614).
11118
bb617717
LMI
11119 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11120 nil, because using a pty is apparently too slow (bug #895).
11121
2f31f37a
LMI
111222011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11123
11124 * mail/sendmail.el (sendmail-query-once): New function.
11125 (sendmail-query-once-function): New variable.
11126
3076b24e
GM
111272011-06-29 Glenn Morris <rgm@gnu.org>
11128
faf2a174
GM
11129 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11130
3076b24e
GM
11131 * ses.el (top-level): Require cl when compiling.
11132 (ses-set-localvars): Fix error statement.
11133 Call it at compile time to silence a storm of warnings.
11134
5386012d
MR
111352011-06-29 Martin Rudalics <rudalics@gmx.at>
11136
11137 * window.el (normalize-live-buffer): Rename to
11138 window-normalize-buffer.
11139 (normalize-live-frame): Rename to window-normalize-frame.
11140 (normalize-any-window): Rename to window-normalize-any-window.
11141 (normalize-live-window): Rename to window-normalize-live-window.
11142 (make-window-atom): Rename to window-make-atom.
11143 (window-resize-reset): Rename to window--resize-reset.
11144 (window-resize-reset-1): Rename to window--resize-reset-1.
11145 (resize-mini-window): Rename to window--resize-mini-window.
11146 (resize-subwindows-skip-p): Rename to
11147 window--resize-subwindows-skip-p.
11148 (resize-subwindows-normal): Rename to
11149 window--resize-subwindows-normal.
11150 (resize-subwindows): Rename to window--resize-subwindows.
11151 (resize-other-windows): Rename to window--resize-siblings.
11152 (resize-this-window): Rename to window--resize-this-window.
11153 (resize-root-window): Rename to window--resize-root-window.
11154 (resize-root-window-vertically): Rename to
11155 window--resize-root-window-vertically.
11156 (normalize-buffer-to-display): Rename to
11157 window-normalize-buffer-to-display.
11158 (normalize-buffer-to-switch-to): Rename to
11159 window-normalize-buffer-to-switch-to.
11160 Correspondingly update all callers of the functions listed
11161 above.
11162 (display-buffer-alist, display-buffer-normalize-arguments)
11163 (display-buffer-normalize-options, display-buffer)
11164 (display-buffer-alist-set): Use "function" instead of
11165 "fun-with-args".
11166
1176868d
CY
111672011-06-28 Chong Yidong <cyd@stupidchicken.com>
11168
11169 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11170 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11171 debbugs.gnu.org. Mention acknowledgment email.
11172
20a7a65f
LMI
111732011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11174
11175 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11176 buffer multibyteness, since it shouldn't matter.
11177
5f45cca5
MR
111782011-06-28 Martin Rudalics <rudalics@gmx.at>
11179
11180 * window.el (display-buffer-in-side-window): Handle dedicated
11181 windows as in display-buffer-reuse-window.
11182 (display-buffer-normalize-alist): Use value of override
11183 specifier.
11184 (display-buffer-normalize-specifiers): Use value of
11185 other-window-means-other-frame specifier.
11186 (display-buffer-alist): Rewrite some texts in widgets.
11187 (display-buffer): Spread arguments when calling function
11188 specified by fun-with-args.
11189
ad85fe1f
DD
111902011-06-28 Deniz Dogan <deniz@dogan.se>
11191
1fa280a3
LM
11192 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11193 Unnest `let'.
da68c4c8 11194
ad85fe1f
DD
11195 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11196 selectors (Bug#5732).
ec49bd31 11197 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11198
a08cc025
JA
111992011-06-27 Jari Aalto <jari.aalto@cante.net>
11200
11201 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11202 (eshell-ls-date-format): New defcustom.
11203 (eshell-ls-file): Use it.
11204
e2b551c5
SM
112052011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11208
8982b231
KY
112092011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11210
11211 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11212 (ange-ftp-make-tmp-name): New arg.
11213 (ange-ftp-file-local-copy): Use it.
11214
36c9fa27
J
112152011-06-27 Jambunathan K <kjambunathan@gmail.com>
11216
11217 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11218 no-conversion (Bug#8870).
11219
d68443dc
MR
112202011-06-27 Martin Rudalics <rudalics@gmx.at>
11221
11222 * window.el (window-right, window-left, window-child)
11223 (window-child-count, window-last-child)
11224 (window-iso-combination-p, walk-window-tree-1)
11225 (window-atom-check-1, window-tree-1, delete-window)
11226 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11227 new naming conventions - window-vchild, window-hchild,
11228 window-next and window-prev are now called window-top-child,
11229 window-left-child, window-next-sibling and window-prev-sibling
11230 respectively.
d615d6d2
MR
11231 (resize-window-reset): Rename to window-resize-reset.
11232 (resize-window-reset-1): Rename to window-resize-reset-1.
11233 (resize-window): Rename to window-resize.
11234 (window-min-height, window-min-width)
11235 (resize-mini-window, resize-this-window, resize-root-window)
11236 (resize-root-window-vertically, adjust-window-trailing-edge)
11237 (enlarge-window, shrink-window, maximize-window)
11238 (minimize-window, delete-window, quit-restore-window)
11239 (split-window, balance-windows, balance-windows-area-adjust)
11240 (balance-windows-area, window-state-put-2)
11241 (display-buffer-even-window-sizes, display-buffer-set-height)
11242 (display-buffer-set-width, set-window-text-height)
11243 (fit-window-to-buffer): Rename all "resize-window" prefixed
11244 calls to use the "window-resize" prefix convention.
11245 (display-buffer-alist): Fix symbol for label specifier.
11246 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11247 corresponding specifier.
11248 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11249
b6458526
VB
112502011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11251
11252 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11253 convention.
11254 (ses-call-printer): Does not pass an empty string to formatter when the
11255 cell is empty to keep from barking printer Calc math-format-value.
11256
d31fd9ac
RS
112572011-06-27 Richard Stallman <rms@gnu.org>
11258
43d5bf84
RS
11259 * battery.el (battery-mode-line-limit): New variable.
11260 (battery-update): Handle it.
11261
d31fd9ac
RS
11262 * mail/rmailmm.el (rmail-mime-process-multipart):
11263 Handle truncated messages.
11264
819a6054
GM
112652011-06-27 Glenn Morris <rgm@gnu.org>
11266
11267 * progmodes/flymake.el (flymake-err-line-patterns):
11268 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11269
cedc73f2
VB
112702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11271
819a6054 11272 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11273 (ses--clean-!, ses--clean-_): New functions.
11274 (ses-range): Add configurability of readout order, and conversion
11275 to Calc vector.
11276
5e5d49b6
VB
11277 * ses.el (ses-repair-cell-reference-all): New function.
11278 (ses-cell-symbol): Set macro as safe, so that it can be used in
11279 formulas.
11280
56e6cc31 11281 * ses.el: Update cycle detection algorithm.
90ca8b49 11282 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11283 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11284 (ses-set-localvars): New function.
11285 (ses-make-cell): Add property-list as a cell element.
11286 (ses-cell-property-get-fun, ses-cell-property-get)
11287 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11288 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11289 New functions.
90ca8b49
VB
11290 (ses-cell-property-set, ses-cell-property-pop)
11291 (ses-cell-property-get-handle): New macro.
11292 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11293 New aliases, used for code readability.
11294 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11295 cycle detection.
11296 (ses-self-reference-early-detection): New defcustom.
fac916bf 11297 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11298 (ses-mode): Use ses-set-localvars.
11299 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11300 before lauching the update processing.
11301 (ses-initialize-Dijkstra-attempt): New function.
11302 (ses-recalculate-cell): Update for cycle detection based on
11303 Dijkstra algorithm.
11304
2bb63e81
VB
11305 * ses.el: Fix commenting and indenting convention.
11306
c9d29fb8
SM
113072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11308
11309 * bs.el (bs-cycle-next): Complete last change.
11310
d8e4b68b
JB
113112011-06-27 Drew Adams <drew.adams@oracle.com>
11312
11313 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11314
40098786
LMI
113152011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11316
c9d29fb8
SM
11317 * net/network-stream.el (network-stream-open-starttls):
11318 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11319 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11320
40098786
LMI
11321 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11322 to binary to possibly avoid line encoding issues on Windows (among
11323 other things).
11324
468d09d4
LMI
113252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326
11327 * net/network-stream.el (open-network-stream): Return an :error
11328 saying what the problem was, if possible.
11329
11330 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11331 server.
11332
11333 * net/network-stream.el (network-stream-open-starttls): If we
11334 wanted to use STARTTLS, and the server offered it, but we weren't
11335 able to because we had no STARTTLS support, then close the connection.
11336 (open-network-stream): Return an :error element, if present.
11337
16f07dd7
CY
113382011-06-26 Chong Yidong <cyd@stupidchicken.com>
11339
88821ca0
CY
11340 * hl-line.el (hl-line-sticky-flag): Doc fix.
11341 (global-hl-line-sticky-flag): New option (Bug#8323).
11342 (global-hl-line-highlight): Obey it.
11343
16f07dd7
CY
11344 * vc/vc.el (vc-revert-show-diff): Default to t.
11345
6b5ccddf
KM
113462011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11347
c9d29fb8
SM
11348 * allout-widgets.el (allout-widgets-post-command-business):
11349 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11350 undecorated when an isearch is continued past, and isearch
11351 automatically collapses them. This leads to "widget leaks", where
11352 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11353 hidden widgets can slow down cursor travel, substantially.
11354 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11355 so we're doing without this nicety.
11356
11357 (allout-widgets-tally-string): Don't try to do a hash-table-count
11358 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11359 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11360 *Messages* when allout-widgets-maintain-tally is t.
11361
355f2e07
MR
113622011-06-26 Martin Rudalics <rudalics@gmx.at>
11363
11364 * window.el (display-buffer-normalize-argument): Rename to
11365 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11366 LABEL argument. Respect special-display-function when popping up
11367 a new frame. Fix code searching for a window showing the buffer
11368 on another frame.
c9d29fb8
SM
11369 (display-buffer-normalize-specifiers):
11370 Call display-buffer-normalize-arguments.
355f2e07
MR
11371 (display-buffer-in-window): Don't undedicate the window if its
11372 buffer remains the same.
11373 Reported by Drew Adams <drew.adams@oracle.com>.
11374 (display-buffer-alist): Add choice for same-window macro
11375 specfier.
11376 (display-buffer): Mention special meaning of LABEL argument in
11377 doc-string. Fix quoting. Don't pop up a new frame even as
11378 fallback.
11379
7ca8fc42
JB
113802011-06-26 Juanma Barranquero <lekktu@gmail.com>
11381
11382 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11383 avoid deleting the current window in some cases (bug#8911).
11384
bc312254
AS
113852011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11386
11387 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11388 (Bug#8934)
11389
2db18f3f
LMI
113902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11391
c9d29fb8
SM
11392 * net/network-stream.el (network-stream-open-starttls):
11393 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11394 (network-stream-open-tls): Ditto.
11395
6302e0d3
LL
113962011-06-26 Leo Liu <sdl.web@gmail.com>
11397
11398 * register.el (registerv): New struct.
11399 (registerv-make): New function.
c9d29fb8
SM
11400 (jump-to-register, describe-register-1, insert-register):
11401 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11402 struct. (Bug#8415)
11403
5fdd4046
CY
114042011-06-26 Chong Yidong <cyd@stupidchicken.com>
11405
2afef60a
CY
11406 * vc/vc.el (vc-revert-show-diff): New defcustom.
11407 (vc-diff-internal): New arg specifying diff buffer.
11408 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11409 reuse an existing *vc-diff* buffer (Bug#8927).
11410
5fdd4046
CY
11411 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11412
e93db24a
GM
114132011-06-26 Glenn Morris <rgm@gnu.org>
11414
11415 * progmodes/f90.el (f90-critical-indent): New option.
11416 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11417 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11418 (f90-mode): Doc fix.
11419 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11420 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11421 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11422 (f90-match-end): Handle block, critical.
11423
eefff499
GM
114242011-06-25 Glenn Morris <rgm@gnu.org>
11425
f6ba4cc9
GM
11426 * calendar/diary-lib.el (diary-included-files): Doc fix.
11427 (diary-include-files): New function, extracted from
11428 diary-include-other-diary-files and diary-mark-included-diary-files.
11429 (diary-include-other-diary-files, diary-mark-included-diary-files):
11430 Just call diary-include-files.
11431 (diary-mark-entries): Reset diary-included-files on first call.
11432
16712304
GM
11433 * calendar/diary-lib.el (diary-mark-entries)
11434 (diary-mark-included-diary-files):
11435 Visit included diary-files in temp buffers.
11436
5d8e0d43
GM
11437 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11438 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11439 (f90-start-block-re, f90-imenu-generic-expression)
11440 (f90-looking-at-program-block-start, f90-no-block-limit):
11441 Add support for submodules.
11442
ccf7a5d5
GM
11443 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11444 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11445
11fdef7d 114462011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11447
11448 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11449 buffer-file-type before setting its value, to avoid disastrous
eefff499 11450 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11451
74f53697
JB
114522011-06-25 Juanma Barranquero <lekktu@gmail.com>
11453
11454 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11455
11456 * ses.el (ses-unload-function):
11457 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11458
11459 * proced.el (proced-unload-function):
11460 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11461
18a4ce5e
AR
114622011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11463
11464 * server.el (server-create-window-system-frame): Add parameters arg.
11465 (server-process-filter): Doc fix. Handle frame-parameters.
11466
519d22cc
JB
114672011-06-25 Juanma Barranquero <lekktu@gmail.com>
11468
11469 Fix bug#8730, bug#8781.
11470
11471 * loadhist.el (unload--set-major-mode): New function.
11472 (unload-feature): Use it.
11473
11474 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11475 (python-unload-function): New function.
11476
c206f5b0
SM
114772011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11480
f9ad64f3
GS
114812011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11482
11483 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11484 the candidates list.
11485
7d0da90e
JB
114862011-06-24 Juanma Barranquero <lekktu@gmail.com>
11487
11488 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11489
14b4e83d
RS
114902011-06-23 Richard Stallman <rms@gnu.org>
11491
11492 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11493 (rmail-variables): Set next-error-move-function.
11494 (rmail-what-message): Take argument POS.
11495 (rmail-next-error-move): New function.
11496
273d2baf
SM
114972011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11498
11499 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11500 messages for adjacent non-terminals.
11501
56c2cc9a
RS
115022011-06-23 Richard Stallman <rms@gnu.org>
11503
11504 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11505 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11506 (rmail-start-mail): Don't specify use of rmail-mail-return;
11507 that's done by mail-bury now.
11508 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11509
d59eb518
MA
115102011-06-23 Michael Albinus <michael.albinus@gmx.de>
11511
11512 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11513 SIZE is a number.
11514
02cfc6d6
MR
115152011-06-23 Martin Rudalics <rudalics@gmx.at>
11516
11517 * window.el (get-lru-window, get-mru-window)
11518 (get-largest-window): Never return a minibuffer window.
11519 (display-buffer-pop-up-window): Fix a bug that could lead to
11520 reusing the minibuffer window.
11521 (display-buffer): Pass original specifier argument to
11522 display-buffer-function instead of the normalized one.
11523 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11524
4e323265
LL
115252011-06-22 Leo Liu <sdl.web@gmail.com>
11526
11527 * minibuffer.el (completing-read-function)
11528 (completing-read-default): Move from minibuf.c
11529
7a70468f
RS
115302011-06-22 Richard Stallman <rms@gnu.org>
11531
50718fc2
RS
11532 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11533 to Rmail even if not started by a special Rmail command.
11534
7a70468f
RS
11535 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11536 Copy the buffer currently showing just one message.
11537
297dde5a
RW
115382011-06-22 Roland Winkler <winkler@gnu.org>
11539
11540 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11541 (bibtex-clean-entry): First delete the old key so that a
11542 customized algorithm for generating the new key does not get
11543 confused by the old key.
11544 (bibtex-url): Obey regexp of first step.
11545 (bibtex-search-entries): Do not use add-to-list with local
11546 list-var.
11547
97bb1093
LMI
115482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549
11550 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11551 stored a user name, then query for the password first, instead of
11552 waiting for SMTP to give an error message and the trying again.
11553
1c0f1a19
JD
115542011-06-22 Lawrence Mitchell <wence@gmx.li>
11555
11556 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11557 BUFFER in call-process.
11558
396f7c9d
LMI
115592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11560
11561 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11562 QUIT twice.
ddb7ffee
LMI
11563 (smtpmail-try-auth-methods): Require user name and password from
11564 auth-source.
396f7c9d 11565
8998d1b3
MR
115662011-06-22 Martin Rudalics <rudalics@gmx.at>
11567
11568 * window.el (display-buffer-default-specifiers)
11569 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11570 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11571 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11572
11573 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11574 (special-display-frame-alist, special-display-popup-frame):
11575 Remove duplicate declarations. These are now in window.el.
11576
4ea31e07
LMI
115772011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11578
c9d29fb8
SM
11579 * mail/smtpmail.el (smtpmail-via-smtp):
11580 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11581 server supports it. SMTP servers that support STARTTLS commonly
11582 require it.
11583
11584 * net/network-stream.el (network-stream-open-starttls): Support
11585 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11586 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11587
95f41d9a
LMI
11588 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11589 upgrades with `open-network-stream', and rely solely on
11590 auth-source for all credentials. Big changes throughout the file,
11591 but in particular:
c9d29fb8
SM
11592 (smtpmail-auth-credentials): Remove.
11593 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11594 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11595 MAIL FROM, too.
95f41d9a 11596
c9d29fb8
SM
11597 * net/network-stream.el (network-stream-open-starttls):
11598 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11599 STARTTLS.
11600 (auth-source): Require.
11601 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11602 (network-stream-certificate): Change cert-cert to cert and
11603 cert-key to key.
4ea31e07 11604
065ec2c7
MA
116052011-06-21 Michael Albinus <michael.albinus@gmx.de>
11606
11607 * net/tramp-cache.el (top): Don't load the persistency file when
11608 "emacs -Q" has been called.
11609
cd93b359
DR
116102011-06-21 Tim Harper <timcharper@gmail.com>
11611
d8e4b68b
JB
11612 * term/ns-win.el (ns-initialize-window-system):
11613 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11614 resource to NO as it is not yet supported by the NS port.
11615
ae9c0411
JB
116162011-06-21 Juanma Barranquero <lekktu@gmail.com>
11617
11618 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11619 (list-dynamic-libraries): ...not here.
11620
7f3f739f
LL
116212011-06-21 Leo Liu <sdl.web@gmail.com>
11622
11623 * subr.el (sha1): Implement sha1 using secure-hash.
11624
327c8fb1
MR
116252011-06-21 Martin Rudalics <rudalics@gmx.at>
11626
11627 * window.el (display-buffer-alist): In default value do not
11628 enforce searching a window on any but the selected frame.
11629 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11630 (display-buffer-select-window): Remove function.
11631 (display-buffer-in-window): When a window on another frame gets
11632 reused, do not select it any more but just raise its frame if
11633 necessary (Bug#8851) and (Bug#8856).
11634 (display-buffer-normalize-options): Handle pop-up-frames related
11635 options more faithfully.
11636 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11637 window if it is on another frame.
c9d29fb8
SM
11638 (display-buffer-alist, display-buffer-default-specifiers):
11639 Don't make new frame unsplittable by default.
9e9de014
MR
11640 (display-buffer-normalize-argument): Fix doc-string typo and use
11641 'same-frame-other-window instead of 'other-window when associating
11642 with display-buffer-macro-specifiers.
327c8fb1 11643
7cf3f556
VB
116442011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11645
11646 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11647 New functions.
11648 (5x5-mode-map, 5x5-mode-menu): Bind them.
11649 (5x5-draw-grid): Tweak the solver's rendering.
11650
60a406cf
SM
116512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11654 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11655
d8e4b68b 116562011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11657
11658 * menu-bar.el: Use function variable instead of switch-to-buffer.
11659 (menu-bar-select-buffer-function): New variable.
60a406cf 11660 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11661
478d6f95
SM
116622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11665 variable's status.
11666
ca530739
JD
116672011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11668
11669 * x-dnd.el (x-dnd-version-from-flags)
11670 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11671 and long as number (Bug#8899).
11672 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11673
bcd70d97
SM
116742011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11675
60a406cf 11676 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11677 (completion-try-completion, completion-all-completions): Compute the
11678 metadata argument if it's missing; make it optional (bug#8795).
11679
60a406cf 11680 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11681 (widget-complete): Use new :completion-function property.
11682 (widget-completions-at-point): New function.
11683 (default): Use :completion-function instead of :complete.
60a406cf
SM
11684 (widget-default-completions): Rename from widget-default-complete;
11685 Rewrite.
bcd70d97
SM
11686 (widget-string-complete, widget-file-complete, widget-color-complete):
11687 Remove functions.
11688 (file, symbol, function, variable, coding-system, color):
11689 * international/mule-cmds.el (default-input-method, charset)
11690 (language-info-custom-alist):
11691 * cus-edit.el (face): Use new property :completions.
11692
11693 * progmodes/pascal.el (pascal-completions-at-point): New function.
11694 (pascal-mode): Use it.
11695 (pascal-mode-map): Use completion-at-point.
11696 (pascal-toggle-completions): Make obsolete.
11697 (pascal-complete-word, pascal-show-completions):
11698 * progmodes/octave-mod.el (octave-complete-symbol):
11699 Redefine as obsolete alias.
11700 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11701 Signal absence of completion info for old Octave,
11702 (inferior-octave-complete): Redefine as obsolete alias.
11703 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11704 (meta-completions-at-point): Rename from meta-complete-symbol and
11705 adapt it for use on completion-at-point-functions.
11706 (meta-common-mode): Use it.
11707 (meta-looking-at-backward, meta-match-buffer): Remove.
11708 (meta-complete-symbol): Redefine as obsolete alias.
11709 (meta-common-mode-map): Use completion-at-point.
11710 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11711 (makefile-mode-map): Use completion-at-point.
11712 (makefile-completions-at-point): Rename from makefile-complete and
11713 adapt it for use on completion-at-point-functions.
11714 (makefile-mode): Use it.
11715 (makefile-complete): Redefine as obsolete alias.
11716
aebf69c8
DD
117172011-06-20 Deniz Dogan <deniz@dogan.se>
11718
11719 * net/rcirc.el: Delete trailing whitespaces once and for all.
11720
bfbbb27d
DC
117212011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11722
11723 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11724
d264a46b
CY
117252011-06-19 Chong Yidong <cyd@stupidchicken.com>
11726
4ca009e5
CY
11727 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11728
d264a46b
CY
11729 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11730
fbf5b3ce
MR
117312011-06-19 Martin Rudalics <rudalics@gmx.at>
11732
11733 * window.el (display-buffer-other-window-means-other-frame):
11734 Call display-buffer-normalize-alist.
11735 (display-buffer-normalize-specifiers-1): Rename to
11736 display-buffer-normalize-argument. New argument other-frame.
11737 Rewrite.
11738 (display-buffer-normalize-specifiers-2): Rename to
11739 display-buffer-normalize-options.
11740 (display-buffer-normalize-alist-1): New function.
11741 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11742 display-buffer-normalize-alist.
11743 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11744 (display-buffer-normalize-options-inhibit): New variable.
11745 (display-buffer-normalize-specifiers): Rewrite calling
11746 display-buffer-normalize-alist,
11747 display-buffer-normalize-argument, and
11748 display-buffer-normalize-options. Don't call the latter if
11749 display-buffer-normalize-options-inhibit is non-nil.
11750 (frame-auto-delete): New option.
11751 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11752 (window-list-no-nils, window-state-ignored-parameters)
11753 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11754 (window-state-put-1, window-state-put-2, window-state-put):
11755 New functions.
9a028c23
MR
11756 (display-buffer-normalize-options): Move special-display-p group
11757 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11758
6d10d800
CY
117592011-06-18 Chong Yidong <cyd@stupidchicken.com>
11760
6420d28b
CY
11761 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11762 groups (Bug#8776).
11763 (rx-submatch-n): New function.
11764 (rx): Document it.
11765
ddb8b596
CY
11766 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11767 (Bug#8768).
11768
11769 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11770
77080289
CY
11771 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11772
61dfb316
CY
11773 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11774 anytime existing face settings are present (Bug#8889).
11775
6d10d800
CY
11776 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11777 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11778 Remove unused argument.
11779
be3fb2b8
MR
117802011-06-18 Martin Rudalics <rudalics@gmx.at>
11781
bcd70d97
SM
11782 * window.el (display-buffer-default-specifiers):
11783 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11784 pop-up-window-min-width, and another reuse-window specifier
11785 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11786 (display-buffer-normalize-specifiers-2):
11787 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11788 pop-up-windows is unset. Add a reuse-window specifier for the
11789 case popping up a new window fails.
11790 (special-display-popup-frame): Remove double quoting.
28dec25a 11791 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11792
1c6d8c76
SM
117932011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11796 according to comint-completion-addsuffix.
11797
11798 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11799 (pcomplete-suffix-list): Mark as obsolete.
11800 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11801 pcomplete-seen in the closure.
11802 (pcomplete-comint-setup): Setup completion-at-point as well.
11803 (pcomplete--entries): New function.
11804 (pcomplete--env-regexp): New var.
11805 (pcomplete-entries): Rewrite to work with partial-completion and
11806 without relying on pcomplete-suffix-list.
11807 (pcomplete-pare-list): Remove, unused.
11808
25aef8b8
MR
118092011-06-17 Martin Rudalics <rudalics@gmx.at>
11810
11811 * window.el (display-buffer-alist): Set pop-up-window-min-height
11812 and pop-up-window-min-width in default value. Reported by
11813 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11814 other-window-means-other-frame.
11815 (display-buffer-macro-specifiers): Comment out entry for
11816 other-window specifier.
11817 (display-buffer-other-window-means-other-frame): New function.
11818 (display-buffer-normalize-specifiers-1): New arguments
11819 buffer-name and label. Treat other-window case specially.
11820 (display-buffer-normalize-specifiers-2): Treat other-window case
11821 specially.
11822 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11823 (display-buffer-normalize-specifiers):
11824 Call display-buffer-normalize-specifiers-3.
25aef8b8 11825
dbad4f69
MR
118262011-06-17 Martin Rudalics <rudalics@gmx.at>
11827
11828 * window.el (same-window-p): Fix two typos introduced when
11829 adding with-no-warnings.
d1067961
MR
11830 (display-buffer-normalize-specifiers-1): Don't check
11831 pop-up-frames for 'unset initialization.
11832 (display-buffer-normalize-specifiers-2): Major rewrite using
11833 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11834 (pop-up-frames, display-buffer-reuse-frames)
11835 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11836 Suggested by David Engster <deng@randomsample.de>.
11837 (even-window-heights): Initialize to 'unset.
11838 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11839 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11840 other window case.
dbad4f69 11841
9b9c9e3a
MR
118422011-06-16 Martin Rudalics <rudalics@gmx.at>
11843
bcd70d97
SM
11844 * window.el (display-buffer-normalize-specifiers-1):
11845 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11846 second argument of display-buffer (Bug#8865).
981d5c09
MR
11847 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11848 (switch-to-buffer-other-window-same-frame)
11849 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11850 Adams (Bug#8875).
9c2755e9
MR
11851 (display-buffer): Don't check noninteractive when calling
11852 display-buffer-pop-up-frame.
11853 (display-buffer-pop-up-frame): Never pop up a frame in
11854 noninteractive mode (Bug#8857).
67222e1d
MR
11855 (enlarge-window, shrink-window): Don't report an error when the
11856 window can't be resized as requested (Bug#8862).
9b9c9e3a 11857
2b75be67
SM
118582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11859
9ffdd3ba
SM
11860 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11861
cb581a67
SM
11862 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11863
2b75be67
SM
11864 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11865
8c0e3589
AM
118662011-06-15 Alan Mackenzie <acm@muc.de>
11867
cb581a67
SM
11868 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11869 for declarators, disable knr checking to speed up for normal files.
11870 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11871
b96e6cde
LMI
118722011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
4bba86e6
LMI
11874 * net/network-stream.el (open-network-stream): Add the keyword
11875 :always-query-capabilities for the case where you want to force a
11876 `plain' network connection, but the protocol still requires the
11877 capabilitiy command (i.e., SMTP and EHLO).
11878
2b75be67 11879 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11880 consistency with other `-live-p' functions.
11881
efdcdbf8
SM
118822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11883
11884 * window.el (same-window-buffer-names, same-window-regexps)
11885 (special-display-frame-alist, special-display-popup-frame)
11886 (special-display-function, special-display-buffer-names)
11887 (special-display-regexps, pop-up-frame-alist)
11888 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11889 (pop-up-windows, split-window-preferred-function)
11890 (split-height-threshold, split-width-threshold, even-window-heights)
11891 (display-buffer-mark-dedicated): Don't encourage the use of
11892 display-buffer-alist from Elisp code.
11893
c5cde042
DN
118942011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11895
11896 * progmodes/python.el (python-mode): Derive from prog-mode.
11897 * progmodes/ps-mode.el (ps-mode):
11898 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11899 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11900 * progmodes/ld-script.el (ld-script-mode): Likewise.
11901
baa1c9ab
MR
119022011-06-15 Martin Rudalics <rudalics@gmx.at>
11903
11904 * window.el (display-buffer-alist): Trim default value to avoid
11905 popping up a new frame (Bug#8857) or reusing an arbitrary window
11906 on another frame.
11907 (display-buffer): Do not fall back on popping up a new frame in
11908 batch mode (Bug#8857).
11909
c5dd5a51
CY
119102011-06-14 Chong Yidong <cyd@stupidchicken.com>
11911
11912 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11913 (custom-theme-summary): New function.
11914 (customize-themes): Use it.
11915
d647b7c4
GM
119162011-06-13 Glenn Morris <rgm@gnu.org>
11917
11918 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11919
9481c002
MR
119202011-06-13 Martin Rudalics <rudalics@gmx.at>
11921
357f93d2
MR
11922 * help.el (help-window): Remove variable.
11923 (help-window-point-marker, temp-buffer-max-height)
11924 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11925 (help-print-return-message): Don't set help-window.
11926 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11927 (help-window-setup-finish): Remove.
11928 (help-window-display-message, help-window-setup)
11929 (with-help-window): Major rewrite based on new
11930 display-buffer-window variable.
11931
11932 * help-mode.el (help-mode-finish): Remove help-window related
11933 code.
11934
11935 * view.el (view-exits-all-viewing-windows): Remove reference to
11936 view-return-to-alist in doc-string.
11937 (view-return-to-alist): Make obsolete.
11938 (view-buffer): Call pop-to-buffer-same-window and remove
11939 undo-window code.
11940 (view-buffer-other-window): Call pop-to-buffer-other-window and
11941 simplify code. Ignore second argument.
11942 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11943 simplify code. Ignore second argument.
11944 (view-return-to-alist-update): Make obsolete.
11945 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11946 Rewrite using quit-restore window parameters.
2b75be67
SM
11947 (view-mode-exit): Rename second argument to EXIT-ONLY.
11948 Rewrite using quit-restore-window.
357f93d2
MR
11949 (View-exit, View-exit-and-edit, View-leave, View-quit)
11950 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11951 appropriate arguments.
11952 (view-end-message): Use quit-restore window parameter.
11953
9481c002
MR
11954 * window.el (display-buffer-function): Rewrite doc-string.
11955 (display-buffer-window, display-buffer-alist): New variables.
11956 (display-buffer-split-specifiers)
11957 (display-buffer-side-specifiers)
11958 (display-buffer-macro-specifiers): New constants.
11959 (display-buffer-even-window-sizes, display-buffer-set-height)
11960 (display-buffer-set-width, display-buffer-select-window)
11961 (display-buffer-in-window, display-buffer-reuse-window)
11962 (display-buffer-split-window-1, display-buffer-split-window)
11963 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11964 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11965 (display-buffer-in-side-window, normalize-buffer-to-display)
11966 (display-buffer-normalize-specifiers-1)
11967 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11968 (display-buffer-normalize-specifiers, display-buffer-frame):
11969 New functions.
9481c002
MR
11970 (display-buffer): Major rewrite.
11971 (display-buffer-other-window, display-buffer-other-frame)
11972 (pop-to-buffer, switch-to-buffer-other-window)
11973 (switch-to-buffer-other-frame): Rewrite.
11974 (display-buffer-same-window, display-buffer-same-frame)
11975 (display-buffer-same-frame-other-window)
11976 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11977 (pop-to-buffer-other-window)
11978 (pop-to-buffer-same-frame-other-window)
11979 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11980 (switch-to-buffer-other-window-same-frame): New functions.
11981 (same-window-p, special-display-p): Rewrite disabling warnings.
11982 Make obsolete.
11983 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11984 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11985 Make obsolete
11986 (same-window-buffer-names, same-window-regexps)
11987 (special-display-frame-alist, special-display-popup-frame)
11988 (special-display-function, special-display-buffer-names)
11989 (special-display-regexps, pop-up-frame-alist)
11990 (pop-up-frame-function, split-window-preferred-function)
11991 (split-height-threshold, split-width-threshold)
11992 (even-window-heights): Make obsolete.
11993
9db51aca
GM
119942011-06-12 Glenn Morris <rgm@gnu.org>
11995
11996 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11997 Misc simplifications.
9db51aca 11998
39cffb44
MR
119992011-06-12 Martin Rudalics <rudalics@gmx.at>
12000
12001 * window.el (window-safely-shrinkable-p): Restore function which
12002 was inadvertently removed in change from 2011-06-11. Declare as
12003 obsolete.
12004
2b75be67
SM
12005 * calendar/calendar.el (calendar-generate-window):
12006 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12007 window-safely-shrinkable-p.
12008
a8955be7
GM
120092011-06-12 Glenn Morris <rgm@gnu.org>
12010
12011 * progmodes/fortran.el (fortran-mode-syntax-table):
12012 * progmodes/f90.el (f90-mode-syntax-table):
12013 Set % to punctuation. (Bug#8820)
12014 (f90-find-tag-default): Remove, no longer needed.
12015
f0d4059d
DC
120162011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12017
12018 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12019
1100a63c
CY
120202011-06-11 Chong Yidong <cyd@stupidchicken.com>
12021
12022 * image.el (image-animated-p): Return animation delay in seconds.
12023 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12024 (image-animate-timeout): Remove DELAY argument. Don't assume
12025 every subimage has the same delay; get it from image-animated-p.
12026 (image-animate): Caller changed.
12027
def722bf
MA
120282011-06-11 Michael Albinus <michael.albinus@gmx.de>
12029
12030 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12031 to ignored backtrace functions.
12032
0a2bb1a9
GM
120332011-06-11 Glenn Morris <rgm@gnu.org>
12034
12035 * calendar/appt.el (appt-disp-window-function): Doc fix.
12036 (appt-check): Handle overlapping appointments. (Bug#8337)
12037
6198ccd0
MR
120382011-06-11 Martin Rudalics <rudalics@gmx.at>
12039
12040 * window.el (window-tree-1, window-tree): New functions, moving
12041 the latter to window.el.
12042 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12043 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12044 (bw-refresh-edges): Remove.
12045 (balance-windows-1, balance-windows-2): New functions.
12046 (balance-windows): Rewrite in terms of window tree functions,
12047 balance-windows-1 and balance-windows-2.
12048 (bw-adjust-window): Remove.
12049 (balance-windows-area-adjust): New function with functionality of
12050 bw-adjust-window but using resize-window.
2b75be67
SM
12051 (set-window-text-height): Rewrite doc-string.
12052 Use normalize-live-window and resize-window.
12053 (enlarge-window-horizontally, shrink-window-horizontally):
12054 Rename argument to DELTA.
6198ccd0
MR
12055 (window-buffer-height): New function.
12056 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12057 Rewrite using new window resize routines.
2b75be67
SM
12058 (kill-buffer-and-window, mouse-autoselect-window-select):
12059 Use ignore-errors instead of condition-case.
6198ccd0
MR
12060 (quit-window): Call delete-frame instead of delete-windows-on
12061 for the only buffer on frame.
12062
9397e56f
MR
120632011-06-10 Martin Rudalics <rudalics@gmx.at>
12064
12065 * loadup.el (top-level): Load window before files for the sake
12066 of replace-buffer-in-windows.
12067
12068 * files.el (read-buffer-to-switch)
12069 (switch-to-buffer-other-window)
2b75be67
SM
12070 (switch-to-buffer-other-frame, display-buffer-other-frame):
12071 Move to window.el.
9397e56f
MR
12072
12073 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12074 (previous-buffer): Move to window.el.
12075
12076 * bindings.el (unbury-buffer): Move to window.el.
12077
12078 * window.el (delete-other-windows-vertically): Move after
12079 definition of delete-other-windows.
12080 (other-window, delete-windows-on, replace-buffer-in-windows):
12081 Move here from window.c.
12082 (record-window-buffer, unrecord-window-buffer)
12083 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12084 (switch-to-next-buffer): New functions.
12085 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12086 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12087 (previous-buffer): Move here from simple.el.
12088 Call switch-to-prev-buffer.
9397e56f
MR
12089 (bury-buffer): Move here from buffer.c. Switch to previous
12090 buffer when window cannot be deleted.
12091 (unbury-buffer): Move here from bindings.el.
12092 (ctl-x-map): Move binding for other-window from window.c to
12093 here.
12094 (read-buffer-to-switch, switch-to-buffer-other-window)
12095 (switch-to-buffer-other-frame): Move here from files.el.
12096 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12097 (switch-to-buffer): Move here from buffer.c.
12098 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12099
562dd5e9
MR
121002011-06-10 Martin Rudalics <rudalics@gmx.at>
12101
12102 * window.el (window-min-height, window-min-width): Move here
12103 from window.c. Add defcustoms and rewrite doc-strings.
12104 (resize-mini-window, resize-window): New functions.
12105 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12106 Move here from window.c.
12107 (maximize-window, minimize-window): New functions.
12108 (delete-window, delete-other-windows, split-window): Move here
12109 from window.c.
12110 (window-split-min-size): New function.
12111 (split-window-keep-point): Mention split-window-above-each-other
12112 instead of split-window-vertically.
2b75be67 12113 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12114 Rename split-window-vertically to split-window-above-each-other
12115 and provide defalias for old definition.
12116 (split-window-side-by-side, split-window-horizontally):
12117 Rename split-window-horizontally to split-window-side-by-side
12118 and provide defalias for the old definition.
562dd5e9
MR
12119 (ctl-x-map): Move bindings for delete-window,
12120 delete-other-windows and enlarge-window here from window.c.
12121 Replace bindings for split-window-vertically and
12122 split-window-horizontally by bindings for
12123 split-window-above-each-other and split-window-side-by-side.
12124
12125 * cus-start.el (all): Remove entries for window-min-height and
12126 window-min-width. Add entries for window-splits and
12127 window-nest.
12128
f0da764a
GM
121292011-06-09 Glenn Morris <rgm@gnu.org>
12130
80675c21
GM
12131 * calendar/appt.el (appt-mode-line): New function.
12132 (appt-check, appt-disp-window): Use it.
12133
f0da764a
GM
12134 * files.el (hack-one-local-variable-eval-safep):
12135 Allow minor-modes with explicit +/-1 arguments.
12136
59f623b7
TZ
121372011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12138
12139 * term/xterm.el (xterm): Add defgroup.
12140 (xterm-extra-capabilities): Add defcustom to supply known xterm
12141 capabilities, skip querying them, or query them (default).
12142 (terminal-init-xterm): Use it.
12143 (terminal-init-xterm-modify-other-keys): New function to set up
12144 modifyOtherKeys support to simplify `terminal-init-xterm'.
12145
9aab8e0d
MR
121462011-06-09 Martin Rudalics <rudalics@gmx.at>
12147
12148 * window.el (resize-window-reset, resize-window-reset-1)
12149 (resize-subwindows-skip-p, resize-subwindows-normal)
12150 (resize-subwindows, resize-other-windows, resize-this-window)
12151 (resize-root-window, resize-root-window-vertically)
12152 (window-deletable-p, window-or-subwindow-p)
12153 (frame-root-window-p): New functions.
12154
e8b08aee
GM
121552011-06-09 Glenn Morris <rgm@gnu.org>
12156
12157 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12158 (ange-ftp-get-files): Use it.
12159
254c37a5
AK
121602011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12161
12162 * mail/sendmail.el (mail-recover-1, mail-recover):
12163 * files.el (recover-file, recover-session):
12164 Handle dired-listing-switches not being just a single short option.
12165
35d7dbd3
GM
121662011-06-09 Glenn Morris <rgm@gnu.org>
12167
12168 * calendar/appt.el (appt-display-message, appt-disp-window):
12169 Handle lists of appointments.
12170
387522b2
MR
121712011-06-08 Martin Rudalics <rudalics@gmx.at>
12172
2b75be67
SM
12173 * window.el (one-window-p): Move down in code.
12174 Rewrite doc-string.
12175 (window-current-scroll-bars): Rewrite doc-string.
12176 Normalize live window argument.
387522b2
MR
12177 (walk-windows, get-window-with-predicate, count-windows):
12178 Rewrite doc-string. Use window-list-1.
12179 (window-in-direction-2, window-in-direction, get-mru-window):
12180 New functions.
12181
d8e4b68b 121822011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12183
12184 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12185 Doc fix (Bug#8713).
12186
121872011-06-08 Chong Yidong <cyd@stupidchicken.com>
12188
12189 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12190
121912011-06-08 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * loadhist.el (unload-feature-special-hooks):
12194 Add `comint-output-filter-functions'.
12195
0de12c52
IK
121962011-06-08 Ivan Kanis <gnu@kanis.fr>
12197
12198 * calendar/appt.el (appt-check): Move some initializations into the let.
12199
f3d1777e
MR
122002011-06-08 Martin Rudalics <rudalics@gmx.at>
12201
12202 * window.el (window-height): Defalias to window-total-height.
12203 (window-width): Defalias to window-body-width.
12204
18af70d0
CY
122052011-06-07 Chong Yidong <cyd@stupidchicken.com>
12206
12207 * image-mode.el (image-toggle-animation): New command.
12208 (image-mode-map): Bind it to RET.
12209 (image-mode): Update message.
12210 (image-toggle-display-image): Avoid a spurious cache flush.
12211 (image-transform-rotation): Doc fix.
12212 (image-transform-properties): Return quickly in the normal case.
12213 (image-animate-loop): Rename from image-animate-max-time.
12214
2b75be67 12215 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12216 (create-animated-image): Remove unnecessary function.
12217 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12218 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12219 (image-animate-timer): Use car-safe.
12220 (image-animate-timeout): Rename argument.
12221
190b47e6
MR
122222011-06-07 Martin Rudalics <rudalics@gmx.at>
12223
12224 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12225 window.c. Rename first argument to ALL-FRAMES.
12226 Rephrase doc-strings.
12227 (get-buffer-window-list): Rewrite using window-list-1.
12228 Rephrase doc-string.
a1511caf
MR
12229 (window-safe-min-height, window-safe-min-width): New constants.
12230 (window-size-ignore, window-min-size, window-min-size-1)
12231 (window-sizable, window-sizable-p, window-size-fixed-1)
12232 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12233 (window-max-delta-1, window-max-delta, window-resizable)
12234 (window-resizable-p, window-total-height, window-total-width)
12235 (window-body-width): New functions.
12236 (window-full-height-p, window-full-width-p): Rewrite using
12237 window-total-size.
12238 (window-body-height): Rewrite using window-body-size.
190b47e6 12239
85cc1f11
MR
122402011-06-06 Martin Rudalics <rudalics@gmx.at>
12241
12242 * window.el (window-right, window-left, window-child)
12243 (window-child-count, window-last-child, window-any-p)
12244 (normalize-live-buffer, normalize-live-frame)
12245 (normalize-any-window, normalize-live-window)
12246 (window-iso-combination-p, window-iso-combined-p)
12247 (window-iso-combinations)
12248 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12249 (windows-with-parameter, window-with-parameter)
12250 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12251 (window-atom-check, window-side-check, window-check):
12252 New functions.
85cc1f11
MR
12253 (ignore-window-parameters, window-sides, window-sides-vertical)
12254 (window-sides-slots): New variables.
12255 (window-size-fixed): Move down in code. Minor doc-string fix.
12256
e7156492
AS
122572011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12258
12259 * comint.el (comint-dynamic-complete-as-filename)
12260 (comint-dynamic-complete-filename): Correctly call
12261 completion-in-region.
12262
7e821d0d
DD
122632011-06-05 Deniz Dogan <deniz@dogan.se>
12264
12265 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12266 in last change.
12267
ac09b8a1
DD
122682011-06-05 Deniz Dogan <deniz@dogan.se>
12269
12270 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12271 (rcirc): Use it to prompt for encryption.
12272
34699b85
RW
122732011-06-05 Roland Winkler <winkler@gnu.org>
12274
12275 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12276 (bibtex-search-entries): New command bound to C-c C-a.
12277 (bibtex-display-entries): New function.
12278
004dedd3
RW
122792011-06-05 Roland Winkler <winkler@gnu.org>
12280
12281 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12282 (bibtex-insert-kill): After yanking insert newline if necessary.
12283 (bibtex-initialize): Call bibtex-string-files-init only once.
12284 (bibtex-mode): Do not call easy-menu-add.
12285 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12286 (bibtex-yank): Set arg properly if nil.
12287
022fe7ce
RW
122882011-06-05 Roland Winkler <winkler@gnu.org>
12289
2b75be67
SM
12290 * textmodes/bibtex.el (bibtex-search-entry-globally):
12291 New variable.
022fe7ce
RW
12292 (bibtex-search-entry): Use it.
12293
b7c3692a
RW
122942011-06-05 Roland Winkler <winkler@gnu.org>
12295
12296 * textmodes/bibtex.el (bibtex-entry-format): New option
12297 sort-fields.
12298 (bibtex-format-entry, bibtex-reformat): Honor this option.
12299 (bibtex-parse-entry): Return fields in proper order.
12300
8eda563d
JB
123012011-06-05 Juanma Barranquero <lekktu@gmail.com>
12302
12303 * doc-view.el (doc-view-remove-if): Move computation of result out
12304 of `dolist' to silence misleading lexical-binding warning.
12305
7dbe3dbc
CY
123062011-06-04 Chong Yidong <cyd@stupidchicken.com>
12307
12308 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12309 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12310
0c33dd17
MA
123112011-06-04 Michael Albinus <michael.albinus@gmx.de>
12312
12313 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12314 "SunOS 5.10".
12315
f8f91c2b
MA
123162011-06-04 Michael Albinus <michael.albinus@gmx.de>
12317
12318 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12319 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12320 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12321 (tramp-parse-putty):
12322 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12323 (tramp-completion-function-alist-ssh)
12324 (tramp-completion-function-alist-telnet)
12325 (tramp-completion-function-alist-su)
12326 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12327 cookie.
12328
12329 * net/tramp-ftp.el:
12330 * net/tramp-sh.el:
12331 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12332 load "tramp.el" `tramp-set-completion-function'.
12333
e17d9003
SM
123342011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * shell.el: Require and use pcomplete.
12337 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12338 (shell-completion-vars): Set pcomplete-default-completion-function.
12339
6c4cab03
DD
123402011-06-04 Deniz Dogan <deniz@dogan.se>
12341
12342 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12343 `memq' (Bug#8799).
12344
ea9fafe0
SM
123452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12348
b3e945d3
JB
123492011-06-02 Juanma Barranquero <lekktu@gmail.com>
12350
12351 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12352 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12353 * vc/log-view.el (log-view-beginning-of-defun):
12354 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12355 (smerge-refine-forward, smerge-refine-chopup-region):
12356 Silence warning for unused `dotimes' counter variables.
12357
7d520089
SM
123582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * net/tramp.el (tramp-with-progress-reporter): Rename from
12361 with-progress-reporter. Use `declare'.
12362 * net/tramp-smb.el:
12363 * net/tramp-sh.el:
12364 * net/tramp-gvfs.el: Update all uses.
12365
a1c2400f
JB
123662011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12367
12368 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12369 buffer isn't killed before making it current.
12370
2403c841
SM
123712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 Silence various byte-compiler warnings.
12374 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12375 `access-type' and new obsolescence format.
12376 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12377 new format.
12378 (byte-compile-check-variable): New `access-type' argument.
12379 Only warn if the access-type is obsolete.
12380 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12381 (byte-compile-variable-set): Adjust callers.
12382 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12383 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12384 setting it as obsolete.
12385 * simple.el (minibuffer-completing-symbol):
12386 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12387 access as obsolete.
12388 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12389 obsolete yet.
12390 * international/quail.el (quail-mouse-choose-completion): Remove unused
12391 code referring to obsolete var.
12392 (quail-choose-completion-string): Remove.
12393 * server.el (server-clients-with, server-kill-buffer-query-function)
12394 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12395 * proced.el (proced-send-signal):
12396 * emacs-lisp/lisp.el (lisp-complete-symbol):
12397 Replace completion-annotate-function with completion-extra-properties.
12398
2462470b
SM
123992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12400
fb5b2591
SM
12401 * simple.el (goto-line): Use read-number.
12402 (overriding-map-is-bound): Remove.
12403 (saved-overriding-map): Change default.
12404 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12405 Take the map as argument.
12406 (universal-argument, negative-argument, digit-argument): Use it.
12407 (restore-overriding-map): Adjust.
12408 (do-auto-fill): Use fill-forward-paragraph.
12409 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12410
fd6fa53f
SM
12411 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12412 (minibuffer-inactive-mode): New major mode.
12413 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12414 the *Messages* buffer" hack.
12415 (mouse-popup-menubar): Don't burp if the event is a normal key.
12416
2462470b
SM
12417 Miscellaneous tweaks.
12418 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12419 lexical scoping as in subr.el's dolist and dotimes.
12420 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12421 Silence compiler warning.
12422 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12423 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12424 * international/ccl.el (ccl-compile): Trivial simplification.
12425 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12426 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12427 `printflag' argument.
12428 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12429 Purecopy the whole obsolescence data.
12430
108bf785
LL
124312011-06-01 Leo Liu <sdl.web@gmail.com>
12432
12433 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12434 improve doc-string as suggested by Marco Pessotto
12435 <melmothx@gmail.com>.
12436 (rcirc-print): Fix last change.
12437
30a23501
SM
124382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12439
12440 * minibuffer.el (complete-with-action): Return nil for the metadata and
12441 boundaries of non-functional tables.
12442 (completion-table-dynamic): Return nil for the metadata.
12443 (completion-table-with-terminator): Add default case, using
12444 complete-with-action.
12445 (completion--metadata): New function.
12446 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12447 to try and avoid pathological performance problems.
12448 (completion--embedded-envvar-table): Return `category' metadata.
12449
bcd54f83
LMI
124502011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12451
12452 * subr.el (process-alive-p): New tiny convenience function.
12453
e227544d
SM
124542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12455
12456 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12457 content but also its previous major mode.
12458
e8296fdc
HE
124592011-05-31 Helmut Eller <eller.helmut@gmail.com>
12460
4d61f28d 12461 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12462 *Backtrace* buffer when we exit with C-M-c.
12463
620c53a6
SM
124642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * minibuffer.el: Add metadata method to completion tables.
12467 (completion-category-overrides): New defcustom.
12468 (completion-metadata, completion--field-metadata)
12469 (completion-metadata-get, completion--styles)
12470 (completion--cycle-threshold): New functions.
12471 (completion-try-completion, completion-all-completions):
12472 Add `metadata' argument to choose completion-styles.
12473 (completion--do-completion): Use metadata to choose cycling.
12474 (completion-all-sorted-completions): Use metadata for sorting.
12475 Remove :completion-cycle-penalty which is not needed any more.
12476 (completion--try-word-completion): Add `metadata' argument.
12477 (minibuffer-completion-help): Check metadata for annotation function
12478 and sorting.
12479 (completion-file-name-table): Return `category' metadata.
12480 (minibuffer-completing-file-name): Make obsolete.
12481 * simple.el (minibuffer-completing-symbol): Make obsolete.
12482 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12483 completion-try-completion.
12484
1257e755
SM
124852011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12488
3767e706
LL
124892011-05-30 Leo Liu <sdl.web@gmail.com>
12490
12491 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12492 (rcirc-print): Decode all incoming messages (bug#8744).
12493 (rcirc-decode-coding-system): Allow value nil for automatic coding
12494 system detection.
3767e706 12495
d1a5d56a
GM
124962011-06-01 Glenn Morris <rgm@gnu.org>
12497
12498 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12499
e8cbec34
CY
125002011-05-29 Chong Yidong <cyd@stupidchicken.com>
12501
12502 * image.el (image-animate-max-time): Allow nil and t values.
12503 Default to nil.
12504 (create-animated-image): Doc fix.
12505 (image-animate-start): Remove second arg; just use
12506 image-animate-max-time.
12507 (image-animate-timeout): Doc fix. Args changed.
12508
12509 * image-mode.el (image-toggle-display-image): Ensure that the
12510 image spec passed to the animate timer is the same object as in
58179cce 12511 the buffer's display property (Bug#6981).
e8cbec34
CY
12512 (image-transform-properties): Doc fix.
12513
12514 * image.el (image-animate-max-time): Default to nil.
12515
159daf87
MR
125162011-05-29 Martin Rudalics <rudalics@gmx.at>
12517
12518 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12519 entire buffer list (Bug#8184).
12520
d66c4c7c
CY
125212011-05-29 Chong Yidong <cyd@stupidchicken.com>
12522
12523 * image.el (imagemagick-types-inhibit)
12524 (imagemagick-register-types): Doc fix.
12525
80aec780
DD
125262011-05-29 Deniz Dogan <deniz@dogan.se>
12527
12528 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12529 default.
12530
1dd3c2d9
CY
125312011-05-29 Chong Yidong <cyd@stupidchicken.com>
12532
12533 * select.el: Don't perform clipboard-manager saving in hooks;
12534 leave the hooks empty.
12535
60e56523
LL
125362011-05-28 Leo Liu <sdl.web@gmail.com>
12537
12538 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12539 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12540 (occur-edit-mode): New major mode (Bug#8463).
12541 (occur-after-change-function): New function.
12542 (occur-engine): Give Occur tags a read-only property.
12543
2b1e1a22
KR
125442011-05-28 Kevin Ryde <user42@zip.com.au>
12545
12546 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12547
5d344e88
CY
125482011-05-28 Chong Yidong <cyd@stupidchicken.com>
12549
8e6ca83d
CY
12550 * bindings.el (help-echo): Make the initial non-indicator dash
12551 empty on graphical terminals (Bug#7295).
12552
5d344e88
CY
12553 * files.el (auto-mode-alist): Move config rule after the
12554 in-stripping one (Bug#8547).
12555
bfbbace7
CY
12556 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12557
fbeba6e2
CY
12558 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12559 setting (Bug#8740).
12560
60ed8c72
AA
125612011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12562
4ac619f0
AA
12563 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12564 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12565 (Bug#8539).
60ed8c72 12566
23db196e
CY
125672011-05-28 Chong Yidong <cyd@stupidchicken.com>
12568
12569 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12570
5012f24c
DK
125712011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12572
12573 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12574 (hs-hide-block-at-point, hs-find-block-beginning)
12575 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12576 (Bug#8279).
12577
6a639b16
GM
125782011-05-28 Glenn Morris <rgm@gnu.org>
12579
12580 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12581
d43eaf2c
CY
125822011-05-28 Chong Yidong <cyd@stupidchicken.com>
12583
5199bde1
CY
12584 * help-fns.el (describe-function-1): If the function is a derived
12585 major mode, print the parent mode.
12586
d43eaf2c
CY
12587 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12588 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12589
423428a8
SM
125902011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12591
0ff8e1ba 12592 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12593 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12594 * progmodes/etags.el (tags-completion-at-point-function):
12595 * info-look.el (info-lookup-completions-at-point): Mark as
12596 non-exclusive.
12597 (info-complete): Adjust accordingly.
12598
423428a8
SM
12599 * info-look.el: Convert to lexical-binding and completion-at-point.
12600 (info-lookup-completions-at-point): New function.
12601 (info-complete): Use it and completion-in-region.
12602
b74aa22b
DA
126032011-05-28 Drew Adams <drew.adams@oracle.com>
12604
12605 * isearch.el: Let M-e start with point at the first mismatched char.
12606 (isearch-fail-pos): New function.
12607 (isearch-edit-string): Use it.
12608
66e2e71d
DK
126092011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12610
12611 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12612
b1890b0f 126132011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12614
12615 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12616 traversal functions for avl-trees.
12617 (avl-tree--stack): New struct.
12618 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12619 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12620 (avl-tree--do-enter): Add optional `updatefun' arg.
12621 Change return value.
eb95d01d 12622 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12623 (avl-tree--do-delete): Add `test' and `nilflag' args.
12624 Change return value.
eb95d01d
TC
12625 (avl-tree-member): Add optional `nilflag'
12626 (avl-tree-member-p): New function.
12627 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12628 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12629 (avl-tree-stack-empty-p): New functions.
12630
3769ddcf
TC
12631 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12632 avl-tree--del-balance1 and make it work both ways.
12633 (avl-tree--del-balance2): Remove.
12634 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12635 make it work both ways.
12636 (avl-tree--enter-balance2): Remove.
12637 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12638 New macros.
12639 (avl-tree--mapc, avl-tree-map): Add direction argument.
12640
eb95d01d 126412011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12642
12643 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12644
a9f737ee
CY
126452011-05-27 Chong Yidong <cyd@stupidchicken.com>
12646
12647 * select.el: Support clipboard managers with built-in function
12648 x-clipboard-manager-save, via delete-frame-functions and
12649 kill-emacs-hook.
12650 (xselect-convert-to-targets): Add MULTIPLE target to list.
12651 (xselect-convert-to-save-targets): New function.
12652
c92a1e54
KH
126532011-05-27 Kenichi Handa <handa@m17n.org>
12654
12655 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12656 let-binding rfc2047-encode-encoded-words to nil.
12657
e145f188
GM
126582011-05-27 Glenn Morris <rgm@gnu.org>
12659
5ec8a862
GM
12660 * mail/emacsbug.el: Don't require url-util.
12661
4b29d9fb
GM
12662 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12663
e145f188
GM
12664 * files.el (set-auto-mode):
12665 Also respect mode: entries at the end of the file. (Bug#8586)
12666
7d15102b
GM
126672011-05-26 Glenn Morris <rgm@gnu.org>
12668
98f593b8
GM
12669 * files.el (hack-local-variables-prop-line, hack-local-variables):
12670 Downcase mode names, as seems to be traditional.
27b48e63 12671 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12672
7d15102b
GM
12673 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12674 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12675
51d5b4ec
JD
126762011-05-25 Julien Danjou <julien@danjou.info>
12677
12678 * textmodes/rst.el (rst-define-level-faces): Do not define face
12679 symbol if it is already defined.
12680
91513f63
VB
126812011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12682
12683 * play/5x5.el (5x5-new-game, 5x5-randomize):
12684 Reset 5x5-solver-output to nil when a new grid is cast.
12685 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12686 these debugging traces, as defmacro breaks the compiled code.
12687
4d90d6d0
DK
126882011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12689
12690 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12691
e1b90ef6
LL
126922011-05-24 Leo Liu <sdl.web@gmail.com>
12693
12694 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12695 (vc-bzr-sha1): Adapt.
12696
d8e4b68b 12697 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12698
12699 * bindings.el: Provide sha1 feature.
12700
db0406bb 127012011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12702
12703 * mail/sendmail.el: Require `rfc2047'.
12704 (mail-insert-from-field): Do not perform RFC2047 encoding.
12705 (mail-encode-header): New function.
12706 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12707 buffer to the return value of select-message-coding-system.
12708 Call mail-encode-header.
b8d747b9
KH
12709
12710 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12711
db0406bb 127122011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12713
4d90d6d0
DK
12714 * mail/supercite.el (sc-default-cite-frame):
12715 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12716
eb8a5e9b
GM
127172011-05-24 Glenn Morris <rgm@gnu.org>
12718
f8630703
GM
12719 * progmodes/python.el (brm-menu): Declare.
12720
8831bbed
GM
12721 * emulation/viper.el (viper-set-hooks): Declare.
12722
eb8a5e9b
GM
12723 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12724 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12725 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12726 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12727 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12728 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12729
a2a25d24
SM
127302011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 Add an :exit-function for completion-at-point.
12733
12734 * minibuffer.el (completion--done): New fun.
12735 (completion--do-completion): Use it. New arg `expect-exact'.
12736 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12737 since completion--do-completion does it for us now.
12738 (minibuffer-force-complete): Use completion--done and
12739 completion--replace. Handle sole-completion case with more care.
12740 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12741 (completion-extra-properties): New var.
12742 (completion-annotate-function): Make obsolete.
12743 (minibuffer-completion-help): Adjust accordingly.
12744 Use completion-list-insert-choice-function.
12745 (completion-at-point, completion-help-at-point):
12746 Bind completion-extra-properties.
12747 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12748 * simple.el (completion-list-insert-choice-function): New var.
12749 (completion-setup-function): Preserve it.
12750 (choose-completion): Pay attention to it, shuffle the code a bit.
12751 (choose-completion-string): New arg `insert-function'.
12752
12753 * textmodes/bibtex.el: Convert to lexical binding.
12754 (bibtex-mode-map): Use completion-at-point.
12755 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12756 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12757 (bibtex-complete): Define as obsolete alias.
12758 (bibtex-complete-internal): Remove.
12759 (bibtex-format-entry): Remove unused sub-group in regexp.
12760 * shell.el (shell--command-completion-data)
12761 (shell-environment-variable-completion):
12762 * pcomplete.el (pcomplete-completions-at-point):
12763 * comint.el (comint--complete-file-name-data): Use :exit-function
12764 instead of completion-table-with-terminator so it also works for
12765 choose-completion.
12766
e44e373d
SM
127672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12768
4f91a816
SM
12769 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12770
782fc819
SM
12771 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12772 (bug#8710).
12773
e44e373d
SM
12774 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12775
381987c3
KM
127762011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12777
12778 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12779 customization variable and implement: If non-nil, auto-fill will
12780 be inhibited while on topic's header line.
12781
b776bc70
VB
127822011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12783
12784 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12785 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12786 always have a solution in grid size = 5 cases.
12787 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12788 (5x5-solver-output, 5x5-log-buffer): New vars.
12789 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12790 Make these variables buffer local to achieve 5x5 multi-session-ness.
12791 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12792 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12793 (5x5-solve-suggest): New funs.
12794 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12795 randomize a grid so that we ensure that there is always a solution.
12796 (5x5-make-random-grid): Allow other movement than flipping.
12797
7de88b6e
KR
127982011-05-23 Kevin Ryde <user42@zip.com.au>
12799
12800 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12801 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12802 advice and passes PREDICATE.
12803
b1ef1257
SM
128042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12805
bbca48fe
SM
12806 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12807 byte-compile-lambda if it's actually a lambda.
12808
b1ef1257
SM
12809 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12810 Fix function quoting. Use backquote better.
12811
92a9cc65
YS
128122011-05-22 Yuanle Song <sylecn@gmail.com>
12813
12814 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12815 matching (Bug#8516).
12816
f0fb8059
JA
128172011-01-22 Jari Aalto <jari.aalto@cante.net>
12818
12819 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12820 different face (Bug#8178).
12821
d5b44c93
CY
128222011-05-22 Chong Yidong <cyd@stupidchicken.com>
12823
12824 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12825 defface (Bug#8144).
12826
79106a44
SM
128272011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12828
9c848d8a
SM
12829 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12830 funcall as well (bug#8712). Warn when performing those conversions.
12831 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12832
79106a44
SM
12833 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12834
88dfa756
GM
128352011-05-22 Glenn Morris <rgm@gnu.org>
12836
12837 * files.el (hack-local-variables-prop-line): Small simplifications.
12838 (hack-local-variables, hack-local-variables-prop-line):
12839 If MODE-ONLY, return the mode, rather than just `t'.
12840
b7cf2c79
SM
128412011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12844
3f1a8558
GM
128452011-05-21 Glenn Morris <rgm@gnu.org>
12846
7e4ccca3
GM
12847 * files.el (hack-local-variables-prop-line, hack-local-variables):
12848 If only interested in the mode, don't bother doing the other stuff.
12849
637d46ca
GM
12850 * image-mode.el (image-after-revert-hook):
12851 Redraw all frames on which the image is visible. (Bug#8567)
12852
973d955b
GM
12853 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12854
3f1a8558
GM
12855 * wid-edit.el (widget-checklist-match-inline):
12856 Fix 2011-04-19 change. (Bug#8649)
12857
96479927
SM
128582011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12859
1dcf791f
SM
12860 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12861 Also allow singlespace after single-letter capitals followed by a dot.
12862
96479927
SM
12863 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12864 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12865
35fd0881
N
128662011-05-20 Nix <nix@esperi.org.uk>
12867
12868 * files.el (basic-save-buffer-2):
12869 Fix handling of break-hardlink-on-save with non-existent files.
12870
82745640
DD
128712011-05-19 Deniz Dogan <deniz@dogan.se>
12872
12873 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12874 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12875
4a720484
GM
128762011-05-19 Glenn Morris <rgm@gnu.org>
12877
d1f21341
GM
12878 * progmodes/f90.el (f90-type-def-re):
12879 Handle "type, bind(c)". (Bug#8691)
12880
4a720484
GM
12881 * emacs-lisp/autoload.el (batch-update-autoloads):
12882 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12883
2fb0a219
MA
128842011-05-18 Michael Albinus <michael.albinus@gmx.de>
12885
12886 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12887 property for the correct connection in case of multihops.
12888
e565dd37
GM
128892011-05-18 Glenn Morris <rgm@gnu.org>
12890
c2571358 12891 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12892 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12893
e565dd37
GM
12894 Rationalize calendar handling of day and month abbrev-arrays.
12895 * calendar/calendar.el (calendar-customized-p): New function.
12896 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12897 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12898 Add :set function.
12899 (calendar-abbrev-length, calendar-day-abbrev-array)
12900 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12901 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12902 Elements may no longer be nil.
12903 (calendar-day-name, calendar-month-name):
12904 Update for changed nature of abbrev arrays.
12905 * calendar/diary-lib.el (diary-name-pattern):
12906 Update for changed nature of abbrev arrays.
12907 (diary-mark-entries-1): Update calendar-make-alist calls.
12908 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12909 * calendar/cal-html.el (cal-html-day-abbrev-array):
12910 Simply inherit from calendar-day-abbrev-array.
12911
1d99a745
SM
129122011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * progmodes/grep.el (grep-mode): Disable default
12915 compilation-directory-matcher setting (bug#8684).
12916
7c1d9aa0
MA
129172011-05-17 Michael Albinus <michael.albinus@gmx.de>
12918
12919 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12920 instead of "head" and "tail". There were problems with SunOS 5.9,
12921 and it performs better.
12922
3952e9d8
GM
129232011-05-17 Glenn Morris <rgm@gnu.org>
12924
2dd12e7f
GM
12925 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12926
e4157b9c
GM
12927 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12928 Replace obsolete function.
12929
8e249bbd
GM
12930 * shell.el (pcomplete-parse-arguments-function): Declare.
12931
3952e9d8
GM
12932 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12933 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12934 (appt-check): Doc fixes.
12935 (appt-disp-window-function, appt-delete-window-function):
12936 Remove needless special case in custom :type.
12937 (appt-display-count): Default to 0, not nil.
12938 (appt-check): Reset appt-display-count to 0, not nil.
12939
c71a0d48 129402011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12941
c71a0d48
GM
12942 * progmodes/python.el (python-font-lock-keywords):
12943 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12944
31d55be9
SM
129452011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12948
3bfacb2f
KR
129492011-05-16 Kevin Ryde <user42@zip.com.au>
12950
12951 * info-look.el (makefile-automake-mode): New setups, looking in
12952 automake manual, then makefile-mode.
12953 (makefile-mode): Remove automake manual, have it just in
12954 makefile-automake-mode since there's various things different or
12955 not relevant to plain make.
12956 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12957 believe a hypothetical automake-mode would go to makefile-mode,
12958 not the other way around.
12959
c8e83751
CY
129602011-05-15 Chong Yidong <cyd@stupidchicken.com>
12961
5e9e35cd
CY
12962 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12963 hunk-end tags (Bug#8672).
12964
c8e83751
CY
12965 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12966 vc-annotate-show-diff-revision-at-line (Bug#8671).
12967
50b23e5a
GM
129682011-05-14 Glenn Morris <rgm@gnu.org>
12969
7210a739
GM
12970 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12971 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12972 (change-log-font-lock-keywords): Also handle multiple author lines
12973 with leading tabs. (Bug#8644)
7210a739 12974
4691905a
GM
12975 * calendar/appt.el (appt-check): Rename some local variables.
12976 Some simplification/reordering.
12977
50b23e5a
GM
12978 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12979 (feedmail-sendmail-f-doesnt-sell-me-out)
12980 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12981 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12982 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12983 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12984 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12985 (feedmail-binmail-gnulinuxish-template):
12986 Rename from feedmail-binmail-linuxish-template.
12987 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12988 Use insert-buffer-substring.
12989
215cda7c
BC
129902011-05-14 Bill Carpenter <bill@carpenter.org>
12991
12992 * mail/feedmail.el (feedmail-patch-level): Increase.
12993 (feedmail-debug): New custom group.
12994 (feedmail-confirm-outgoing-timeout)
12995 (feedmail-sendmail-f-doesnt-sell-me-out)
12996 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12997 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12998 (feedmail-sender-line, feedmail-from-line)
12999 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13000 (feedmail-spray-this-address)
215cda7c
BC
13001 (feedmail-spray-address-fiddle-plex-list)
13002 (feedmail-queue-use-send-time-for-date)
13003 (feedmail-queue-use-send-time-for-message-id)
13004 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13005 (feedmail-buffer-eating-function):
13006 Doc fixes.
13007 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13008 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13009 (feedmail-message-action-scroll-down): New functions.
13010 (feedmail-queue-directory, feedmail-queue-draft-directory):
13011 Use expand-file-name.
13012 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13013 Remove C-v help entry.
13014 (feedmail-queue-buffer-file-name): New variable.
13015 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13016 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13017 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13018 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13019 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13020 (feedmail-message-action-toggle-spray)
13021 (feedmail-run-the-queue-no-prompts)
13022 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13023 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13024 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13025 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13026 (feedmail-envelope-deducer, feedmail-fiddle-from)
13027 (feedmail-fiddle-sender, feedmail-default-date-generator)
13028 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13029 (feedmail-fiddle-spray-address)
13030 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13031 (feedmail-fiddle-list-of-fiddle-plexes)
13032 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13033 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13034 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13035 Change default. Doc fix.
13036 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13037 (feedmail-binmail-linuxish-template): New constant.
13038 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13039 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13040 (feedmail-send-it): Add debug call.
13041 Use feedmail-queue-buffer-file-name, and
13042 feedmail-send-it-immediately-wrapper.
13043 (feedmail-message-action-send): Add debug call.
13044 Use feedmail-send-it-immediately-wrapper.
13045 (feedmail-queue-express-to-queue): Add debug call.
13046 Run feedmail-queue-express-hook.
13047 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13048 (feedmail-message-action-help-blat):
13049 Rename from feedmail-queue-send-edit-prompt-help-first.
13050 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13051 Check line-endings. Handle errors better.
13052 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13053 Doc fix. Add debug call.
13054 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13055 Use feedmail-queue-send-edit-prompt-inner.
13056 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13057 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13058 from feedmail-queue-send-edit-prompt.
13059 (feedmail-queue-send-edit-prompt-help)
13060 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13061 (feedmail-tidy-up-slug): Add debug call.
13062 Respect feedmail-queue-slug-suspect-regexp.
13063 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13064 (feedmail-dump-message-to-queue): Add debug call.
13065 Expand queue-directory.
13066 (feedmail-dump-message-to-queue): Change message slightly.
13067 Use feedmail-say-chatter.
13068 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13069 (feedmail-send-it-immediately-wrapper): New function.
13070 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13071 Insert empty string rather than newline. Handle full-frame case.
13072 Use catch/throw. Use feedmail-say-chatter.
13073 (feedmail-fiddle-from): Try mail-host-address.
13074 (feedmail-default-message-id-generator): Doc fix.
13075 Bind system-time-locale. Handle missing end.
13076 (feedmail-fiddle-x-mailer): Add debug call.
13077 Handle feedmail-x-mailer-line being nil.
13078 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13079 Add debug call. Use buffer-substring-no-properties.
13080 (feedmail-say-debug, feedmail-say-chatter): New functions.
13081 (feedmail-find-eoh): Give an explicit error.
13082
42c7e61e
UJ
130832011-05-13 Ulf Jasper <ulf.jasper@web.de>
13084
c2571358 13085 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13086 family from helvetica to sans.
c2571358 13087 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13088 etc/images/newsticker.
13089
c2571358 13090 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13091 family from helvetica to sans.
13092
13093 * net/newst-plainview.el (newsticker-new-item-face)
13094 (newsticker-old-item-face, newsticker-immortal-item-face)
13095 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13096 (newsticker-statistics-face): Change default family from
42c7e61e 13097 helvetica to sans.
c2571358 13098 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13099 etc/images/newsticker.
13100
5d3385a0
JB
13101 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13102 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13103 auto-marking.
13104
8497a297
DV
131052011-05-13 Didier Verna <didier@xemacs.org>
13106
13107 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13108 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13109 TODO entries.
8497a297
DV
13110 (lisp-lambda-list-keyword-parameter-indentation)
13111 (lisp-lambda-list-keyword-parameter-alignment)
13112 (lisp-lambda-list-keyword-alignment): New customizable user options.
13113 (lisp-indent-defun-method): Improve docstring.
13114 (extended-loop-p): Fix comment.
13115 (lisp-indent-lambda-list-keywords-regexp): New variable.
13116 (lisp-indent-lambda-list): New function.
13117 (lisp-indent-259): Use it.
13118 (lisp-indent-defmethod): Support for more than one
13119 method qualifier and properly indent methods lambda-lists.
13120 (defgeneric): Provide a missing common-lisp-indent-function property.
13121
f278f87f
SM
131222011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13123
13124 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13125 bounds for the empty string (bug#8667).
13126
5233edd7
GM
131272011-05-13 Glenn Morris <rgm@gnu.org>
13128
5237a44f
GM
13129 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13130
8340026c 13131 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13132 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13133
5233edd7 13134 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13135 (appt-time-msg-list): Doc fix.
a5464014 13136 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13137
92d10796
AS
131382011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13139
13140 * progmodes/ld-script.el (ld-script-keywords)
13141 (ld-script-builtins): Update keywords list.
13142
914a0ae1
SM
131432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13144
c89be45f
SM
13145 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13146
914a0ae1
SM
13147 * shell.el (shell-completion-vars): New function.
13148 (shell-mode):
13149 * simple.el (read-shell-command): Use it.
13150 (blink-matching-open): No need for " [...]" in minibuffer-message.
13151
98dc3df3
GM
131522011-05-12 Glenn Morris <rgm@gnu.org>
13153
13154 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13155 (appt-check): Simplify.
13156
d2fc7e3d 131572011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13158
4d61f28d 13159 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13160 literal "/dev/null".
13161
d2fc7e3d 131622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13163
13164 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13165 Fix typo.
13166
d2fc7e3d 131672011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13168
3f254caa
SM
13169 * progmodes/which-func.el (which-function):
13170 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13171 which might not be defined (Bug#8260).
13172
d45885f7
GM
131732011-05-12 Glenn Morris <rgm@gnu.org>
13174
13175 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13176 Let byte-compile-initial-macro-environment always take precedence.
13177
488086f4
SM
131782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * net/rcirc.el: Add support for SSL/TLS connections.
13181 (rcirc-server-alist): New field `encryption'.
13182 (rcirc): Check `encryption' settings.
13183 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13184 Merge make-local-variable into `set'.
13185 (rcirc--connection-open-p): New function.
13186 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13187 the process is not a network process (e.g. running gnutls-cli).
13188 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13189 Make rcirc-(en|de)code-coding-system local here.
13190 (rcirc-mode): Merge make-local-variable into `set'.
13191 (rcirc-parent-buffer): Make permanent buffer-local.
13192 (rcirc-multiline-minor-mode): Don't do it here.
13193 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13194 there's no server buffer.
13195
7d3b9d44
GM
131962011-05-11 Glenn Morris <rgm@gnu.org>
13197
f64049c6
GM
13198 * newcomment.el (comment-kill): Prefix "unused" local.
13199
93c9df73
GM
13200 * term/w32console.el (get-screen-color): Declare.
13201
7d3b9d44
GM
13202 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13203 Handle symbol elements of byte-compile-initial-macro-environment.
13204
9e2dd53f
LL
132052011-05-10 Leo Liu <sdl.web@gmail.com>
13206
488086f4
SM
13207 * bookmark.el (bookmark-bmenu-mode-map):
13208 Bind bookmark-bmenu-search to `/'.
8b340240 13209
9e2dd53f 13210 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13211 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13212 (Footnote-unicode): New function.
13213 (footnote-style-alist): Add unicode style to the list.
13214 (footnote-style): Doc fix.
9e2dd53f 13215
79b70037
GM
132162011-05-10 Jim Meyering <meyering@redhat.com>
13217
13218 Fix doubled-word typos.
13219 * international/quail.el (quail-insert-kbd-layout): and and -> and
13220 * kermit.el: and and -> and
13221 * net/ldap.el (ldap-search-internal): to to -> to
13222 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13223 * progmodes/js.el (js-mode): and and -> and
13224 * textmodes/artist.el (artist-move-to-xy): at at -> at
13225 (artist-draw-region-trim-line-endings): if if -> if
13226 And Safetyc -> Safety.
13227 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13228
b8f82dc1 132292011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13230 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13231
13232 * files.el (hack-one-local-variable-eval-safep):
13233 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13234
4f99f44b
GM
132352011-05-10 Glenn Morris <rgm@gnu.org>
13236
13237 * calendar/diary-lib.el (diary-list-entries-hook)
13238 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13239 (diary-nongregorian-marking-hook, diary-list-entries)
13240 (diary-include-other-diary-files, diary-mark-entries)
13241 (diary-mark-included-diary-files): Doc fixes.
13242
84f29e6b
JB
132432011-05-09 Juanma Barranquero <lekktu@gmail.com>
13244
13245 * misc.el: Require tabulated-list.el during compilation.
13246
9bedd73a
CY
132472011-05-09 Chong Yidong <cyd@stupidchicken.com>
13248
488086f4
SM
13249 * progmodes/compile.el (compilation-start):
13250 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13251 (compilation-filter-hook): Doc fix.
13252
797c735c
DD
132532011-05-09 Deniz Dogan <deniz@dogan.se>
13254
13255 * wdired.el: Remove outdated installation comment. Fix usage
13256 comment.
13257
5f4b1dfe
JB
132582011-05-09 Juanma Barranquero <lekktu@gmail.com>
13259
13260 * misc.el: Implement new command `list-dynamic-libraries'.
13261 (list-dynamic-libraries--loaded-only-p): New variable.
13262 (list-dynamic-libraries--refresh): New function.
13263 (list-dynamic-libraries): New command.
13264
4c44026c
CY
132652011-05-09 Chong Yidong <cyd@stupidchicken.com>
13266
488086f4
SM
13267 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13268 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13269 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13270 higher priority to avoid clobbering by gnu.
13271
027f966d
CY
132722011-05-08 Chong Yidong <cyd@stupidchicken.com>
13273
13274 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13275 if the face has existing theme settings (Bug#8454).
13276
085f5d7d
CY
132772011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13278
488086f4
SM
13279 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13280 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13281
2a86a00c
RS
13282 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13283 special file names `.' and `..' (Bug#8259).
13284
d9c54a06
CY
132852011-05-08 Chong Yidong <cyd@stupidchicken.com>
13286
488086f4
SM
13287 * progmodes/grep.el (grep-mode-font-lock-keywords):
13288 Remove buffer-changing entries.
d9c54a06
CY
13289 (grep-filter): New function.
13290 (grep-mode): Add it to compilation-filter-hook.
13291
13292 * progmodes/compile.el (compilation-filter-hook)
13293 (compilation-filter-start): New defvars.
13294 (compilation-filter): Call compilation-filter-hook prior to
13295 updating the process mark.
13296
c4662635
SM
132972011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13300
b0512a1d
EZ
133012011-05-07 Eli Zaretskii <eliz@gnu.org>
13302
605c9376
EZ
13303 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13304 mailclient-send-it even if window-system is nil. (Bug#8595)
13305
c4662635
SM
13306 * term/w32console.el (terminal-init-w32console):
13307 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13308 background-mode. (Bug#8597)
13309
d1dc2cc2
SM
133102011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13313 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13314 New functions.
13315 (defgeneric, eieio--defmethod): Use them.
13316 (eieio-defgeneric): Remove.
13317 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13318
915d1300
GM
133192011-05-07 Glenn Morris <rgm@gnu.org>
13320
a3961c3e
GM
13321 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13322 Use let rather than let*.
13323 (timeclock-find-discrep): Remove unused local.
13324
314347b9
GM
13325 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13326
915d1300
GM
13327 * calendar/appt.el (appt-time-msg-list): Doc fix.
13328
275b59b0
NF
133292011-05-06 Noah Friedman <friedman@splode.com>
13330
13331 * apropos.el (apropos-print-doc): Only use
13332 emacs-lisp-docstring-fill-column when it is bound to an integer,
13333 per that variable's documentation.
13334
6c19f744
SM
133352011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13336
13337 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13338 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13339
60f884b2
GM
133402011-05-06 Glenn Morris <rgm@gnu.org>
13341
5006e634
GM
13342 * calendar/appt.el (appt-message-warning-time): Doc fix.
13343 (appt-warning-time-regexp): New option.
13344 (appt-make-list): Respect appt-message-warning-time.
13345
548d0a63
GM
13346 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13347 New options.
13348 (diary-add-to-list): Strip comments from the displayed string.
13349 (diary-mode): Set comment-start and comment-end.
13350
60f884b2
GM
13351 * vc/diff-mode.el (smerge-refine-subst): Declare.
13352 (diff-refine-hunk): Don't require smerge-mode when compiling.
13353
989681bb
JB
133542011-05-06 Juanma Barranquero <lekktu@gmail.com>
13355
13356 * simple.el (list-processes): Return nil as the docstring says.
13357
a6bc05e1
MA
133582011-05-05 Michael Albinus <michael.albinus@gmx.de>
13359
13360 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13361 to "".
13362 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13363 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13364 determining of binary transfer. (Bug#7383)
13365
23c22e9a
MA
133662011-05-05 Michael Albinus <michael.albinus@gmx.de>
13367
c4662635
SM
13368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13369 Fix port computation bug. (Bug#8618)
23c22e9a 13370
0bff894f
GM
133712011-05-05 Glenn Morris <rgm@gnu.org>
13372
b8296902
GM
13373 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13374
1f522ce8
GM
13375 * simple.el (shell-dynamic-complete-functions)
13376 (comint-dynamic-complete-functions): Declare.
13377
cf5bee67
GM
13378 * net/network-stream.el (gnutls-negotiate):
13379 * simple.el (tabulated-list-print): Fix declarations.
13380
13381 * progmodes/gud.el (syntax-symbol, syntax-point):
13382 Remove unnecessary and incorrect declarations.
13383
0bff894f
GM
13384 * emacs-lisp/check-declare.el (check-declare-scan):
13385 Handle byte-compile-initial-macro-environment in bytecomp.el
13386
9869b3ae
SM
133872011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 Fix earlier half-done eieio-defmethod change (bug#8338).
13390 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13391 Streamline and change calling convention.
13392 (defmethod): Adjust accordingly and simplify.
13393 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13394 new eieio--defmethod.
13395 (slot-boundp): Minor CSE simplification.
13396
9c1d5ac5
MZ
133972011-05-05 Milan Zamazal <pdm@zamazal.org>
13398
13399 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13400 (glasses-make-readable): Use glasses-separate-capital-groups.
13401
455c834e
JB
134022011-05-05 Juanma Barranquero <lekktu@gmail.com>
13403
13404 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13405 (warning-series): Doc fix.
13406 (display-warning): Don't try to create the buffer if we just found it.
13407
9ed7c8cb
CY
134082011-05-04 Chong Yidong <cyd@stupidchicken.com>
13409
13410 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13411 (autoload-find-generated-file): New function.
13412 (generate-file-autoloads): Bind generated-autoload-file to
13413 buffer-file-name.
9869b3ae
SM
13414 (update-file-autoloads, update-directory-autoloads):
13415 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13416 output file (Bug#7989).
13417 (batch-update-autoloads): Doc fix.
13418
0898ca10
JB
134192011-05-04 Juanma Barranquero <lekktu@gmail.com>
13420
13421 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13422
31dfb76c
GM
134232011-05-04 Glenn Morris <rgm@gnu.org>
13424
f330b642
GM
13425 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13426 function, so it follows changes in calendar-date-style.
13427 (diary-fancy-date-matcher): New function.
13428 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13429 (diary-fancy-font-lock-fontify-region-function):
13430 Use diary-fancy-date-pattern as a function.
13431
31dfb76c
GM
13432 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13433 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13434
48e79d6a
TZ
134352011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13436
13437 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13438 instead of positional arguments. Allow :keylist and :crlfiles
13439 arguments.
13440 (open-gnutls-stream): Call it.
13441
13442 * net/network-stream.el (network-stream-open-starttls): Adjust to
13443 call `gnutls-negotiate' with :process and :hostname arguments.
13444
dd5a5ee0
SM
134452011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13446
ef80fc09
SM
13447 * minibuffer.el (completion--message): New function.
13448 (completion--do-completion, minibuffer-complete)
13449 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13450 (completion--do-completion): Don't ignore completion-auto-help when in
13451 icomplete-mode.
13452
dd5a5ee0
SM
13453 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13454 internal encoding (e.g. tibetan zero is not whitespace).
13455 (global-whitespace-mode): Prefer save-current-buffer.
13456 (whitespace-trailing-regexp): Remove useless save-match-data.
13457 (whitespace-empty-at-bob-regexp): Minor simplification.
13458
b7d22a83
CY
134592011-05-03 Chong Yidong <cyd@stupidchicken.com>
13460
13461 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13462
5192af46
AM
134632011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13464
13465 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13466 Use `concat' to create string for insertion.
5192af46 13467
5767d190
SM
134682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13469
13470 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13471 Avoid open-line which runs post-self-insert-hook.
13472 (bibtex-fill-entry): Remove unused `end' var.
13473
bf242939
AM
134742011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13475
5767d190
SM
13476 * textmodes/ispell.el (ispell-add-per-file-word-list):
13477 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13478
25666126
LL
134792011-05-03 Leo Liu <sdl.web@gmail.com>
13480
13481 * isearch.el (isearch-yank-pop): New command.
5767d190 13482 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13483 (isearch-forward): Mention it.
13484
52d3c2d0
SM
134852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13486
1bcace58
SM
13487 * simple.el (minibuffer-complete-shell-command): Remove.
13488 (minibuffer-local-shell-command-map): Use completion-at-point.
13489 (read-shell-command): Setup completion vars here instead.
13490 (read-expression-map): Bind TAB to symbol completion.
13491
52d3c2d0
SM
13492 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13493 error directly rather via storing it into `results'.
13494
35813471
LL
134952011-05-02 Leo Liu <sdl.web@gmail.com>
13496
13497 * vc/diff.el: Fix description.
13498
e793a940
LMI
134992011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13500
13501 * server.el (server-eval-at): New function.
13502
8de66e05
LMI
135032011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13504
13505 * net/network-stream.el (open-network-stream): Take a :nowait
13506 parameter and pass it on to `make-network-process'.
13507 (network-stream-open-plain): Ditto.
13508
dcb79f20
AS
135092011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13510
13511 * faces.el (face-spec-set-match-display): Don't match toolkit
13512 options on terminal frames.
13513
14a7fbd8
SM
135142011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13515
7eabc1be
SM
13516 * progmodes/pascal.el: Use lexical binding.
13517 (pascal-mode-map): Remove author preferences.
13518
14a7fbd8
SM
13519 * pcomplete.el (pcomplete-std-complete): Don't abuse
13520 completion-at-point.
13521
50f84510
JB
135222011-04-28 Juanma Barranquero <lekktu@gmail.com>
13523
6e087a44
JB
13524 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13525 removing code that has been dead since 1991 or so.
13526
50f84510
JB
13527 * startup.el (command-line): When warning about "_emacs", use a
13528 delayed warning to allow the user to filter it out.
13529
0ba690bd
DD
135302011-04-28 Deniz Dogan <deniz@dogan.se>
13531
13532 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13533 user has not joined.
13534
08abfaad
SM
135352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13538 aren't any completions at point.
13539
638f053a
JB
135402011-04-28 Juanma Barranquero <lekktu@gmail.com>
13541
13542 * subr.el (display-delayed-warnings): New function.
13543 (delayed-warnings-hook): New variable.
13544
8fff8daa
SM
135452011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13546
08abfaad
SM
13547 * minibuffer.el (completion-at-point, completion-help-at-point):
13548 Don't presume that a given completion-at-point-function will always
13549 use the same calling convention.
13550
8fff8daa
SM
13551 * pcomplete.el (pcomplete-completions-at-point):
13552 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13553 pcomplete-seen is non-nil.
13554 (pcomplete-comint-setup): Also recognize the new comint/shell
13555 completion functions.
13556 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13557 pcomplete-seen is non-nil.
13558
841a1577 135592011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13560
841a1577 13561 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13562 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13563 the first character in the entry. This allows for code to add its
211ec907
UJ
13564 own uid to the entry.
13565 (icalendar--convert-float-to-ical): Add export of
13566 `diary-float'-entries save for those with the optional DAY
13567 argument.
13568
2a782793
DC
135692011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13570
13571 * subr.el (shell-quote-argument): Use alternate escaping strategy
13572 when we spot a variable reference in a string.
13573
0438ce91
DC
135742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13575
13576 * cus-start.el (all): Define customization for debug-on-event.
13577
841a1577 135782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13579
13580 * subr.el (shell-quote-argument): Escape correctly under Windows.
13581
d090ed6c
SM
135822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13583
13584 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13585
bfd31217
MA
135862011-04-25 Michael Albinus <michael.albinus@gmx.de>
13587
d090ed6c
SM
13588 * net/tramp.el (tramp-process-actions): Add POS argument.
13589 Delete region between POS and (pos).
bfd31217 13590
d090ed6c
SM
13591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13592 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13593 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13594
13595 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13596 position in `tramp-process-actions' call.
13597
13598 * net/trampver.el: Update release number.
13599
e92f3bd3
SM
136002011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13601
850256b5
SM
13602 * custom.el (defcustom): Obey lexical-binding.
13603
e92f3bd3
SM
13604 Fix octave-inf completion problems reported by Alexander Klimov.
13605 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13606 Inherit from octave-mode-syntax-table.
13607 (inferior-octave-mode): Set info-lookup-mode.
13608 (inferior-octave-completion-at-point): New function.
13609 (inferior-octave-complete): Use it and completion-in-region.
13610 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13611 comint-filename-completion.
13612 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13613 symbol elements which shouldn't be word elements.
13614 (octave-font-lock-keywords, octave-beginning-of-defun)
13615 (octave-function-header-regexp): Adjust regexps accordingly.
13616 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13617
cd22b309
JB
136182011-04-25 Juanma Barranquero <lekktu@gmail.com>
13619
13620 * net/gnutls.el (gnutls-errorp): Declare before first use.
13621
8b492194
TZ
136222011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13623
13624 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13625 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13626 default trustfile exists before going to use it. Add missing
5a5fa834 13627 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13628 Reported by Claudio Bley <claudio.bley@gmail.com>.
13629 (open-gnutls-stream): Add usage example.
13630
13631 * net/network-stream.el (network-stream-open-starttls): Give host
13632 parameter to `gnutls-negotiate'.
13633 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13634 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13635
841a1577 136362011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13637
cd22b309
JB
13638 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13639 Use correct match group (bug#8438).
05842630 13640
3ba7869c
CY
136412011-04-24 Chong Yidong <cyd@stupidchicken.com>
13642
512e3ae1
CY
13643 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13644 (package-menu--generate): New arg specifying packages to show.
13645 (package-menu-refresh, package-menu-execute, list-packages):
13646 Callers changed.
13647 (package-show-package-list): New function, replacing deleted
13648 package--list-packages (renamed because it is non-internal).
13649
13650 * finder.el (finder-list-matches): Use package-show-package-list
13651 instead of deleted package--list-packages.
13652
e92f3bd3
SM
13653 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13654 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13655 (vc-annotate-mode-map): Bind it to RET.
13656
7031be6d
UR
136572011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13658
13659 * progmodes/etags.el (next-file): Don't use set-buffer to change
13660 buffers (Bug#8478).
13661
4ef177aa
CY
136622011-04-24 Chong Yidong <cyd@stupidchicken.com>
13663
c8d173eb
CY
13664 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13665
4ef177aa
CY
13666 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13667 (apropos-accumulator): Doc fix.
13668 (apropos-function, apropos-macro, apropos-command)
13669 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13670 (apropos-plist): Add face property.
13671 (apropos-symbols-internal): Fix indentation.
13672 (apropos-print): Simplify help, and recognize apropos-multi-type.
13673 (apropos-print-doc): Use button-type-get to extract the button's
13674 face property. Fill docstring (Bug#8352).
13675
4ffd0d6b 136762011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13677
13678 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13679
c6c32125 13680 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13681 (mpuz-mode-map): Use mapc.
c6c32125
JB
13682 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13683 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13684 Fix typos in docstrings.
13685
58d468b4
JB
13686 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13687 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13688
6470c3c6
JB
13689 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13690
4ffd0d6b 136912011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13692
13693 * minibuffer.el (completion--do-completion): Avoid the "Next char
13694 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13695
3ad8bad0
CY
13696 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13697 mouse-2 into unread-command-events, it is interpreted correctly.
13698
71d73c9c 13699 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13700 (image-toggle-display): Doc fix.
71d73c9c 13701
841a1577 137022011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13703
4ffd0d6b
GM
13704 * textmodes/page.el (what-page): Use line-number-at-pos to
13705 calculate line number (Bug#6825).
6e1dbaa9 13706
c2fb1b60
JB
137072011-04-22 Juanma Barranquero <lekktu@gmail.com>
13708
13709 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13710 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13711 Pass argument NO-DEFAULT to `find-tag-interactive'.
13712
e02f48d7
JB
137132011-04-22 Juanma Barranquero <lekktu@gmail.com>
13714
13715 Lexical-binding cleanup.
13716
13717 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13718 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13719 * progmodes/ada-prj.el (ada-prj-initialize-values)
13720 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13721 (ada-prj-show-value):
13722 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13723 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13724 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13725 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13726 * progmodes/bug-reference.el (bug-reference-push-button):
13727 * progmodes/fortran.el (fortran-line-length):
13728 * progmodes/glasses.el (glasses-change):
13729 * progmodes/octave-mod.el (octave-fill-paragraph):
13730 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13731 (python-pdbtrack-grub-for-buffer, python-sentinel):
13732 * progmodes/sql.el (sql-save-connection):
13733 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13734 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13735 Mark unused parameters.
13736
13737 * progmodes/compile.el (compilation--flush-directory-cache)
13738 (compilation--flush-parse, compile-internal): Mark unused parameters.
13739 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13740 (compilation-next-error-function): Remove unused variable `timestamp'.
13741
13742 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13743 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13744
13745 * progmodes/dcl-mode.el (dcl-end-of-command):
13746 Remove unused variable `start'.
13747 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13748 (dcl-option-value-basic, dcl-option-value-offset)
13749 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13750 Mark unused parameters.
13751 (dcl-save-local-variable): Remove unused variable `val'.
13752 (mode): Declare.
13753
13754 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13755 Mark unused parameters.
13756 (delphi-ignore-changes): Move before first use.
13757 (delphi-charset-token-at): Remove unused variable `start'.
13758 (delphi-else-start): Remove unused variable `if-count'.
13759 (delphi-comment-block-start, delphi-comment-block-end):
13760 Remove unused variable `kind'.
13761 (delphi-indent-line): Remove unused variable `new-point'.
13762
13763 * progmodes/ebrowse.el (ebrowse-files-list)
13764 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13765 Mark unused parameters. Don't quote `lambda'.
13766 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13767 Don't quote `lambda'.
13768 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13769 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13770 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13771 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13772 Use `ignore-errors'.
13773 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13774 (ebrowse-view/find-file-and-search-pattern)
13775 (ebrowse-view/find-member-declaration/definition):
13776 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13777 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13778 Rename parameter PREFIX-ARG to PREFIX.
13779 (ebrowse-tags-read-name): Remove unused variables `start' and
13780 `member-info'.
13781 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13782 to `tags-file'.
13783
13784 * progmodes/etags.el (local-find-tag-hook): Declare.
13785 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13786 Mark unused parameters.
13787
13788 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13789 (executable-interpret): Mark unused parameter.
13790
13791 * progmodes/flymake.el (flymake-process-sentinel)
13792 (flymake-after-change-function)
13793 (flymake-create-temp-with-folder-structure)
13794 (flymake-get-include-dirs-dot): Mark unused parameters.
13795 (flymake-safe-delete-directory): Remove unused variable `err'.
13796
13797 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13798 (speedbar-timer-fn, speedbar-line-text)
13799 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13800 (speedbar-center-buffer-smartly): Declare functions.
13801 (gdb-find-watch-expression): Remove unused variable `array'.
13802 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13803 (gdb-starting): Mark unused parameters.
13804 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13805 (gdb-table-string): Remove unused variable `res'.
13806 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13807 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13808 (gdb-display-buffer): Remove unused variable `cur-size'.
13809
13810 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13811 allow lexical-binding compilation.
13812 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13813 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13814 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13815 Mark unused parameters.
13816 (gud-gdb-marker-filter): Remove unused variable `match'.
13817 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13818 lambda expressions and funcall them, instead of using `fset'.
13819
13820 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13821 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13822
13823 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13824 variable `header-beg'; use `let'.
13825
13826 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13827 `restart', `last-sexp' and `at-do'.
13828
13829 * progmodes/js.el (js--debug): Mark unused parameter.
13830 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13831 (js--splice-into-items): Remove unused variable `item'.
13832 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13833
13834 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13835 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13836 (makefile-complete): Remove unused variable `try'.
13837 (makefile-fill-paragraph, makefile-match-function-end):
13838 Mark unused parameters.
13839
13840 * progmodes/octave-inf.el (inferior-octave-complete):
13841 Remove unused variable `proc'.
13842 (inferior-octave-output-digest): Mark unused parameter.
13843
13844 * progmodes/perl-mode.el (perl-calculate-indent):
13845 Remove unused variable `err'.
13846
13847 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13848 (prolog-indent-line): Mark unused parameters.
13849 (prolog-indent-line): Remove unused variable `beg'.
13850
13851 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13852 (reporter-dont-compact-list): Declare.
13853
13854 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13855 Remove unused variable `char'.
13856 (sh-debug): Mark unused parameter.
13857 (sh-get-indent-info): Remove unused variable `start'.
13858 (sh-calculate-indent): Remove unused variable `var'.
13859
13860 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13861 (simula-electric-keyword): Remove unused variable `null'.
13862 (simula-search-backward, simula-search-forward): Remove unused
13863 variables `begin' and `end'.
13864
13865 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13866 Remove unused variable `pos'.
13867 (vera-electric-tab, vera-comment-uncomment-region):
13868 Mark unused parameters.
13869 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13870
7ede3b65
CY
138712011-04-22 Chong Yidong <cyd@stupidchicken.com>
13872
13873 * emacs-lisp/package.el (package--builtins, package-alist)
13874 (package-load-descriptor, package-built-in-p, package-activate)
13875 (define-package, package-installed-p)
13876 (package-compute-transaction, package-buffer-info)
13877 (package--push): Doc fix. Distinguish more clearly between
13878 version strings and version lists.
13879
121656e9
JB
138802011-04-21 Juanma Barranquero <lekktu@gmail.com>
13881
13882 Lexical-binding cleanup.
13883
13884 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13885 (5x5-make-mutate-best):
13886 * play/fortune.el (fortune-in-buffer):
13887 * play/gomoku.el (gomoku-init-display):
13888 * play/solitaire.el (solitaire, solitaire-do-check):
13889 * play/tetris.el (tetris-default-update-speed-function):
13890 Mark unused parameters.
13891
13892 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13893 (bubbles--shift): Remove unused variable `char-org'.
13894 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13895 (bubbles--show-images): Remove unused variable `char'.
13896
13897 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13898 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13899 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13900 (decipher-analyze-buffer): Use ?\s.
13901 (decipher-make-checkpoint): Remove unused variable `mapping'.
13902
13903 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13904
13905 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13906 Remove unused variable `result'; use `let'.
13907
13908 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13909 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13910 (gametree-children-shown-p, gametree-compute-reduced-score):
13911 Use `ignore-errors'.
13912
13913 * play/handwrite.el (ps-lpr-switches): Declare.
13914 (handwrite): Remove unused variables `pmin' and `lastp'.
13915
13916 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13917
13918 * play/landmark.el (landmark-init-display)
13919 (landmark-update-naught-weights): Mark unused parameters.
13920 (landmark-y): Remove unused variable `noise'. Simplify.
13921 (landmark-human-plays): Remove unused variable `score'.
13922
13923 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13924 (mpuz-try-proposal): Remove unused variable `game'.
13925
13926 * play/zone.el (life-patterns): Declare.
13927
80f499c7
JB
139282011-04-20 Juanma Barranquero <lekktu@gmail.com>
13929
13930 * vc/vc.el (ediff-vc-internal): Declare function.
13931
024ff170
SM
139322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13933
c0a193ea
SM
13934 * shell.el: Use lexical-binding and std completion UI.
13935 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13936 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13937 comint-preoutput-filter-functions rather than on
13938 comint-output-filter-functions.
13939 (shell-command-completion, shell--command-completion-data)
13940 (shell-filename-completion, shell-environment-variable-completion)
13941 (shell-c-a-p-replace-by-expanded-directory): New functions.
13942 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13943 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13944 (shell-dynamic-complete-environment-variable): Use them.
13945 (shell-dynamic-complete-as-environment-variable)
13946 (shell-dynamic-complete-as-command): Remove.
13947 (shell-match-partial-variable): Match past point.
13948 * comint.el: Clean up use of completion-at-point-functions.
13949 (comint-completion-at-point): New function.
13950 (comint-mode): Use it completion-at-point-functions.
13951 (comint-dynamic-complete): Make it obsolete.
13952 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13953 (comint-c-a-p-replace-by-expanded-history): New function.
13954 (comint-dynamic-complete-functions)
13955 (comint-replace-by-expanded-history): Use it.
13956 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13957 termination strings. Try harder to avoid second try-completion.
13958 (completion-in-region-mode-map): Disable bindings that don't work yet.
13959
2dbaa080
SM
13960 * comint.el: Use lexical-binding. Require CL.
13961 (comint-dynamic-complete-functions): Use comint-filename-completion.
13962 (comint-completion-addsuffix): Tweak custom type.
13963 (comint-filename-completion, comint--common-suffix)
13964 (comint--common-quoted-suffix, comint--table-subvert)
13965 (comint--complete-file-name-data): New functions.
13966 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13967 (comint-dynamic-list-filename-completions): Use them.
13968 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13969
2dbaa080
SM
13970 * minibuffer.el (completion-in-region-mode):
13971 Keep completion-in-region-mode--predicate global.
13972 (completion-in-region--postch):
13973 Assume completion-in-region-mode--predicate is not null.
13974
c79a6f38
SM
13975 * progmodes/flymake.el (flymake-start-syntax-check-process):
13976 Obey `dir'. Simplify.
13977
024ff170
SM
13978 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13979 we're in VC after all.
13980
1c6c854e
CS
139812011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13982
13983 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13984 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13985 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13986
bed7f140
SM
139872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13988
332e62ab
SM
13989 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13990 add sanity check.
13991
bed7f140
SM
13992 * obsolete/erc-hecomplete.el: Make obsolete.
13993 * obsolete/: Standardize obsolescence info in the header.
13994
f195c582
GM
139952011-04-20 Glenn Morris <rgm@gnu.org>
13996
13997 * calendar/solar.el (solar-horizontal-coordinates):
13998 Use the longitude argument rather than `calendar-longitude'.
13999 (solar-date-next-longitude): Remove unused locals.
14000
cb79b8c0
VJL
140012011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14002
14003 * whitespace.el: New version 13.2.1.
14004
140052011-04-20 felix <EmacsWiki> (tiny change)
14006
d8e4b68b 14007 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14008 switching between major modes on a file.
14009
602ea69d
SM
140102011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14011
14012 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14013 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14014 multi-line comments as well.
14015
06b60517
JB
140162011-04-19 Juanma Barranquero <lekktu@gmail.com>
14017
14018 Lexical-binding cleanup.
14019
14020 * arc-mode.el (archive-mode-revert):
14021 * cmuscheme.el (scheme-interactively-start-process):
14022 * custom.el (custom-initialize-delay):
14023 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14024 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14025 * emacs-lock.el (emacs-lock-clear-sentinel):
14026 * ezimage.el (defezimage):
14027 * follow.el (follow-avoid-tail-recenter):
14028 * fringe.el (set-fringe-mode-1):
14029 * generic-x.el (bat-generic-mode-compile):
14030 * help-mode.el (help-info-variable, help-do-xref)
14031 (help-mode-revert-buffer):
14032 * help.el (view-emacs-todo):
14033 * iswitchb.el (iswitchb-completion-help):
14034 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14035 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14036 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14037 * locate.el (locate-update):
14038 * longlines.el (longlines-encode-region)
14039 (longlines-after-change-function):
14040 * outline.el (outline-isearch-open-invisible):
14041 * ps-def.el (declare-function, charset-dimension, char-width)
14042 (encode-char):
14043 * ps-mule.el (ps-mule-plot-string):
14044 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14045 (recentf-edit-list-select, recentf-edit-list-validate)
14046 (recentf-open-files-action):
14047 * rect.el (delete-whitespace-rectangle-line)
14048 (rectangle-number-line-callback):
14049 * register.el (window-configuration-to-register)
14050 (frame-configuration-to-register):
14051 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14052 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14053 (xselect-convert-to-targets, xselect-convert-to-delete)
14054 (xselect-convert-to-filename, xselect-convert-to-charpos)
14055 (xselect-convert-to-lineno, xselect-convert-to-colno)
14056 (xselect-convert-to-os, xselect-convert-to-host)
14057 (xselect-convert-to-user, xselect-convert-to-class)
14058 (xselect-convert-to-name, xselect-convert-to-integer)
14059 (xselect-convert-to-atom, xselect-convert-to-identity):
14060 * subr.el (declare, ignore, process-kill-without-query)
14061 (text-clone-maintain):
14062 * terminal.el (te-get-char, te-tic-sentinel):
14063 * tool-bar.el (tool-bar-make-keymap):
14064 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14065 * type-break.el (type-break-mode, type-break-noninteractive-query):
14066 * view.el (View-back-to-mark):
14067 * wid-browse.el (widget-browse-action, widget-browse-widget)
14068 (widget-browse-widgets, widget-browse-sexp):
14069 * widget.el (define-widget-keywords):
14070 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14071 Mark unused parameters.
14072
14073 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14074 (align-areas): Remove unused variable `look'.
14075 (align-region): Remove unused variables `real-end' and `pos-list'.
14076
14077 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14078
14079 * bindings.el (mode-line-modified, mode-line-remote):
14080 Mark unused parameters.
14081 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14082
14083 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14084 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14085
14086 * comint.el (comint-history-isearch-pop-state)
14087 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14088 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14089 (comint-substitute-in-file-name): Doc fix.
14090
14091 * completion.el (cmpl-statistics-block): Mark unused parameter.
14092 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14093 (save-completions-to-file, load-completions-from-file):
14094 Remove unused local variable `e'.
14095
14096 * composite.el (compose-chars): Remove unused variable `len'.
14097 (lgstring-insert-glyph): Remove unused variable `g'.
14098 (compose-glyph-string): Remove unused variables `ascent',
14099 `descent', `lbearing' and `rbearing'.
14100 (compose-glyph-string-relative): Remove unused variables
14101 `lbearing', `rbearing' and `wadjust'.
14102 (compose-gstring-for-graphic): Remove unused variables `header',
14103 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14104 (compose-gstring-for-terminal): Remove unused variables `header'
14105 and `nchars'. Use `let', not `let*'.
14106
14107 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14108 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14109 (Custom-buffer-done, custom-buffer-create-internal)
14110 (custom-browse-visibility-action, custom-browse-group-tag-action)
14111 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14112 (widget-magic-mouse-down-action, custom-toggle-parent)
14113 (custom-add-parent-links, custom-toggle-hide-variable)
14114 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14115 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14116 (custom-face-menu-create, custom-variable-menu-create, get)
14117 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14118 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14119 (customize-apropos): Remove unused variable `tests'.
14120 (custom-group-value-create): Remove unused variable `hidden-p'.
14121 (sort-fold-case): Declare.
14122
14123 * cus-theme.el (custom-reset-standard-faces-list)
14124 (custom-reset-standard-variables-list): Declare.
14125 (customize-create-theme, custom-theme-revert, custom-theme-write)
14126 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14127 Mark unused parameters.
14128
14129 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14130
14131 * delim-col.el (delimit-columns-max): Move defvar before first use.
14132
14133 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14134 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14135
14136 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14137 (auto-insert): Declare.
14138 (desktop-restore-file-buffer): Rename desktop-* parameters;
14139 mark unused ones.
14140 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14141 (desktop-buffer): Rename desktop-* parameters.
14142
14143 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14144 (dframe-reposition-frame-xemacs, dframe-help-echo)
14145 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14146 Mark unused parameters.
14147
14148 * dired-aux.el (backup-extract-version-start, overwrite-query)
14149 (overwrite-backup-query, rename-regexp-query)
14150 (rename-non-directory-query): Declare.
14151 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14152 (dired-add-entry): Remove unused variable `orig-file-name'.
14153 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14154 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14155 `dired-copy-preserve-time' directly.
14156 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14157 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14158
14159 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14160 (dired-virtual-revert, dired-make-relative-symlink):
14161 Mark unused parameters.
14162 (manual-program): Declare.
14163 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14164 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14165 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14166
14167 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14168
14169 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14170
14171 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14172 Declare.
14173
14174 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14175
14176 * electric.el (Electric-command-loop): Rename parameter
14177 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14178
14179 * expand.el (expand-in-literal): Remove unused variable `here'.
14180
14181 * facemenu.el (facemenu-add-new-color):
14182 Remove unused variable `docstring'.
14183
14184 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14185 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14186 (face-attr-construct): Mark unused parameter. Doc fix.
14187 (read-color): Remove unused variable `hex-string'.
14188
14189 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14190 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14191 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14192 (display-buffer-other-frame): Remove unused variable `old-window'.
14193 (kill-buffer-hook): Declare.
14194 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14195 Mark unused parameters.
14196 (after-find-file): Pass 1 to `auto-save-mode', not t.
14197
14198 * files-x.el (auto-insert): Declare.
14199 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14200
14201 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14202 variable `buf'. Mark unused parameter.
06b60517
JB
14203 (find-lisp-insert-directory): Mark unused parameter.
14204
14205 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14206 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14207 (format-common-tail): Remove, unused.
14208 (format-deannotate-region): Remove unused variable `loc'.
14209 (format-annotate-region): Remove unused variable `p'.
14210 (format-annotate-single-property-change): Remove unused variables
14211 `default' and `tail'.
14212
14213 * forms.el (read-file-filter): Declare.
14214 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14215
14216 * frame.el (frame-creation-function-alist): Mark unused parameter.
14217 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14218
14219 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14220 Remove unused parameters.
14221 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14222 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14223
14224 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14225 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14226 (hfy-prepare-tag-map): Mark unused parameters.
14227 (htmlfontify-buffer): Use `called-interactively-p'.
14228
14229 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14230 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14231 (ibuffer-do-occur): Mark unused parameters.
14232 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14233 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14234
14235 * ibuffer.el: Don't quote `lambda'.
14236 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14237 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14238 Mark unused parameters.
14239
14240 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14241 (ido-completing-read): Mark unused parameters.
14242 (ido-copy-current-word): Mark unused parameters;
14243 remove unused variable `name'.
14244 (ido-sort-merged-list): Remove unused parameter `dirs'.
14245
14246 * ielm.el (ielm-input-sender): Mark unused parameter.
14247 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14248 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14249 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14250 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14251 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14252
14253 * image-dired.el (image-dired-display-thumbs): Remove unused
14254 variables `curr-file' and `count'.
14255 (image-dired-remove-tag): Remove unused variable `start'.
14256 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14257 variable `curr-file'
14258 (image-dired-rotate-original): Remove unused variable `temp-file'.
14259 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14260 Remove unused variable `file'.
14261 (image-dired-gallery-generate): Remove unused variable `curr'.
14262 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14263
14264 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14265
14266 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14267
14268 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14269
14270 * isearch.el (minibuffer-history-symbol): Declare.
14271 (isearch-edit-string): Remove unused variable `err'.
14272 (isearch-message-prefix, isearch-message-suffix):
14273 Mark unused parameters.
14274
14275 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14276
14277 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14278
14279 * makesum.el (double-column): Remove unused variable `cnt'.
14280
14281 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14282 (ido-ignore-item-temp-list): Declare.
14283
14284 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14285 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14286 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14287 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14288 `mouse-col-delta'.
14289
14290 * mouse-sel.el (mouse-extend-internal):
14291 Remove unused variable `orig-window-frame'.
14292
14293 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14294 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14295 Move declarations before first use.
14296 (pcomplete-opt): Mark unused parameters; doc fix.
14297
14298 * proced.el (proced-revert): Mark unused parameter.
14299 (proced-send-signal): Remove unused variable `err'.
14300
14301 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14302 Rename parameter PREFIX-ARG to ARG.
14303 (ps-basic-plot-string, ps-basic-plot-whitespace):
14304 Mark unused parameters.
14305
14306 * replace.el (replace-count): Define.
14307 (occur-revert-function): Mark unused parameters.
14308 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14309 (isearch-case-fold-search, isearch-string): Declare.
14310 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14311 bind `case-fold-search'. Remove unused variables `beg' and `end',
14312 and simplify.
14313 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14314 COUNT and bind `replace-count'.
14315 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14316 to COUNT.
14317
14318 * savehist.el (print-readably, print-string-length): Declare.
14319
14320 * shadowfile.el (shadow-expand-cluster-in-file-name):
14321 Remove unused variable `cluster'.
14322 (shadow-copy-file): Remove unused variable `i'.
14323 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14324 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14325 (shadow-define-literal-group, shadow-define-regexp-group)
14326 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14327
14328 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14329 (shell): Use `called-interactively-p'.
14330 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14331
14332 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14333 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14334 (delete-backward-char): Remove unused variable `ocol'.
14335 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14336 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14337 (event-apply-hyper-modifier, event-apply-shift-modifier)
14338 (event-apply-control-modifier, event-apply-meta-modifier):
14339 Mark unused parameters.
14340 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14341 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14342
14343 * speedbar.el (speedbar-ignored-directory-expressions)
14344 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14345 (speedbar-find-file, speedbar-dir-follow)
14346 (speedbar-directory-buttons-follow, speedbar-tag-find)
14347 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14348 (speedbar-buffers-line-directory, speedbar-buffer-click):
14349 Mark unused parameters.
14350 (speedbar-tag-file): Remove unused variable `mode'.
14351 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14352
14353 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14354
14355 * talk.el (talk): Remove unused variable `display'.
14356
14357 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14358 (tar-write-region-annotate): Mark unused parameter.
14359
14360 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14361 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14362 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14363 warning by another.
14364
14365 * time-stamp.el (time-stamp-string-preprocess):
14366 Remove unused variable `require-padding'.
14367
14368 * tree-widget.el (widget-glyph-enable): Declare.
14369 (tree-widget-action): Mark unused parameter.
14370
14371 * w32-fns.el (x-get-selection): Mark unused parameter.
14372 (autoload-make-program, generated-autoload-file): Declare.
14373
14374 * wdired.el (wdired-revert): Mark unused parameters.
14375 (wdired-xcase-word): Remove unused variable `err'.
14376
14377 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14378 (whitespace-help-scroll): Remove unused variable `data-help'.
14379
14380 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14381 (widget-image-insert, widget-after-change, default)
14382 (widget-default-format-handler, widget-default-notify)
14383 (widget-default-prompt-value, widget-info-link-action)
14384 (widget-url-link-action, widget-function-link-action)
14385 (widget-variable-link-action, widget-file-link-action)
14386 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14387 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14388 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14389 (widget-insert-button-action, widget-delete-button-action, visibility)
14390 (widget-documentation-link-action, widget-documentation-string-action)
14391 (widget-const-prompt-value, widget-regexp-match, symbol)
14392 (widget-coding-system-prompt-value)
14393 (widget-key-sequence-value-to-external, sexp)
14394 (widget-sexp-value-to-internal, character, vector, cons)
14395 (widget-choice-prompt-value, widget-boolean-prompt-value)
14396 (widget-color--choose-action): Mark unused parameters.
14397 (widget-item-match-inline, widget-choice-match-inline)
14398 (widget-checklist-match, widget-checklist-match-inline)
14399 (widget-group-match): Rename parameter VALUES to VALS.
14400 (widget-field-value-set): Remove unused variable `size'.
14401 (widget-color-action): Remove unused variables `value' and `start'.
14402
14403 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14404 variable `dir'. Doc fix.
06b60517
JB
14405 (windmove-find-other-window): Don't pass it.
14406
14407 * window.el (count-windows): Mark unused parameter.
14408 (bw-adjust-window): Remove unused variable `err'.
14409
14410 * woman.el (woman-file-name): Remove unused variable `default'.
14411 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14412 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14413 (global-font-lock-mode): Declare.
14414 (woman-decode-region): Mark unused parameter.
14415 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14416
14417 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14418 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14419 (x-dnd-handle-moz-url): Remove unused variable `title'.
14420 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14421
14422 * xml.el (xml-parse-tag, xml-parse-attlist):
14423 Remove unused variable `pos'.
14424
bc4f7f3d
GM
144252011-04-19 Glenn Morris <rgm@gnu.org>
14426
14427 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14428 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14429 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14430 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14431 * calendar/cal-html.el (cal-html-insert-minical):
14432 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14433 (calendar-mark-date-pattern):
14434 Prefix "unused" locals.
14435
14436 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14437 optional argument `style'.
14438
14439 * calendar/appt.el (appt-make-list):
14440 * calendar/cal-china.el (calendar-chinese-date-string):
14441 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14442 (diary-hebrew-yahrzeit):
14443 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14444 * calendar/calendar.el (calendar-generate-window):
14445 * calendar/time-date.el (time-to-days):
14446 Remove unused local variables.
14447
16a43933
CY
144482011-04-18 Chong Yidong <cyd@stupidchicken.com>
14449
14450 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14451 glyphless-char-display table.
14452 (tabulated-list-glyphless-char-display): New var.
14453
7eed1860
SS
144542011-04-18 Sam Steingold <sds@gnu.org>
14455
14456 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14457 to acknowledgments.
14458
4d2d1ccd
GM
144592011-04-17 Glenn Morris <rgm@gnu.org>
14460
14461 * calendar/diary-lib.el (diary-sexp-entry):
14462 * calendar/holidays.el (holiday-sexp):
14463 Set debug-on-error rather than the removed stack-trace-on-error.
14464
239da61d
GM
144652011-04-16 Glenn Morris <rgm@gnu.org>
14466
14467 * progmodes/f90.el: Use lexical-binding.
14468 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14469
8b05752a
SM
144702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14471
daca8ba5
SM
14472 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14473 (mail-mode): Setup mailalias completion here instead.
14474 * mail/mailalias.el: Use lexical-binding.
14475 (pattern, mailalias-done): Declare dynamic.
14476 (mail-completion-at-point-function): New function, from mail-complete.
14477 (mail-complete): Use it.
14478 (mail-completion-expand): New function.
14479 (mail-get-names): Use it.
14480 (mail-directory, mail-directory-process, mail-directory-stream):
14481 Don't use `pattern' for lexically bound arg.
14482
6f542485
SM
14483 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14484
037e7c3f
SM
14485 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14486 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14487 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14488
8b05752a
SM
14489 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14490 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14491 (byte-interactive-p): Define them again, for use when inlining
14492 old code.
14493
49093f60
JB
144942011-04-15 Juanma Barranquero <lekktu@gmail.com>
14495
14496 * loadup.el: Use `string-to-number', not `string-to-int'.
14497
b5b8e7de
SM
144982011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14499
14500 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14501 gud-gdb-complete-command.
14502 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14503 (gud-gdb-completion-at-point): New function.
14504 (gud-gdb-completions): Remove.
14505
f42efeb5
MA
145062011-04-14 Michael Albinus <michael.albinus@gmx.de>
14507
49093f60
JB
14508 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14509 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14510 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14511 whether `executable-find' is bound.
f42efeb5
MA
14512
14513 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14514
e240cc21
SM
145152011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * minibuffer.el (completion-in-region-mode-predicate)
14518 (completion-in-region-mode--predicate): New vars.
14519 (completion-in-region, completion-in-region--postch)
14520 (completion-in-region-mode): Use them.
14521 (completion--capf-wrapper): Also return the hook function.
14522 (completion-at-point, completion-help-at-point):
14523 Adjust and provide a predicate.
c2bd2ab0
SM
14524
14525 Preserve arg names for advice of subr and lexical functions (bug#8457).
14526 * help-fns.el (help-function-arglist): Consolidate the subr and
14527 new-byte-code cases. Add argument `preserve-names' to extract names
14528 from the docstring when needed.
14529 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14530 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14531 (ad-arglist): Use help-function-arglist's new arg.
14532 (ad-definition-type): Use cond.
14533
c183f693
JB
145342011-04-13 Juanma Barranquero <lekktu@gmail.com>
14535
06641a47
JB
14536 * autorevert.el (auto-revert-handler):
14537 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14538 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14539 Don't quote lambda.
14540
c183f693
JB
14541 * image-mode.el (image-transform-set-scale):
14542 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14543
1e3b6001
G
145442011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14545
14546 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14547 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14548 Upgrades via gnutls-cli are too slow to be done opportunistically.
14549
2d6af8dd
JB
145502011-04-12 Juanma Barranquero <lekktu@gmail.com>
14551
14552 * dframe.el (dframe-current-frame): Remove spurious quote.
14553
c0749a51
GM
145542011-04-12 Glenn Morris <rgm@gnu.org>
14555
088d0d61
GM
14556 * calendar/cal-tex.el (cal-tex-end-document):
14557 Try to automatically use latin1 input if needed.
14558
c0749a51
GM
14559 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14560 Don't try to cons a mark onto an empty element.
14561
5c90fde0
LL
145622011-04-11 Leo Liu <sdl.web@gmail.com>
14563
14564 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14565 buffers.
14566 (ido-kill-buffer-at-head): Support killing virtual buffers.
14567
369e974d
CY
145682011-04-10 Chong Yidong <cyd@stupidchicken.com>
14569
14570 * minibuffer.el (completion-show-inline-help): New var.
14571 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14572 (minibuffer-force-complete, minibuffer-complete-word):
14573 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14574
14575 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14576 to avoid interference from inline help (Bug#5849).
14577
37f1c930
LL
145782011-04-10 Leo Liu <sdl.web@gmail.com>
14579
099c39a4
JB
14580 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14581 Fix typo.
37f1c930 14582
a32d4040
CY
145832011-04-09 Chong Yidong <cyd@stupidchicken.com>
14584
14585 * image-mode.el (image-toggle-display-image): Signal an error if
14586 not in Image mode.
14587 (image-transform-mode, image-transform-resize)
14588 (image-transform-set-rotation): Doc fix.
daca8ba5 14589 (image-transform-set-resize): Delete.
a32d4040
CY
14590 (image-transform-set-scale, image-transform-fit-to-height)
14591 (image-transform-fit-to-width): Handle image-toggle-display-image
14592 and image-transform-resize directly.
14593
099c39a4 145942011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14595
14596 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14597 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14598 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14599 (doc-view-mode-map): Add bindings for the new functions.
14600
099c39a4 146012011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14602
4d61f28d 14603 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14604 Fix typo in docstring.
14605
3726838a
EZ
146062011-04-08 Eli Zaretskii <eliz@gnu.org>
14607
04f33f1e
EZ
14608 * files.el (file-size-human-readable): Produce one digit after
14609 decimal, like "ls -lh" does.
14610
14611 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14612 the file size representation.
14613
3726838a
EZ
14614 * simple.el (list-processes): If async subprocesses are not
14615 available, error out with a clear error message.
14616
cbb59342
CY
146172011-04-08 Chong Yidong <cyd@stupidchicken.com>
14618
14619 * help.el (help-form-show): New function, to be called from C.
14620 Put help-form output in a buffer named differently than *Help*.
14621
e3971c44
EZ
146222011-04-08 Eli Zaretskii <eliz@gnu.org>
14623
14624 * files.el (file-size-human-readable): New function.
14625
14626 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14627 computing the representation inline. Don't require `cl'.
14628
12544bbe
GM
146292011-04-08 Glenn Morris <rgm@gnu.org>
14630
a1de6c6a
GM
14631 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14632
3c4671f4
GM
14633 * net/browse-url.el (browse-url-firefox):
14634 Test system-type, not system-configuration.
14635
b605679c
GM
14636 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14637 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14638 Use log-edit-empty-buffer-p. (Bug#7598)
14639
56442f0c
GM
14640 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14641 (rlogin-mode-map): Initialize in the defvar.
14642 (rlogin): Use ignore-errors.
14643
12544bbe
GM
14644 * replace.el (occur-mode-map): Some fixes for menu items.
14645
eb237b0f
AH
146462011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14647
14648 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14649
7d668f2c
CY
146502011-04-06 Chong Yidong <cyd@stupidchicken.com>
14651
e67a13ab
CY
14652 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14653 issuing unused warnings.
14654
14655 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14656 macro directly.
14657
7d668f2c
CY
14658 * simple.el: Lisp reimplement of list-processes. Based on an
14659 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14660 (process-menu-mode): New major mode.
14661 (list-processes--refresh, list-processes):
14662 (process-menu-visit-buffer): New functions.
14663
14664 * files.el (save-buffers-kill-emacs): Don't assume any return
14665 value of list-processes, which is undocumented anyway.
14666
a83ec3c9
CY
146672011-04-06 Chong Yidong <cyd@stupidchicken.com>
14668
14669 * emacs-lisp/tabulated-list.el: New file.
14670
e91a96fe
CY
14671 * emacs-lisp/package.el: Use Tabulated List mode.
14672 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14673 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14674 table format using Tabulated List mode variables.
14675 (package--push): New macro, replacing package-list-maybe-add.
14676 (package-menu--generate): Use package--push. Renamed from
14677 package--generate-package-list.
14678 (package-menu-refresh, list-packages): Use it.
daca8ba5 14679 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14680 Return insertion data instead of inserting it directly.
099c39a4
JB
14681 (package-menu-describe-package, package-menu-execute):
14682 Use tabulated-list-get-id.
e91a96fe
CY
14683 (package-menu-mark-delete, package-menu-mark-install)
14684 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14685 (package-menu-mark-obsolete-for-deletion):
14686 Use tabulated-list-put-tag.
e91a96fe
CY
14687 (package--list-packages, package-menu-revert)
14688 (package-menu-get-package, package-menu-get-version)
14689 (package-menu-sort-by-column): Functions deleted.
14690 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14691 (package-menu--status-predicate, package-menu--version-predicate)
14692 (package-menu--name-predicate)
14693 (package-menu--description-predicate): Handle arguments in the
14694 Tabulated List format.
14695 (package-list-packages-no-fetch): Call list-packages.
14696
3e214b50
JB
146972011-04-06 Juanma Barranquero <lekktu@gmail.com>
14698
14699 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14700 (after-find-file): Don't bind it.
3e214b50
JB
14701 (revert-buffer-in-progress-p): New variable.
14702 (revert-buffer): Bind it.
14703 Pass nil for `after-find-file-from-revert-buffer'.
14704
14705 * saveplace.el (save-place-find-file-hook): Use new variable
14706 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14707
3f0f1700
GM
147082011-04-06 Glenn Morris <rgm@gnu.org>
14709
c0274801
GM
14710 * Makefile.in (AUTOGEN_VCS): New variable.
14711 (autoloads): Use $AUTOGEN_VCS.
14712
3f0f1700
GM
14713 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14714 * calendar/calendar.el (calendar-mode-map):
14715 Check for toolkit scroll bars. (Bug#8305)
14716
41ea9e48
CY
147172011-04-05 Chong Yidong <cyd@stupidchicken.com>
14718
14719 * minibuffer.el (completion-in-region--postch)
14720 (completion-in-region-mode): Remove unnecessary messages.
14721
6194c800
JB
147222011-04-05 Juanma Barranquero <lekktu@gmail.com>
14723
33256f14
JB
14724 * font-lock.el (font-lock-refresh-defaults):
14725 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14726 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14727
6194c800
JB
14728 * info.el (Info-directory-list, Info-read-node-name-2)
14729 (Info-split-parameter-string): Doc fixes.
14730 (Info-virtual-nodes): Reflow docstring.
14731 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14732 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14733 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14734 Fix typos in docstrings.
14735 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14736 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14737 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14738 (Info-restore-desktop-buffer): Mark unused parameters.
14739 (Info-directory-find-file, Info-directory-find-node)
14740 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14741 (Info-virtual-index-find-node, Info-apropos-find-file)
14742 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14743 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14744 (Info-virtual-index): Remove unused local variable `nodename'.
14745
b87a8200 147462011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14747
b87a8200
DD
14748 * net/rcirc.el: Update my e-mail address.
14749 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14750
3b2ff876
CY
147512011-04-05 Chong Yidong <cyd@stupidchicken.com>
14752
14753 * startup.el (command-line): Save the cursor's theme-face
14754 directly, instead of using face-override-spec.
14755
14756 * custom.el (load-theme): Minor optimization in assigning faces.
14757
8d17e7ca
JB
147582011-04-04 Juanma Barranquero <lekktu@gmail.com>
14759
14760 * help-fns.el (describe-variable): Complete all variables having
14761 documentation, including keywords.
14762 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14763
2fbc1934
JB
147642011-04-04 Juanma Barranquero <lekktu@gmail.com>
14765
14766 Convert to lexical-binding.
14767
14768 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14769 (bs--get-marked-string, bs--get-modified-string)
14770 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14771 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14772 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14773
14774 * ehelp.el (electric-help-execute-extended)
14775 (electric-help-ctrl-x-prefix):
14776 * hexl.el (hexl-revert-buffer-function):
14777 * linum.el (linum-after-change, linum-after-scroll):
14778 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14779
14780 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14781
74f50695
DU
147822011-04-04 Daiki Ueno <ueno@unixuser.org>
14783
14784 * epa-dired.el:
14785 * epa-mail.el:
14786 * epa-hook.el:
14787 * epa-file.el:
14788 * epa.el:
14789 * epg.el: Use lexical binding.
14790
c11325f7
CY
147912011-04-03 Chong Yidong <cyd@stupidchicken.com>
14792
0d9e9a12
CY
14793 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14794
c11325f7 14795 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14796 dictionary case for flyspell-mark-duplications-exceptions.
14797 Use regexp matching for languages.
c11325f7
CY
14798 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14799 default dictionary (Bug#7926).
14800
da91b5f2
CY
148012011-04-02 Chong Yidong <cyd@stupidchicken.com>
14802
099c39a4
JB
14803 * emacs-lisp/package.el (package--with-work-buffer):
14804 Recognize https URLs.
da91b5f2 14805
099c39a4
JB
14806 * net/network-stream.el: Move from gnus/proto-stream.el.
14807 Change prefix to network-stream throughout.
da91b5f2
CY
14808 (open-protocol-stream): Merge into open-network-stream, leaving
14809 open-protocol-stream as an alias. Handle nil BUFFER args.
14810
14811 * subr.el (open-network-stream): Move to net/network-stream.el.
14812
afa8e9f6
GM
148132011-04-02 Glenn Morris <rgm@gnu.org>
14814
1d2e369d
GM
14815 * find-dired.el (find-exec-terminator): New option.
14816 (find-ls-option): Test for -ls support.
14817 (find-ls-subdir-switches): Test for -b in find-ls-option.
14818 (find-dired, find-grep-dired): Doc fixes.
14819 (find-dired): Use find-exec-terminator.
14820
8abb7da8 14821 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14822 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14823 (find-name-arg): Remove purecopy.
8abb7da8 14824
f3ca7378
GM
14825 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14826 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14827 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14828 accordingly. Don't add the null-device if not needed.
14829
afa8e9f6
GM
14830 * files.el (save-some-buffers): Doc fix.
14831
35eae264
EZ
148322011-04-02 Eli Zaretskii <eliz@gnu.org>
14833
14834 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14835
26b51db5
JB
148362011-04-01 Juanma Barranquero <lekktu@gmail.com>
14837
14838 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14839 Use `dolist' rather than `mapcar'.
14840
7200d79c
SM
148412011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14842
03408648 14843 Add lexical binding.
7200d79c 14844
03408648
SM
14845 * subr.el (apply-partially): Use new closures rather than CL.
14846 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14847 (dolist, dotimes): Use slightly different expansion for lexical code.
14848 (functionp): Move to C.
14849 (letrec): New macro.
14850 (with-wrapper-hook): Use it and apply-partially instead of CL.
14851 (eval-after-load): Preserve lexical-binding.
14852 (save-window-excursion, with-output-to-temp-buffer): Turn them
14853 into macros.
7200d79c 14854
03408648
SM
14855 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14856
14857 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14858 than the arglist.
14859 (help-add-fundoc-usage): Don't add `Not documented'.
14860 (help-function-arglist): Handle closures, subroutines, and new
14861 byte-code-functions.
14862 (help-make-usage): Remove leading underscores.
14863 (describe-function-1): Handle closures.
14864 (describe-variable): Use special-variable-p for completion.
14865
14866 * files.el (lexical-binding): Declare safe.
f488fb65 14867
03408648
SM
14868 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14869 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14870 (pcase): Add `let' pattern.
14871 Change memoization so it actually works.
14872 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14873 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14874 <let>: New case.
f488fb65 14875
03408648
SM
14876 * emacs-lisp/macroexp.el: Use lexical binding.
14877 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14878 Don't convert ' to #' without checking that it's indeed quoting
14879 a lambda.
14880
14881 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14882 Use eval-sexp-add-defvars.
03408648
SM
14883 (eval-sexp-add-defvars): New fun.
14884
14885 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14886
14887 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14888 Don't autoload.
14889 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14890 than the internal `byte-compile-lambda'.
14891 (defmethod): Don't hide code under quotes.
14892 (eieio-defmethod): New `code' argument.
14893
14894 * emacs-lisp/eieio-comp.el: Remove.
14895
14896 * emacs-lisp/edebug.el (edebug-eval-defun)
14897 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14898 (edebug-toggle): Avoid `eval'.
14899
14900 * emacs-lisp/disass.el (disassemble-internal): Handle new
14901 `closure' objects.
14902 (disassemble-1): Handle new byte codes.
14903
14904 * emacs-lisp/cl.el (pushnew): Silence warning.
14905
14906 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14907 (cl-byte-compile-throw): Remove.
14908 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14909
14910 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14911 closures.
14912
14913 * emacs-lisp/cconv.el: New file.
14914
14915 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14916 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14917 (byte-compile-initial-macro-environment):
14918 Handle declare-function here.
14919 (byte-compile--lexical-environment): New var.
14920 (byte-stack-ref, byte-stack-set, byte-discardN)
14921 (byte-discardN-preserve-tos): New lap codes.
14922 (byte-interactive-p): Don't use any more.
14923 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14924 New macros.
14925 (byte-compile-lapcode): Use them and handle new lap codes.
14926 (byte-compile-obsolete): Remove.
14927 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14928 (byte-compile-arglist-warn): Check late def of inlinable funs.
14929 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14930 since they should have been expanded by now.
14931 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14932 (byte-compile-from-buffer): Remove unused second arg.
14933 (byte-compile-preprocess): New function.
14934 (byte-compile-toplevel-file-form): New function to distinguish
14935 file-form calls from outside from file-form calls from hunk-handlers.
14936 (byte-compile-file-form): Simplify.
14937 (byte-compile-file-form-defsubst): Remove.
14938 (byte-compile-file-form-defmumble): Simplify now that
14939 byte-compile-lambda always returns a byte-code-function.
14940 (byte-compile): Preprocess.
14941 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14942 Remove, not used any more.
14943 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14944 (byte-compile-make-args-desc): New funs.
14945 (byte-compile-lambda): Handle lexical functions. Always return
14946 a byte-code-function.
14947 (byte-compile-reserved-constants): New var, to make up room for
14948 closed-over variables.
14949 (byte-compile-constants-vector): Obey it.
14950 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14951 (byte-compile-macroexpand-declare-function): New function.
14952 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14953 byte-code-functions.
14954 (byte-compile-form): Check obsolescence here.
14955 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14956 (byte-compile-variable-ref): Remove.
14957 (byte-compile-dynamic-variable-op): New fun.
14958 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14959 (byte-compile-variable-set): New funs.
14960 (byte-compile-discard): Add 2 args.
14961 (byte-compile-stack-ref, byte-compile-stack-set)
14962 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14963 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14964 macroexpand-all instead.
14965 (byte-compile-quote-form): Remove.
14966 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14967 (byte-compile-bind, byte-compile-unbind): New funs.
14968 (byte-compile-let): Handle let* and lexical binding.
14969 (byte-compile-let*): Remove.
14970 (byte-compile-catch, byte-compile-unwind-protect)
14971 (byte-compile-track-mouse, byte-compile-condition-case):
14972 Handle a new :fun-body form, used for lexical scoping.
14973 (byte-compile-save-window-excursion)
14974 (byte-compile-with-output-to-temp-buffer): Remove.
14975 (byte-compile-defun): Simplify.
14976 (byte-compile-stack-adjustment): New fun.
14977 (byte-compile-out): Use it.
14978 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14979
14980 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14981 handler any more.
14982
14983 * emacs-lisp/byte-opt.el: Use lexical binding.
14984 (byte-inline-lapcode): Remove (to bytecomp).
14985 (byte-compile-inline-expand): Pay attention to inlining to/from
14986 lexically bound code.
14987 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14988 any more.
14989 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14990 any more and don't call compiler-macros.
14991 (byte-compile-splice-in-already-compiled-code): Remove.
14992 (byte-code): Don't inline any more.
14993 (disassemble-offset): Receive `bytes' as argument rather than via
14994 dynamic scoping.
14995 (byte-compile-tag-number): Declare before first use.
14996 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14997 `return' even if make-spliceable.
14998 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14999 obsolete interactive-p.
15000 (byte-optimize-lapcode): Optimize new lap-codes.
15001 Don't trip up on new form of `byte-constant' lap code.
15002
15003 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15004
15005 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15006
15007 * custom.el (custom-initialize-default, custom-declare-variable):
15008 Use `defvar'.
15009
15010 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15011 New variables.
15012 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15013 (COMPILE_FIRST): Add macroexp and cconv.
15014 * makefile.w32-in: Mirror changes in Makefile.in.
15015
15016 * vc/cvs-status.el:
15017 * vc/diff-mode.el:
15018 * vc/log-edit.el:
15019 * vc/log-view.el:
15020 * vc/smerge-mode.el:
15021 * textmodes/bibtex-style.el:
15022 * textmodes/css.el:
15023 * startup.el:
15024 * uniquify.el:
da91b5f2
CY
15025 * minibuffer.el:
15026 * newcomment.el:
15027 * reveal.el:
15028 * server.el:
15029 * mpc.el:
15030 * emacs-lisp/smie.el:
15031 * doc-view.el:
15032 * dired.el:
03408648
SM
15033 * abbrev.el: Use lexical binding.
15034
0f0c1f27
EZ
150352011-04-01 Eli Zaretskii <eliz@gnu.org>
15036
15037 * info.el (info-display-manual): New function.
15038
c82b2579
SM
150392011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15042
221ddf68
TH
150432011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15044
15045 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15046 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15047
cba6e77e
GM
150482011-03-31 Glenn Morris <rgm@gnu.org>
15049
e040639f
GM
15050 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15051
cba6e77e
GM
15052 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15053
6d0f1c9e
CS
150542011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15055
15056 * progmodes/python.el (python-default-interpreter)
15057 (python-python-command-args, python-jython-command-args)
15058 (python-which-shell, python-which-args, python-which-bufname)
15059 (python-file-queue, python-comint-output-filter-function)
15060 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15061 variables and functions.
15062
3e2d70fd
SM
150632011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15066 (completion-in-region-mode): New minor mode.
15067 (completion-in-region): Use it.
15068 (completion-in-region--data, completion-in-region-mode-map): New vars.
15069 (completion-in-region--postch): New function.
15070 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15071 New vars.
15072 (completion--capf-wrapper): New function.
15073 (completion-at-point): Use it to track well-behavedness of
15074 hook functions.
15075 (completion-help-at-point): New command.
15076
f3e4086c
JM
150772011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15078
15079 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15080 syntax class to search for whitespace on a single line
15081 (Message-ID: <4D938140.4030905@redhat.com>).
15082
eb7ffc14
LL
150832011-03-30 Leo Liu <sdl.web@gmail.com>
15084
15085 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15086 New commands.
15087 (edit-abbrevs-map): Bind them here.
15088 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15089
d806ab68
KM
150902011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15091
15092 * allout.el (allout-hide-by-annotation, allout-flag-region):
15093 Reduce possibility of overlay leakage by making them volatile.
15094
15095 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15096 hash is not shared between buffers. Mode initialization is
15097 responsible for giving it a useful starting value.
15098 (allout-item-span): Reduce possibility of overlay leakage by
15099 making them volatile.
15100 (allout-widgets-count-buttons-in-region): Add diagnostic function
15101 for tracking down button overlay leaks.
15102
ea622834
LL
151032011-03-29 Leo Liu <sdl.web@gmail.com>
15104
15105 * ido.el (ido-read-internal): Use the default history var
15106 minibuffer-history if no HISTORY is specified.
15107
b62f8267
G
151082011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15109
03408648
SM
15110 * net/imap.el (imap-shell-open, imap-process-connection-type):
15111 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15112 Kerberos, SSL, other subprocesses.
15113
947b6566
LL
151142011-03-28 Leo Liu <sdl.web@gmail.com>
15115
15116 * abbrev.el (abbrev-table-empty-p): New function.
15117 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15118 nonempty ones. (Bug#5937)
15119
5ffb62aa
JD
151202011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15121
15122 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15123
7a097943
LL
151242011-03-27 Leo Liu <sdl.web@gmail.com>
15125
15126 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15127 for foreground and background colors.
15128 (ansi-color-make-color-map): Adapt.
15129
c5b40130
LL
151302011-03-25 Leo Liu <sdl.web@gmail.com>
15131
1f48f7d2
LL
15132 * midnight.el (midnight-time-float): Remove. Note it calculates
15133 the microsecond component incorrectly and seconds-to-time does the
15134 same job.
625897ec 15135 Remove redundant (require 'timer).
1f48f7d2 15136
c5b40130
LL
15137 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15138 (ido-completions): Remove unused arguments. (Bug#8329)
15139
d86d2721
SM
151402011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 * minibuffer.el (completion--flush-all-sorted-completions):
15143 Remove itself from hook.
15144 (completion-at-point): Let the functions perform the completion
15145 immediately and return nil or t.
15146 * comint.el (comint-dynamic-complete-functions): Now identical to
15147 completion-at-point-functions.
15148 (comint-dynamic-list-input-ring): Remove unused var `index'.
15149 (comint--match-partial-filename, comint--unquote&expand-filename):
15150 New funs, split from comint-match-partial-filename.
15151 (comint-dynamic-complete): Use completion-at-point.
15152 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15153
e8974c48
DA
151542011-03-24 Drew Adams <drew.adams@oracle.com>
15155
15156 * thingatpt.el: Support `defun'.
15157
def71b5e
LL
151582011-03-23 Leo Liu <sdl.web@gmail.com>
15159
cb5af48e
LL
15160 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15161
def71b5e
LL
15162 * help-mode.el (help-mode-finish): Tweak regexp.
15163
927c53e7
GM
151642011-03-23 Glenn Morris <rgm@gnu.org>
15165
18d05bed
GM
15166 * eshell/esh-opt.el (eshell-eval-using-options):
15167 Do not bind unused local variable `eshell-option-stub'.
15168
927c53e7
GM
15169 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15170
9d0da923
JB
151712011-03-22 Juanma Barranquero <lekktu@gmail.com>
15172
15173 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15174 keymap variable in `with-no-warnings' to avoid a warning when the
15175 keymap has been already `defconst'ed.
15176
4b978a67
LL
151772011-03-22 Leo Liu <sdl.web@gmail.com>
15178
15179 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15180 encode all chars in abbrevs; otherwise use emacs-mule or
15181 utf-8-emacs. (Bug#8308)
15182
5fd62452
JB
151832011-03-22 Juanma Barranquero <lekktu@gmail.com>
15184
0b1596c6
JB
15185 * simple.el (backward-delete-char-untabify):
15186 Avoid warning about using `delete-backward-char'.
15187
5fd62452
JB
15188 * image.el (image-type-file-name-regexps): Make it variable.
15189 `imagemagick-register-types' modifies it, and the user may want
15190 to add new extensions for known image types.
15191 (imagemagick-register-types): Throw error if not using ImageMagick.
15192
0b4e93f1
LL
151932011-03-22 Leo Liu <sdl.web@gmail.com>
15194
15195 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15196 located before rcirc-prompt-end-marker.
15197 (rcirc-complete): Error if point is not after rcirc prompt.
15198 Handle the case when table is nil.
9882e214 15199 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15200
fccee4ab
CY
152012011-03-22 Chong Yidong <cyd@stupidchicken.com>
15202
15203 * custom.el (custom--inhibit-theme-enable): Make it affect only
15204 custom-theme-set-variables and custom-theme-set-faces.
15205 (provide-theme): Ignore custom--inhibit-theme-enable.
15206 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15207 (custom-enabling-themes): Delete variable.
d86d2721
SM
15208 (enable-theme): Accept only loaded themes as arguments.
15209 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15210 (custom-enabled-themes): Forbid themes from setting this.
15211 Eliminate use of custom-enabling-themes.
15212 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15213
af896da6
LL
152142011-03-21 Leo Liu <sdl.web@gmail.com>
15215
15216 * ido.el (ido-read-internal): Add ido-selected to history instead
15217 of user input.
15218
78f64af0
SM
152192011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15220
15221 * subr.el (deferred-action-list, deferred-action-function):
15222 Mark obsolete.
15223
b16ac1ec
LL
152242011-03-21 Leo Liu <sdl.web@gmail.com>
15225
810f7698
LL
15226 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15227 change on 2011-02-13 (bug#8309).
15228
b16ac1ec
LL
15229 * minibuffer.el (read-file-name-function): Change default value.
15230 (read-file-name--defaults): Rename from read-file-name-defaults.
15231 (read-file-name-default): Rename from read-file-name.
15232 (read-file-name): Call read-file-name-function.
15233
4e05e67e
GM
152342011-03-21 Glenn Morris <rgm@gnu.org>
15235
15236 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15237 Doc fixes.
15238
4359915b
CY
152392011-03-21 Chong Yidong <cyd@stupidchicken.com>
15240
15241 * cus-theme.el: Add missing provide statement.
15242 (customize-create-theme): Extract theme value correctly.
15243 (custom-theme-visit-theme): Autoload.
15244 (customize-create-theme): Prompt before inserting default faces.
15245
1fe275ee
JB
152462011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15247
15248 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15249 units and musical notes.
15250
cd394be1 152512011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15252
15253 * ido.el (ido-read-internal): Use completing-read-default.
15254 (ido-completing-read): Fix compatibility with completing-read.
15255
7d476bde
CO
152562011-03-20 Christian Ohler <ohler@gnu.org>
15257
15258 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15259 (ert-delete-all-tests): Use `called-interactively-p' rather than
15260 `interactive-p'.
15261 (ert--make-xrefs-region): Respect END.
15262
fe0fb33e
CY
152632011-03-19 Chong Yidong <cyd@stupidchicken.com>
15264
ff854b0b
CY
15265 * dired-aux.el (dired-create-directory): Signal an error if the
15266 directory already exists (Bug#8246).
15267
fe0fb33e
CY
15268 * facemenu.el (list-colors-display): Call list-faces-display
15269 inside with-help-window.
15270 (list-colors-print): Use display property to align the final
15271 column, instead of checking window-width.
15272
576bce32
EZ
152732011-03-19 Eli Zaretskii <eliz@gnu.org>
15274
4d61f28d 15275 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15276 windows-nt systems.
15277 (emerge-protect-metachars): Quote correctly for ms-dos and
15278 windows-nt systems.
15279
89c41d68 152802011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15281
15282 * info.el (info-initialize): Replace all uses of `:' with
15283 path-separator for compatibility with non-Unix systems.
15284 Cache quoting of path-separator. (Bug#8258)
15285
b14e3e21 152862011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15287
15288 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15289 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15290 (mouse-avoidance-mode): Fix typos in docstrings.
15291
4525ce3e
CY
152922011-03-19 Chong Yidong <cyd@stupidchicken.com>
15293
15294 * startup.el (package-subdirectory-regexp): Move from package.el.
15295 Omit \\` and \\', and let callers add them.
15296
15297 * emacs-lisp/package.el (package-strip-version)
15298 (package-load-all-descriptors): Add \\` and \\' to
15299 package-subdirectory-regexp before using it.
15300 (package-untar-buffer): New arg DIR; ensure that file untars only
15301 into this expected directory. Remove superfluous delete-region.
15302 (package-unpack): Caller changed.
15303 (package-tar-file-info): Use package-subdirectory-regexp.
15304
a904a09a 153052011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15306
a904a09a
SM
15307 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15308 diff-mode-shared-map (bug#8284).
15309 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15310
153112011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15312
15313 * calendar/time-date.el (format-seconds): Use assoc instead of
15314 assoc-string, since assoc-string doesn't exist in XEmacs.
15315
171fc304
JB
153162011-03-17 Juanma Barranquero <lekktu@gmail.com>
15317
15318 * custom.el (custom-known-themes): Reflow docstring.
15319 (custom-theme-load-path): Fix typo in docstring.
15320 (load-theme): Fix typo in error message.
15321 (custom-available-themes, custom-variable-theme-value):
15322 Use `let', not `let*'.
15323
d71990a1
JB
153242011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15325
15326 * calc/README: Mention inclusion of musical notes.
15327
15328 * calc/calc-units.el (calc-lu-quant): Rename from
15329 `calc-logunits-quantity'.
15330 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15331 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15332 (calc-db): Rename from `calc-dblevel'.
15333 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15334 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15335 (calc-np): Rename from `calc-nplevel'.
15336 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15337 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15338 (calc-lu-plus): Rename from `calc-logunits-add'.
15339 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15340 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15341 (calc-lu-minus): Rename from `calc-logunits-sub'.
15342 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15343 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15344 (calc-lu-times): Rename from `calc-logunits-mul'.
15345 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15346 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15347 (calc-lu-divide): Rename from `calc-logunits-div'.
15348 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15349 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15350
15351 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15352 functions being autoloaded.
15353
15354 * calc/calc.el (calc-lu-power-reference): Rename from
15355 `calc-logunits-power-reference'.
15356 (calc-lu-field-reference): Rename from
15357 `calc-logunits-field-reference'.
15358
7a71b18d
GM
15359 * calc/calc-help.el (calc-l-prefix-help):
15360 Mention musical note functions.
d71990a1 15361
40c2934b
SM
153622011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15363
15364 * minibuffer.el (completion-all-sorted-completions):
15365 Use :completion-cycle-penalty text property if present.
15366
b0911414
KM
153672011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15368
15369 * allout.el (allout-yank-processing): Adjust for new rebulleting
15370 regime so bullet being yanked is used without prompting the user
15371 for a choice.
15372
8a05b668
JB
153732011-03-16 Juanma Barranquero <lekktu@gmail.com>
15374
15375 * startup.el (command-line): Warn the user that _emacs is deprecated.
15376
5ba5fb81
JB
153772011-03-16 Juanma Barranquero <lekktu@gmail.com>
15378
15379 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15380 (delphi-verbose, delphi-comment-face, delphi-string-face)
15381 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15382 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15383 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15384 (delphi-new-comment-line, delphi-font-lock-defaults)
15385 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15386 Fix typos in docstrings.
15387
2dab465b
KM
153882011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15389
5ba5fb81 15390 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15391 Invert the roles of character and string values for INSTEAD, so a
15392 string is used for the more common case of a defaulting prompt.
15393
0adf5618
SM
153942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15395
15396 * progmodes/ruby-mode.el (ruby-backward-sexp):
15397 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15398 * play/gamegrid.el (gamegrid-make-face):
15399 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15400 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15401 * notifications.el (notifications-notify):
15402 * net/xesam.el (xesam-search-engines):
15403 * net/quickurl.el (quickurl-list-insert):
15404 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15405
d72700e5
CY
154062011-03-15 Chong Yidong <cyd@stupidchicken.com>
15407
15408 * startup.el (command-line): Update package subdirectory regexp.
15409
49c5410a
SM
154102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15411
c6eee9aa
SM
15412 * allout.el (allout-abbreviate-flattened-numbering)
15413 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15414
49c5410a
SM
15415 * subr.el (read-char-choice): Only show the cursor after the prompt,
15416 not after the answer.
15417
047b2bb9
KR
154182011-03-15 Kevin Ryde <user42@zip.com.au>
15419
15420 * help-fns.el (variable-at-point): Skip leading quotes, if any
15421 (bug#8253).
15422
0a57d256
SM
154232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15424
15425 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15426 warning message.
15427
77c992bc
MA
154282011-03-14 Michael Albinus <michael.albinus@gmx.de>
15429
15430 * shell.el (shell): When called interactively, offer to change the
15431 shell file name on remote hosts.
15432
eebc475d
TZ
154332011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15434
15435 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15436 integration for LDAP parameters. The host, base, user or binddn,
15437 and secret tokens can be specified in a netrc file, for instance.
15438 This is optional because an `auth-source' parameter must be
15439 specified in the search attributes.
15440
9d05d1ba
JB
154412011-03-13 Juanma Barranquero <lekktu@gmail.com>
15442
15443 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15444
09d9db2c
GM
154452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15448 into declaration. Remove redundant and harmful binding.
15449
154502011-03-12 Eli Zaretskii <eliz@gnu.org>
15451
15452 * files.el (file-ownership-preserved-p): Pass `integer' as an
15453 explicit 2nd argument to `file-attributes'. If the file's owner
15454 is the Administrators group on Windows, and the current user is
15455 Administrator, consider that a match.
15456
15457 * server.el (server-ensure-safe-dir): Consider server directory
15458 safe on MS-Windows if its owner is the Administrators group while
15459 the current Emacs user is Administrator. Use `=' to compare
15460 numerical UIDs, since they could be integers or floats.
15461
219bd536
JB
154622011-03-12 Juanma Barranquero <lekktu@gmail.com>
15463
15464 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15465
f3afd36b
MA
154662011-03-12 Michael Albinus <michael.albinus@gmx.de>
15467
15468 Sync with Tramp 2.2.1.
15469
15470 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15471
15472 * net/trampver.el: Update release number.
15473
3aaaa6f1
SM
154742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15475
94642599
SM
15476 * progmodes/compile.el (compilation--previous-directory): Fix up
15477 various nil/dead-marker mismatches (bug#8014).
15478 (compilation-directory-properties, compilation-error-properties):
15479 Don't call it at a position past the one we're about to change.
15480
3aaaa6f1
SM
15481 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15482 Disable obsolescence warnings in the file that declares it.
15483
14239447
KM
154842011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15485
099c39a4
JB
15486 * allout-widgets.el (allout-widgets-tally):
15487 Initialize allout-widgets-tally as a hash table rather than nil to
15488 prevent mode-line redisplay warnings. Also, clarify the module
15489 description and fix a comment typo.
14239447 15490
135e287c
JB
154912011-03-11 Juanma Barranquero <lekktu@gmail.com>
15492
15493 * help-fns.el (describe-variable): Don't complete keywords.
15494 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15495
ffbf300e
CY
154962011-03-10 Chong Yidong <cyd@stupidchicken.com>
15497
ba08b241
CY
15498 * emacs-lisp/package.el (package-version-join): Impose a standard
15499 string representation for pre/alpha/beta version lists.
15500 (package-unpack-single): Standardize the directory name by passing
15501 it through package-version-join.
15502 (package-strip-rcs-id): Accept any version string that does not
15503 signal an error in version-to-list.
ffbf300e 15504
f346fd6b
MA
155052011-03-10 Michael Albinus <michael.albinus@gmx.de>
15506
15507 * simple.el (delete-trailing-whitespace): Return nil for the
15508 benefit of `write-file-functions'.
15509
ccb55d27
GM
155102011-03-10 Glenn Morris <rgm@gnu.org>
15511
5ceaac0c
GM
15512 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15513
02da65ff
GM
15514 * vc/vc-git.el (vc-git-program): New option.
15515 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15516 (vc-git--call): Use it.
15517
b2f603cc
GM
15518 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15519
5772caab
GM
15520 * cus-edit.el (Custom-newline): If no button at point, look
15521 for a subgroup button at start-of-line. (Bug#2298)
15522
ccb55d27
GM
15523 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15524
ec6ecaed
JD
155252011-03-10 Julien Danjou <julien@danjou.info>
15526
15527 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15528 `cursor-type' is nil.
15529
9d5aa01d
JB
155302011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15531
15532 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15533
b6a5875b
KM
155342011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15535
7a71b18d 15536 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15537 preserves the existing header prefix, rebulleting it if necessary,
15538 rather than replacing it. This is necessary for proper operation
15539 of cooperative addons like allout-widgets.
1154d12e
JB
15540 (allout-make-topic-prefix, allout-rebullet-heading):
15541 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15542 value as alternate bullet to be used, instead of prompting the user
15543 for a bullet character.
b6a5875b 15544
ee545c35
MA
155452011-03-09 Michael Albinus <michael.albinus@gmx.de>
15546
d86d2721
SM
15547 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15548 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15549 `tramp-default-port'.
15550
c47971d7
DD
155512011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15552
15553 * net/rcirc.el (rcirc-handler-001): Remove useless
15554 with-rcirc-process-buffer.
15555 (rcirc-check-auth-status): Swap arguments to string-match.
15556
13522cb4
GM
155572011-03-09 Glenn Morris <rgm@gnu.org>
15558
0be6f4f1
GM
15559 * shell.el (shell-mode):
15560 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15561
13522cb4
GM
15562 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15563 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15564
515de2e3
CY
155652011-03-08 Chong Yidong <cyd@stupidchicken.com>
15566
15567 * emacs-lisp/package.el (package-refresh-contents)
15568 (package-menu-execute): Use condition-case-no-debug.
15569
b511b994
MA
155702011-03-08 Michael Albinus <michael.albinus@gmx.de>
15571
15572 * simple.el (shell-command-to-string): Use `process-file'.
15573
15574 * emacs-lisp/package.el (package-tar-file-info): Handle also
15575 remote files.
15576
d86d2721
SM
15577 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15578 Use `equal' for upload base check.
b511b994 15579
25bbfb31
AM
155802011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15581
15582 * textmodes/texinfo.el (texinfo-environments):
15583 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15584
be996521
GM
155852011-03-08 Glenn Morris <rgm@gnu.org>
15586
e9c8529f
GM
15587 * cus-start.el (cursor-in-non-selected-windows):
15588 Fix :set quoting oddness. (Bug#8192)
15589
be996521
GM
15590 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15591 in some setf expressions. (Bug#2159)
15592
2bb5649e
CY
155932011-03-08 Chong Yidong <cyd@stupidchicken.com>
15594
15595 * custom.el (custom-available-themes): Return themes in
15596 alphabetical order.
15597
33383987 15598See ChangeLog.15 for earlier changes.
e3d51b27
MR
15599
15600;; Local Variables:
15601;; coding: utf-8
e3d51b27
MR
15602;; End:
15603
acaf905b 15604 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15605
15606 This file is part of GNU Emacs.
15607
15608 GNU Emacs is free software: you can redistribute it and/or modify
15609 it under the terms of the GNU General Public License as published by
15610 the Free Software Foundation, either version 3 of the License, or
15611 (at your option) any later version.
15612
15613 GNU Emacs is distributed in the hope that it will be useful,
15614 but WITHOUT ANY WARRANTY; without even the implied warranty of
15615 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15616 GNU General Public License for more details.
15617
15618 You should have received a copy of the GNU General Public License
15619 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.