1 2013-05-11 Glenn Morris <rgm@gnu.org>
3 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4 Treat cc-provide like provide.
6 2013-05-11 Kevin Ryde <user42@zip.com.au>
8 * cus-dep.el (custom-make-dependencies):
9 Use generated-autoload-load-name for the sake of files such
10 such cedet/semantic/bovine/c.el, where the base file name
11 is not in load-path. (Bug#5277)
13 2013-05-11 Glenn Morris <rgm@gnu.org>
15 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
18 2013-05-11 Leo Liu <sdl.web@gmail.com>
20 * progmodes/octave.el (octave-indent-comment): Improve.
21 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22 (octave-eldoc-function-signatures, octave-eldoc-function): New
24 (octave-mode, inferior-octave-mode): Add eldoc support.
26 2013-05-11 Richard Stallman <rms@gnu.org>
28 * epa.el (epa-decrypt-file): Take output file name as argument
29 and read it using `interactive'.
31 2013-05-11 Leo Liu <sdl.web@gmail.com>
33 * progmodes/octave.el (octave-beginning-of-line)
34 (octave-end-of-line): Check before using up-list because it jumps
35 out of more syntactic contructs since moving to smie.
36 (octave-indent-comment): New function.
37 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
38 (octave-begin-keywords, octave-end-keywords)
39 (octave-reserved-words, octave-smie-bnf-table)
40 (octave-smie-rules): Add new keywords from Octave 3.6.4.
42 2013-05-11 Glenn Morris <rgm@gnu.org>
44 * faces.el (internal-face-x-get-resource):
45 * frame.el (ns-display-monitor-attributes-list):
46 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
48 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
50 * calc/calc-menu.el: Make it loadable in isolation.
52 * net/eudcb-bbdb.el: Make it loadable without bbdb.
53 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
54 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
55 (eudc-bbdb-query-internal): Require 'bbdb.
57 * lpr.el (lpr-headers-switches):
58 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
60 * progmodes/sql.el (sql-login-params): Fix and improve :type.
62 * emulation/edt-mapper.el: In batch mode, error rather than hang.
64 * term.el (term-set-escape-char): Make it idempotent.
66 2013-05-10 Leo Liu <sdl.web@gmail.com>
68 * progmodes/octave.el (inferior-octave-completion-table): No
69 longer a function and all uses changed. Use cache to speed up
70 completion due to bug#11906.
71 (octave-beginning-of-defun): Re-write to be more general.
73 2013-05-10 Glenn Morris <rgm@gnu.org>
75 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
77 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
79 * comint.el (comint-redirect-send-command-to-process): Use :around
80 rather than :override for comint-redirect-filter.
81 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
82 Call it instead of comint-redirect-original-filter-function (which
83 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
85 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
87 * frame.el (display-monitor-attributes-list): Add NS case.
88 (ns-display-monitor-attributes-list): Declare.
90 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
92 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
94 2013-05-09 Glenn Morris <rgm@gnu.org>
96 * international/fontset.el (vertical-centering-font-regexp):
99 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
101 * bookmark.el (bookmark-search-delay):
102 * cus-start.el (vertical-centering-font-regexp):
103 * ps-mule.el (ps-mule-font-info-database-default):
104 * ps-print.el (ps-default-fg, ps-default-bg):
105 * type-break.el (type-break-good-break-interval):
106 * whitespace.el (whitespace-indentation-regexp)
107 (whitespace-space-after-tab-regexp):
108 * emacs-lisp/testcover.el (testcover-1value-functions)
109 (testcover-noreturn-functions, testcover-progn-functions)
110 (testcover-prog1-functions):
111 * emulation/viper-init.el (viper-emacs-state-cursor-color):
112 * eshell/em-glob.el (eshell-glob-translate-alist):
113 * play/tetris.el (tetris-tty-colors):
114 * progmodes/cpp.el (cpp-face-default-list):
115 * progmodes/flymake.el (flymake-allowed-file-name-masks):
116 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
117 (idlwave-help-browser-generic-args):
118 * progmodes/make-mode.el (makefile-special-targets-list):
119 * progmodes/python.el (python-shell-virtualenv-path):
120 * progmodes/verilog-mode.el (verilog-active-low-regexp)
121 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
122 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
123 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
124 * textmodes/reftex-vars.el (reftex-format-label-function):
125 * textmodes/remember.el (remember-diary-file): Fix custom types.
127 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
130 2013-05-09 Leo Liu <sdl.web@gmail.com>
132 * progmodes/octave.el (inferior-octave-completion-at-point):
133 Restore file completion. (Bug#14300)
134 (inferior-octave-startup): Fix incorrect highlighting for the
137 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
139 * progmodes/ruby-mode.el: First cut at SMIE support.
140 (ruby-use-smie): New var.
141 (ruby-smie-grammar): New constant.
142 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
143 (ruby-smie--forward-token, ruby-smie--backward-token)
144 (ruby-smie-rules): New functions.
145 (ruby-mode-variables): Setup SMIE if applicable.
147 2013-05-08 Eli Zaretskii <eliz@gnu.org>
149 * simple.el (line-move-visual): Signal beginning/end of buffer
150 only if vertical-motion moved less than it was requested. Avoids
151 silly incorrect error messages when there are display strings with
152 multiple newlines at EOL.
154 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
156 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
157 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
158 (prolog-char-quote-workaround):
159 * progmodes/cperl-mode.el (cperl-under-as-char):
160 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
162 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
164 (vhdl-mode-syntax-table-init): Remove.
166 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
168 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
170 (ld-script-font-lock-keywords):
171 Change regexps to use things like \_< and \_>.
173 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
174 Change all regexps to use things like \_< and \_>.
176 * progmodes/autoconf.el (autoconf-definition-regexp)
177 (autoconf-font-lock-keywords, autoconf-current-defun-function):
178 Handle a _ with symbol syntax.
179 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
181 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
182 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
184 (ada-create-syntax-table): Remove.
185 (ada-capitalize-word): Don't mess with the syntax of "_" since it
186 already has the right syntax nowadays.
187 (ada-goto-next-word): Don't change the syntax of "_".
189 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
192 2013-05-08 Sam Steingold <sds@gnu.org>
194 * thingatpt.el (thing-at-point): Accept optional second argument
195 NO-PROPERTIES to strip the text properties from the return value.
196 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
197 to `thing-at-point' instead of stripping the properties ourselves.
198 Also, when `thing-at-point' fails to find a url, prepend "http://"
199 to the filename at point on the assumption that the user is
200 pointing at something like gnu.org/gnu.
202 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
204 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
205 * faces.el (crm-separator):
206 Silence byte-compiler.
208 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
209 (tool-bar-map): Remove unneeded defvars.
211 2013-05-08 Leo Liu <sdl.web@gmail.com>
213 Re-work a fix for bug#10994 based on Le Wang's patch.
214 * ido.el (ido-remove-consecutive-dups): New helper.
215 (ido-completing-read): Use it.
216 (ido-chop): Revert fix for bug#10994.
218 2013-05-08 Adam Spiers <emacs@adamspiers.org>
220 * cus-edit.el (custom-save-variables):
221 Pretty-print long values. (Bug#14187)
223 2013-05-08 Glenn Morris <rgm@gnu.org>
225 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
226 (m4-mode-syntax-table): Init in the defvar.
227 (m4-mode-abbrev-table): Let define-derived-mode define it.
229 2013-05-08 Tom Tromey <tromey@redhat.com>
231 * progmodes/m4-mode.el (m4-mode-syntax-table):
232 Do not treat "_" as word constituent. (Bug#14167)
234 2013-05-07 Glenn Morris <rgm@gnu.org>
236 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
237 Remove explicit eshell-isearch-cancel-map.
239 * progmodes/f90.el (f90-smart-end-names): New option.
240 (f90-smart-end): Doc fix.
241 (f90-end-block-optional-name): New constant.
242 (f90-block-match): Respect f90-smart-end-names.
244 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
246 * progmodes/octave.el (octave-smie-forward-token): Be more careful
247 about implicit semi-colons (bug#14218).
249 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
251 * frame.el (display-monitor-attributes-list)
252 (frame-monitor-attributes): New functions.
254 2013-05-06 Leo Liu <sdl.web@gmail.com>
256 * progmodes/octave.el (octave-syntax-propertize-function): Change
257 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
258 (octave-font-lock-keywords): Use octave-operator-regexp.
259 (octave-completion-at-point): Renamed from
260 octave-completion-at-point-function.
261 (inferior-octave-directory-tracker): Robustify.
262 (octave-text-functions): Remove and fix its uses. No such things
265 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
267 * emacs-lisp/trace.el (trace--display-buffer): New function.
268 (trace-make-advice): Use it.
270 2013-05-06 Juri Linkov <juri@jurta.org>
272 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
273 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
275 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
276 in the help string. (Bug#12985)
278 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
280 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
282 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
284 * progmodes/perl-mode.el: Add support for here documents.
285 (perl-syntax-propertize-function): Match here-doc markers.
286 (perl-syntax-propertize-special-constructs): Find their end.
287 (perl-imenu-generic-expression): Use [:alnum:].
289 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
290 (advice--add-function): Refresh the advice if already present
293 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
295 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
297 2013-05-06 Glenn Morris <rgm@gnu.org>
299 * w32-fns.el (w32-charset-info-alist): Declare.
301 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
302 of its defcustom properties.
303 (eshell-cmpl-initialize): No need to load pcomplete.
305 * generic-x.el: No need to require comint when compiling.
307 * net/eudc-export.el: Make it loadable without bbdb.
308 (top-level): Use require rather than load-library.
309 (eudc-create-bbdb-record, eudc-bbdbify-phone)
310 (eudc-batch-export-records-to-bbdb)
311 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
314 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
316 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
317 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
318 some tweaks, instead.
320 2013-05-05 Leo Liu <sdl.web@gmail.com>
322 * progmodes/octave.el (octave-font-lock-keywords)
323 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
324 (inferior-octave-send-list-and-digest): Improve error message.
325 (octave-mode, inferior-octave-mode): Use setq-local.
326 (octave-help): Set info-lookup-mode.
328 2013-05-05 Richard Stallman <rms@gnu.org>
330 * vc/compare-w.el (compare-windows-whitespace):
331 Treat no-break space as whitespace.
333 * mail/rmailsum.el (rmail-summary-rmail-update):
334 Detect empty summary and don't change selected message.
335 (rmail-summary-goto-msg): Likewise.
337 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
338 Doc fixes, rename args.
340 2013-05-05 Alan Mackenzie <acm@muc.de>
342 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
344 2013-05-05 Juri Linkov <juri@jurta.org>
346 * info.el (Info-read-subfile): Use (point-min) instead of (point)
347 to not add the length of the summary segment to the return value.
350 2013-05-05 Leo Liu <sdl.web@gmail.com>
352 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
353 (inferior-octave-output-filter): Remove.
354 (octave-send-region, inferior-octave-startup): Fix callers.
355 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
356 (octave-binary-file-extensions): New user variable.
357 (octave-find-definition): Confirm if opening binary files.
358 (octave-help-file): Use octave-find-definition to get the binary
360 (octave-help): Adjust for octave-help-file change.
362 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
364 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
365 Merge the two entries that handle function definitions.
366 (pascal--syntax-propertize): New const.
367 (pascal-mode): Use it. Use setq-local.
369 2013-05-04 Glenn Morris <rgm@gnu.org>
371 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
372 (diary-from-outlook): Respect diary-from-outlook-function.
374 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
376 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
377 Move the declaration from C.
378 (read-minibuffer, eval-minibuffer): Move from C.
379 (completion-setup-function): Avoid minibuffer-completion-contents.
381 2013-05-03 Leo Liu <sdl.web@gmail.com>
383 * progmodes/octave.el (octave-font-lock-keywords): Do not
384 dehighlight 'end' in comments or strings.
385 (octave-completing-read, octave-goto-function-definition):
387 (octave-help-buffer): New user variable.
388 (octave-help-file, octave-help-function): New button types.
389 (octave-help): New command and bind it to C-h ;.
390 (octave-find-definition): New command and bind it to M-.
391 (user-error): Alias to error if not defined.
393 2013-05-02 Leo Liu <sdl.web@gmail.com>
395 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
397 (octave-font-lock-keywords): Include [ and {.
399 2013-05-02 Leo Liu <sdl.web@gmail.com>
401 * progmodes/octave.el (inferior-octave-startup-file): Change default.
402 (inferior-octave): Remove calling comint-mode and return the buffer.
403 (inferior-octave-startup): Cosmetic changes.
405 2013-05-02 Leo Liu <sdl.web@gmail.com>
407 * progmodes/octave.el (octave-syntax-propertize-function):
408 Include the case when ' is at line beginning. (Bug#14336)
410 2013-05-02 Glenn Morris <rgm@gnu.org>
412 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
413 * desktop.el (vc-dir-mode): Just autoload it here.
415 2013-05-02 Alan Mackenzie <acm@muc.de>
417 Eliminate variable c-standard-font-lock-fontify-region-function.
418 * progmodes/cc-mode.el
419 (c-standard-font-lock-fontify-region-function): Remove.
420 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
422 2013-05-01 Leo Liu <sdl.web@gmail.com>
424 * progmodes/octave.el: Compatible with older emacs-24 releases.
425 (inferior-octave-has-built-in-variables): Remove. Built-in
426 variables were removed from Octave in 2007.
427 (inferior-octave-startup): Fix uses.
428 (comint-line-beginning-position): Remove compatibility code for
431 2013-05-01 Juri Linkov <juri@jurta.org>
433 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
435 2013-05-01 Juri Linkov <juri@jurta.org>
437 * comint.el (comint-previous-matching-input): Don't print message
438 "History item: %d" when `isearch-mode' is active.
439 (comint-history-isearch-message): Print message "History item: %d"
440 when `comint-input-ring-index' is not empty and this function is
441 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
443 2013-05-01 Leo Liu <sdl.web@gmail.com>
445 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
446 definitions. Use completion-at-point to insert keywords.
447 (octave-abbrev-start): Remove.
448 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
450 2013-04-30 Leo Liu <sdl.web@gmail.com>
452 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
455 2013-04-30 Alan Mackenzie <acm@muc.de>
457 Handle arbitrarily long C++ member initialisation lists.
458 * progmodes/cc-engine.el (c-back-over-member-initializers):
460 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
461 (most) member init lists.
463 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
465 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
468 2013-04-30 Leo Liu <sdl.web@gmail.com>
470 * progmodes/octave.el (octave-variables): Remove. No builtin
471 variables any more. All converted to functions.
472 (octave-font-lock-keywords, octave-completion-at-point-function):
474 (octave-font-lock-texinfo-comment): New user variable.
475 (octave-texinfo-font-lock-keywords): New variable for texinfo
477 (octave-function-comment-block): New face.
478 (octave-font-lock-texinfo-comment): New function.
479 (octave-mode): Font lock texinfo comment block.
481 2013-04-29 Leo Liu <sdl.web@gmail.com>
483 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
485 (octave-continuation-string): Do not use \.
486 (inferior-octave-complete-impossible): Remove.
487 (inferior-octave-completion-table)
488 (inferior-octave-completion-at-point): Remove its uses.
489 (inferior-octave-startup): completion_matches was introduced to
490 Octave in 1996 so safe to assume it.
491 (octave-function-file-comment): Improve to follow how Octave does it.
492 (octave-update-function-file-comment): Tweak.
494 2013-04-29 Leo Liu <sdl.web@gmail.com>
496 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
497 (inferior-octave-startup): Remove inferior-octave-startup-hook.
498 (octave-function-file-comment): Fix typo.
499 (octave-sync-function-file-names): Use read-char-choice.
501 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
503 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
504 to t for the less important warnings.
506 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
508 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
510 2013-04-27 Glenn Morris <rgm@gnu.org>
512 * vc/log-view.el (log-view-current-entry):
513 Treat "---" separator lines as part of the following rev. (Bug#14169)
515 2013-04-27 Juri Linkov <juri@jurta.org>
517 * subr.el (read-number): Doc fix about using it by interactive
518 code letter `n'. (Bug#14254)
520 2013-04-27 Juri Linkov <juri@jurta.org>
522 * desktop.el (desktop-auto-save-timeout): New option.
523 (desktop-file-checksum): New variable.
524 (desktop-save): Add optional arg `auto-save' and don't auto-save
526 (desktop-auto-save-timer): New variable.
527 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
528 (after-init-hook): Call `desktop-auto-save-set-timer'.
529 Suggested by Reuben Thomas <rrt@sc3d.org> in
530 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
532 2013-04-27 Leo Liu <sdl.web@gmail.com>
534 * progmodes/octave.el (octave-function-file-p)
535 (octave-skip-comment-forward, octave-function-file-comment)
536 (octave-update-function-file-comment): New functions.
537 (octave-mode-map): Bind C-c ; to
538 octave-update-function-file-comment.
539 (octave-mode-menu): Add octave-update-function-file-comment.
540 (octave-mode, inferior-octave-mode): Fix doc-string.
541 (octave-insert-defun): Conform to Octave's coding convention.
544 * files.el (basic-save-buffer): Don't let errors in
545 before-save-hook prevent saving buffer.
547 2013-04-20 Roland Winkler <winkler@gnu.org>
549 * faces.el (read-face-name): Use completing-read if arg multiple
552 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
554 * ls-lisp.el (ls-lisp-insert-directory): If no files are
555 displayed, move point to after the totals line.
556 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
559 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
561 * emacs-lisp/package.el (package-autoload-ensure-default-file):
562 Add current dir to the load-path.
563 (package-generate-autoloads): Don't rely on
564 autoload-ensure-default-file.
566 2013-04-26 Reuben Thomas <rrt@sc3d.org>
568 * textmodes/remember.el (remember-store-in-files): Document that
569 the file name format is passed to `format-time-string'.
571 2013-04-26 Leo Liu <sdl.web@gmail.com>
573 * progmodes/octave.el (octave-sync-function-file-names): New function.
574 (octave-mode): Use it in before-save-hook.
576 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
578 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
581 * progmodes/octave.el (octave-smie-forward-token): Properly skip
582 \n and comment, even if it's not an implicit ; (bug#14218).
584 2013-04-26 Glenn Morris <rgm@gnu.org>
586 * subr.el (read-number): Once more use `read' rather than
587 `string-to-number', to trap non-numeric input. (Bug#14254)
589 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
591 * emacs-lisp/syntax.el (syntax-propertize-multiline):
592 Use `syntax-multiline' text property consistently instead of
593 `font-lock-multiline'. (bug#14237).
595 2013-04-26 Glenn Morris <rgm@gnu.org>
597 * emacs-lisp/shadow.el (list-load-path-shadows):
598 No longer necessary to check for duplicate simple.el, since
599 2012-07-07 change to init_lread to not include installation lisp
600 directories in load-path when running uninstalled. (Bug#14270)
602 2013-04-26 Leo Liu <sdl.web@gmail.com>
604 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
605 (octave-mode, inferior-octave-mode): Use setq-local.
606 (octave-not-in-string-or-comment-p): Rename to
607 octave-in-string-or-comment-p.
608 (octave-in-comment-p, octave-in-string-p)
609 (octave-in-string-or-comment-p): Replace defsubst with defun.
611 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
613 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
615 2013-04-25 Bastien Guerry <bzg@gnu.org>
617 * textmodes/remember.el (remember-data-directory)
618 (remember-directory-file-name-format): Fix custom types.
620 2013-04-25 Leo Liu <sdl.web@gmail.com>
622 * progmodes/octave.el (octave-completion-at-point-function):
623 Make use of inferior octave process.
624 (octave-initialize-completions): Remove.
625 (inferior-octave-completion-table): New function.
626 (inferior-octave-completion-at-point): Use it.
627 (octave-completion-alist): Remove.
629 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
631 * progmodes/opascal.el: Use font-lock and syntax-propertize.
632 (opascal-mode-syntax-table): New var.
633 (opascal-literal-kind, opascal-is-literal-end)
634 (opascal-literal-token-at): Rewrite.
635 (opascal--literal-start-re, opascal-font-lock-keywords)
636 (opascal--syntax-propertize): New constants.
637 (opascal-font-lock-defaults): Adjust.
638 (opascal-mode): Use them. Set comment-<foo> variables as well.
639 (delphi-comment-face, opascal-comment-face, delphi-string-face)
640 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
641 (delphi-other-face, opascal-other-face): Remove face variables.
642 (opascal-save-state): Remove macro.
643 (opascal-fontifying-progress-step): Remove constant.
644 (opascal--ignore-changes): Remove var.
645 (opascal-set-token-property, opascal-parse-next-literal)
646 (opascal-is-stable-literal, opascal-complete-literal)
647 (opascal-is-literal-start, opascal-face-of)
648 (opascal-parse-region, opascal-parse-region-until-stable)
649 (opascal-fontify-region, opascal-after-change)
650 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
651 (opascal-debug-parse-region, opascal-debug-parse-window)
652 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
653 (opascal-debug-fontify-buffer): Remove.
654 (opascal-debug-mode-map): Adjust accordingly.
656 2013-04-25 Leo Liu <sdl.web@gmail.com>
658 Merge octave-mod.el and octave-inf.el into octave.el with some
660 * progmodes/octave.el: New file renamed from octave-mod.el.
661 * progmodes/octave-inf.el: Merged into octave.el.
662 * progmodes/octave-mod.el: Renamed to octave.el.
664 2013-04-25 Tassilo Horn <tsdh@gnu.org>
666 * textmodes/reftex-vars.el
667 (reftex-label-ignored-macros-and-environments): New defcustom.
669 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
671 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
673 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
674 (smie-indent-keyword): Improve the check to ensure that the next
675 comment is really on the same line.
676 (smie-indent-comment): Don't align with a subsequent closer (or eob).
678 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
679 semi-colons if the line is not otherwise empty (bug#14218).
681 2013-04-25 Glenn Morris <rgm@gnu.org>
683 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
685 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
687 * progmodes/opascal.el (opascal-set-token-property): Rename from
688 opascal-set-text-properties and only set `token' (bug#14134).
689 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
690 (opascal-literal-text-properties): Remove.
691 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
694 2013-04-24 Reuben Thomas <rrt@sc3d.org>
696 * textmodes/remember.el (remember-handler-functions): Add an
697 option for a new handler `remember-store-in-files'.
698 (remember-data-directory, remember-directory-file-name-format):
700 (remember-store-in-files): New function to store remember notes
701 as separate files within a directory.
703 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
705 * progmodes/compile.el (compilation-next-error-function):
706 Pass "formats" to compilation-find-file (bug#11777).
708 2013-04-24 Glenn Morris <rgm@gnu.org>
710 * vc/vc-bzr.el (vc-bzr-print-log):
711 * vc/vc-hg.el (vc-hg-print-log):
712 * vc/vc-svn.el (vc-svn-print-log):
713 Fix START-REVISION with LIMIT != 1. (Bug#14168)
715 * vc/vc-bzr.el (vc-bzr-print-log):
716 * vc/vc-cvs.el (vc-cvs-print-log):
717 * vc/vc-git.el (vc-git-print-log):
718 * vc/vc-hg.el (vc-hg-print-log):
719 * vc/vc-mtn.el (vc-mtn-print-log):
720 * vc/vc-rcs.el (vc-rcs-print-log):
721 * vc/vc-sccs.el (vc-sccs-print-log):
722 * vc/vc-svn.el (vc-svn-print-log):
723 * vc/vc.el (vc-print-log-internal): Doc fixes.
725 2013-04-23 Glenn Morris <rgm@gnu.org>
727 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
728 Remove venerable code attempting to avoid substitute-command-keys.
730 2013-04-23 Tassilo Horn <tsdh@gnu.org>
732 * textmodes/reftex-vars.el (reftex-label-regexps):
733 Call `reftex-compile-variables' after changes to this variable.
735 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
737 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
739 (jit-lock-force-redisplay): Use markers, check buffer's continued
740 existence and beware narrowed buffers.
741 (jit-lock-fontify-now): Adjust call accordingly.
743 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
745 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
746 to avoid misleading the user.
748 2013-04-22 Leo Liu <sdl.web@gmail.com>
750 * info-look.el: Prefer latex2e.info. (Bug#14240)
752 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
754 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
756 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
757 * net/tramp.el (tramp-call-process): ... here
758 (tramp-set-completion-function, tramp-parse-putty):
759 * net/tramp-adb.el (tramp-adb-execute-adb-command):
760 * net/tramp-gvfs.el (tramp-gvfs-send-command):
761 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
762 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
763 (tramp-call-local-coding-command): Use `tramp-call-process'
764 instead of `tramp-compat-call-process'.
766 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
767 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
768 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
769 (tramp-find-inline-compress):Improve traces.
770 (tramp-maybe-send-script): Check for Perl binary.
771 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
773 2013-04-22 Daiki Ueno <ueno@gnu.org>
775 * epg.el (epg-context-pinentry-mode): New function.
776 (epg-context-set-pinentry-mode): New function.
777 (epg--start): Pass --pinentry-mode option to gpg command.
779 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
781 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
782 `comint-dynamic-complete' is obsolete since 24.1, replaced by
783 `completion-at-point'. (Bug#13774)
785 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
786 default key binding for `describe-distribution' has been moved to
787 `C-h C-o'. (Bug#13970)
789 2013-04-21 Glenn Morris <rgm@gnu.org>
791 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
793 (vc-print-log): Clarify interactive prompt.
795 2013-04-20 Glenn Morris <rgm@gnu.org>
797 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
798 No longer include timestamp etc information.
800 2013-04-20 Roland Winkler <winkler@gnu.org>
802 * faces.el (read-face-name): Bug fix, return just one face if arg
803 multiple is nil. (Bug#14209)
805 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
807 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
808 (remove-function): Autoload.
810 * comint.el (comint-redirect-original-filter-function): Remove.
811 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
812 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
813 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
814 * progmodes/prolog.el (prolog-consult-compile):
815 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
816 Use add/remove-function instead.
817 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
818 (gud-tooltip-process-output, gud-tooltip-tips):
819 Use add/remove-function instead.
820 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
821 (scheme-interaction-mode, exit-scheme-interaction-mode):
822 Use add/remove-function instead.
824 * vc/vc-dispatcher.el: Use lexical-binding.
825 (vc--process-sentinel): Rename from vc-process-sentinel.
826 Change last arg to be the code to run. Don't use vc-previous-sentinel
827 and vc-sentinel-commands any more.
828 (vc-exec-after): Allow code to be a function. Use add/remove-function.
829 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
831 2013-04-19 Masatake YAMATO <yamato@redhat.com>
833 * progmodes/sh-script.el (sh-imenu-generic-expression):
834 Handle function names with a single character. (Bug#14111)
836 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
838 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
839 for subroutines defined in an eval (bug#14182).
841 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
843 * bookmark.el (bookmark-completing-read): Improve handling of empty
846 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
848 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
850 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
852 New faster Imenu implementation (bug#14058).
853 * progmodes/python.el:
854 (python-imenu-prev-index-position):
855 (python-imenu-format-item-label-function)
856 (python-imenu-format-parent-item-label-function)
857 (python-imenu-format-parent-item-jump-label-function):
859 (python-imenu-format-item-label)
860 (python-imenu-format-parent-item-label)
861 (python-imenu-format-parent-item-jump-label)
862 (python-imenu--put-parent, python-imenu--build-tree)
863 (python-imenu-create-index, python-imenu-create-flat-index)
864 (python-util-popn): New functions.
865 (python-mode): Set imenu-create-index-function to
866 python-imenu-create-index.
868 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
870 * winner.el (winner-active-region): Use region-active-p, activate-mark
871 and deactivate-mark (bug#14225).
873 * simple.el (deactivate-mark): Don't inline it.
875 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
879 2013-04-18 Tassilo Horn <tsdh@gnu.org>
881 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
882 file extensions from the archive-mode entry in order to prefer
883 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
885 2013-04-18 Leo Liu <sdl.web@gmail.com>
887 * bindings.el (help-event-list): Add ?\?.
889 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
891 * subr.el (with-wrapper-hook): Declare obsolete.
892 * simple.el (filter-buffer-substring-function): New hook.
893 (filter-buffer-substring): Use it.
894 (filter-buffer-substring-functions): Mark obsolete.
895 * minibuffer.el (completion-in-region-function): New hook.
896 (completion-in-region): Use it.
897 (completion-in-region-functions): Mark obsolete.
898 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
899 * abbrev.el (abbrev-expand-function): New hook.
900 (expand-abbrev): Use it.
901 (abbrev-expand-functions): Mark obsolete.
902 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
905 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
907 * progmodes/python.el (python-nav--syntactically): Fix cornercases
908 and do not care about match data.
910 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
912 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
913 completion tables when completing error conditions and
915 (lisp-complete-symbol, field-complete): Mark as obsolete.
916 (check-parens): Unmatched parens are user errors.
917 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
919 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
921 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
922 command changed buffer (ie. `flyspell-pre-buffer' is not current
923 buffer), which prevents making decisions based on invalid value of
924 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
925 cause an error when `flyspell-pre-point' was nil after switching
927 (flyspell-post-command-hook): No longer needs to change buffers when
928 checking pre-word. While at it remove unnecessary progn.
930 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
932 * textmodes/ispell.el (ispell-add-per-file-word-list):
933 Fix `flyspell-correct-word-before-point' error when accepting
934 words and `coment-padding' is an integer by using
935 `comment-normalize-vars' (Bug #14214).
937 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
939 New defun movement commands.
940 * progmodes/python.el (python-nav--syntactically)
941 (python-nav--forward-defun, python-nav-backward-defun)
942 (python-nav-forward-defun): New functions.
944 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
946 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
947 (python-syntax-context): Use named compiler-macro for backwards
948 compatibility with Emacs 24.x.
950 2013-04-17 Leo Liu <sdl.web@gmail.com>
952 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
953 octave-hide-process-buffer.
955 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
957 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
960 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
962 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
963 Fix adjustment of offset when receiving incomplete responses from GDB
966 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
968 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
969 python-mode-abbrev-table.
970 (python-skeleton-define): Adjust accordingly.
971 (python-mode-abbrev-table): New table that inherits from it so that
972 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
974 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
975 (abbrev-symbol): Use it.
976 (abbrev--before-point): Use it since we already handle inheritance.
978 2013-04-16 Leo Liu <sdl.web@gmail.com>
980 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
981 binding to info-lookup-symbol.
983 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
985 * minibuffer.el (completion--twq-all):
986 * term/ns-win.el (ns-initialize-window-system):
987 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
989 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
991 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
994 * doc-view.el (doc-view-start-process): Handle url-handler directories.
996 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
998 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
999 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1001 (ruby-end-of-defun): Remove the unused arg, change the docstring
1002 to reflect that this function is only used as the value of
1003 `end-of-defun-function'.
1004 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1005 to reflect an earlier change that beginning/end-of-defun functions
1006 jump between methods in a class definition, as well as top-level
1009 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * minibuffer.el (minibuffer-complete): Don't just scroll
1012 a *Completions* that's been iconified.
1013 (minibuffer-force-complete): Make sure repetitions do cycle when going
1014 through completion-in-region -> minibuffer-complete.
1016 2013-04-15 Alan Mackenzie <acm@muc.de>
1018 Correct the placement of c-cpp-delimiters when there're #s not at
1021 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1022 place a submatch around the #.
1023 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1024 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1027 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1030 (advice--member-p): New arg `name'.
1031 (advice--add-function, advice-member-p): Use it (bug#14202).
1033 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1035 Reformulate java imenu-generic-expression.
1036 The old expression contained ill formed regexps.
1038 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1039 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1040 (cc-imenu-java-method-arg-regexp): New defconsts.
1041 (cc-imenu-java-build-type-args-regex): New defun.
1042 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1043 handling of spaces in the regexp.
1045 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1047 * textmodes/ispell.el (ispell-command-loop): Remove
1048 flyspell highlight of a word when ispell accepts it (bug #14178).
1050 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1052 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1053 uses code from the previous `ange-ftp-run-real-handler'.
1054 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1055 only in case that function exist. This is needed for proper
1058 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1060 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1062 * textmodes/reftex.el (reftex-compile-variables): Use it.
1064 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * files.el (normal-mode): Only use default major-mode if no other mode
1069 * emacs-lisp/trace.el (trace-values): New function.
1071 * files.el: Allow : in local variables (bug#14089).
1072 (hack-local-variable-regexp): New var.
1073 (hack-local-variables-prop-line, hack-local-variables): Use it.
1075 2013-04-13 Roland Winkler <winkler@gnu.org>
1077 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1078 data before it gets modified by bibtex-beginning-of-entry.
1080 2013-04-13 Roland Winkler <winkler@gnu.org>
1082 * textmodes/bibtex.el (bibtex-url): Doc fix.
1084 2013-04-13 Roland Winkler <winkler@gnu.org>
1086 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1087 does not visit a BibTeX file, exclude it from the list of buffers
1088 returned by bibtex-initialize.
1090 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1092 * window.el (split-window): Remove interactive form, since as a
1093 command this function is a special case of split-window-below.
1096 2013-04-12 Roland Winkler <winkler@gnu.org>
1098 * faces.el (read-face-name): Do not override value of arg default.
1099 Allow single faces and strings as default values. Remove those
1100 elements from return value that are not faces.
1101 (describe-face): Simplify.
1102 (face-at-point): New optional args thing and multiple so that this
1103 function can provide the same functionality previously provided by
1105 (make-face-bold, make-face-unbold, make-face-italic)
1106 (make-face-unitalic, make-face-bold-italic, invert-face)
1107 (modify-face, read-face-and-attribute): Use face-at-point.
1109 * cus-edit.el (customize-face, customize-face-other-window)
1110 * cus-theme.el (custom-theme-add-face)
1111 * face-remap.el (buffer-face-set)
1112 * facemenu.el (facemenu-set-face): Use face-at-point.
1114 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1116 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1118 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1120 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1121 off leading { and trailing } from field values.
1123 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * emacs-lisp/timer.el (timer--check): New function.
1126 (timer--time, timer-set-function, timer-event-handler): Use it.
1127 (timer-set-idle-time): Simplify.
1128 (timer--activate): CSE.
1129 (timer-event-handler): Give more info in error message.
1130 (internal-timer-start-idle): New function, moved from C.
1132 * mpc.el (mpc-proc): Add `restart' argument.
1133 (mpc-proc-cmd): Use it.
1134 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1135 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1138 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1140 * progmodes/sh-script.el: Implement `sh-mode' own
1141 `add-log-current-defun-function' (bug#14112).
1142 (sh-current-defun-name): New function.
1143 (sh-mode): Use the function.
1145 2013-04-09 Bastien Guerry <bzg@gnu.org>
1147 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1149 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1151 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1153 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1156 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1158 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1161 2013-04-07 Leo Liu <sdl.web@gmail.com>
1163 * pcmpl-x.el: New file.
1165 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1167 Do not set x-display-name until X connection is established.
1168 This is needed to prevent from weird situation described at
1169 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1170 * frame.el (make-frame): Set x-display-name after call to
1171 window system initialization function, not before.
1172 * term/x-win.el (x-initialize-window-system): Add optional
1173 display argument and use it.
1174 * term/w32-win.el (w32-initialize-window-system):
1175 * term/ns-win.el (ns-initialize-window-system):
1176 * term/pc-win.el (msdos-initialize-window-system):
1177 Add compatible optional display argument.
1179 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1181 * files.el (normal-backup-enable-predicate): On MS-Windows and
1182 MS-DOS compare truenames of temporary-file-directory and of the
1183 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1184 don't fail comparison by compare-strings. Also, compare file
1185 names case-insensitively on MS-Windows and MS-DOS.
1187 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1190 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1192 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1194 * whitespace.el (whitespace-color-on, whitespace-color-off):
1195 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1197 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1199 * ispell.el (ispell-set-spellchecker-params):
1200 Really set `ispell-args' for all equivs.
1202 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * ido.el (ido-completions): Use extra elements of ido-decorations
1206 (ido-decorations): Update docstring.
1208 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1210 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1211 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1212 nil during initialization, in order not to miss changes since the
1213 file was opened. (Bug#14140)
1215 2013-04-05 Leo Liu <sdl.web@gmail.com>
1217 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1219 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1221 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1223 2013-04-04 Glenn Morris <rgm@gnu.org>
1225 * electric.el (electric-pair-inhibit-predicate): Add :version.
1227 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1230 when a package is required several times (bug#14082).
1232 2013-04-04 Roland Winkler <winkler@gnu.org>
1234 * faces.el (read-face-name): Behave as promised by the docstring.
1235 Assume that arg default is a list of faces.
1236 (describe-face): Call read-face-name with list of default faces.
1238 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1240 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1241 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1242 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1244 (bookmark-exit-hook-internal): Save even if list is empty.
1246 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1248 * emacs-lisp/package.el (package-pinned-packages): New var.
1249 (package--add-to-archive-contents): Obey it (bug#14118).
1251 2013-04-03 Alan Mackenzie <acm@muc.de>
1253 Handle `parse-partial-sexp' landing inside a comment opener
1254 (Bug#13244). Also adapt to the new values of element 7 of a parse
1257 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1258 parameter `not-in-delimiter'. Handle being inside comment opener.
1259 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1260 character in case we're typing a '*' after a '/'.
1261 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1262 instead by passing the parameter to c-state-pp-to-literal.
1264 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1265 for elt. 7 of a parse state.
1267 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1269 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1270 * international/latin1-disp.el, international/mule-util.el:
1271 * language/cyril-util.el, language/european.el, language/ind-util.el:
1272 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1273 * language/tibetan.el, language/viet-util.el:
1274 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1276 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1279 (electric-pair-post-self-insert-function): Use it.
1280 (electric-pair-default-inhibit): New function, extracted from
1281 electric-pair-post-self-insert-function.
1283 2013-03-31 Roland Winkler <winkler@gnu.org>
1285 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1287 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1289 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1291 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1293 Un-indent after "pass" and "return" statements (Bug#13888)
1294 * progmodes/python.el (python-indent-block-enders): New var.
1295 (python-indent-calculate-indentation): Use it.
1297 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1299 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1300 defun. Defining it as defalias could introduce too eager
1301 byte-compiler optimization. (Bug#14030)
1303 2013-03-30 Chong Yidong <cyd@gnu.org>
1305 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1307 2013-03-30 Leo Liu <sdl.web@gmail.com>
1309 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1310 (kmacro-execute-from-register): Pass the keyboard macro to
1311 kmacro-call-macro or repeating won't work correctly.
1313 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1315 * progmodes/subword.el: Back to using `forward-symbol'.
1317 * subr.el (forward-whitespace, forward-symbol)
1318 (forward-same-syntax): Move from thingatpt.el.
1320 2013-03-29 Leo Liu <sdl.web@gmail.com>
1322 * kmacro.el (kmacro-to-register): New command.
1323 (kmacro-execute-from-register): New function.
1324 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1326 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * mpc.el: Use defvar-local and setq-local.
1329 (mpc--proc-connect): Connection failures are not bugs.
1330 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1331 (mpc-volume-map): Bind to the up-events.
1333 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1335 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1336 instead of `forward-symbol'.
1338 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1341 (edebug--recursive-edit): Use it.
1342 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1343 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1345 2013-03-28 Leo Liu <sdl.web@gmail.com>
1347 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1349 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1351 * facemenu.el (list-colors-callback): New defvar.
1352 (list-colors-redisplay): New function.
1353 (list-colors-display): Install list-colors-redisplay as the
1354 revert-buffer-function. (Bug#14063)
1356 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1359 and suffixes don't overlap (bug#14061).
1361 * case-table.el: Use lexical-binding.
1362 (case-table-get-table): New function.
1363 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1365 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1367 * progmodes/subword.el: Add `superword-mode' to do word motion
1368 over symbol_words (parallels and leverages `subword-mode' which
1369 does word motion inside MixedCaseWords).
1371 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1373 * eshell/em-unix.el: Move su and sudo to...
1374 * eshell/em-tramp.el: ...Eshell tramp module.
1376 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1379 Change return value to be a sexp. Delay `get-buffer' to after
1380 restoring the desktop (bug#13951).
1382 2013-03-26 Leo Liu <sdl.web@gmail.com>
1384 * register.el: Move semantic tag handling back to
1385 cedet/semantic/senator.el. (Bug#14052)
1387 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1389 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1390 into the prompt either (bug#13963).
1392 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1395 part of "(error-foo)".
1397 2013-03-24 Juri Linkov <juri@jurta.org>
1399 * replace.el (list-matching-lines-prefix-face): New defcustom.
1400 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1401 `occur-engine' if `face-differs-from-default-p' returns t.
1402 (occur-engine): Add `,' inside backquote construct to evaluate
1403 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1404 Pass `prefix-face' to the functions `occur-context-lines' and
1405 `occur-engine-add-prefix'.
1406 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1407 `prefix-face' and propertize the prefix with `prefix-face'.
1410 2013-03-24 Leo Liu <sdl.web@gmail.com>
1412 * nxml/rng-valid.el (rng-validate-while-idle)
1413 (rng-validate-quick-while-idle): Guard against deleted buffer.
1416 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1417 is the last entry in kill-buffer-hook.
1419 * files.el (kill-buffer-hook): Doc fix.
1421 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1423 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1426 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1428 2013-03-23 Leo Liu <sdl.web@gmail.com>
1430 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1433 * nxml/rng-valid.el (rng-validate-mode)
1434 (rng-after-change-function, rng-do-some-validation):
1435 * nxml/rng-maint.el (rng-validate-buffer):
1436 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1437 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1438 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1439 (nxml-extend-after-change-region): Use with-silent-modifications.
1441 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1444 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1445 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1446 timer-idle-list. (Bug#13999)
1448 2013-03-23 Juri Linkov <juri@jurta.org>
1450 * info.el (info-index-match): New face.
1451 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1452 main pattern and add text properties with the new face to matches
1453 in index entries relative to the beginning of the index entry.
1456 2013-03-21 Eric Ludlam <zappo@gnu.org>
1458 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1459 Inhibit read only while inserting objects.
1461 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1463 * progmodes/cfengine.el: Update docs to mention
1464 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1465 symbol motion. Remove "_" from the word syntax.
1467 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1469 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1470 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1472 2013-03-20 Juri Linkov <juri@jurta.org>
1474 * info.el (Info-next-reference-or-link)
1475 (Info-prev-reference-or-link): New functions.
1476 (Info-next-reference, Info-prev-reference): Use them.
1477 (Info-try-follow-nearest-node): Handle footnote navigation.
1478 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1480 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1483 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1485 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1487 Suppress unnecessary non-ASCII chatter during build process.
1488 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1489 (batch-skkdic-convert): Suppress most of the chatter.
1490 It's not needed so much now that machines are faster,
1491 and its non-ASCII component was confusing; see Dmitry Gutov in
1492 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1494 2013-03-20 Leo Liu <sdl.web@gmail.com>
1496 * ido.el (ido-chop): Fix bug#10994.
1498 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1500 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1502 (whitespace-color-on, whitespace-color-off):
1503 Use `font-lock-fontify-buffer' (Bug#13817).
1505 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1507 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1508 remapping in mode-line.
1509 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1511 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1513 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1514 value for `whitespace-line' face (Bug#13875).
1515 (whitespace-font-lock-keywords): Change description.
1516 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1517 the constructed keywords instead.
1518 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1520 2013-03-19 Leo Liu <sdl.web@gmail.com>
1522 * progmodes/compile.el (compilation-display-error): New command.
1523 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1526 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1528 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1530 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1532 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1534 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1536 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1538 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1539 * net/tramp-gvfs.el (top):
1540 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1541 (tramp-handle-shell-command): Use it.
1542 (tramp-dissect-file-name): Raise an error when hostname is a
1543 method name, and neither method nor user is specified.
1545 * net/trampver.el: Update release number.
1547 2013-03-18 Leo Liu <sdl.web@gmail.com>
1549 Make sure eldoc can be turned off properly.
1550 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1552 (eldoc-display-message-p): Revert last change.
1553 (eldoc-display-message-no-interference-p)
1554 (eldoc-print-current-symbol-info): Tweak.
1556 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1558 * doc-view.el (doc-view-new-window-function): Check the new window
1559 overlay's display property instead the char property of the
1560 buffer's first char. Use `with-selected-window' instead of
1561 `save-window-excursion' with `select-window'.
1562 (doc-view-document->bitmap): Check the current doc-view overlay's
1563 display property instead the char property of the buffer's first char.
1565 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1567 Automate the build of ja-dic.el (Bug#13984).
1568 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1569 from the input, rather than assume that it's been done for us by the
1570 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1571 the current date into a ja-dic.el comment, as that complicates
1574 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1576 * whitespace.el: Fix double evaluation.
1577 (whitespace-space, whitespace-hspace, whitespace-tab)
1578 (whitespace-newline, whitespace-trailing, whitespace-line)
1579 (whitespace-space-before-tab, whitespace-indentation)
1580 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1582 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1583 (whitespace-color-on): Use a single font-lock-add-keywords call.
1584 Fix double-evaluation of face variables.
1586 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1588 * net/tramp-adb.el (tramp-adb-parse-device-names):
1589 Use `start-process' instead of `call-process'. Otherwise, the
1590 function might be blocked under MS Windows. (Bug#13299)
1592 2013-03-17 Leo Liu <sdl.web@gmail.com>
1594 Extend eldoc to display info in the mode-line. (Bug#13978)
1595 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1596 (eldoc-mode-line-string): New variable.
1597 (eldoc-minibuffer-message): New function.
1598 (eldoc-message-function): New variable.
1599 (eldoc-message): Use it.
1600 (eldoc-display-message-p)
1601 (eldoc-display-message-no-interference-p):
1602 Support eldoc-post-insert-mode.
1604 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1605 (eval-expression): Run it.
1607 2013-03-17 Roland Winkler <winkler@gnu.org>
1609 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1610 strings in the list of return values.
1612 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1614 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1615 radix before checking for HMS forms.
1617 2013-03-16 Leo Liu <sdl.web@gmail.com>
1619 * progmodes/scheme.el: Add indentation and font-locking for λ.
1622 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1625 token before point (bug#13942).
1627 2013-03-16 Leo Liu <sdl.web@gmail.com>
1629 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1631 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1633 * startup.el (command-line-normalize-file-name): Fix handling of
1634 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1635 <xfq.free@gmail.com> in
1636 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1638 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1640 Sync with Tramp 2.2.7.
1642 * net/trampver.el: Update release number.
1644 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1646 * doc-view.el Fix bug#13887.
1647 (doc-view-insert-image): Don't modify overlay associated to
1648 non-live windows, and implement horizontal centering of image in
1649 case it's smaller than the window.
1650 (doc-view-new-window-function): Force redisplay of new windows on
1653 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1655 * saveplace.el (save-place-alist-to-file): Don't sort
1656 `save-place-alist', just pretty-print it (bug#13882).
1658 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1660 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1661 whether `default-file-name-coding-system' is bound. It isn't in
1664 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1667 backquotes for `obsolete' (bug#13929).
1669 * international/mule.el (find-auto-coding): Include file name in
1670 obsolescence warning (bug#13922).
1672 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1674 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1675 for CFEngine 3-specific indentation.
1676 (cfengine3-indent-line): Use it. Fix up category regex.
1677 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1679 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * type-break.el (type-break-file-name):
1682 * textmodes/remember.el (remember-data-file):
1683 * strokes.el (strokes-file):
1684 * shadowfile.el (shadow-initialize):
1685 * saveplace.el (save-place-file):
1686 * ps-bdf.el (bdf-cache-file):
1687 * progmodes/idlwave.el (idlwave-config-directory):
1688 * net/quickurl.el (quickurl-url-file):
1689 * international/kkc.el (kkc-init-file-name):
1690 * ido.el (ido-save-directory-list-file):
1691 * emulation/viper.el (viper-custom-file-name):
1692 * emulation/vip.el (vip-startup-file):
1693 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1694 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1696 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1698 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1699 * language/thai-word.el: Switch to UTF-8.
1701 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1705 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1707 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1708 Use with-current-buffer and don't move point.
1709 (net-utils-run-simple): Remove useless code.
1710 (net-utils-remove-ctl-m): Remove unused custom.
1712 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1714 * international/characters.el (glyphless-set-char-table-range): New fun.
1715 (update-glyphless-char-display): Use it (bug#13744).
1717 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1719 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1720 namespaces in the syntax, indent closer for hanging brace
1721 correctly, allow single-quote delimited 'strings', and make
1722 `cfengine3-mode' the default.
1724 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1726 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1727 Use lexical-binding. Fix up docstring according to conventions.
1728 (gdbmi-debug-mode): New var.
1729 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1730 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1731 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1732 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1733 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1734 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1735 (gdbmi-bnf-incomplete-record-result): New functions.
1736 (gdb-car<): Remove function.
1737 (gdbmi-record-list): Remove variable.
1738 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1739 (gdbmi-bnf-result-state-configs): New const.
1740 (gud-gdbmi-marker-filter): Rewrite.
1741 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1742 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1743 Add `token' argument.
1744 (gdb-done, gdb-error): New functions.
1745 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1747 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * term/xterm.el (xterm--report-background-handler): Don't burp
1751 (xterm--version-handler): Extract from terminal-init-xterm.
1752 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1753 Allow multiple handlers.
1754 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1756 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1757 (xterm--report-background-handler, xterm--query): New functions.
1758 (terminal-init-xterm): Use them.
1760 2013-03-11 Michael R. Mauger <michael@mauger.com>
1762 * progmodes/sql.el Version 3.2
1763 Please note that my address changed to <michael@mauger.com>;
1764 the <mmaug@yahoo.com> address remains active.
1765 (sql-connection-alist): Updates documentation to fix bug#13715.
1766 (sql-connect): Handle missing `sql-connection-alist' correctly.
1767 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1768 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1770 (sql-default-value): New function.
1771 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1772 values were not used.
1773 (sql-rename-buffer): Make sure alternate buffer name has no text
1775 (sql-input-sender, sql-execute-feature): Fetch variable with
1776 `buffer-local-value' rather than `with-current-buffer'.
1777 (sql-*): Use #' function syntax consistently.
1778 (sql-*): Use message/error/user-error consistently.
1780 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * xt-mouse.el (xterm-mouse-event-read): Remove.
1783 (xterm-mouse--read-event-sequence-1000)
1784 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1786 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1788 * term/xterm.el (xterm-function-map): Support format used with
1789 formatOtherKeys=1 (bug#13839).
1791 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1792 (with-no-warnings): Use `declare'.
1794 * whitespace.el (whitespace-enable-predicate): New variable.
1795 (whitespace-enable-predicate): Use it.
1797 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1798 (comint-output-filter, comint-update-fence):
1799 Use with-silent-modifications.
1801 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1803 * replace.el (occur-read-regexp-defaults-function): New var.
1804 (occur-read-regexp-defaults): New defun.
1805 (occur-read-primary-args): Propagate above change (bug#13892).
1807 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1809 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1811 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1813 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1815 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1816 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1817 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1819 (tramp-gvfs-file-name-handler-alist) [directory-files]
1820 [directory-files-and-attributes, file-exists-p, file-modes]:
1821 Use Tramp default handler.
1822 [file-acl, file-selinux-context, process-file, set-file-acl]:
1823 [set-file-modes, set-file-selinux-context, shell-command]:
1824 [start-file-process]: Remove handler.
1825 [verify-visited-file-modtime]: New handler.
1826 (tramp-gvfs-dbus-string-to-byte-array)
1827 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1828 calls of `dbus-string-to-byte-array' and
1829 `tramp-gvfs-dbus-byte-array-to-string'.
1830 (tramp-gvfs-handle-copy-file)
1831 (tramp-gvfs-handle-delete-directory)
1832 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1833 (tramp-gvfs-handle-file-directory-p)
1834 (tramp-gvfs-handle-file-executable-p)
1835 (tramp-gvfs-handle-file-name-all-completions)
1836 (tramp-gvfs-handle-file-readable-p)
1837 (tramp-gvfs-handle-file-writable-p)
1838 (tramp-gvfs-handle-insert-directory)
1839 (tramp-gvfs-handle-insert-file-contents)
1840 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1841 (tramp-gvfs-handle-set-visited-file-modtime)
1842 (tramp-gvfs-handle-write-region): Rewrite.
1843 (tramp-gvfs-handle-file-acl)
1844 (tramp-gvfs-handle-file-selinux-context)
1845 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1846 (tramp-gvfs-handle-set-file-modes)
1847 (tramp-gvfs-handle-set-file-selinux-context)
1848 (tramp-gvfs-handle-shell-command)
1849 (tramp-gvfs-handle-start-file-process)
1850 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1851 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1852 over the symlinks. Fix user handling.
1853 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1854 of the D-Bus signals.
1855 (tramp-gvfs-connection-mounted-p): Handle different names of the
1857 (tramp-gvfs-mount-spec-entry): New defun.
1858 (tramp-gvfs-mount-spec): Use it.
1859 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1860 there is a share name. Handle different names of the D-Bus
1861 signals and methods. Set connection properties needed for
1862 `tramp-check-cached-permissions'.
1863 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1866 * net/tramp.el (tramp-backtrace): Move up.
1867 (tramp-error): Dump a backtrace into the debug buffer when
1869 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1870 (tramp-file-mode-permissions, tramp-get-local-uid)
1871 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1874 * net/tramp-sh.el (tramp-file-mode-type-map)
1875 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1876 (tramp-file-mode-permissions, tramp-get-local-uid)
1877 (tramp-get-local-gid): Move to tramp.el.
1879 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1881 Separate mouse-1-click-follows-link from mouse-drag-region.
1882 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1883 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1884 (mouse-drag-line, mouse-drag-track):
1885 Remove mouse-1-click-follows-link code.
1886 (mouse--remap-link-click-p): Remove.
1888 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1890 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1891 (hi-lock-read-regexp-defaults): New defun.
1892 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1893 (hi-lock-face-phrase-buffer): Propagate above change.
1894 Update docstring (bug#13892).
1896 * subr.el (find-tag-default-as-regexp): New defun.
1897 * replace.el (read-regexp): Propagate above change.
1899 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1901 * calc/calc-units.el (calc-convert-units): Fix the way that default
1902 new units are stored.
1904 2013-03-07 Matthias Meulien <orontee@gmail.com>
1906 * bookmark.el: Define a face to highlight bookmark names in
1907 bookmark menu buffers, where the default is a bold face similarly
1908 to buffer names in buffer menu buffers.
1909 (bookmark-menu-bookmark): New face to highlight bookmark names.
1910 (bookmark-insert-location): Remove duplicated text property to
1911 conform to buffer list (see `list-buffers').
1912 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1913 `bookmark-menu-bookmark' to bookmark names.
1915 2013-03-07 Matthias Meulien <orontee@gmail.com>
1916 Karl Fogel <kfogel@red-bean.com>
1918 * bookmark.el: Display the bookmark list header similarly to the
1919 buffer list header (see `list-buffers'), where the default is now
1920 an immovable/immutable header line.
1921 (bookmark-bmenu-use-header-line): New variable.
1922 (bookmark-bmenu-inline-header-height): New name for
1923 `bookmark-bmenu-header-height', to avoid confusion with the code
1924 for the new immovable header. All references changed.
1925 (bookmark-bmenu-set-header): New function.
1926 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1927 Conditionalize header construction accordingly.
1928 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1929 the inline header height.
1930 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1931 Conditionalize the skipping of the inline header height.
1933 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1935 * progmodes/js.el (js--multi-line-declaration-indentation):
1936 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1938 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1940 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1941 Only propertize regexp when not inside a string (Bug#13885).
1943 2013-03-06 Alan Mackenzie <acm@muc.de>
1945 Correct the position of point in some line-up functions.
1946 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1947 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1948 point at column 0 rather than at a random place in the line.
1950 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1952 * net/tramp-compat.el (tramp-compat-delete-directory):
1953 Implement TRASH argument.
1955 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1957 Keep pre-existing highlighting in completion candidates (Bug#13250).
1958 * minibuffer.el (completions-first-difference): State that the
1959 face is "added" in the docstring.
1960 (completions-common-part): Same. And don't inherit from default.
1961 (completion-hilit-commonality): Prepend 'completions-common-part
1962 and 'completion-first-difference faces to the 'face property,
1963 instead of replacing the value(s).
1964 (completion--insert-strings): Same with 'completions-annotations face.
1965 (completion-hilit-commonality): Use 'face instead of
1966 'font-lock-face, because it gets priority if the completion
1967 strings already have 'face set.
1969 2013-03-04 Alan Mackenzie <acm@muc.de>
1971 Replace `last-command-event' by `last-command-char' in XEmacs.
1972 * progmodes/cc-defs.el (c-last-command-char): New macro.
1973 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1974 (c-semi&comma-no-newlines-before-nonblanks)
1975 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1976 in place of `last-command-event'.
1977 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1978 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1979 (c-electric-paren, c-electric-continued-statement): Use the new
1980 macro in place of `last-command-event'.
1982 2013-03-04 Glenn Morris <rgm@gnu.org>
1984 * files.el (inhibit-local-variables-regexps):
1985 Add .diff and .patch. (Bug#13862)
1987 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1989 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1990 whether the "su" command is available on the device.
1992 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1994 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1995 (tramp-adb-handle-process-file): Remove superfluous setting.
1996 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1997 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1998 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2000 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2003 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2004 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2005 Use dict-key rather than dict-name for the error message.
2007 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2009 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2010 when reverting (bug#13831).
2012 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2014 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2015 Always expand affix-file before storing to protect against changed
2016 `default-directory'.
2017 (ispell-print-if-debug): Make sure message is printed at the end
2018 of the debug buffer.
2020 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2022 * net/tramp.el (tramp-obsolete-methods): New defconst.
2023 (tramp-warned-obsolete-methods): New defvar.
2024 (tramp-find-method): Check for obsolete methods. Map them to a
2025 replacement method if appropriate.
2027 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2029 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2030 "ssh2" and "plink1".
2032 2013-02-28 Dale Sedivec <dale@codefu.org>
2034 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2035 Return valid syntax-table property value when converting
2036 quotes within text from string syntax to punctuation syntax (bug#13844).
2038 2013-02-28 Juri Linkov <juri@jurta.org>
2040 * dired-aux.el (dired-diff): If file at point is a backup file,
2041 use its original as the default value, and reverse the order
2042 of arguments to the `diff' call. Doc fix. (Bug#13772)
2044 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2046 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2047 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2049 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2051 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2053 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2054 Ask hunspell about available and default dictionaries.
2055 (ispell-parse-hunspell-affix-file): Extract relevant info from
2056 hunspell affix file.
2057 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2058 `ispell-dictionary-alist' entry for given dictionary after info
2059 provided by `ispell-parse-hunspell-affix-file'.
2060 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2061 of parsed hunspell dicts and associated affix files.
2062 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2063 of parsed hunspell dicts and associated parameters.
2064 (ispell-set-spellchecker-params):
2065 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2067 (ispell-start-process):
2068 Call `ispell-hunspell-fill-dictionary-entry' for current
2069 dictionary if it is not initialized.
2071 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * imenu.el: Comment nitpicks.
2075 2013-02-28 Sam Steingold <sds@gnu.org>
2077 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2078 See <http://stackoverflow.com/questions/14720205>.
2080 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2082 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2083 (net-utils-mode): Use it.
2084 (net-utils--revert-cmd): New var.
2085 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2086 (traceroute): Use net-utils-run-simple.
2088 2013-02-28 Glenn Morris <rgm@gnu.org>
2090 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2092 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2094 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2095 (doc-view-fallback-mode): Remove overlays here.
2096 (doc-view-toggle-display): Instead of here. Don't throw away
2097 image-mode-winprops-alist.
2098 (doc-view-goto-page): Don't mess with hscroll.
2100 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2102 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2103 &optional (bug#13819).
2105 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2107 * net/tramp-adb.el (tramp-adb-parse-device-names)
2108 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2110 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2112 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2113 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2114 defined. POSIX environments fall back to the "C" locale then and
2115 emit a warning, which shall be suppressed.
2117 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2119 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2120 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2122 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2126 2013-02-25 Juri Linkov <juri@jurta.org>
2128 * replace.el (read-regexp): Let-bind `default' to the first
2129 element of `defaults' if it's a list, otherwise it should be
2130 a string or nil. Let-bind `suggestions' to `defaults' if it's
2131 a list, otherwise make a list with the string value. Doc fix.
2134 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2136 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2137 that match "\`\.#", to avoid compiling lock files, even if they
2138 are readable (as they are on MS-Windows).
2140 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2142 * files.el (basic-save-buffer): Remove redundant directory-creation.
2144 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2146 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2147 Add option to force `pi' to remain symbolic.
2148 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2149 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2150 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2151 derivatives, when necessary.
2153 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2155 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2156 (ps-mode-octal-region): Use string-make-unibyte.
2158 2013-02-23 Glenn Morris <rgm@gnu.org>
2160 * emulation/viper-cmd.el (viper-submit-report):
2161 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2162 * progmodes/vera-mode.el (vera-mode-help-address):
2163 * textmodes/artist.el (artist-maintainer-address):
2164 * textmodes/reftex.el (reftex-report-bug):
2165 * vc/ediff-util.el (ediff-submit-report):
2166 Add bug-gnu-emacs to bug report address.
2168 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2169 Remove bug report entries.
2170 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2172 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2173 (byte-compile-file, byte-compile-from-buffer):
2174 Use separate input/output buffers for each level of recursive
2175 byte-compile-file calls. (Bug#13787)
2177 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2179 * net/tramp.el (tramp-methods): Fix docstring.
2180 (tramp-ssh-controlmaster-options): Rename it from
2181 `tramp-ssh-controlmaster-template'. Return a string.
2182 (tramp-default-method): Adapt check for
2183 `tramp-ssh-controlmaster-options'.
2185 * net/tramp-sh.el (tramp-methods):
2186 Replace `tramp-ssh-controlmaster-template' by "%c".
2187 (tramp-do-copy-or-rename-file-out-of-band)
2188 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2189 that it is applied for the first hop only.
2191 2013-02-22 Juri Linkov <juri@jurta.org>
2193 * isearch.el (isearch-lazy-highlight-new-loop):
2194 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2195 to `isearch-other-end' if it is not nil. (Bug#13402)
2197 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2200 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2201 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2202 and `isearch-error' to nil.
2204 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2206 * progmodes/python.el (python-info-current-defun):
2207 Enhance match-data cluttering prevention.
2209 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2211 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2213 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2214 Handle multibyte file names.
2216 2013-02-22 Glenn Morris <rgm@gnu.org>
2218 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2219 (sgml-transformation-function): Give it a :set function.
2220 (sgml-tag): Doc fix.
2222 * cmuscheme.el (scheme-buffer):
2223 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2224 * progmodes/tcl.el (inferior-tcl-buffer):
2225 * textmodes/tex-mode.el (tex-command): Doc fixes.
2227 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2229 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2231 2013-02-21 Bastien Guerry <bzg@gnu.org>
2233 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2235 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2237 * progmodes/python.el (python-info-current-defun):
2238 Enhance match-data cluttering prevention.
2240 2013-02-21 Glenn Morris <rgm@gnu.org>
2242 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2243 loaded while outline-regexp is let bound. (Bug#9584)
2245 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2247 * progmodes/python.el (python-info-current-defun): Fix failed
2248 defun name retrieval because of unwanted match-data cluttering.
2250 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2252 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2253 defconst. Apply independent check for ControlPersist.
2255 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2256 temporarily, via "env".
2258 2013-02-21 Glenn Morris <rgm@gnu.org>
2260 * info.el (Info-enable-edit): Remove.
2261 (Info-edit): Disable it rather than using Info-enable.
2262 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2263 (Info-cease-edit): Make editing of Info files obsolete.
2265 * informat.el (Info-tagify):
2266 Handle buffers not visiting files. (Bug#13763)
2268 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2270 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2272 2013-02-21 Glenn Morris <rgm@gnu.org>
2274 * files.el (basic-save-buffer): Move check for existing parent
2275 directory after hooks. (Bug#13773)
2277 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * simple.el (command-execute): Move from C. Add obsolete check.
2280 (extended-command-history): Move from C.
2282 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2284 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2285 (jka-compr-mode-alist-additions): Handle .txz suffix for
2286 XZ-compressed tar archives (bug#13770).
2288 2013-02-20 Bastien Guerry <bzg@gnu.org>
2290 * outline.el (outline-regexp, outline-heading-end-regexp):
2291 Make variables, not options (bug#13731).
2293 2013-02-20 Glenn Morris <rgm@gnu.org>
2295 * image.el (image-current-frame): Change from variable to function.
2296 (image-show-frame): Rename from image-nth-frame. Update callers.
2297 * image-mode.el (image-multi-frame): New variable.
2298 (image-mode-map, image-mode, image-goto-frame):
2299 Use image-multi-frame rather than image-current-frame.
2300 (image-mode, image-goto-frame): Use image-current-frame as
2301 function rather than as variable.
2303 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2304 * emacs-lisp/cl-macs.el (cl--make-type-test)
2305 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2307 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2309 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2310 (tramp-get-file-property, tramp-set-file-property)
2311 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2312 (tramp-flush-file-property, tramp-flush-directory-property):
2313 Rename argument to KEY.
2314 (tramp-flush-connection-property): Simplify a little bit.
2315 (tramp-connection-property-p): New defun.
2316 (top): Reapply saved values only if there isn't a corresponding
2317 entry in `tramp-connection-properties'.
2319 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2321 * progmodes/python.el (python-indent-context):
2322 Fix python-info-line-ends-backslash-p call.
2323 (python-info-line-ends-backslash-p)
2324 (python-info-beginning-of-backslash): Respect line-number argument.
2325 (python-info-current-line-comment-p):
2326 Fix behavior when not at beginning-of-line.
2327 (python-util-position): Remove function.
2328 (python-util-goto-line): New function.
2330 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2332 * eshell/em-unix.el (eshell/su): Require tramp.
2333 (eshell/sudo): Require tramp. Remove now unnecessary check.
2335 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2336 `tramp-current-connection' in order to avoid an error when several
2337 commands are invoked in a short time in eshell and friends.
2339 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2341 Cleanup some of EIEIO's namespace.
2342 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2343 Use it to define all the class-* and object-* field accessors (renamed
2344 to eieio--class-* and eieio--object-*). Update all uses.
2345 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2346 class-num-slots and object-num-slots.
2347 (eieio--check-type): New macro.
2348 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2349 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2350 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2351 (object-assoc-list-safe): Use it.
2352 (eieio-defclass): Tighten regexp.
2353 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2354 Remove unreachable code.
2355 (object-class-fast): Declare obsolete.
2356 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2357 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2358 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2359 Rename from class-name, object-name, object-set-name-string,
2360 object-class, object-class-name, class-parents, class-children,
2361 class-precedence-list, class-parent; with obsolete alias.
2362 (class-of, class-direct-superclasses, class-direct-subclasses):
2364 (eieio-defmethod): Use `memq'; remove unreachable code.
2365 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2366 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2367 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2369 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2371 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2374 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2376 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2377 Use font-lock-keyword-face for macros and special forms (bug#8345).
2379 2013-02-17 Didier Verna <didier@didierverna.net>
2381 * net/network-stream.el (network-stream-open-starttls):
2382 Check that response to the starttls-command is non-nil. (Bug#13706)
2384 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2387 Don't assume all identifier chars have syntax word.
2388 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2389 Remove bar-not-symbol. Adjust callers.
2390 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2392 2013-02-17 Leo Liu <sdl.web@gmail.com>
2394 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2396 2013-02-17 Glenn Morris <rgm@gnu.org>
2398 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2400 * image-mode.el (image-mode-map): Add image-dired menu entry.
2402 * image-dired.el (tumme): Make this alias obsolete.
2404 2013-02-16 Glenn Morris <rgm@gnu.org>
2406 * image.el (image-animated-types): Remove.
2407 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2408 (image-animated-p): Make obsolete alias.
2409 (image-animate, image-nth-frame, image-animate-timeout):
2410 Use image-multi-frame-p.
2411 (image-animate-timeout): If no delay, use image-default-frame-delay.
2412 * image-mode.el (image-mode, image-toggle-animation):
2413 Use image-multi-frame-p. (Bug#763, bug#10739)
2414 (image-mode): Adjust startup message for a multi-frame image.
2416 * image-mode.el (image-mode-map): Give it a menu.
2418 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2420 * net/tramp-cache.el (tramp-connection-properties): New customer
2422 (tramp-get-connection-property): Use it.
2424 * net/tramp-compat.el (top): Require 'trampver.
2426 * net/tramp-sh.el (tramp-remote-process-environment):
2427 Set tramp-autoload cookie.
2429 2013-02-16 Kevin Ryde <user42@zip.com.au>
2431 * info-look.el (info-lookup-select-mode): If major-mode has no
2432 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2434 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2436 * replace.el (read-regexp): Tighten the regexp that matches tag.
2437 When tag is retrieved with `find-tag-default', use regexp that
2438 matches tag at point. Also update docstring (Bug#13687).
2440 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2442 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2443 add watch for the file, not its parent directory, since w32notify
2444 sets up the watch for the directory internally. (Bug#13725)
2446 2013-02-16 Glenn Morris <rgm@gnu.org>
2448 * image.el (image-default-frame-delay): New variable.
2449 (image-animated-p): Use image-default-frame-delay.
2450 (image-minimum-frame-delay): New constant.
2451 (image-animate-timeout): Use image-minimum-frame-delay.
2453 * image.el (image-nth-frame): New, split from image-animate-timeout.
2454 (image-animate-timeout): Use image-nth-frame.
2455 * image-mode.el (image-goto-frame, image-next-frame)
2456 (image-previous-frame): New commands.
2457 (image-mode-map): Add new frame commands.
2459 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2461 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2462 If col-desc already has help-echo, use it. (Bug#13563)
2464 2013-02-16 Glenn Morris <rgm@gnu.org>
2466 * image.el (image-current-frame): New variable.
2467 (image-animate-timeout): Set image-current-frame.
2468 * image-mode.el (image-mode): For animated images,
2469 display a frame counter via mode-line-process.
2471 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2473 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2477 2013-02-15 Alan Mackenzie <acm@muc.de>
2479 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2480 global minor mode has been enabled, call the minor mode function
2481 for a new buffer once only, after the major mode hook, whilst
2482 allowing that hook explicitly to disable the minor mode.
2483 (MODE-disable-in-buffer): New (generated) function.
2484 (disable-MODE): New (generated) buffer local variable.
2486 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2488 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2489 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2490 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2491 `ido-next-match' and `ido-prev-match' resply.
2492 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2493 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2494 `icomplete-backward-completions' (Bug#13708).
2496 2013-02-15 Glenn Morris <rgm@gnu.org>
2498 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2500 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2502 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2503 (goto-address-fontify-region): Use them instead of narrowing, so
2504 syntax-ppss has access to the whole buffer.
2506 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2508 * progmodes/python.el: Explain how to restore "cc-mode"-like
2509 forward-sexp movement in header documentation (Bug#13642).
2510 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2511 comments and strings (GH bug 114).
2513 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2515 * progmodes/python.el (python-info-current-defun): Fix current
2516 defun detection (Bug#13618).
2518 2013-02-15 Chong Yidong <cyd@gnu.org>
2520 * xml.el (xml-parse-string): Fix typo in handling of bad character
2523 2013-02-15 Glenn Morris <rgm@gnu.org>
2525 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2527 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2529 * net/tramp.el (tramp-debug-message):
2530 Add `tramp-condition-case-unless-debug'.
2531 (tramp-debug-on-error): New defvar.
2532 (tramp-condition-case-unless-debug): New defun.
2533 (tramp-file-name-handler): Use it.
2535 2013-02-14 Juri Linkov <juri@jurta.org>
2537 * info.el (Info-isearch-filter): Treat non-nil values of
2538 `search-invisible' including its default value `open'
2539 like the value `t' to match hidden text. (Bug#13402)
2541 2013-02-14 Glenn Morris <rgm@gnu.org>
2543 * help-fns.el (find-lisp-object-file-name): Give special treatment
2544 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2546 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2548 * net/quickurl.el (quickurl-save-urls):
2549 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2551 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2553 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2554 depth for unfinished percent literal. Not using it in the caller.
2555 (ruby-move-to-block): Jump over multiline literals of all types,
2556 ignoring code-looking contents inside them.
2557 (ruby-add-log-current-method): Improve performance at the expense
2558 of accuracy. `ruby-block-contains-point' is relatively slow, so
2559 only use it for method and singleton class blocks.
2561 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2563 Use ControlMaster where applicable. (Bug#13677)
2565 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2566 replacing `tramp-detect-ssh-controlmaster'.
2567 (tramp-default-method): Use it.
2569 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2570 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2572 [scpc, rsyncc]: Remove methods.
2573 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2575 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2576 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2578 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2580 * emacs-lisp/package.el (package--initialized): Move before first use.
2582 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2584 * icomplete.el (icomplete-hide-common-prefix): New user option.
2585 (icomplete-first-match): New face.
2586 (icomplete-completions): Correct handling of "complete but not
2587 unique" (Bug#12638).
2589 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2591 * descr-text.el (describe-char): Display the script (bug#13698).
2593 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * tmm.el: Use lexical-binding and current-active-maps.
2596 (tmm-menubar): Use map-keymap and pcase.
2597 (tmm--completion-table): New function.
2598 (tmm-prompt): Use it to fix the menu order.
2599 (tmm-get-keybind): Use current-active-maps.
2601 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2603 Add dired-hide-details-mode. (Bug#6799)
2605 * locate.el (locate-mode): Set parent mode property to dired-mode.
2607 * find-dired.el (find-dired): Call dired-insert-set-properties on
2608 initial information line. Set process mark on end of buffer.
2609 (find-dired-sentinel):
2610 Call dired-insert-set-properties on summary.
2612 * dired.el (dired-hide-details-hide-symlink-targets)
2613 (dired-hide-details-hide-information-lines): New options.
2614 (dired-insert-directory):
2615 Set properties after final treatment of output.
2616 (dired-insert-set-properties):
2617 Set dired-hide-details-* properties.
2618 (dired-mode-map): Bind dired-hide-details-mode.
2619 (dired-mode): Set buffer-invisibility-spec to a list.
2620 (dired-next-line): Skip hidden lines.
2621 (dired-previous-line): Use dired-next-line.
2622 (dired-hide-details-mode): New minor mode.
2623 (dired-hide-details-update-invisibility-spec): New function.
2625 2013-02-13 Glenn Morris <rgm@gnu.org>
2627 * play/yow.el: Move to obsolete/. (Bug#9384)
2629 2013-02-13 Juri Linkov <juri@jurta.org>
2631 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2632 to select `ediff-control-frame' and set input focus correctly on Xfce.
2635 2013-02-13 Juri Linkov <juri@jurta.org>
2637 * image-mode.el (image-mode-map):
2638 * doc-view.el (doc-view-mode-map):
2639 * vc/ediff-util.el (ediff-setup-keymap):
2640 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2642 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2644 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2645 performance. Instead of recalculating indentation fully for each
2646 line, sum up indentation depth based only on visited lines.
2647 (ruby-parse-partial): Increase the depth after "do" even when END
2649 (ruby-parse-partial): When END is in the middle of a percent
2650 literal, increase the depth if the delimiter chars belong to the
2653 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2655 * play/fortune.el (fortune-compile): Also make the compiled file
2656 if it does not exist at all, not just if it is old. (Bug#5338)
2658 2013-02-13 Glenn Morris <rgm@gnu.org>
2660 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2662 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2664 * lisp/emacs-lisp/package.el (package-menu-execute):
2665 Add optional noquery argument. (Bug#13625)
2667 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2669 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2670 if DIR exists and PARENTS is non-nil.
2672 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2674 * progmodes/js.el (js--multi-line-declaration-indentation):
2675 Silence byte-compiler warning.
2677 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2679 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2681 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2682 only if it doesn't exist.
2684 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2687 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2689 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2690 UserInstallation when calling soffice to work around LibreOffice
2693 2013-02-12 Glenn Morris <rgm@gnu.org>
2695 * files.el (basic-save-buffer):
2696 Offer to create a non-existing directory. (Bug#3016)
2698 * calc/calc-graph.el (calc-graph-show-dumb):
2699 * calendar/calendar.el (calendar-mode-map):
2700 * cus-edit.el (custom-mode-map):
2701 * ehelp.el (electric-help-map):
2702 * emulation/vip.el (vip-mode-map):
2703 * epa.el (epa-key-list-mode-map):
2704 * info.el (Info-mode-map):
2705 * mail/rmail.el (rmail-mode-map):
2706 * mail/rmailsum.el (rmail-summary-mode-map):
2707 * man.el (Man-mode-map):
2708 * net/newst-plainview.el (newsticker-mode-map):
2709 * progmodes/cpp.el (cpp-edit-mode-map):
2710 * progmodes/grep.el (grep-mode-map):
2711 * progmodes/idlw-help.el (idlwave-help-mode-map):
2712 * simple.el (special-mode-map):
2713 * startup.el (splash-screen-keymap):
2714 * view.el (view-mode-map):
2715 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2717 2013-02-11 Elias Pipping <pipping@lavabit.com>
2719 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2722 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2726 2013-02-11 Glenn Morris <rgm@gnu.org>
2728 * vc/diff.el (diff-use-labels): New variable.
2729 (diff-no-select): Use --label rather than -L, and first
2730 check that it is supported. (Bug#11067)
2732 * files.el (enable-dir-local-variables): New variable.
2733 (hack-dir-local-variables): Respect enable-dir-local-variables.
2734 * tutorial.el (help-with-tutorial):
2735 Ignore directory-local variables. (Bug#11127)
2737 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2738 (vc-svn-global-switches): ... to here. (Bug#13513)
2740 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2742 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2743 Handle "foo (bar, default: xxx): " prompts.
2745 2013-02-10 Chong Yidong <cyd@gnu.org>
2747 * files.el (basic-save-buffer-1): Do not set
2748 buffer-file-coding-system-explicit (Bug#4533).
2750 * mail/emacsbug.el (report-emacs-bug): Change binding of
2751 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2753 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2755 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2756 * calc/calc-units.el (calc-convert-units): Use new variable.
2758 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2760 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2762 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2765 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2766 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2767 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2768 coding-system-for-write instead.
2770 * jka-compr.el (jka-compr-write-region): Don't bind
2773 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2776 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2777 (insert-file-contents-literally): Remove reference to
2778 file-name-buffer-file-type-alist.
2780 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2782 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2783 (find-buffer-file-type-coding-system): Remove references to
2784 find-buffer-file-type-match, find-buffer-file-type, and
2786 Don't put find-buffer-file-type-coding-system into
2787 file-coding-system-alist.
2788 (find-file-binary, find-file-text): Bind coding-system-for-read
2789 instead of file-name-buffer-file-type-alist.
2791 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2793 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2794 converter (Bug#13622).
2795 (doc-view-unoconv-program): Make obsolete alias.
2796 (doc-view-odf->pdf-converter-program): New variable.
2797 (doc-view-odf->pdf-converter-function): New variable.
2798 (doc-view-mode-p): Use it.
2799 (doc-view-odf->pdf-converter-unoconv):
2800 Rename from `doc-view-odf->pdf-converter-unoconv'.
2801 (doc-view-odf->pdf-converter-soffice): New function.
2802 (doc-view-convert-current-doc):
2803 Use `doc-view-odf->pdf-converter-function'.
2805 2013-02-09 Chong Yidong <cyd@gnu.org>
2807 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2808 view-echo-area-messages (Bug#13340).
2810 * help.el (view-echo-area-messages): Use display-buffer.
2812 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2815 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2817 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2818 Eval body right away, now that we do eager macroexpansion (bug#13605).
2820 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2821 (fundamental-mode): Use run-mode-hooks.
2823 * eshell/esh-proc.el (eshell/kill): Fix last change.
2824 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2826 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2828 * eshell/esh-proc.el (eshell/kill): Rewrite.
2830 * eshell/em-ls.el (show-almost-all): Declare.
2831 (eshell-do-ls): Add support for -A argument.
2833 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2835 * icomplete.el (icomplete-forward-completions)
2836 (icomplete-backward-completions): Handle corner case (bug#13602).
2838 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2840 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2841 be nil. Handle this. (Bug#13636)
2843 2013-02-07 Richard Stallman <rms@gnu.org>
2845 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2846 `save-buffer-coding-system'.
2848 2013-02-07 Alan Mackenzie <acm@muc.de>
2850 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2851 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2852 (c-parse-state-get-strategy): Don't return 'BOD any more.
2853 (c-append-lower-brace-pair-to-state-cache):
2854 Extra parameter HERE instead of narrowing.
2855 Widen to top of buffer before searching backwards for a brace pair.
2856 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2857 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2858 Narrow to parameter HERE, in place of being called narrowed.
2859 (c-remove-stale-state-cache): Extra parameter HERE in place of
2860 narrowing. Check there's an open brace in the cache before
2861 searching for its match.
2862 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2863 (c-parse-state-1): Don't narrow here for 'forward strategy,
2864 instead passing extra parameter HERE to several functions.
2865 Remove 'BOD strategy.
2867 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2869 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2870 used to install the package.
2872 2013-02-06 Glenn Morris <rgm@gnu.org>
2874 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2875 if we can't get user input. (Bug#6567)
2877 * startup.el (command-line): If simple.el is missing,
2878 test and warn about for some possible causes.
2880 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2882 * cus-start.el (all): Add ns-use-native-fullscreen.
2884 2013-02-05 Glenn Morris <rgm@gnu.org>
2886 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2888 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2889 Fix directory creation in fallback case.
2891 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2893 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2894 (vc-update-change-log): Use dolist.
2896 2013-02-04 Chong Yidong <cyd@gnu.org>
2898 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2900 (thing-at-point-beginning-of-url-regexp): New var.
2901 (thing-at-point-uri-schemes): Update list of URI schemes.
2902 (thing-at-point-url-regexp): Variable deleted.
2903 (thing-at-point-markedup-url-regexp): Disallow newlines.
2904 (thing-at-point-newsgroup-regexp)
2905 (thing-at-point-newsgroup-heads)
2906 (thing-at-point-default-mail-uri-scheme): New variables.
2907 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2908 method to find the possible bounds of the URI at point.
2909 New optional argument to find ill-formed URIs.
2910 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2911 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2912 the scheme-adding heuristics from ffap-url-at-point.
2913 (thing-at-point--bounds-of-well-formed-url): New function.
2914 Do parens matching to decide whether to include parens in the URI
2917 * ffap.el: Require thingatpt.
2918 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2919 All URI-valid characters are now recognized (Bug#5673).
2920 (ffap-string-at-point): Use use-region-p.
2921 (ffap-url-regexp): Extra character is handled by thing-at-point.
2922 (ffap-string-at-point-mode-alist): Allow parentheses.
2923 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2924 Convert to aliases; code moved to thingatpt.el.
2925 (ffap-gnus-hook): Use setq-local.
2927 2013-02-04 Glenn Morris <rgm@gnu.org>
2929 * emacs-lisp/ert.el (ert--explain-format-atom):
2930 Don't try to print non-characters as characters. (Bug#13543)
2932 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2934 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2935 (tramp-backtrace): New defun.
2936 (tramp-handle-insert-file-contents): Use `visit' when inserting
2939 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2940 Use `remote-file-name-inhibit-cache'.
2942 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2947 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2948 current-load-list (bug#13366).
2950 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2952 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2953 Identify g++ template instantiation trace. (Bug#12287)
2954 (compilation-mode-hook, compilation-start-hook)
2955 (compilation-window-height): Simplify docstrings. (Bug#13379)
2957 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * mouse.el (mouse-drag-track): Always deactivate the mark before
2960 running the final event's command since that command is in charge of
2961 activating the mark if needed (bug#13523).
2963 2013-02-02 Juri Linkov <juri@jurta.org>
2965 * replace.el (perform-replace): Move let-bindings of isearch-*
2966 variables deeper to the loop that searches for the next match.
2967 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2968 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2971 * isearch.el (isearch-search-fun-default): Check for null
2972 first element of isearch-cmds as a precaution when it's used
2973 with inactive isearch.
2975 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2977 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2978 error when buffer in question is narrowed so position 1 is out of
2981 2013-02-02 Glenn Morris <rgm@gnu.org>
2983 * textmodes/remember.el (remember-clipboard): Doc fix.
2985 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2988 properties (bug#13179).
2990 2013-02-02 Juri Linkov <juri@jurta.org>
2992 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2993 instead of hard-coded default face `match'. (Bug#9438)
2995 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2997 * vc/vc-arch.el (vc-arch-registered):
2998 * vc/vc-bzr.el (vc-bzr-registered):
2999 * vc/vc-cvs.el (vc-cvs-registered):
3000 * vc/vc-git.el (vc-git-registered):
3001 * vc/vc-hg.el (vc-hg-registered):
3002 * vc/vc-mtn.el (vc-mtn-registered):
3003 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3006 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3007 prefix argument. (Bug#11656)
3009 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3011 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3013 2013-02-01 Glenn Morris <rgm@gnu.org>
3015 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3016 if the backend is known not to support it.
3018 * imenu.el (imenu-default-create-index-function):
3019 Tweak infinite loop test to check for forward motion as well as none.
3021 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3023 * net/soap-client.el (soap-invoke): Encode the string for
3024 `url-request-data' as UTF-8.
3025 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3027 2013-02-01 Glenn Morris <rgm@gnu.org>
3029 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3031 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3033 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3035 * net/tramp.el (tramp-tramp-file-p): Comment check for
3036 `string-as-unibyte'. The function does not exist on XEmacs, and
3037 likely we need another approach.
3039 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3040 `tramp-gw-*' variables are bound.
3042 2013-01-31 Glenn Morris <rgm@gnu.org>
3044 * files.el (basic-save-buffer-2): Choose coding system for
3045 writing the file before backing it up, to reduce delay between
3046 backing up and writing the new version. (Bug#13522)
3048 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3050 * simple.el (cycle-spacing): New command.
3051 (just-one-space): Use it.
3053 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3055 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3056 (opascal-newline-always-indents): Remove custom.
3057 (opascal-tab, opascal-newline): Remove commands.
3058 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3059 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3060 (opascal-save-match-data): Remove, use save-match-data instead.
3061 (opascal-save-state): Use with-silent-modifications.
3063 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3066 2013-01-30 Juri Linkov <juri@jurta.org>
3068 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3069 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3070 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3072 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3075 column if we're just deleting the backslashes.
3076 (makefile-fill-paragraph): Use eolp.
3078 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3080 * autorevert.el (auto-revert-use-notify): Fix docstring.
3082 2013-01-30 Leo Liu <sdl.web@gmail.com>
3084 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3086 2013-01-30 Glenn Morris <rgm@gnu.org>
3088 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3089 unread-command-events twice in some cases. This tries to implement
3090 the 2012-07-26 changes in a different way. (Bug#13560)
3092 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3094 * progmodes/python.el
3095 (python-pdbtrack-comint-output-filter-function): Enhancements on
3096 stacktrace detection. (thanks @gnovak)
3098 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3100 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3101 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3103 (jit-lock-register): Use setq-local.
3105 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3107 * calc-units.el (math-default-units-table): Remove initial value.
3108 (calc-convert-units): Treat expressions where all the units cancel as
3109 if they didn't have units.
3111 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3113 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3114 (tramp-completion-reread-directory-timeout): Fix type.
3115 (tramp-connection-min-time-diff): New defcustom.
3117 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3119 2013-01-30 Glenn Morris <rgm@gnu.org>
3121 * imenu.el (imenu-default-create-index-function):
3122 Put back a version of the infinite loop test removed 2013-01-23.
3124 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3126 * progmodes/python.el (python-shell-parse-command):
3127 Find python-shell-interpreter with modified environment.
3129 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3133 2013-01-29 Alan Mackenzie <acm@muc.de>
3135 Amend to fontify /regexp/s in actions correctly.
3136 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3137 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3138 are no longer included.
3139 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3140 What used to be these variables without "-line" in the name.
3141 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3142 (c-awk-non-arith-op-bra-re): Now also matches {.
3143 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3144 "return", and "case".
3145 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3147 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3148 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3150 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3152 * autorevert.el (auto-revert-use-notify):
3153 Use `custom-initialize-default' for initialization. (Bug#13583)
3155 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3158 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3159 in `tramp-file-name-handler'.
3160 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3162 (tramp-compute-multi-hops): Check, whether
3163 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3165 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3170 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3173 checks made superfluous by the \_< operator.
3174 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3175 temporarily) broken indentation.
3176 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3177 Highlight nested constants, too. \_< broke that.
3179 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3184 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3186 * autorevert.el (auto-revert-handler): Notifications which result
3187 from a saved file shall not be taken into account. (Bug#13557)
3189 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3191 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3192 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3193 (lisp-mode): Pass t for it. (Bug#13556)
3195 2013-01-25 Alan Mackenzie <acm@muc.de>
3197 AWK Mode: Fix indentation bug at top level. Bug #12274.
3199 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3200 just before CASE 5D.
3202 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3204 * net/socks.el (socks-nslookup-host): Use string-to-number.
3206 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3208 * autorevert.el (auto-revert-remote-files)
3209 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3210 (auto-revert-notify-enabled, auto-revert-use-notify)
3211 (auto-revert-notify-watch-descriptor-hash-list)
3212 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3213 (auto-revert-notify-event-descriptor)
3214 (auto-revert-notify-event-action)
3215 (auto-revert-notify-event-file-name): Doc fix.
3216 (global-auto-revert-mode): Reorder checks.
3217 (auto-revert-notify-rm-watch): Respect changed values of
3218 `auto-revert-notify-watch-descriptor-hash-list'.
3219 (auto-revert-notify-add-watch): Check for
3220 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3221 `inotify-add-watch'. Watch `default-directory' instead of
3222 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3223 has a changed meaning now. (Bug#13540)
3224 (auto-revert-notify-handler): Change implementation wrt events
3225 returning from a directory.
3226 (auto-revert-handler): Reorder implementation for checks of remote
3228 (auto-revert-buffers): Fix parentheses error.
3230 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3232 * progmodes/python.el: Enhancements to header documentation about
3233 skeletons. (Bug#5716)
3235 * imenu.el (imenu-default-create-index-function): Remove useless
3236 infinite loop check. (Bug#13438)
3238 2013-01-25 Alan Mackenzie <acm@muc.de>
3240 Fix a bug in the state cache mechanism. Refactor this a bit.
3242 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3243 `cache-pos' element from the return value.
3244 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3245 buffer to enable proper searching from beyond HERE. Amend the
3246 test for detecting the sought brace pair. Amend the value written
3247 to the "brace desert cache" when the brace isn't found.
3248 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3249 and several other variables analogously.
3250 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3251 parameter to a locally calculated variable.
3252 (c-parse-state-1): Change the calling conventions to the two
3253 defuns involving `cache-pos'.
3255 2013-01-25 Chong Yidong <cyd@gnu.org>
3257 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3259 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3261 * paren.el (show-paren-function): Make sure to set 'priority and
3262 'face only if the overlay does exist.
3264 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3266 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3268 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3270 (tramp-sh-handle-set-file-acl): Improve error checking.
3272 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3274 * doc-view.el (doc-view-display): Force mode line update until all
3275 document is converted. Suggested by Stefan Monnier (Bug#13164).
3277 2013-01-23 Bastien Guerry <bzg@gnu.org>
3279 * paren.el (show-paren-function): Make sure an overlay exists
3280 before trying to delete it. Also use `pos' as a position only
3281 when it is an integer.
3283 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3285 * play/gametree.el (gametree-break-line-here): Use point-marker.
3287 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3289 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3290 Mark descriptive parts with `display' property.
3292 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3294 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3295 New variable to map standard dict names to hunspell ones.
3296 (ispell-set-spellchecker-params): Make sure specific dict names
3297 are used for standard dicts with hunspell.
3299 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3301 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3302 chars for note (%N) and url (%U).
3303 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3305 2013-01-21 Juri Linkov <juri@jurta.org>
3307 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3308 in addition to existing separate binding `meta f10' in `global-map'.
3311 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3313 Improve XEmacs compatibility.
3315 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3317 * net/tramp-adb.el (top): Require `time-date'.
3318 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3319 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3320 Use `tramp-file-name-handler'.
3321 (tramp-adb-maybe-open-connection):
3322 Use `tramp-compat-set-process-query-on-exit-flag'.
3324 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3325 Use `tramp-compat-funcall'.
3327 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3328 `tramp-compat-funcall'.
3330 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3332 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3333 reimplementation using "adb shell command ..." instead of running
3334 remote shell interactively.
3336 2013-01-20 Glenn Morris <rgm@gnu.org>
3338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3339 Add native profiler menu entries.
3341 * profiler.el (profiler-running-p): New function.
3342 (profiler-cpu-profile): Use profiler-running-p.
3343 (profiler-report-mode-map): Add some more menu entries.
3345 2013-01-19 Glenn Morris <rgm@gnu.org>
3347 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3348 fixes 2012-12-07 change. (Bug#13499)
3350 2013-01-19 Leo Liu <sdl.web@gmail.com>
3352 * dired.el (dired-get-marked-files): Prune erroneous values due to
3353 last change. (Bug#13152)
3355 2013-01-19 Glenn Morris <rgm@gnu.org>
3357 * progmodes/etags.el (tags-table-check-computed-list):
3358 Preserve point in tags buffer. (Bug#13412)
3360 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3362 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3363 Chong Yidong <cyd@gnu.org>
3365 * image-mode.el (image-next-file, image-previous-file):
3366 New commands (Bug#8453).
3367 (image-mode-map): Bind them to n and p.
3368 (image-mode--images-in-directory): New helper function.
3370 2013-01-19 Chong Yidong <cyd@gnu.org>
3372 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3373 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3374 save and restore the old window configuration.
3376 2013-01-18 Leo Liu <sdl.web@gmail.com>
3378 * progmodes/js.el: Tweak autoload cookie for alias.
3380 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3382 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3383 buffer local, again. This was lost with the fix on 2013-01-12.
3385 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3387 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3388 order to support several eshell buffers in parallel.
3390 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3392 * autorevert.el (auto-revert-use-notify): In the :set function, do
3393 not modify `kill-buffer-hook'.
3394 (auto-revert-notify-rm-watch):
3395 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3396 (auto-revert-notify-add-watch): Do not call
3397 `auto-revert-notify-rm-watch', but add it to a buffer local
3400 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3402 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3403 call to `eval' rather than a backquoted lambda.
3405 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3408 to return an explicit nil.
3409 (advice--remove-function): Change accordingly.
3411 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3412 the use of nadvice.el.
3414 * progmodes/which-func.el (which-function): Silence imenu errors
3417 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3419 * progmodes/sql.el (sql-imenu-generic-expression):
3420 (sql-mode-font-lock-object-name): Match schema qualified names.
3421 (sql-connect): Use string keys.
3422 (sql-product-interactive): Wait for interpreter prompt.
3423 (sql-comint-oracle): Set process coding based on NLS_LANG.
3425 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3427 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3428 (sql-interactive-remove-continuation-prompt):
3429 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3431 2013-01-14 Leo Liu <sdl.web@gmail.com>
3433 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3436 2013-01-14 Glenn Morris <rgm@gnu.org>
3438 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3439 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3441 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3443 * progmodes/python.el (python-nav-end-of-statement):
3444 Fix cornercase when handling multiline strings.
3446 2013-01-13 Richard Stallman <rms@gnu.org>
3448 * mail/sendmail.el (mail-position-on-field): Add doc string.
3450 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3451 Get current message boundaries and pass them to
3452 message-forward-make-body-mime. Minor style changes.
3454 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3456 * cus-start.el (all): Avoid warnings about
3457 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3459 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3461 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3463 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3466 (jit-lock--debug-fontifying): New var.
3467 (jit-lock--debug-fontify): New function.
3468 * subr.el (condition-case-unless-debug): Don't prevent catching the
3469 error, just let the debbugger run.
3470 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3471 timer code and don't drop errors silently.
3473 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3475 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3476 `permanent-local' property.
3477 (auto-revert-notify-handler): Use `file-equal-p'.
3479 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3481 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3482 file notification by ACTION. For filtering by file name, compare
3483 only the non-directory part of the file name.
3485 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * autorevert.el: Use cl-lib instead of cl.
3489 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3490 (vc-bzr-checkin): Use it.
3491 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3492 will preserve match-data.
3494 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3496 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3497 (js--declaration-keyword-re): New var.
3498 (js--multi-line-declaration-indentation): New function.
3499 (js--proper-indentation): Use it.
3501 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3503 * calc/calc.el (calc-highlight-selections-with-faces)
3505 * comint.el (comint-history-isearch-message):
3506 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3507 * ffap.el (ffap-string-at-point-region, ffap-next)
3508 (ffap-string-at-point, ffap-string-around)
3509 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3511 * font-lock.el (font-lock-keywords-alist)
3512 (font-lock-removed-keywords-alist):
3513 * help-mode.el (help-xref-symbol-regexp):
3514 * info.el (Info-find-emacs-command-nodes):
3515 * international/mule.el (add-to-coding-system-list):
3516 * isearch.el (isearch-message-function, isearch-fail-pos):
3517 * misearch.el (multi-isearch-next-buffer-function):
3518 * newcomment.el (comment-box):
3519 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3520 (pr-setting-database):
3521 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3522 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3523 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3524 (pike-font-lock-keywords-3):
3525 * progmodes/compile.el (compile):
3526 * progmodes/etags.el (tags-table-files)
3527 (tags-table-files-function, tags-included-tables-function):
3528 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3529 (gdb-restore-windows):
3530 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3531 (ps-n-up-filling-database):
3532 * server.el (server-buffer, server-log):
3533 * simple.el (newline, delete-backward-char, delete-forward-char)
3534 (minibuffer-history-isearch-message, kill-line, track-eol)
3535 (temporary-goal-column):
3536 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3537 (flyspell-default-deplacement-commands):
3538 * textmodes/ispell.el (ispell-accept-output):
3539 * textmodes/sgml-mode.el (html-tag-help):
3540 * vc/compare-w.el (compare-ignore-whitespace)
3541 (compare-ignore-case, compare-windows-dehighlight):
3542 * vc/diff.el (diff):
3543 * whitespace.el (whitespace-point)
3544 (whitespace-font-lock-refontify, whitespace-bob-marker)
3545 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3547 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3549 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3550 (auto-revert-notify-rm-watch): Ignore errors.
3551 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3552 inotify, and '(size last-write-time) for w32notify.
3553 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3554 watch fails - this is a fallback to the file modification check.
3555 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3556 (auto-revert-notify-event-action)
3557 (auto-revert-notify-event-file-name): New defuns.
3558 (auto-revert-notify-handler): Use them. Implement first
3559 plausibility checks.
3560 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3562 2013-01-11 Julien Danjou <julien@danjou.info>
3564 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3565 max are almost equal. Also return the correct value for V which is
3566 already between 0 and 1.
3568 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3570 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3572 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3574 * autorevert.el (auto-revert-notify-rm-watch)
3575 (auto-revert-notify-add-watch): Fix typos in w32notify function
3578 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3580 * autorevert.el (auto-revert-notify-enabled): Move up.
3581 (auto-revert-use-notify): New defcustom.
3582 (auto-revert-mode, global-auto-revert-mode)
3583 (auto-revert-notify-add-watch, auto-revert-handler)
3584 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3585 `auto-revert-notify-enabled'.
3587 2013-01-10 Elias Pipping <pipping@exherbo.org>
3589 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3590 * doc-view.el (doc-view-document->bitmap):
3591 Use doc-view-single-page-converter-function instead of
3592 single-page-converter arg; adjust callers.
3594 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3596 * progmodes/which-func.el (which-function): Understand Semantic's use
3597 of overlays in imenu--index-alist.
3599 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3601 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3602 (Man-man-k-use-anchor): New var.
3603 (Man-parse-man-k): New function.
3604 (Man-completion-table): Use it.
3605 (man): Flush the completion cache between uses.
3607 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3609 * autorevert.el: Add file watch support.
3610 (auto-revert-notify-enabled): New defconst.
3611 (auto-revert-notify-watch-descriptor-hash-list)
3612 (auto-revert-notify-watch-descriptor)
3613 (auto-revert-notify-modified-p): New defvars.
3614 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3615 (auto-revert-notify-handler): New defuns.
3616 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3617 when mode is disabled.
3618 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3619 (auto-revert-buffers): Add file watches for active buffers.
3621 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3623 * cus-start.el (toplevel): Only allow float values for
3624 scroll-up-aggressively and scroll-down-aggressively.
3625 Allow any number for line-spacing.
3627 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3629 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3630 (doc-view-pdf->png-converter-function): Use mupdf if available.
3631 (doc-view-djvu->png-converter-function)
3632 (doc-view-ps->png-converter-function): Remove.
3633 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3634 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3635 (doc-view-already-converted-p): Adjust accordingly.
3636 (doc-view-mode-p): Simplify.
3637 (doc-view-enlarge): Use setq-local.
3638 (doc-view-pdf->png-converter-ghostscript)
3639 (doc-view-djvu->png-converter-ddjvu)
3640 (doc-view-pdf->png-converter-mupdf): Rework to call
3641 doc-view-start-process directly.
3642 (doc-view-pdf/ps->png): Simplify accordingly.
3643 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3644 (doc-view-document->bitmap): Rename from doc-view-document->png.
3645 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3646 (doc-view-set-slice-from-bounding-box): Fix completion table.
3647 (doc-view-mode): Use add-hook for after-revert-hook.
3649 2013-01-10 Glenn Morris <rgm@gnu.org>
3651 * emacs-lisp/authors.el (authors-ignored-files)
3652 (authors-valid-file-names, authors-renamed-files-alist):
3653 Add some more entries.
3655 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3657 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3658 `t' pseudo-window entry.
3660 2013-01-10 Alan Mackenzie <acm@muc.de>
3662 Fix bugs in the c-parse-state mechanism. Reuse some markers
3663 instead of continually generating new ones.
3665 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3666 (c-state-old-cpp-end-marker): New variables.
3667 (c-append-lower-brace-pair-to-state-cache): Start a backward
3668 search for "}" definitively outside CPP constructs.
3669 (c-remove-stale-state-cache): Inform the caller of a need to
3670 search back for a brace pair in certain circumstances.
3671 (c-state-maybe-marker): New macro.
3672 (c-parse-state): Reuse markers when appropriate.
3674 2013-01-10 Glenn Morris <rgm@gnu.org>
3676 * simple.el (execute-extended-command): Doc fix.
3677 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3679 2013-01-10 Chong Yidong <cyd@gnu.org>
3681 * faces.el (read-face-name): Doc fix.
3683 2013-01-10 Roland Winkler <winkler@gnu.org>
3685 * emacs-lisp/crm.el: Allow any regexp for separators.
3686 (crm-default-separator): All spaces around the default comma separator.
3687 (crm--completion-command): New macro.
3688 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3689 (crm-complete-and-exit): Handle non-single-char separators.
3691 2013-01-09 Elias Pipping <pipping@lavabit.com>
3693 * doc-view.el: Add support for DjVu (bug#13164).
3694 (doc-view-djvu->png-converter-function): New config var.
3695 (doc-view-single-page-converter-function, doc-view--image-type)
3696 (doc-view--image-file-extension): New vars.
3697 (doc-view-mode): Initialize them.
3698 (doc-view-goto-page): Use them.
3699 (doc-view-mode-p): Add support for ddjvu.
3700 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3701 (doc-view-set-up-single-converter): New funs.
3702 (doc-view-pdf/ps->png): Extend for djvu.
3703 (doc-view-document->png): Rename from doc-view-pdf->png.
3704 (doc-view-convert-current-doc): Handle djvu.
3705 (doc-view-insert-image, doc-view-display)
3706 (doc-view-already-converted-p): Don't hardcode png.
3707 (doc-view-set-doc-type): Recognize djvu docs.
3709 2013-01-09 Elias Pipping <pipping@lavabit.com>
3711 * doc-view.el: Add support for mupdf converter (bug#13164).
3712 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3713 (doc-view-ps->png-converter-function): New config vars.
3714 (doc-view-pdf->png-converter-ghostscript)
3715 (doc-view-ps->png-converter-ghostscript)
3716 (doc-view-pdf->png-converter-mupdf): New functions.
3717 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3719 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3721 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3722 first in session cache: When `tramp-own-remote-path' is in
3723 `tramp-remote-path', the remote path is only set in the session
3726 2013-01-09 Glenn Morris <rgm@gnu.org>
3728 * emacs-lisp/trace.el (trace-function-foreground)
3729 (trace-function-background): Doc fix.
3731 2013-01-09 Juri Linkov <juri@jurta.org>
3733 * international/mule-cmds.el (read-char-by-name): Move let-binding
3734 of completion-ignore-case around completing-read to fix regression
3735 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3736 `string-match-p' using the nil value of `case-fold-search' and
3737 `completion-ignore-case' in `completion-pcm--all-completions'.
3740 2013-01-09 Glenn Morris <rgm@gnu.org>
3742 * progmodes/compile.el (compilation-parse-errors):
3743 Fix typo. (Bug#13369)
3745 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3747 * comint.el (comint-send-input): Check size of buffer before
3748 waiting for process output, in case already accepted. (Bug#13290)
3750 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3753 * net/tramp-adb.el (tramp-adb-get-toolbox):
3754 Fix misspelling of 'unknown'.
3756 2013-01-08 Juri Linkov <juri@jurta.org>
3758 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3759 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3760 Use underline style wave on terminals that support it. (Bug#13000)
3762 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3764 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3765 the predicate returns nil.
3767 * simple.el: Use lexical-binding.
3768 (primitive-undo): Use pcase.
3769 (minibuffer-history-isearch-push-state): Use a closure.
3771 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3773 * simple.el (primitive-undo): Move from undo.c.
3775 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3777 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3778 (cvs-mode-remove-handled): Use it (bug#13380).
3780 * emacs-lisp/nadvice.el (advice--tweak): New function.
3781 (advice--remove-function, advice--subst-main): Use it.
3783 * emacs-lisp/advice.el: Update commentary.
3785 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3787 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3788 Remove spurious entry.
3790 2013-01-08 Glenn Morris <rgm@gnu.org>
3792 * net/tramp.el (tramp-default-host-alist): Add :version.
3794 2013-01-08 Juri Linkov <juri@jurta.org>
3796 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3797 single completion. (Bug#12456)
3798 (info--manual-names): Expand node completions into an explicit list
3799 before appending it to another list. Filter out internal buffers
3800 with the leading space in the buffer name. (Bug#10771)
3802 2013-01-08 Juri Linkov <juri@jurta.org>
3804 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3805 that defaults to the Top node.
3806 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3807 the short format (FILENAME) goes to the Top node.
3808 (Info-build-node-completions): Rename arg `file' to `filename'.
3811 2013-01-07 Bastien Guerry <bzg@gnu.org>
3813 * menu-bar.el (menu-bar-search-documentation-menu):
3814 Use `apropos-user-option' and fix the help message.
3816 2013-01-07 Bastien Guerry <bzg@gnu.org>
3818 * apropos.el (apropos-do-all): Update docstring.
3819 (apropos-user-option-button): New face.
3820 (apropos-user-option): Rename from `apropos-variable' and update
3822 (apropos-variable): Rewrite, now show all variables by default.
3823 (apropos-print): Mention "User option" instead of "Variable" when
3824 printing doc for user options. (Bug#13276)
3826 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3828 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3829 Handle filename correctly, when parsing "source -> target" symlink
3831 (tramp-adb-handle-set-file-times): New defun.
3833 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3836 advice list when the interactive-spec of ad-Advice-* changes.
3838 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3840 * wid-edit.el (widget-default-get): Work for inlined elements.
3843 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3845 * net/tramp.el (tramp-default-host-alist): New defcustom.
3846 (tramp-find-host): Use it.
3847 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3848 `eshell-directory-change-hook'.
3850 * net/tramp-adb.el (top): Add adb specific entry in
3851 `tramp-default-host-alist'.
3852 (tramp-adb-file-name-host): Remove function.
3853 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3854 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3856 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3858 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3860 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3862 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3864 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3865 consist of more than one digit.
3866 (tramp-adb-file-name-handler-alist):
3867 Use `tramp-handle-file-exists-p' consistently.
3868 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3869 (tramp-adb-handle-file-exists-p): Remove function.
3870 (tramp-adb-file-name-host): New defun.
3871 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3873 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3875 2013-01-06 Chong Yidong <cyd@gnu.org>
3877 * vc/vc.el (vc-next-action): Detect buffer modifications
3878 conflicting with locking VCS operation (Bug#11490).
3880 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3882 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3884 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3885 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3887 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3889 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3890 parsing of ls output using regular expression (handle filenames
3891 with spaces). Use virtual device number.
3892 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3895 2013-01-04 Daiki Ueno <ueno@gnu.org>
3897 * epg.el: Silence byte-compiler warnings.
3898 (epg--start): Use delete-char instead of delete-backward-char.
3899 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3901 2013-01-04 Daiki Ueno <ueno@gnu.org>
3903 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3904 Suggested by Eli Zaretskii <eliz@gnu.org>.
3906 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3908 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3909 non-negative integers. Otherwise, the default values are used.
3910 (tramp-convert-file-attributes): Convert uid and gid to integers.
3912 2013-01-04 Glenn Morris <rgm@gnu.org>
3914 * term.el (term-handle-colors-array): Ensure face attributes
3915 are fully specified, not nil. (Bug#13337)
3917 * term.el (term-default-fg-color, term-default-bg-color):
3920 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3921 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3922 rather than 'jka-compr being loaded. (Bug#13338)
3924 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3926 * icomplete.el (icomplete-completions):
3927 Honor icomplete-prospects-height once more following
3928 2012-11-29 changes. (Bug#13224)
3930 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3933 of called-interactively-p as well (bug#13237).
3935 * view.el (view--enable, view--disable): Rename from view-mode-enable
3936 and view-mode-disable and assume it's called from view-mode.
3937 (view-mode-enable, view-mode-disable): Redefine as obsolete
3938 compatibility layer above view-mode.
3939 (view-mode-enter): Call `view-mode'.
3941 * files.el (after-find-file): Call `view-mode'.
3943 * doc-view.el (doc-view-scale-internally): New var.
3944 (doc-view-enlarge, doc-view-insert-image): Obey it.
3946 2013-01-03 Daiki Ueno <ueno@gnu.org>
3948 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3951 2013-01-03 Glenn Morris <rgm@gnu.org>
3953 * mail/rmail.el (rmail-set-header-1): Ignore case.
3954 Handle multi-line headers. (Bug#13330)
3956 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3957 Handle paragraph starting at beginning of buffer.
3959 * subr.el (eval-after-load): Don't purecopy the form, so that it
3960 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3962 * emacs-lisp/byte-run.el (defun): Place cl declarations
3963 after any interactive spec. (Bug#13265)
3965 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3967 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3968 defun. Don't check for DECL if DOCSTRING isn't a string.
3971 2013-01-02 Glenn Morris <rgm@gnu.org>
3973 * eshell/em-cmpl.el (eshell-pcomplete):
3974 More thoroughly imitate pcomplete. (Bug#13293)
3976 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3977 Return nil for empty path elements. (Bug#13296)
3979 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3981 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3982 order to improve efficiency (Based on Daniel Colascione's
3983 <dancol@dancol.org> patch). (Bug#13182)
3985 2013-01-02 Glenn Morris <rgm@gnu.org>
3987 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3989 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3991 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3992 neither DOCSTRING nor DECL was given. (Bug#13316)
3994 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3996 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3998 (tramp-do-copy-or-rename-file): Ignore errors when calling
3999 `set-file-extended-attributes'.
4001 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4002 Add handler for `file-acl'.
4003 (tramp-smb-handle-file-acl): New defun.
4005 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4007 * calc/README: Mention ISO 8601 week-numbering dates.
4009 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4011 * view.el (view-mode-enable): New argument run-view-mode-hook.
4012 Run view-mode-hook only when it's non-nil (Bug#13315).
4013 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4016 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4018 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4019 (No device connected, invalid device name). (Bug #13299)
4021 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4023 * window.el (window-resizable--p): Rename to window-resizable-p.
4024 (window-resize-no-error): New function.
4026 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4027 broken in fix from 2012-12-28.
4029 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * subr.el (special-form-p): Don't signal errors on undef aliases.
4033 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4035 * calc/calc-forms.el (math-parse-date): Try using
4036 `math-parse-iso-date' when it looks like it might be needed.
4037 Allow times of 24:00.
4038 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4041 2012-12-30 Glenn Morris <rgm@gnu.org>
4043 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4044 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4045 (rmail-summary-displayed, rmail-summary): Declare.
4046 (mairix-rmail-display): Just require rmail.
4048 2012-12-30 Chong Yidong <cyd@gnu.org>
4050 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4051 check for the tarball contents.
4053 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4055 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4056 tarfile content listings (Bug#13136).
4058 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4060 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4061 Insert the undecoded text of the message being forwarded. (Bug#9521)
4063 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4065 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4066 integers, if they are real numbers. (Bug#13282)
4068 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4069 Return `t' on success.
4071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4072 Add handler for `set-file-selinux-context'.
4074 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4076 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4077 (tramp-sh-handle-set-file-acl): Return `t' on success.
4079 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4081 * files.el (backup-buffer-copy, basic-save-buffer-2):
4082 If set-file-extended-attributes fails, fall back on set-file-modes
4083 instead of signaling an error. (Bug#13298)
4084 (basic-save-buffer): Likewise.
4086 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4088 * progmodes/python.el: Support other commands triggering
4089 python-indent-line so indentation cycling continues to work.
4090 (python-indent-trigger-commands): New defcustom.
4091 (python-indent-line): Use it.
4093 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4095 * progmodes/python.el (python-shell-send-region): Add blank lines
4096 for non sent code so backtraces remain correct.
4098 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4100 * progmodes/python.el: Remove cl dependency.
4101 (python-syntax-count-quotes): Replace incf call.
4102 (python-fill-string): Replace setf call.
4104 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4106 * info.el (info-other-window): New arg, for consistency with info.
4108 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4110 * mail/rmail.el (rmail-maybe-display-summary):
4111 Rewrite (Bug#13066).
4113 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4115 * epg.el (epg--start): Modify process-environment locally.
4117 2012-12-28 Daiki Ueno <ueno@gnu.org>
4119 * epg.el: Support pinentry-curses.
4120 Suggested by Werner Koch in
4121 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4122 (epg-agent-file, epg-agent-mtime): New variable.
4123 (epg--start): Record the modified time of gpg-agent socket file,
4124 to restore Emacs frame after pinentry-curses termination.
4125 (epg-wait-for-completion): Restore Emacs frame here.
4127 2012-12-27 Juri Linkov <juri@jurta.org>
4129 * info.el (Info-file-completions): New variable.
4130 (Info-read-node-name-1): Complete node names in the Info file
4131 when a file name is given. Call `Info-build-node-completions'
4133 (Info-build-node-completions): Add new arg `file'. When it is
4134 non-nil, visit it in a temporary buffer and cache its completions in
4135 `Info-current-file-completions'. Move most of the function body to
4136 `Info-build-node-completions-1'.
4137 (Info-build-node-completions-1): New function with the body from
4138 `Info-build-node-completions'. (Bug#12456)
4140 2012-12-27 Juri Linkov <juri@jurta.org>
4142 * frame.el (frame-maximization-style): Remove user option.
4143 (cycle-frame-maximized): Remove function.
4144 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4145 (toggle-frame-fullscreen): New command bound to <f11> instead of
4146 `toggle-frame-maximized'.
4147 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4149 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4151 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4153 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4155 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4156 for `file-accessible-directory-p'. (Bug#13275)
4158 2012-12-27 Sam Steingold <sds@gnu.org>
4160 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4161 continuations, see <http://stackoverflow.com/questions/3582436>.
4163 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4165 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4166 "module" and "def" to have indentation before them.
4167 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4169 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4171 2012-12-27 Alan Mackenzie <acm@muc.de>
4173 Speed up fontification where there's large brace blocks.
4174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4175 to a call of c-beginning-of-decl-1.
4177 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4179 * comint.el (comint-adjust-window-point): New function.
4180 (comint-postoutput-scroll-to-bottom):
4181 Call comint-adjust-window-point (Bug#13248).
4183 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4185 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4187 (auto-mode-alist): Associate .gemspec files with ruby-mode
4188 (https://bugs.ruby-lang.org/issues/5453).
4190 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4192 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4193 Suppress coloring, if possible (required for BusyBox based systems like
4195 (tramp-adb-handle-file-attributes)
4196 (tramp-adb-handle-insert-directory)
4197 (tramp-adb-handle-file-name-all-completions): Use it.
4198 (tramp-adb-get-toolbox): New defun. Check for remote shell
4199 implementation (BusyBox or Toolbox).
4201 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4203 * startup.el (initial-buffer-choice): Allow function as value
4205 (command-line-1): Handle case where initial-buffer-choice
4206 specifies a function.
4207 * server.el (server-execute): Handle case where
4208 initial-buffer-choice specifies a function.
4210 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4212 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4214 (smtpmail-try-auth-methods): Forget the user name/password if the
4215 login is unsuccessful (bug#12424).
4217 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4219 * notifications.el (notifications-notify): Protect body with
4220 `with-demoted-errors'.
4222 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4223 Check properties of remote device. Restart connection, if there is a
4226 2012-12-21 Chong Yidong <cyd@gnu.org>
4228 * sort.el (sort-subr): Doc fix (Bug#13056).
4230 2012-12-21 Bastien Guerry <bzg@gnu.org>
4232 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4234 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4236 * simple.el (process-file): Overwrite stderr file, if exists.
4238 2012-12-21 Daiki Ueno <ueno@gnu.org>
4240 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4241 (epg-error): Set `error-message' property.
4243 2012-12-21 Chong Yidong <cyd@gnu.org>
4245 * international/mule-cmds.el (read-char-by-name): Signal an error
4246 if the user does not supply a valid character (Bug#13177).
4248 * simple.el (transpose-subr-1): Preserve marker positions by
4249 changing the insertion sequence (Bug#13122).
4251 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4253 * simple.el (kill-region): Deactivate mark even for empty regions
4256 2012-12-21 Chong Yidong <cyd@gnu.org>
4258 * help-fns.el (describe-variable): Make sure we get the right
4259 buffer name (Bug#13105). Suggested by Kelly Dean.
4261 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4263 * comint.el (comint-redirect-previous-input-string): New variable.
4264 (comint-redirect-setup, comint-redirect-cleanup)
4265 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4266 (comint-redirect-preoutput-filter): Fix verbose message.
4268 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4270 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4271 is too long for Tramp. See discussion in
4272 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4274 * progmodes/compile.el (compilation-start): Remove line escape
4277 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4279 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4282 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4284 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4285 following non-comment text (bug#13207).
4286 (lm-header-multiline): Continuation lines need to be indented more than
4288 (lm-homepage): New function.
4289 (lm-with-file): Don't be confused if narrowing is in effect.
4291 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4294 very beginning of a hunk (e.g. killing the first line).
4296 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4298 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4299 and text properties from returned ACL string.
4300 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4301 for "setfacl" command.
4303 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4305 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4306 `tramp-cleanup-this-connection', when the process has died.
4309 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4313 2012-12-17 Kevin Ryde <user42@zip.com.au>
4315 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4317 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4319 Add support for preserving ACL entries of files.
4321 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4322 `set-file-acl' handlers.
4324 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4325 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4327 * net/tramp-compat.el (tramp-compat-copy-file):
4328 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4331 Add `file-acl' and `set-file-acl' handlers.
4332 (tramp-gvfs-handle-copy-file):
4333 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4334 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4337 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4338 Add `file-acl' and `set-file-acl' handlers.
4339 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4340 (tramp-sh-handle-set-file-acl): New defuns.
4341 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4342 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4345 Add `file-acl' and `set-file-acl' handlers.
4346 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4348 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4350 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4351 use pop-to-buffer with NORECORD argument t. As buffer name, use
4352 *Metahelp* with a leading space (Bug#13190).
4354 2012-12-16 Romain Francoise <romain@orebokech.com>
4356 * files.el (file-extended-attributes)
4357 (set-file-extended-attributes): New functions.
4358 (backup-buffer): Use them to handle both SELinux context and ACL
4360 (backup-buffer-copy): Work with an alist of extended attributes,
4361 rather than an SELinux context.
4362 (basic-save-buffer-2): Ditto.
4364 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4366 * battery.el (battery-bsd-apm): New function.
4368 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4370 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4371 standard date formats.
4373 2012-12-15 Juri Linkov <juri@jurta.org>
4375 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4376 `isearch-insert-char-by-name'.
4377 (with-isearch-suspended): New defmacro with body mostly from
4378 `isearch-edit-string' except the part that sets
4379 `isearch-new-string' and `isearch-new-message'.
4380 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4381 body that sets `isearch-new-string' and `isearch-new-message'.
4382 (isearch-insert-char-by-name): New command.
4383 * international/mule-cmds.el (read-char-by-name): Let-bind
4384 `enable-recursive-minibuffers' to t.
4385 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4387 2012-12-15 Juri Linkov <juri@jurta.org>
4389 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4392 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4394 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4395 the prompt. (Bug#13045)
4397 2012-12-14 Glenn Morris <rgm@gnu.org>
4399 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4400 Try to include filename in non-bytecomp warning. (Bug#13132)
4402 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4404 Fix permissions bugs with setgid directories etc. (Bug#13125)
4405 * files.el (backup-buffer): Don't rely on 9th output of
4406 file-attributes, as it's now a placeholder. Instead, use the new
4407 optional arg of file-ownership-preserved-p.
4408 (file-ownership-preserved-p): New optional arg GROUP.
4409 Fix mishandling of setuid directories that would cause this
4410 function to return t when it should have returned nil.
4411 Document what happens if the file does not exist, and when
4412 it's not known whether the ownership will be preserved.
4413 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4415 (tramp-get-local-gid): Use group-gid for integer, as that's
4416 faster and more reliable.
4418 2012-12-14 Julien Danjou <julien@danjou.info>
4420 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4421 Update keywords list, data type and PL/pgSQL.
4423 2012-12-14 Dave Abrahams <dave@boostpro.com>
4425 * vc/ediff-util.el (ediff-buffer-type): New function.
4426 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4427 rather than taking it as as argument.
4428 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4430 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4432 * json.el: Add pretty-print option (bug#12634).
4433 (json-encoding-separator, json-encoding-default-indentation)
4434 (json--encoding-current-indentation, json-encoding-pretty-print)
4435 (json-encoding-lisp-style-closings): New vars.
4436 (json--with-indentation): New macro.
4437 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4438 (json-encode-array): Use it to obey json-encoding-pretty-print.
4439 (json-pretty-print-buffer, json-pretty-print): New commands.
4441 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4444 Extract `ruby-syntax-propertize-expansions'.
4445 (ruby-syntax-propertize-expansions): Only change syntax on
4446 certain string delimiters, to punctuation. This way the common
4447 functions like forward-word and thing-at-point still work.
4448 (ruby-match-expression-expansion): Improve readability.
4449 (ruby-block-contains-point): New function.
4450 (ruby-add-log-current-method): Handle several edge cases.
4452 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4454 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4455 unload-feature finishes even when aborting an ongoing edebug session.
4456 Also, do not worry about edebug-mode, unload-feature takes care of it.
4458 2012-12-13 Andreas Schwab <schwab@suse.de>
4460 * net/tls.el (tls-program): Update customize type.
4462 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4464 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4465 (edebug-setup-hook, cl-read-load-hooks): Use it.
4466 (edebug-unload-function): New function. (Bug#13163)
4468 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4470 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4471 Otherwise, there could be errors in autoloading. (Bug#13151)
4473 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4475 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4478 2012-12-13 Alan Mackenzie <acm@muc.de>
4480 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4481 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4482 around `forward-comment' not recognizing ^M as whitespace.
4484 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4486 * progmodes/python.el (python-skeleton-class)
4487 (python-skeleton-def): Do not add space after defun name.
4489 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4492 (cl--symbol-function): Remove (now that funbound is like nil).
4494 2012-12-12 Glenn Morris <rgm@gnu.org>
4496 * button.el (button--area-button-p): Fix typo.
4498 2012-12-12 Sam Steingold <sds@gnu.org>
4500 * frame.el (frame-maximization-style): New user option.
4501 (toggle-frame-maximized): Toggle frame maximization according to
4502 `frame-maximization-style', bound to <f11>.
4503 (cycle-frame-maximized): Cycle between all maximization styles and
4504 non-maximized frame, bound to shift-<f11>.
4506 2012-12-12 David Cadé <codename68@gmail.com>
4508 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4510 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4512 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4513 (eieio-override-prin1): Don't quote kewords and booleans.
4514 (object-write) <eieio-default-superclass>: Don't put closing parens
4515 on new line, avoid needless empty lines, align values that are objects
4516 with the slot keyword (instead of beginning on the same line).
4517 (eieio-list-prin1): Align value with slot keyword; increase
4518 eieio-print-depth before printing members of the list.
4520 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4522 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4523 a display text-property.
4524 (report-emacs-bug-hook): Don't bother deleting it any more.
4526 * hilit-chg.el (highlight-save-buffer-state): Delete.
4527 Use with-silent-modifications instead.
4528 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4530 * button.el: Handle buttons in display text-properties.
4531 (button--area-button-p, button--area-button-string):
4532 Use (STRING . STRING-POS) representation instead of just STRING.
4534 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4536 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4537 subdirectory be skipped.
4539 2012-12-11 Glenn Morris <rgm@gnu.org>
4541 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4543 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4544 Treat preprocessor lines embedded in continuations like comments.
4545 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4547 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4549 * calc/calc.el (calc-standard-date-formats): Add more date
4551 * calc/calc-forms.el (math-parse-iso-date): New function.
4552 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4553 (math-parse-iso-date-validate): Add extra error checking.
4554 (calc-date-notation): Add ability to access new date formats.
4556 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4558 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4559 font-lock as well as when there's no text-property.
4561 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4563 * hi-lock.el: Refine the choice of default face.
4564 (hi-lock-keyword->face): New function. Use it wherever we used
4566 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4567 (hi-lock--last-face): Remove var.
4568 (hi-lock--unused-faces): New var to replace it.
4569 (hi-lock-read-face-name): Use/maintain it.
4570 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4571 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4572 if it has another face.
4574 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4576 * subr.el (w32notify-handle-event): New function.
4577 (inotify-handle-event): Doc fix.
4579 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4581 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4583 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4585 * simple.el (just-one-space): Doc fix.
4587 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4589 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4591 2012-12-10 Le Wang <l26wang@gmail.com>
4593 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4594 narrowed buffer (bug#12361).
4596 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4598 * vc/vc-hooks.el (vc-state): Doc fix.
4600 2012-12-10 Glenn Morris <rgm@gnu.org>
4602 * mail/rmail.el (rmail-maybe-display-summary):
4603 Preserve buffer, in case select-window changes it. (Bug#13066)
4605 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4607 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4608 cl-load-hook where they belong.
4610 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4614 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4616 Parallelize byte compilation on MS-Windows.
4617 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4618 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4619 (WINS_BASIC): Define as concatenation of the above.
4620 (compile): Subdivide into 4 separate and independent jobs that can
4622 (compile0-CMD, compile0-SH): New targets for compiling
4623 COMPILE_FIRST files, which are prerequisites for the rest of the
4625 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4626 New targets for parallel compilation with cmd.exe.
4627 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4628 compiling under a Unixy shell.
4630 2012-12-09 Chong Yidong <cyd@gnu.org>
4632 * simple.el (set-mark-default-inactive): Delete this
4633 accidentally-introduced option.
4634 (set-mark-command, exchange-point-and-mark): Remove calls.
4636 2012-12-09 Glenn Morris <rgm@gnu.org>
4638 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4639 Respect a defcustom's :set function, if appropriate. (Bug#109)
4640 (eval-defun): Doc fix.
4642 2012-12-08 Juri Linkov <juri@jurta.org>
4644 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4645 (Info-fontify-node, Info-bookmark-make-record): Remove the
4646 file extension from Info-current-file (Bug#13016).
4648 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4650 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4651 point, still provide some default.
4652 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4653 names, since we don't use it right now. Actually return the list.
4654 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4656 2012-12-07 Chong Yidong <cyd@gnu.org>
4658 * novice.el (disabled-command-function): Remove a spurious help
4659 xref (Bug#13043). Suggested by Kelly Dean.
4661 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4662 syntax is specified (Bug#13025).
4664 * info.el (Info-set-mode-line): Remove the file extension from
4665 Info-current-file if there is one (Bug#13016).
4667 2012-12-07 Glenn Morris <rgm@gnu.org>
4669 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4670 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4671 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4672 and rmail-mime-decoded. (Bug#9841)
4674 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4675 (batch-unrmail, unrmail): Doc fixes.
4676 (unrmail): Respect unrmail-mbox-format.
4677 * mail/rmail.el (rmail-mbox-format): New option.
4678 (rmail-show-message-1): Respect rmail-mbox-format.
4680 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4684 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4686 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4687 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4688 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4689 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4690 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4691 (cl-progv): Don't rely on dynamic scoping to find the body.
4692 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4693 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4694 (cl-declaim): Use backquotes.
4695 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4696 Use "cl--" prefix for the object's tag.
4698 * ses.el: Use advice-add/remove.
4699 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4700 (copy-region-as-kill, yank): Use advice-add.
4701 (ses-unload-function): Use advice-remove.
4703 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4705 * button.el: Make them work in header-lines (bug#12817).
4706 (button-map): Add bindings for header-line and mode-line use.
4707 (button-get, button-put, button-label): `button' may now be a string.
4708 (button-activate): Don't make it a defsubst.
4709 (button--area-button-p, button--area-button-string): New functions.
4710 (make-text-button): Fix the return value when `beg' was a string.
4711 (push-button): Handle the mode-line case.
4713 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4715 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4716 (sql-signum): Remove. Use `cl-signum' instead.
4717 (sql-read-passwd): Remove; use read-passwd instread.
4718 (sql-get-login-ext): Use read-string.
4719 (sql-get-login): Use dolist and pcase.
4720 (sql--completion-table): Rename from sql-try-completion.
4721 Use complete-with-action.
4722 (sql-mode): Don't change abbrev-all-caps globally.
4723 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4724 (sql-postgres-completion-object): Initialize vars in their `let'.
4725 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4726 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4727 (sql-comint-interbase): Use a single append, without setq.
4728 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4730 * hi-lock.el: Rework the default face and the serialize regexp code.
4731 (hi-lock--auto-select-face-defaults): Remove.
4732 (hi-lock-string-serialize-serial): Remove.
4733 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4735 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4737 (hi-lock-set-pattern): Adjust accordingly.
4738 (hi-lock--regexps-at-point): Simplify accordingly.
4739 (hi-lock--auto-select-face-defaults): Remove.
4740 (hi-lock--last-face): New var to replace it.
4741 (hi-lock-read-face-name): Rewrite (bug#11095).
4742 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4744 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4746 * net/tramp.el (tramp-replace-environment-variables):
4747 Hide compiler warning.
4748 (tramp-file-name-for-operation): Remove `executable-find',
4749 `start-process', `call-process' and `call-process-region'.
4751 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4753 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4756 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4758 2012-12-06 Chong Yidong <cyd@gnu.org>
4760 * ffap.el (ffap-replace-file-component): Fix typo.
4762 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4765 fix open-paren-like token test (bug#12785).
4767 2012-12-06 Glenn Morris <rgm@gnu.org>
4769 * mail/rmailsum.el (rmail-new-summary): Tweak for
4770 rmail-maybe-display-summary changing buffer. (Bug#13066)
4772 2012-12-06 Juri Linkov <juri@jurta.org>
4774 * info.el (Info-fontify-node): Don't hide the last newline.
4777 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4779 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4780 so as to enable message-read-from-minibuffer to expand mail aliases.
4782 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4784 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4785 the `intangible' property.
4786 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4788 2012-12-05 Deniz Dogan <deniz@dogan.se>
4790 * net/rcirc.el (rcirc-urls): Update documentation.
4791 (rcirc-condition-filter): New function.
4792 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4793 and exclude consecutive duplicate URLs (Bug#6082).
4795 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4797 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4798 Check return code of copy command.
4800 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4801 Use group `tramp'. Add version.
4803 2012-12-05 Chong Yidong <cyd@gnu.org>
4805 * ffap.el (ffap-url-regexp): Don't require matching at front of
4807 (ffap-url-p): If only a substring matches, return that.
4808 (ffap-url-at-point): Use the return value of ffap-url-p.
4809 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4810 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4811 (ffap-guess-file-name-at-point): Likewise.
4812 (ffap-replace-file-component): Fix typo.
4814 * info.el (info-display-manual): Add existing Info buffers, whose
4815 files may not be in Info-directory-list, to the completion.
4816 (info--manual-names): New helper function.
4818 2012-12-05 Glenn Morris <rgm@gnu.org>
4820 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4821 New functions, for detecting and resolving conflicts. (Bug#10709)
4823 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4825 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4826 (hi-lock-auto-select-face-defaults): New buffer local variable.
4827 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4828 (hi-lock-unface-buffer): Prompt user with useful defaults.
4829 With prefix arg, unhighlight all hi-lock patterns in buffer.
4831 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4835 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4837 * Makefile.in (TRAMP_SRC):
4838 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4840 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4842 * net/tramp-adb.el: New package.
4844 2012-12-04 Chong Yidong <cyd@gnu.org>
4846 * terminal.el: Move to obsolete/.
4848 * longlines.el: Move to obsolete/.
4850 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4851 Remove code referring to longlines mode.
4853 2012-12-03 Juri Linkov <juri@jurta.org>
4855 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4857 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4859 * textmodes/ispell.el (ispell-init-process)
4860 (ispell-start-process, ispell-internal-change-dictionary):
4861 Make sure personal dictionary name is expanded after initial
4862 `default-directory' value. Use expanded strings for
4863 keep/restart checks and for value (Bug#13019).
4865 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4867 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4869 2012-12-03 Leo Liu <sdl.web@gmail.com>
4871 * files.el (dir-locals-read-from-file): Check file non-empty
4872 before reading. (Bug#13038)
4874 2012-12-03 Glenn Morris <rgm@gnu.org>
4876 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4877 Remove any version extension before checking filename. (Bug#13006)
4878 (jka-compr-compression-info-list): Belated :version bump.
4880 2012-12-03 Chong Yidong <cyd@gnu.org>
4882 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4884 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4885 (buffer-menu): Doc fix (Bug#12294).
4887 2012-12-03 Roland Winkler <winkler@gnu.org>
4889 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4890 of diary-show-all-entries in the diary buffer (Bug#12994).
4892 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4894 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4895 "<STDIN>". This is binary safe.
4897 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4899 * calc/calc-forms.el (math-absolute-from-iso-dt)
4900 (math-date-to-iso-dt, math-parse-iso-date-validate)
4901 (math-iso-dt-to-date): New functions.
4902 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4903 (math-fd-isoweekday): New variables.
4904 (calc-date-notation, math-parse-standard-date, math-format-date)
4905 (math-format-date-part): Add support for more formatting codes.
4907 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4909 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4910 current buffer's file name when called interactively (Bug#12488).
4912 2012-12-02 Juri Linkov <juri@jurta.org>
4914 * info.el (info-display-manual): Don't clobber an existing Info
4915 buffer (Bug#10770). Add completion (Bug#10771).
4917 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4919 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4920 before using it for comparison (Bug#5297).
4922 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4924 * textmodes/css-mode.el (css-current-defun-name): New function.
4927 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4928 (html-mode): Use it.
4930 2012-12-01 Chong Yidong <cyd@gnu.org>
4932 Modularize add-log-current-defun (Bug#2224).
4933 Suggested by Jari Aalto.
4935 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4936 (add-log-current-defun): Move mode-specific code to other files.
4937 (add-log-lisp-like-modes, add-log-c-like-modes)
4938 (add-log-tex-like-modes): Variables deleted.
4940 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4941 (lisp-mode-variables): Use it.
4943 * progmodes/cc-mode.el (c-common-init):
4944 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4945 add-log-current-defun-function.
4947 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4950 * progmodes/perl-mode.el (perl-current-defun-name): New.
4951 (perl-mode): Use it.
4953 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4954 Use lisp-current-defun-name.
4956 * textmodes/tex-mode.el (tex-current-defun-name): New.
4957 (tex-common-initialization): Use it.
4959 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4960 (texinfo-mode): Use it.
4962 2012-12-01 Chong Yidong <cyd@gnu.org>
4964 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4965 * progmodes/autoconf.el (autoconf-mode):
4966 * progmodes/js.el (js-mode):
4967 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4968 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4969 * progmodes/perl-mode.el (perl-mode):
4970 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4971 * textmodes/css-mode.el (css-mode):
4972 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4973 (sgml-tags-invisible, sgml-guess-indent):
4974 * textmodes/tex-mode.el (tex-common-initialization)
4975 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4976 (doctex-mode, plain-tex-mode, latex-mode):
4977 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4979 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4981 * vc/vc-hg.el (vc-hg-next-revision):
4982 Ensure use of default "tip" output format. (Bug#6968)
4984 2012-12-01 Kim F. Storm <storm@cua.dk>
4986 * startup.el (fancy-startup-tail): Add a clickable link
4989 2012-12-01 Chong Yidong <cyd@gnu.org>
4991 * startup.el (fancy-startup-tail): Improve the message about
4992 auto-save files (Bug#2176).
4994 * files.el (recover-session): Improve the descriptive message, and
4995 use substitute-command-keys.
4997 2012-12-01 Glenn Morris <rgm@gnu.org>
4999 * ido.el (ido-file-internal):
5000 Handle other-window, other-frame for dired. (Bug#13036)
5002 2012-11-30 Glenn Morris <rgm@gnu.org>
5004 * icomplete.el (icomplete-separator): Fix :version.
5006 2012-11-30 Chong Yidong <cyd@gnu.org>
5008 * shell.el (shell): For C-u M-x shell, use an inactive shell
5009 buffer as the default (Bug#1975).
5010 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5011 (shell-mode): Use them to reapply ansi colorization if Shell mode
5014 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5016 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5018 2012-11-30 Samuel Bronson <naesten@gmail.com>
5020 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5021 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5023 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5025 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5026 by move-to-column (Bug#3234).
5028 2012-11-30 Chong Yidong <cyd@gnu.org>
5030 * longlines.el (longlines-wrap-line, longlines-encode-region):
5031 Preserve text properties (Bug#1425).
5033 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5035 * vc/vc.el (vc-register): Allow registering a file which is
5036 already registered with a different backend (Bug#10589).
5038 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5039 Stefan Monnier <monnier@iro.umontreal.ca>
5041 * icomplete.el: Change separator; add ido-style commands.
5042 (icomplete-show-key-bindings): Remove custom var.
5043 (icomplete-get-keys): Remove function.
5044 (icomplete-forward-completions, icomplete-backward-completions):
5046 (icomplete-minibuffer-map): New var.
5047 (icomplete-minibuffer-setup): Use it.
5048 (icomplete-exhibit): Don't delay if the list of completions is known.
5049 (icomplete-separator): New custom.
5050 (icomplete-completions): Use it.
5051 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5052 (minibuffer-force-complete-and-exit): New command.
5053 (minibuffer--complete-and-exit): New function extracted from
5054 minibuffer-complete-and-exit.
5055 (minibuffer-complete-and-exit): Use it.
5057 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5058 error message when the file doesn't exist (bug#12974).
5060 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5062 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5064 2012-11-29 Glenn Morris <rgm@gnu.org>
5066 * files.el (hack-dir-local-variables): Warn if try to set
5067 coding via dir-locals, since it doesn't work. (Bug#7169)
5069 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5070 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5071 Set buffer-local value of desktop-save-buffer.
5072 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5074 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5075 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5077 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5078 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5080 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5083 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5085 * calc/calc-forms.el (calc-date-notation): Fix regexp
5086 used to find time codes. Fix symbol for seconds.
5088 2012-11-27 Glenn Morris <rgm@gnu.org>
5090 * emacs-lisp/derived.el (derived-mode-make-docstring):
5091 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5093 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5096 lexically scoped variables (bug#13005).
5098 2012-11-27 Glenn Morris <rgm@gnu.org>
5100 * vc/vc-hooks.el (vc-mistrust-permissions):
5101 Default to t, to avoid data-loss. (Bug#11490)
5103 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5105 * progmodes/python.el (python-indent-guess-indent-offset):
5106 If indentation is guessed make python-indent-offset buffer-local.
5108 Fix Imenu regression.
5109 * progmodes/python.el (python-nav-beginning-of-defun):
5110 Fix forward movement when statement(s) separates point from defun.
5111 (python-imenu-prev-index-position): New function.
5113 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5115 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5117 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5118 Don't set buffer-file-type. Return nil. (Bug#12989)
5120 2012-11-27 Glenn Morris <rgm@gnu.org>
5122 * hippie-exp.el (hippie-expand-try-functions-list):
5123 Re-autoload it. (Bug#12982)
5125 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5127 * descr-text.el (describe-char-padded-string):
5128 Call internal-char-font only on GUI frames. (Bug#11964)
5130 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5132 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5133 and obsoletion message.
5135 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5138 the constructs to keep outside of the `cl-block' (bug#12977).
5140 2012-11-27 Chong Yidong <cyd@gnu.org>
5142 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5143 keep reading until we get the up-event anyway, in order to process
5144 the up-event for mouse-1-click-follows-link (Bug#12971).
5146 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5148 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5149 base function is not yet defined (bug#12965).
5150 (ad-activate-advised-definition): Use ad-compile-function.
5151 (ad-activate): Use cond.
5153 2012-11-25 Leo Liu <sdl.web@gmail.com>
5155 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5158 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5160 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5161 reftex-section-info-function in order to be compatible with
5162 Texinfo integration.
5164 * textmodes/reftex.el (reftex-section-pre-regexp)
5165 (reftex-section-post-regexp, reftex-section-info-function):
5167 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5168 reftex-section-post-regexp, and reftex-section-info-function in order
5169 to be compatible with Texinfo integration.
5171 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5172 use reftex-section-pre-regexp variable in order to be compatible with
5173 Texinfo integration.
5175 2012-11-25 Chong Yidong <cyd@gnu.org>
5177 * faces.el: Make face-spec-set more analogous to setq.
5178 (face-spec-set): Change the third arg to specify whether this
5179 function is being called via defface, customize, or a third party.
5180 Set the appropriate symbol properties. Clear the override spec if
5181 setting via Custom. Initialize face if necessary. (Bug#4988)
5182 (face-spec-recalc): Allow theme faces to completely replace the
5183 defface spec, in the same way as custom faces (Bug#8454).
5185 * cus-face.el (custom-declare-face): Move face initialization to
5187 (custom-theme-set-faces): Don't initialize the face name here, as
5188 that is now done in face-spec-set.
5190 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5191 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5192 Simplify by using the new arg to face-spec-set.
5194 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5195 reset face-override-spec too, and use custom-declare-face.
5197 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5199 * term/ns-win.el (ns-initialize-window-system): Move creation of
5200 fontsets here (Bug#11964).
5202 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5204 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5207 2012-11-24 Chong Yidong <cyd@gnu.org>
5209 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5212 * custom.el (custom-theme-set-variables): Use a topological sort
5213 for ordering by custom dependencies (Bug#12952).
5214 (custom--sort-vars, custom--sort-vars-1): New functions.
5216 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5219 lexical-binding (bug#12938).
5221 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5223 * image-mode.el (image-transform-check-size): Use assertions only
5224 for images of type imagemagick.
5226 Otherwise no error, image-transform-fit-to-{width,height} is
5227 silently ignored, as before. Doc fix.
5229 2012-11-24 Chong Yidong <cyd@gnu.org>
5231 * faces.el (color-defined-p): Doc fix (Bug#12853).
5233 2012-11-24 Juri Linkov <juri@jurta.org>
5235 * dired.el (dired-mark): Add optional arg `interactive'.
5236 Check for `use-region-p' if `interactive' is non-nil.
5237 (dired-unmark, dired-flag-file-deletion): Add optional arg
5238 `interactive'. Call `dired-mark' with the arg `interactive'.
5241 * wdired.el: Revert 2012-10-17 change partly and replace it with
5242 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5243 (wdired-finish-edit): Add marks for new file names to
5244 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5245 after `revert-buffer'.
5246 (wdired-do-renames): Remove calls to `dired-remove-file',
5247 `dired-add-file', `dired-add-entry'. (Bug#11795)
5249 2012-11-24 Alan Mackenzie <acm@muc.de>
5251 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5253 Fix bugs in the state cache. Enhance a debugging mechanism.
5254 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5255 "brace at column zero" strategy for C++.
5256 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5257 (c-parse-state-point): New variable.
5258 (c-record-parse-state-state): Record old parse state with
5259 `copy-tree'. Record previous value of point.
5260 (c-debug-parse-state-double-cons): New debugging function.
5261 (c-debug-parse-state): Call the above new function.
5262 (c-toggle-parse-state-debug): Output a confirmatory message.
5264 * progmodes/cc-mode.el (c-before-change, c-after-change):
5265 Call c-invalidate-state-cache from `c-before-change' instead of
5268 2012-11-23 Chong Yidong <cyd@gnu.org>
5270 * find-cmd.el (find-constituents): Add executable, ipath,
5271 readable, samefile, writable, daystart, regextype (Bug#12856).
5273 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5277 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5279 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5280 definition. This fixes a bootstrap failure.
5281 (calc-gregorian-switch): In menu, put dates before regions.
5282 This is easier to follow, lines up better in the menu, and lets us
5283 coalesce regions that switch at the same time. Give country
5284 names, not "Vatican", as that's better for non-expert users.
5285 Use names that are stable between the date of switch and now, e.g.,
5286 Bohemia and Moravia (which existed then and now) and not
5287 Czechoslovakia (which didn't exist then and doesn't exist now).
5288 What is now the U.S. mostly did not switch at the same time as
5289 Britain, so omit the U.S. Correct spelling of "Britain".
5290 Catholic Switzerland was too much of a mess, so omit it.
5292 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5294 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5295 after the variable is changed.
5297 2012-11-21 Daniel Colascione <dancol@dancol.org>
5299 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5300 in SQL declarations for font-lock.
5301 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5303 2012-11-21 Glenn Morris <rgm@gnu.org>
5305 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5306 (face-italic-p): Add optional argument "inherit".
5308 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5309 Remove -p suffix from names, for consistency with other set-face-*.
5310 (set-face-inverse-video): Fix interactive spec.
5311 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5312 * textmodes/table.el (table--update-cell-face):
5313 Use set-face-inverse-video rather than now obsolete alias.
5315 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5317 * simple.el (line-move): Don't call line-move-partial if
5318 scroll-conservatively is in effect. (Bug#12927)
5320 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5322 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5323 Fallback on completion-at-point rather than
5324 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5325 (eshell-cmpl-initialize): Setup completion-at-point.
5327 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5329 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5331 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5333 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5334 are remote, check out-of-band property for both.
5336 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5341 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5343 More minor time fixes.
5344 * calendar/time-date.el: Commentary fix.
5345 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5346 too much other code depends on (0 0) time stamps.
5347 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5348 Add a couple of FIXME comments.
5350 Minor cleanup for times as lists of four integers.
5351 * files.el (dir-locals-directory-cache):
5352 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5354 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5355 * ps-bdf.el (bdf-file-newer-than-time):
5356 Process four-integers time stamps, not two. Doc fixes.
5358 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5360 * uniquify.el (uniquify-managed): Use defvar-local.
5361 (rename-buffer, create-file-buffer): Advise with advice-add.
5362 (uniquify-unload-function): Unadvise accordingly.
5364 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5365 (trace-buffer): Don't purecopy.
5366 (trace-entry-message, trace-exit-message): Add `context' arg.
5367 (trace--timer): New var.
5368 (trace-make-advice): Adjust for use in nadvice.
5369 Add `context' argument. Delay `display-buffer' via a timer.
5370 (trace-function-internal): Use advice-add.
5371 (trace--read-args): New function.
5372 (trace-function-foreground, trace-function-background): Use it.
5373 (trace-function): Rename to trace-function-foreground and redefine as
5374 an alias to that new name.
5375 (untrace-function, untrace-all): Adjust to the use of nadvice.
5377 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5379 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5381 * subr.el (called-interactively-p-functions): New var.
5382 (internal--called-interactively-p--get-frame): New macro.
5383 (called-interactively-p, interactive-p): Rewrite in Lisp.
5384 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5385 (called-interactively-p-functions): Use it.
5386 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5387 (called-interactively-p-functions): Use it.
5388 * allout.el (allout-called-interactively-p): Don't assume
5389 called-interactively-p is a subr.
5391 2012-11-20 Glenn Morris <rgm@gnu.org>
5393 * profiler.el (profiler-report-mode-map): Add a menu.
5394 No need to bind `q' because we derive from special-mode.
5395 (profiler-report-find-entry): Handle calls from the menu-bar.
5397 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5399 * emacs-lisp/byte-run.el (defun-declarations-alist):
5400 Allow a compiler-macro to be a lambda expression.
5402 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5404 (python-syntax-context): Add compiler-macro.
5405 (python-font-lock-keywords): Simplify with De Morgan.
5407 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5409 * files.el (load-file): Require match in minibuffer selection, as was
5410 the case in Emacs-20 before we changed the spec to allow .elc files
5413 * json.el: Don't require cl since we don't use it.
5414 * color.el: Don't require cl.
5415 (color-complement): `caddr' -> `nth 2'.
5417 * calendar/time-date.el (time-to-seconds): De-obsolete.
5419 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5421 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5423 (math-date-to-julian-dt): Adjust the initial approximation for the
5424 year to deal with the new definition of the DATE.
5426 2012-11-19 Daniel Colascione <dancol@dancol.org>
5428 * term/w32-win.el (cygwin-convert-path-from-windows):
5429 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5431 2012-11-18 Chong Yidong <cyd@gnu.org>
5433 * filecache.el (file-cache--read-list): New function.
5434 (file-cache-add-directory-list, file-cache-add-file-list)
5435 (file-cache-delete-file-list, file-cache-delete-directory-list):
5436 Use it to read a list of files or directories (Bug#12846).
5437 (file-cache-add-file, file-cache-add-directory)
5438 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5439 (file-cache-delete-directory): Print an message.
5441 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5443 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5444 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5446 2012-11-18 Glenn Morris <rgm@gnu.org>
5448 * image.el (insert-image, insert-sliced-image): Doc fix.
5450 2012-11-18 Chong Yidong <cyd@gnu.org>
5452 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5455 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5457 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5458 response when the target file is in a subdirectory (Bug#12757).
5460 2012-11-18 Chong Yidong <cyd@gnu.org>
5462 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5464 2012-11-18 Glenn Morris <rgm@gnu.org>
5466 * emacs-lisp/cl-lib.el (face-underline-p):
5467 Use set-face-underline rather than the alias set-face-underline-p.
5469 * window.el (with-temp-buffer-window): Doc fix.
5470 * subr.el (with-output-to-temp-buffer):
5471 Add doc xref to with-temp-buffer-window.
5473 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5475 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5476 * calc/calc.el (math-format-date-cache): Declare.
5478 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5480 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5481 It also uses January 1, 1 AD as its day number 1.
5482 * calc/calc-forms.el (math-julian-date-beginning)
5483 (math-julian-date-beginning-int): Implement this.
5485 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5487 * descr-text.el (quail-find-key):
5488 * dired.el (desktop-file-name):
5489 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5490 * generic-x.el (comint-mode, comint-exec):
5491 * image-dired.el (widget-forward):
5492 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5493 (speedbar-change-expand-button-char)
5494 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5495 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5496 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5497 (widget-field-action, widget-value-set):
5498 * speedbar.el (imenu--make-index-alist):
5499 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5500 (ring-length, ring-insert):
5501 * vcursor.el (compare-windows-skip-whitespace):
5502 * woman.el (dired-get-filename):
5505 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5507 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5509 * calc/calc.el (calc-gregorian-switch): New variable.
5511 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5512 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5513 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5514 (math-leap-year-p): Add option to distinguish between Julian
5515 and Gregorian calendars.
5516 (math-day-number): Use `math-day-in-year' to do the computations.
5517 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5518 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5519 to do the computations.
5520 (math-date-to-dt): Use `math-date-to-julian-dt' and
5521 `math-date-to-gregorian-dt' to do the computations.
5522 (calcFunc-weekday, math-format-date-part): Use the new version of
5523 the DATE to determine the weekday.
5524 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5527 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5529 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5530 Cygwin; otherwise use 'file:'. (Bug#12914)
5531 (cygwin-convert-path-from-windows): Declare, to avoid
5532 byte-compiler warnings.
5534 2012-11-17 Andreas Politz <politza@fh-trier.de>
5536 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5537 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5538 prefix and negative numeric prefix args (Bug#12795).
5540 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5542 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5543 Don't signal an error with a score that is too low to add to the
5544 list of top scores. (Bug#12779)
5546 2012-11-17 Chong Yidong <cyd@gnu.org>
5548 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5550 * filecache.el (file-cache-add-file): Handle relative file name in
5551 the argument (Bug#12694).
5553 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5555 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5557 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5559 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5561 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5563 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5565 * window.el (enlarge-window, shrink-window): Don't mention return
5566 value in doc-string (Bug#12896).
5567 (window--display-buffer): Don't resize frames - it won't work
5568 with all window managers and defeat pop-up-frame-alist.
5569 (display-buffer-alist): In doc-string explain that CONDITION can
5570 be a function and which arguments are passed to it (Bug#12854).
5571 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5572 expressions (Bug#12854).
5573 (display-buffer): Pass ACTION argument to
5574 display-buffer-assq-regexp.
5576 2012-11-16 Glenn Morris <rgm@gnu.org>
5578 * window.el (fit-frame-to-buffer-bottom-margin)
5579 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5581 * faces.el (face-underline-p): Use face-attribute-specified-or.
5583 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5585 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5587 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5589 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5591 2012-11-16 Glenn Morris <rgm@gnu.org>
5593 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5594 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5596 * faces.el (face-underline-p): Doc fix. Handle :underline being
5597 things other than `t' (a string, a list).
5598 (face-inverse-video-p): Doc fix.
5599 (set-face-underline): Rename it back from set-face-underline-p.
5600 Doc fix. Allow interactive input of values other than t.
5601 (read-face-attribute): Apply formatting to :underline,
5602 since like :box and :stipple it can take list values.
5604 * term.el (ansi-term): Don't let C-x escape-char binding
5605 clobber the more standard C-c binding. (Bug#12842)
5607 * subr.el (set-temporary-overlay-map): Doc fix.
5609 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5611 * window.el (record-window-buffer)
5612 (display-buffer-record-window): When copying the markers to
5613 window-point preserve window-point-insertion-type. (Bug#12588)
5615 2012-11-16 Glenn Morris <rgm@gnu.org>
5617 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5618 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5619 Use new names for hooks rather than obsolete aliases.
5621 2012-11-15 Daniel Colascione <dancol@dancol.org>
5623 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5624 prefix instead of "file:" so that when FILE-NAME begins with "//",
5625 as it does when the target file is on a network share, url-handler
5628 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5631 a preactivated advice from an old advice.el; they're not compatible!
5633 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5635 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5636 Fix string-spec case.
5638 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5640 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5643 (advice--buffer-local-function-sample): New var.
5644 (advice--set-buffer-local, advice--buffer-local): New functions.
5645 (add-function, remove-function): Use them.
5647 2012-11-15 Drew Adams <drew.adams@oracle.com>
5649 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5651 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5654 potential binding of print-gensym to t, and prettify (back)quotes in
5655 case they appear in args's default values (bug#12884).
5657 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5660 (advice-eval-interactive-spec): New function.
5661 (advice--make-interactive-form): Support around advice (bug#12844).
5663 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5665 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5666 more strict. Add docstring.
5667 (ruby-expression-expansion-re): Extract from
5668 `ruby-match-expression-expansion'.
5669 (ruby-syntax-propertize-function): After everything else, search
5670 for expansions in string literals, mark their insides as
5671 whitespace syntax and save match data for font-lock.
5672 (ruby-font-lock-keywords): Use the 2nd group from expression
5674 (ruby-match-expression-expansion): Use the match data saved to the
5675 text property in ruby-syntax-propertize-function.
5677 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5679 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5682 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5684 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5685 start/end keyword a bit harder. Works with different values of N.
5687 (ruby-end-of-block): Update accordingly.
5689 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * woman.el (woman-file-name): Don't mess with unread-command-events
5694 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5695 Remove out of date self-require hack.
5696 (ad-do-advised-functions): Use simple `dolist'.
5697 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5698 (ad-advice-definition): Redefine as functions.
5699 (ad-advice-classes): Move before first use.
5700 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5701 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5702 (ad--defalias-fset): Remove functions.
5703 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5704 (ad-get-orig-definition): Rewrite.
5705 (ad-make-advised-definition-docstring): Change base docstring.
5706 (ad-real-orig-definition): Rewrite.
5707 (ad-map-arglists): Change name of called function.
5708 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5709 (ad-make-advised-definition): Simplify.
5710 (ad-assemble-advised-definition): Tweak for new calling context.
5711 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5712 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5713 function and call ad-activate if needed.
5714 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5715 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5716 (ad-compile-function): Compile ad-Advice-*.
5717 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5718 (ad-start-advice, ad-stop-advice): Remove.
5720 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5722 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5723 period before class method names, not after. Remove handling of
5724 one impossible case. Add comments.
5726 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5728 * emacs-lisp/advice.el: Remove support for freezing.
5729 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5730 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5731 Remove support for `freeze'.
5733 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5734 override the default.
5735 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5737 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5740 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5742 (advice--strip-macro): New function.
5743 (advice--defalias-fset): Use them to handle macros.
5744 (advice-add): Use them.
5745 (advice-member-p): Correctly handle macros.
5747 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5750 Never font-lock the beginning of singleton class as heredoc.
5752 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5756 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5758 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5759 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5760 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5762 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5764 Fix end-of-defun misbehavior.
5765 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5766 python-beginning-of-defun-function. Handle nested defuns
5768 (python-nav-end-of-defun): Rename from
5769 python-end-of-defun-function. Ensure forward movement.
5770 (python-info-current-defun): Reimplement to work as intended
5771 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5772 parent defuns as soon as possible.
5774 2012-11-13 Glenn Morris <rgm@gnu.org>
5776 * progmodes/flymake.el (flymake-error-bitmap)
5777 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5778 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5780 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5782 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5783 backward, always stop at indentation. Reverts the change from
5784 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5786 2012-11-13 Glenn Morris <rgm@gnu.org>
5788 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5789 Add ibuffer-filter-by-derived-mode.
5791 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5792 the same name shadowing each other.
5794 * window.el (with-temp-buffer-window): Doc tweak.
5796 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5798 * help.el (temp-buffer-max-height):
5799 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5800 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5802 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * emacs-lisp/nadvice.el: New package.
5805 * subr.el (special-form-p): New function.
5806 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5807 (elp-all-instrumented-list): Remove var.
5808 (elp-not-profilable): Remove elp-wrapper.
5809 (elp-profilable-p): Use autoloadp and special-form-p.
5810 (elp--advice-name): New const.
5811 (elp-instrument-function): Use advice-add.
5812 (elp--instrumented-p): New predicate.
5813 (elp-restore-function): Use advice-remove.
5814 (elp-restore-all, elp-reset-all): Use mapatoms.
5815 (elp-set-master): Use elp--instrumented-p.
5816 (elp--make-wrapper): Rename from elp-wrapper, return a function
5817 suitable for advice-add. Use cl-inf.
5818 (elp-results): Use mapatoms+elp--instrumented-p.
5819 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5820 (debug-function-list): Remove var.
5821 (debug): Rename arg, and then let-bind it explicitly inside.
5822 (debugger-setup-buffer): Rename arg.
5823 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5824 (debugger-frame-number): Adjust to new debug-on-entry setup.
5825 (debug--implement-debug-on-entry): Rename from
5826 implement-debug-on-entry, add argument.
5827 (debugger-special-form-p): Remove, use special-form-p instead.
5828 (debug-on-entry): Use advice-add.
5829 (debug--function-list): New function.
5830 (cancel-debug-on-entry): Use it, along with advice-remove.
5831 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5832 (debugger-list-functions): Use debug--function-list instead of
5833 debug-function-list.
5834 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5835 (ad-special-form-p): Remove, use special-form-p instead.
5836 (ad-set-advice-info): Use add-function and remove-function.
5837 (ad--defalias-fset): Adjust accordingly.
5839 2012-11-10 Glenn Morris <rgm@gnu.org>
5841 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5842 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5843 (report-emacs-bug-create-existing-bugs-buffer)
5844 (report-emacs-bug-parse-query-results)
5845 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5847 * term.el (term-default-fg-color, term-default-bg-color):
5848 Make obsolete, rather than just saying "deprecated" in the doc.
5850 * term.el (term): Rename from `term-face'.
5851 (term-current-face, ansi-term-color-vector)
5852 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5855 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5857 * server.el (server-create-window-system-frame): Handle Nextstep
5858 specially (Bug#12780).
5860 2012-11-10 Glenn Morris <rgm@gnu.org>
5862 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5863 Unautoload, and make obsolete. (Bug#7449)
5865 2012-11-10 Chong Yidong <cyd@gnu.org>
5867 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5868 rename from diff-remove-trailing-whitespace (Bug#12831).
5870 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5873 miscompilation of trace.el.
5875 2012-11-10 Glenn Morris <rgm@gnu.org>
5877 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5879 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5884 2012-11-10 Chong Yidong <cyd@gnu.org>
5886 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5887 a defcustom with an appropriate :set function.
5888 (minibuffer-default--in-prompt-regexps): New function.
5890 2012-11-10 Glenn Morris <rgm@gnu.org>
5892 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5893 (define-modify-macro): Doc fixes.
5895 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5896 (gv-define-simple-setter): Update doc of `fix-return'.
5898 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5900 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5901 twice when `fix-return' is set (bug#12813).
5903 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5904 gv-define-simple-setter (bug#12812).
5906 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5909 2012-11-10 Glenn Morris <rgm@gnu.org>
5911 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5913 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5914 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5915 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5916 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5918 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5920 2012-11-10 Leo Liu <sdl.web@gmail.com>
5922 * ido.el (ido-set-matches-1): Improve flex matching performance by
5923 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5925 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5927 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5928 (ad--defalias-fset): New function.
5929 (ad-safe-fset): Remove.
5930 (ad-make-freeze-definition): Use cl-letf*.
5932 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5934 * subr.el (dolist): Don't bind VAR in RESULT.
5936 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5937 (fset, documentation): Don't save real def since we don't advise.
5938 (ad-do-advised-functions): Remove problematic `result-form'.
5939 (ad-safe-fset): `ad-real-fset' => `fset'.
5940 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5941 uses CL's dolist internally.
5942 (ad-arglist): Remove unused arg `name'.
5943 (ad-docstring, ad-make-advised-docstring):
5944 `ad-real-documentation' => `documentation'.
5945 (warning-suppress-types): Declare.
5946 (ad-set-arguments): Simple CSE.
5947 (ad-recover-normality): Sanity check.
5949 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5950 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5952 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5954 * ses.el: symbol to coordinate mapping is made by symbol property
5955 `ses-cell'. This means that the same mapping is done for all SES
5956 sheets. That is good enough for cells with standard A1 names, but
5957 not for named cell. So a hash map is added for the latter.
5958 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5959 (ses-sym-rowcol): Use hashmap for named cell.
5960 (ses-is-cell-sym-p): New defun.
5961 (ses-decode-cell-symbol): New defun.
5962 (ses-create-cell-variable): Add cell to hashmap when name is not
5964 (ses-rename-cell): Check that cell new name is not already in
5965 spreadsheet with the use of ses-is-cell-sym-p
5966 (ses-rename-cell): Use hash map for named cells, but accept also
5967 renaming back to A1-like.
5969 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5971 * emacs-lisp/advice.el: Use new dynamic docstrings.
5972 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5973 Use dynamic-docstring-function instead of ad-advice-info.
5974 (ad--make-advised-docstring): New function extracted from
5975 ad-make-advised-docstring.
5976 (ad-make-advised-docstring): Use it.
5977 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5979 (sql-help): Use it with dynamic-docstring-function.
5981 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5983 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * files.el (hack-one-local-variable--obsolete): New function.
5986 (hack-one-local-variable): Use it for obsolete settings.
5988 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5991 * progmodes/js.el (js--filling-paragraph): New var.
5992 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5993 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5996 2012-11-08 Julien Danjou <julien@danjou.info>
5998 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5999 `auto-mode-alist' (Bug#12835).
6001 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6003 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6004 (perl--prettify-symbols-alist): New const.
6005 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6007 (perl-font-lock-keywords-2): Use them.
6008 (perl-electric-noindent-p): New function.
6009 (perl-mode): Use it to set up electric-indent-mode.
6010 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6011 (perl-mode-map): Remove bindings for them.
6012 (perl-imenu-generic-expression, perl-outline-level):
6013 Match functions&packages in column>0.
6015 * env.el (env--substitute-vars-regexp): New const.
6016 (substitute-env-vars): Use it. Add `only-defined' arg.
6017 * net/tramp.el (tramp-replace-environment-variables): Use it.
6019 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6020 Byte-compile *before* eval in eval-and-compile.
6021 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6022 (byte-compile-file-form-autoload): Don't hide actual definition.
6023 (byte-compile-maybe-guarded): Accept `functionp' as well.
6025 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6027 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6029 * notifications.el (notifications-get-server-information-method):
6031 (notifications-get-capabilities): Fix docstring.
6032 (notifications-get-server-information): New defun.
6034 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6036 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6039 * textmodes/ispell.el: Experimental support for support debugging.
6040 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6042 (ispell-print-if-debug): New function to print stuff to
6043 `ispell-debug-buffer' if debugging is enabled.
6044 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6045 show some debugging info.
6046 (ispell-buffer-with-debug): New function that creates a debugging
6047 buffer and calls `ispell-buffer' with debugging enabled.
6049 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6050 comment in autoconf mode. (Bug#12768)
6052 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6054 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6055 frame-first-window, frame-root-window, frame-selected-window,
6056 minibuffer-selected-window, minibuffer-window,
6057 window-absolute-pixel-edges, window-at, window-body-height,
6058 window-body-width, window-display-table, window-combination-limit,
6059 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6060 window-inside-edges, window-inside-pixel-edges, window-left-child,
6061 window-left-column, window-margins, window-next-buffers,
6062 window-next-sibling, window-new-normal, window-new-total,
6063 window-normal-size, window-parameter, window-parameters, window-parent,
6064 window-pixel-edges, window-point, window-prev-buffers,
6065 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6066 window-start, window-text-height, window-top-child, window-top-line,
6067 window-total-height, window-total-width and window-use-time to the list
6068 of functions without side-effects.
6069 (toplevel): Add window-valid-p to the list of error-free functions
6070 without side-effects.
6072 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6074 * textmodes/ispell.el (ispell-program-name):
6075 Update spellchecker parameters when customized.
6077 2012-11-04 Glenn Morris <rgm@gnu.org>
6079 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6081 2012-11-04 Chong Yidong <cyd@gnu.org>
6083 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6084 same-window-* variables.
6086 2012-11-04 Juri Linkov <juri@jurta.org>
6088 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6089 (isearch-describe-key, isearch-describe-mode): Use a display
6090 action instead of binding same-window-* variables (Bug#10040).
6092 2012-11-03 Glenn Morris <rgm@gnu.org>
6094 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6095 Rename handler properties back from cl-- to cl-. (Bug#12788)
6097 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6099 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6101 * term/pc-win.el: Don't load term/internal from here.
6103 * loadup.el: Load term/internal from here.
6105 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6107 * progmodes/python.el (inferior-python-mode): Fix hang in
6108 jit-lock (Bug#12645).
6110 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6112 * window.el (switch-to-visible-buffer)
6113 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6115 2012-11-03 Glenn Morris <rgm@gnu.org>
6117 * emacs-lisp/cl-lib.el (cl--random-time):
6118 Rename from cl-random-time. (Bug#12773)
6119 (cl--gensym-counter, cl--random-state): Update callers.
6120 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6122 2012-11-03 Chong Yidong <cyd@gnu.org>
6124 * cus-start.el: Make cursor-type customizable (Bug#11633).
6126 2012-11-02 Glenn Morris <rgm@gnu.org>
6128 * filecache.el: No need to load find-lisp when compiling.
6129 (find-lisp-find-files): Autoload it.
6130 (file-cache-add-directory-recursively): Don't require find-lisp.
6132 * image.el (image-type-from-file-name): Trivial simplification.
6134 * emacs-lisp/bytecomp.el (byte-compile-eval):
6135 Decouple "noruntime" and "cl-functions" warnings.
6137 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6139 * play/gomoku.el (gomoku-display-statistics): Update mode line
6140 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6142 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6144 * window.el (quit-restore-window): If the window has been
6145 created on an existing frame and ended up as the sole window on
6146 that frame, do not delete it (Bug#12764).
6148 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6151 Rename from sh--inside-arithmetic-expression, handle more cases
6154 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6155 (sh-font-lock-open-heredoc): Use it (bug#12770).
6157 2012-10-30 Glenn Morris <rgm@gnu.org>
6159 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6161 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6163 2012-10-29 Chong Yidong <cyd@gnu.org>
6165 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6166 function key is stored in a keyboard macro (Bug#4894).
6168 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6170 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6174 (diff-unified->context, diff-context->unified)
6175 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6177 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6179 * files.el (find-alternate-file): Only ask one question (bug#12487).
6181 2012-10-29 Chong Yidong <cyd@gnu.org>
6183 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6184 Suggested by Dan Nicolaescu (Bug#6326).
6186 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6188 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6190 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6192 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6194 * face-remap.el (face-remap-add-relative): Handle the case where a
6195 face-remapping-alist entry is a cons cell (Bug#12762).
6197 2012-10-29 Kevin Ryde <user42@zip.com.au>
6199 * woman.el (woman-parse-numeric-value): Handle picas correctly
6202 2012-10-29 Glenn Morris <rgm@gnu.org>
6204 * emacs-lisp/cl.el (defsetf): Doc fix.
6206 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6209 syntax to the matching opener, if any (bug#12547).
6210 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6211 matching open as a "case-(".
6212 (sh-smie-rc-grammar): Add a corresponding rule for it.
6214 2012-10-28 Daniel Hackney <dan@haxney.org>
6216 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6217 "PKGNAME-autoloads.el" in case we created it.
6219 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6221 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6222 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6223 (completion--twq-all): Disable too-strict assertions.
6225 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6227 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6229 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6230 text to match the real keybindings.
6232 2012-10-27 Juri Linkov <juri@jurta.org>
6234 * wdired.el (wdired-keep-marker-rename): New defcustom.
6235 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6238 * dired.el (dired-keep-marker-rename): Add reference to
6239 `wdired-keep-marker-rename' in the docstring.
6240 Add default character value ?R to display initially in
6241 Customization UI instead of ?@.
6243 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6245 * window.el (display-buffer): In doc-string describe
6246 window-height and window-width alist entries.
6248 * time.el (display-time-world): Restore fit-window-to-buffer
6251 2012-10-27 Chong Yidong <cyd@gnu.org>
6253 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6255 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6257 * minibuffer.el (completion-category-overrides): New completion
6258 category `bookmark' (bug#11131).
6260 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6262 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6263 Silence bogus compiler warnings for ad-do-it.
6265 * bookmark.el (bookmark-completing-read): Set the completion category
6266 to `bookmark' (bug#11131).
6268 2012-10-26 Bastien <bzg@altern.org>
6269 Stefan Monnier <monnier@iro.umontreal.ca>
6271 * face-remap.el: Use lexical-binding.
6272 (text-scale-adjust): Improve docstring. Use itself for the temporary
6273 overlay-map bindings, so as to repeat the "Use..." message each time.
6275 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6277 * emacs-lisp/macroexp.el (macroexp--expand-all):
6278 Obey byte-compile-warning-enabled-p (bug#12486).
6280 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6281 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6283 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6285 * mouse.el (mouse-drag-line): Move last form into preceding when
6288 * help.el (resize-temp-buffer-window): Fix doc-string.
6290 2012-10-25 David Engster <deng@randomsample.de>
6292 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6293 Remove. This feature is already integrated in imenu.
6295 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6296 always loaded. Require `speedbar' unconditionally.
6298 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6302 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6304 * net/ldap.el (ldap-search-internal): The official ldif format starts
6305 with a "version: 1" header (bug#12724).
6307 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6310 2012-10-25 Glenn Morris <rgm@gnu.org>
6312 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6314 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6316 * minibuffer.el (minibuffer-force-complete): Use one more marker
6317 for the temporary-overlay-map command (bug#12619).
6319 2012-10-24 Chong Yidong <cyd@gnu.org>
6321 * time.el (display-time-world-mode): Derive from special-mode.
6322 (display-time-world): Use display-buffer (Bug#12708).
6323 (display-time-world-mode-map): Variable deleted.
6324 (display-time-world-display): Wrap the final delete-char inside
6327 2012-10-24 Chong Yidong <cyd@gnu.org>
6329 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6332 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6334 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * minibuffer.el (completion--all-sorted-completions-location): New var.
6337 (completion--cache-all-sorted-completions)
6338 (completion--flush-all-sorted-completions): Use it.
6339 (completion-in-region, completion-in-region--postch)
6340 (completion-at-point, completion-help-at-point): Use markers in
6341 completion-in-region--data (bug#12619).
6343 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * progmodes/compile.el (compilation-start): Try to handle common
6346 quoting of `cd' argument (bug#12640).
6348 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6351 2012-10-23 Glenn Morris <rgm@gnu.org>
6353 * progmodes/gud.el (gud-menu-map):
6354 Check gdb-active-process is bound. (Bug#12358)
6356 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6358 * repeat.el (repeat): Set real-this-command (bug#12232).
6360 * htmlfontify.el (hfy-post-html-hook):
6361 * filesets.el (filesets-cache-fill-content-hook):
6362 * arc-mode.el (archive-extract-hook):
6363 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6364 * net/rcirc.el (rcirc-sentinel-functions)
6365 (rcirc-receive-message-functions, rcirc-activity-functions)
6366 (rcirc-print-functions):
6367 * net/dbus.el (dbus-event-error-functions):
6368 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6369 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6370 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6371 * term/sun.el (sun-raw-prefix-hooks):
6372 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6374 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6376 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6377 Set `tramp-chunksize' to 1. This improves the performance.
6378 (tramp-smb-wait-for-output): Add timeout to
6379 `tramp-accept-process-output' calls.
6381 2012-10-23 Chong Yidong <cyd@gnu.org>
6383 * faces.el (font-list-limit): Define as an obsolete variable.
6385 * startup.el (command-line):
6386 * cus-start.el: Don't refer to font-list-limit.
6388 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6390 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6392 * subr.el (internal-temp-output-buffer-show): Rename from
6393 temp-output-buffer-show, since previously compiled files expect this name.
6395 2012-10-23 Glenn Morris <rgm@gnu.org>
6397 * image.el (image-type-from-file-name): If multiple types match,
6398 return the first one that is supported. (Bug#9045)
6400 2012-10-22 Glenn Morris <rgm@gnu.org>
6402 * image.el (imagemagick-enabled-types): Doc fix.
6404 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6406 * progmodes/which-func.el (which-func-current): The hash-table may have
6407 an explicit nil (bug#12338).
6409 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6411 * electric.el (electric-pair-delete-selection-self-insert-function):
6412 Rename to electric-pair-will-use-region, return a boolean.
6413 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6415 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6416 (delete-selection-pre-hook): Use use-region-p.
6417 (delete-selection-self-insert-function): Remove.
6418 (self-insert-command): Obey self-insert-uses-region-functions.
6419 (self-insert-iso): Revert to previous setting, since we don't actually
6420 know what that command does.
6421 (delete-selection-self-insert-hooks): Remove.
6423 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6425 * delsel.el (delete-selection-helper): New function, extracted from
6426 delete-selection-pre-hook.
6427 (delete-selection-pre-hook): Use it.
6428 (delete-selection-self-insert-function): New function.
6429 (delete-selection-self-insert-hooks): New hook.
6430 (self-insert-command, self-insert-iso): Use it.
6431 * electric.el (electric-pair-syntax): New function, extracted from
6432 electric-pair-post-self-insert-function.
6433 (electric-pair-post-self-insert-function): Use it.
6434 (electric-pair-delete-selection-self-insert-function): New function.
6435 (electric-pair-mode): Require delsel and setup
6436 delete-selection-self-insert-hooks (bug#11520).
6438 2012-10-20 Chong Yidong <cyd@gnu.org>
6440 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6441 no changes to show (Bug#12586).
6443 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6444 list explicitly (Bug#12571).
6446 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6448 * progmodes/flymake.el (flymake-create-temp-inplace):
6451 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6453 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6455 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6457 * calc/calc-units.el (math-extract-units): Properly extract powers
6460 2012-10-20 Daniel Colascione <dancol@dancol.org>
6462 * frame.el (make-frame): Set x-display-name as we used to in order
6463 to unbreak creating an X11 frame from an Emacs daemon started
6466 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6469 the same completion-field (bug#12221).
6471 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6473 * emacs-lisp/debug.el (debug): Record height of debugger window
6474 also when debugger will be back (Bug#8789).
6476 2012-10-18 Chong Yidong <cyd@gnu.org>
6478 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6479 Convert to defcustom.
6480 (gdb-get-source-file): Don't bind pop-up-windows.
6482 * progmodes/gud.el (gud-display-line): Don't specially re-use
6483 other frames for the gdb-mi case (Bug#12648).
6485 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * emacs-lisp/advice.el: Clean up commentary a bit.
6488 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6489 (byte-code-function-p): Never redefine.
6491 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6493 2012-10-18 Glenn Morris <rgm@gnu.org>
6495 * dired.el (dired-sort-toggle): Some ls implementations only allow
6496 a single option string. (Bug#12666)
6498 * minibuffer.el (completion-cycle-threshold): Doc fix.
6500 2012-10-17 Kenichi Handa <handa@gnu.org>
6502 * international/mule.el (set-keyboard-coding-system):
6503 Recover input meta mode when the new coding system doesn not use 8-bit.
6504 Supply TERMINAL arg to set-input-meta-mode.
6506 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6508 * wdired.el (wdired-old-marks): New variable.
6509 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6510 (wdired-do-renames): Move point with renamed file and don't lose
6511 mark status (Bug#11795).
6513 2012-10-16 Juri Linkov <juri@jurta.org>
6515 * replace.el (query-replace-help): Mention multi-buffer replacement
6516 keys in the Help message. (Bug#12655)
6518 2012-10-15 Chong Yidong <cyd@gnu.org>
6520 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6522 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6524 * window.el (display-buffer): Doc fix.
6526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6527 Adjust the msft regexp to the output of Studio 2010, and move msft
6528 before edg-1. See the discussion on emacs-devel,
6529 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6532 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6534 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6535 (oset): Move uses of object-class-fast macro after its definition.
6537 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6539 2012-10-13 Chong Yidong <cyd@gnu.org>
6541 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6542 enabled, re-enable it (Bug#11963).
6544 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6546 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6547 non-nil, restore window configuration (Bug#12623).
6549 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * help-fns.el (describe-variable, describe-function-1):
6552 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6554 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6556 2012-10-12 Glenn Morris <rgm@gnu.org>
6558 * mail/rmailsum.el (rmail-header-summary):
6559 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6561 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6563 * progmodes/python.el (python-mode-map):
6564 Replace subtitute-key-definition with proper command remapping.
6565 (python-nav--up-list): Fix behavior for blocks on the same level.
6567 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6569 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6571 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6572 changes to the format of load-history.
6574 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6575 completion-ignore-case in case that var is buffer-local (bug#12615).
6577 2012-10-11 Kenichi Handa <handa@gnu.org>
6579 * international/eucjp-ms.el: Re-generated.
6581 2012-10-10 Kenichi Handa <handa@gnu.org>
6583 * select.el (xselect--encode-string): If a coding is specified for
6584 selection, and that is compatible with COMPOUND_TEXT, use it.
6586 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6588 * window.el (switch-to-buffer-preserve-window-point): New option.
6590 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6592 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6594 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6595 Don't document nil as a useful value (bug#12583).
6597 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6599 * net/tramp.el (tramp-debug-message):
6600 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6601 (with-tramp-progress-reporter): Rename from
6602 `tramp-with-progress-reporter'.
6603 (with-tramp-file-property, with-tramp-connection-property):
6604 Move from tramp-cache.el, rename from `with-file-property' and
6605 `with-connection-property', respectively.
6607 * net/tramp-cache.el: Remove `with-file-property' and
6608 `with-connection-property'.
6611 * net/tramp-gvfs.el:
6613 * net/tramp-smb.el: Adapt callees.
6615 * net/trampver.el: Update release number.
6617 2012-10-09 Glenn Morris <rgm@gnu.org>
6619 * w32-fns.el (set-message-beep):
6620 * term/w32-win.el (set-message-beep): Update declarations.
6622 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6624 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6625 (mode-line-widen, mode-line-input-method-map)
6626 (mode-line-coding-system-map, mode-line-remote)
6627 (mode-line-unbury-buffer, mode-line-bury-buffer)
6628 (mode-line-next-buffer, mode-line-previous-buffer):
6629 Replace save-selected-window+select-window => with-selected-window.
6631 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6632 * progmodes/cc-vars.el (bq-process): Remove, unused.
6634 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6636 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6638 Implemented `backward-up-list'-like navigation.
6639 * progmodes/python.el (python-nav-up-list)
6640 (python-nav-backward-up-list): New functions.
6641 (python-mode-map): Define substitute key for backward-up-list to
6642 python-nav-backward-up-list.
6644 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6646 * progmodes/python.el (python-fill-paragraph): Rename from
6647 python-fill-paragraph-function. Fixed fill-paragraph for
6648 decorators (Bug#12605).
6650 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6652 * progmodes/python.el (python-shell-output-filter): Handle extra
6653 carriage return in OSX (Bug#12409).
6655 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6657 Fix shell handling of unbalanced quotes and parens in output.
6658 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6659 (python-syntax-propertize-function): Use it.
6660 (python-shell-output-syntax-table): New var.
6661 (inferior-python-mode): Prevent unbalanced parens/quotes from
6662 previous output mess with current input context.
6664 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6666 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6667 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6669 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6671 * ffap.el (ffap-replace-file-component): Support Tramp file name
6672 syntax, not only ange-ftp's one.
6674 2012-10-08 Glenn Morris <rgm@gnu.org>
6676 * cus-start.el (message-log-max): Set :version.
6678 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6680 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6682 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6683 the minibuffer window (Bug#10851).
6685 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6687 Enhancements on forward-sexp movement.
6688 * progmodes/python.el (python-nav-beginning-of-statement)
6689 (python-nav-end-of-statement): Return point-marker.
6690 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6691 (python-info-current-symbol)
6692 (python-info-statement-starts-block-p): Rename from
6693 python-info-beginning-of-block-p.
6694 (python-info-statement-ends-block-p): Rename from
6695 python-info-end-of-block-p.
6696 (python-info-beginning-of-statement-p)
6697 (python-info-end-of-statement-p)
6698 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6701 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6704 frame-selected-windows.
6706 2012-10-08 Daniel Colascione <dancol@dancol.org>
6708 * battery.el (battery-status-function): Check for
6709 w32-battery-status itself, not system-time windows-nt.
6711 * frame.el: Require cl-lib.
6712 (display-format-alist): New variable mapping frame types to
6713 functions that initialize them.
6714 (window-system-for-display): New function: interprets
6715 display-format-alist.
6716 (make-frame-on-display): Remove existing display-selection logic
6717 and just forward to make-frame, which will now DTRT.
6718 (make-frame): Restructure to use window-system-for-display to
6719 figure out how to create a frame on a given display.
6720 (display-mouse-p): Look for frame-type w32, not a particular
6723 * loadup.el: Load w32 lisp code when we have the w32 feature.
6725 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6726 system-type windows-nt.
6728 * server.el (server-create-window-system-frame): Look for window
6730 (server-proces-filter): Only force a window system when windows-nt
6731 _and_ w32. Explain why.
6733 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6734 of window systems we configure for the mode.
6736 * startup.el (command-line): Mark window system is initialized
6737 after we've done it.
6739 * common-win.el (x-select-text): Look for w32, not windows-nt.
6741 * ns-win.el: Require cl-lib. Add ourselves to
6742 display-format-alist.
6743 (ns-initialize-window-system): Assert we're not initialized twice.
6745 * w32-win.el: Enable lexical binding; require cl-lib; add
6746 ourselves to display-format-alist.
6747 (w32-handle-dropped-file): Convert incoming dropped files from
6748 Windows paths to Cygwin ones before passing them on to the rest of
6750 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6751 (w32-initialize-window-system): Assert we're not initialized twice.
6753 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6754 (x-initialize-window-system): Assert we're not initialized twice.
6756 * w32-common-fns.el: New File.
6757 (w32-version, w32-using-nt, w32-get-clipboard-data)
6758 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6759 (w32-charset-info-alist, x-last-selected, text)
6760 (x-get-selection-value, x-selection-value): Move here.
6762 * w32-fns.el: Require w32-common-fns.
6763 (w32-version, w32-using-nt, w32-get-clipboard-data)
6764 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6765 (w32-charset-info-alist, x-last-selected, text)
6766 (x-get-selection-value, x-selection-value): Move to
6770 (w32-allow-system-shell, w32-system-shells): Define only in
6773 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6776 (read-passwd): Remove a few more potential sources of leaks.
6778 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6780 * progmodes/python.el (inferior-python-mode)
6781 (python-shell-make-comint): Fix initialization of local
6782 variables copied from parent buffer.
6784 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6786 * term/ns-win.el (ns-read-file-name): Update declaration to match
6788 (ns-respond-to-change-font): Change fontsize separately so we are sure
6789 it is set when font is acted upon.
6791 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6793 Enhancements to indentation.
6794 * progmodes/python.el (python-indent-context): Give priority to
6795 inside-string context. Make comments indentation markers.
6796 (python-indent-region): Do not mess with strings, unless it's the
6797 enclosing set of quotes.
6799 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6801 * window.el (internal--before-save-selected-window)
6802 (internal--after-save-selected-window): New functions extracted from
6803 save-selected-window. Make sure we return the `alist' we construct.
6804 (save-selected-window): Use them.
6806 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6807 Use with-selected-window.
6809 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6810 forms that define macros (bug#12593).
6812 2012-10-07 Kenichi Handa <handa@gnu.org>
6814 * international/mule-conf.el (compound-text-with-extensions):
6815 Add :mime-charset property as x-ctext.
6817 2012-10-07 Stefan Merten <smerten@oekonux.de>
6819 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6820 (rst-indent-literal-normal, rst-indent-literal-minimized)
6821 (rst-indent-comment): Correct :version tag.
6822 (rst-official-cvs-rev): Correct version string.
6824 2012-10-07 Glenn Morris <rgm@gnu.org>
6826 * mail/rmailmm.el (rmail-mime-process-multipart):
6827 Do not confuse a multipart message with an epilogue
6828 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6830 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6832 Fix shell output retrieval and comint-prompt-regexp init.
6833 * progmodes/python.el (inferior-python-mode):
6834 (python-shell-make-comint): Fix initialization of
6835 comint-prompt-regexp from copied file local variables.
6836 (python-shell-fetched-lines): Remove var.
6837 (python-shell-output-filter-in-progress): Rename from
6838 python-shell-fetch-lines-in-progress.
6839 (python-shell-output-filter-buffer): Rename from
6840 python-shell-fetch-lines-string.
6841 (python-shell-fetch-lines-filter): Delete function.
6842 (python-shell-output-filter): New function.
6843 (python-shell-send-string-no-output): Use them.
6845 2012-10-07 Glenn Morris <rgm@gnu.org>
6847 * hi-lock.el (hi-lock-process-phrase):
6848 Try to make it less fragile. (Bug#7161)
6850 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6852 2012-10-06 Glenn Morris <rgm@gnu.org>
6854 * ehelp.el (electric-help-mode): Use help-mode rather than
6855 non-existent mode `help'.
6856 (electric-help-map): Use button-buffer-map. (Bug#10917)
6858 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6859 (reftex-create-bibtex-footer): Fix custom types.
6861 * progmodes/sh-script.el (sh-indent-after-continuation):
6862 Add explicit :group.
6864 * textmodes/rst.el (rst-preferred-decorations)
6865 (rst-shift-basic-offset): Clarify obsolescence versions.
6867 * profiler.el (profiler): Add missing group :version tag.
6868 * avoid.el (mouse-avoidance-banish-position):
6869 * proced.el (proced-renice-command):
6870 * calc/calc.el (calc-ensure-consistent-units):
6871 * calendar/icalendar.el (icalendar-import-format-uid):
6872 * net/tramp.el (tramp-save-ad-hoc-proxies):
6873 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6874 * progmodes/flymake.el (flymake-error-bitmap)
6875 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6876 * progmodes/sh-script.el (sh-indent-after-continuation):
6877 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6878 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6879 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6880 (vhdl-array-index-record-field-in-sensitivity-list)
6881 (vhdl-indent-comment-like-next-code-line):
6882 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6883 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6884 (reftex-cite-key-separator, reftex-create-bibtex-header)
6885 (reftex-create-bibtex-footer):
6886 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6887 (rst-indent-literal-normal, rst-indent-literal-minimized)
6888 (rst-indent-comment): Add missing custom :version tags.
6890 * calendar/timeclock.el (timeclock-modeline-display):
6891 Add missing obsolete alias for renamed user option.
6893 * strokes.el (strokes-modeline-string):
6894 * emulation/crisp.el (crisp-mode-modeline-string):
6895 * eshell/esh-mode.el (eshell-status-in-modeline):
6896 Aliases to defcustoms must come before the defcustom.
6898 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6899 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6900 (cal-tex-cursor-week-monday): Doc fixes.
6901 (cal-tex-cursor-week2-summary): Doc fix.
6902 Rename from cal-tex-cursor-week-at-a-glance.
6904 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6905 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6907 * calendar/calendar.el (calendar-mode-map):
6908 Add cal-tex-cursor-week2-summary.
6910 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6914 * subr.el (read-passwd-map): New var.
6915 (read-passwd): Use `read-string' again.
6916 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6918 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6920 * register.el (append-to-register, prepend-to-register):
6921 Deactivate mark, as does `copy-to-register' (bug#12389).
6923 2012-10-06 Chong Yidong <cyd@gnu.org>
6925 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6927 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6929 * international/characters.el: Fix simple mistake ((car chars) ->
6930 elt), delete duplicated code.
6932 2012-10-06 Glenn Morris <rgm@gnu.org>
6934 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6936 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6938 * color.el (color-hsl-to-rgb): Fix incorrect results for
6939 small and large hue values. (Bug#12559)
6941 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6943 Enhancements to docstring formatting when filling paragraphs.
6944 * progmodes/python.el (python-fill-docstring-style): Rename from
6945 python-fill-string-style. Added new style.
6946 (python-fill-string): Use new style. Better checks for
6949 2012-10-05 Glenn Morris <rgm@gnu.org>
6951 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6953 * color.el (color-name-to-rgb, color-rgb-to-hex)
6954 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6955 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6956 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6957 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6959 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6961 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6963 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6964 to get the correct size across symlinks.
6966 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6968 2012-10-04 Juri Linkov <juri@jurta.org>
6970 * replace.el (query-replace-interactive): Declare obsolete.
6971 (query-replace-read-from): Add the last incremental search string
6972 to the list of default values accessible via M-n.
6973 (map-query-replace-regexp): Use `read-regexp'.
6974 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6975 (map-query-replace-regexp, replace-string, replace-regexp):
6976 Fix docstrings to replace mentions of `query-replace-interactive'
6977 with alternatives. (Bug#12526)
6979 2012-10-04 Juri Linkov <juri@jurta.org>
6981 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6982 (dired-pop-to-buffer): Declare obsolete.
6983 (dired-mark-pop-up): Doc fix.
6985 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6987 Allow user to set docstring style for fill-paragraph.
6988 * progmodes/python.el
6989 (python-fill-comment-function, python-fill-string-function)
6990 (python-fill-decorator-function, python-fill-paren-function):
6991 Remove :safe for defcustoms.
6992 (python-fill-string-style): New defcustom
6993 (python-fill-paragraph-function): Enhance context detection.
6994 (python-fill-string): Honor python-fill-string-style settings.
6996 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6998 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6999 after setting its buffer (Bug#10805).
7001 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7003 Fix cornercase for string syntax.
7004 * progmodes/python.el (python-syntax-propertize-function):
7005 Simplify and enhance the regexp for unescaped quotes. Now it also
7006 matches quotes in weird situations like the single quote in
7008 (python-syntax-stringify): Simplify num-quotes detecting code.
7010 2012-10-03 Glenn Morris <rgm@gnu.org>
7012 * help-macro.el (three-step-help):
7013 Revert 2012-09-29 change. (Bug#12567)
7015 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7017 * menu-bar.el (kill-this-buffer): Don't do anything when
7018 `menu-frame' is not alive or visible (Bug#8184).
7020 * emacs-lisp/debug.el (debug): When quitting the debugger window
7021 restore current buffer (Bug#12502).
7023 2012-10-02 Chong Yidong <cyd@gnu.org>
7025 * progmodes/hideif.el (hif-lookup, hif-defined):
7026 Handle semantic-c-takeover-hideif.
7028 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7030 Change sampling interval units from ms to ns.
7031 * profiler.el (profiler-sampling-interval): Change units
7032 from ms to ns, multiplying the default by 1000000 so that
7034 (profiler-report-cpu-line-format): Give enough room for
7035 the maximum counters on 64-bit hosts.
7036 (profiler-report-render-calltree-1): Call them "CPU samples",
7037 not "Time (ms)", since they are not milliseconds now (and
7040 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7042 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7043 Fix querying BBDB for entries without a last name (Bug#11580).
7045 2012-10-02 Chong Yidong <cyd@gnu.org>
7047 * emacs-lisp/eieio.el: Restore Version header.
7049 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7051 * vc/diff-mode.el (diff--auto-refine-data): New var.
7052 (diff-hunk): Use it to delay refinement.
7053 (diff-mode): Remove overlays when we turn off font-lock.
7055 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7056 (table-initialize-table-fixed-width-mode)
7057 (table-set-table-fixed-width-mode): Remove functions.
7058 (table-command-list): Move initialization into declaration.
7059 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7060 (table-with-cache-buffer): Use `declare'.
7061 (table-span-cell): Simplify via CSE.
7062 (table-fixed-width-mode): Use define-minor-mode.
7063 (table-call-interactively, table-funcall, table-apply): Remove.
7064 (table-function): New function, to replace them.
7066 * bookmark.el (bookmark-search-pattern): Remove var.
7067 (bookmark-read-search-input): Remove function.
7068 (bookmark-bmenu-search): Reimplement using a minibuffer.
7070 * faces.el (modeline): Remove obsolete face name.
7072 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7073 and give a non-nil default value.
7074 (add-change-log-entry): Simplify accordingly.
7076 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7078 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7079 (vc-git-log-edit-toggle-amend): New function.
7080 (vc-git-log-edit-toggle-signoff): New function.
7081 (vc-git-log-edit-mode): New major mode.
7082 (vc-git-log-edit-mode-map): Keymap for it.
7083 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7085 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7087 (log-edit-toggle-header): New function.
7088 (log-edit-extract-headers): Accept function values in HEADERS alist.
7090 2012-10-01 David Engster <deng@randomsample.de>
7092 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7093 from symbol property and change message to be more consistent with
7095 (eieio-describe-generic): Add filename for each implementation.
7096 Fix indices for generic and normal methods.
7097 (eieio-method-def, eieio-class-def): New buttons.
7098 (eieio-help-find-method-definition)
7099 (eieio-help-find-class-definition): New functions.
7100 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7101 class, constructor and method definitions.
7103 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7104 information in symbol property.
7105 (scoped-class): Remove.
7106 (eieio-slot-name-index, call-next-method): Check if it is bound.
7108 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7110 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7111 (eieio-custom-mode): New major mode.
7112 (eieio-customize-object): Use it.
7114 2012-10-01 Eric Ludlam <zappo@gnu.org>
7116 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7117 specifying the expected class, and whether subclassing is allowed.
7118 (eieio-persistent-convert-list-to-object):
7119 (eieio-persistent-validate/fix-slot-value)
7120 (eieio-persistent-slot-type-is-class-p): New functions.
7121 (eieio-named::slot-missing): Doc fix.
7123 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7124 Stop using unused publd variable.
7126 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7127 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7128 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7129 (eieio-speedbar-handle-click): Do not specify a class for the
7130 method. Fixes method invocation order problems with EDE.
7132 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7134 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7135 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7137 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7139 * bookmark.el (bookmark-version-control): Give tags in the
7140 :type choices (Bug#12309), and improve doc string.
7141 (bookmark-write-file): Bind `print-circle' to `t' to allow
7142 circular custom bookmark types. (Bug#12503)
7144 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7146 Revert the FOLLOW-SYMLINKS change for file-attributes.
7147 * files.el (remote-file-name-inhibit-cache, after-find-file):
7148 * time.el (display-time-file-nonempty-p): Undo last change.
7150 * profiler.el (profiler-sampling-interval): Change default back to 1.
7151 See Stefan Monnier in
7152 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7154 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7156 Shell output catching a la gud-gdb.
7157 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7158 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7160 (python-shell-fetch-lines-filter): New function.
7161 (python-shell-send-string-no-output): Use them.
7163 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7165 * profiler.el (profiler-sampling-interval): Rename from
7166 profiler-sample-interval.
7167 (profiler-sampling-interval): Default to 10.
7168 (profiler-find-profile): New command (was profiler-find-log).
7169 (profiler-find-profile-other-window): New command.
7170 (profiler-find-profile-other-frame): New command.
7171 (profiler-profile): Introduce API-level data structure.
7173 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7175 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7176 * files.el (remote-file-name-inhibit-cache):
7177 * time.el (display-time-file-nonempty-p): Use it.
7178 * files.el (after-find-file): Don't chase links before calling
7179 file-exists-p, as file-exists-p already does the right thing.
7181 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7183 Merge from standalone RefTeX repository.
7185 The following ChangeLog entries are shortened versions of the
7186 original ones with file paths adapted. A not so strongly edited
7187 version of the original ChangeLog can be found in the commit log.
7189 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7190 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7191 Correctly handle new value type returned by `reftex-citation'.
7193 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7194 that entries with whitespace at various places are found.
7195 Doc fix. Include entries that are cross-referenced from cited entries.
7196 Include @String definitions in the resulting bib file. Add header
7197 and footer defined in `reftex-create-bibtex-header' and
7198 `reftex-create-bibtex-footer'.
7199 (reftex-do-citation): Make it possible again to insert
7200 non-existent entries. Save match data when asking for optional
7201 arguments. Return all keys, not just the first one.
7202 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7203 all citations in the same line.
7204 (reftex-parse-bibtex-entry): Accept additional optional argument
7205 `raw' and keep quotes or braces if it is non-nil. Match fields
7206 containing hyphens besides word constituents.
7207 (reftex-get-string-refs): New function.
7208 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7209 and ask if it should be reread in case it did.
7210 (reftex-pop-to-bibtex-entry)
7211 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7212 entries with spaces or tabs in front of arguments.
7213 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7214 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7215 Match entries containing numbers and symbol constituents.
7216 (reftex-do-citation, reftex-figure-out-cite-format):
7217 Use `reftex-cite-key-separator'.
7219 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7220 (reftex-mouse-view-crossref): Explain why point is set.
7222 * textmodes/reftex-global.el: Whitespace changes.
7224 * textmodes/reftex-index.el: Move provide statement to end of
7226 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7227 (reftex-index-visit-phrases-buffer): Set marker when visiting
7228 buffer. This allows for returning from the phrases file to the
7229 file one was just editing instead of the file where the last
7230 phrases was added from.
7231 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7232 punctuation syntax as it usually is not used as string quote in
7233 TeX-related modes and may occur unmatched. The change also
7234 prevents fontification of quoted content.
7235 (reftex-index-phrases-mode): Use it.
7237 * textmodes/reftex-parse.el (reftex-parse-from-file):
7238 Move backward one char if a `\' was matched after a section macro.
7239 (reftex-parse-from-file): Use beginning of match instead of end as
7242 * textmodes/reftex-ref.el: Adapt creation of
7243 `reftex-<package>-<macro>' functions to new structure of
7244 `reftex-ref-style-alist'.
7245 (reftex-reference): Use `reftex-ref-style-list' function.
7246 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7247 reference macro if `reftex-ref-macro-prompt' is non-nil.
7248 (reftex-reference): Pass refstyle to `reftex-format-special'.
7249 Determine reference macro by looking at
7250 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7251 Use only one special format function.
7252 (reftex-varioref-vref, reftex-fancyref-fref)
7253 (reftex-fancyref-Fref): Remove definitions. The functions are now
7254 generated from `reftex-ref-style-alist'.
7255 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7257 (reftex-format-special): New function.
7259 * textmodes/reftex-sel.el
7260 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7261 of `reftex-ref-style-alist'. Remove code for testing macro type.
7262 (reftex-select-toggle-varioref)
7263 (reftex-select-toggle-fancyref): Remove.
7264 (reftex-select-cycle-ref-style-internal)
7265 (reftex-select-cycle-ref-style-forward)
7266 (reftex-select-cycle-ref-style-backward): New functions.
7267 (reftex-select-label-map): Use `v' and `V' for general cycling
7268 through reference styles. Add `p' for switching between number
7269 and page reference types.
7271 * textmodes/reftex-toc.el (reftex-re-enlarge):
7272 Call `enlarge-window' only if there is something to do because in Emacs
7273 the horizontal version throws an error even if the parameter is 0.
7275 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7276 (reftex-plug-into-AUCTeX): Doc fix.
7277 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7278 string. Adapt to new name.
7279 (reftex-ref-style-alist): Change structure so that it is not
7280 possible to use multiple different package names within a style.
7281 Remove the symbols for symbols for macro type distinction.
7282 Add characters for macro selection.
7283 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7284 (reftex-create-bibtex-footer): New variables.
7285 (reftex-format-ref-function): Mention third argument of special
7287 (reftex-ref-style-alist, reftex-ref-style-default-list):
7289 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7290 to new implementation. Mark as obsolete. Add compatibility code
7291 for honoring the variable values in case they are set.
7292 (reftex-cite-format-builtin, reftex-bibliography-commands):
7293 Add support for ConTeXt.
7294 (reftex-format-ref-function, reftex-format-cite-function):
7296 (reftex-cite-key-separator): New variable.
7298 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7299 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7300 `reftex-syntax-table' because parens have to retain their paren
7301 syntax in order for parsing of BibTeX entries like @book(...) to
7303 (reftex-in-comment): Do not error out if `comment-start-skip' is
7304 not set. Deal correctly with escaped comment characters.
7305 (reftex-tie-multifile-symbols): Add doc string.
7306 Initialize `reftex-ref-style-list'.
7307 (reftex-untie-multifile-symbols): Add doc string.
7308 (reftex-add-index-macros): Doc fix.
7309 (reftex-ref-style-activate, reftex-ref-style-toggle)
7310 (reftex-ref-style-list): New functions.
7311 (reftex-mode-menu): Use them. Adapt to new structure of
7312 `reftex-ref-style-alist'.
7313 (reftex-select-with-char): Kill the RefTeX Select buffer when
7315 (reftex-remove-if): New function.
7316 (reftex-erase-all-selection-and-index-buffers)
7317 (reftex-mode-menu): Reference styles are now computed from
7318 `reftex-ref-style-alist'. Fix typo.
7319 (reftex-report-bug): New function.
7320 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7321 algorithms with O(n log n). Introduce optional argument SORT (not
7324 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7326 Enhancements for triple-quote string syntax.
7327 * progmodes/python.el (python-syntax-propertize-function):
7328 Match both quote cases in one regexp.
7329 (python-syntax-stringify): Handle matches properly.
7331 2012-09-30 Juri Linkov <juri@jurta.org>
7333 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7334 to nil around the call to `insert' to prevent
7335 directory time modification by lock_file. (Bug#2295)
7336 * tar-mode.el (tar-summarize-buffer): Idem.
7338 2012-09-30 Juri Linkov <juri@jurta.org>
7340 * facemenu.el (list-colors-sort): Add option "Luminance".
7341 (list-colors-sort-key): Implement it.
7343 * vc/diff-mode.el (diff-refine-removed):
7344 * vc/ediff-init.el (ediff-fine-diff-A):
7345 * vc/smerge-mode.el (smerge-refined-removed):
7346 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7348 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7350 * term/ns-win.el (x-file-dialog): New function.
7352 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7354 * ido.el (ido-max-directory-size): Default to nil; the current
7355 default is small for POSIX systems, and impractical on Windows 7
7356 now that lstat returns directory sizes for NTFS.
7358 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7360 In buffer display functions handle window-height/window-width
7361 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7362 * window.el (window--display-buffer): New argument ALIST.
7363 Obey window-height and window-width alist entries.
7364 (window--try-to-split-window): New argument ALIST.
7365 Bind window-combination-limit to t when the window's size shall be
7366 changed and window-combination-limit equals `window-size'.
7367 (display-buffer-in-atom-window)
7368 (display-buffer-in-major-side-window)
7369 (display-buffer-in-side-window, display-buffer-same-window)
7370 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7371 (display-buffer-pop-up-window, display-buffer-below-selected)
7372 (display-buffer-at-bottom, display-buffer-in-previous-window)
7373 (display-buffer-use-some-window): Adjust all callers of
7374 window--display-buffer and window--try-to-split-window.
7375 (fit-frame-to-buffer): New option.
7376 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7378 (display-buffer-in-major-side-window): Evaluate window-height /
7379 window-width alist entries.
7381 * help.el (temp-buffer-resize-frames)
7382 (temp-buffer-resize-regexps): Remove options.
7383 (temp-buffer-resize-mode): Adjust doc-string.
7384 (resize-temp-buffer-window): Don't consult
7385 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7386 temp-buffer-resize-frames.
7388 * dired.el (dired-mark-pop-up):
7389 Call display-buffer-below-selected with a fit-window-to-buffer alist
7392 2012-09-30 Chong Yidong <cyd@gnu.org>
7394 * server.el (server-host): Document the security implications.
7395 (server-auth-key): Doc fix.
7397 * startup.el (initial-buffer-choice): Doc fix.
7399 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7401 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7404 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7406 * help-fns.el (help-fns--obsolete): Fix last change.
7408 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7411 (minor-mode-map-alist): Remove redundant code.
7413 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7414 visited in a buffer.
7415 (cvs-insert-visited-file): New function.
7416 (find-file-hook): Use it.
7418 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7420 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7422 (log-edit-empty-buffer-p): Don't require a space after a header.
7424 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7426 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7428 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7429 a proper minor-mode.
7431 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7433 2012-09-29 Glenn Morris <rgm@gnu.org>
7435 * winner.el (winner-mode): Remove variable (let define-minor-mode
7437 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7439 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7440 (winner-mode): Use define-minor-mode.
7442 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7443 the full definition in loaddefs, rather than duplicating it.
7445 * help-macro.el (three-step-help): No need to autoload defcustom.
7447 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7448 (inferior-lisp-program, inferior-lisp-load-command)
7449 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7450 No need to autoload defcustoms.
7452 * hippie-exp.el (hippie-expand-try-functions-list)
7453 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7454 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7455 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7456 (hippie-expand-only-buffers): No need to autoload defcustoms.
7457 * progmodes/vhdl-mode.el (vhdl-line-expand):
7458 Explicitly load hippie-exp, so it does not get autoloaded
7459 while hippie-expand-try-functions-list is let-bound.
7461 2012-09-28 Glenn Morris <rgm@gnu.org>
7463 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7465 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7466 Only "cl.el" counts as cl these days.
7468 2012-09-28 Juri Linkov <juri@jurta.org>
7470 Display archive errors in the echo area instead of inserting
7473 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7474 to STDERR-TEST that can be a regexp matching a successful output.
7475 Create a temporary file and redirect stderr to it. Search for
7476 STDERR-TEST in the stderr output and display it in the echo area
7477 if no match is found.
7478 (archive-extract-by-file): New function like
7479 `archive-extract-by-stdout' but extracting archives to files
7480 and looking for successful matches in stdout. Function body is
7481 mostly copied from `archive-rar-extract'.
7482 (archive-rar-extract): Use `archive-extract-by-file'.
7483 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7485 2012-09-28 Leo Liu <sdl.web@gmail.com>
7487 * pcomplete.el (pcomplete-show-completions):
7488 Use minibuffer-message to make pcomplete usable in minibuffer.
7490 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7492 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7494 * type-break.el: Use lexical-binding.
7495 (type-break-mode): Use define-minor-mode.
7497 * emacs-lisp/pcase.el (pcase--mark-used): New.
7498 (pcase--u1): Use it (bug#12512).
7500 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7501 in load-history with the right file name.
7503 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7505 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7506 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7507 (doc-view-get-bounding-box): Make bounding box slicing work for
7508 ODF and DVI documents.
7510 2012-09-28 Glenn Morris <rgm@gnu.org>
7512 * type-break.el (type-break-mode, type-break-interval)
7513 (type-break-good-rest-interval, type-break-keystroke-threshold):
7514 No need to autoload.
7515 (type-break-good-rest-interval, type-break-keystroke-threshold):
7518 2012-09-28 Chong Yidong <cyd@gnu.org>
7520 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7523 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7527 2012-09-27 Glenn Morris <rgm@gnu.org>
7529 * faces.el (x-display-name): Declare (for without-x builds).
7531 * linum.el (linum-format): Don't autoload it. Improve :type.
7533 * progmodes/tcl.el: Don't require outline when compiling.
7534 (outline-regexp, outline-level): Declare.
7535 * textmodes/sgml-mode.el: Don't require outline when compiling.
7536 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7538 * term.el (term-ansi-reset):
7539 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7541 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7542 files for RCS and SCCS. (Bug#9781)
7544 2012-09-27 Chong Yidong <cyd@gnu.org>
7546 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7547 change; value should be t.
7549 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * image-mode.el: Use lexical-binding.
7552 (image-mode-winprops): Use t to stand for the window of
7553 a buffer that's not displayed.
7554 * doc-view.el (doc-view-new-window-function): Handle the new
7556 (doc-view-enlarge): Make it a real nop if the size is not changed.
7557 (doc-view-display): Handle the case where the buffer is not (yet?)
7558 displayed in any window.
7559 (doc-view-saved-settings): New var.
7560 (doc-view-mode): Use it.
7561 (doc-view-fallback-mode): Set it.
7563 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7564 Set lexical-binding.
7565 (minibuffer-eldef-shorten-default): New var.
7566 (minibuffer-default-in-prompt-regexps): Use it for new default.
7567 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7569 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7571 * international/uni-bidi.el:
7572 * international/uni-category.el:
7573 * international/uni-name.el:
7574 * international/uni-numeric.el: Regenerate.
7576 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7577 Stefan Monnier <monnier@iro.umontreal.ca>
7579 * profiler.el: New file.
7581 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7583 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7584 (testcover-reinstrument): Simplify with CSE.
7586 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7588 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7590 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7592 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7593 (verilog-auto-input, verilog-auto-insert-lisp)
7594 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7595 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7596 (verilog-auto-unused, verilog-auto-wire)
7597 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7598 newline. Reported by Andrew Jones.
7599 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7600 Reported by Brad Dobbie.
7601 (verilog-batch-delete-trailing-whitespace):
7602 Create verilog-batch-delete-trailing-whitespace.
7603 Reported by Brad Dobbie.
7604 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7605 parameters from another module. Reported by Dan Katz.
7606 (verilog-auto, verilog-auto-assign-modport)
7607 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7608 AUTOINOUTMODPORT for UVM interface module shell generation.
7609 Reported by Brad Dobbie.
7610 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7612 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7613 Reported by Matt Martin.
7615 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7617 * window.el (window--resize-child-windows): When resizing child
7618 windows proportionally, process them in reverse order to
7619 preserve the "when splitting a window the new one gets the odd
7621 (window--resize-root-window-vertically): When resizing the
7622 minibuffer window try to affect only windows at the bottom of the
7625 2012-09-25 Chong Yidong <cyd@gnu.org>
7627 * subr.el (declare): Doc fix.
7629 * help-fns.el (help-fns--obsolete): Handle macros properly.
7631 2012-09-25 Chong Yidong <cyd@gnu.org>
7633 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7634 this function obsolete.
7636 * calendar/cal-x.el (calendar-two-frame-setup)
7637 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7638 * calendar/calendar.el (american-calendar, european-calendar)
7639 (calendar-for-loop):
7640 * comint.el (comint-dynamic-simple-complete)
7641 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7642 * desktop.el (desktop-load-default):
7643 * dired-x.el (dired-omit-here-always)
7644 (dired-hack-local-variables, dired-default-directory):
7645 * emacs-lisp/derived.el (derived-mode-class):
7646 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7647 * emacs-lock.el (toggle-emacs-lock):
7648 * epa.el (epa-display-verify-result):
7649 * epg.el (epg-sign-keys, epg-start-sign-keys)
7650 (epg-passphrase-callback-function):
7651 * eshell/esh-util.el (eshell-for):
7652 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7653 (eshell-add-to-window-buffer-names):
7654 * files.el (locate-file-completion):
7655 * imenu.el (imenu-example--create-c-index)
7656 (imenu-example--create-lisp-index)
7657 (imenu-example--lisp-extract-index-name)
7658 (imenu-example--name-and-position):
7659 * international/mule-cmds.el (princ-list):
7660 * international/mule-diag.el (decode-codepage-char):
7661 * international/mule-util.el (detect-coding-with-priority):
7662 * iswitchb.el (iswitchb-read-buffer):
7663 * mail/mailalias.el (mail-complete):
7664 * mail/sendmail.el (mail-sent-via):
7665 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7666 (mouse-major-mode-menu):
7667 * password-cache.el (password-read-and-add):
7668 * pcomplete.el (pcomplete-parse-comint-arguments):
7669 * progmodes/sh-script.el (sh-maybe-here-document):
7670 * replace.el (query-replace-regexp-eval):
7671 * savehist.el (savehist-load):
7672 * simple.el (choose-completion-delete-max-match):
7673 * term.el (term-dynamic-simple-complete):
7674 * vc/ediff-init.el (ediff-check-version):
7675 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7676 * vc/vc.el (vc-diff-switches-list):
7677 * view.el (view-return-to-alist-update): Likewise.
7679 * subr.el (eval-next-after-load, makehash, insert-string)
7680 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7682 (mode-line-inverse-video): Variable deleted.
7684 * international/mule-util.el (string-to-sequence): Remove.
7686 * calendar/calendar.el (calendar-version):
7687 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7688 (icalendar-convert-diary-to-ical):
7689 * cus-edit.el (custom-mode):
7690 * ansi-color.el (ansi-color-unfontify-region):
7691 * international/latin1-disp.el (latin1-char-displayable-p):
7692 * progmodes/cwarn.el (turn-on-cwarn-mode):
7693 * progmodes/which-func.el (which-func-update-1):
7694 Use define-obsolete-function-alias.
7696 * net/newst-backend.el (newsticker-cache-filename):
7697 * net/newst-treeview.el (newsticker-groups-filename):
7698 Fix incorrect obsolescence declaration.
7700 * allout.el (allout-passphrase-hint-string): Likewise.
7701 (allout-init): Use a declare form to mark obsolete.
7703 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7704 this applies to functions.
7706 * iswitchb.el (iswitchb-read-buffer): Move code of
7707 iswitchb-define-mode-map here, and delete that obsolete function.
7709 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7710 font-lock-reference-face.
7712 2012-09-25 Glenn Morris <rgm@gnu.org>
7714 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7717 * eshell/em-term.el (eshell-term-name):
7718 Default to term-term-name. (Bug#12485)
7720 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7722 * progmodes/python.el (python-shell-send-buffer): Better handling
7723 of "if __name__ == '__main__':" conditionals when sending the buffer.
7725 2012-09-24 Glenn Morris <rgm@gnu.org>
7727 * eshell/esh-cmd.el (eshell-find-alias-function):
7728 Tighten up file-name regexp. (Bug#12499)
7730 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7732 Enhancements for triple-quote string syntax.
7733 * progmodes/python.el (python-quote-syntax): Remove.
7734 (python-syntax-propertize-function): New value.
7735 (python-syntax-count-quotes, python-syntax-stringify):
7738 2012-09-24 Chong Yidong <cyd@gnu.org>
7740 * mail/supercite.el (sc-version): Remove obsolete function.
7741 (sc-describe): Don't mark as obsolete, since it is bound.
7742 (sc-submit-bug-report): Remove.
7744 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7745 (cvs-commit-buffer-require-final-newline): Remove.
7746 (log-edit-require-final-newline)
7747 (log-edit-changelog-full-paragraphs): Default to t.
7749 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7750 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7751 * vc/vc.el (vc-checkout-carefully): Likewise.
7753 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7754 (emerge-version): Remove.
7756 * progmodes/compile.el (compile-internal): Remove.
7757 (compilation-parse-errors-function): Fix typo.
7759 * international/mule.el (set-char-table-default): Remove.
7760 (set-coding-priority, make-coding-system, generic-char-p)
7761 (charset-list, charset-bytes, charset-id): Use declare to mark
7762 functions as obsolete.
7764 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7765 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7766 * vc/vc-hooks.el (vc-default-registered): Don't use
7767 vc-master-templates.
7769 * font-lock.el (font-lock-reference-face):
7770 Use define-obsolete-variable-alias.
7772 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7773 * calendar/calendar.el (calendar-font-lock-keywords):
7774 * calendar/diary-lib.el (diary-font-lock-keywords)
7775 (diary-fancy-font-lock-keywords):
7776 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7777 * textmodes/reftex-index.el (reftex-insert-index):
7778 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7779 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7780 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7781 * progmodes/prolog.el (prolog-font-lock-keywords):
7782 * progmodes/idlwave.el (idlwave-idl-keywords):
7783 * progmodes/ada-mode.el (ada-font-lock-keywords):
7784 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7786 2012-09-24 Glenn Morris <rgm@gnu.org>
7788 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7790 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7792 * progmodes/python.el (python-indent-line): More consistent cursor
7795 2012-09-23 Stefan Merten <smerten@oekonux.de>
7797 * textmodes/rst.el: Fix compiler warning.
7799 2012-09-23 Roland Winkler <winkler@gnu.org>
7801 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7802 Transcribe also LaTeX hyphenation.
7803 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7804 bibtex-reformat-previous-options.
7806 2012-09-23 Roland Winkler <winkler@gnu.org>
7808 * proced.el (proced-renice-command): New variable.
7809 (proced-marked-processes): New function.
7810 (proced-with-processes-buffer): New macro.
7811 (proced-send-signal): Use them.
7812 (proced-renice): New command bound to r.
7814 2012-09-23 Roland Winkler <winkler@gnu.org>
7816 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7817 ibuffer-saved-filter-groups has one element, shortcut the call of
7818 completing-read. (Bug#12331)
7820 2012-09-23 Chong Yidong <cyd@gnu.org>
7822 * bindings.el (mode-line-toggle-read-only):
7823 * bs.el (bs-toggle-readonly):
7824 * buff-menu.el (Buffer-menu-toggle-read-only):
7825 * dired.el (dired-toggle-read-only):
7826 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7828 2012-09-23 Chong Yidong <cyd@gnu.org>
7830 * image.el (image-type-available-p): Adapt to init-image-library
7833 2012-09-22 Juri Linkov <juri@jurta.org>
7835 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7836 `dired-toggle-read-only'. (Bug#12462)
7838 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7840 * subr.el (temp-output-buffer-show): New function.
7841 (with-output-to-temp-buffer): Call temp-output-buffer-show
7842 instead of internal-temp-output-buffer-show.
7844 2012-09-22 Chong Yidong <cyd@gnu.org>
7846 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7849 * repeat.el (repeat): Doc fix (Bug#12348).
7851 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7854 * simple.el (shell-command-on-region): Doc fix.
7855 (read-only-mode): Doc fix.
7857 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7859 * emacs-lisp/timer.el (run-with-idle-timer)
7860 (timer-activate-when-idle): Warn against reinvoking an idle timer
7861 from within its own timer action. (Bug#12447)
7863 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7865 * cus-start.el (window-combination-limit): Add new optional
7867 * window.el (temp-buffer-window-show)
7868 (window--try-to-split-window): Handle new values of
7869 window-combination-limit (Bug#1806).
7870 (split-window): Test window-combination-limit for t instead of
7872 (display-buffer-at-bottom): New buffer display action function.
7873 * help.el (temp-buffer-resize-regexps): New option.
7874 (temp-buffer-resize-mode): Rewrite doc-string.
7875 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7876 Don't resize reused window. Suggested by Glenn Morris.
7878 2012-09-22 Stefan Merten <smerten@oekonux.de>
7880 * textmodes/rst.el: Revamp section title faces.
7881 (rst-official-version)
7882 (rst-package-emacs-version-alist): Sync with official version
7884 (rst-faces-defaults, rst-set-level-default)
7885 (rst-level-face-max, rst-level-face-base-color)
7886 (rst-level-face-base-light, rst-level-face-format-light)
7887 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7888 (rst-adornment-faces-alist): Match new setup.
7889 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7890 (rst-level-5, rst-level-6): New faces.
7892 2012-09-22 Chong Yidong <cyd@gnu.org>
7894 * simple.el (undo): Handle indirect buffers (Bug#8207).
7896 2012-09-21 Leo Liu <sdl.web@gmail.com>
7898 IDO: Disable match re-ordering for buffer switching.
7899 * ido.el (ido-buffer-disable-smart-matches): New variable.
7900 (ido-set-matches-1): Use it. (Bug#2042)
7902 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7904 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7905 Fix 2011-05-17 change. (Bug#12418)
7907 2012-09-21 Leo Liu <sdl.web@gmail.com>
7909 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7911 2012-09-21 Glenn Morris <rgm@gnu.org>
7913 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7914 Be more robust about locating simple.el.
7916 2012-09-21 Glenn Morris <rgm@gnu.org>
7918 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7920 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7922 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7924 2012-09-20 Juri Linkov <juri@jurta.org>
7926 * replace.el (query-replace-read-from): Use `read-regexp' instead
7927 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7928 (occur-read-primary-args): Use `read-regexp' instead of
7930 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7931 `read-from-minibuffer'.
7932 * isearch.el (isearch-occur): Use `read-regexp' instead of
7934 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7935 `read-from-minibuffer'.
7936 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7937 of `read-string'. (Bug#7567)
7939 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7940 and allow accepting a list of strings prepended to a list of
7941 standard default values. Doc fix. (Bug#12321)
7943 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7945 * replace.el (read-regexp): Don't add ": " when PROMPT already
7946 ends with a colon and space. (Bug#12321)
7948 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7950 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7953 2012-09-20 Stefan Merten <smerten@oekonux.de>
7955 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7956 Fixes feature request bug#11711.
7957 (rst-mode): Create `imenu-create-index-function'.
7958 (rst-get-stripped-line): Delete after refactoring.
7959 (rst-section-tree, rst-section-tree-rec)
7960 (rst-section-tree-point): Refactor and document properly.
7961 (rst-imenu-find-adornments-for-position)
7962 (rst-imenu-convert-cell, rst-imenu-create-index):
7965 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7968 (macroexp--expand-all): Use it.
7969 (macroexp--funcall-and-return): Remove by folding it into its sole
7970 caller (macroexp--warn-and-return).
7971 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7972 Use macroexp--obsolete-warning.
7974 * calc/calc.el: Fix last change by removing the whole chunk, since it
7975 was only needed back when Calc was not bundled.
7977 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7979 * emacs-lisp/debug.el (debug): Restore assignment to
7980 debugger-old-buffer removed on 2012-09-08.
7982 2012-09-20 Juri Linkov <juri@jurta.org>
7984 * dired-aux.el (dired-diff): Remove (require 'diff) since
7985 `diff-latest-backup-file' is now autoloaded.
7987 2012-09-20 Chong Yidong <cyd@gnu.org>
7989 * vc/diff.el (diff-latest-backup-file): Autoload.
7991 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7993 * calc/calc.el: Remove redundant autoload shape check.
7994 (sel-mode): Don't defvar.
7995 (calc-get-stack-element): Add `sel-mode' arg instead.
7996 (calc-top, calc-top-list): Pass it this additional argument.
7997 * calc/calc-store.el (calc-store-map):
7998 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7999 (calc-map-equation, calc-outer-product, calc-inner-product):
8000 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8002 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8004 2012-09-19 Juri Linkov <juri@jurta.org>
8006 * dired-aux.el (dired-diff): Add (require 'diff) because
8007 `diff-latest-backup-file' is not autoloaded.
8008 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8009 of `dired-get-filename' to t to not report error when there is
8010 no default file on the current line.
8012 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8014 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8015 macroexp--eval-if-compile.
8016 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8017 (macroexp--expand-all): Use them (bug#12371).
8019 * doc-view.el (doc-view-guess-paper-size)
8020 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8022 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8024 New feature: set optimal slice from BoundingBox information.
8025 * doc-view.el (doc-view-mode-map): Add keybinding.
8026 (doc-view-menu): Add menu entry.
8027 (doc-view-set-slice): Adapt docstring.
8028 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8029 (doc-view-scale-bounding-box)
8030 (doc-view-set-slice-from-bounding-box): New functions.
8031 (doc-view-paper-sizes): New defvar.
8033 2012-09-19 Glenn Morris <rgm@gnu.org>
8035 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8036 (byte-compile-log-warning): Autoload. (Bug#12371)
8038 * calendar/calendar.el (calendar-american-month-header)
8039 (calendar-european-month-header, calendar-iso-month-header)
8040 (calendar-month-header): New options.
8041 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8042 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8044 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8046 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8048 2012-09-18 Juri Linkov <juri@jurta.org>
8050 * dired-aux.el (dired-diff): Restore original functionality of
8051 getting the default value, but keep new feature of using the
8052 latest existing backup file (`diff-latest-backup-file').
8054 2012-09-18 Juri Linkov <juri@jurta.org>
8056 * dired.el (dired-mark): If the region is active in Transient Mark
8057 mode, mark all files in the active region. Doc fix.
8058 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8059 Doc fix. (Bug#10624)
8061 2012-09-18 Juri Linkov <juri@jurta.org>
8063 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8064 attributes for M-n are pulled from the file at point.
8065 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8066 Suggested by Drew Adams. (Bug#10624)
8068 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8070 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8071 whitespace after "end".
8072 (ruby-do-end-to-brace): Collapse block to one line if it fits
8075 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8077 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8079 (debug): Don't remove debugger window when debugger is expected
8082 2012-09-18 Chong Yidong <cyd@gnu.org>
8084 * custom.el (defface): Doc fix.
8086 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8088 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8090 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8091 to initialize query-on-exit; then test that instead (bug#12288).
8093 2012-09-17 Stefan Merten <smerten@oekonux.de>
8095 * textmodes/rst.el: Add support for `testcover'.
8096 (rst-defcustom-testcover, rst-testcover-add-compose)
8097 (rst-testcover-add-1value): New functions.
8098 (rst-portable-mark-active-p): Replace by `use-region-p'.
8099 (rst-update-section, rst-classify-adornment)
8100 (rst-find-title-line): Mark `1value' forms.
8101 (rst-classify-adornment): Remove superfluous form.
8102 (rst-update-section, rst-get-adornments-around)
8103 (rst-adornment-complete-p, rst-get-next-adornment)
8104 (rst-adjust, rst-promote-region)
8105 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8106 (rst-find-pfx-in-region, rst-section-tree-rec)
8107 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8108 (rst-toc-node, rst-toc, rst-forward-section)
8109 (rst-iterate-leftmost-paragraphs)
8110 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8111 (rst-bullet-list-region)
8112 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8113 (rst-compile-find-conf, rst-compile)
8114 (rst-repeat-last-character): Fix style.
8116 2012-09-17 Chong Yidong <cyd@gnu.org>
8118 * comint.el (comint--complete-file-name-data): Don't add a space
8119 if the status is `sole'; that adds a gratuitous space in the
8120 completion-cycling case (Bug#12092).
8122 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8124 2012-09-17 Richard Stallman <rms@gnu.org>
8126 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8127 only in the mime-shown mode, not in raw mode.
8128 (rmail-mime): Toggle off mime by displaying the message without
8129 mime processing. (Bug#12305)
8131 * mail/rmail.el (rmail-retry-failure):
8132 Turn off mime processing first. (Bug#12037)
8134 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8136 2012-09-17 Chong Yidong <cyd@gnu.org>
8138 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8139 (shell-dynamic-complete-functions): Convert to defcustom.
8140 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8142 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8143 * comint.el (comint-prompt-read-only):
8144 * custom.el (defcustom):
8145 * hi-lock.el (hi-lock-mode):
8146 * ibuffer.el (ibuffer-formats):
8147 * ielm.el (ielm-prompt-read-only):
8148 * novice.el (disable-command):
8149 * saveplace.el (toggle-save-place):
8150 * speedbar.el (speedbar-supported-extension-expressions):
8151 * startup.el (auto-save-list-file-prefix, init-file-user)
8152 (after-init-hook, inhibit-startup-echo-area-message):
8153 * strokes.el (strokes-help):
8154 * time-stamp.el (time-stamp):
8155 * calendar/calendar.el (calendar, diary-file):
8156 * calendar/diary-lib.el (diary-mail-entries, diary)
8157 (diary-list-entries-hook):
8158 * calendar/holidays.el (holidays, calendar-holidays):
8159 * calendar/lunar.el (lunar-phases):
8160 * calendar/solar.el (sunrise-sunset):
8161 * emulation/edt.el (edt-load-keys):
8162 * emulation/viper.el (viper-mode):
8163 * eshell/em-alias.el (eshell-command-aliases-list):
8164 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8165 * international/ogonek.el (ogonek-information):
8166 * net/tramp-cmds.el (tramp-bug):
8167 * net/quickurl.el (quickurl-reread-hook-postfix):
8168 * play/decipher.el (decipher-font-lock-keywords):
8169 * progmodes/cc-styles.el (c-set-style):
8170 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8171 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8172 * progmodes/octave-mod.el (octave-mode):
8173 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8174 * progmodes/verilog-mode.el (verilog-read-defines):
8175 * textmodes/two-column.el (2C-mode): Likewise.
8177 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8179 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8180 that holds many addresses.
8182 2012-09-16 Chong Yidong <cyd@gnu.org>
8184 * align.el (align-areas): Call the indication function with
8185 positions instead of markers for arguments (Bug#12343).
8187 * files.el (parse-colon-path): Use split-string (Bug#12351).
8189 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8190 (display-buffer-function): Mark as obsolete.
8192 * progmodes/compile.el (compilation-parse-errors): Accept list
8193 values similar to font-lock-keywords (Bug#12136).
8194 Suggested by Oleksandr Manzyuk.
8195 (compilation-error-regexp-alist): Doc fix.
8197 2012-09-15 Glenn Morris <rgm@gnu.org>
8199 * version.el (emacs-bzr-version-bzr): New function.
8200 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8202 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8203 checkouts, check the parent dirstate matches the branch.
8204 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8207 * version.el (emacs-bzr-version): Doc fix.
8208 (emacs-bzr-version-dirstate): New function.
8209 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8210 is local try and check that it matches the branch. If not, just
8211 use dirstate information. (Bug#12441)
8213 2012-09-14 Juri Linkov <juri@jurta.org>
8215 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8218 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8222 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8223 Remove obsolete byte-compiler hack that tried to silence some warnings.
8224 (edebug-submit-bug-report): Remove.
8225 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8226 Remove aliases, use the un-prefixed name instead.
8227 (edebug-pop-to-buffer): Consider other frames.
8228 (edebug-original-read):: Make it more obvious that it's always defined.
8229 (edebug--make-form-data-entry, edebug--form-data-name)
8230 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8231 single-dashed name, and implement with cl-defstruct.
8232 (edebug-set-form-data-entry): Use the standard accessors.
8233 (edebug-make-top-form-data-entry): Use push.
8234 (edebug-no-match): Drop useless `funcall'.
8235 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8237 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8238 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8239 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8240 (easy-menu-define, with-custom-print): Remove redundant specs.
8241 (edebug-outside-overriding-local-map)
8242 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8243 (edebug--display): Bind unread-command-events directly to nil rather
8244 than binding it to unread-command-events and later setting it to nil.
8245 (edebug--display): Kill edebug-eval-buffer here...
8246 (edebug--recursive-edit): ...rather than here.
8247 Bind standard-output and standard-input.
8248 (edebug-eval): Check cl-macroexpand-all is fboundp.
8249 (edebug-temp-display-freq-count): Fix last change.
8251 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8252 * subr.el (noreturn, 1value): Add `debug' spec.
8253 * emacs-lisp/advice.el: Require cl-lib.
8254 (ad-copy-tree): Remove, use copy-tree instead.
8255 (ad-dolist): Remove use dolist or cl-dolist instead.
8256 (ad-do-return): Remove, use cl-return instead.
8257 (defadvice): Add `debug' spec.
8259 2012-09-13 Juri Linkov <juri@jurta.org>
8261 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8264 2012-09-13 Glenn Morris <rgm@gnu.org>
8266 * calc/calc.el (math-compose-expr):
8267 * calc/calc-ext.el (math-compose-expr):
8268 * progmodes/cc-defs.el (cl-macroexpand-all):
8269 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8270 (cl-macroexpand-all): Update declarations.
8272 * vc/vc.el: No need to require ediff.
8273 (ediff-load-version-control): Declare.
8274 (ediff-vc-internal): Fix declaration.
8275 (vc-version-ediff): Require ediff.
8277 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8279 Use a more backwards-compatible timer format (Bug#12430).
8280 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8281 being right after USECS, as that better supports old code that
8282 inadvisedly looked directly at the timer vector.
8284 2012-09-13 Kenichi Handa <handa@gnu.org>
8286 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8287 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8288 `coding-priority' property of these language environment.
8290 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8292 Fix glitches caused by addition of psec to timers (Bug#12430).
8293 * image.el (image-animate-timer):
8294 * time.el (display-time-world-timer):
8295 Use timer--function and timer--args rather than raw access to
8298 2012-09-13 Glenn Morris <rgm@gnu.org>
8300 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8301 If not compiling a file, try using load-file-name.
8303 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8305 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8307 (edebug-update-eval-list): Use `push'.
8309 * emacs-lisp/edebug.el: Use lexical-binding.
8310 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8311 Mark unused args with underscore.
8312 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8313 (edebug-form-data): Use defvar-local.
8314 (edebug-make-before-and-after-form, edebug-make-after-form):
8316 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8317 Not dynamically scoped any more.
8318 (edebug--enter-trace): Add arguments `function' and `args'.
8319 Rename from edebug-enter-trace.
8320 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8321 (edebug--update-coverage): Add `after-index' and `value' args.
8322 Rename from edebug-update-coverage.
8323 (edebug-slow-after): Call it accordingly.
8324 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8325 edebug-recursive-edit.
8326 (edebug--display): Call it accordingly. Add args `value',
8327 `offset-index', and `arg-mode'. Rename from edebug-display.
8328 (edebug-debugger, edebug): Call it accordingly.
8329 (edebug-eval-display-list): Use dolist.
8331 2012-09-12 Juri Linkov <juri@jurta.org>
8333 * info.el (Info-search): Don't check for isearch-mode and
8334 isearch-regexp before let-binding search-spaces-regexp to
8335 Info-search-whitespace-regexp.
8336 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8337 search-whitespace-regexp if isearch-lax-whitespace or
8338 isearch-regexp-lax-whitespace is non-nil.
8339 (Info-mode): Don't set local variable search-whitespace-regexp.
8340 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8342 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8345 (debugger-env-macro): Remove support for unread-command-char.
8347 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8348 the temporary map re-appearing on emulation-mode-map-alists.
8350 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8353 * ehelp.el (with-electric-help): Accept functions in
8354 electric-help-form-to-execute.
8355 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8356 And replace unread-command-char -> unread-command-events.
8358 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8360 Sync with Tramp 2.2.6.
8362 * net/tramp.el (tramp-accept-process-output): Don't use
8363 JUST-THIS-ONE in the XEmacs case.
8365 * net/trampver.el: Update release number.
8367 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8369 * emacs-lisp/debug.el (debugger-previous-window-height):
8371 (debug): When debugger-jumping-flag is non-nil try to restore
8372 height of debugger window. (Bug#8789)
8374 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8376 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8377 overriding-local-map and pre/post-command-hook here.
8378 (edebug-recursive-edit): Do it here instead (bug#12345).
8379 (edebug-outside-unread-command-char): Remove all uses of
8380 unread-command-char.
8382 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8383 inhibit-debugger is bound instead.
8385 2012-09-11 Bastien Guerry <bzg@gnu.org>
8387 * subr.el (set-temporary-overlay-map): Add a docstring.
8390 2012-09-11 Bastien Guerry <bzg@gnu.org>
8392 * minibuffer.el (completion-table-subvert): Fix docstring.
8395 2012-09-11 Bastien Guerry <bzg@gnu.org>
8397 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8399 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8401 * progmodes/sql.el: Version 3.1
8402 (sql-db2-escape-newlines): New variable.
8403 (sql-escape-newlines-filter): Use it.
8405 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8407 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8409 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8411 * vc/diff-mode.el (diff-mode-menu):
8412 Bind diff-remove-trailing-whitespace.
8414 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8416 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8417 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8418 (emacs-lisp-byte-code-mode): New functions.
8419 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8420 (eval-defun-2): Remove bogus interactive spec.
8421 (lisp-indent-line): Remove redundant whole-exp code, now done in
8422 indent-according-to-mode.
8423 (save-match-data): Remove redundant indent data.
8425 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8428 2012-09-09 Juri Linkov <juri@jurta.org>
8430 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8431 (replace-lax-whitespace, query-replace-regexp)
8432 (query-replace-regexp-eval, replace-regexp): Doc fix.
8433 (perform-replace, replace-highlight): Let-bind
8434 isearch-lax-whitespace to replace-lax-whitespace and
8435 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8437 * isearch.el (isearch-query-replace): Let-bind
8438 replace-lax-whitespace to isearch-lax-whitespace and
8439 replace-regexp-lax-whitespace to
8440 isearch-regexp-lax-whitespace. (Bug#10885)
8442 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8446 2012-09-09 Alan Mackenzie <acm@muc.de>
8448 * progmodes/cc-engine.el (c-state-cache-init):
8449 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8450 (c-record-parse-state-state):
8451 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8453 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8455 * register.el (register-separator): Rename from
8456 separator-register. All uses changed. Doc fix.
8457 (register): Fix version.
8459 2012-09-09 Chong Yidong <cyd@gnu.org>
8461 * replace.el (query-replace-map): Bind four new symbols for
8462 requesting window scrolling.
8464 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8465 query-replace-map (Bug#8948).
8467 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8469 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8470 since they are now in query-replace-map.
8472 * window.el (scroll-other-window-down): Make the arg optional.
8474 2012-09-09 Chong Yidong <cyd@gnu.org>
8476 * files.el (hack-local-variables-confirm): Use quit-window to kill
8477 the *Local Variables* buffer.
8479 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8481 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8482 not just expect to be at its beginning. Adjust callees.
8483 Succeed when do-end block has no space before the pipe character.
8484 (ruby-brace-to-do-end): When the original block is one-liner,
8485 convert to multiline. Reindent the result.
8487 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8489 * register.el (register): New group.
8490 (separator-register): New user option.
8491 (increment-register): Route it to `append-to-register', if
8492 register contains text. Implication is that `C-x r +' can now be
8493 used for appending to a text register (bug#12217).
8494 (append-to-register, prepend-to-register): Add separator based on
8495 `separator-register'.
8497 2012-09-08 Alan Mackenzie <acm@muc.de>
8499 AWK Mode: make auto-newline work when there's "==" in the pattern.
8500 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8502 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8503 Test more rigorously for "=" token.
8505 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8507 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8508 Only fail when reached LIMIT.
8510 2012-09-08 Chong Yidong <cyd@gnu.org>
8512 * dired.el (dired-mode-map): Don't bind M-=.
8514 * dired-aux.el (dired-diff): Use backup file as default.
8516 2012-09-08 Drew Adams <drew.adams@oracle.com>
8518 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8520 2012-09-08 Chong Yidong <cyd@gnu.org>
8522 * subr.el (syntax-after, syntax-class): Doc fix.
8524 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8526 * window.el (display-buffer-in-previous-window): New buffer
8527 display action function.
8529 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8530 (debugger-previous-window): New variable.
8531 (debug): Rewrite using display-buffer-in-previous-window,
8532 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8534 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8538 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8540 * progmodes/python.el (python-shell-send-string):
8541 When default-directory is remote, create temp file on remote
8543 (python-shell-send-file): When file is remote, pass local view of
8544 file paths to remote Python interpreter. (Bug#12340)
8546 2012-09-07 Chong Yidong <cyd@gnu.org>
8548 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8550 * files.el (after-find-file): Don't fail on a read-only buffer if
8551 require-final-newline is `visit' or `visit-save' (Bug#11156).
8553 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8555 * userlock.el (ask-user-about-supersession-threat):
8556 Use read-char-choice (Bug#12093).
8558 2012-09-07 Chong Yidong <cyd@gnu.org>
8560 * subr.el (buffer-narrowed-p): New function.
8562 * ses.el (ses-widen):
8563 * simple.el (count-words--buffer-message):
8564 * net/browse-url.el (browse-url-of-buffer): Use it.
8566 * simple.el (count-words-region): Don't signal an error if there
8567 is a non-nil prefix arg and the mark is not set.
8569 * help.el (describe-key-briefly): Allow the message to be seen
8570 when invoked from the minibuffer (Bug#7014).
8572 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8574 * progmodes/ruby-mode.el (ruby-end-of-defun)
8575 (ruby-beginning-of-defun): Simplify, allow indentation before
8576 block beginning and end keywords.
8577 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8578 (ruby-end-of-defun): Expect that the point is at the beginning of
8581 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8583 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8585 (cl--make-usage-args): Strip _ from argument names.
8587 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8589 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8590 obsolete alias speedbar-key-map.
8591 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8592 (vhdl-index-menu-init): Don't use obsolete variable
8593 font-lock-maximum-size.
8595 2012-09-06 Chong Yidong <cyd@gnu.org>
8597 * frame.el (window-system-version): Mark as obsolete.
8599 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8600 of obsolete variable speedbar-key-map.
8602 2012-09-06 Juri Linkov <juri@jurta.org>
8604 * replace.el (replace-lax-whitespace): New defcustom.
8605 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8606 (replace-string, replace-regexp): Mention it in docstrings.
8607 (perform-replace, replace-highlight): Let-bind
8608 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8609 to the values of replace-lax-whitespace and regexp-flag.
8610 Don't let-bind search-whitespace-regexp. (Bug#10885)
8612 * isearch.el (isearch-query-replace): Let-bind
8613 replace-lax-whitespace instead of let-binding
8614 replace-search-function and replace-re-search-function.
8615 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8616 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8617 (isearch-toggle-symbol): Set isearch-regexp to nil
8618 in isearch-word mode (like in isearch-toggle-word).
8620 2012-09-06 Juri Linkov <juri@jurta.org>
8622 * replace.el (replace-search-function)
8623 (replace-re-search-function): Set default values to nil.
8624 (perform-replace): Let-bind isearch-related variables based on
8625 replace-related values, call `isearch-search-fun' and let-bind
8626 the result to `search-function'. Remove code that sets
8627 `search-function' and `search-string' separately for
8629 (replace-highlight): Add new argument `delimited-flag' and
8630 rename other arguments to the names used in `perform-replace'.
8631 Let-bind `isearch-word' to the argument `delimited-flag'.
8632 (Bug#10885, bug#10887)
8634 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8636 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8637 ruby-beginning-of-indent, simplify, allow all keywords to have
8638 indentation before them.
8639 (ruby-beginning-of-indent): Adjust for above. Search until the
8640 found point is not inside a string or comment.
8641 (ruby-font-lock-keywords): Allow symbols to start with "@"
8642 character, give them higher priority than variables.
8643 (ruby-syntax-propertize-function)
8644 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8645 matchers. Expression expansions are not comments when inside a
8646 string, and there comment syntax status is irrelevant.
8647 (ruby-match-expression-expansion): New function. Check that
8648 expression expansion is inside a string, and it's not escaped.
8649 (ruby-font-lock-keywords): Use it.
8651 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8653 * help.el (temp-buffer-max-height): New default value.
8654 (temp-buffer-resize-frames): New option.
8655 (resize-temp-buffer-window): Optionally resize frame.
8657 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8658 (fit-frame-to-buffer): New function.
8660 2012-09-05 Glenn Morris <rgm@gnu.org>
8662 * emulation/cua-rect.el (cua--init-rectangles):
8663 * textmodes/picture.el (picture-mode-map):
8664 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8665 like forward-char and backward-char. (Bug#12317)
8667 2012-09-05 Leo Liu <sdl.web@gmail.com>
8669 * progmodes/flymake.el (flymake-warning-re): New variable.
8670 (flymake-parse-line): Use it.
8672 2012-09-05 Glenn Morris <rgm@gnu.org>
8674 * calendar/holidays.el (holiday-christian-holidays):
8675 Rename an entry. (Bug#12289)
8677 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8679 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8682 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8684 * loadup.el: Load macroexp. Remove hack.
8685 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8686 (macroexp--expand-all): Use it to get better warnings.
8687 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8688 (internal-macroexpand-for-load): New functions.
8689 (macroexp--pending-eager-loads): New var.
8690 (emacs-startup-hook): New hack to replace one in loadup.el.
8691 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8692 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8693 (cl-psetf): Simplify.
8694 (cl-defstruct): Add indent rule.
8696 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8698 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8699 over `user-mail-address' for the SMTP MAIL FROM envelope.
8700 (smtpmail-via-smtp): Ditto.
8702 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8704 * progmodes/ruby-mode.el: Clean up keybindings.
8705 (ruby-mode-map): Don't bind ruby-electric-brace,
8706 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8707 backward-kill-word, reindent-then-newline-and-indent.
8708 (ruby-mark-defun): Remove.
8709 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8710 (ruby-mode): Set local beginning-of-defun-function and
8711 end-of-defun-function values.
8713 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8715 * window.el (temp-buffer-window-setup-hook)
8716 (temp-buffer-window-show-hook): New hooks.
8717 (temp-buffer-window-setup, temp-buffer-window-show)
8718 (with-temp-buffer-window): New functions.
8719 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8720 (special-display-popup-frame): Make sure the window used shows BUFFER.
8722 * help.el (temp-buffer-resize-mode): Fix doc-string.
8723 (resize-temp-buffer-window): New optional argument WINDOW.
8725 * files.el (recover-file, save-buffers-kill-emacs):
8726 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8728 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8730 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8731 remote definition of `default-directory', ensure we can connect.
8733 2012-09-02 Juri Linkov <juri@jurta.org>
8735 Toggle whitespace matching mode with M-s SPC.
8736 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8738 * isearch.el (search-whitespace-regexp): Doc fix.
8739 Remove cons cell customization.
8740 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8741 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8743 (isearch-forward, isearch-forward-regexp): Doc fix.
8744 (isearch-toggle-lax-whitespace): New command.
8745 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8746 (re-search-forward-lax-whitespace)
8747 (re-search-backward-lax-whitespace): New functions.
8748 (isearch-whitespace-regexp): Remove function.
8749 (isearch-query-replace): Let-bind replace-search-function and
8750 replace-re-search-function.
8751 (isearch-occur): Let-bind search-spaces-regexp according to the
8752 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8753 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8754 condition for C-q SPC.
8755 (isearch-search-fun-default): Use new functions mentioned above.
8756 (isearch-search-forward, isearch-search-backward): Remove functions.
8757 (isearch-search): Don't let-bind search-spaces-regexp.
8758 (isearch-lazy-highlight-space-regexp): Remove variable.
8759 (isearch-lazy-highlight-lax-whitespace)
8760 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8761 (isearch-lazy-highlight-new-loop): Use them.
8762 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8764 2012-09-02 Chong Yidong <cyd@gnu.org>
8766 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8768 2012-09-02 Glenn Morris <rgm@gnu.org>
8770 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8772 2012-09-01 Glenn Morris <rgm@gnu.org>
8774 * term.el: Tidy up menu definitions.
8775 (term-mode-map): Use easymenu for In/Out, Complete menus.
8776 (term-pager-break-map): Initialize in the defvar.
8777 (term-terminal-menu, term-signals-menu): Define with easymenu.
8778 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8779 (term-pager-menu): New, extracted from term-process-pager.
8780 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8781 (term-update-mode-line): Propertize line/char and page items.
8782 (term-process-pager): Move keymap initialization elsewhere.
8784 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8786 * window.el (switch-to-prev-buffer): Handle additional values of
8787 BURY-OR-KILL argument. Don't switch in minibuffer window.
8788 (switch-to-next-buffer): Don't switch in minibuffer window.
8789 (quit-restore-window): New function based on quit-window.
8790 Handle additional values of former KILL argument.
8791 (quit-window): Call quit-restore-window with appropriate
8792 interpretation of KILL argument.
8793 (display-buffer-below-selected): New buffer display action
8796 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * minibuffer.el (completion-at-point-functions): Complete docstring
8801 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8803 Better seed support for (random).
8804 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8805 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8806 * play/mpuz.el, play/tetris.el, play/zone.el:
8807 * calc/calc-comb.el (math-init-random-base):
8808 * play/blackbox.el (bb-init-board):
8809 * play/life.el (life):
8810 * server.el (server-use-tcp):
8811 * type-break.el (type-break):
8812 Remove unnecessary call to (random t).
8813 * net/sasl.el (sasl-unique-id-function):
8814 Change (random t) to (random), now that the latter is more random.
8815 * play/life.el (life-initialized): Remove no-longer-needed var.
8817 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8819 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8820 Consider frame's buffer predicate when choosing the buffer.
8823 2012-08-30 Richard Stallman <rms@gnu.org>
8825 * simple.el (special-mode-map): Delete binding for `z'.
8827 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8829 * progmodes/compile.el (compilation-always-kill): Doc fix.
8831 2012-08-30 Chong Yidong <cyd@gnu.org>
8833 * window.el (display-buffer-reuse-frames): Make the obsolescence
8834 message more informative.
8836 2012-08-30 Glenn Morris <rgm@gnu.org>
8838 * paren.el (show-paren-delay):
8839 Add a :set function. Doc fix. (Bug#12297)
8841 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8843 * progmodes/compile.el (compilation-always-kill): New var.
8844 (compilation-start): Use it.
8846 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8849 * files.el (read-only-mode): Move to simple.el.
8851 * files.el (read-only-mode): New minor mode.
8852 (toggle-read-only): Use it and mark obsolete.
8853 (find-file--read-only):
8854 * vc/vc.el (vc-next-action, vc-checkout):
8855 * vc/vc-cvs.el (vc-cvs-checkout):
8856 * obsolete/vc-mcvs.el (vc-mcvs-update):
8857 * ffap.el (ffap--toggle-read-only): Update callers.
8859 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8861 * eshell/esh-ext.el (eshell-external-command): Do not examine
8862 remote shell scripts.
8863 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8865 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8868 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8870 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8872 2012-08-28 Leo Liu <sdl.web@gmail.com>
8874 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8875 completion-at-point. (Bug#12220)
8877 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8879 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8881 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8883 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8884 be buffer-local; add delete-trailing-whitespace (bug#12259).
8886 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8888 * progmodes/hideif.el (hif-compress-define-list):
8889 Fix typo. (Bug#11951)
8891 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8893 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8894 buffer local setting.
8896 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8897 rcirc-encode-coding-system.
8899 2012-08-28 Leo Liu <sdl.web@gmail.com>
8901 * net/rcirc.el (rcirc-split-message): New function.
8902 (rcirc-send-message): Use it. (Bug#12051)
8904 2012-08-28 Juri Linkov <juri@jurta.org>
8906 * info.el (Info-fontify-node): Hide empty lines at the end of
8907 the node. (Bug#12272)
8909 2012-08-27 Drew Adams <drew.adams@oracle.com>
8911 * dired.el (dired-pop-to-buffer): Make window start at beginning
8912 of buffer (Bug#12281).
8914 2012-08-26 Chong Yidong <cyd@gnu.org>
8916 * window.el (special-display-regexps, special-display-frame-alist)
8917 (special-display-buffer-names, special-display-function)
8918 (display-buffer-reuse-frames): Mark as obsolete.
8920 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8922 * help.el (help-print-return-message): Don't treat
8923 display-buffer-reuse-frames specially.
8925 2012-08-26 Chong Yidong <cyd@gnu.org>
8927 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8928 New variable, replacing gdb-frame-parameters.
8929 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8930 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8931 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8932 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8933 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8934 the functions directly with gdb-display-buffer-other-frame-action.
8935 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8936 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8937 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8938 (gdb-display-registers-buffer): Define directly.
8939 (def-gdb-display-buffer): Macro deleted.
8940 (gdb-display-buffer): Remove second and third args, callers don't
8941 use them. Defer to the default display-buffer behavior, apart
8942 from making windows dedicated.
8943 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8945 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8947 * window.el (display-buffer-pop-up-frame): Handle a
8948 pop-up-frame-parameters alist entry.
8949 (display-buffer): Document it.
8951 2012-08-26 Chong Yidong <cyd@gnu.org>
8953 * isearch.el (search-whitespace-regexp): Make string and nil
8954 values apply to both ordinary and regexp search. Allow a cons
8955 cell value to distinguish between the two.
8956 (isearch-whitespace-regexp, isearch-search-forward)
8957 (isearch-search-backward): New functions.
8958 (isearch-occur, isearch-search-fun-default, isearch-search)
8959 (isearch-lazy-highlight-new-loop): Use them.
8960 (isearch-forward, isearch-forward-regexp): Doc fix.
8962 2012-08-26 Chong Yidong <cyd@gnu.org>
8964 * faces.el (help-argument-name): Always inherit from italic
8967 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8969 * window.el (window--even-window-heights): Even heights when
8970 WINDOW and the selected window form a vertical combination.
8971 (display-buffer-use-some-window): Provide that window used gets
8972 sized back by quit-window. (Bug#11880) and (Bug#12091)
8974 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8976 Fix file time stamp problem with bzr and CVS (Bug#12001).
8977 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8978 in the file's time stamp, since the version control system loses
8981 2012-08-22 Juri Linkov <juri@jurta.org>
8983 * info.el (Info-fontify-node): Hide the suffix of the
8984 Info file name in the header line. (Bug#12187)
8986 2012-08-22 Glenn Morris <rgm@gnu.org>
8988 * calendar/cal-tex.el (cal-tex-weekly-common):
8989 Restore leading blank page.
8991 2012-08-22 Le Wang <l26wang@gmail.com>
8993 * misc.el (forward-to-word, backward-to-word): Activate or extend
8994 the region under `shift-select-mode'. (Bug#12231)
8996 2012-08-22 Bastien Guerry <bzg@gnu.org>
8998 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8999 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9000 gives details on why the space is never needed.
9002 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9004 * window.el (walk-window-tree, window-with-parameter):
9005 New optional argument MINIBUF to control whether these functions
9006 should run on the minibuffer window.
9007 (window-at-side-list): Don't operate on minibuffer window.
9008 (window-in-direction): Simplify and rewrite doc-string.
9009 (window--size-ignore): Rename to window--size-ignore-p.
9011 (display-buffer-in-atom-window, window--major-non-side-window)
9012 (window--major-side-window, display-buffer-in-major-side-window)
9013 (delete-side-window, display-buffer-in-side-window):
9015 (window--side-check, window-deletable-p, delete-window)
9016 (delete-other-windows, split-window): Handle side windows and
9017 atomic windows appropriately.
9018 (window--display-buffer): Call display-buffer-record-window also
9019 when the window buffer did not change.
9021 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9023 * help-fns.el (help-fns--key-bindings):
9024 Abbreviate non-symbol remap targets. (Bug#12174)
9026 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9028 * dired.el (dired-mark-remembered): Don't clobber point.
9031 2012-08-22 Glenn Morris <rgm@gnu.org>
9033 * progmodes/bug-reference.el (bug-reference): New custom group.
9034 (bug-reference-bug-regexp): Make it a defcustom.
9036 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9038 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9039 (js-paren-indent-offset, js-square-indent-offset)
9040 (js-curly-indent-offset): Add :safe (Bug#12257).
9042 2012-08-22 Edward O'Connor <hober0@gmail.com>
9044 * json.el (json-key-format): Add error properties.
9045 (json-encode-key): New function.
9046 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9047 Use json-encode-key.
9049 2012-08-22 Glenn Morris <rgm@gnu.org>
9051 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9052 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9053 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9054 Update for above change.
9056 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9058 * cus-face.el (custom-face-attributes): Fix customize type for the
9059 :underline attribute. (Bug#11805)
9061 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9063 * window.el (window-point-1, set-window-point-1): Remove.
9064 (window-in-direction, record-window-buffer)
9065 (set-window-buffer-start-and-point, split-window-below)
9066 (window--state-get-1, display-buffer-record-window):
9067 Replace calls to window-point-1 and set-window-point-1 by calls to
9068 window-point and set-window-point respectively.
9070 2012-08-21 Glenn Morris <rgm@gnu.org>
9072 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9073 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9076 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9077 (cal-tex-shortday): New function.
9078 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9079 (cal-tex-cursor-filofax-daily): Use the above.
9081 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9083 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9084 (cal-tex-cursor-filofax-week): Use them.
9086 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9088 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9089 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9091 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9092 (cal-tex-end-document): Don't rely on buffer name.
9094 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9096 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9097 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9098 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9101 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9102 (cal-tex-cursor-week, cal-tex-cursor-week2)
9103 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9104 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9105 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9106 (cal-tex-insert-preamble, cal-tex-b-document)
9107 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9108 Improve cal-tex-cmd usage.
9110 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9111 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9112 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9113 (cal-tex-weekly-paper): New function.
9114 (cal-tex-cursor-week, cal-tex-cursor-week2)
9115 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9116 (cal-tex-cursor-day): Use it.
9118 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9119 (cal-tex-cursor-filofax-week): Remove leading blank page.
9121 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9122 Add autoload cookie. For now at least, don't use color, since
9123 no other cal-tex function does.
9125 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9126 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9127 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9129 2012-08-21 Juri Linkov <juri@jurta.org>
9131 * info.el (Info-file-attributes): New variable.
9132 (info-insert-file-contents): Add file attributes to
9133 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9134 `Info-toc-nodes' when previous modtime of the Info file is less
9136 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9137 of info.el. (Bug#12230)
9139 2012-08-20 Glenn Morris <rgm@gnu.org>
9141 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9142 * calendar/holidays.el (calendar-holiday-list):
9143 Report errors with display-warning rather than beep'n'sleep.
9145 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9147 * net/tramp.el (tramp-accept-process-output): Accept only output
9148 from PROC. Otherwise, process filters and sentinels might be
9149 confused. (Bug#12145)
9151 2012-08-20 Chong Yidong <cyd@gnu.org>
9153 * descr-text.el (describe-text-properties-1): Use overlays-in to
9154 report on empty overlays (Bug#3322).
9156 2012-08-20 Glenn Morris <rgm@gnu.org>
9158 * mail/rmailout.el (rmail-output-read-file-name):
9159 Trap and report errors in rmail-output-file-alist elements.
9161 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9162 since most non-font-lock faces are not also variables).
9164 2012-08-20 Edward Reingold <reingold@iit.edu>
9166 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9167 New function. (Bug12160)
9169 2012-08-19 Glenn Morris <rgm@gnu.org>
9171 * mail/rmailout.el (rmail-output-read-file-name):
9172 Fix previous change (when the alist is nil or does not match).
9174 2012-08-19 Chong Yidong <cyd@gnu.org>
9176 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9179 2012-08-18 Chong Yidong <cyd@gnu.org>
9181 * simple.el (yank-handled-properties): New defcustom.
9182 (yank-excluded-properties): Add font-lock-face and category.
9185 * subr.el (remove-yank-excluded-properties):
9186 Obey yank-handled-properties. The special handling of font-lock-face
9187 and category is now done this way, instead of being hard-coded.
9188 (insert-for-yank-1): Remove font-lock-face handling.
9189 (yank-handle-font-lock-face-property)
9190 (yank-handle-category-property): New function.
9192 2012-08-17 Glenn Morris <rgm@gnu.org>
9194 * mail/rmailout.el (rmail-output-read-file-name):
9195 Check rmail-output-file-alist against the full message body
9196 in the correct rmail buffer. (Bug#12214)
9198 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9200 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9201 Eliminate superfluous prompt. (Bug#12203)
9203 2012-08-17 Chong Yidong <cyd@gnu.org>
9205 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9206 font spec, set the font directly (Bug#3228).
9208 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9210 * window.el (delete-window): Fix last fix.
9212 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9214 * window.el (window-valid-p): Move to window.c.
9215 (window-child, window-child-count, window-last-child)
9216 (window-normalize-window, window-combined-p)
9217 (window-combinations, window-atom-root, window-min-size)
9218 (window-sizable, window-sizable-p, window-size-fixed-p)
9219 (window-min-delta, window-max-delta, window--resizable)
9220 (window--resizable-p, window-resizable, window-total-size)
9221 (window-full-height-p, window-full-width-p, window-body-size)
9222 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9223 (minimize-window, window-deletable-p, delete-window)
9224 (delete-other-windows, set-window-buffer-start-and-point)
9225 (next-buffer, previous-buffer, split-window, balance-windows-2)
9226 (set-window-text-height, window-buffer-height)
9227 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9228 (truncated-partial-width-window-p): Minor code adjustments.
9229 In doc-strings state whether the argument window has to denote a
9230 live, valid or any window.
9232 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9234 * progmodes/subword.el (subword-forward-function)
9235 (subword-backward-function, subword-forward-regexp)
9236 (subword-backward-regexp): New variables.
9237 (subword-forward, subword-forward-internal, subword-backward-internal):
9238 Use new variables, eg so that different "word" definitions
9239 can be easily used. (Bug#11411)
9241 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9243 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9244 for composite selectors.
9245 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9246 operation just because we can't find a previous revision.
9248 2012-08-15 Chong Yidong <cyd@gnu.org>
9250 * frame.el (set-frame-font): Accept font objects.
9252 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9256 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9258 * man.el (Man-overstrike-face, Man-underline-face)
9259 (Man-reverse-face): Remove variables.
9260 (Man-overstrike, Man-underline, Man-reverse): New faces.
9261 (Man-fontify-manpage): Use them instead of the variables.
9262 (Man-cleanup-manpage): Comment change.
9263 (Man-ansi-color-map): New variable.
9264 (Man-fontify-manpage): Use it.
9265 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9267 Implement ANSI SGR parameters 22-27 (bug#12146).
9268 * ansi-color.el (ansi-colors): Doc fix.
9269 (ansi-color-context, ansi-color-context-region): Doc fix.
9270 (ansi-color--find-face): New function.
9271 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9272 Rename the local variable `face' to `codes' since it is now a list of
9273 ansi codes. Doc fix.
9274 (ansi-color-get-face): Remove.
9275 (ansi-color-parse-sequence): New function, derived from
9276 ansi-color-get-face.
9277 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9280 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9282 * subr.el (read-passwd): Allow use from a minibuffer.
9284 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9286 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9287 inside comments and strings as identifiers.
9289 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9290 expression to evaluate. This allows to evaluate expressions with
9291 embedded whitespace.
9292 (gud-tooltip-tips): Add a blank before the newline in the
9293 message-box text, for the benefit of message-box emulation on
9296 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9297 messages from GDB, pop them up in a tooltip to give feedback to
9299 (gdb-tooltip-print-1): Quote the expression to evaluate.
9300 This allows to evaluate expressions with embedded whitespace.
9301 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9302 if the TTY name is nil or empty (which happens when communicating
9303 with the inferior via pipes, e.g. on MS-Windows).
9304 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9305 don't send that to the GUD buffer.
9307 2012-08-14 Glenn Morris <rgm@gnu.org>
9309 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9310 Optimize away setq-default with no args, as for setq. (Bug#12195)
9312 2012-08-14 Chong Yidong <cyd@gnu.org>
9314 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9316 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9319 2012-08-14 Glenn Morris <rgm@gnu.org>
9321 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9323 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9325 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9326 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9327 Use cached shell name.
9329 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9331 * progmodes/python.el (python-shell-send-string):
9332 (python-shell-send-setup-code): Do not use `format' with `message'.
9334 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9336 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9337 (ruby-percent-literal-beg-re): New constant.
9338 (ruby-syntax-general-delimiters-goto-beg): Rename to
9339 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9340 (ruby-syntax-propertize-general-delimiters): Rename to
9341 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9342 popular term. Adjust comments everywhere.
9343 (ruby-syntax-propertize-percent-literal): Only propertize when not
9344 inside a simple string or comment. When the literal is unclosed,
9345 leave the text after it unpropertized.
9346 (ruby-syntax-methods-before-regexp): New constant.
9347 (ruby-syntax-propertize-function): Use it to recognize regexps.
9348 Don't look at the text after regexp, just use the whitelist.
9350 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9352 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9353 non-nil always load the compiled file if it exists. (Bug#12197)
9355 2012-08-14 Chong Yidong <cyd@gnu.org>
9357 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9358 (hi-lock-set-pattern): When deciding whether to use font lock or
9359 overlays, look at font-lock-mode instead of font-lock-fontified
9361 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9362 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9364 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9366 * subr.el (internal--after-with-selected-window): Fix typo
9369 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9371 Use `completion-table-dynamic' for completion functions.
9372 * progmodes/python.el
9373 (python-shell-completion--do-completion-at-point)
9374 (python-shell-completion--get-completions):
9376 (python-shell-completion-complete-at-point): New function.
9377 (python-completion-complete-at-point): Use it.
9379 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9381 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9382 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9384 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9386 * subr.el (function-get): Refine `autoload' arg so it can also
9387 autoload functions for gv.el (bug#12191).
9388 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9391 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9392 Prefer pcase-let over destructuring-bind.
9393 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9394 Also, remove whitespace as we go, rather than after accumulating the
9397 * subr.el (internal--before-with-selected-window)
9398 (internal--after-with-selected-window): Fix typo seleted->selected.
9399 (with-selected-window): Adjust callers.
9400 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9402 2012-08-13 Bastien Guerry <bzg@gnu.org>
9404 * window.el (special-display-popup-frame): Minor docstring
9405 enhancement. (Bug#12172)
9407 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9409 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9411 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9414 * files.el (hack-local-variables-filter): Remove useless eval.
9416 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9418 * subr.el (with-selected-window): Fix last change.
9420 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * subr.el (internal--before-with-seleted-window)
9423 (internal--after-with-seleted-window): New functions.
9424 (with-selected-window): Use them, to replace dependency on
9427 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9429 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9430 binding for `newline'.
9431 (ruby-move-to-block): When moving backward, stop at block opening,
9433 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9434 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9435 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9436 `ruby-toggle-block'.
9438 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9440 * ibuffer.el (ibuffer-do-toggle-read-only):
9441 * dired.el (dired-toggle-read-only):
9442 * buff-menu.el (Buffer-menu-toggle-read-only):
9443 * bindings.el (mode-line-toggle-read-only):
9444 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9446 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9448 * descr-text.el (describe-char): Put the overlays over the
9449 "displayed as" character.
9451 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9453 * calc/calc-units.el (math-default-units-table): Give an
9455 (math-put-default-units): Add options to put composite units and
9456 unit systems in the default units table.
9457 (calc-convert-units): Send composite units to
9458 `math-put-default-units' when appropriate.
9460 2012-08-11 Glenn Morris <rgm@gnu.org>
9462 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9464 * tutorial.el (help-with-tutorial):
9465 * emacs-lisp/copyright.el (copyright-update-directory):
9466 * emacs-lisp/autoload.el (autoload-find-generated-file)
9467 (autoload-find-file): Disable local eval: (for insurance).
9469 * files.el (hack-local-variables-filter): If an eval: form is not
9470 known to be safe, and enable-local-variables is :safe, then ignore
9471 the form totally, as is done for non-eval forms. (Bug#12155)
9472 This is CVE-2012-3479.
9474 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9476 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9477 (rx-form): Simplify.
9479 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9481 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9482 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9483 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9484 (ruby-syntax-propertize-function): Adjust for changes in
9485 `ruby-syntax-propertize-heredoc'.
9487 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9489 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9490 binding (use `M-;' instead).
9491 (ruby-singleton-class-p): New function.
9492 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9494 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9498 2012-08-10 Chong Yidong <cyd@gnu.org>
9500 * progmodes/python.el (python-shell-get-process-name): Don't mess
9501 with same-window-buffer-names.
9503 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9504 (eshell-remove-from-window-buffer-names): Make obsolete.
9505 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9506 (eshell): Just use pop-to-buffer-same-window instead.
9508 2012-08-10 Chong Yidong <cyd@gnu.org>
9510 * bindings.el: Bind M-= back to count-words-region.
9512 * simple.el (count-words-region): Accept a prefix arg for acting
9513 on the entire buffer.
9514 (count-words--buffer-message): New helper function.
9516 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9518 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9519 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9520 (event-start, event-end): Use posn-at-point to return a more
9522 (posnp): New function.
9523 * mouse.el (popup-menu-normalize-position): Use it.
9525 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9527 * mouse.el (popup-menu-normalize-position): New function.
9528 (popup-menu): Use `popup-menu-normalize-position' to normalize
9529 the form for POSITION argument.
9531 * term/x-win.el (x-menu-bar-open):
9532 Use the value returend from (posn-at-point) as position
9533 passed to `popup-menu'.
9535 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9537 * calc/calccomp.el (math-compose-expr): Add extra argument
9538 indicating that parentheses should be put around products in
9539 denominators. Give multiplication precedence over division during
9542 2012-08-09 Chong Yidong <cyd@gnu.org>
9544 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9545 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9546 (Man-untabify-command, manual-program): Convert to defcustom
9549 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9551 * descr-text.el (describe-char): Don't insert extra newlines
9554 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9555 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9557 * align.el (align-region): Delete temporary markers (Bug#10047).
9558 Plus some code cleanups.
9560 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9562 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9563 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9564 (python-shell-internal-last-output): Use make-local-variable
9565 instead of make-variable-buffer-local.
9567 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9569 * progmodes/python.el: Enhancements to forward-sexp.
9570 (python-nav-forward-sexp): Rename from
9571 python-nav-forward-sexp-function.
9572 (python-nav--forward-sexp, python-nav--backward-sexp):
9575 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9577 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9578 modes and simplification modes.
9580 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9582 * delsel.el (delete-selection-pre-hook): Don't propagate the
9583 file-supersession signals (bug#12161).
9585 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9587 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9588 (cl-map-extents): Add compatibility aliases (bug#12135).
9590 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9592 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9593 tests by `ignore-error'.
9594 (tramp-find-shell): Open also a new shell, when cache is already
9595 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9597 2012-08-08 Juri Linkov <juri@jurta.org>
9599 * bookmark.el: Add `defaults' property to the bookmark record.
9600 (bookmark-current-buffer): Doc fix.
9601 (bookmark-make-record): Add `defaults' property with default values
9602 to the bookmark record.
9603 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9604 with `bookmark-insert-current-bookmark'.
9605 (bookmark-set): Get `defaults' property from the bookmark record
9606 and use it in `read-from-minibuffer'.
9607 (bookmark-insert-current-bookmark): Remove function.
9609 * info.el (Info-bookmark-make-record): Add `defaults' property
9610 with values of canonical Info node name, the current Info file
9611 name and the current Info node name. (Bug#12107)
9613 2012-08-08 Juri Linkov <juri@jurta.org>
9615 * files.el (basic-save-buffer): Use `buffer-name' as the default
9616 of `read-file-name' when buffer is not visiting a file (bug#12128).
9618 2012-08-08 Juri Linkov <juri@jurta.org>
9620 * info.el (Info-isearch-search): Doc fix.
9621 (Info-search): Change search-failed message from "initial node" to
9622 "end of node" (bug#12078).
9623 (Info-isearch-search): Change `isearch-string-state' to
9624 `isearch--state-string'.
9626 2012-08-08 Glenn Morris <rgm@gnu.org>
9628 * language/persian.el: Remove file.
9629 * language/misc-lang.el: Move unique part of persian.el here.
9630 * loadup.el: Remove language/persian.
9632 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9634 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9636 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9638 * progmodes/python.el: Fix defsubst warning.
9639 (python-syntax-context) Rename from python-info-ppss-context.
9640 (python-syntax-context-type): Rename from
9641 python-info-ppss-context-type.
9642 (python-syntax-comment-or-string-p): Rename from
9643 python-info-ppss-comment-or-string-p.
9645 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9647 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9649 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9651 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9652 a defcustom that is quoted with backquote.
9654 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9655 Fix handling of interactive spec when the body uses return.
9656 (math-do-arg-check, math-define-function-body): Use backquote forms.
9657 * calc/calc-ext.el (math-defcache): Likewise.
9658 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9659 * allout.el (allout-new-exposure): Likewise.
9660 * calc/calcalg2.el (math-tracing-integral): Likewise.
9661 * info.el (Info-last-menu-item): Likewise.
9662 * emulation/vip.el (vip-loop): Likewise.
9663 * textmodes/artist.el (artist-funcall): Likewise.
9664 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9665 Construct menu-item directly.
9667 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9670 2012-08-07 Chong Yidong <cyd@gnu.org>
9672 * simple.el (deactivate-mark): Preserve text properties when
9673 saving the primary selection (Bug#8384).
9675 2012-08-07 Kevin Ryde <user42@zip.com.au>
9677 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9678 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9679 and continue processing (Bug#12110).
9681 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9684 syntax-propertize-function (bug#10095).
9686 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9688 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9689 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9690 describe-function-1.
9691 (describe-function-1): Use them. Move compiler macro after sig.
9692 (help-fns--compiler-macro): Use function-get. Assume we're already in
9693 standard-output. Adjust layout to new call order.
9695 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9696 re-binding a symbol that has a symbol-macro (bug#12119).
9698 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9700 * language/persian.el: New file. (Bug#11812)
9701 * loadup.el: Add language/persian.el.
9703 2012-08-06 Chong Yidong <cyd@gnu.org>
9705 * window.el (window--maybe-raise-frame): New function.
9706 (window--display-buffer): Split off from here.
9707 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9708 (display-buffer-pop-up-window, display-buffer-use-some-window):
9709 Obey an inhibit-switch-frame action alist entry.
9710 (display-buffer): Update doc.
9712 * replace.el (occur-after-change-function): Avoid losing focus by
9713 using the inhibit-switch-frame display parameter (Bug#12139).
9715 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9717 Make internal shell process buffer names start with space.
9718 * progmodes/python.el (python-shell-make-comint): Add optional
9720 (run-python-internal): Use it.
9721 (python-shell-internal-get-or-create-process): Check for new
9722 internal buffer names.
9724 2012-08-06 Glenn Morris <rgm@gnu.org>
9726 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9727 Do less getting and setting of environment variables.
9729 2012-08-05 Chong Yidong <cyd@gnu.org>
9731 * proced.el (proced): Add substitution string to docstring to
9732 trigger autoloading of the proced library on C-h f (Bug#1768).
9734 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9735 Don't show defvars which have no second argument (Bug#8638).
9737 * imenu.el (imenu-generic-expression): Move documentation here
9738 from imenu--generic-function.
9739 (imenu--generic-function): Refer to imenu-generic-expression.
9741 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9743 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9744 indentation declaration.
9745 (viper-loop): Add indentation declaration (Bug#7025).
9747 2012-08-05 Chong Yidong <cyd@gnu.org>
9749 * help-fns.el (describe-variable): Add hyperlink for
9750 directory-local variables files. Improve buffer-local and
9751 permanent-local reporting; suggested by MON KEY (Bug#6644).
9753 * help-mode.el (help-dir-local-var-def): New button type.
9755 * files.el (kill-buffer-hook): Provide a defvar.
9757 2012-08-05 Glenn Morris <rgm@gnu.org>
9759 * eshell/esh-ext.el (eshell/addpath):
9760 Also update eshell-path-env. (Bug#12013)
9762 2012-08-05 Chong Yidong <cyd@gnu.org>
9764 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9766 * fringe.el (fringe-styles): Add docstring.
9767 (fringe--check-mode): New function.
9768 (set-fringe-mode, set-fringe-style): Use it.
9769 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9771 * files.el (set-auto-mode): Fix invalid setq call.
9773 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * isearch.el: Misc simplification; use defstruct.
9776 (isearch-mode-map): Dense maps now work like sparse ones.
9777 (isearch--state): New defstruct.
9778 (isearch-string-state, isearch-message-state, isearch-point-state)
9779 (isearch-success-state, isearch-forward-state)
9780 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9781 (isearch-wrapped-state, isearch-barrier-state)
9782 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9783 replaced by defstruct's accessors.
9784 (isearch--set-state): Rename from isearch-top-state and change
9786 (isearch-push-state): Use new isearch--get-state.
9787 (isearch-toggle-word): Disable regexp when enabling word.
9788 (isearch-message-prefix): Remove unused arg _c-q-hack.
9789 (isearch-message-suffix): Remove unused arg _ellipsis.
9791 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9793 * simple.el (list-processes--refresh): For a server use :host or
9794 :local as the address.
9795 (list-processes): Doc fix.
9797 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9799 * lisp/mpc.el: Support password in host argument.
9800 (mpc--proc-connect): Parse and use new password element.
9801 Set mpc-proc variable instead of returning process.
9802 (mpc-proc): Adjust accordingly.
9804 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9806 * whitespace.el (whitespace-display-mappings): Use Unicode
9807 codepoints, instead of emacs-mule codepoints. See
9808 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9811 * files.el (file-truename): Don't skip symlink-chasing part on
9812 windows-nt. Incorporate the resolution of 8+3 short aliases on
9813 Windows into the loop that recursively chases symlinks.
9814 Compare directory and its parent case-insensitively on MS-Windows and
9817 2012-08-03 Chong Yidong <cyd@gnu.org>
9819 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9821 * sort.el (sort-regexp-fields): Doc fix.
9823 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9825 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9826 labels regex position point at the expected place.
9828 2012-08-03 MON KEY <monkey@sandpframing.com>
9830 * net/imap.el (imap-interactive-login, imap-authenticate)
9831 (imap-mailbox-lsub, imap-mailbox-list)
9832 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9833 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9834 (imap-parse-response): Doc fix.
9836 2012-08-03 João Távora <joaotavora@gmail.com>
9838 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9839 if sexp scanning does not move point (Bug#5734).
9841 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9843 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9844 Add listings, minted, and ctable packages.
9845 (reftex-label-alist-builtin): Move listings, minted, and ctable
9846 entries before LaTeX.
9847 (reftex-label-alist): Docfix.
9849 2012-08-02 Bastien Guerry <bzg@gnu.org>
9851 * replace.el (occur): Fix docstring (bug#12122).
9853 2012-08-02 Glenn Morris <rgm@gnu.org>
9855 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9857 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9859 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9860 * international/mule-cmds.el: Create
9861 inactivate-current-input-method-function as an obsolete alias for
9862 deactivate-current-input-method-function. See Katsumi Yamaoka in
9863 <http://bugs.gnu.org/10150#46>.
9865 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9867 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9870 2012-08-01 Glenn Morris <rgm@gnu.org>
9872 * progmodes/autoconf.el (autoconf-definition-regexp):
9873 Add AH_TEMPLATE, adjust submatch numbering.
9874 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9875 (autoconf-current-defun-function): Update for above change.
9876 (autoconf-current-defun-function): First skip to end of current word.
9878 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9880 * calendar/cal-html.el (cal-html-insert-agenda-days):
9881 Fix typo. (Bug#12018)
9883 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9885 Shell processes: enhancements to startup and CEDET compatibility.
9886 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9887 (python-shell-make-comint): accept-process-output at startup.
9888 (run-python-internal): Set inferior-python-mode-hook to nil.
9889 (python-shell-internal-get-or-create-process): call sit-for.
9890 (python-preoutput-result): Add obsolete alias.
9891 (python-shell-internal-send-string): Use it.
9892 (python-shell-send-setup-code): Remove call to
9893 accept-process-output.
9895 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9897 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9900 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9902 * calc-mode.el (calc-basic-simplification-mode): Rename from
9903 `calc-limited-simplification-mode'.
9904 (calc-alg-simplification-mode): New function.
9905 (calc-set-simplify-mode): Adjust message.
9907 * calc.el (calc-set-mode-line): Adjust mode line display for
9908 basic simplification mode.
9910 * calc-help.el (calc-m-prefix-help): Update help message.
9912 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9913 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9915 2012-07-31 Bastien Guerry <bzg@gnu.org>
9917 * man.el (man): Fix comment. (bug#12101)
9919 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9921 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9922 Don't return a non-nil value when no suitable buffer was found.
9924 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9926 * progmodes/python.el (run-python-internal): Disable font lock for
9929 2012-07-30 Stefan Merten <smerten@oekonux.de>
9931 * textmodes/rst.el: Silence `checkdoc-ispell'.
9932 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9933 (rst-official-version, rst-official-cvs-rev)
9934 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9935 (rst-mode-map): New key binding.
9937 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9939 Update .PHONY listings in makefiles.
9940 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9941 autoloads, update-subdirs, updates, bzr-update, update-authors,
9942 compile-onefile, compile-calc, backup-compiled-files,
9943 compile-after-backup, compile-one-process, mh-autoloads,
9944 bootstrap-clean, distclean, maintainer-clean.
9946 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9948 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9949 (calc-set-mode-line): Don't display "AlgSimp ".
9951 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9952 (calc-lim-simplify-mode): New function.
9953 (calc-set-simplify-mode): Default to 'alg.
9954 (calc-default-simplify-mode): Make algebraic simplifications
9957 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9958 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9960 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9961 indicate new simplification modes.
9963 * calc/README: Mention new default simplification mode.
9965 * calc/calc.el (math-normalize-error): New variable.
9966 (math-normalize): Set `math-normalize-error' to t
9967 when there's an error.
9969 * calc/calc-alg.el (math-simplify): Don't simplify when
9970 `math-normalize' returns an error.
9972 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9974 * international/mule-cmds.el (set-locale-environment): Revert last
9975 change, since display-graphic-p returns nil when this function is
9976 called during startup. Instead...
9978 * term/w32console.el (terminal-init-w32console): ...setup the
9979 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9981 2012-07-29 Juri Linkov <juri@jurta.org>
9983 * simple.el (goto-line): Don't display default line number in the
9984 prompt because it should be displayed by `read-number' (bug#9952).
9985 Add the current line number to the defaults of `goto-line' to
9986 allow its easier modification by users with `M-n' (bug#9201).
9988 * subr.el (read-number): Support multiple default values like in
9989 other minibuffer reading functions. Replace `read' with
9990 `string-to-number' for consistency with `number-to-string'.
9992 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9994 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9995 * emulation/viper-init.el (viper-deactivate-input-method-action):
9996 Rename from viper-inactivate-input-method-action.
9997 (viper-deactivate-input-method):
9998 Rename from viper-inactivate-input-method.
9999 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10000 * international/mule-cmds.el (deactivate-input-method):
10001 Rename from inactivate-input-method.
10002 Also run input-method-deactivate-hook.
10003 (deactivate-current-input-method-function):
10004 Rename from inactivate-current-input-method-function.
10005 (input-method-deactivate-hook): New hook.
10006 (input-method-inactivate-hook): Mark obsolete.
10007 (inactivate-input-method): Mark obsolete.
10009 * international/quail.el (quail-activate):
10010 Also run quail-deactivate-hook.
10011 (quail-deactivate): Rename from quail-inactivate.
10012 * international/robin.el (robin-activate):
10013 Also run robin-deactivate-hook.
10014 (robin-deactivate): Rename from robin-inactivate.
10016 2012-07-29 Chong Yidong <cyd@gnu.org>
10018 * simple.el (indicate-copied-region): New function.
10019 (kill-ring-save): Split off from here.
10021 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10022 (kill-rectangle): Set deactivate-mark to t on read-only error.
10024 * register.el (copy-to-register, copy-rectangle-to-register):
10025 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10026 (append-to-register, prepend-to-register): Call indicate-copied-region.
10028 2012-07-29 Juri Linkov <juri@jurta.org>
10030 * simple.el (async-shell-command-buffer): New defcustom.
10031 (shell-command): Use it. (Bug#4719)
10033 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10035 * international/mule-cmds.el (set-locale-environment): In a
10036 console session on MS-Windows, set up keyboard and terminal
10037 encoding from the OEM codepage, not the ANSI codepage.
10040 2012-07-28 Chong Yidong <cyd@gnu.org>
10042 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10045 2012-07-28 Leo Liu <sdl.web@gmail.com>
10047 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10048 the alist (bug#12029).
10050 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10052 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10053 (compile-always, compile-first)
10054 ($(lisp)/calendar/cal-loaddefs.el)
10055 ($(lisp)/calendar/diary-loaddefs.el)
10056 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10057 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10058 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10059 instead of on update-subdirs.
10060 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10062 2012-07-28 Chong Yidong <cyd@gnu.org>
10064 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10065 directory if vc-deduce-backend returns nil (Bug#7350).
10067 * simple.el (delete-trailing-lines): New option.
10068 (delete-trailing-whitespace): Obey it (Bug#11879).
10070 2012-07-28 David Engster <deng@randomsample.de>
10072 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10073 Explanation of new 'symbol-qnames feature in doc-strings.
10074 (xml-maybe-do-ns): Return expanded names as plain symbols if
10075 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10076 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10078 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10080 Consistent completion in inferior python with emacs -nw.
10081 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10082 binding in inferior-python-mode-map with "\t".
10083 (python-shell-completion-complete-at-point)
10084 (python-completion-complete-at-point): Remove interactive spec.
10086 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10088 * calc/calccomp.el (math-compose-expr): Undo previous change.
10090 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10092 * progmodes/python.el (python-mode-map): Add keybinding for
10094 (python-shell-make-comint): Fix pop-to-buffer call.
10095 (run-python): Autoload. New arg SHOW.
10096 (python-shell-get-or-create-process): Do not pop python process
10099 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10101 * notifications.el (notifications-on-action-signal)
10102 (notifications-on-closed-signal): Use also the bus address for the map.
10103 (notifications-notify, notifications-close-notification)
10104 (notifications-get-capabilities): Add optional argument BUS.
10106 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10108 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10109 Add support for the lstlisting and minted environments, and for the
10111 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10112 labels written in keyvals syntax.
10114 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10116 * calc/calccomp.el (math-compose-expr): Use parentheses when
10117 there is a product in the denominator of a fraction.
10119 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10121 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10122 ($(lisp)/calendar/diary-loaddefs.el)
10123 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10124 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10125 Fixes failures in parallel bootstrap because subdirs.el is being
10126 rewritten while the autoload files are built at the same time,
10127 which needs to load subdirs.el.
10129 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10131 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10132 (mouse-drag-line): Don't exit tracking when a switch-frame or
10133 switch-window event occurs (Bug#12006).
10135 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10137 * mouse.el (popup-menu): Fix last change.
10139 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10141 Autoload from Lisp with more care. Follow aliases when looking for
10142 function properties.
10143 * subr.el (autoloadp): New function.
10144 (symbol-file): Use it.
10145 (function-get): New function.
10146 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10148 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10149 (lisp-indent-function):
10150 * emacs-lisp/gv.el (gv-get):
10151 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10152 * emacs-lisp/byte-opt.el (byte-optimize-form):
10153 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10154 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10156 * emacs-lisp/cl.el: Don't propagate function properties any more.
10158 * speedbar.el (speedbar-add-localized-speedbar-support):
10159 * emacs-lisp/disass.el (disassemble-internal):
10160 * desktop.el (desktop-load-file):
10161 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10162 (describe-function-1):
10163 * emacs-lisp/find-func.el (find-function-noselect):
10164 * emacs-lisp/elp.el (elp-instrument-function):
10165 * emacs-lisp/advice.el (ad-has-proper-definition):
10166 * apropos.el (apropos-safe-documentation, apropos-macrop):
10167 * emacs-lisp/debug.el (debug-on-entry):
10168 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10169 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10170 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10172 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10174 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10175 function, not an obsolete variable (Bug#12046).
10177 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10179 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10181 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10183 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10184 window only if it is still live (Bug#12034).
10186 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10188 * subr.el (redirect-frame-focus): Add advertised calling
10189 convention (Bug#12030).
10191 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10193 Prefer typical American spelling for "acknowledgment".
10194 * vc/add-log.el (change-log-acknowledgment): Rename from
10195 change-log-acknowledgement, with an alias for the old name.
10197 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10199 * calc-alg.el (math-simplify-divide): Don't cross multiply
10200 in an equation when the lhs is a variable.
10202 2012-07-24 Julien Danjou <julien@danjou.info>
10204 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10207 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10209 * startup.el (command-line): Don't display an empty user name in
10210 the error message about non-existent home directory, when
10211 init-file-user was set to an empty string. See
10212 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10213 for the details and context.
10215 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10217 * ses.el (ses-cell-formula-aset): New macro.
10218 (ses-cell-references-aset): New macro.
10219 (ses-cell-p): New function.
10220 (ses-rename-cell): Do no longer rely on complex operations like
10221 ses-cell-set-formula or ses-set-cell to change the cell and handle
10222 the undo at the same time, but rather use lower level new macros
10223 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10224 the undo directly. Refresh the mode line.
10226 2012-07-21 Leo Liu <sdl.web@gmail.com>
10228 * progmodes/cc-cmds.el (c-defun-name):
10229 Use match-string-no-properties instead for consistency.
10231 2012-07-20 Leo Liu <sdl.web@gmail.com>
10233 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10236 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10238 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10241 * progmodes/bug-reference.el, misearch.el: Provide themselves
10244 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10245 of narrowed buffer (bug#11966).
10247 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10249 * ses.el (ses-rename-cell): Set new name also in reference list of
10250 cells of which the renamed cell depends.
10252 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10254 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10255 to check whether menu-bar is shown or not. If not shown,
10256 show the menu-bar as a popup menu instead of using tmm.
10257 * mouse.el (popup-menu): Accept `point' as `position' argument.
10259 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10261 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10262 up inside string symbol literal (bug#11923).
10264 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10266 * startup.el (fancy-startup-text): Read the whole tutorial, not
10267 just its first 256 bytes. Prevents gibberish in display of the
10270 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10272 Drop idle buffer compaction due to an absence of the
10274 * compact.el: Remove.
10276 2012-07-19 Sam Steingold <sds@gnu.org>
10278 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10279 vc-bzr-pull & vc-bzr-merge-branch.
10280 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10281 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10282 for consistency with compilation-error-regexp-alist.
10283 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10284 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10285 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10286 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10288 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10290 * emacs-lisp/chart.el: Use lexical-binding.
10291 (chart-emacs-storage): Don't hardcode the list of entries.
10293 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10295 Next round of tweaks caused by Fgarbage_collect changes.
10296 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10298 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10300 Compact buffers when idle.
10301 * compact.el: New file.
10303 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10305 * subr.el (eventp): Presume that if it looks vaguely like an event,
10306 it's an event (bug#10190).
10308 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10310 Enhancements to ppss related code (thanks Stefan).
10311 * progmodes/python.el (python-indent-context)
10312 (python-indent-calculate-indentation, python-indent-dedent-line)
10313 (python-indent-electric-colon, python-nav-forward-block)
10314 (python-mode-abbrev-table)
10315 (python-info-assignment-continuation-line-p): Simplify checks
10317 (python-info-continuation-line-p): Cleanup.
10318 (python-info-ppss-context): Do not catch 'quote.
10319 (python-info-ppss-context-type)
10320 (python-info-ppss-comment-or-string-p): Simplify.
10322 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10324 * progmodes/python.el: Enhancements to eldoc support.
10325 (python-info-current-symbol): New function.
10326 (python-eldoc-at-point): Use python-info-current-symbol.
10327 (python-info-current-defun): Fix cornercase on first defun scan.
10328 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10329 and signal error when no inferior python process is available.
10331 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10333 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10334 assume it's always t.
10335 (vc-git-registered): Remove caching, the function is only called
10337 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10339 2012-07-18 Chong Yidong <cyd@gnu.org>
10341 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10343 * simple.el (count-words): Report on narrowing (Bug#9959).
10345 * bindings.el: Bind M-= to count-words.
10347 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10349 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10351 * progmodes/sh-script.el (sh-imenu-generic-expression):
10352 Capture a function with `function' keyword and without parentheses
10353 like "function FOO" (bug#11856).
10355 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10357 * window.el (split-window-sensibly): Make WINDOW argument
10360 2012-07-18 Chong Yidong <cyd@gnu.org>
10362 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10364 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10365 and make C-x 8 RET exit isearch (Bug#11439).
10367 * international/iso-transl.el: Move isearch-mode-map key
10368 definitions to isearch.el.
10370 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10373 (eieio-defclass): Use gv-define-setter when possible.
10375 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10377 Reflect recent changes in Fgarbage_collect.
10378 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10379 reflect new format of data returned by Fgarbage_collect.
10381 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10383 New utility functions + python-info-ppss-context fix (Bug#11910).
10384 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10385 (python-info-ppss-comment-or-string-p): New functions.
10386 (python-info-ppss-context): Small fix for string check.
10388 2012-07-17 Juri Linkov <juri@jurta.org>
10390 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10391 (dired-do-async-shell-command): Don't add `*' at the end of the
10392 command (Bug#11815).
10393 (dired-do-shell-command): Doc fix.
10394 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10395 Join the individual commands using either "&" or ";" as the
10396 separator depending on the values of these trailing characters.
10397 At the end re-add the trailing "&". (Bug#10598)
10399 * simple.el (async-shell-command): Sync the interactive spec with
10400 `shell-command'. Doc fix.
10401 (shell-command): Doc fix.
10403 2012-07-17 Juri Linkov <juri@jurta.org>
10405 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10407 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10409 Final renames and doc fixes for movement commands (bug#11899).
10410 * progmodes/python.el (python-nav-beginning-of-statement):
10411 Rename from python-nav-statement-start.
10412 (python-nav-end-of-statement): Rename from
10413 python-nav-statement-end.
10414 (python-nav-beginning-of-block): Rename from
10415 python-nav-block-start.
10416 (python-nav-end-of-block): Rename from python-nav-block-end.
10418 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10420 * progmodes/python.el (python-shell-send-string-no-output):
10421 Allow accept-process-output to quit, keeping shell process ready for
10422 future interactions (Bug#11868).
10424 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10428 * emacs-lisp/elint.el (elint-find-args-in-code):
10429 Use help-function-arglist, so as to handle lexical byte-code.
10431 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10432 change (bug#11826).
10434 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10437 Avoid spuriously marking the buffer as modified because of c-is-sws.
10439 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10440 as not-a-comment (bug#11946).
10442 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10443 for uninterned vars.
10445 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10446 Use read-event since we don't really want to read chars but bytes.
10448 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10449 $$..$$ but also $..$ using regexps (bug#11953).
10450 Use tex-verbatim for \url and \path.
10451 (tex-font-lock-keywords): Define as defconst like the others.
10452 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10454 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10456 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10457 alias for insert-char.
10459 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10461 * progmodes/python.el: Simplified imenu implementation.
10462 (python-nav-jump-to-defun): Remove command.
10463 (python-mode-map): Use `imenu' instead.
10464 (python-nav-list-defun-positions-cache)
10465 (python-imenu-include-defun-type, python-imenu-make-tree)
10466 (python-imenu-subtree-root-label, python-imenu-index-alist):
10468 (python-nav-list-defun-positions, python-nav-read-defun)
10469 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10470 (python-imenu-make-tree, python-imenu-create-index):
10472 (python-mode): Update to interact with imenu by setting
10473 `imenu-extract-index-name-function' only.
10475 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10477 * progmodes/python.el: Enhancements to navigation commands.
10478 (python-nav-backward-sentence)
10479 (python-nav-forward-sentence): Remove.
10480 (python-nav-backward-statement, python-nav-forward-statement)
10481 (python-nav-statement-start, python-nav-statement-end)
10482 (python-nav-backward-block, python-nav-forward-block)
10483 (python-nav-block-start, python-nav-block-end)
10484 (python-nav-forward-sexp-function)
10485 (python-info-current-line-comment-p)
10486 (python-info-current-line-empty-p): New functions.
10487 (python-indent-context): Use `python-nav-statement-start'.
10489 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10491 * eshell/em-ls.el (eshell/ls): Use `apply'.
10493 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10494 multi-hops, instead of Tramp internals.
10496 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10498 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10499 when F1 and F2 are located on different hosts.
10501 2012-07-14 Chong Yidong <cyd@gnu.org>
10503 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10504 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10505 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10506 (xterm-mouse--read-event-sequence-1000)
10507 (xterm-mouse--read-event-sequence-1006): New functions. For old
10508 mouse protocol, handle M-mouse-X events correctly.
10509 (xterm-mouse-event): New arg specifying mouse protocol.
10510 (turn-on-xterm-mouse-tracking-on-terminal)
10511 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10512 sequence to toggle extended coordinates on newer XTerms.
10513 This appears to be harmless on terminals which do not support this.
10515 2012-07-14 Leo Liu <sdl.web@gmail.com>
10517 Add fringe bitmap indicators for flymake. (Bug#11253)
10518 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10519 (flymake-make-overlay): New arg BITMAP.
10520 (flymake-error-bitmap, flymake-warning-bitmap)
10521 (flymake-fringe-indicator-position): New user variables.
10523 * fringe.el: New bitmap exclamation-mark.
10525 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10527 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10530 2012-07-14 Chong Yidong <cyd@gnu.org>
10532 * electric.el (electric-pair-post-self-insert-function): Fix pair
10533 insertion in empty-region case (Bug#11520).
10535 2012-07-14 Chong Yidong <cyd@gnu.org>
10537 * bindings.el: Consolidate ctl-x-r-map bindings.
10538 Bind copy-rectangle-as-kill to C-x r w.
10540 * rect.el, register.el: Move bindings to bindings.el.
10542 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10544 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10546 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10548 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10550 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10552 * bindings.el (top): Use `mapc' instead of `mapcar'.
10554 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10556 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10558 * progmodes/sql.el (sql-comint): Suppress the check for program on
10559 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10562 2012-07-13 Chong Yidong <cyd@gnu.org>
10564 * bindings.el: Assign a non-nil permanent-local property to
10565 per-buffer variables which lack a default value (Bug#11930).
10567 * help-fns.el (describe-variable): In the "automatically becomes
10568 local" notice, take note of permanent-local variables.
10570 2012-07-13 Chong Yidong <cyd@gnu.org>
10572 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10573 to allow printing the message when called from Lisp.
10575 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10576 Remove toggle-read-only.
10578 * bs.el (bs-toggle-readonly):
10579 * buff-menu.el (Buffer-menu-toggle-read-only):
10580 Remove with-no-warnings around toggle-read-only.
10582 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10583 Remove with-no-warnings around toggle-read-only.
10584 (ffap-read-only, ffap-read-only-other-window)
10585 (ffap-read-only-other-frame): Callers changed.
10587 * help-mode.el: Don't require view package.
10588 (help-mode-finish): Set buffer-read-only instead of calling
10591 * bindings.el (mode-line-toggle-read-only):
10592 * dired.el (dired-toggle-read-only):
10593 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10594 with non-nil second arg.
10596 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10597 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10600 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10602 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10605 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10607 More CL cleanups and reduction of use of cl.el.
10608 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10609 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10610 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10611 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10612 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10613 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10614 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10615 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10616 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10617 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10618 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10619 * eshell/em-cmpl.el, eshell/em-banner.el:
10620 * calendar/parse-time.el: Use cl-lib.
10621 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10622 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10623 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10624 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10625 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10626 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10627 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10628 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10629 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10630 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10631 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10632 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10633 `lambda' rather than with `quote'.
10634 (eshell-do-opt): Adjust accordingly.
10635 (eshell-process-option): Simplify.
10636 * eshell/esh-var.el:
10637 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10638 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10639 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10640 to `pcase--dontcare'.
10641 * emacs-lisp/cl.el (labels): Mark obsolete.
10642 (cl--letf, letf): Move to cl-lib.
10643 (cl--letf*, letf*): Remove.
10644 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10645 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10646 (cl-progv): Rewrite.
10647 (cl--letf, cl-letf): Move from cl.el.
10648 (cl-letf*): New macro.
10649 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10651 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10653 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10655 2012-07-11 Chong Yidong <cyd@gnu.org>
10657 * vc/log-edit.el (log-edit-vc-backend): New variable.
10658 (log-edit): Doc fix.
10660 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10661 argument of log-edit to set up all local variables.
10662 (vc-start-logentry): New optional arg specifying VC backend.
10664 * vc/vc.el (vc-checkin): Use it.
10665 (vc-deduce-fileset): Handle Log Edit buffers.
10666 (vc-diff): Make first argument optional too.
10668 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10670 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10672 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10673 command, just in case. The function is not needed anymore.
10674 (eshell-external-command): Do not call `eshell-remote-command'.
10676 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10678 Reduce use of (require 'cl).
10679 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10680 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10681 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10682 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10683 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10684 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10685 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10686 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10687 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10688 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10689 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10690 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10691 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10692 (byte-compile-unfold-bcf, byte-compile-check-variable):
10693 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10694 (byte-compile-nilconstp):
10695 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10696 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10698 * emacs-lisp/gv.el (cond): Make it a valid place.
10699 (if): Simplify slightly.
10701 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10702 (pcase--self-quoting-p): New function.
10703 (pcase--u1): Use it.
10705 2012-07-10 Glenn Morris <rgm@gnu.org>
10707 * emacs-lisp/authors.el (authors-fixed-entries):
10708 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10710 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10712 Rename configure.in to configure.ac (Bug#11603).
10713 * emacs-lisp/authors.el (authors-canonical-file-name):
10714 * progmodes/autoconf.el (autoconf-mode):
10715 Prefer configure.ac to configure.in.
10717 2012-07-08 Chong Yidong <cyd@gnu.org>
10719 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10720 Implement the mouse-1-click-follows-link handling properly.
10722 * info.el (Info-link-keymap): Use follow-link mechanism for
10723 header-line links (Bug#374).
10725 * simple.el (deactivate-mark): Do not set the primary selection
10726 if another program has acquired it (Bug#11772).
10728 2012-07-07 Kevin Ryde <user42@zip.com.au>
10730 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10731 (woman-decode-region): Replace escaped-escapes without destroying
10732 bold or underline (Bug#11552).
10733 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10735 2012-07-07 Chong Yidong <cyd@gnu.org>
10737 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10738 (interprogram-cut-function, interprogram-paste-function):
10739 Mention that we typically mean the clipboard.
10741 2012-07-06 Glenn Morris <rgm@gnu.org>
10743 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10745 * files.el (toggle-read-only): Restrict message to interactive use.
10747 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10749 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10751 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10753 2012-07-06 Glenn Morris <rgm@gnu.org>
10755 * Makefile.in (compile-one-process): Rename from "recompile".
10757 * Makefile.in (bzr-update): "compile" is the same as "recompile
10758 autoloads", but parallelizable, so use that instead.
10760 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10762 * window.el (quit-window): Always restore window height when
10763 it's saved in quit-restore parameter (Bug#11810).
10765 2012-07-06 Glenn Morris <rgm@gnu.org>
10767 * simple.el (kill-whole-line): Doc tweak.
10769 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10771 * files.el (file-relative-name): Compare file names
10772 case-insensitively if on MS-Windows or MS-DOS, or if
10773 read-file-name-completion-ignore-case is non-nil. Don't use
10774 case-fold-search for this purpose. (Bug#11827)
10776 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10778 * calendar/cal-dst.el (calendar-current-time-zone):
10779 Return calendar-current-time-zone-cache if non-nil.
10781 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10782 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10784 * calendar/cal-dst.el (calendar-current-time-zone):
10785 Return calendar-current-time-zone-cache if non-nil.
10787 2012-07-06 Glenn Morris <rgm@gnu.org>
10789 * Makefile.in (cvs-update): Remove old alias.
10791 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10793 Sync with Tramp 2.2.6-pre.
10795 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10796 compatible declaration.
10798 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10799 Protect `list-load-path-shadows' call.
10801 * net/tramp-compat.el (top): Require packages, which aren't
10802 autoloaded anymore for XEmacs. Protect call of
10803 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10804 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10805 it hurts at least for SXEmacs.
10806 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10807 standard-value for `temporary-file-directory'.
10809 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10810 Redirect stderr to /dev/null.
10811 (tramp-sh-handle-write-region): uid and gid can be floats.
10812 Reported by Russell Sim <russell.sim@gmail.com>.
10813 (tramp-sh-handle-vc-registered): Hide errors.
10814 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10815 and `start-file-process'.
10816 (tramp-maybe-open-connection): Check also whether `non-essential'
10819 2012-07-04 Chong Yidong <cyd@gnu.org>
10821 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10822 (xml-parse-tag): Likewise, and avoid changing entity tables.
10823 (xml-syntax-table): Define from scratch, making sure not to give
10824 x2000 and other Unicode spaces whitespace syntax, since those are
10826 (xml-parse-fragment): Delete unused function.
10827 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10828 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10829 (xml-entity-ref, xml-pe-reference-re)
10830 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10831 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10832 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10833 (xml-entity-value-re): Use syntax references in regexps where
10834 possible; no need to define inside a let-binding.
10835 (xml-parse-dtd): Use xml-pe-reference-re.
10836 (xml-entity-or-char-ref-re): New defconst.
10837 (xml-parse-string, xml-substitute-special): Use it.
10839 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10841 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10842 (find-file--read-only): New function.
10843 (find-file-read-only, find-file-read-only-other-window)
10844 (find-file-read-only-other-frame): Use it.
10845 (insert-file-contents-literally): Don't `fset'.
10846 (get-free-disk-space): Use locate-dominating-file.
10848 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10849 function is already compiled.
10851 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10853 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10855 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10856 files on the same host.
10858 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10860 * help-fns.el (describe-function-1): Only call
10861 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10863 2012-07-03 Chong Yidong <cyd@gnu.org>
10865 * xml.el: Protect parser against XML bombs.
10866 (xml-entity-expansion-limit): New variable.
10867 (xml-parse-string, xml-substitute-special): Use it.
10868 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10870 2012-07-03 Glenn Morris <rgm@gnu.org>
10872 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10873 Allow linking to specific messages in debbugs reports (eg 123#5).
10875 2012-07-02 Chong Yidong <cyd@gnu.org>
10877 * xml.el: Fix entity and character reference expansion, allowing
10878 them to expand into markup as per XML spec.
10879 (xml-default-ns): New variable.
10880 (xml-entity-alist): Use XML spec definitions for lt and amp.
10881 (xml-parse-region): Make first two arguments optional.
10882 Discard text properties.
10883 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10884 All callers changed.
10885 (xml-parse-tag): Call xml-parse-tag-1. For backward
10886 compatibility, this function should not modify buffer contents.
10887 (xml-parse-tag-1): Fix opening-tag regexp.
10888 (xml-parse-string): Rewrite, handling entity and character
10889 references properly.
10890 (xml--entity-replacement-text): Signal an error if a parameter
10891 entity is undefined.
10893 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10895 * comint.el (comint-output-filter): Filter out repeated prompts.
10897 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10898 and file-name-absolute-p.
10899 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10902 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10905 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10906 Rename from byte-compile--refiy-function. All uses changed.
10908 2012-07-01 Chong Yidong <cyd@gnu.org>
10910 * xml.el (xml--parse-buffer): New function. Move most of
10911 xml-parse-region here.
10912 (xml-parse-region): Copy region into a temporary buffer, since
10913 parameter entity substitution requires changing buffer contents.
10914 Use xml--parse-buffer.
10915 (xml-parse-file): Use xml--parse-buffer.
10916 (xml-parse-dtd): Make parameter entity substitution work right.
10917 Use proper regexps for ELEMENT declarations (Bug#7172).
10919 2012-06-30 Glenn Morris <rgm@gnu.org>
10921 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10923 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10924 Remove outdated and unnecessary dbus declarations.
10926 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10928 * emacs-lisp/timer.el (timer-until): Subtract results of
10929 float-time, instead of taking float-time of the result of
10930 time-subtract, since float-time signals an error for negative time
10933 2012-06-30 Chong Yidong <cyd@gnu.org>
10935 * xml.el (xml-*-re): Convert defvars into defconsts, and
10936 eval-and-compile them so eval-and-compile works on derivatives.
10937 (xml--entity-replacement-text): Use eval-and-comple.
10939 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10941 * vc/vc-git.el (vc-git-registered): Use cache property
10943 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10944 `vc-git-working-revision' in order to benefit from the cache.
10945 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10947 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10949 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10950 removed (likely outside Emacs). (Bug#11757)
10952 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10954 * emacs-lisp/cl-lib.el: Require macroexp.
10956 2012-06-30 Chong Yidong <cyd@gnu.org>
10958 * xml.el: Implement XML parameter entities.
10959 (xml-parameter-entity-alist): New variable.
10960 (xml-parse-region, xml-parse-fragment): Preserve previous values
10961 of xml-entity-alist and xml-parameter-entity-alist, so that
10962 repeated calls on different documents do not change them.
10963 (xml-parse-tag): Fix doctype regexp.
10964 (xml--entity-replacement-text): New function.
10965 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10966 properly requires url retrieval which is unimplemented.
10967 (xml-escape-string): Doc fix.
10969 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10971 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10973 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10975 * fringe.el (fringe-mode): Doc fix.
10977 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10979 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10981 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10982 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10984 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10986 * calendar/cal-dst.el (calendar-current-time-zone):
10987 Return calendar-current-time-zone-cache if non-nil.
10989 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10991 * progmodes/which-func.el (which-func-format):
10992 Add mouse-face. (Bug#11698)
10994 2012-06-29 Leo Liu <sdl.web@gmail.com>
10996 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10998 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11000 * minibuffer.el (minibuffer-confirm-exit-commands):
11001 Add completion-at-point (bug#11725).
11003 2012-06-29 Glenn Morris <rgm@gnu.org>
11005 * progmodes/f90.el (f90-font-lock-keywords-2):
11006 Add some preprocessor elements. (Bug#10499)
11008 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11010 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11011 Use syntax-propertize (bug#11739).
11013 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11015 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11017 2012-06-28 Julien Danjou <julien@danjou.info>
11019 * term.el (term-handle-colors-array): Use a set of new faces to
11020 color the terminal. Also uses :inverse-video property.
11021 (term-default-fg-color): Set to nil by default, deprecate in favor
11023 (term-default-bg-color): Set to nil by default, deprecate in favor
11025 (term-current-face): Use `term-face' by default.
11026 (term-bold-attribute): Variable deleted.
11028 2012-06-28 Glenn Morris <rgm@gnu.org>
11030 * simple.el (completion-list-mode-finish):
11031 Don't use toggle-read-only. (Since completion-list-mode has
11032 a special mode-class, it wasn't doing anything extra anyway.)
11034 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11036 Make inlining of other-mode interpreted functions work (bug#11799).
11037 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11038 (byte-compile): Use it to fix compilation of lexical-binding closures.
11039 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11040 function, if needed.
11042 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * help-mode.el (help-make-xrefs): Don't just withstand
11045 cyclic-variable-indirection but any error in documentation-property.
11047 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11049 * bindings.el (bindings--define-key): New function.
11050 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11051 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11052 * bindings.el: Use it to purecopy define-key bindings.
11054 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11056 * emacs-lisp/cl.el (flet): Mark obsolete.
11057 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11058 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11059 * progmodes/js.el (js-c-fill-paragraph):
11060 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11061 (ebrowse-switch-member-buffer-to-derived-class):
11062 * play/5x5.el (5x5-solver): Use cl-flet.
11064 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11065 (cl--symbol-function): New macro.
11066 (cl--letf, cl--letf*): Use it.
11068 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11069 Strip "toggle-" if any.
11071 2012-06-27 Glenn Morris <rgm@gnu.org>
11073 * info.el (Info-default-directory-list): Move here from paths.el.
11074 * paths.el: Remove file, which is now empty.
11075 * loadup.el: No longer load "paths".
11077 * custom.el (custom-initialize-delay): Doc fix.
11079 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11080 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11081 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11082 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11083 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11084 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11085 * eshell/eshell.el (eshell-defgroup): Remove alias.
11087 2012-06-27 Chong Yidong <cyd@gnu.org>
11089 * help.el (help-enable-auto-load): New variable.
11091 * help-fns.el (help-fns--autoloaded-p): New function.
11092 (describe-function-1): Refer to a function as "autoloaded" if it
11093 was autoloaded at any time in the past. Perform autoloading if
11094 help-enable-auto-load is non-nil.
11096 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11098 * makefile.w32-in (compile, compile-always): Depend on
11099 update-subdirs, not on subdirs.el. Otherwise, several different
11100 sub-targets of 'bootstrap' running in parallel could
11101 simultaneously write to subdirs.el, producing a garbled file.
11103 2012-06-26 Sam Steingold <sds@gnu.org>
11105 * files.el (file-name-base): New convenience function.
11106 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11107 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11108 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11109 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11110 * textmodes/ispell.el, textmodes/reftex-ref.el:
11111 * textmodes/tex-mode.el: Use it.
11112 Did not touch cedet and org because they are maintained elsewhere.
11114 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11116 * calendar/calendar.el (calendar-exit): Don't try to delete or
11117 iconify last frame. See:
11118 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11120 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11122 * server.el (server-process-filter): Remember dir in the
11123 process's `server-client-directory' properties.
11125 2012-06-24 Chong Yidong <cyd@gnu.org>
11127 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11130 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11132 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11134 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11136 * help-fns.el (describe-variable): Don't croak when doc is not found.
11137 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11138 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11139 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11140 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11141 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11143 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11145 2012-06-23 Chong Yidong <cyd@gnu.org>
11147 * info.el (Info-mouse-follow-link): Accept symbol values of
11148 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11149 (Info-fontify-node): Use Info-link-keymap for all navigation
11150 buttons, with link-args property to perform the desired action.
11151 (Info-link-keymap): Doc fix.
11152 (Info-next-link-keymap, Info-prev-link-keymap)
11153 (Info-up-link-keymap): Delete now-unused keymaps.
11155 2012-06-23 Chong Yidong <cyd@gnu.org>
11157 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11159 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11162 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11164 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11166 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11169 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11170 the requote function doesn't work properly (bug#11714).
11172 2012-06-23 Glenn Morris <rgm@gnu.org>
11174 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11176 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11178 Further GV/CL cleanups.
11179 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11181 (gv--defun-declaration): New function.
11182 (defun-declarations-alist): Use it.
11183 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11184 (gv-place): Autoload.
11185 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11186 original definition of dotimes and dolist.
11187 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11188 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11189 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11190 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11191 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11192 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11193 to the function's definition.
11194 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11198 * env.el: Don't use CL.
11200 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11202 Support higher-resolution time stamps (Bug#9000).
11204 * calendar/time-date.el (with-decoded-time-value): New arg
11205 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11206 (encode-time-value): New optional arg PICO. New type 3.
11207 (time-to-seconds) [!float-time]: Support the new picoseconds
11208 component if it's used.
11209 (seconds-to-time, time-subtract, time-add):
11210 Support ps-resolution time stamps as well.
11212 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11213 (timerp): Timer vectors now have length 9, not 8.
11214 (timer--time): Support new-style (4-part) time stamps.
11215 (timer-next-integral-multiple-of-time): Time stamps now have
11216 picosecond resolution, so take a bit more care about rounding.
11217 (timer-relative-time, timer-inc-time): New optional arg psecs.
11218 (timer-set-time-with-usecs): Set psecs to 0.
11219 (timer--activate): Check psecs component, too.
11221 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11223 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11225 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11226 Move the non-essential binding to the post/pre-command-hook where it is
11227 more obviously correct.
11229 * subr.el (read-passwd): Don't use a history at all.
11230 * savehist.el (savehist-save): Remove password saved accidentally
11231 because of the above bug.
11233 2012-06-22 Bastien Guerry <bzg@gnu.org>
11235 * files.el (toggle-read-only): Display a message telling whether
11236 the buffer is read-only or not (bug#11726).
11238 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11240 * emacs-lisp/gv.el: New file.
11241 * subr.el (push, pop): Extend to generalized variables.
11242 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11243 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11244 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11245 gv-define-simple-setter, and gv-define-expander.
11246 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11247 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11248 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11249 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11250 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11252 (cl-defstruct): Don't define setf-method any more.
11253 * emacs-lisp/cl.el (flet): Don't autoload.
11254 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11255 (define-setf-expander, defsetf, define-modify-macro)
11256 (cl-struct-setf-expander): Move from cl-lib.el.
11257 * emacs-lisp/syntax.el:
11258 * emacs-lisp/ewoc.el:
11259 * emacs-lisp/smie.el:
11260 * emacs-lisp/cconv.el:
11261 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11262 (timer--time): Use gv-define-simple-setter.
11263 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11264 to avoid coding-system problems in subr.el. Adjust all users.
11265 (macroexp--maxsize, macroexp-small-p): New functions.
11266 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11267 * scroll-bar.el (scroll-bar-mode):
11268 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11269 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11270 * winner.el (winner-configuration, winner-make-point-alist)
11271 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11272 * files.el (locate-file-completion-table): Avoid list*.
11274 2012-06-22 Chong Yidong <cyd@gnu.org>
11276 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11277 (dired-create-files): Doc fix (Bug#11329).
11278 (dired-do-copy): Doc fix (Bug#11334).
11279 (dired-mark-read-string): Doc fix (Bug#11553).
11281 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11282 Doc fix (Bug#11326).
11283 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11284 (dired-dwim-target): Doc fix.
11286 * wdired.el (wdired-mode): Doc fix.
11288 2012-06-22 Glenn Morris <rgm@gnu.org>
11290 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11291 (pcmpl-rpm-cache-stamp-file): New constant.
11292 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11293 (pcmpl-rpm-packages): Optionally cache list of packages.
11295 * pcmpl-rpm.el (pcmpl-rpm): New group.
11296 (pcmpl-rpm-query-options): New option.
11297 (pcmpl-rpm-packages): No need to inline it.
11298 Use pcmpl-rpm-query-options.
11300 * calendar/calendar.el (calendar-in-read-only-buffer):
11301 Avoid some needless mode changes.
11303 2012-06-21 Chong Yidong <cyd@gnu.org>
11305 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11306 (desktop-path): Remove . from the default value (Bug#10977).
11307 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11309 2012-06-20 Chong Yidong <cyd@gnu.org>
11311 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11313 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11315 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11318 2012-06-20 Chong Yidong <cyd@gnu.org>
11320 * term.el (term-window-width): Handle the case of a missing right
11322 (term-check-size): Use window-text-height (Bug#5445).
11323 (term-mode): Use define-derived-mode. Minor cleanups.
11324 Set font-lock-defaults (Bug#7692).
11325 (term-move-columns, term-insert-char, term-emulate-terminal)
11326 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11328 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11330 * net/ange-ftp.el (ange-ftp-get-passwd):
11331 Bind `enable-recursive-minibuffers'.
11332 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11334 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11336 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11338 2012-06-19 Glenn Morris <rgm@gnu.org>
11340 * progmodes/python.el (python-mode): Derive from prog-mode.
11342 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11344 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11345 (edt-user-menu-bar-update-buffers): New functions.
11346 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11348 2012-06-19 Chong Yidong <cyd@gnu.org>
11350 * subr.el (with-selected-window): Preserve the selected window's
11351 terminal's top-frame (Bug#4702).
11353 * window.el (save-selected-window): Likewise.
11355 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * progmodes/python.el (python-rx-constituents): Move backquote.
11358 (python-skeleton-define, python-define-auxiliary-skeleton):
11361 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11363 * minibuffer.el (read-file-name-default): Revert the patch from
11366 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11369 (pcase--u1, pcase--q1): Don't use apply-partially.
11371 2012-06-18 Glenn Morris <rgm@gnu.org>
11373 * progmodes/python.el (python-proc, python-buffer)
11374 (python-send-receive, python-send-string): Fix obsolete versions.
11376 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11378 * window.el (special-display-p): Completely remove stringp
11379 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11381 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11383 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11385 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11387 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11388 * net/tramp-sh.el (tramp-maybe-open-connection):
11389 Throw if `non-essential' is non-nil.
11391 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11393 * window.el (special-display-p): Signal an error if BUFFER-NAME
11394 is not a string (Bug#11713).
11396 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11398 * progmodes/python.el (python-info-beginning-of-backslash):
11399 Rename from python-info-beginning-of-backlash, as a spelling fix.
11401 2012-06-17 Chong Yidong <cyd@gnu.org>
11403 * term.el (term-emulate-terminal): If term-check-size is called,
11404 move point to the process mark without resetting point (Bug#4635).
11406 2012-06-17 Glenn Morris <rgm@gnu.org>
11408 * international/mule-cmds.el (mule-menu-keymap)
11409 (set-language-environment, set-locale-environment): Doc tweaks.
11411 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11413 * cus-face.el (custom-face-attributes): Add wave-style underline
11415 * faces.el (set-face-attribute): Update docstring to describe
11416 wave-style underline attribute.
11418 2012-06-16 Chong Yidong <cyd@gnu.org>
11420 * term/xterm.el (terminal-init-xterm): Discard input before
11421 querying background mode (Bug#10959).
11423 2012-06-16 Stefan Merten <smerten@oekonux.de>
11425 * textmodes/rst.el: Added and corrected some comments.
11426 (rst-re-alist-def): Improve symbol syntax.
11427 (rst-mode-syntax-table): Correct syntax entries.
11428 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11429 (rst-official-version, rst-official-cvs-rev): Update version
11432 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11434 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11435 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11437 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11439 * progmodes/python.el: New python.el merge.
11440 (python-guess-indent): Obsolete var.
11441 (python-indent-guess-indent-offset): New defcustom.
11442 (python-indent): Obsolete var.
11443 (python-indent-offset): New defcustom.
11444 (python-python-command, python-jython-command): Delete var.
11445 (python-shell-interpreter): New defcustom.
11446 (python-pdbtrack-do-tracking-p): Delete var.
11447 (python-pdbtrack-activate): New defcustom.
11448 (python-use-skeletons): Obsolete var.
11449 (python-skeleton-autoinsert): New defcustom.
11450 (inferior-python-filter-regexp, python-continuation-offset)
11451 (python-honour-comment-indentation, python-indent-string-contents)
11452 (python-jython-packages, python-mode-hook)
11453 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11454 (python-shell-prompt-alist)
11455 (python-source-modes): Delete defcustoms.
11456 (python-check-buffer-name, python-eldoc-setup-code)
11457 (python-eldoc-string-code, python-ffap-setup-code)
11458 (python-ffap-string-code, python-fill-comment-function)
11459 (python-fill-decorator-function, python-fill-paren-function)
11460 (python-fill-string-function, python-imenu-include-defun-type)
11461 (python-imenu-make-tree, python-imenu-subtree-root-label)
11462 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11463 (python-shell-compilation-regexp-alist)
11464 (python-shell-completion-module-string-code)
11465 (python-shell-completion-pdb-string-code)
11466 (python-shell-completion-setup-code)
11467 (python-shell-completion-string-code)
11468 (python-shell-enable-font-lock, python-shell-exec-path)
11469 (python-shell-extra-pythonpaths)
11470 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11471 (python-shell-process-environment)
11472 (python-shell-prompt-block-regexp)
11473 (python-shell-prompt-output-regexp)
11474 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11475 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11476 (python-shell-virtualenv-path): New defcustoms.
11477 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11478 (inferior-python-mode-syntax-table, python--prompt-regexp)
11479 (python-buffer, python-command python-python-command)
11480 (python-default-template, python-imports, python-indent-index)
11481 (python-indent-list, python-indent-list-length)
11482 (python-mode-running, python-pdbtrack-is-tracking-p)
11483 (python-preoutput-continuation, python-preoutput-leftover)
11484 (python-preoutput-result, python-preoutput-skip-next-prompt)
11485 (python-prev-dir/file, python-recursing)
11486 (python-saved-check-command, python-version-checked)
11487 (python-which-func-length-limit)
11488 (view-return-to-alist): Delete vars.
11489 (python-check-custom-command, python-dotty-syntax-table)
11490 (python-imenu-index-alist, python-indent-current-level)
11491 (python-indent-dedenters, python-indent-levels)
11492 (python-nav-beginning-of-defun-regexp)
11493 (python-nav-list-defun-positions-cache)
11494 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11495 (python-shell-internal-buffer)
11496 (python-skeleton-available): New vars.
11497 (def-python-skeleton): Delete macro.
11498 (python-skeleton-define): New macro.
11499 (python-define-auxiliary-skeleton, python-rx): New macros.
11500 (python-insert-class): Delete command.
11501 (python-skeleton-class): New command.
11502 (python-insert-def): Delete command.
11503 (python-skeleton-def): New command.
11504 (python-insert-for): Delete command.
11505 (python-skeleton-for): New command.
11506 (python-insert-if): Delete command.
11507 (python-skeleton-if): New command.
11508 (python-insert-try/except, python-insert-try/finally): Delete commands.
11509 (python-skeleton-try): New command.
11510 (python-insert-while): Delete command.
11511 (python-skeleton-while): New command.
11512 (python-backspace): Delete command.
11513 (python-indent-dedent-line-backspace): New command.
11514 (python-electric-colon): Delete command.
11515 (python-indent-electric-colon): New command.
11516 (python-guess-indent): Delete command.
11517 (python-indent-guess-indent-offset): New command.
11518 (python-shift-left): Delete command.
11519 (python-indent-shift-left): New command.
11520 (python-shift-right): Delete command.
11521 (python-indent-shift-right): New command.
11522 (python-find-function): Delete command.
11523 (python-nav-jump-to-defun): New command.
11524 (python-next-statement): Delete command.
11525 (python-nav-forward-sentence): New command.
11526 (python-previous-statement): Delete command.
11527 (python-nav-backward-sentence): New command.
11528 (python-fill-paragraph): Delete command.
11529 (python-fill-paragraph-function): New command.
11530 (python-send-buffer): Delete command.
11531 (python-shell-send-buffer): New command.
11532 (python-send-defun): Delete command.
11533 (python-shell-send-defun): New command.
11534 (python-send-region, python-send-region-and-go): Delete commands.
11535 (python-shell-send-region)
11536 (python-shell-switch-to-shell): New commands.
11537 (python-send-string): Delete command.
11538 (python-shell-send-string): New command.
11539 (python-switch-to-python): Delete command.
11540 (python-shell-switch-to-shell): New command.
11541 (python-describe-symbol): Delete command.
11542 (python-eldoc-at-point): New command.
11543 (python--set-prompt-regexp, python-args-to-list)
11544 (python-after-info-look, python-check-version)
11545 (python-check-comint-prompt, python-find-imports)
11546 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11547 (python-unload-function, python-expand-template)
11548 (python-maybe-jython, python-preoutput-filter)
11549 (python-pdbtrack-get-source-buffer)
11550 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11551 (python-pdbtrack-toggle-stack-tracking)
11552 (python-pdbtrack-track-stack-file, python-initial-text)
11553 (python-first-word, python-comment-line-p, python-send-command)
11554 (python-setup-brm, python-sentinel, python-set-proc)
11555 (python-skip-out, python-input-filter, python-outdent-p)
11556 (python-outline-level, python-backslash-continuation-line-p)
11557 (python-end-of-block, python-end-of-statement, python-mark-block)
11558 (python-beginning-of-block, python-beginning-of-statement)
11559 (python-blank-line-p, python-beginning-of-string)
11560 (python-open-block-statement-p): Delete functions.
11561 (python-indent-line, python-indent-line-1): Delete functions.
11562 (python-indent-line): New function.
11563 (python-indentation-levels): Delete function.
11564 (python-indent-calculate-levels): New function.
11565 (python-proc): Delete function.
11566 (python-shell-get-process): New function.
11567 (python-send-receive): Delete function.
11568 (python-shell-send-string-no-output): New function.
11569 (python-module-path): Delete function.
11570 (python-ffap-module-path): New function.
11571 (python-completion-at-point)
11572 (python-symbol-completions): Delete functions.
11573 (python-completion-complete-at-point): New function.
11574 (python-load-file): Delete function.
11575 (python-shell-send-file): New function.
11576 (python-calculate-indentation): Delete function.
11577 (python-indent-calculate-indentation): New function.
11578 (python-skip-comments/blanks): Delete function.
11579 (python-util-forward-comment): New function.
11580 (python-continuation-line-p): Delete function.
11581 (python-info-continuation-line-p): New function.
11582 (python-which-func, python-current-defun): Delete function.
11583 (python-info-current-defun): New function.
11584 (python-beginning-of-defun): Delete function.
11585 (python-nav-beginning-of-defun): New function.
11586 (python-close-block-statement-p)
11587 (python-block-end-p): Delete function.
11588 (python-info-closing-block): New function.
11589 (python-comint-output-filter-function)
11590 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11591 (python-fill-comment, python-fill-decorator, python-fill-paren)
11592 (python-fill-string, python-imenu-make-element-tree)
11593 (python-imenu-make-tree, python-imenu-tree-assoc)
11594 (python-indent-context, python-indent-dedent-line)
11595 (python-indent-line-function)
11596 (python-indent-post-self-insert-function)
11597 (python-indent-toggle-levels)
11598 (python-info-assignment-continuation-line-p)
11599 (python-info-beginning-of-backlash)
11600 (python-info-block-continuation-line-p)
11601 (python-info-closing-block-message)
11602 (python-info-line-ends-backslash-p)
11603 (python-info-looking-at-beginning-of-defun)
11604 (python-info-ppss-context, python-info-ppss-context-type)
11605 (python-nav-list-defun-positions, python-nav-read-defun)
11606 (python-nav-sentence-end, python-nav-sentence-start)
11607 (python-pdbtrack-comint-output-filter-function)
11608 (python-pdbtrack-set-tracked-buffer)
11609 (python-shell-calculate-exec-path)
11610 (python-shell-calculate-process-environment)
11611 (python-shell-completion--do-completion-at-point)
11612 (python-shell-completion--get-completions)
11613 (python-shell-completion-complete-at-point)
11614 (python-shell-completion-complete-or-indent)
11615 (python-shell-get-or-create-process)
11616 (python-shell-get-process-name)
11617 (python-shell-internal-get-or-create-process)
11618 (python-shell-internal-get-process-name)
11619 (python-shell-internal-send-string, python-shell-make-comint)
11620 (python-shell-parse-command, python-shell-send-setup-code)
11621 (python-skeleton-add-menu-items)
11622 (python-util-clone-local-variables, python-util-position)
11623 (run-python-internal, python-indentation-levels)
11624 (python-nav-beginning-of-defun)
11625 (python-completion-complete-at-point): New functions.
11626 (run-python): Change arguments. New API requirements.
11628 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11630 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11633 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11634 (macroexp--expand-all): Use it.
11636 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11637 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11638 Use `cl-function' instead.
11640 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11642 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11643 Suggested by Stefan Monnier while discussing bug#11657.
11645 2012-06-14 Sam Steingold <sds@gnu.org>
11647 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11649 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11651 * play/doctor.el (doctor-doc): Remove parameter and use
11652 doctor-sent instead of sent.
11653 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11655 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11657 * files.el: Require cl-lib.
11658 (file-name-non-special): Replace case -> cl-case.
11660 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11662 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11663 mapping from #' to function*.
11665 2012-06-13 Chong Yidong <cyd@gnu.org>
11667 * mouse.el (mouse-drag-track): Do not set the mark if the user
11668 releases the mouse without selecting anything (Bug#11588).
11670 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11673 as well (bug#11646).
11675 * loadup.el: Count byte-code functions as well.
11677 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11678 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11680 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11681 (bug#11649). Add cl-defun and cl-defmacro.
11683 2012-06-13 Drew Adams <drew.adams@oracle.com>
11685 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11688 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11690 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11691 Otherwise, it blocks in batch mode.
11693 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11695 * help-mode.el (bookmark-make-record-default): Declare.
11697 2012-06-13 Chong Yidong <cyd@gnu.org>
11699 * emacs-lisp/package.el (list-packages): Compute a list of
11700 packages that are newly-available since the last list-packages
11702 (package-menu--new-package-list): New var.
11703 (package-menu--generate, package-menu--print-info)
11704 (package-menu--status-predicate, package-menu-mark-install):
11705 Handle new status label "new".
11707 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11709 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11710 conversion to backquotes.
11712 2012-06-12 Chong Yidong <cyd@gnu.org>
11714 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11715 Rename from gud-inhibit-global-bindings.
11717 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11719 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11720 hook from nxml-glyph-set-hook.
11722 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11725 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11727 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11728 Convert to defcustom.
11730 2012-06-12 Drew Adams <drew.adams@oracle.com>
11732 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11734 (help-mode): Use them.
11736 2012-06-11 Glenn Morris <rgm@gnu.org>
11738 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11739 Use preprocessor face for directives.
11740 (fortran-directive-re): Doc fix.
11742 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11744 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11745 conversion to backquotes (bug#11652).
11747 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11748 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11749 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11750 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11751 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11752 (cl-ninth, cl-tenth): Mark them as inlinable.
11753 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11754 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11755 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11756 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11757 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11758 (cl-list*, cl-adjoin): Don't put an autoload manually.
11759 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11760 (cl--compiler-macro-list*): Add autoload cookie.
11761 (cl--compiler-macro-cXXr): New function.
11763 * help-fns.el (help-fns--compiler-macro): New function extracted from
11764 describe-function-1; follow aliases and use `compiler-macro' property.
11765 (describe-function-1): Use it.
11767 2012-06-11 Chong Yidong <cyd@gnu.org>
11769 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11770 is uninstalled, if imagemagick is installed.
11772 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11774 * emacs-lisp/cl-lib.el: Use lexical-binding.
11775 (cl-map-extents, cl-maclisp-member): Remove.
11776 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11777 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11778 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11779 * emacs-lisp/cl-extra.el: Use lexical-binding.
11780 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11781 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11782 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11783 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11784 * emacs-lisp/cl-seq.el: Use lexical-binding.
11785 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11786 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11787 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11788 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11789 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11792 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11794 Sync with Tramp 2.2.6-pre.
11796 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11797 `print-length' and `print-level' to nil, in order to avoid
11798 truncation. Reported by Christopher Schmidt
11799 <christopher@ristopher.com>.
11801 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11803 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11805 (tramp-compat-copy-directory): Add optional argument
11806 COPY-CONTENTS. It is not handled yet.
11808 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11809 (tramp-ftp-file-name-p): Simplify.
11811 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11812 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11815 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11816 (tramp-methods): Do not use `tramp-password-end-of-line'.
11817 (tramp-completion-function-alist-putty): Handle UNIX case.
11818 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11819 (tramp-do-file-attributes-with-stat)
11820 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11821 gid as real numbers. They could run out of integer range on cygwin.
11822 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11823 (tramp-sh-handle-expand-file-name): Handle hops.
11824 (tramp-open-connection-setup-interactive-shell):
11825 Use `tramp-cleanup'. Move check for busyboxes ...
11826 (tramp-find-shell): ... here. Simplify implementation.
11827 Set "remote-shell" property also for alternative shells.
11828 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11829 If failing, a regular file would be written otherwise.
11830 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11831 (tramp-find-inline-encoding): Cache the coding commands in the
11832 process cache. Apply test command on the remote side, if defined.
11833 (tramp-find-inline-compress): Cache the compress commands in the
11835 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11836 when requested. Handle hops.
11837 (tramp-current-connection): New defvar.
11838 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11839 Throw `suppress', if there was a failed connection shortly before.
11840 Handle user interrupt. (Bug#10187)
11841 (tramp-get-inline-compress, tramp-get-inline-coding):
11842 Read connection properties from the process cache.
11844 * net/tramp-smb.el (tramp-smb-server-version)
11845 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11847 (tramp-smb-prompt): Extend for powershell prompt.
11848 (tramp-smb-file-name-handler-alist): Add handlers for
11849 `process-file', `shell-command' and `start-file-process'.
11850 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11851 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11852 (tramp-smb-file-name-p): Simplify.
11853 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11854 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11855 (tramp-smb-shell-quote-argument): New defuns.
11856 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11857 Implement using "tar". By this, time-stamps are preserved.
11858 (tramp-smb-handle-copy-file): Handle also the case of directories.
11859 (tramp-smb-do-file-attributes-with-stat)
11860 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11861 Use `tramp-get-connection-buffer').
11862 (tramp-smb-handle-rename-file): Use "rename", when source and
11863 target are on the same share.
11864 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11865 Use `tramp-smb-server-version'.
11866 (tramp-smb-wait-for-output): Remove prompt.
11868 * net/tramp.el (top): Require 'cl.
11869 (tramp-methods, tramp-rsh-end-of-line):
11870 Remove `tramp-password-end-of-line' from docstring.
11871 (tramp-save-ad-hoc-proxies): New defcustom.
11872 (tramp-completion-function-alist): Adapt docstring.
11873 (tramp-default-password-end-of-line): Remove defcustom.
11874 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11875 (tramp-user-regexp, tramp-file-name-regexp-unified)
11876 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11877 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11878 (tramp-remote-file-name-spec-regexp): New defconst.
11879 (tramp-file-name-structure): Extend structure for hops.
11880 (tramp-get-method-parameter): Move up.
11881 (tramp-file-name-p, tramp-dissect-file-name)
11882 (with-parsed-tramp-file-name): Handle hops.
11883 (tramp-file-name-hop): New defun.
11884 (tramp-make-tramp-file-name): New optional arg HOP.
11885 (tramp-message-show-progress-reporter-message): New defvar.
11886 (tramp-with-progress-reporter): Use it. We cannot use
11887 `tramp-message-show-message' here, because this suppresses also
11889 (tramp-error-with-buffer): Suppress buffer view, if
11890 `tramp-message-show-message' is nil.
11891 Use `tramp-get-connection-buffer'.
11892 (tramp-cleanup): New defun.
11893 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11894 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11895 an error unchanged.
11896 (tramp-completion-handle-file-name-all-completions): Handle hops.
11897 Fix an error when called from ido.
11898 (tramp-completion-dissect-file-name): Use better local variable
11899 name. Add hop to the vector.
11900 (tramp-handle-insert-file-contents): Use progress-reporter for the
11902 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11904 (tramp-check-for-regexp): Simplify search.
11905 (tramp-enter-password): Remove it. Move implementation ...
11906 (tramp-action-password): ... here.
11907 (tramp-mode-string-to-int, tramp-local-host-p)
11908 (tramp-make-tramp-temp-file, tramp-read-passwd)
11909 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11910 Set tramp-autoload cookie.
11912 * net/trampver.el: Update release number.
11914 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11915 Michael Albinus <michael.albinus@gmx.de>
11917 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11918 (tramp-parse-group, tramp-parse-file)
11919 (tramp-parse-shostkeys-sknownhosts): New defuns.
11920 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11921 (tramp-parse-shosts-group, tramp-parse-sconfig)
11922 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11923 (tramp-parse-sknownhosts, tramp-parse-hosts)
11924 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11926 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11927 (tramp-parse-putty-group): Don't narrow.
11928 (tramp-parse-putty): Make a loop.
11929 (tramp-file-name-handler): Catch the `suppress' signal.
11931 2012-06-11 Chong Yidong <cyd@gnu.org>
11933 * image.el (imagemagick-register-types): Put the ImageMagick entry
11934 at the end of image-type-file-name-regexps.
11936 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11938 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11939 (pcase, pcase-let*, pcase-dolist): Use them.
11941 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11943 * emacs-lisp/pcase.el (pcase--let*): New function.
11944 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11945 (pcase--expand): Use macroexp-let².
11947 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11949 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11950 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11951 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11952 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11953 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11954 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11956 2012-06-10 Glenn Morris <rgm@gnu.org>
11958 * mail/rmail.el (rmail-yank-current-message): Leave point at
11959 correct position. (Bug#11660)
11961 2012-06-10 Chong Yidong <cyd@gnu.org>
11963 * allout-widgets.el: Fix code header.
11965 2012-06-10 Chong Yidong <cyd@gnu.org>
11967 * cus-edit.el (customize-changed-options-previous-release):
11970 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11972 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11974 2012-06-09 Chong Yidong <cyd@gnu.org>
11976 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11978 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11980 * window.el (special-display-popup-frame): Don't use
11981 window--display-buffer (Bug#11651).
11983 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11985 Fix parallel builds: make sure loaddefs.el is not being written
11986 while Lisp files are compiled.
11987 (compile): Don't depend on 'mh-autoloads'.
11988 (compile-CMD, compile-SH): Depend on 'autoloads'.
11989 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11991 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11993 2012-06-09 Chong Yidong <cyd@gnu.org>
11995 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11996 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11997 Doc fixes (Bug#11225).
11999 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12001 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12002 a function if there's a clear indication that it has a compiler-macro.
12003 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12004 (macro-declarations-alist): Add arglist to declaration functions.
12005 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12006 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12007 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12008 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12009 Also add autoload to find the compiler macro.
12010 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12011 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12012 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12013 (cl--compiler-macro-get): New functions, replacing calls to
12014 cl-define-compiler-macro.
12015 (cl-typep) [compiler-macro]: Use macroexp-let².
12017 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12019 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12020 string properly, fixes Bug#11473.
12022 2012-06-08 Chong Yidong <cyd@gnu.org>
12024 * faces.el (set-face-attribute): Doc fix.
12025 (modify-face): Don't use :bold and :italic.
12026 (error, warning, success): Tweak definitions.
12028 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12029 (custom-modified, custom-set, custom-changed, custom-themed)
12030 (custom-saved, custom-button, custom-button-mouse)
12031 (custom-button-pressed, custom-state, custom-comment-tag)
12032 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12033 (custom-group-subtitle): Use new-style face specs.
12034 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12035 (custom-set-face, custom-changed-face, custom-saved-face)
12036 (custom-button-face, custom-button-pressed-face)
12037 (custom-documentation-face, custom-state-face)
12038 (custom-comment-face, custom-comment-tag-face)
12039 (custom-variable-tag-face, custom-variable-button-face)
12040 (custom-face-tag-face, custom-group-tag-face-1)
12041 (custom-group-tag-face): Remove obsolete face alias.
12043 * epa.el (epa-validity-high, epa-validity-medium)
12044 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12045 (epa-field-name, epa-field-body):
12046 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12047 (font-lock-keyword-face, font-lock-builtin-face)
12048 (font-lock-function-name-face, font-lock-variable-name-face)
12049 (font-lock-type-face, font-lock-constant-face):
12050 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12051 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12052 * speedbar.el (speedbar-button-face, speedbar-file-face)
12053 (speedbar-directory-face, speedbar-tag-face)
12054 (speedbar-selected-face, speedbar-highlight-face)
12055 (speedbar-separator-face):
12056 * whitespace.el (whitespace-newline, whitespace-space)
12057 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12058 (whitespace-line, whitespace-space-before-tab)
12059 (whitespace-space-after-tab, whitespace-indentation)
12060 (whitespace-empty):
12061 * emulation/cua-base.el (cua-global-mark):
12062 * eshell/em-prompt.el (eshell-prompt):
12063 * net/newst-plainview.el (newsticker-new-item-face)
12064 (newsticker-old-item-face, newsticker-immortal-item-face)
12065 (newsticker-obsolete-item-face, newsticker-date-face)
12066 (newsticker-statistics-face, newsticker-default-face):
12067 * net/newst-reader.el (newsticker-feed-face)
12068 (newsticker-extra-face, newsticker-enclosure-face):
12069 * net/newst-treeview.el (newsticker-treeview-face)
12070 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12071 (newsticker-treeview-immortal-face)
12072 (newsticker-treeview-obsolete-face)
12073 (newsticker-treeview-selection-face):
12074 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12075 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12076 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12077 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12078 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12079 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12080 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12082 * progmodes/vera-mode.el (vera-font-lock-number)
12083 (vera-font-lock-function, vera-font-lock-interface):
12084 * textmodes/table.el (table-cell): Use new-style face specs, and
12085 don't use the old :bold and :italic attributes.
12087 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12088 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12089 (ebrowse-member-class, ebrowse-progress): Likewise.
12090 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12091 (ebrowse-file-name-face, ebrowse-default-face)
12092 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12093 (ebrowse-progress-face): Remove obsolete faces.
12095 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12096 Inherit from error and warning faces respectively.
12098 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12100 (flyspell-incorrect-face, flyspell-duplicate-face):
12101 Remove obsolete aliases.
12103 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12105 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12108 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12110 * startup.el (argv, argi): Make lexically scoped.
12111 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12112 * emacs-lisp/cl-macs.el: Use lexical-binding.
12113 Rename cl-bind-* to cl--bind-*.
12114 * files.el: Don't require `cl' since it doesn't use it.
12115 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12117 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12119 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12120 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12121 instead of calling external sort utility.
12122 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12124 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12126 * descr-text.el (describe-char): Mention how to insert the
12127 character, if the current input method doesn't support it.
12128 See the discussion in this thread for the details:
12129 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12131 2012-06-08 Sam Steingold <sds@gnu.org>
12133 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12134 XF86Back to previous-buffer.
12135 (minibuffer-local-map): Bind them to next-history-element and
12136 previous-history-element respectively.
12137 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12138 help-go-back respectively.
12139 * info.el (Info-mode-map): Bind them to Info-history-forward and
12140 Info-history-back respectively.
12141 These are the keys next to Up on the ThinkPad keyboard.
12143 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12145 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12146 * emacs-lisp/cl-macs.el: Provide itself.
12147 (cl--labels-convert-cache): New var.
12148 (cl--labels-convert): New function.
12149 (cl-flet, cl-labels): New implementation with new semantics, relying on
12151 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12152 (cl-closure-vars, cl--function-convert-cache)
12153 (cl--function-convert): Move from cl-macs.el.
12154 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12155 rename by removing the "cl-" prefix.
12156 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12158 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12161 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12162 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12163 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12164 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12165 (cl-hash-table-count): Add old compatibility aliases.
12167 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12168 Use macroexpand-all-environment instead.
12169 (cl--old-macroexpand): New var.
12170 (cl--sm-macroexpand): New function.
12171 (cl-symbol-macrolet): Use it during macro expansion.
12172 (cl--function-convert-cache): New var.
12173 (cl--function-convert): New function, extracted from
12174 cl-macroexpand-all.
12175 (cl-lexical-let): Use it.
12177 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12178 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12179 (cl-member): Remove old alias.
12181 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12182 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12183 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12184 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12185 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12186 (cl-macroexpand-cmacs): Remove var.
12187 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12188 Use macroexpand-all instead.
12190 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12192 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12193 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12194 (macroexp-copyable-p): New functions and macros.
12195 * emacs-lisp/edebug.el (edebug-unwrap):
12196 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12197 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12198 (pcase--let*): Remove.
12199 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12200 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12201 macroexp-const-p instead.
12202 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12204 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12205 instead of "cl-" for internal definitions. Use macroexp-const-p.
12206 (cl-old-bc-file-form): Remove var.
12207 (cl-const-exprs-p): Remove fun.
12208 (cl-labels, cl-macrolet): Use backquote.
12209 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12210 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12211 (cl-define-setf-expander): Rename from cl-define-setf-method.
12212 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12214 * international/mule-cmds.el: Don't require CL.
12215 (view-hello-file): Don't use `letf'.
12217 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12219 * tmm.el (tmm-prompt): Use string-prefix-p.
12220 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12221 (tmm-add-prompt): Use minibuffer-completion-help.
12222 (tmm-delete-map): Remove.
12224 * subr.el (kbd): Make it its own function.
12226 2012-06-07 Stefan Merten <smerten@oekonux.de>
12228 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12229 Silence compiler warnings. Fix versions.
12230 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12231 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12232 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12233 (rst-package-emacs-version-alist): Correct Emacs version to
12234 represent major merge with upstream.
12235 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12237 2012-06-06 Glenn Morris <rgm@gnu.org>
12239 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12240 Only print environment variables if set.
12242 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12244 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12245 (macroexp--cons): Rename from maybe-cons.
12246 (macroexp--accumulate): Rename from macroexp-accumulate.
12247 (macroexp--all-forms): Rename from macroexpand-all-forms.
12248 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12249 (macroexp--expand-all): Rename from macroexpand-all-1.
12251 2012-06-06 Sam Steingold <sds@gnu.org>
12253 * calendar/calendar.el (calendar-in-read-only-buffer):
12254 Call `special-mode' to enable the standard read-only keybindings.
12256 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12259 with "loading" messages (bug#11635).
12261 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12263 * files.el (enable-remote-dir-locals): New option.
12264 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12266 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12267 Ensure, that the temp directory is local.
12269 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12270 `temporary-file-directory'.
12272 * progmodes/python.el (python-send-region): Ensure, that the
12273 temporary file is created also in the remote case.
12275 2012-06-06 Glenn Morris <rgm@gnu.org>
12277 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12278 (vc-rcs-update-changelog): Use it.
12280 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12282 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12283 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12284 (vc-sccs-diff): Replace use of the external vcdiff script.
12286 2012-06-05 Glenn Morris <rgm@gnu.org>
12288 * ledit.el: Move to obsolete/.
12290 2012-06-05 Sam Steingold <sds@gnu.org>
12292 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12295 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * emacs-lisp/cust-print.el: Move to obsolete.
12299 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12300 compiler-macro expansion.
12302 Add native compiler-macro support.
12303 * emacs-lisp/macroexp.el (macroexpand-all-1):
12304 Support compiler-macros directly. Properly follow aliases and apply
12305 the compiler macros more thoroughly.
12306 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12307 macroexpand now properly follows aliases.
12308 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12309 (cl-compiler-macroexpand): Use new prop.
12310 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12312 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12314 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12316 * window.el (get-lru-window, get-mru-window, get-largest-window):
12317 New argument NOT-SELECTED to avoid picking the selected window.
12318 (window--display-buffer-1, window--display-buffer-2): Replace by
12319 new function window--display-buffer
12320 (display-buffer-same-window, display-buffer-reuse-window)
12321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12322 Use window--display-buffer.
12323 (display-buffer-use-some-window): Remove temporary dedication
12324 hack by calling get-lru-window and get-largest-window with
12325 NOT-SELECTED argument non-nil. Call window--display-buffer.
12327 2012-06-05 Glenn Morris <rgm@gnu.org>
12329 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12330 Replace external vcdiff script.
12332 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12334 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12336 2012-06-04 Chong Yidong <cyd@gnu.org>
12338 * image.el (imagemagick-types-inhibit): Revert last change.
12340 (imagemagick-enabled-types): Remove CIN and EPS*.
12342 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12344 * emacs-lisp/cl-lib.el: Rename from cl.el.
12345 * emacs-lisp/cl.el: New compatibility file.
12346 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12347 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12348 to obey the "cl-" prefix.
12349 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12351 2012-06-03 Glenn Morris <rgm@gnu.org>
12353 * emacs-lisp/authors.el (authors-aliases): Addition.
12355 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12358 2012-06-03 Stefan Merten <smerten@oekonux.de>
12360 * textmodes/rst.el: Add comments.
12361 (rst-transition, rst-adornment): New faces.
12362 (rst-adornment-faces-alist): Make default safe to reevaluate.
12364 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12365 Improve customization tags.
12366 (rst-define-level-faces): Clarify meaning.
12368 2012-06-03 Chong Yidong <cyd@gnu.org>
12370 * progmodes/compile.el (compilation-mode-line-fail)
12371 (compilation-mode-line-run, compilation-mode-line-exit):
12373 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12375 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12377 * progmodes/which-func.el (which-func-update-ediff-windows):
12378 New function. Use it in ediff-select-hook (Bug#11478).
12380 2012-06-03 Chong Yidong <cyd@gnu.org>
12382 * bindings.el: Remove explicit help text from format-mode-line.
12383 It is now supplied by mode-line-default-help-echo.
12384 (mode-line-front-space, mode-line-end-spaces)
12385 (mode-line-misc-info): New variables.
12386 (mode-line-modes, mode-line-position): Move the default value to
12387 the variable definition.
12388 (mode-line-default-help-echo): New defcustom.
12389 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12390 (mode-line-modified-help-echo): New functions.
12391 (mode-line-mule-info, mode-line-modified): Use them.
12392 (mode-line-eol-desc, propertized-buffer-identification):
12393 Consistency fixes for help text.
12394 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12395 set-buffer-file-coding-system (Bug#289).
12396 (mode-line-mule-info-help-echo): Update help text.
12398 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12400 * simple.el (execute-extended-command): Set real-this-command
12403 2012-06-02 Chong Yidong <cyd@gnu.org>
12405 Remove incorrect uses of "modeline" in comments, docstrings, and
12406 function/variable names (Bug#10329).
12408 * cus-edit.el (mode-line):
12409 * dframe.el (dframe-mouse-hscroll):
12410 * emacs-lisp/re-builder.el:
12411 * emacs-lisp/easy-mmode.el (define-minor-mode):
12412 * frame.el (set-frame-name):
12413 * help.el (lookup-minor-mode-from-indicator):
12414 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12415 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12416 (c-toggle-hungry-state):
12417 * progmodes/antlr-mode.el (antlr-language-alist):
12418 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12419 * progmodes/vhdl-mode.el (vhdl-mode):
12420 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12421 * term/ns-win.el (ns-face-at-pos):
12422 * term/sup-mouse.el (sup-mouse-report):
12423 * textmodes/flyspell.el (flyspell-mode-line-string):
12424 * textmodes/ispell.el (ispell-highlight-face):
12425 * textmodes/reftex-global.el:
12426 * vc/vc-arch.el (vc-arch-mode-line-string):
12427 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12428 * vc/vc-git.el (vc-git-mode-line-string):
12429 * vc/vc-hooks.el (vc-display-status)
12430 (vc-default-mode-line-string):
12431 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12433 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12435 * dired.el (dired-sort-set-mode-line): Rename from
12436 dired-sort-set-modeline. All callers changed.
12438 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12439 eshell-status-in-modeline.
12441 * foldout.el (foldout-mode-line-string): Rename from
12442 foldout-modeline-string. All callers changed.
12443 (foldout-update-mode-line): Rename from foldout-update-modeline.
12445 * subr.el (redraw-modeline): Make into obsolete alias.
12447 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12448 timeclock-modeline-display. Make old name an alias.
12449 (timeclock-update-mode-line): Likewise. All callers changed.
12450 (timeclock-mode-line-display): No need to check before using
12452 (timeclock-relative, timeclock-day-over-hook)
12453 (timeclock-use-elapsed, timeclock-mode-string)
12454 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12456 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12457 crisp-mode-modeline-string.
12459 * play/solitaire.el (solitaire-build-mode-line): Rename from
12460 solitaire-build-modeline. All callers changed.
12462 * play/zone.el (zone-hiding-mode-line): Rename from
12463 zone-hiding-modeline. All callers changed.
12464 (zone): Remove unusued `modeline-hidden-level' property.
12466 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12467 xscheme-modeline-initialize. All callers changed.
12469 * strokes.el (strokes-lighter): Rename from
12470 strokes-modeline-string.
12472 * textmodes/sgml-mode.el (html-face-tag-alist)
12473 (html-tag-face-alist): Use mode-line face instead of obsolete
12476 2012-06-02 Stefan Merten <smerten@oekonux.de>
12478 * textmodes/rst.el: Always require `cl'.
12479 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12481 2012-06-02 Chong Yidong <cyd@gnu.org>
12483 * image.el (imagemagick-enabled-types): Rename from
12484 imagemagick-types-enable. Add many more types.
12485 (imagemagick-types-inhibit): Change default to nil.
12486 (imagemagick-filter-types): Caller changed.
12488 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12490 * emacs-lisp/cl-macs.el: Use backquotes.
12491 (cl-transform-function-property): Use eval-and-compile rather than
12493 (defstruct): Use declare-function instead of with-no-warnings.
12495 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12496 (byte-compile-output-docform): Re-add the print-circle bindings.
12497 (byte-compile-fix-header): Use #$ just because it's shorter.
12498 (byte-compile-output-file-form): Remove defun/defmacro.
12500 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12502 * simple.el (choose-completion): Remove now obsolete binding for
12505 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12507 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12508 in order to avoid "Stack overflow in regexp matcher".
12510 2012-05-31 Glenn Morris <rgm@gnu.org>
12512 * image.el: For clarity, call imagemagick-register-types at
12513 top-level, rather than relying on a custom :initialize.
12514 (imagemagick-types-enable): New option. (Bug#11557)
12515 (imagemagick-filter-types): New function. (Bug#7406)
12516 (imagemagick-register-types): Use imagemagick-filter-types.
12517 If disabling support, remove elements altogether rather
12518 than using an impossible regexp.
12519 (imagemagick-types-inhibit): Give it the default init function.
12521 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12523 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12524 Handle arbitrary file name lengths (Bug#11585).
12526 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12528 * desktop.el (desktop-read): Clear previous and next buffers for
12529 all windows and bury *Messages* buffer (bug#11556).
12531 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12533 Add `declare' for `defun'. Align `defmacro's with it.
12534 * emacs-lisp/easy-mmode.el (define-minor-mode)
12535 (define-globalized-minor-mode): Don't autoload the var definitions.
12536 * emacs-lisp/byte-run.el: Use lexical-binding.
12537 (defun-declarations-alist, macro-declarations-alist): New vars.
12538 (defmacro, defun): Use them.
12539 (make-obsolete, define-obsolete-function-alias)
12540 (make-obsolete-variable, define-obsolete-variable-alias):
12542 (macro-declaration-function): Mark obsolete.
12543 * emacs-lisp/autoload.el: Use lexical-binding.
12544 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12546 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12548 * textmodes/ispell.el (ispell-with-no-warnings):
12550 (ispell-kill-ispell, ispell-change-dictionary):
12551 Use `called-interactively-p' for Emacs instead of obsolete
12554 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12557 (macro-declaration-function): Move var from C code.
12558 (macro-declaration-function): Define function with defalias.
12559 * emacs-lisp/macroexp.el (macroexpand-all-1):
12560 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12561 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12562 defun/defmacro any more.
12563 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12564 Provide fallback for unknown arglist.
12565 (byte-compile-arglist-warn): Change calling convention.
12566 (byte-compile-output-file-form): Move print-vars binding.
12567 (byte-compile-output-docform): Simplify accordingly.
12568 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12569 (byte-compile-defmacro-declaration): Remove.
12570 (byte-compile-file-form-defmumble): Generalize to defalias.
12571 (byte-compile-output-as-comment): Return byte-positions.
12572 Simplify callers accordingly.
12573 (byte-compile-lambda): Use `assert'.
12574 (byte-compile-defun, byte-compile-defmacro): Remove.
12575 (byte-compile-file-form-defalias):
12576 Use byte-compile-file-form-defmumble.
12577 (byte-compile-defalias-warn): Remove.
12579 2012-05-29 Stefan Merten <smerten@oekonux.de>
12581 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12582 possible. Fix authors. Improve comments. Improve loading of `cl'.
12584 (rst-mode-abbrev-table): Merge definition.
12585 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12586 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12588 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12590 * calendar/icalendar.el
12591 (icalendar-export-region): Export UID properly.
12593 2012-05-29 Leo Liu <sdl.web@gmail.com>
12594 * calendar/icalendar.el (icalendar-import-format):
12595 Add `icalendar-import-format-uid' (Bug#11525).
12596 (icalendar-import-format-uid): New.
12597 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12600 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12602 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12603 different alternative patterns.
12604 (pcase-codegen): Be more careful to preserve identity.
12605 (pcase--u1): Don't forget to mark vars as used.
12607 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12608 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12609 (byte-compile-from-buffer): ...rather than here.
12611 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12612 functions from byte-compile-function-environment.
12614 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12616 * window.el (window-deletable-p): Avoid deleting the root window
12617 of a frame with an active minibuffer.
12619 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12621 * simple.el (choose-completion): Use quit-window (Bug#11567).
12623 2012-05-29 Chong Yidong <cyd@gnu.org>
12625 * whitespace.el (whitespace-cleanup): Fix usage of
12626 whitespace-empty-at-bob-regexp (Bug#11492).
12628 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12630 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12631 revert (Bug#11488).
12633 2012-05-29 Juri Linkov <juri@jurta.org>
12635 * isearch.el (isearch-mode-map): Bind `M-s _' to
12636 `isearch-toggle-symbol'. Bind `M-s c' to
12637 `isearch-toggle-case-fold'.
12638 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12639 (isearch-forward): Add `M-s _' to the docstring.
12640 (isearch-forward-symbol, isearch-toggle-case-fold)
12641 (isearch-symbol-regexp): New functions. (Bug#11381)
12643 2012-05-29 Juri Linkov <juri@jurta.org>
12645 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12646 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12647 a function, call it to get the regexp.
12648 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12649 property `isearch-message-prefix' instead of the string "word ".
12650 (isearch-search-fun-default): For the case of `isearch-word',
12651 return a lambda that calls re-search-forward/re-search-backward
12652 with a regexp returned by `word-search-regexp' or by the function
12655 2012-05-29 Juri Linkov <juri@jurta.org>
12657 * isearch.el (isearch-search-fun-default): New function.
12658 (isearch-search-fun): Move default part to the new function
12659 `isearch-search-fun-default'.
12660 (isearch-search-fun-function): Set the default value to
12661 `isearch-search-fun-default'. (Bug#11381)
12663 * comint.el (comint-history-isearch-end):
12664 Use `isearch-search-fun-default'.
12665 (comint-history-isearch-search): Use `isearch-search-fun-default'
12666 and remove spacial case for `isearch-word'.
12667 (comint-history-isearch-wrap): Remove spacial case for
12670 * hexl.el (hexl-isearch-search-function):
12671 Use `isearch-search-fun-default'.
12673 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12674 Use `word-search-regexp' for `isearch-word'.
12676 * misearch.el (multi-isearch-search-fun):
12677 Use `isearch-search-fun-default'.
12679 * simple.el (minibuffer-history-isearch-search):
12680 Use `isearch-search-fun-default' and remove spacial case for
12682 (minibuffer-history-isearch-wrap): Remove spacial case for
12685 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12686 Remove spacial case for `isearch-word'.
12687 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12689 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12691 Decrease XEmacs incompatibilities.
12692 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12693 Use `string-match'.
12694 (flyspell-delete-region-overlays): Use alternative definition for
12696 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12697 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12698 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12699 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12700 `define-obsolete-face-alias' under XEmacs, but old method.
12702 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12703 `with-no-warnings' definition or Emacs alias.
12704 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12705 (ispell-word): Do not use `region-p' if XEmacs.
12707 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12709 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12710 Check for `ispell-dictionary-base-alist' instead of full
12711 `ispell-dictionary-alist'.
12712 (ispell-init-process): Show spellchecker when starting new Ispell
12715 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12717 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12718 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12720 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12722 * version.el (motif-version-string, gtk-version-string)
12723 (ns-version-string): Declare.
12725 2012-05-27 Juri Linkov <juri@jurta.org>
12727 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12728 after the `eval-defun-1' specialcaseing
12729 like in `edebug-eval-defun' (bug#10181).
12731 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12732 like in `eval-defun-1'.
12734 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12736 * mail/sendmail.el (mail-yank-region):
12737 Recognize rmail-yank-current-message in addition to insert-buffer.
12738 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12739 a *mail* buffer created through rmail-start-mail with sendmail as
12742 2012-05-27 Chong Yidong <cyd@gnu.org>
12744 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12745 Default to 256 (Bug#11267).
12747 * help.el (describe-mode): Doc fix.
12749 2012-05-26 Glenn Morris <rgm@gnu.org>
12751 * w32-fns.el (w32-init-info): Remove.
12752 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12754 * info.el (info-initialize): For self-contained NS builds, put the
12755 included info/ directory at the front. (Bug#2791)
12757 * paths.el (Info-default-directory-list): Make it a defcustom,
12758 mainly so that we can use custom-initialize-delay.
12760 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12762 * subr.el (buffer-has-markers-at): Mark obsolete.
12764 * subr.el (lambda): Use declare.
12766 * emacs-lisp/lisp-mode.el (lambda):
12767 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12769 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12771 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12773 2012-05-26 Glenn Morris <rgm@gnu.org>
12775 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12777 2012-05-25 Glenn Morris <rgm@gnu.org>
12779 * paths.el: Remove no-byte-compile.
12780 * loadup.el: No need to load paths.el uncompiled.
12782 * image.el (imagemagick-types-inhibit): Doc fix.
12784 * version.el: Remove no-byte-compile and associated formatting.
12785 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12786 is ancient code from when there was an "inc-vers.el".
12788 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12790 * progmodes/gdb-mi.el: Minor style changes.
12791 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12792 Turn into minor modes.
12793 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12794 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12795 (gdb-shell): Remove unneeded let-binding.
12796 (gdb-get-many-fields): Eliminate O(n²) behavior.
12798 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12800 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12801 platforms that don't link in fontset.c.
12803 2012-05-25 Juri Linkov <juri@jurta.org>
12805 Use the same diff color scheme as in modern VCSes (bug#10181).
12807 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12808 to avoid confusion with `diff-added' that now uses green colors.
12809 (diff-removed): Use shades of red.
12810 (diff-added): Use shades of green.
12811 (diff-changed): Leave just the yellow color.
12812 (diff-use-changed-face): New variable.
12813 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12814 how to highlight context diff changes.
12815 (diff-refine-change): Use shades of yellow.
12816 (diff-refine-removed): New face that uses shades of red.
12817 (diff-refine-added): New face that uses shades of green.
12818 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12819 `diff-refine-removed' in the call to `smerge-refine-subst'
12820 depending on the value of `diff-use-changed-face'.
12822 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12823 (smerge-other): Use shades of green.
12824 (smerge-base): Use shades of yellow.
12825 (smerge-refined-change): Empty face.
12826 (smerge-refined-removed): New face that uses shades of red.
12827 (smerge-refined-added): New face that uses shades of green.
12828 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12829 args `props-r' and `props-a', and use them. Doc fix.
12830 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12831 on its value use different faces `smerge-refined-change',
12832 `smerge-refined-removed', `smerge-refined-added' in the call to
12833 `smerge-refine-subst'.
12835 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12836 Add face condition `min-colors 88' with shades of red.
12837 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12838 `min-colors 88' with shades of green.
12839 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12840 `min-colors 88' with shades of yellow.
12842 2012-05-24 Glenn Morris <rgm@gnu.org>
12844 * paths.el (prune-directory-list, remote-shell-program): Move to...
12845 * files.el (prune-directory-list, remote-shell-program): ...here.
12846 For the latter, delay initialization, prefer ssh, just search PATH.
12848 * paths.el (term-file-prefix): Move to faces.el (the only user).
12849 * faces.el (term-file-prefix): Move here, make it a defcustom.
12851 * paths.el (news-directory, news-path, news-inews-program):
12852 Move to gnus/nnspool.el.
12854 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12856 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12857 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12858 Make the latter a defcustom, with a delayed initialization.
12860 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12861 These were deleted from Gnus itself late 2010.
12863 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12865 * progmodes/which-func.el (which-func-ff-hook):
12866 Check against user-error, not error.
12868 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12869 cl-specs.el, which no longer exists.
12871 2012-05-22 Glenn Morris <rgm@gnu.org>
12873 * info.el (info-emacs-bug): New command.
12874 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12875 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12877 2012-05-21 Glenn Morris <rgm@gnu.org>
12879 * makefile.w32-in (update-subdirs-SH):
12880 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12882 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12884 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12887 Simplify Maven regexp, and make sure the file can't start with a space
12890 2012-05-21 Glenn Morris <rgm@gnu.org>
12892 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12893 Scrap superfluous subshells.
12895 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12897 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12898 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12900 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12902 * calc/calc.el (calc-ensure-consistent-units): New variable.
12904 * calc/calc-units.el (math-consistent-units-p)
12905 (math-check-unit-consistency): New functions.
12906 (calc-quick-units, calc-convert-units):
12907 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12909 (calc-extract-units): Fix typo.
12911 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12913 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12915 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12916 (flyspell-default-deplacement-commands): Don't spell check after
12917 repeated window/frame switches (e.g. triggered by mouse-movement).
12918 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12919 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12920 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12921 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12922 Remove unused vars.
12923 (flyspell-get-casechars, flyspell-get-not-casechars):
12924 Simplify; Don't bother removing a ] just to add it back.
12925 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12927 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12929 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12931 (math-function-table): Add support for more C functions.
12933 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12935 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12936 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12937 Protect delay handling for otherchars against empty otherchars.
12939 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12941 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12942 their respective macro declarations.
12943 * skeleton.el (define-skeleton):
12944 * progmodes/compile.el (define-compilation-mode):
12945 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12946 (define-ibuffer-filter):
12947 * emacs-lisp/generic.el (define-generic-mode):
12948 * emacs-lisp/easy-mmode.el (define-minor-mode)
12949 (define-globalized-minor-mode):
12950 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12951 * emacs-lisp/byte-run.el (defsubst):
12952 * custom.el (deftheme): Add doc-string metadata.
12954 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12956 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12958 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12962 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12963 * emacs-lisp/cl-macs.el: Idem.
12964 * emacs-lisp/cl-specs.el: Remove.
12966 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12968 Minor renaming of internal CL functions and variables.
12969 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12970 (cl--position): Rename from cl-position.
12971 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12972 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12973 (cl--random-state): Rename from *random-state*.
12975 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12977 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12978 parens around the arg list (bug#11499).
12980 2012-05-17 Juri Linkov <juri@jurta.org>
12982 * isearch.el (word-search-regexp, word-search-backward)
12983 (word-search-forward, word-search-backward-lax)
12984 (word-search-forward-lax): Move functions from search.c
12985 (bug#10145, bug#11381).
12987 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12989 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12990 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12991 Delay for otherchars as for normal word components.
12993 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12995 * minibuffer.el (completion--sifn-requote): Fix last change.
12996 (minibuffer-local-must-match-filename-map):
12997 Move define-obsolete-variable-alias before its var.
12999 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13003 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13005 (completion--string-equal-p): New function.
13006 (completion--twq-all): Use it to get better assertion failure data.
13008 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13009 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13010 (shell--requote-argument): New functions.
13011 (shell-completion-vars): Use them.
13012 (shell--parse-pcomplete-arguments): Rename from
13013 shell-parse-pcomplete-arguments.
13014 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13015 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13016 Obey comint-file-name-quote-list.
13018 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13019 (smie-indent-keyword): Use it.
13021 2012-05-14 Stefan Merten <smerten@oekonux.de>
13023 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13025 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * net/rlogin.el (rlogin-mode-map): Fix last change.
13029 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13031 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13032 the following \r\n using a single `process-send-string', since the
13033 Lotus SMTP server refuses to accept any commands if they are sent
13034 with two `process-send-string's (Bug#11444).
13036 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13038 * shell.el (shell-parse-pcomplete-arguments):
13039 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13041 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13043 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13044 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13045 (image-transform-width, image-transform-fit-width): New functions.
13046 (image-transform-properties): Use them.
13047 (image-transform-check-size): New function.
13048 (image-toggle-display-image): Use it (for testing).
13049 (image-transform-set-rotation): Reduce angle mod 360.
13050 Delete obsolete comment.
13052 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13054 * image-mode.el: Fix scaling (bug#11399).
13055 (image-transform-resize): Doc fix.
13056 (image-transform-properties): Default scale is 1 and height should
13059 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13061 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13062 than hard-coding `car', to fix misbehavior when moving forward.
13064 2012-05-13 Chong Yidong <cyd@gnu.org>
13066 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13067 (tabulated-list-entries, tabulated-list-padding)
13068 (tabulated-list-sort-key): Make permanent-local.
13070 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13071 (electric-buffer-list): Put electric buffer menu
13072 command descriptions in this docstring, instead of the docstring
13073 of electric-buffer-menu-mode. Code cleanups.
13074 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13075 Electric-buffer-menu-mode.
13076 (electric-buffer-update-highlight): Minor code cleanup.
13078 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13080 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13083 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13085 Move define-obsolete-variable-alias before the var's definition.
13086 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13087 * tooltip.el (tooltip-hook):
13088 * textmodes/reftex-toc.el (reftex-toc-map):
13089 * textmodes/reftex-sel.el (reftex-select-label-map)
13090 (reftex-select-bib-map):
13091 * textmodes/reftex-index.el (reftex-index-map)
13092 (reftex-index-phrases-map):
13093 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13094 * progmodes/meta-mode.el (meta-mode-map):
13095 * novice.el (disabled-command-hook):
13096 * loadhist.el (unload-hook-features-list):
13097 * frame.el (blink-cursor):
13098 * files.el (find-file-not-found-hooks, write-file-hooks)
13099 (write-contents-hooks):
13100 * emulation/tpu-edt.el (GOLD-map):
13101 * emacs-lock.el (emacs-lock-from-exiting):
13102 * emacs-lisp/generic.el (generic-font-lock-defaults):
13103 * emacs-lisp/chart.el (chart-map):
13104 * dos-fns.el (register-name-alist):
13105 * dired-x.el (dired-omit-files-p):
13106 * desktop.el (desktop-enable):
13107 * cus-edit.el (custom-mode-hook):
13108 * buff-menu.el (buffer-menu-mode-hook):
13109 * bookmark.el (bookmark-read-annotation-text-func)
13110 (bookmark-exit-hooks):
13111 * allout.el (allout-mode-deactivate-hook)
13112 (allout-exposure-change-hook, allout-structure-added-hook)
13113 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13114 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13115 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13116 comes before the corresponding variable's definition.
13118 2012-05-12 Chong Yidong <cyd@gnu.org>
13120 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13121 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13122 (Buffer-menu-mode-map): Bind it.
13123 (Buffer-menu--pretty-name): Add a mouse-face property.
13125 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13127 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13128 (prolog-upper-case-string, prolog-lower-case-string)
13129 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13130 (prolog-use-smie, prolog-smie-grammar): New vars.
13131 (prolog-smie-forward-token, prolog-smie-backward-token)
13132 (prolog-smie-rules): New funs.
13133 (prolog-comment-indent): Remove.
13134 (prolog-mode-variables): Use default comment indentation instead.
13136 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13137 (prolog-mode): Don't call them any more.
13138 (prolog-electric-colon, prolog-electric-dash)
13139 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13141 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13143 * minibuffer.el (completion--twq-all): Again, allow case differences.
13145 * term.el: Move keymap initialization code to be more idiomatic.
13146 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13147 (term-terminal-menu): Move initialization into declaration.
13148 (term-escape-char): Let the user set it in her .emacs.
13150 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13151 Provide SMIE-based indentation (not enabled by default yet).
13152 (sh-mode-map): Don't bind electric keys.
13153 Use electric-pair-mode instead of skeleton-pair.
13154 (sh-assignment-regexp): Fit within 80 columns.
13155 (sh-indent-supported): Specify actual shell name instead of boolean.
13156 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13157 (sh-maybe-here-document): Use it. Make obsolete.
13158 (sh-electric-here-document-mode) New minor mode.
13159 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13160 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13161 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13162 (sh-smie-rc-grammar, sh-use-smie): New vars.
13163 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13164 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13165 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13166 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13167 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13168 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13169 (sh-set-shell): Use smie-setup if requested.
13171 * term.el (term-set-escape-char): Properly set term-escape-char.
13172 See http://stackoverflow.com/questions/10524656.
13174 2012-05-10 Chong Yidong <cyd@gnu.org>
13176 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13177 Use url-generic-parse-url, and handle host names and Windows
13178 filenames properly.
13179 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13180 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13181 URL schemes to work on.
13182 (ffap--toggle-read-only): New function.
13183 (ffap-read-only, ffap-read-only-other-window)
13184 (ffap-read-only-other-frame): Use it.
13185 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13186 necessary for ffap-url-unwrap-remote.
13188 2012-05-10 Dave Abrahams <dave@boostpro.com>
13190 * cus-start.el (create-lockfiles): Add it.
13192 2012-05-09 Chong Yidong <cyd@gnu.org>
13194 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13195 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13197 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13201 2012-05-09 Chong Yidong <cyd@gnu.org>
13203 * ansi-color.el (ansi-color-process-output): Check for validity of
13204 comint-last-output-start before using it. This avoids a bad
13205 interaction with gdb-mi's input/output buffer.
13207 2012-05-09 Glenn Morris <rgm@gnu.org>
13209 * files.el (dir-locals-read-from-file):
13210 Mention dir-locals in any error message.
13212 2012-05-09 Chong Yidong <cyd@gnu.org>
13214 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13215 package (Bug#11410).
13217 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13218 variables into description.
13220 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13222 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13223 shell-delimiter-argument-list (bug#11348).
13224 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13226 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13228 * textmodes/rst.el: Silence byte-compiler warnings.
13229 (rst-re-alist, rst-reset-section-caches): Move around.
13230 (rst-re): Use `characterp', not `char-valid-p'.
13231 (font-lock-beg, font-lock-end): Declare.
13233 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13234 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13236 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13238 2012-05-08 Glenn Morris <rgm@gnu.org>
13240 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13242 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13244 * vc/log-edit.el: Add GNU coding standards highlighting.
13245 (log-edit-font-lock-gnu-style)
13246 (log-edit-font-lock-gnu-keywords): New vars.
13247 (log-edit-font-lock-keywords): New fun.
13248 (log-edit-mode): Don't fold case in font-lock.
13249 (log-edit-font-lock-keywords): Do not assume case-folding.
13251 * imenu.el: Misc cleanup. Make docstrings out of comments.
13252 Use lexical-binding.
13253 (imenu--index-alist, imenu--last-menubar-index-alist)
13254 (imenu-menubar-modified-tick): Use defvar-local.
13255 (imenu--split-menu): Remove unused var.
13256 (imenu--cleanup-seen): Declare as global.
13257 (imenu--cleanup): Use dolist.
13259 * subr.el (defvar-local): Add debug spec and doc-string position.
13261 2012-05-08 Glenn Morris <rgm@gnu.org>
13263 * language/burmese.el, language/cham.el, language/czech.el:
13264 * language/english.el, language/georgian.el, language/greek.el:
13265 * language/japanese.el, language/khmer.el, language/korean.el:
13266 * language/lao.el, language/misc-lang.el, language/romanian.el:
13267 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13268 * language/thai.el, language/utf-8-lang.el:
13269 Remove no-byte-compile setting.
13271 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13273 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13275 * progmodes/make-mode.el (makefile-browse):
13276 Remove unnecessary interactive. (Bug#11324)
13278 2012-05-07 Glenn Morris <rgm@gnu.org>
13280 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13282 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13284 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13286 * loadup.el: Preload newcomment.el.
13287 * newcomment.el: Move autoload-only code to toplevel.
13289 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13290 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13291 Handle new :right-align column property.
13292 (tabulated-list-print-col): Idem, plus use `display' text-property to
13293 try and preserve alignment for variable pitch fonts.
13295 2012-05-07 Chong Yidong <cyd@gnu.org>
13297 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13298 (tabulated-list-use-header-line): New var.
13299 (tabulated-list-init-header): Use it.
13300 (tabulated-list-print-fake-header): New function.
13301 (tabulated-list-print): Use it.
13302 (tabulated-list-sort-button-map): Add non-header-line commands.
13303 (tabulated-list-init-header): Add column name property to basic
13305 (tabulated-list-col-sort): Handle non-header-line button case.
13306 (tabulated-list--sort-by-column-name): Fix a corner case.
13308 * buff-menu.el (list-buffers--refresh):
13309 Handle Buffer-menu-use-header-line.
13311 2012-05-06 Chong Yidong <cyd@gnu.org>
13313 * buff-menu.el: Convert to Tabulated List mode.
13314 (Buffer-menu-buffer+size-width): Make obsolete.
13315 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13316 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13317 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13318 documentation into docstring of buffer-menu.
13319 (Buffer-menu-toggle-files-only): Add an informative message.
13320 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13321 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13322 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13323 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13324 (Buffer-menu-execute, Buffer-menu-select)
13325 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13326 (Buffer-menu-bury): Use Tabulated List machinery.
13327 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13328 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13330 (list-buffers--refresh): New function.
13331 (list-buffers-noselect): Use it.
13332 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13333 (Buffer-menu--pretty-file-name): New helper functions.
13335 * loadup.el: Preload tabulated-list.
13337 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13338 tabulated-list-sort-column.
13339 (tabulated-list-init-header): Add the initial aligning space even
13340 if tabulated-list-padding is zero.
13342 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13344 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13345 whose cdr is not a cons cell correctly (bug#11038).
13347 2012-05-06 Chong Yidong <cyd@gnu.org>
13349 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13350 Accept additional plist in column descriptors.
13351 (tabulated-list-init-header): Obey it.
13352 (tabulated-list-get-entry): New function.
13353 (tabulated-list-put-tag): Use it. Use string-width instead of
13355 (tabulated-list--column-number): New function.
13356 (tabulated-list-print): Use it.
13357 (tabulated-list-print-col): New function.
13358 Set `tabulated-list-column-name' property on each column's text.
13359 (tabulated-list-print-entry): Use it.
13360 (tabulated-list-delete-entry, tabulated-list-set-col):
13362 (tabulated-list-sort-column): New command (Bug#11337).
13364 * buff-menu.el (list-buffers): Move C-x C-b binding from
13365 buff-menu.el to bindings.el.
13367 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13368 :advertised-binding feature.
13370 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13372 * progmodes/compile.el (compilation-internal-error-properties):
13373 Calculate start position correctly when end-col is set but
13374 end-line is not (Bug#11382).
13376 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13378 * man.el (Man-unindent): Use text-property-default-nonsticky to
13379 prevent untabify from inheriting face properties (Bug#11408).
13381 2012-05-05 Stefan Merten <smerten@oekonux.de>
13383 * textmodes/rst.el: Major merge with upstream development up to
13384 Docutils SVN r7399 / rst.el V1.2.1.
13386 Clarify maintainership and authors.
13388 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13389 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13390 (rst-official-version, rst-official-cvs-rev, rst-version)
13391 (rst-package-emacs-version-alist): New functions and variables
13392 for version information.
13394 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13395 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13396 (rst-mode-syntax-table, rst-mode): New and corrected functions
13397 and variables representing reStructuredText features.
13399 (rst-re): New function for reStructuredText regexes. Use in
13402 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13403 (rst-mode-map): Rebind keys.
13405 (rst-mode-lazy, rst-font-lock-keywords)
13406 (rst-font-lock-extend-region)
13407 (rst-font-lock-extend-region-internal)
13408 (rst-font-lock-extend-region-extend)
13409 (rst-font-lock-find-unindented-line-limit)
13410 (rst-font-lock-find-unindented-line-match)
13411 (rst-adornment-level, rst-font-lock-adornment-level)
13412 (rst-font-lock-adornment-match)
13413 (rst-font-lock-handle-adornment-pre-match-form)
13414 (rst-font-lock-handle-adornment-matcher): Major revision of
13415 font-locking. Integrate with other code. Use `jit-lock-mode'.
13417 (rst-preferred-adornments, rst-adjust-hook)
13418 (rst-new-adornment-down, rst-preferred-bullets)
13419 (rst-preferred-bullets, rst-indent, rst-indent-width)
13420 (rst-indent-field, rst-indent-literal-normal)
13421 (rst-indent-literal-minimized, rst-indent-comment): Change,
13422 extend and improve customization.
13424 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13425 (rst-normalize-cursor-position, rst-get-decoration)
13426 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13427 (rst-rstrip, rst-toc-insert-find-delete-contents)
13428 (rst-shift-fill-region, rst-compute-bullet-tabs)
13429 (rst-debug-print-tabs, rst-debug-mark-found)
13430 (rst-shift-region-guts, rst-shift-region-right)
13431 (rst-shift-region-left, rst-use-char-classes)
13432 (rst-font-lock-keywords-function)
13433 (rst-font-lock-indentation-point)
13434 (rst-font-lock-find-unindented-line-begin)
13435 (rst-font-lock-find-unindented-line-end)
13436 (rst-font-lock-find-unindented-line)
13437 (rst-font-lock-adornment-point, rst-font-lock-level)
13438 (rst-adornment-level-alist): Remove functions and variables.
13440 (rst-compare-adornments, rst-get-adornment-match)
13441 (rst-suggest-new-adornment, rst-get-adornments-around)
13442 (rst-adornment-complete-p, rst-get-next-adornment)
13443 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13444 (rst-straighten-adornments): Standardize function names to
13445 use "adornment" instead of "decoration". Correct callers.
13446 Similar standardizing in many places.
13448 (rst-update-section, rst-adjust, rst-promote-region)
13449 (rst-enumerate-region, rst-bullet-list-region)
13450 (rst-repeat-last-character): Correct use of `interactive'.
13452 (rst-classify-adornment, rst-find-all-adornments)
13453 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13454 (rst-find-leftmost-column, rst-repeat-last-character):
13455 Refactor functions.
13457 (rst-find-title-line, rst-reset-section-caches)
13458 (rst-get-adornments-around, rst-adjust-adornment-work)
13459 (rst-arabic-to-roman, rst-roman-to-arabic)
13460 (rst-insert-list-pos, rst-insert-list-new-item)
13461 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13464 (rst-all-sections, rst-section-hierarchy)
13465 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13468 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13469 configuration instead of only buffer. Change where necessary.
13471 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13472 (rst-shift-region, rst-adaptive-fill): New functions for
13473 indentation and filling.
13475 (rst-comment-line-break, rst-comment-indent)
13476 (rst-comment-insert-comment, rst-comment-region)
13477 (rst-uncomment-region): New functions for handling comments.
13479 (rst-compile): Quote shell arguments.
13481 (rst-compile-pdf-preview, rst-compile-slides-preview):
13482 Delete temporary files after use.
13484 2012-05-05 Glenn Morris <rgm@gnu.org>
13486 * calendar/cal-html.el: Optionally include holidays in the output.
13487 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13488 (cal-html-holidays): New option.
13489 (cal-html-css-default): Add holiday entry.
13490 (holiday-in-range): Autoload it.
13491 (cal-html-htmlify-entry): Add optional class argument.
13492 (cal-html-htmlify-list): Add optional holidays argument.
13493 (cal-html-insert-agenda-days): Include holidays in the output.
13494 (cal-html-one-month): Maybe include holidays.
13496 * calendar/holidays.el (holiday-in-range):
13497 Move here from cal-tex-list-holidays.
13498 * calendar/cal-tex.el (cal-tex-list-holidays):
13499 Make it an obsolete alias for holiday-in-range. Update all callers.
13501 2012-05-05 Chong Yidong <cyd@gnu.org>
13503 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13506 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13508 * files.el (file-auto-mode-skip): New var.
13509 (set-auto-mode-1): Use it.
13511 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13513 * repeat.el: Use lexical-binding.
13514 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13515 (repeat-undo-count): Remove.
13517 * progmodes/octave-mod.el (octave-abbrev-start):
13518 * progmodes/f90.el (f90-abbrev-start):
13519 * face-remap.el (text-scale-adjust):
13520 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13522 * emacs-lisp/pcase.el (pcase--let*): New function.
13523 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13525 (pcase--split-pred): Be more clever about ruling out overlap between
13526 a predicate and some constant pattern.
13527 (pcase--q1): Use `null' instead of (eq foo nil).
13529 * subr.el (setq-local, defvar-local): New macros.
13530 (kbd): Redefine as an alias.
13531 (with-selected-window): Leave unrelated frames alone.
13532 (set-temporary-overlay-map): New function.
13534 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13536 * subr.el (user-error): New function.
13537 * window.el (switch-to-buffer):
13538 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13539 (smerge-match-conflict):
13540 * simple.el (previous-matching-history-element)
13541 (next-matching-history-element, goto-history-element, undo-more)
13543 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13544 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13545 (next-file, tags-loop-scan, list-tags, complete-tag):
13546 * progmodes/compile.el (compilation-loop):
13547 * mouse.el (mouse-minibuffer-check):
13548 * man.el (Man-bgproc-sentinel, Man-goto-page):
13549 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13550 (Info-history-forward, Info-follow-reference, Info-menu)
13551 (Info-extract-menu-item, Info-extract-menu-counting)
13552 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13553 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13554 (Info-next-reference, Info-prev-reference, Info-index)
13555 (Info-index-next, Info-follow-nearest-node)
13556 (Info-copy-current-node-name):
13557 * imenu.el (imenu--make-index-alist)
13558 (imenu-default-create-index-function, imenu-add-to-menubar):
13559 * files.el (basic-save-buffer, recover-file):
13560 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13561 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13562 (checkdoc-message-text, checkdoc-defun):
13563 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13564 * cus-edit.el (customize-changed-options, customize-rogue)
13565 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13566 (custom-variable-mark-to-reset-standard)
13567 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13569 * completion.el (check-completion-length):
13570 * comint.el (comint-search-arg)
13571 (comint-previous-matching-input-string-position)
13572 (comint-previous-matching-input)
13573 (comint-replace-by-expanded-history-before-point, comint-send-input)
13574 (comint-copy-old-input, comint-backward-matching-input)
13575 (comint-goto-process-mark, comint-set-process-mark):
13576 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13577 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13579 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * dabbrev.el (dabbrev--ignore-case-p): New function.
13582 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13585 * files.el (automount-dir-prefix): Mark as obsolete.
13587 2012-05-04 Glenn Morris <rgm@gnu.org>
13589 * patcomp.el, play/bruce.el: Move to obsolete/.
13591 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13593 Fix minor Y10k bugs.
13594 * arc-mode.el (archive-unixdate):
13595 * autoinsert.el (auto-insert-alist):
13596 * calc/calc-forms.el (math-this-year):
13597 * emacs-lisp/copyright.el (copyright-current-year)
13598 (copyright-update-year, copyright):
13599 * tar-mode.el (tar-clip-time-string):
13600 * time.el (display-time-update):
13601 Don't assume years have 4 digits.
13603 2012-05-04 Chong Yidong <cyd@gnu.org>
13605 * dos-w32.el (file-name-buffer-file-type-alist)
13606 (direct-print-region-use-command-dot-com):
13607 * ffap.el (ffap-menu-regexp):
13608 * find-file.el (ff-special-constructs):
13609 * follow.el (follow-debug):
13610 * forms.el (forms--debug):
13611 * iswitchb.el (iswitchb-all-frames):
13612 * ido.el (ido-all-frames):
13613 * emacs-lisp/timer.el (timer-max-repeats):
13614 * mail/feedmail.el (feedmail-mail-send-hook)
13615 (feedmail-mail-send-hook-queued):
13616 * mail/footnote.el (footnote-signature-separator):
13617 * mail/mailabbrev.el (mail-alias-separator-string)
13618 (mail-abbrev-mode-regexp):
13619 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13620 * progmodes/idlwave.el (idlwave-libinfo-file)
13621 (idlwave-default-completion-case-is-down)
13622 (idlwave-library-routines): Convert defvars to defcustoms.
13624 * mail/rmail.el (rmail-decode-mime-charset):
13625 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13626 (idlwave-shell-fix-inserted-breaks)
13627 (idlwave-shell-activate-alt-keybindings)
13628 (idlwave-shell-use-breakpoint-glyph):
13629 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13631 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13633 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13635 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13637 * progmodes/verilog-mode.el (font-lock-keywords):
13638 Fix mis-highligting auto. Reported by Craig Barner.
13639 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13640 defines from global name space. Reported by Dan Dever.
13641 (verilog-auto-reset, verilog-auto-reset-widths)
13642 (verilog-auto-tieoff): Support using unbased numbers for
13643 AUTORESET and AUTOTIEOFF.
13644 (verilog-submit-bug-report): Update variable list.
13645 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13646 parenthesis from not matching. Reported by Michael Rytting.
13647 (verilog-auto-template-lint): Fix hash error when linting modules
13648 with no used templates.
13649 (verilog-warn, verilog-warn-error)
13650 (verilog-warn-fatal): When non-interactive report multiple
13651 warnings before exiting. Suggested by Brad Dobbie.
13652 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13653 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13654 to report unused template errors. Reported by Brad Dobbie.
13655 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13656 nets, bug438. Reported by Vns Blore.
13657 (verilog-auto-inout-module, verilog-auto-reg)
13658 (verilog-read-decls, verilog-read-sub-decls-sig)
13659 (verilog-signals-edit-wire-reg, verilog-signals-with):
13660 Fix passing of Verilog data types in ANSI input/output ports
13661 such as "output logic" into the AUTOs. Special case "wire" and
13662 "reg" for backwards compatibility presuming Verilog 2001.
13663 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13664 (verilog-preprocess): Fix replication of preprocess output.
13665 Reported by Brad Dobbie.
13666 (verilog-auto-inst-interfaced-ports):
13667 Create verilog-auto-inst-interfaced-ports, bug429.
13668 Reported by Julian Gorfajn.
13669 (verilog-after-save-font-hook)
13670 (verilog-before-save-font-hook): New variable.
13671 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13672 (verilog-save-font-mods): Wrap disabling fontification, reported
13674 (verilog-do-indent, verilog-pretty-declarations-auto)
13675 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13676 Reported by Pierre-David Pfister.
13677 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13678 of class declarations, bug292. Reported by Kevin Heilman.
13679 (verilog-read-decls): Fix 'parameter type' not appearing in
13680 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13681 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13682 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13683 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13684 Reported by David Kravitz.
13686 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13688 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13689 assignment with tests in ifs and for loops.
13690 (verilog-extended-complete-re, verilog-complete-reg): Change so
13691 that DPI inport functions don't look like fuction declarations.
13692 (verilog-pretty-expr): Don't line up assignment
13693 operations to the test and increment in if and for loops
13694 (verilog-extended-complete-re, verilog-complete-reg): Change so
13695 that DPI inport functions don't look like fuction declarations.
13697 2012-05-03 Kenichi Handa <handa@m17n.org>
13699 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13700 decoding, and show a warning message without signaling an error
13703 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13705 * emacs-lisp/bytecomp.el
13706 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13707 since cconv.el might have introduced :fun-body, internal-make-closure,
13708 and friends for bytecomp to handle (bug#11391).
13709 * custom.el (defcustom): Avoid ((λ ..) ..).
13711 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13713 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13715 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13717 * notifications.el (dbus-debug):
13718 * term/linux.el (gpm-mouse-enable):
13719 * term/screen.el (xterm-register-default-colors): Declare.
13721 2012-05-02 Chong Yidong <cyd@gnu.org>
13723 * cus-start.el (gc-cons-percentage, exec-suffixes)
13724 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13725 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13726 (make-cursor-line-fully-visible, void-text-area-pointer)
13727 (font-list-limit): Add customization data.
13729 * allout.el (allout-exposure-change-functions)
13730 (allout-structure-added-functions)
13731 (allout-structure-deleted-functions)
13732 (allout-structure-shifted-functions): Rename abnormal hooks from
13733 *-hook, and convert to defcustoms.
13734 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13735 Convert to defcustoms.
13736 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13738 * allout-widgets.el: Hook callers changed.
13740 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13742 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13743 the yanked message in preference to the default value of
13744 buffer-file-coding-system.
13746 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13748 * window.el (display-buffer--action-function-custom-type):
13751 2012-05-02 Alan Mackenzie <acm@muc.de>
13753 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13755 2012-05-01 Glenn Morris <rgm@gnu.org>
13757 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13759 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13761 * cus-edit.el (custom-variable-documentation): Simplify with format.
13763 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13764 Stefan Monnier <monnier@iro.umontreal.ca>
13766 * simple.el (suggest-key-bindings, execute-extended-command):
13767 Move from keyboard.c.
13769 2012-05-01 Chong Yidong <cyd@gnu.org>
13771 * follow.el: Eliminate advice.
13772 (set-process-filter, process-filter, sit-for): Advice deleted.
13773 (follow-mode-off-hook): Obsolete hook removed.
13774 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13776 (follow-auto): Use a :set function.
13777 (follow-mode): Rewritten. Don't advise process filters.
13778 (follow-switch-to-current-buffer-all, follow-scroll-up)
13779 (follow-scroll-down): Assume follow-mode is bound.
13780 (follow-comint-scroll-to-bottom)
13781 (follow-align-compilation-windows): New functions.
13782 (follow--window-sorter): New function.
13783 (follow-all-followers): Use it to explicitly sort windows by their
13784 positions; don't make assumptions about next-window order.
13785 (follow-windows-start-end, follow-delete-other-windows-and-split)
13786 (follow-calc-win-start): Doc fix.
13787 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13788 vertical-motion unnecessarily.
13789 (follow-adjust-window): New function.
13790 (follow-post-command-hook): Use it.
13791 (follow-call-set-process-filter, follow-call-process-filter)
13792 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13793 (follow-stop-intercept-process-output, follow-generic-filter):
13795 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13796 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13797 New functions, replacing advice on scroll-bar-* commands.
13798 (follow-mwheel-scroll): New function (Bug#4112).
13800 * comint.el (comint-adjust-point): New function.
13801 (comint-postoutput-scroll-to-bottom): Use it.
13802 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13804 2012-05-01 Glenn Morris <rgm@gnu.org>
13806 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13807 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13808 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13809 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13810 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13811 Remove no-byte-compile setting.
13813 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13815 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13816 all-completions code to not return a number in the last cdr.
13818 2012-04-30 Leo Liu <sdl.web@gmail.com>
13820 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13823 2012-04-29 Chong Yidong <cyd@gnu.org>
13825 * follow.el (follow-calc-win-end): Rewrite to handle partial
13826 screen lines correctly (Bug#8390).
13827 (follow-avoid-tail-recenter): Minor cleanup.
13829 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13831 Avoid the obsolete `assoc' package.
13832 * speedbar.el (speedbar-refresh): Avoid adelete.
13833 (speedbar-file-lists): Simplify and avoid aput.
13834 * man.el (Man--sections, Man--refpages): New vars, replacing
13835 Man-sections-alist and Man-refpages-alist.
13836 (Man-build-section-alist, Man-build-references-alist):
13837 Use them; avoid aput.
13838 (Man--last-section, Man--last-refpage): New vars.
13839 (Man-follow-manual-reference): Use them.
13840 Use the `default' arg of completing-read.
13841 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13843 2012-04-27 Chong Yidong <cyd@gnu.org>
13845 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13847 * startup.el (x-apply-session-resources): New function.
13849 * term/ns-win.el (ns-initialize-window-system):
13850 * term/w32-win.el (w32-initialize-window-system):
13851 * term/x-win.el (x-initialize-window-system): Use it to properly
13852 set menu-bar-mode and other vars from X resources, even if the
13853 initial frame is not a window-system frame (Bug#2299).
13855 * subr.el (read-key): Avoid running filter function when setting
13856 up temporary tool bar entries (Bug#9922).
13858 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13860 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13863 2012-04-27 Chong Yidong <cyd@gnu.org>
13865 * select.el (xselect--encode-string): New function, split from
13866 xselect-convert-to-string.
13867 (xselect-convert-to-string): Use it.
13868 (xselect-convert-to-filename, xselect-convert-to-os)
13869 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13870 returned strings are properly encoded (Bug#11315).
13872 2012-04-27 Chong Yidong <cyd@gnu.org>
13874 * simple.el (delete-active-region): Move to killing custom group.
13876 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13878 * progmodes/which-func.el (which-func-current): Quote %
13879 characters for mode-line processing.
13881 2012-04-27 Chong Yidong <cyd@gnu.org>
13883 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13884 reaching eob (Bug#11286).
13886 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13888 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13889 (gdb): Make it buffer-local and init to zero.
13890 (gdb-control-commands-regexp): New variable.
13891 (gdb-send): Don't wrap in "-interpreter-exec console" if
13892 gdb-control-level is positive. Increment gdb-control-level
13893 whenever the command matches gdb-control-commands-regexp, and
13894 decrement it each time the command is "end". (Bug#11279)
13896 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13898 * window.el (adjust-window-trailing-edge, enlarge-window)
13899 (shrink-window, window-resize):
13900 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13901 windows (Bug#11276).
13903 2012-04-27 Chong Yidong <cyd@gnu.org>
13905 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13906 fix "missing prefix" warning. All callers changed.
13908 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13910 * emacs-lisp/assoc.el: Move to obsolete/.
13912 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13914 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13916 * term/ns-win.el (ns-define-service):
13917 * progmodes/pascal.el (pascal-goto-defun):
13918 * progmodes/js.el (js--read-tab):
13919 * progmodes/etags.el (tags-lazy-completion-table):
13920 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13921 * emacs-lisp/ewoc.el (ewoc--wrap):
13922 * emacs-lisp/assoc.el (aput, adelete, amake):
13923 * doc-view.el (doc-view-convert-current-doc):
13924 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13926 2012-04-26 Chong Yidong <cyd@gnu.org>
13928 * image.el (image-type-from-buffer): Only return supported image
13931 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13932 value, for symmetry with diff-end-of-hunk.
13933 (diff-split-hunk, diff-find-source-location)
13934 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13935 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13936 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13937 compute the relevant hunk or file properly (Bug#6005).
13938 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13940 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13949 * vc/vc.el: Replace lexical-let by lexical-binding.
13950 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13951 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13952 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13954 2012-04-26 Chong Yidong <cyd@gnu.org>
13956 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13957 (diff-mode-shared-map): Bind it to / and [remap undo].
13959 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13960 (ediff-window-setup-function): Use it as the default, to set up
13961 windows based on whether the current frame is graphical (Bug#2138).
13962 (ediff-choose-window-setup-function-automatically): Make obsolete.
13964 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13966 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13968 * ffap.el: Remove old code for obsolete package.
13969 (ffap-complete-as-file-p): Remove.
13971 Use completion-table-with-quoting for comint and pcomplete.
13972 * comint.el (comint--unquote&requote-argument)
13973 (comint--unquote-argument, comint--requote-argument): New functions.
13974 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13975 (comint-quote-filename): Use regexp-opt-charset.
13976 (comint--common-suffix, comint--common-quoted-suffix)
13977 (comint--table-subvert): Remove.
13978 (comint-unquote-function, comint-requote-function): New vars.
13979 (comint--complete-file-name-data): Use them with
13980 completion-table-with-quoting.
13981 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13982 * pcomplete.el (pcomplete-arg-quote-list)
13983 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13984 (pcomplete-unquote-argument-function): Default to non-nil.
13985 (pcomplete-unquote-argument): Simplify.
13986 (pcomplete--common-quoted-suffix): Remove.
13987 (pcomplete-requote-argument-function): New var.
13988 (pcomplete--common-suffix): New function.
13989 (pcomplete-completions-at-point): Use completion-table-with-quoting
13990 and completion-table-subvert.
13992 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13993 (minibuffer--double-dollars): Preserve properties.
13994 (completion--sifn-requote): New function.
13995 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13997 * minibuffer.el: Add support for completion of quoted/escaped data.
13998 (completion-table-with-quoting, completion-table-subvert): New funs.
13999 (completion--twq-try, completion--twq-all): New functions.
14000 (completion--nth-completion): New function.
14001 (completion-try-completion, completion-all-completions): Use it.
14003 2012-04-25 Leo Liu <sdl.web@gmail.com>
14005 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14006 Use compilation-message if available to find real filename.
14008 2012-04-25 Chong Yidong <cyd@gnu.org>
14010 * vc/diff-mode.el (diff-setup-whitespace): New function.
14011 (diff-mode): Use it.
14013 * vc/diff.el (diff-sentinel):
14014 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14015 Whitespace mode variables based on diff style (Bug#8612).
14017 2012-04-25 Leo Liu <sdl.web@gmail.com>
14019 * progmodes/python.el (python-send-region): Add suffix .py to the
14022 * files.el (auto-mode-alist): Use javascript-mode instead.
14024 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14026 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14028 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14029 (soap-resolve-references-for-array-type): Hack to prevent self
14030 references, see Bug#9.
14031 (soap-parse-envelope): Report the contents of the 'detail' node
14032 when receiving a fault reply.
14033 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14035 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14036 (soap-inspect-simple-type): New function.
14038 * net/soap-client.el (soap-simple-type): New struct.
14039 (soap-default-xsd-types, soap-default-soapenc-types)
14040 (soap-decode-basic-type, soap-encode-basic-type):
14041 support unsignedInt and double basic types.
14042 (soap-resolve-references-for-simple-type)
14043 (soap-parse-simple-type, soap-encode-simple-type): New function.
14044 (soap-parse-schema): Parse xsd:simpleType declarations.
14046 * net/soap-client.el (soap-default-xsd-types)
14047 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14048 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14049 the local name of "soapenc:Array".
14050 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14051 decoding integer, byte and anyURI xsd types.
14053 2012-04-25 Chong Yidong <cyd@gnu.org>
14055 * cus-edit.el (custom-buffer-create-internal): Update header text.
14057 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14059 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14060 settings on 'system-type', not on 'window-system'. On MS-Windows,
14061 set interactive-mode on in GDB.
14063 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14065 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14066 (ruby-syntax-propertize-regexp): Remove.
14067 (ruby-syntax-propertize-function): Split regexp into chunks.
14068 Match following code directly.
14070 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14072 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14073 (ruby-syntax-propertize-regexp): New function.
14074 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14075 by a special keyword.
14077 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14078 (ruby-syntax-general-delimiters-goto-beg)
14079 (ruby-syntax-propertize-general-delimiters): New functions.
14080 (ruby-syntax-propertize-function): Use them to handle GDL.
14081 (ruby-font-lock-keywords): Move old handling of GDL...
14082 (ruby-font-lock-syntactic-keywords): .. to here.
14083 (ruby-calculate-indent): Adjust indentation for GDL.
14085 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14087 * notifications.el (top): Remove unneeded declarations.
14088 (notifications-specification-version): Change to "1.2".
14089 (notifications-interface, notifications-notify-method)
14090 (notifications-close-notification-method): Fix docstring.
14091 (notifications-get-capabilities-method): New defconst.
14092 (notifications-notify): Add :action-items, :resident and
14093 :transient hints. Change "image_data" to "image-data" and
14094 "image_path" to "image-path".
14095 (notifications-get-capabilities): New defun.
14097 2012-04-24 Leo Liu <sdl.web@gmail.com>
14099 * progmodes/python.el: Move hideshow setup to the end.
14101 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14103 * window.el (handle-select-window): Clear echo area since this is
14104 no more done by read_char (Bug#11304).
14106 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14108 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14109 and `/ M' to filter-derived-mode.
14110 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14111 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14112 (ibuffer-mark-by-mode): Use default rather than initial-input.
14113 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14115 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14117 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14118 (ibuffer-filter-by-derived-mode): New filter.
14119 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14121 2012-04-23 Andreas Politz <politza@fh-trier.de>
14123 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14125 2012-04-23 Chong Yidong <cyd@gnu.org>
14127 * cus-edit.el (customize-apropos, customize-apropos-options):
14128 Disable matching of non-option variables (Bug#11176).
14129 (customize-option, customize-option-other-window)
14130 (customize-changed-options): Doc fix.
14131 (customize-apropos-options, customize-apropos-faces)
14132 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14134 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14135 Fix word list splitting (Bug#11132).
14136 (apropos-symbol, apropos-keybinding, apropos-label)
14137 (apropos-property, apropos-function-button)
14138 (apropos-variable-button, apropos-misc-button): New faces.
14139 (apropos-symbol-face, apropos-keybinding-face)
14140 (apropos-label-face, apropos-property-face, apropos-match-face):
14141 Variables removed (Bug#8396).
14142 (apropos-library-button, apropos-format-plist, apropos-print)
14143 (apropos-print-doc, apropos-describe-plist): Callers changed.
14145 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14147 * net/xesam.el (xesam-mode-map): Use let-bound map in
14148 initialization. (Bug#11292)
14150 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14152 Preserve ispell session localwords when switching back to
14155 * textmodes/ispell.el (ispell-buffer-session-localwords):
14156 New buffer-local variable to hold buffer session localwords.
14157 (ispell-kill-ispell): Add option 'clear to delete session
14159 (ispell-command-loop, ispell-change-dictionary)
14160 (ispell-buffer-local-words): Preserve session localwords when
14163 * textmodes/flyspell.el (flyspell-process-localwords)
14164 (flyspell-do-correct): Preserve session localwords when needed.
14166 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14168 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14169 using obsolete `translation-table-for-input'.
14170 (ispell-word, ispell-process-line, ispell-complete-word):
14171 Use plain `insert' instead of removed `ispell-insert-word'.
14173 2012-04-22 Chong Yidong <cyd@gnu.org>
14175 * cus-edit.el (custom-variable-menu)
14176 (custom-variable-reset-saved, custom-face-menu)
14177 (custom-face-reset-saved): If there is no saved value, make the
14178 "reset-saved" operation bring back the default (Bug#9509).
14179 (custom-face-state): Properly detect themed faces.
14181 * faces.el (face-spec-set): Stop supporting deprecated form of
14184 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14186 Move functions from C to Lisp. Make non-blocking method calls
14187 the default. Implement further D-Bus standard interfaces.
14189 * net/dbus.el (dbus-message-internal): Declare function.
14190 Remove unneeded function declarations.
14191 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14192 (dbus-message-type-method-return, dbus-message-type-error)
14193 (dbus-message-type-signal): Declare variables. Remove local
14195 (dbus-interface-dbus, dbus-interface-peer)
14196 (dbus-interface-introspectable, dbus-interface-properties)
14197 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14199 (dbus-interface-objectmanager): New defconst.
14200 (dbus-call-method, dbus-call-method-asynchronously)
14201 (dbus-send-signal, dbus-method-return-internal)
14202 (dbus-method-error-internal, dbus-register-service)
14203 (dbus-register-signal, dbus-register-method): New defuns, moved
14205 (dbus-call-method-handler, dbus-setenv)
14206 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14208 (dbus-call-method-non-blocking): Make it an obsolete function.
14209 (dbus-unregister-object, dbus-unregister-service)
14210 (dbus-handle-event, dbus-register-property)
14211 (dbus-property-handler): Obey the new structure of
14212 `bus-registered-objects'.
14213 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14214 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14215 Use `dbus-call-method'.
14217 2012-04-22 Chong Yidong <cyd@gnu.org>
14219 * cus-edit.el (custom-commands, custom-reset-menu)
14220 (Custom-reset-standard): Tweak labels.
14221 (custom-reset-button-menu): Change default to t.
14222 (custom-buffer-create-internal): For the custom-reset-button-menu
14223 case, put the revert button first.
14224 (custom-group-subtitle): New face.
14225 (custom-group-value-create): Align docstring to a specific column.
14227 * wid-edit.el (widget-documentation-link-add): Don't handle
14228 indentation in this function.
14229 (widget-documentation-string-indent-to): New function.
14230 (widget-documentation-string-value-create): Use it.
14232 * autorevert.el (auto-revert):
14233 * epg-config.el (epg):
14234 * ibuffer.el (ibuffer):
14237 * eshell/eshell.el (eshell):
14238 * net/ange-ftp.el (ange-ftp):
14239 * progmodes/ebnf2ps.el (postscript):
14240 * progmodes/flymake.el (flymake):
14241 * progmodes/prolog.el (prolog):
14242 * progmodes/verilog-mode.el (verilog-mode):
14243 * progmodes/which-func.el (which-func):
14244 * term/xterm.el (xterm):
14245 * textmodes/picture.el (picture):
14246 * textmodes/tildify.el (tildify):
14247 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14248 customization buffers.
14250 2012-04-22 Alan Mackenzie <acm@muc.de>
14252 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14253 Adding a ) can hide the resulting (..) from searches. Fix it.
14254 Bound the backward search to the position of the existing (.
14256 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14258 * progmodes/verilog-mode.el (verilog-mode): Check whether
14259 which-func-modes is t before adding verilog-mode.
14260 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14262 2012-04-21 Leo Liu <sdl.web@gmail.com>
14264 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14266 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14268 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14269 filling of the last column of a table (Bug#5635).
14270 (woman-find-next-control-line): New arg, specifying an additional
14271 regexp component for the control line.
14272 (woman2-roff-buffer): Use it.
14273 (woman-break-table): New function.
14274 (woman2-TS): Use it.
14276 2012-04-21 Chong Yidong <cyd@gnu.org>
14278 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14279 (woman-horizontal-escapes, woman-negative-vertical-space)
14280 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14281 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14283 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14285 * minibuffer.el (completion-file-name-table): Complete user names.
14287 2012-04-20 Leo Liu <sdl.web@gmail.com>
14289 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14292 2012-04-20 Chong Yidong <cyd@gnu.org>
14294 * server.el (server-execute): Respect initial-buffer-choice if it
14295 is a string and there are no files to open (Bug#2825).
14296 (server-create-window-system-frame, server-create-tty-frame):
14297 Don't switch buffers here.
14298 (server-process-filter): Only try to open a window system frame if
14299 compiled with graphical support (Bug#8314).
14301 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14303 * battery.el (battery-echo-area-format): Display remaining time
14304 for sysfs backend too (Bug#11269).
14305 (battery-linux-sysfs): Fix conditional for the charge.
14307 2012-04-20 Chong Yidong <cyd@gnu.org>
14309 * progmodes/gdb-mi.el (gdb): Revert previous change.
14310 (gdb-inferior-io--init-proc): New function.
14311 (gdb-init-1): Use it.
14312 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14313 responsible for allocating a new pty and hooking it to gdb when
14314 the old pty gets an EIO due to process exit.
14315 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14316 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14317 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14319 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14321 * window.el (window-min-size, window-sizable, window-min-delta)
14322 (window-max-delta, window--resizable, window-resizable)
14323 (window-total-size, window-full-height-p, window-full-width-p)
14324 (window-in-direction, window--resize-mini-window, window-resize)
14325 (window--resize-child-windows-normal)
14326 (window--resize-child-windows, window--resize-siblings)
14327 (window--resize-this-window, adjust-window-trailing-edge)
14328 (enlarge-window, shrink-window): Doc fixes.
14330 2012-04-20 Chong Yidong <cyd@gnu.org>
14332 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14333 New function to call delete-process on the gdb-inferior buffer's pty.
14334 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14335 pty process (Bug#11273).
14336 (gdb-update): New arg to suppress talking to the gdb process.
14337 (gdb-done-or-error): Use it.
14338 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14339 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14340 sentinel not being called.
14342 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14344 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14346 2012-04-20 Glenn Morris <rgm@gnu.org>
14348 * net/network-stream.el (open-network-stream): Doc fix.
14350 2012-04-20 Chong Yidong <cyd@gnu.org>
14352 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14354 2012-04-20 Alan Mackenzie <acm@muc.de>
14356 Ensure searching for keywords is case sensitive.
14358 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14359 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14360 (c-defun-name, c-mark-function, c-cpp-define-name)
14361 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14362 (c-context-line-break): Bind case-fold-search to nil.
14364 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14365 Bind case-fold-search to nil.
14367 2012-04-20 Chong Yidong <cyd@gnu.org>
14369 * mail/sendmail.el (mail-bury): Call return action with the right
14370 Rmail buffer (Bug#11242).
14372 * server.el (server-process-filter): Handle corner case where both
14373 tty and nowait options are present (Bug#11102).
14375 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14377 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14378 (top level): Put into the executable the ident-style '$Id:' tag on
14379 windows-nt as well.
14381 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14383 * electric.el (electric-indent-post-self-insert-function): Check that
14384 electric-indent-mode is enabled in current buffer.
14386 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14388 * imenu.el (imenu-progress-message): Restore; it is "used" in
14389 erc/erc-imenu.el and net/snmp-mode.el.
14391 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14393 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14394 (mouse-avoidance-nudge-mouse): Remove unused binding.
14396 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14398 * descr-text.el (describe-char):
14399 * progmodes/python.el (python-describe-symbol):
14400 Don't call `toggle-read-only', set `buffer-read-only'.
14402 * imenu.el (imenu-default-goto-function): Mark unused args.
14403 (imenu-progress-message): Remove obsolete macro; all callers changed.
14405 * subr.el (keymap-canonicalize): Remove unused binding.
14406 (read-passwd): Mark unused arg.
14408 * tutorial.el (tutorial--display-changes): Remove unused binding.
14409 (tutorial--save-tutorial-to): Remove unused variable.
14411 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14412 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14413 (package-generate-autoloads, package-menu--generate)
14414 (package-menu--find-upgrades): Remove unused bindings.
14416 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14417 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14418 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14419 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14420 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14421 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14422 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14423 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14424 (cua-delete-char-rectangle): Mark unused args.
14425 (cua-align-rectangle): Remove unused binding.
14427 * mail/rmail.el (compilation--message->loc)
14428 (epa--find-coding-system-for-mime-charset): Declare.
14430 * net/dbus.el (dbus-register-service): Declare.
14431 (dbus-name-owner-changed-handler): Remove unused binding.
14433 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14434 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14435 (nxml-scan-backward-within): Mark unused arg.
14436 (nxml-dynamic-markup-word): Remove unused binding.
14438 * mouse.el (mouse-menu-major-mode-map):
14439 * emacs-lisp/authors.el (authors-scan-change-log)
14440 (authors-add-to-author-list):
14441 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14442 * emacs-lisp/smie.el (smie-auto-fill):
14443 * mail/sendmail.el (mail-bury):
14444 * mail/unrmail.el (unrmail):
14445 * net/tls.el (open-tls-stream):
14446 * textmodes/picture.el (picture-mouse-set-point):
14447 Remove unused bindings.
14449 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14451 * net/tramp.el (tramp-action-password): Let-bind
14452 `enable-recursive-minibuffers' to t.
14454 2012-04-18 Sam Steingold <sds@gnu.org>
14456 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14457 instead of 'string to accommodate values like [f11].
14458 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14459 * progmodes/gdb-mi.el: Likewise.
14461 2012-04-18 Leo Liu <sdl.web@gmail.com>
14463 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14465 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14468 2012-04-18 Chong Yidong <cyd@gnu.org>
14470 * simple.el (line-move): Use forward-line if in batch mode
14473 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14475 * files.el (after-find-file): Do not try to add a final newline if
14476 the buffer is read-only (Bug#11156).
14478 2012-04-17 Richard Stallman <rms@gnu.org>
14480 * mail/rmail.el (rmail-start-mail):
14481 Pass (rmail-mail-return...) for the return-action.
14482 Pass (rmail-yank-current-message...) for the yank-action.
14483 (rmail-yank-current-message): New function.
14484 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14485 (rmail-reply): Likewise.
14486 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14488 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14489 buffer, not the last. Reject temp buffers. Use the rmail-mode
14490 buffer, not newbuf.
14492 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14494 * server.el (server-ensure-safe-dir): Simplify.
14496 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14498 * emacs-lisp/smie.el: Provide smarter auto-filling.
14499 (smie-auto-fill): New function.
14500 (smie-setup): Use it.
14502 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14504 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14506 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14507 (comment-indent): Use it.
14509 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14511 * ses.el: The overall change is to add cell renaming, that is
14512 setting fancy names for cell symbols other than name matching
14513 "\\`[A-Z]+[0-9]+\\'" regexp .
14514 (ses-localvars): Add ses--renamed-cell-symb-list.
14515 (ses-create-cell-variable): New defun.
14516 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14517 (ses-relocate-formula): Relocate formulas only for cells the
14518 symbols of which are not renamed, i.e. symbols whose names do not
14519 match regexp "\\`[A-Z]+[0-9]+\\'".
14520 (ses-relocate-all): Relocate values only for cells the symbols of
14521 which are not renamed.
14522 (ses-load): Create cells variables as the (ses-cell ...) are read,
14523 in order to check row col consistency with cell symbol name only
14524 for cells that are not renamed.
14525 (ses-replace-name-in-formula): New defun.
14526 (ses-rename-cell): New defun.
14528 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14530 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14531 New option (bug#11118).
14532 (perl-calculate-indent): Respect it.
14534 2012-04-17 Glenn Morris <rgm@gnu.org>
14536 * dired-aux.el (dired-mark-read-string): Doc fix.
14538 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14540 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14541 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14543 2012-04-17 Glenn Morris <rgm@gnu.org>
14545 * mouse.el (mouse-drag-track):
14546 * speedbar.el (speedbar-frame-mode):
14547 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14549 2012-04-16 Leo Liu <sdl.web@gmail.com>
14551 * progmodes/python.el: Trivial cleanup.
14553 2012-04-16 Glenn Morris <rgm@gnu.org>
14555 * vc/vc.el (vc-string-prefix-p):
14556 * vc/pcvs-util.el (cvs-string-prefix-p):
14557 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14558 * mpc.el (mpc-string-prefix-p):
14559 Make all of these into obsolete aliases for string-prefix-p.
14561 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14563 * textmodes/two-column.el: Move custom options to the start.
14564 (frame-width): Remove compat definition.
14565 (2C-associate-buffer, 2C-dissociate):
14566 Use with-current-buffer rather than save-excursion.
14567 (2C-dissociate): Force a mode-line update.
14568 (2C-autoscroll): Use ignore-errors.
14570 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14573 * emacs-lisp/cl-extra.el (*random-state*):
14574 Remove unnecessary declaration.
14576 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14578 * play/cookie1.el (cookie-snarf):
14579 Give an explicit error if input file cannot be read.
14581 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14583 * progmodes/perl-mode.el (c-macro-expand):
14584 Remove unnecessary autoload (it is in loaddefs.el).
14586 * textmodes/picture.el (picture-desired-column)
14587 (picture-update-desired-column): Convert comments to doc-strings.
14588 (picture-substitute): Remove function.
14589 (picture-mode-map): Initialize in the defvar.
14591 * woman.el: Remove eval-after-load for tar-mode.
14592 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14593 (woman-tar-extract-file): Autoload it.
14595 * frame.el (automatic-hscrolling): Make this alias obsolete.
14597 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14599 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14600 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14601 (ispell-dictionary-base-alist): Revert to original XEmacs
14602 friendly version for default. [:alpha:] will be added in
14603 `ispell-set-spellchecker-params' if needed.
14605 2012-04-16 Chong Yidong <cyd@gnu.org>
14607 * image.el (imagemagick--file-regexp): New variable.
14608 (imagemagick-register-types): Use it.
14609 (imagemagick-types-inhibit): Add :set function. Allow new value
14610 of t to inhibit all types.
14612 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14613 so we can preload it.
14615 * loadup.el (fboundp): Preload regexp-opt, needed by
14616 imagemagick-register-types.
14618 2012-04-15 Chong Yidong <cyd@gnu.org>
14620 * frame.el (scrolling): Remove nearly unused customization group.
14622 * scroll-all.el (scroll-all-mode): Move to windows group.
14624 2012-04-15 Chong Yidong <cyd@gnu.org>
14626 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14628 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14630 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14631 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14633 2012-04-15 Glenn Morris <rgm@gnu.org>
14635 * simple.el (process-file-side-effects): Doc fix.
14637 2012-04-15 Glenn Morris <rgm@gnu.org>
14639 * international/mule-cmds.el (set-language-environment): Doc fix.
14641 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14643 * server.el (server-auth-key, server-generate-key): Doc fixes.
14644 (server-get-auth-key): Doc fix. Use `string-match-p'.
14645 (server-start): Reflow docstring.
14647 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14649 * server.el (server-generate-key): `called-interactively-p'
14650 requires a parameter.
14652 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14654 * server.el (server-auth-key): New variable.
14655 (server-generate-key, server-get-auth-key): New function.
14656 (server-start): Use the new variable and functions to allow
14657 setting a permanent server key (bug#9423).
14659 2012-04-14 Leo Liu <sdl.web@gmail.com>
14661 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14663 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14666 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14667 Emacs uses American spelling.
14669 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14671 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14672 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14673 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14674 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14676 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14678 * progmodes/which-func.el (which-func-modes): Change default.
14680 2012-04-14 Kim F. Storm <storm@cua.dk>
14682 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14683 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14685 2012-04-14 Chong Yidong <cyd@gnu.org>
14687 * custom.el (custom-theme-set-variables): Doc fix.
14689 2012-04-14 Glenn Morris <rgm@gnu.org>
14691 * international/mule.el (set-auto-coding-for-load): Doc fix.
14693 2012-04-14 Alan Mackenzie <acm@muc.de>
14695 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14696 imenu work again for Objective C Mode. Correct the *-index values,
14697 these having been disturbed by a previous change in 2011-08.
14699 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14700 Correct two search limits.
14702 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14704 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14706 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14708 * international/characters.el: Fix sorting.
14710 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14712 * international/characters.el: Add more missing Latin case pairs.
14714 2012-04-14 Glenn Morris <rgm@gnu.org>
14716 * files.el (dir-locals-set-class-variables): Doc fix.
14718 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14720 * international/characters.el: Add set-case-syntax-pair call for
14721 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14722 counterpart. (Bug#11209)
14724 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14726 2012-04-14 Glenn Morris <rgm@gnu.org>
14728 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14730 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14732 * textmodes/ispell.el (ispell-dictionary-base-alist):
14733 Add data for Hebrew.
14735 2012-04-14 Chong Yidong <cyd@gnu.org>
14737 * net/rcirc.el (rcirc-cmd-quit):
14738 Revert 2012-03-18 change (Bug#11192).
14740 2012-04-14 Glenn Morris <rgm@gnu.org>
14742 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14744 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14746 * minibuffer.el (completion-in-region-mode-map):
14747 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14749 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14751 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14753 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14755 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14756 to allow `C-M-f' and `C-M-b' to move to the nearest path
14757 separator (bug#9511).
14759 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14761 * avoid.el: Require cl when compiling. And also move the
14762 `provide' to the end.
14764 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14766 * avoid.el (mouse-avoidance-banish-position): New variable.
14767 (mouse-avoidance-banish-destination): Use it (bug#10165).
14769 2012-04-13 Leo Liu <sdl.web@gmail.com>
14771 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14773 2012-04-13 Ken Brown <kbrown@cornell.edu>
14775 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14776 this is no longer needed now that cygstart understands file:// URLs.
14777 (browse-url-filename-alist): For the same reason, don't modify
14778 file:// URLs on Cygwin.
14780 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14782 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14783 the region on shift if the binding is already shifted (bug#11221).
14785 2012-04-12 Glenn Morris <rgm@gnu.org>
14787 * mail/mailpost.el: Move to obsolete/.
14789 2012-04-12 Drew Adams <drew.adams@oracle.com>
14791 * imenu.el (imenu--generic-function): Ignore invisible definitions
14794 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14796 * hexl.el (hexl-bits): New variable.
14797 (hexl-options): Mention the variable in the doc string.
14798 (hexl-rulerise, hexl-line-displen): New functions.
14799 (hexl-mode): Mention the new variable.
14800 (hexl-mode, hexl-current-address, hexl-current-address):
14802 (hexl-ascii-start-column): New function.
14803 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14804 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14806 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14808 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14809 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14810 the encoding, as expected by hunspell.
14812 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14814 * battery.el (battery--linux-sysfs-regexp): New const.
14815 (battery-status-function): Use it. Remove yeeloong special case.
14816 (battery-yeeloong-sysfs): Remove.
14817 (battery-echo-area-format): Remove yeeloong special case.
14819 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14821 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14822 Reported by Noah Friedman.
14824 * subr.el (read-passwd): Use read-string.
14826 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14828 * vcursor.el (vcursor-move): Increase the priority of the overlay
14831 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14833 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14834 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14836 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14838 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14839 define-minor-mode (bug#10760).
14841 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14843 * progmodes/grep.el (rgrep): Tweak the find command line so
14844 that directories matching `grep-find-ignored-files' won't be
14845 pruned (bug#10351).
14847 2012-04-11 Chong Yidong <cyd@gnu.org>
14849 * startup.el (command-line): Remove support for long-obsolete
14850 variable font-lock-face-attributes.
14852 2012-04-11 Glenn Morris <rgm@gnu.org>
14854 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14856 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14858 * window.el (window--state-get-1): Obey window-point-insertion-type.
14860 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14862 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14863 to previous function when point is on the first character of a
14864 function. Take care of that in `narrow-to-defun' (bug#6157).
14866 2012-04-11 Glenn Morris <rgm@gnu.org>
14868 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14869 not just file-errors.
14871 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14872 (vc-bzr-sha1): Use internal sha1.
14874 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14876 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14878 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14880 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14881 that start in the middle of the line (bug#10496).
14883 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14885 * battery.el (battery-linux-proc-acpi): Only one battery is
14886 discharged at a time, but that seems to confuse battery.el when
14887 computing `rate-type' for the battery not being discharged
14890 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14892 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14894 * international/quail.el: Use dolist and simplify.
14895 (quail-define-package, quail-update-keyboard-layout)
14896 (quail-define-rules): Use dolist.
14897 (quail-insert-kbd-layout, quail-get-translation): CSE.
14899 * tmm.el: Use dolist, remove left over hook.
14900 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14902 (calendar-load-hook): Don't mess with it.
14904 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14905 Use derived-mode-p. Run the diff asynchronously.
14907 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14909 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14911 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14913 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14914 (list-dynamic-libraries--loaded): New function.
14915 (list-dynamic-libraries--refresh): Use it.
14917 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14919 * progmodes/python.el (python-fill-paragraph):
14920 Make python-fill-region in a multiline string work when font-lock is
14921 disabled (bug#7018).
14923 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14925 * language/european.el (cp775): Add oem/legacy (en)coding on
14926 DOS/MS Windows for the Baltic languages. There are still plenty
14927 of texts written in this encoding/codepage (bug#6519).
14929 2012-04-10 Glenn Morris <rgm@gnu.org>
14931 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14932 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14934 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14936 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14937 next-line "n" and previous-line "p" in order to make recentf more
14938 consistent with ibuffer, dired or org-mode (bug#9387).
14940 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14942 * image.el (put-image): Return the overlay created instead of the
14943 optional input string (bug#7834). Note that this may break code
14944 that is (for some reason or other) depending on `put-image'
14945 returning the string.
14947 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14949 * simple.el (zap-to-char): Allow zapping using input methods
14952 * textmodes/fill.el (fill-region): Leave point and mark where they
14953 were before filling (bug#5399).
14955 2012-04-09 Glenn Morris <rgm@gnu.org>
14957 * version.el (emacs-bzr-get-version):
14958 Handle lightweight checkouts of local branches.
14960 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14962 * international/characters.el: Recover lost case pairs. (Bug#11209)
14964 2012-04-09 Chong Yidong <cyd@gnu.org>
14966 * custom.el (custom-variable-p): Return nil for non-symbol
14967 arguments instead of signaling an error.
14968 (user-variable-p): Obsolete alias for custom-variable-p.
14970 * apropos.el (apropos-variable):
14971 * files-x.el (read-file-local-variable):
14972 * simple.el (set-variable):
14973 * woman.el (woman-mini-help):
14974 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14976 2012-04-09 Glenn Morris <rgm@gnu.org>
14978 * startup.el (normal-top-level): Don't look for leim-list.el
14979 in places where it will not be found. (Bug#910)
14981 * international/mule-cmds.el (set-default-coding-systems):
14982 * files.el (normal-mode):
14983 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14984 This function was removed with ucs-tables.el in 2008.
14986 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14988 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14989 ispell-encoding8-command to "-i", without a trailing space.
14990 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14991 separate command-line arguments, to specify the encoding, since
14992 that's how hunspell expects it.
14994 2012-04-08 Glenn Morris <rgm@gnu.org>
14996 * loadup.el: Load bindings before cus-start.
14997 This reduces somewhat the number of "rogue" settings in emacs -Q.
14999 2012-04-07 Glenn Morris <rgm@gnu.org>
15001 * version.el (emacs-bzr-get-version): New function.
15002 (emacs-bzr-version): New variable.
15003 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15004 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15006 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15008 * international/uni-bidi.el, international/uni-category.el:
15009 * international/uni-combining.el, international/uni-decimal.el:
15010 * international/uni-decomposition.el, international/uni-digit.el:
15011 * international/uni-lowercase.el, international/uni-mirrored.el:
15012 * international/uni-name.el, international/uni-numeric.el:
15013 * international/uni-titlecase.el, international/uni-uppercase.el:
15014 Update for Unicode 6.1.
15016 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15018 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15020 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15022 * window.el (shrink-window): Mention the `window-min-height'
15023 variable in the doc string.
15025 2012-04-05 Bastien Guerry <bzg@altern.org>
15027 * color.el (color-lighten-name): Fix typo.
15029 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15031 * server.el (server--on-display-p): New function.
15032 (server--on-display-p): Use it.
15034 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15036 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15039 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15041 * comint.el (comint--common-quoted-suffix): Check string boundary
15042 before comparing (bug#11158).
15043 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15045 2012-04-04 Chong Yidong <cyd@gnu.org>
15047 * minibuffer.el (completion-extra-properties): Doc fix.
15049 * subr.el (delayed-warnings-hook): Doc fix.
15051 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15053 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15054 selection (Bug#11159).
15055 (epa-insert-keys): Inform that the default public key will be
15056 exported if no key is selected.
15058 2012-04-04 Richard Stallman <rms@gnu.org>
15060 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15062 2012-04-03 Chong Yidong <cyd@gnu.org>
15064 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15065 mail-insert-file, not its obsolete alias mail-attach-file.
15067 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15069 * notifications.el (notifications-notify): Fix docstring.
15071 2012-04-02 Glenn Morris <rgm@gnu.org>
15073 * emacs-lisp/authors.el (authors-aliases): Another addition.
15075 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15077 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15078 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15079 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15081 2012-04-01 Chong Yidong <cyd@gnu.org>
15083 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15084 Handle root directory properly.
15085 (copy-directory): Caller changed.
15087 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15088 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15090 2012-03-31 Glenn Morris <rgm@gnu.org>
15092 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15094 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15096 * calendar/calendar.el (calendar-window-list)
15097 (calendar-hide-window): Restore. (Bug#11140)
15098 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15100 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15102 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15104 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15105 Check if file is a symlink (Bug#10489).
15107 * files.el (copy-directory): Likewise.
15109 2012-03-30 Chong Yidong <cyd@gnu.org>
15111 * image.el (imagemagick-types-inhibit)
15112 (imagemagick-register-types): Doc fix.
15114 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15116 * textmodes/ispell.el (ispell-get-extended-character-mode):
15117 Disable extended-char-mode for hunspell. hunspell does not support it
15118 and treats ~word as ordinary words in pipe mode.
15120 2012-03-30 Glenn Morris <rgm@gnu.org>
15122 * tutorial.el (help-with-tutorial): Ensure local variables don't
15123 happen to make the buffer read-only. (Bug#11127)
15125 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15127 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15128 (perl-calculate-indent): Return `noindent' in strings.
15130 2012-03-28 Sam Steingold <sds@gnu.org>
15132 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15133 instead of the broken adhockery which does not prevent calendar
15134 buffers from being displayed at random after exit.
15135 (calendar-window-list, calendar-hide-window): Remove the broken
15138 2012-03-28 Glenn Morris <rgm@gnu.org>
15140 * replace.el (query-replace-map): Doc fix.
15142 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15144 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15145 contents. (Bug#11109)
15147 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15149 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15151 (avl-tree--check, avl-tree--check-node): New funs.
15153 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15155 * window.el (switch-to-visible-buffer): New option.
15156 (switch-to-prev-buffer, switch-to-next-buffer):
15157 Observe switch-to-visible-buffer. Make sure that checking for a window
15158 showing a buffer already is done on the same frame.
15160 2012-03-27 Glenn Morris <rgm@gnu.org>
15162 * startup.el (mail-host-address): Doc fix.
15164 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15166 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15167 than 197 variables.
15169 2012-03-26 Ami Fischman <ami@fischman.org>
15171 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15173 2012-03-26 Glenn Morris <rgm@gnu.org>
15175 * files.el (save-buffers-kill-emacs): Doc fix.
15177 * startup.el (normal-top-level, command-line, command-line-1):
15178 Give them doc strings.
15180 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15182 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15183 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15185 2012-03-25 Chong Yidong <cyd@gnu.org>
15187 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15188 theme if it was previously enabled before (Bug#11031).
15190 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15191 spec with custom-face-get-current-spec if its :shown-value is not
15192 determined yet (Bug#9337).
15193 (customize-create-theme, custom-theme-revert): Doc fixes.
15195 * button.el (button-at): Minor addition to docstring.
15197 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15199 * vc/vc.el (vc-merge): Fix a prompt.
15201 2012-03-24 Chong Yidong <cyd@gnu.org>
15203 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15206 * button.el (button-at): Minor addition to docstring.
15208 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15210 * newcomment.el (comment-choose-indent): No space after BOL.
15212 2012-03-22 Sam Steingold <sds@gnu.org>
15214 * window.el (switch-to-prev-buffer): Revert last patch because the
15215 bug turned out to be an advertised feature (Elisp manual 28.14).
15217 2012-03-22 Glenn Morris <rgm@gnu.org>
15219 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15220 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15222 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15224 * net/network-stream.el (network-stream-open-starttls): Make error
15225 message under Windows be less misleading.
15227 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15229 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15230 understands (bug#9942).
15232 2012-03-22 Chong Yidong <cyd@gnu.org>
15234 * simple.el (end-of-visible-line): Handle return value of
15235 next-single-property-change properly (Bug#9371).
15237 2012-03-22 Kenichi Handa <handa@m17n.org>
15239 * international/quail.el (quail-insert-kbd-layout): Fix previous
15240 change. To avoid unwanted bidi reordering, use
15241 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15243 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15245 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15246 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15247 (ruby-beginning-of-indent): Be more careful with the difference
15248 between word-boundary and symbol boundary.
15249 (ruby-mode-syntax-table): Make : a symbol constituent.
15251 2012-03-21 Andreas Politz <politza@fh-trier.de>
15253 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15255 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15257 * progmodes/etags.el (tags-completion-at-point-function):
15260 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15262 2012-03-21 Sam Steingold <sds@gnu.org>
15264 * progmodes/etags.el (tags-completion-at-point-function):
15265 Avoid the error when point is inside the pattern.
15267 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15269 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15272 2012-03-21 Drew Adams <drew.adams@oracle.com>
15274 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15276 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15278 * ido.el (ido-set-current-directory, ido-read-internal)
15279 (ido-choose-completion-string, ido-completion-help): Handle nil
15280 value of ido-completion-buffer (Bug#11008).
15282 2012-03-21 Sam Steingold <sds@gnu.org>
15284 * window.el (switch-to-prev-buffer): Do not switch to a visible
15285 window previous buffer, just like with the frame previous buffers.
15287 2012-03-21 Chong Yidong <cyd@gnu.org>
15289 * faces.el (make-face, make-empty-face, copy-face):
15290 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15293 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15295 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15296 (widget-complete): Remove broken use of it.
15298 2012-03-20 Chong Yidong <cyd@gnu.org>
15300 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15301 Use string-width and truncate-string-width to handle arbitrary
15304 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15306 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15307 to draw rectangles, not squares. (Regression introduced by revno
15308 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15310 2012-03-18 Chong Yidong <cyd@gnu.org>
15312 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15313 it is not yet defined (for temacs).
15315 2012-03-18 Leo Liu <sdl.web@gmail.com>
15317 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15320 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15322 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15323 (ispell-choices-win-default-height, ispell-silently-savep)
15324 (ispell-dictionary-alist, ispell-encoding8-command)
15325 (ispell-check-version, ispell-aspell-find-dictionary)
15326 (ispell-valid-dictionary-list, ispell-words-keyword)
15327 (ispell-get-word, ispell-internal-change-dictionary)
15328 (ispell-region, ispell-skip-region-list)
15329 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15330 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15331 (ispell-message-text-end, ispell-message)
15332 (ispell-buffer-local-parsing): Doc fix.
15334 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15336 * htmlfontify.el: Add support for code block fontification for ODT
15337 export (Bug #9914).
15338 (hfy-optimisations): Define new option
15340 (hfy-fontify-buffer): Honor above setting.
15341 (hfy-begin-span, hfy-end-span): New routines factored out form
15342 `hfy-fontify-buffer'.
15343 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15344 that permit insertion of custom tags.
15345 (hfy-fontify-buffer): Use above handlers.
15346 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15347 (hfy-face-to-css): Re-defined to be a variable.
15348 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15349 over multiple runs. This is made possible by having the caller let
15350 bind a special variable `hfy-user-sheet-assoc'.
15351 (htmlfontify-string): New defun.
15352 (hfy-compile-face-map): Make sure that the last char in the
15353 buffer is correctly fontified.
15354 (hfy-face-resolve-face): Whitespace only change.
15356 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15358 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15359 message more clear.
15361 2012-03-16 Leo Liu <sdl.web@gmail.com>
15363 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15365 2012-03-16 Alan Mackenzie <acm@muc.de>
15367 Further optimize the handling of large macros.
15369 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15370 limit to a call of `c-literal-limits'.
15371 (c-determine-+ve-limit): New function.
15372 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15373 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15374 In CASE 5B, restrict a search limit to 500.
15375 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15377 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15378 Restrict macro bounds to +-500 from after-change's BEG END.
15380 2012-03-16 Leo Liu <sdl.web@gmail.com>
15382 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15384 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15386 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15387 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15389 2012-03-16 Glenn Morris <rgm@gnu.org>
15391 * view.el (view-buffer, view-buffer-other-window)
15392 (view-buffer-other-frame): Doc fixes re special mode-class.
15394 * subr.el (eval-after-load): If named feature is provided not from
15395 a file, run after-load forms. (Bug#10946)
15397 * calendar/calendar.el (calendar-insert-at-column):
15398 Handle non-unit-width characters a bit better. (Bug#10978)
15400 2012-03-15 Chong Yidong <cyd@gnu.org>
15402 * emacs-lisp/ring.el (ring-extend): New function.
15403 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15405 * comint.el (comint-read-input-ring)
15406 (comint-add-to-input-history): Grow comint-input-ring lazily.
15408 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15410 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15411 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15413 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15414 (imenu-add-to-menubar): Don't add a redundant index.
15415 (imenu-update-menubar): Handle a dynamically composed keymap.
15417 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15419 * mail/sendmail.el (mail-encode-header):
15420 Bind rfc2047-encode-encoded-words to nil.
15422 2012-03-13 Glenn Morris <rgm@gnu.org>
15424 * calendar/calendar.el (calendar-string-spread):
15425 Handle non-unit-width characters a bit better. (Bug#10978)
15427 2012-03-13 Leo Liu <sdl.web@gmail.com>
15429 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15430 directory and file as argument (Bug#10822).
15432 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15434 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15435 For dynamically generated code, follow $PC.
15436 (gdb-disassembly-handler-custom): Handle no function name case.
15438 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15440 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15441 * emulation/ws-mode.el (ws-query-replace):
15442 * sort.el (sort-regexp-fields):
15443 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15445 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15447 * dabbrev.el: Fix cycle completion order (bug#10963).
15448 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15449 (dabbrev-completion): Don't use an obarray; provide
15450 a cycle-sort-function.
15452 2012-03-12 Leo Liu <sdl.web@gmail.com>
15454 * simple.el (kill-new): Use equal-including-properties for comparison.
15455 (kill-do-not-save-duplicates): Doc fix.
15457 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15459 * dabbrev.el: Fix cycle completion (bug#10963).
15460 Use lexical binding and wrap to 80 columns.
15461 (dabbrev-completion): Delay computing the list of completions.
15463 2012-03-12 Kenichi Handa <handa@m17n.org>
15465 * international/quail.el (quail-insert-kbd-layout): Surround each
15466 row by LRO and PDF instead of inserting many LRMs. Pad the left
15467 and right of each non-spacing marks. Insert invisible space
15468 between lower and upper characters to prevent composition.
15470 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * minibuffer.el (minibuffer-complete): Don't get confused when the
15473 function is run twice via different commands (bug#10958).
15474 (complete-with-action): Fix docstring.
15476 2012-03-12 Chong Yidong <cyd@gnu.org>
15478 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15479 (nxml-completion-at-point-function): New function.
15480 (nxml-mode): Use it.
15481 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15483 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15484 Load generated autoloads file before byte compiling (Bug#10970).
15485 (package--make-autoloads-and-compile): New helper fun.
15487 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15489 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15491 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15493 * autorevert.el (auto-revert-handler): Ensure, that
15494 file-readable-p is applied only for local files or in
15495 auto-revert-tail-mode.
15497 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15499 * server.el (server-eval-at): Handle non-tcp connections.
15500 Decode result string.
15502 * server.el (server-msg-size): New constant.
15503 (server-reply-print): New function.
15504 (server-eval-and-print): Use it.
15505 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15506 Handle -print-nonl.
15508 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15510 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15513 2012-03-11 Chong Yidong <cyd@gnu.org>
15515 * simple.el (goto-line): Doc fix (Bug#9938).
15517 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15519 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15520 when finished (Bug#10963).
15522 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15524 * window.el (split-window-below): Fix bug in case where
15525 split-window-keep-point is nil (Bug#10971).
15527 2012-03-11 Juri Linkov <juri@jurta.org>
15529 * replace.el (replace-highlight): Set isearch-word to nil
15530 unconditionally. (Bug#10887)
15532 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15534 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15535 mairix-replace-illegal-chars; all callers changed. Don't remove
15536 ^, ~, and = characters: they are meaningful in mairix search specs.
15537 (mairix-widget-create-query): Add usage information about mairix
15538 search forms: negating words, searching for substrings, etc.
15540 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15542 * international/fontset.el (font-encoding-alist): Add an entry for
15543 ksx1001 (Bug#5667).
15545 2012-03-10 Richard Stallman <rms@gnu.org>
15547 * mail/sendmail.el (mail-encode-header):
15548 Set rfc2047-encode-encoded-words.
15550 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15552 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15553 view buffer means not swapped.
15554 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15555 (rmail-write-region-annotate): Error if real text has disappeared.
15557 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15559 2012-03-10 Chong Yidong <cyd@gnu.org>
15561 * emulation/cua-rect.el (cua--init-rectangles):
15562 * emulation/cua-base.el (cua--init-keymaps):
15563 Add delete-forward-char to remappings (Bug#9666).
15565 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15567 * speedbar.el (speedbar-unhighlight-one-tag-line):
15568 Avoid unhighlighting due to frame switching (Bug#10275).
15570 2012-03-10 Chong Yidong <cyd@gnu.org>
15572 * minibuffer.el (completion-in-region, completion-help-at-point):
15573 Give the completion field overlay a high priority (Bug#6830).
15575 * dired.el (dired-goto-file): Recognize absolute file name
15576 listings (Bug#7126).
15577 (dired-goto-file-1): New helper function.
15578 (dired-toggle-read-only): Inhibit warnings.
15580 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15582 * net/dbus.el (dbus-property-handler): Return empty array if
15583 there are no properties.
15585 2012-03-09 Leo Liu <sdl.web@gmail.com>
15587 * savehist.el (savehist-printable): Stricter check for string
15590 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15592 * mail/smtpmail.el (smtpmail-send-it):
15593 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15596 2012-03-09 Glenn Morris <rgm@gnu.org>
15598 * files.el (dir-locals-find-file):
15599 Don't check result is regular, readable.
15600 (dir-locals-read-from-file): Demote errors.
15602 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15604 * international/quail.el (quail-insert-kbd-layout):
15605 Insert invisible LRM characters before each character in a keyboard
15606 layout cell, to prevent their reordering by bidi display engine.
15607 For details, see the discussion in
15608 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15610 2012-03-08 Alan Mackenzie <acm@muc.de>
15612 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15613 the starting position; make it extend the marked region when
15614 invoked repeatedly - all under appropriate circumstances.
15615 Fixes bugs #5525, #10906.
15617 2012-03-08 Glenn Morris <rgm@gnu.org>
15619 * files.el (locate-dominating-file, dir-locals-find-file):
15620 Undo 2012-03-06 change.
15622 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15624 * international/quail.el (quail-help):
15625 Force bidi-paragraph-direction be left-to-right. See discussion in
15626 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15629 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15631 Avoid superfluous registering of signals. (Bug#10807)
15633 * notifications.el (notifications-on-action-object)
15634 (notifications-on-close-object): New defvars.
15635 (notifications-on-action-signal, notifications-on-closed-signal):
15636 Unregister the signal if not needed any longer.
15637 (notifications-notify): Register `notifications-action-signal' or
15638 `notifications-closed-signal', if :on-action or :on-close has been
15639 passed as argument.
15641 2012-03-07 Chong Yidong <cyd@gnu.org>
15643 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15646 2012-03-06 Glenn Morris <rgm@gnu.org>
15648 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15649 (x-disown-selection-internal, x-get-selection-internal):
15650 Doc fix (add arglist signatures). (Bug#10783)
15652 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15654 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15655 Handle breakpoints with no "type".
15657 2012-03-06 Glenn Morris <rgm@gnu.org>
15659 * files.el (locate-dominating-file): Add optional predicate argument.
15660 (dir-locals-find-file): Make use of above change.
15662 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15664 * info.el (Info-insert-dir): Also try "dir.gz".
15666 2012-03-06 Glenn Morris <rgm@gnu.org>
15668 * files.el (dir-locals-find-file):
15669 Ignore non-readable or non-regular files. (Bug#10928)
15671 * files.el (locate-dominating-file): Doc fix.
15673 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15675 * calendar/calendar.el (calendar-set-mode-line):
15676 `getenv' returns a string. (Bug#10951)
15678 2012-03-05 Leo Liu <sdl.web@gmail.com>
15680 * simple.el (backward-delete-char-untabify): Constrain point to
15683 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15685 2012-03-05 Chong Yidong <cyd@gnu.org>
15687 * simple.el (count-words): If called from Lisp, return the word
15688 count, for symmetry with `count-lines'. Arglist changed.
15689 (count-words--message): Args changed. Consolidate counting code
15690 from count-words and count-words-region.
15691 (count-words-region): Caller changed.
15692 (count-lines-region): Make it an obsolete alias.
15694 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15696 * saveplace.el (save-place-to-alist)
15697 (save-place-ignore-files-regexp): Allow value nil to disable this
15700 2012-03-04 Chong Yidong <cyd@gnu.org>
15702 * faces.el (face-spec-reset-face): For the default face, reset the
15703 attributes to default values (Bug#10748).
15705 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15707 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15708 previous patch: Check `message-send-mail-function', and not the
15709 default function (bug#10897).
15711 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15713 * notifications.el (notifications-on-action-signal)
15714 (notifications-on-closed-signal): Check for unique service name of
15715 incoming event. Fix error in removing entry.
15716 (top): Register for signals with wildcard service name.
15717 (notifications-notify): Use daemon unique service name for map entries.
15719 2012-03-04 Chong Yidong <cyd@gnu.org>
15721 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15723 2012-03-04 Glenn Morris <rgm@gnu.org>
15725 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15726 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15727 (expand-abbrev, define-abbrev-table): Doc fixes.
15729 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15731 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15732 `message-default-send-mail-function' and not `send-mail-function'
15733 when doing the prompting for `sendmail-query-once' before sending
15734 in Message buffers (bug#10897).
15736 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15737 This is inconsistent with all the other stream functions, which leave
15738 the setting up to the higher levels (if so wanted) (bug#10931).
15740 2012-03-02 Alan Mackenzie <acm@muc.de>
15742 Depessimize the handling of very large macros.
15744 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15745 (c-macro-cache-syntactic): New variables to implement a one
15746 element macro cache.
15747 (c-invalidate-macro-cache): New function.
15748 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15749 Adapt to use the new cache.
15750 (c-state-safe-place): Use better the cache of safe positions.
15751 (c-state-semi-nonlit-pos-cache)
15752 (c-state-semi-nonlit-pos-cache-limit):
15753 New variables for...
15754 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15755 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15756 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15757 Use c-state-semi-safe-place.
15759 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15760 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15762 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15764 * jka-compr.el (jka-compr-call-process):
15765 Apply `file-accessible-directory-p' only when the default directory is
15768 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15770 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15771 access of FILE2, if FILE1 does not exist.
15773 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15774 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15776 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15777 Add "PAGER=" to `process-environment'.
15779 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15781 * progmodes/sql.el: Bug fix
15782 (sql-get-login-ext): Save login values in globals.
15783 (sql-get-login): Use new version of `sql-get-login-ext'.
15784 (sql-interactive-mode): Set global `sql-connection' to nil.
15785 (sql-connect): Set global values for connection.
15786 (sql-product-interactive): Save global values as buffer local.
15788 2012-02-29 Leo Liu <sdl.web@gmail.com>
15790 * abbrev.el (define-abbrevs): Reset sys to nil.
15792 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15794 * files.el (file-equal-p): Rename from `files-equal-p'.
15795 Return nil when one or both files don't exist.
15796 (file-subdir-of-p): Now only top directory must exists,
15797 return nil if it doesn't.
15798 (copy-directory): No need to test with `file-subdir-of-p' after
15800 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15803 2012-02-28 Glenn Morris <rgm@gnu.org>
15805 * shell.el (shell-mode):
15806 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15807 * play/landmark.el (landmark-font-lock-face-O):
15808 * play/handwrite.el (handwrite):
15809 * play/gomoku.el (gomoku-O):
15810 * net/browse-url.el (browse-url-browser-display):
15811 * international/mule.el (define-charset):
15812 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15813 * filesets.el (filesets-find-file-delay):
15814 * eshell/em-xtra.el (eshell-xtra):
15815 * eshell/em-unix.el (eshell-grep):
15816 * emulation/viper.el (viper-mode):
15817 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15818 * emacs-lisp/easymenu.el (easy-menu-define):
15819 * calendar/timeclock.el (timeclock-use-display-time):
15821 * bookmark.el (bookmark-save-flag):
15822 Doc fix (standardize possessive apostrophe usage).
15824 2012-02-27 Chong Yidong <cyd@gnu.org>
15826 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15827 Fix key-binding lookup for ESC key (Bug#9146).
15829 * font-lock.el (font-lock-specified-p): Rename from
15830 font-lock-spec-present. Callers changed.
15832 2012-02-27 Daniel Hackney <dan@haxney.org>
15834 * emacs-lisp/package.el (package-compute-transaction):
15835 Handle holding a package version to t in package-load-list.
15837 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15839 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15840 (tramp-get-inode, tramp-get-device): Use cached values.
15842 2012-02-26 Alan Mackenzie <acm@muc.de>
15844 Check there is a font-lock specification before doing initial
15847 * font-core.el (font-lock-mode): Move the conditional from
15848 :after-hook to font-lock-initial-fontify.
15849 (font-lock-default-function): Move the check for a specification
15850 to font-lock-spec-present.
15852 * font-lock.el (font-lock-initial-fontify): Call ...
15853 (font-lock-spec-present): New function.
15855 2012-02-26 Jim Blandy <jimb@red-bean.com>
15857 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15858 (gdb-send): Apply it to the operand of the '-interpreter-exec
15859 console' command, so that we can pass arguments with (say) quotes
15860 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15862 2012-02-26 Chong Yidong <cyd@gnu.org>
15864 * help-fns.el (describe-function-1): Clarify description of
15865 remapping (Bug#10844).
15867 * files.el (files-equal-p): Doc fix.
15868 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15869 and quit the loop once a mismatch is found.
15871 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15873 * bs.el (bs--show-with-configuration): Don't throw an error
15874 if the window cannot be split; otherwise, subsequent calls to
15875 bs-show fail, restoring a stale window config. (Bug#10882)
15877 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15879 * term/ns-win.el (global-map): Bind ns-drag-file to
15880 ns-find-file (Bug#5855, Bug#10050).
15882 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15884 * calendar/parse-time.el (parse-time-string): Allow extractor to
15887 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15889 * net/tramp.el (tramp-file-name-for-operation):
15890 Add `files-equal-p' and `file-subdir-of-p'.
15892 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15893 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15894 Add COPY-CONTENTS argument.
15896 2012-02-25 Chong Yidong <cyd@gnu.org>
15898 Add custom groups for VC backends, for consistency with vc-bzr.
15900 * vc/vc-arch.el (vc-arch):
15901 * vc/vc-cvs.el (vc-cvs):
15902 * vc/vc-git.el (vc-git):
15903 * vc/vc-hg.el (vc-hg):
15904 * vc/vc-mtn.el (vc-mtn):
15905 * vc/vc-rcs.el (vc-rcs):
15906 * vc/vc-sccs.el (vc-sccs):
15907 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15908 All relevant defcustoms reassigned.
15910 2012-02-25 Chong Yidong <cyd@gnu.org>
15912 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15914 * term/x-win.el (x-initialize-window-system): Reduce default for
15915 x-selection-timeout to 5 seconds (Bug#8869).
15917 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15919 * files.el (files-equal-p, file-subdir-of-p): New functions.
15920 (copy-directory): Error when trying to copy a directory on itself.
15921 Add missing copy-contents arg to tramp handler.
15922 * dired-aux.el (dired-copy-file-recursive): Same.
15923 (dired-create-files): Modify destination when source is equal to
15924 dest when copying files.
15925 Return also when dest is a subdir of source. (Bug#10489)
15927 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15929 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15932 2012-02-23 Alan Mackenzie <acm@muc.de>
15934 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15935 parameter "after-hook:" to allow the expansion to run code after
15936 the execution of the mode hooks.
15938 * font-lock.el (font-lock-initial-fontify): New function extracted
15939 from font-lock-mode-internal.
15941 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15944 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15947 (completion--cache-all-sorted-completions): New function.
15948 (completion-all-sorted-completions): Use it.
15949 (completion--do-completion, minibuffer-force-complete):
15950 Use it to re-instate the flush hook.
15952 * icomplete.el (icomplete-completions): Replace last fix with a better
15955 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15957 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15958 when it might call us back infinitely (bug#10797).
15960 2012-02-23 Glenn Morris <rgm@gnu.org>
15962 * minibuffer.el (completion-category-overrides): Doc fix.
15964 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15967 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15969 2012-02-23 Glenn Morris <rgm@gnu.org>
15971 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15972 (authors-obsolete-files-regexps, authors-ignored-files)
15973 (authors-ambiguous-files, authors-renamed-files-alist):
15976 2012-02-23 Juri Linkov <juri@jurta.org>
15978 * isearch.el (isearch-occur): Sync interactive spec with occur's
15979 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15981 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15983 2012-02-22 Juri Linkov <juri@jurta.org>
15985 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15986 (ucs-insert): Doc fix. Check for hex digits in the string.
15987 Don't display `nil' in the error message. (Bug#10857)
15989 2012-02-22 Alan Mackenzie <acm@muc.de>
15991 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15993 2012-02-22 Glenn Morris <rgm@gnu.org>
15995 * ffap.el (ffap-c-path):
15996 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15998 2012-02-22 Chong Yidong <cyd@gnu.org>
16000 * custom.el (load-theme): Doc fix.
16002 2012-02-22 Glenn Morris <rgm@gnu.org>
16004 * dired-x.el (dired-guess-shell-alist-default):
16005 Remove escape sequences from nroff output. (Bug#172)
16007 2012-02-21 Glenn Morris <rgm@gnu.org>
16009 * vc/emerge.el (emerge-defvar-local):
16010 Set `permanent-local' property rather than unused `preserved'.
16012 * textmodes/picture.el (picture-delete-char): New alias.
16013 (picture-mode-map): Use it. (Bug#10860)
16014 (picture-mode): Doc fix.
16016 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16018 * newcomment.el (uncomment-region-default): Remove unused binding.
16020 2012-02-21 Glenn Morris <rgm@gnu.org>
16022 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16023 (picture-self-insert, picture-tab-chars): Doc fix.
16024 (picture-mode-map): Fix C-a, C-e.
16026 2012-02-20 Glenn Morris <rgm@gnu.org>
16028 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16030 2012-02-20 Leo Liu <sdl.web@gmail.com>
16032 * icomplete.el (icomplete-completions): Check FROM arg before
16033 passing to substring (Bug#10850).
16035 2012-02-19 Chong Yidong <cyd@gnu.org>
16037 * comint.el: Require ansi-color.
16038 (comint-output-filter-functions): Add ansi-color-process-output.
16040 * ansi-color.el: Don't set comint-output-filter-functions; it is
16041 now in the initial value defined in comint.el.
16042 (ansi-color-apply-face-function): New variable.
16043 (ansi-color-apply-on-region): Use it.
16044 (ansi-color-apply-overlay-face): New function.
16046 * shell.el (shell): No need to require ansi-color.
16047 (shell-mode): Use ansi-color-apply-face-function to highlight
16048 color escapes using font-lock-face property (Bug#10835).
16050 2012-02-19 Chong Yidong <cyd@gnu.org>
16052 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16053 mode-line formats (Bug#10839).
16055 2012-02-18 Glenn Morris <rgm@gnu.org>
16057 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16059 * mail/undigest.el (unforward-rmail-message): Doc fix.
16061 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16063 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16065 * international/characters.el (script-list): Sync with the latest
16066 Unicode Character Database.
16068 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16070 * international/titdic-cnv.el: Remove duplicate coding tag.
16071 * language/cham.el: Likewise.
16072 * language/tai-viet.el: Likewise.
16074 2012-02-18 Glenn Morris <rgm@gnu.org>
16076 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16077 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16078 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16079 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16080 * calendar/holidays.el (holiday-bahai-holidays)
16081 (calendar-holidays, list-holidays):
16082 Use utf-8 Bahá'í in doc-strings, menus, etc.
16084 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16086 * saveplace.el (save-place-ignore-files-regexp): New variable
16087 allowing for excluding files from saving their location of point.
16088 The default value matches the temporary commit message editing
16089 files from Git, SVN, Bazaar, and Mercurial.
16090 (save-place-to-alist): Use it.
16092 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16093 Stefan Monnier <monnier@iro.umontreal.ca>
16095 * newcomment.el (uncomment-region-default): Don't leave extra space
16096 when an arg is provided (bug#8150).
16098 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16100 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16102 2012-02-17 Glenn Morris <rgm@gnu.org>
16104 * net/socks.el: Require network-stream. (Bug#10599)
16106 2012-02-17 Kenichi Handa <handa@m17n.org>
16108 * international/charprop.el:
16109 * international/uni-name.el:
16110 * international/uni-old-name.el:
16111 * international/uni-comment.el: Regenerate.
16113 2012-02-16 Glenn Morris <rgm@gnu.org>
16115 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16116 Interactively in calendar buffer, give an error if not on a date.
16118 2012-02-15 Glenn Morris <rgm@gnu.org>
16120 * shell.el (shell-delimiter-argument-list):
16121 Revert 2011-02-17 change. (Bug#8027)
16123 2012-02-15 Chong Yidong <cyd@gnu.org>
16125 * minibuffer.el (completion-at-point-functions): Doc fix.
16127 * custom.el (defcustom): Doc fix; note use of defvar.
16129 2012-02-15 Glenn Morris <rgm@gnu.org>
16131 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16134 2012-02-14 Glenn Morris <rgm@gnu.org>
16136 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16138 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16140 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16141 way the ports list is computed.
16142 (smtpmail-query-smtp-server): Prompt the user for a port number if
16143 we can't connect to any of the standard ports (bug#10810).
16145 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16147 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16149 2012-02-13 Glenn Morris <rgm@gnu.org>
16151 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16153 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16155 * net/gnutls.el (gnutls-trustfiles): New variable.
16156 (gnutls-negotiate): Use it.
16158 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16160 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16161 does its stuff if Gnus is running.
16163 2012-02-13 Alan Mackenzie <acm@muc.de>
16165 Fix a loop in c-set-fl-decl-start.
16167 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16168 c-backward-syntactic-ws actually moves backwards.
16170 2012-02-13 Leo Liu <sdl.web@gmail.com>
16172 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16173 beginning so that all \C-o chars are removed.
16175 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16177 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16179 2012-02-12 Alan Mackenzie <acm@muc.de>
16181 Fix infinite loop with long macros.
16182 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16184 2012-02-12 Chong Yidong <cyd@gnu.org>
16186 * window.el (display-buffer): Doc fix (Bug#10785).
16188 2012-02-12 Glenn Morris <rgm@gnu.org>
16190 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16191 (x-disown-selection-internal, x-get-selection-internal):
16192 Sync docs with the xselect.c versions.
16194 * allout-widgets.el: Add missing license notice.
16196 2012-02-11 Glenn Morris <rgm@gnu.org>
16198 * select.el (x-get-selection-internal, x-own-selection-internal)
16199 (x-disown-selection-internal):
16200 * x-dnd.el (x-get-selection-internal): Update declarations.
16202 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16204 * window.el (window-sides-slots):
16205 * tool-bar.el (tool-bar-position):
16206 * term/xterm.el (xterm-extra-capabilities):
16207 * ses.el (ses-self-reference-early-detection):
16208 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16209 (verilog-auto-wire-type)
16210 (verilog-auto-delete-trailing-whitespace)
16211 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16212 (verilog-auto-tieoff-declaration):
16213 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16214 (sql-oracle-statement-starters, sql-oracle-scan-on):
16215 * progmodes/prolog.el (prolog-align-comments-flag)
16216 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16217 (prolog-left-indent-regexp, prolog-paren-indent-p)
16218 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16219 (prolog-types, prolog-mode-specificators)
16220 (prolog-determinism-specificators, prolog-directives)
16221 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16222 (prolog-electric-dot-flag)
16223 (prolog-electric-dot-full-predicate-template)
16224 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16225 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16226 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16227 (prolog-program-switches, prolog-prompt-regexp)
16228 (prolog-debug-on-string, prolog-debug-off-string)
16229 (prolog-trace-on-string, prolog-trace-off-string)
16230 (prolog-zip-on-string, prolog-zip-off-string)
16231 (prolog-use-standard-consult-compile-method-flag)
16232 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16233 (prolog-imenu-max-lines, prolog-info-predicate-index)
16234 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16235 (prolog-char-quote-workaround):
16236 * progmodes/cc-vars.el (c-defun-tactic):
16237 * net/tramp.el (tramp-encoding-command-interactive)
16238 (tramp-local-end-of-line):
16239 * net/soap-client.el (soap-client):
16240 * net/netrc.el (netrc-file):
16241 * net/gnutls.el (gnutls):
16242 * minibuffer.el (completion-category-overrides)
16243 (completion-cycle-threshold)
16244 (completion-pcm-complete-word-inserts-delimiters):
16245 * man.el (Man-name-local-regexp):
16246 * mail/feedmail.el (feedmail-display-full-frame):
16247 * international/characters.el (glyphless-char-display-control):
16248 * eshell/em-ls.el (eshell-ls-date-format):
16249 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16250 (lisp-lambda-list-keyword-parameter-indentation)
16251 (lisp-lambda-list-keyword-parameter-alignment):
16252 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16253 * dired-x.el (dired-omit-verbose):
16254 * cus-theme.el (custom-theme-allow-multiple-selections):
16255 * calc/calc.el (calc-highlight-selections-with-faces)
16256 (calc-lu-field-reference, calc-lu-power-reference)
16257 (calc-note-threshold):
16258 * battery.el (battery-mode-line-limit):
16259 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16260 (archive-7z-update):
16261 * allout.el (allout-prefixed-keybindings)
16262 (allout-unprefixed-keybindings)
16263 (allout-inhibit-auto-fill-on-headline)
16264 (allout-flattened-numbering-abbreviation):
16265 * allout-widgets.el (allout-widgets-auto-activation)
16266 (allout-widgets-icons-dark-subdir)
16267 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16268 (allout-widgets-theme-dark-background)
16269 (allout-widgets-theme-light-background)
16270 (allout-widgets-item-image-properties-emacs)
16271 (allout-widgets-item-image-properties-xemacs)
16272 (allout-widgets-run-unit-tests-on-load)
16273 (allout-widgets-time-decoration-activity)
16274 (allout-widgets-hook-error-post-time)
16275 (allout-widgets-track-decoration):
16276 Add missing :version tags to new defcustoms and defgroups.
16278 * progmodes/sql.el (sql-ansi-statement-starters)
16279 (sql-oracle-statement-starters): Add custom type.
16281 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16282 (prolog-system-version): Give it a type.
16284 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16286 * term/pc-win.el (x-select-text, x-selection-owner-p)
16287 (x-own-selection-internal, x-disown-selection-internal)
16288 (x-get-selection-internal): Sync doc strings and argument lists
16289 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16291 2012-02-11 Leo Liu <sdl.web@gmail.com>
16293 * progmodes/python.el (python-end-of-statement): Fix infinite
16296 2012-02-10 Glenn Morris <rgm@gnu.org>
16298 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16299 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16301 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16303 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16304 about SMTP before checking the From header.
16306 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16307 into own function for reuse by emacsbug.el.
16309 2012-02-10 Leo Liu <sdl.web@gmail.com>
16311 * subr.el (condition-case-unless-debug): Rename from
16312 condition-case-no-debug. All callers changed.
16313 (with-demoted-errors): Fix caller.
16315 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16316 * nxml/rng-valid.el (rng-do-some-validation):
16317 * emacs-lisp/package.el (package-refresh-contents)
16318 (package-menu-execute):
16319 * desktop.el (desktop-create-buffer):
16320 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16322 2012-02-10 Glenn Morris <rgm@gnu.org>
16324 * textmodes/bibtex.el:
16325 Add missing :version tags for new/changed defcustoms.
16327 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16329 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16331 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16332 (smtpmail-via-smtp): Use it, or fall back on the From address.
16333 (smtpmail-send-it): Ditto.
16335 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16338 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16339 (byte-compile-tmp-var): New const.
16340 (byte-compile-defvar): Use it to minimize .elc size.
16341 Just use `defvar' rather than simulate it (bug#10761).
16343 2012-02-09 Glenn Morris <rgm@gnu.org>
16345 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16347 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16350 * progmodes/compile.el (compilation-error-screen-columns)
16351 (compilation-first-column, compilation-filter-start): Doc fixes.
16353 * vc/log-view.el (log-view-toggle-entry-display):
16354 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16356 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16357 (report-emacs-bug-can-use-xdg-email):
16358 (report-emacs-bug-insert-to-mailer): Doc fixes.
16359 (report-emacs-bug): Message fix.
16361 * net/browse-url.el (browse-url-can-use-xdg-open)
16362 (browse-url-xdg-open): Doc fixes.
16364 * electric.el (electric-indent-mode, electric-pair-mode)
16365 (electric-layout-rules, electric-layout-mode): Doc fixes.
16366 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16368 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16370 * server.el (server-unselect-display): Don't inadvertently kill
16371 the current buffer. (Bug#10729)
16373 2012-02-08 Glenn Morris <rgm@gnu.org>
16375 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16376 (sql-list-table): Doc fixes.
16378 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16379 Comment out (does nothing).
16381 * completion.el (dynamic-completion-mode):
16382 * dirtrack.el (dirtrack-debug-mode):
16383 * electric.el (electric-layout-mode):
16384 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16385 * face-remap.el (text-scale-mode, buffer-face-mode):
16386 * iimage.el (iimage-mode):
16387 * image-mode.el (image-transform-mode):
16388 * minibuffer.el (completion-in-region-mode):
16389 * scroll-lock.el (scroll-lock-mode):
16390 * simple.el (next-error-follow-minor-mode):
16391 * tar-mode.el (tar-subfile-mode):
16392 * tooltip.el (tooltip-mode):
16393 * vcursor.el (vcursor-use-vcursor-map):
16394 * wid-browse.el (widget-minor-mode):
16395 * emulation/tpu-edt.el (tpu-edt-mode):
16396 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16397 * international/iso-ascii.el (iso-ascii-mode):
16398 * language/thai-util.el (thai-word-mode):
16399 * mail/supercite.el (sc-minor-mode):
16400 * net/goto-addr.el (goto-address-mode):
16401 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16402 * progmodes/cwarn.el (cwarn-mode):
16403 * progmodes/flymake.el (flymake-mode):
16404 * progmodes/glasses.el (glasses-mode):
16405 * progmodes/hideshow.el (hs-minor-mode):
16406 * progmodes/pascal.el (pascal-outline-mode):
16407 * textmodes/enriched.el (enriched-mode):
16408 * vc/smerge-mode.el (smerge-mode):
16409 Doc fixes (minor mode argument).
16411 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16413 * ls-lisp.el (ls-lisp-sanitize): New function.
16414 (ls-lisp-insert-directory): Use it to fix or remove any elements
16415 in file-alist with missing attributes. (Bug#4673)
16417 2012-02-07 Alan Mackenzie <acm@muc.de>
16419 Fix spurious recognition of c-in-knr-argdecl.
16421 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16422 putative K&R region.
16424 2012-02-07 Alan Mackenzie <acm@muc.de>
16426 * progmodes/cc-engine.el (c-forward-objc-directive):
16427 Prevent looping in "#pragma mark @implementation".
16429 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16431 * notifications.el (notifications-on-closed-signal): Make `reason'
16432 optional. (Bug#10744)
16434 2012-02-07 Glenn Morris <rgm@gnu.org>
16436 * emacs-lisp/easy-mmode.el (define-minor-mode):
16437 Doc fixes for the macro and the mode it defines.
16439 * image.el (imagemagick-types-inhibit): Doc fix.
16441 * cus-start.el (imagemagick-render-type): Add it.
16443 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16445 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16446 Set the default at load time, too, so that `font-lock-fontify-buffer'
16447 can be called without setting up the entire mode first. This fixes
16448 a bug in `mm-inline-text' with C MIME parts.
16450 2012-02-06 Chong Yidong <cyd@gnu.org>
16452 * simple.el (list-processes--refresh): Delete exited processes
16455 * comint.el (comint-next-prompt): next-single-char-property-change
16456 and prev-single-char-property-change never return nil (Bug#8657).
16458 * custom.el (defcustom): Doc fix (Bug#9711).
16460 2012-02-05 Chong Yidong <cyd@gnu.org>
16462 * cus-edit.el (custom-variable-reset-backup): Quote the value
16463 before storing it in the customized-value property (Bug#6712).
16464 (custom-display): Add a customization type tag.
16465 (custom-buffer-create-internal): Improve tooltip message.
16467 * wid-edit.el (widget-field-value-get): New optional arg to
16468 suppress trailing whitespace truncation.
16469 (character): Use it (Bug#2689).
16471 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16473 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16474 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16476 2012-02-05 Chong Yidong <cyd@gnu.org>
16478 * cus-edit.el (custom-variable-value-create): For mismatched
16479 types, show the current value (Bug#7600).
16481 * custom.el (defcustom): Doc fix.
16483 2012-02-05 Glenn Morris <rgm@gnu.org>
16485 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16487 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16489 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16490 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16491 (pp-last-sexp): Use `looking-at-p'.
16493 2012-02-04 Glenn Morris <rgm@gnu.org>
16495 * files.el (revert-buffer):
16496 Doc fix (mention revert-buffer-in-progress-p).
16498 * emacs-lisp/ert-x.el (ert-simulate-command):
16499 Check deferred-action-list (which is obsolete) is bound.
16501 * subr.el (with-wrapper-hook): Doc fixes.
16503 * simple.el (filter-buffer-substring-functions)
16504 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16506 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16508 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16509 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16511 2012-02-04 Leo Liu <sdl.web@gmail.com>
16513 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16515 2012-02-04 Glenn Morris <rgm@gnu.org>
16517 * image.el (image-extension-data): Add obsolete alias.
16519 * isearch.el (isearch-update): Doc fix.
16521 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16523 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16525 2012-02-03 Glenn Morris <rgm@gnu.org>
16527 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16528 (image-animate-timeout): Doc fix.
16530 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16532 2012-02-02 Glenn Morris <rgm@gnu.org>
16534 * server.el (server-auth-dir): Doc fix.
16535 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16537 * subr.el (run-mode-hooks): Doc fix.
16539 2012-02-02 Juri Linkov <juri@jurta.org>
16541 * image-mode.el (image-toggle-display-image): Remove tautological
16542 `major-mode' from the `derived-mode-p' test.
16544 2012-02-02 Kenichi Handa <handa@m17n.org>
16546 * composite.el (compose-region): Cancel previous change.
16548 2012-02-02 Kenichi Handa <handa@m17n.org>
16550 * composite.el (compose-region, compose-string): Signal error for
16551 a null string component (Bug#6988).
16553 2012-02-01 Chong Yidong <cyd@gnu.org>
16555 * view.el (view-buffer-other-window, view-buffer-other-frame):
16556 Handle special modes like view-buffer (Bug#10650).
16557 (view-buffer): Simplify.
16559 * frame.el (set-frame-font): Tweak meaning of third argument.
16561 * dynamic-setting.el (font-setting-change-default-font):
16562 Use set-frame-font (Bug#9982).
16564 2012-02-01 Glenn Morris <rgm@gnu.org>
16566 * progmodes/compile.el (compilation-internal-error-properties):
16567 Respect compilation-first-column in the "*compilation*" buffer.
16569 * emacs-lisp/easy-mmode.el (define-minor-mode):
16570 Relax :variable's test for a named function.
16572 2012-01-31 Alan Mackenzie <acm@muc.de>
16574 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16577 2012-01-31 Chong Yidong <cyd@gnu.org>
16579 * frame.el (set-frame-font): New arg ALL-FRAMES.
16581 * menu-bar.el (menu-set-font): Use set-frame-font.
16583 * faces.el (face-spec-reset-face): Don't apply unspecified
16584 attribute values to the default face.
16586 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16588 * progmodes/cwarn.el (cwarn): Remove dead link.
16589 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16590 Remove * from defcustom docstrings.
16591 (turn-on-cwarn-mode): Make obsolete.
16592 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16593 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16595 2012-01-31 Glenn Morris <rgm@gnu.org>
16597 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16598 Fix :variable handling of mode a symbol not equal to modefun.
16599 Allow named functions to be used as the cdr of :variable.
16601 2012-01-30 Glenn Morris <rgm@gnu.org>
16603 * emacs-lisp/authors.el (authors-fixed-entries):
16604 Remove reference to deleted file rnewspost.el.
16606 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16608 * window.el (window-with-parameter): Remove unused variable `windows'.
16609 (window--side-check): Remove unused variable `code'.
16610 (window--resize-siblings): Remove unused variable `first'.
16611 (adjust-window-trailing-edge): Remove unused variable `failed'.
16612 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16613 Use `let', not `let*'.
16614 (balance-windows-2): Remove unused variable `found'.
16615 (window--state-put-2): Remove unused variable `splits'.
16616 (window-state-put): Remove unused variable `selected'.
16617 (same-window-p): Use `string-match-p'.
16618 (display-buffer-assq-regexp): Remove unused variable `value'.
16619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16620 Mark argument ALIST as ignored.
16621 (pop-to-buffer): Remove unused variable `old-window'.
16623 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16625 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16626 and .lzma compressed files.
16628 2012-01-29 Chong Yidong <cyd@gnu.org>
16630 * frame.el (window-system-default-frame-alist): Doc fix.
16632 * dynamic-setting.el (font-setting-change-default-font): Don't
16633 change the default face if SET-FONT argument is non-nil (Bug#9982).
16635 2012-01-29 Samuel Bronson <naesten@gmail.com>
16637 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16639 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16641 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16642 breakpoints in files outside current directory (Bug#6098).
16644 2012-01-29 Chong Yidong <cyd@gnu.org>
16646 * progmodes/python.el: Require ansi-color at top-level.
16648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16649 Define and use in Emacs Lisp mode (Bug#9360).
16650 (lisp-mode-abbrev-table): Add doc.
16651 (lisp-mode-variables): Don't set local-abbrev-table.
16652 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16654 2012-01-28 Roland Winkler <winkler@gnu.org>
16656 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16658 2012-01-28 Roland Winkler <winkler@gnu.org>
16660 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16661 (bibtex-set-dialect): Use it. Either set global values of
16662 dialect-dependent variables or bind these variables buffer-locally
16664 (bibtex-mode): Call bibtex-set-dialect via
16665 hack-local-variables-hook.
16666 (bibtex-dialect): Update docstring.
16667 Add safe-local-variable predicate.
16668 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16669 bibtex-set-dialect.
16670 (bibtex-mode-map): Define menu for each dialect.
16671 (bibtex-entry): Fix docstring.
16673 2012-01-28 Chong Yidong <cyd@gnu.org>
16675 * eshell/esh-arg.el (eshell-quote-argument): New function.
16677 * eshell/esh-ext.el (eshell-invoke-batch-file):
16678 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16679 first arg to eshell-parse-command (Bug#10523).
16681 2012-01-28 Drew Adams <drew.adams@oracle.com>
16683 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16684 `default-directory' is non-nil.
16686 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16688 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16689 line that displays system-configuration-options. (Bug#9924)
16691 2012-01-28 Drew Adams <drew.adams@oracle.com>
16693 * descr-text.el (describe-char): Show information about POS, in
16694 addition to information about the character at POS. Improve and
16695 update the doc string. Change "code point" to "code point in
16696 charset", to avoid confusion with the character's Unicode code
16697 point shown above that. (Bug#10129)
16699 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16701 * descr-text.el (describe-char): Show the raw character, not only
16702 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16703 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16706 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16708 * emacs-lisp/package.el (package-install):
16709 Run package-refresh-contents if there is no archive yet (Bug#9798).
16711 2012-01-28 Chong Yidong <cyd@gnu.org>
16713 * emacs-lisp/package.el (package-maybe-load-descriptor):
16714 New function, split from package-maybe-load-descriptor.
16715 (package-maybe-load-descriptor): Use it.
16716 (package-download-transaction): Fully load required packages
16717 inside the loop, so that `require' calls work (Bug#10593).
16718 (package-install): No need to call package-initialize now.
16720 2012-01-28 Chong Yidong <cyd@gnu.org>
16722 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16724 * tooltip.el (tooltip-mode): Doc fix.
16725 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16727 * frame.el (set-cursor-color): Doc fix (Bug#352).
16729 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16730 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16732 * cus-edit.el (custom-buffer-create-internal): Fix search button
16733 action (Bug#10542).
16734 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16736 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16738 * dired.el (dired-mark-files-regexp):
16739 Include any subdirectory components. (Bug#10445)
16741 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16743 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16744 Handle [host]:port syntax. (Bug#10533)
16746 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16748 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16750 2012-01-26 Glenn Morris <rgm@gnu.org>
16752 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16753 * term.el (term-raw-escape-map): Use Control-X-prefix.
16754 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16756 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16758 * window.el (window-state-get, window--state-get-1): Don't deal
16759 with fixed-sizeness of windows. Simplify code.
16761 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16763 * window.el (window--state-get-1, window--state-put-2):
16764 Don't save and restore the mark.
16766 2012-01-25 Chong Yidong <cyd@gnu.org>
16768 * custom.el (custom-variable-p): Doc fix.
16770 2012-01-25 Glenn Morris <rgm@gnu.org>
16772 * dired.el (dired-goto-file): Handle some of the more common
16773 characters that `ls -b' escapes. (Bug#10596)
16775 * progmodes/compile.el (compilation-next-error-function):
16776 Respect compilation-first-column in the "*compilation*" buffer.
16777 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16779 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16781 2012-01-24 Glenn Morris <rgm@gnu.org>
16783 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16785 2012-01-24 Julien Danjou <julien@danjou.info>
16787 * color.el (color-rgb-to-hsl): Fix value computing.
16788 (color-hue-to-rgb): New function.
16789 (color-hsl-to-rgb): New function.
16790 (color-clamp, color-saturate-hsl, color-saturate-name)
16791 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16792 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16794 2012-01-24 Glenn Morris <rgm@gnu.org>
16796 * vc/vc-rcs.el (vc-rcs-create-tag):
16797 * vc/vc-sccs.el (vc-sccs-create-tag):
16798 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16800 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16802 * eshell/esh-util.el (eshell-read-hosts-file):
16803 Skip comment lines. (Bug#10549)
16805 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16807 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16809 * subr.el (display-delayed-warnings): Doc fix.
16810 (collapse-delayed-warnings): New function to collapse identical
16812 (delayed-warnings-hook): Add it.
16814 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16816 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16818 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16819 (tramp-default-user-alist): Don't add "pscp".
16820 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16821 property "login-as", if set. (Bug#10530)
16823 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16825 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16826 "plink1" and "psftp". (Bug#10530)
16828 2012-01-21 Kenichi Handa <handa@m17n.org>
16830 * international/mule-cmds.el (prefer-coding-system): Show a
16831 warning message if the default value of file-name-coding-system
16834 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16836 * windmove.el (windmove-reference-loc):
16837 Fix windmove-reference-loc miscalculation.
16839 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16841 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16844 2012-01-21 Glenn Morris <rgm@gnu.org>
16846 * international/mule.el (auto-coding-alist): Add .tbz.
16848 * files.el (local-enable-local-variables): Doc fix.
16849 (inhibit-local-variables-regexps): Rename from
16850 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16851 Doc fix. Add some extensions from auto-coding-alist.
16852 (inhibit-local-variables-suffixes):
16853 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16854 (inhibit-local-variables-p):
16855 New function, extracted from set-auto-mode-1.
16856 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16857 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16858 (hack-local-variables): Doc fix. Make the mode-only case
16859 respect enable-local-variables and friends.
16860 Respect inhibit-local-variables-regexps for file-locals, but
16861 not for directory-locals.
16862 (set-visited-file-name):
16863 Take account of inhibit-local-variables-regexps.
16864 Whether it applies may change as the file name is changed.
16865 * jka-cmpr-hook.el (jka-compr-install):
16866 * jka-compr.el (jka-compr-uninstall):
16867 Update for inhibit-first-line-modes-suffixes name change.
16869 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16871 * help-macro.el (make-help-screen): Temporarily restore original
16872 binding for minor-mode-map-alist (Bug#10454).
16874 2012-01-19 Julien Danjou <julien@danjou.info>
16876 * color.el (color-name-to-rgb): Use the white color to find the max
16877 color component value and return correctly computed values.
16878 (color-name-to-rgb): Add missing float conversion for max value.
16880 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16882 * window.el (window--state-get-1, window-state-get): Do not use
16883 special state value for window-persistent-parameters.
16884 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16885 (window--state-put-2): Reset all window parameters to nil before
16886 assigning values of persistent parameters.
16888 2012-01-18 Alan Mackenzie <acm@muc.de>
16890 Eliminate sluggishness and hangs in fontification of "semicolon
16893 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16894 Change value 10000 -> 3000.
16895 (c-state-safe-place): Reformulate so it doesn't stack up an
16896 infinite number of wrong entries in c-state-nonlit-pos-cache.
16897 (c-determine-limit-get-base, c-determine-limit): New functions to
16898 determine backward search limits disregarding literals.
16899 (c-find-decl-spots): Amend commenting.
16900 (c-cheap-inside-bracelist-p): New function which detects "={".
16902 * progmodes/cc-fonts.el
16903 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16905 (c-font-lock-declarations): Fix an occurrence of point being
16906 undefined. Check additionally for point being in a bracelist or
16907 near a macro invocation without a semicolon so as to avoid a
16908 fruitless time consuming search for a declarator. Give a more
16909 precise search limit for declarators using the new
16912 2012-01-18 Glenn Morris <rgm@gnu.org>
16914 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16915 (set-auto-mode): Doc fixes.
16917 2012-01-17 Glenn Morris <rgm@gnu.org>
16919 * isearch.el (search-nonincremental-instead): Fix doc typo.
16921 * dired.el (dired-insert-directory): Handle newlines in directory name.
16922 (dired-build-subdir-alist): Unescape newlines in directory name.
16924 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16926 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16927 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16928 (tramp-action-terminal): Use it. (Bug#10530)
16930 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16932 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16934 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16936 * window.el (window-state-ignored-parameters): Remove variable.
16937 (window--state-get-1): Rename argument MARKERS to IGNORE.
16938 Handle persistent window parameters. Make copy of clone-of
16939 parameter only if requested. (Bug#10348)
16940 (window--state-put-2): Install a window parameter only if it has
16941 a non-nil value or an existing parameter shall be overwritten.
16943 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16945 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16947 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16949 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16950 don't pass the (nil) value of `upnode' to string-match.
16952 2012-01-14 Chong Yidong <cyd@gnu.org>
16954 * startup.el (command-line): Fix X resource class for cursorColor.
16955 Fix values recognized by the cursorBlink resource.
16957 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16959 * epg.el (epg--make-temp-file): Avoid permission race condition
16960 when running on old Emacs versions (bug#10403).
16962 2012-01-14 Glenn Morris <rgm@gnu.org>
16964 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16966 2012-01-13 Alan Mackenzie <acm@muc.de>
16968 Fix filling for when filladapt mode is enabled.
16970 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16971 c-mask-paragraph, pass in `fill-paragraph' rather than
16972 `fill-region-as-paragraph'. (This is a reversion of a previous
16974 * progmodes/cc-mode.el (c-basic-common-init):
16975 Make fill-paragraph-handle-comment buffer local and set it to nil.
16977 2012-01-13 Glenn Morris <rgm@gnu.org>
16979 * dired.el (dired-switches-escape-p): New function.
16980 (dired-insert-directory): Use dired-switches-escape-p.
16981 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16983 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16985 2012-01-12 Glenn Morris <rgm@gnu.org>
16987 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16988 changes in adaptive-fill-regexp. (Bug#10276)
16990 2012-01-11 Alan Mackenzie <acm@muc.de>
16992 Fix Emacs bug #10463 - put `widen's around the critical spots.
16994 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16995 widen around each invocation of c-state-pp-to-literal. Remove an
16996 unused let variable.
16998 2012-01-11 Glenn Morris <rgm@gnu.org>
17000 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17003 2012-01-10 Chong Yidong <cyd@gnu.org>
17005 * net/network-stream.el (network-stream-open-starttls):
17006 Avoid emitting a confusing error message when the server gives a bad
17007 response to the capability command.
17009 2012-01-10 Glenn Morris <rgm@gnu.org>
17011 * mail/unrmail.el (unrmail): Tweak previous change.
17013 2012-01-09 Chong Yidong <cyd@gnu.org>
17015 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17017 2012-01-08 Alan Mackenzie <acm@muc.de>
17019 Optimize font locking in long enum definitions.
17021 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17022 arm to a cond form to handle enums.
17023 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17024 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17026 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17028 * files.el (move-file-to-trash): Preserve default file modes on error.
17031 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17033 * faces.el (set-face-attribute): Clarify the meaning of the nil
17036 * subr.el (with-selected-frame): Mention that the selected frame
17037 is restored (bug#9980).
17039 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17042 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17043 (password-read): Don't autoload unused function.
17045 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17047 * progmodes/which-func.el (which-func-mode): Turn into a
17048 non-interactive function and mark as obsolete (bug#10428).
17050 2012-01-06 Chong Yidong <cyd@gnu.org>
17052 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17053 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17054 functions, along with 1 and -1.
17056 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17058 * time.el (display-time-load-average)
17059 (display-time-default-load-average): Doc fixes. See the thread
17061 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17064 2012-01-06 Glenn Morris <rgm@gnu.org>
17066 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17067 has no messages. (Bug#10377)
17069 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17070 than Info-edit. (Bug#10385)
17072 * time.el (display-time-load-average, display-time-next-load-average):
17075 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17076 local setting of buffer-read-only to the input buffer. (Bug#10419)
17078 * calendar/calendar.el (calendar-mode):
17079 Locally set scroll-margin to 0. (Bug#10379)
17081 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17083 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17085 2012-01-05 Glenn Morris <rgm@gnu.org>
17087 * eshell/em-unix.el (diff-no-select): Autoload it.
17088 (eshell/diff): Use diff-no-select. (Bug#10420)
17090 2012-01-05 Chong Yidong <cyd@gnu.org>
17092 * shell.el (shell-dynamic-complete-functions): Revert last change.
17093 (shell-command-completion-function): New function.
17094 (shell-completion-vars): Use it to implement
17095 shell-completion-execonly (Bug#10417).
17097 * custom.el (enable-theme): Don't set custom-safe-themes.
17099 * cus-theme.el (custom-theme-merge-theme):
17100 Ignore custom-enabled-themes and custom-safe-themes.
17102 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17104 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17105 first prompt in `sql-interacive-mode'.
17106 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17108 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17109 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17110 context of original buffer. Invoke `sql-login-hook'.
17112 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17114 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17115 letters in cite-prefix.
17117 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17119 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17121 2012-01-03 Chong Yidong <cyd@gnu.org>
17123 * shell.el (shell-dynamic-complete-functions):
17124 Put pcomplete-completions-at-point, so as to try
17125 comint-filename-completion first (Bug#10417).
17127 2012-01-02 Richard Stallman <rms@gnu.org>
17129 * battery.el (battery-status-function):
17130 Detect when to use battery-yeeloong-sysfs.
17131 (battery-echo-area-format): Add string for Yeeloong.
17132 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17133 (battery-yeeloong-sysfs): New function.
17135 2012-01-02 Chong Yidong <cyd@gnu.org>
17137 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17138 (dirtrack): Merge code for handling relative filenames in prompt
17139 from shell-dir-cookie-watcher.
17140 (dirtrack-debug-message): New arg to avoid excess format calls.
17142 * shell.el (shell-dir-cookie-re): Variable deleted.
17143 (shell-dir-cookie-watcher): Function deleted.
17144 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17145 with dirtrack-mode.
17147 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17149 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17150 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17153 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17155 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17157 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17159 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17160 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17162 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17164 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17165 also for alternative shells.
17166 (tramp-open-connection-setup-interactive-shell): Check, whether
17167 the shell is a busybox.
17168 (tramp-send-command): Don't suppress multiple prompts for
17169 busyboxes, it hurts.
17171 2011-12-28 Chong Yidong <cyd@gnu.org>
17173 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17174 (gdb-get-source-file): Move mode line update to
17175 gdb-get-source-file (Bug#10087).
17177 2011-12-25 Chong Yidong <cyd@gnu.org>
17179 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17180 gud-gdb-marker-filter without taking it as an argument.
17181 (gud-gdb-run-command-fetch-lines): Caller changed.
17182 (gud-gdb-completion-function): New variable.
17183 (gud-gdb-completion-at-point): Use it.
17184 (gud-gdb-completions-1): Split from gud-gdb-completions.
17186 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17187 function as separate arguments.
17188 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17189 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17190 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17191 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17192 (gdb-stopped, def-gdb-auto-update-trigger)
17193 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17194 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17196 (gud-gdbmi-completions): New function.
17197 (gdb): Use it for generating the completion table.
17199 2011-12-24 Alan Mackenzie <acm@muc.de>
17201 Introduce a mechanism to widen the region used in context font
17202 locking. Use this to protect declarations from losing their contexts.
17204 * progmodes/cc-langs.el (c-before-font-lock-functions):
17205 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17206 (c-before-context-fontification-functions): New defvar, a list of
17207 functions to be run just before context (etc.) font locking.
17209 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17210 New, functionality extracted from
17211 c-neutralize-syntax-in-and-mark-CPP.
17212 (c-in-after-change-fontification): New variable.
17213 (c-after-change): Set c-in-after-change-fontification.
17214 (c-set-fl-decl-start): Rejig its interface, so it can be called
17215 from both after-change and context fontifying.
17216 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17218 (c-standard-font-lock-fontify-region-function): New variable.
17219 (c-font-lock-fontify-region): New function.
17221 2011-12-24 Juri Linkov <juri@jurta.org>
17223 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17226 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17228 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17229 existence of source file. (Bug#10325)
17231 2011-12-23 Alan Mackenzie <acm@muc.de>
17233 Fix unstable fontification inside templates.
17235 * progmodes/cc-langs.el (c-before-font-lock-functions):
17236 Newly created from the singular version. The (c c++ objc) entry now
17237 additionally has c-set-fl-decl-start. The other languages (apart
17238 from AWK) have that as a single entry.
17240 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17241 The functionality for "local" declarations has been extracted to
17242 c-set-fl-decl-start.
17244 * progmodes/cc-mode.el (c-common-init, c-after-change):
17245 Changes due to pluralisation of c-before-font-lock-functions.
17246 (c-set-fl-decl-start): New function, extracted from
17247 c-font-lock-enclosing-decls and enhanced.
17249 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17251 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17253 2011-12-22 Juri Linkov <juri@jurta.org>
17255 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17257 2011-12-22 Chong Yidong <cyd@gnu.org>
17259 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17261 2011-12-21 Drew Adams <drew.adams@oracle.com>
17263 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17265 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17267 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17269 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17271 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17272 highlighting and support. Fix up comments for capitalization.
17273 (cfengine-mode-debug): New var.
17274 (cfengine3-mode): Change the modeline indicator to "CFE3".
17275 (cfengine3-font-lock-keywords): Improve defun highlighting.
17276 (cfengine2-actions): Rename from `cfengine-actions'.
17277 (cfengine2-font-lock-keywords): Rename from
17278 `cfengine-font-lock-keywords'.
17279 (cfengine2-imenu-expression): Rename from
17280 `cfengine-imenu-expression'.
17281 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17282 (cfengine2-beginning-of-defun): Rename from
17283 `cfengine-beginning-of-defun'.
17284 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17285 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17286 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17287 modeline indicator to "CFE2".
17288 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17289 (cfengine-mode-abbrevs): Mark obsolete.
17291 2011-12-21 Chong Yidong <cyd@gnu.org>
17293 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17296 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17298 * window.el (window-normalize-buffer-to-display): Remove.
17299 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17301 2011-12-19 Chong Yidong <cyd@gnu.org>
17303 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17304 Don't signal an error in a predicate function; return non-nil.
17305 (vc-dir-mark-file): Move the error here.
17306 (vc-dir-mark-unmark): If acting on the region, keep going if one
17307 of the entries cannot be marked/unmarked.
17308 (vc-dir-mark-all-files): If current entry is a directory, mark
17309 only child files, as documented.
17311 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17313 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17314 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17317 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17319 * term/ns-win.el (ns-get-selection-internal)
17320 (ns-store-selection-internal): Declare.
17321 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17322 Declare as obsolete.
17323 (ns-get-pasteboard, ns-paste-secondary):
17324 Use ns-get-selection-internal.
17325 (ns-set-pasteboard, ns-copy-including-secondary):
17326 Use ns-store-selection-internal.
17328 2011-12-17 Chong Yidong <cyd@gnu.org>
17330 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17331 (vc-deduce-fileset): Doc fix.
17333 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17335 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17337 2011-12-13 Sam Steingold <sds@gnu.org>
17339 * man.el (Man-getpage-in-background): When running under a
17340 window-system, ignore $MANWIDTH and $COLUMNS.
17342 2011-12-15 Kenichi Handa <handa@m17n.org>
17344 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17345 (setup-ethiopic-environment-internal): Comment out key-binding for
17346 ethio-toggle-punctuation.
17348 2011-12-13 Alan Mackenzie <acm@muc.de>
17350 Add the switch statement to AWK Mode.
17352 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17353 "default" to the keywords regexp.
17355 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17356 expression as the rest.
17357 (c-nonlabel-token-key): Allow string literals for AWK.
17358 Refactor for the other modes.
17360 Large brace-block initialisation makes CC Mode slow: Fix.
17361 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17362 routines. Limit backward searching in c-font-lock-enclosing.decl.
17364 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17365 pp-state and literal type in addition to the limits.
17366 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17367 (c-state-literal-at): Use the above new defun.
17368 (c-slow-in-literal, c-fast-in-literal): Remove.
17369 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17371 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17372 being in a literal. Add a limit for backward searching.
17374 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17377 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17379 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17381 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17383 * window.el (delete-other-windows): Use correct frame in call to
17384 window-with-parameter.
17386 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17388 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17389 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17390 (makefile-gmake-statements, makefile-makepp-statements):
17391 Use it and add new makepp keywords.
17392 (makefile-makepp-font-lock-keywords): Add new patterns.
17393 (makefile-match-function-end): Match new [...] and [[...]].
17395 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17397 * ses.el (ses-call-printer-return, ses-cell-property-get)
17398 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17399 (ses-create-cell-variable, ses-reset-header-string)
17400 (ses-cell-set-formula, ses-repair-cell-reference-all)
17401 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17402 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17403 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17404 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17405 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17406 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17407 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17408 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17409 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17410 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17411 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17412 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17414 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17416 * ses.el: The overall change is to add cell renaming, that is
17417 setting fancy names for cell symbols other than name matching
17418 "\\`[A-Z]+[0-9]+\\'" regexp .
17419 (ses-create-cell-variable): New defun.
17420 (ses-relocate-formula): Relocate formulas only for cells the
17421 symbols of which are not renamed, i.e. symbols whose names do not
17422 match regexp "\\`[A-Z]+[0-9]+\\'".
17423 (ses-relocate-all): Relocate values only for cells the symbols of
17424 which are not renamed.
17425 (ses-load): Create cells variables as the (ses-cell ...) are read,
17426 in order to check row col consistency with cell symbol name only
17427 for cells that are not renamed.
17428 (ses-replace-name-in-formula): New defun.
17429 (ses-rename-cell): New defun.
17431 2011-12-11 Chong Yidong <cyd@gnu.org>
17433 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17434 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17436 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17438 * window.el (other-window): Fix docstring.
17440 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17442 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17443 `from' or `to' address before taking its substring.
17444 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17445 encoded name is chopped in the middle of the encoded string, and
17446 thus displayed encoded.
17448 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17450 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17452 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17454 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17455 to use texinfo-update-node and commands that call it if the
17456 Texinfo file uses @node lines without next/prev/up pointers.
17457 Correct outdated description about texinfo-master-menu.
17458 (texinfo-all-menus-update, texinfo-master-menu)
17459 (texinfo-update-node, texinfo-every-node-update)
17460 (texinfo-multiple-files-update): Doc fix. Warn against updating
17461 all the @node lines.
17462 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17463 argument is numeric. Explain better in the doc string what the
17464 function really does.
17465 (texinfo-insert-master-menu-list): Improve the error message
17466 displayed if there's no menu in the Top node.
17467 (Bug#2975) See also this thread:
17468 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17470 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17472 * speedbar.el (speedbar-supported-extension-expressions):
17473 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17475 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17477 * printing.el (pr-mode-alist):
17478 * simple.el (filter-buffer-substring-functions)
17479 (completion-list-insert-choice-function):
17480 * window.el (window-with-parameter, window-atom-root)
17481 (window-sides-slots, window-size-fixed, window-min-delta)
17482 (window-max-delta, window--resize-mini-window)
17483 (window--resize-child-windows-normal, window-tree)
17484 (delete-other-windows, quit-window, split-window)
17485 (display-buffer-record-window, special-display-buffer-names)
17486 (special-display-regexps, special-display-popup-frame)
17487 (same-window-p, split-window-sensibly)
17488 (display-buffer-overriding-action, display-buffer-alist)
17489 (display-buffer-base-action, display-buffer, switch-to-buffer)
17490 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17491 (fit-window-to-buffer, recenter-positions)
17492 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17493 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17494 and remove unneeded backslashes in docstrings.
17496 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17498 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17500 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17501 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17503 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17504 when reading the makefile (bug#10116).
17506 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17508 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17511 2011-12-06 Glenn Morris <rgm@gnu.org>
17513 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17515 2011-12-06 Chong Yidong <cyd@gnu.org>
17517 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17519 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17521 * textmodes/table.el (table-shorten-cell): Fix typo.
17523 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17525 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17527 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17529 * descr-text.el (describe-char): Fix display of strong
17530 right-to-left characters and directional embeddings and overrides.
17532 * simple.el (what-cursor-position): Fix display of codepoints of
17533 strong right-to-left characters.
17535 2011-12-05 Chong Yidong <cyd@gnu.org>
17537 * faces.el (read-color): Doc fix.
17539 2011-12-05 Glenn Morris <rgm@gnu.org>
17541 * align.el (align--set-marker): Add doc-string.
17542 Don't try to move something that is not a marker. (Bug#10216)
17544 2011-12-04 Glenn Morris <rgm@gnu.org>
17546 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17547 overly zealous deletion of trailing whitespace.
17549 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17551 * server.el (server-delete-client): On Windows, do not try to delete
17553 (server-process-filter): On Windows, treat requests for a tty frame as
17554 if they were for a GUI frame if the running server is in GUI mode.
17556 2011-12-03 Glenn Morris <rgm@gnu.org>
17558 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17560 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17562 * electric.el: Streamline electric-indent's hook.
17563 (electric-indent-chars): Revert to simple list.
17564 (electric-indent-functions): New var.
17565 (electric-indent-post-self-insert-function): Use it.
17567 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17568 there's no inferior buffer (bug#10196).
17569 (prolog-consult-compile): Don't use toggle-read-only.
17571 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17573 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17574 interrupt. (Bug#10187)
17576 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17578 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17581 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17584 2011-12-02 Juri Linkov <juri@jurta.org>
17586 * info.el (Info-search): Display "end of manual" when Isearch
17587 reaches the end of single-file Info manual. (Bug#9918)
17589 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17591 * isearch.el (isearch-message-prefix): Run the input method part
17592 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17594 2011-12-02 Juri Linkov <juri@jurta.org>
17596 * isearch.el (isearch-occur): Use `word-search-regexp' for
17598 (isearch-search-and-update): Add condition for `isearch-word' and
17599 call `word-search-regexp'. (Bug#10145)
17601 2011-12-01 Glenn Morris <rgm@gnu.org>
17603 * eshell/em-hist.el (eshell-hist-initialize):
17604 Handle eshell-history-size nil and HISTSIZE set or unset.
17605 (eshell-history-file-name, eshell-history-size): Fix custom type.
17607 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17609 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17611 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17613 * progmodes/verilog-mode.el (verilog-pretty-expr):
17614 Rework verilog-pretty-expr to handle new assignment operators in system
17615 verilog, such as += *= and the like.
17616 (verilog-assignment-operator-re): Regular expression to find the
17617 assigment operator in a verilog assignment.
17618 (verilog-assignment-operation-re): Regular expression to find an
17619 assignment statement for pretty-expr.
17620 (verilog-in-attribute-p): Query returns true if point is in an
17621 attribute context; used to skip these for expression line up from
17623 (verilog-in-parameter-p): Query returns true if point is in an
17624 parameter definition context; used to skip these for expression
17625 line up from pretty-expr.
17626 (verilog-in-parenthesis-p): Query returns true if point is in a
17627 parenthetical expression, specifically ( ) but not [ ] or { };
17628 used by pretty-expr.
17629 (verilog-just-one-space): If there is no space, don't add one.
17630 (verilog-get-lineup-indent-2): Specifically skip just attribute
17631 contexts for expression lineup, rather than skipping all
17632 parenthetical expressions.
17633 (verilog-calculate-indent): Fix comment, and fix indent.
17634 (verilog-do-indent): Indent declarations in lists (suggested by
17636 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17638 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17641 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17643 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17644 parameters with embedded comments. Reported by Ray Stevens.
17645 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17646 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17647 Reported by Tim Holt.
17648 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17649 instantiated by upper module causing wrong expansion until AUTOed a
17650 second time. Reported by K C Buckenmaier.
17651 (verilog-diff-auto): Fix showing .* as a difference when
17652 `verilog-auto-star-save' off. Reported by Dan Dever.
17653 (verilog-auto-reset, verilog-read-always-signals)
17654 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17655 temporary signals in reset list if
17656 verilog-auto-reset-blocking-in-non is nil, and match assignment
17657 style to each signal's assignment type, bug381.
17658 Reported by Thomas Esposito.
17659 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17660 (verilog-uvm-statement-re): Support UVM indentation and
17661 highlighting, with old OVM keywords only.
17662 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17663 Support AUTOTIEOFF creating non-wire data types.
17664 Suggested by Jonathan Greenlaw.
17665 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17666 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17667 (verilog-inject-sense, verilog-read-inst-pins)
17668 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17669 Fix mismatching parenthesis inside commented out code when deleting
17670 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17671 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17672 non-numeric vector width. Reported by Alex Reed.
17673 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17674 detecting signals with parameter widths. Reported by Alex Reed.
17675 (verilog-auto-delete-trailing-whitespace):
17676 With `verilog-auto-delete-trailing-whitespace' remove trailing
17677 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17678 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17679 Fix verilog-scan-cache corruption when running user AUTO expansion
17680 hooks that call indentation routines.
17681 (verilog-simplify-range-expression): Fix typo ignoring lower case
17683 (verilog-delete-auto): Fix delete-autos to also remove user created
17684 automatics, as long as they start with AUTO.
17685 (verilog-batch-diff-auto, verilog-diff-auto)
17686 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17687 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17688 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17689 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17690 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17691 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17692 is disabled and its cache will get corrupt, causing AUTOS not to
17693 expand. Instead use only -quick functions.
17694 (verilog-scan-region): Fix scanning over escaped quotes.
17695 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17696 (verilog-re-search-backward-quick)
17697 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17698 related functions now ignore strings, to fix misparsing of strings
17699 with magic comments embedded in them.
17700 (verilog-read-auto-template):
17701 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17702 Reported by Brad Dobbie.
17703 (verilog-read-auto-template):
17704 Fix 'verilog-auto-inst-template-numbers' with comments.
17705 Reported by Brad Dobbie.
17706 (verilog-auto-inst, verilog-auto-inst-param)
17707 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17708 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17709 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17710 debugging templates without merge conflicts, bug357.
17711 Reported by Brad Dobbie.
17712 (verilog-read-auto-template):
17713 Fix verilog-auto-inst-template-numbers with multiple templates.
17714 Reported by Brad Dobbie.
17715 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17716 abbrevs so user won't be asked to save.
17717 (verilog-read-auto-lisp-present): Fix to start at beginning of
17718 buffer in case called outside of verilog-auto.
17719 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17720 to "X-2". Reported by Matthew Myers.
17721 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17722 all inputs from module templates. Reported by Leith Johnson.
17723 (verilog-module-inside-filename-p): Fix locating programs as with
17725 (verilog-auto-inst-port): Fix vl-width expressions when using
17726 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17727 (verilog-decls-get-regs, verilog-decls-get-signals,
17728 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17729 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17730 verilog-read-decls): Combine reg and wire structures into one var
17731 structure to represent SystemVerilog concepts.
17732 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17733 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17734 (verilog-auto-wire-type, verilog-insert-definition):
17735 Add verilog-auto-wire-type and AUTOLOGIC to support using
17736 SystemVerilog "logic" keyword instead of "wire"/"reg".
17737 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17738 to declares outputs that also have assignments (presumably in an
17739 ifdef or generate if so there's not a driver conflict).
17740 Reported by Matthew Myers.
17741 (verilog-auto-declare-nettype, verilog-insert-definition):
17742 Add verilog-auto-declare-nettype to fix declarations using
17743 `default_nettype none. Reported by Julian Gorfajn.
17744 (verilog-read-always-signals-recurse, verilog-read-decls)
17745 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17746 malformed end statement, bug325. Reported by Joshua Wise and
17748 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17749 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17750 when expanding .* in interfaces, bug320.
17751 Reported by Pierre-David Pfister.
17752 (verilog-read-module-name): Fix import statements between module
17753 name and open parenthesis, bug317.
17754 Reported by Pierre-David Pfister.
17755 (verilog-simplify-range-expression): Fix simplification of
17756 multiplications inside AUTOWIRE connections, bug303.
17757 (verilog-auto-inst-port): Support parameter expansion in
17758 multidimensional arrays.
17759 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17760 after "assert property". Reported by Julian Gorfajn.
17761 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17762 with multiplication, bug303.
17763 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17764 Reported by Jan Frode Lonnum.
17766 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17768 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17769 (hfy-shell-file-name, hfy-shell):
17770 * international/fontset.el (x-decompose-font-name): Fix typos.
17772 2011-11-29 Ken Brown <kbrown@cornell.edu>
17774 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17775 (gdb-version): Remove defvar.
17776 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17777 (gdb-gud-context-command, gdb-non-stop-handler)
17778 (gdb-current-context-command, gdb-stopped): Use it.
17779 (gdb-init-1): Enable pretty printing here.
17780 (gdb-non-stop-handler): Don't enable pretty-printing here.
17781 Check to see if the target supports non-stop mode; if not, turn off
17782 non-stop mode. Use the following.
17783 (gdb-check-target-async): New defun.
17784 (gud-watch, gdb-stopped): Fix whitespace.
17785 (gdb-get-source-file): Don't try to display the source file if
17786 `gdb-main-file' is nil.
17788 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17790 * align.el: Try to generate fewer markers (bug#10047).
17791 (align--set-marker): New macro.
17792 (align-region): Use it.
17794 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17796 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17798 2011-11-29 Chong Yidong <cyd@gnu.org>
17800 * indent.el (indent-for-tab-command, indent-according-to-mode):
17802 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17804 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17806 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17807 aware of remote file names. (Bug#10124)
17809 2011-11-29 Chong Yidong <cyd@gnu.org>
17811 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17813 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17815 * files.el (find-file): Don't use force-same-window (bug#10144).
17816 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17817 use pop-to-buffer if the selected window can't be used.
17818 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17820 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17822 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17825 2011-11-28 Chong Yidong <cyd@gnu.org>
17827 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17829 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17831 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17832 gdb-get-source-file-list on gdb-create-source-file-list.
17834 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17836 * whitespace.el (whitespace-newline): Use a different foreground
17837 color for 16-color light-background displays.
17839 2011-11-24 Chong Yidong <cyd@gnu.org>
17841 * window.el (display-buffer--special-action): Doc fix.
17843 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17845 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17846 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17847 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17848 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17849 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17850 (avl-tree-stack-first):
17851 * emacs-lisp/cconv.el (cconv--analyse-use):
17852 * net/gnutls.el (gnutls-negotiate): Fix typos.
17854 2011-11-24 Glenn Morris <rgm@gnu.org>
17856 * lpr.el (lpr-windows-system, lpr-lp-system):
17857 * mail/binhex.el (binhex-begin-line):
17858 * progmodes/grep.el (grep-history, grep-find-history):
17859 * textmodes/flyspell.el:
17860 * vc/pcvs-defs.el (cvs-global-menu):
17861 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17862 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17863 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17865 * net/tls.el: Fix case of "GnuTLS".
17867 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17869 * version.el (emacs-build-system): Give it a doc-string.
17871 2011-11-24 Juri Linkov <juri@jurta.org>
17873 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17875 2011-11-24 Glenn Morris <rgm@gnu.org>
17877 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17878 if called on a non-mime message just toggle the headers. (Bug#8006)
17880 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17882 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17883 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17884 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17885 (allout-rebullet-heading, allout-open-sibtopic)
17886 (allout-toggle-current-subtree-encryption)
17887 (allout-toggle-subtree-encryption, allout-encrypt-string)
17888 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17889 (allout-distinctive-bullets-string, allout-auto-activation):
17890 * window.el (window-normalize-buffer-to-display):
17891 * progmodes/verilog-mode.el (verilog-batch-indent):
17892 * textmodes/bibtex.el (bibtex-field-braces-opt)
17893 (bibtex-field-strings-opt):
17894 * vc/cvs-status.el (cvs-tree-merge):
17897 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17899 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17900 `non-essential' to t, in order to avoid remote connections.
17902 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17904 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17905 On MS-DOS and MS-Windows, compare with loaddefs.el
17906 case-insensitively.
17908 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17910 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17912 2011-11-23 Glenn Morris <rgm@gnu.org>
17914 * paths.el (rmail-file-name): Reformat the doc-string so that it
17917 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17918 (rmail-auto-file): Ignore case in the "special" field names,
17919 as mail-fetch-field does for all others.
17921 * mail/rmail.el (rmail-forward):
17922 * mail/rmailkwd.el (rmail-set-label):
17923 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17924 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17926 * mail/rmail.el (rmail-current-message): Doc fix.
17928 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17930 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17932 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17934 2011-11-22 Glenn Morris <rgm@gnu.org>
17936 * mail/rmailmm.el (test-rmail-mime-handler)
17937 (test-rmail-mime-bulk-handler)
17938 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17940 2011-11-21 Juri Linkov <juri@jurta.org>
17942 * calc/calc.el (calc-read-key-sequence):
17943 Let-bind `input-method-function' to nil. (Bug#10018)
17945 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17947 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17948 Tell the caller that the next line needs recomputation, even
17949 though it doesn't start a sexp (bug#10094).
17951 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17953 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17955 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17957 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17958 Use force-same-window.
17960 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17962 * descr-text.el (describe-char-unicode-data):
17963 * json.el (json-string-escape):
17964 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17965 (Footnote-unicode, Footnote-style-p):
17966 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17968 2011-11-20 Chong Yidong <cyd@gnu.org>
17970 * window.el (replace-buffer-in-windows): Restore interactive spec.
17972 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17974 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17976 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17977 (byte-compile-global-not-obsolete-vars): New var.
17978 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17980 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17982 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17984 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17985 * progmodes/pascal.el (electric-pascal-equal):
17986 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17987 * xml.el (xml-substitute-special): Fix typos.
17989 2011-11-20 Glenn Morris <rgm@gnu.org>
17991 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17992 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17994 (rmail-decode-mime-charset): Mark as obsolete.
17996 * mail/rmailsum.el (rmail-message-regexp-p-1):
17997 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17998 Before using mime functions, check they are set. (Bug#10077)
18000 2011-11-19 Juri Linkov <juri@jurta.org>
18002 * info.el (Info-finder-find-node): Use `package--builtins' instead
18003 of `package-alist'. Use node names formed by the pattern "Keyword "
18004 and the keyword name.
18006 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18008 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18010 2011-11-19 Juri Linkov <juri@jurta.org>
18012 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18013 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18014 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18015 `old-history', `old-history-forward'. Add let-binding
18016 `window-selected'. Remove calls to `kill-buffer',
18017 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18018 before calling `Info-find-node', so `Info-find-node-2' will reread
18019 the Info file. Restore window positions only when `window-selected'
18022 2011-11-19 Juri Linkov <juri@jurta.org>
18024 * isearch.el (isearch-lazy-highlight-new-loop):
18025 Remove condition `(not isearch-error)'. (Bug#9918)
18027 * misearch.el (multi-isearch-search-fun): Add condition
18028 `(not bound)' to ignore lazy-highlighting search.
18029 Add the search-failed message "end of multi" when the end of
18030 multi-sequence is reached. Uncapitalize the search-failed
18031 message "Repeat for next buffer".
18033 * info.el (Info-search): Add the search-failed message
18034 "end of the manual" when the end of the manual is reached
18037 2011-11-19 Juri Linkov <juri@jurta.org>
18039 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18040 Use non-destructive `remove' instead of `delete' because
18041 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18042 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18044 2011-11-19 Juri Linkov <juri@jurta.org>
18046 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18047 to nil instead of binding `search-ring' and `regexp-search-ring'.
18050 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18052 * simple.el (line-move): Force movement by logical lines for any
18053 hscrolled window, not only when auto-hscroll-mode is on.
18054 (line-move-visual): Update doc string to that effect. (Bug#10076)
18056 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18058 * language/european.el (macintosh): Define as alias for mac-roman.
18060 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18062 * mail/rmailmm.el (rmail-mime-display-header)
18063 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18064 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18065 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18066 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18067 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18069 (rmail-mime-entity-segment): To get past the tagline, move forward
18070 2 more lines, to account for the 2 empty lines that precede and
18071 follow the line with the buttons.
18072 (rmail-mime-update-tagline): Move one more line, to get past the
18073 empty line that follows the buttons in the tagline. (Bug#9520)
18075 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18077 * window.el (window-max-delta-1, window-min-delta-1)
18078 (window-min-size-1, window-state-get-1, window-state-put-1)
18079 (window-state-put-2): Use "window--" prefix.
18081 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18083 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18084 (smie-warning-count): New var.
18085 (smie-set-prec2tab): Use it.
18086 (smie-bnf->prec2): Improve warnings. Add docstring.
18087 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18088 (smie-bnf--set-class): New function.
18089 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18092 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18093 (compilation-error-properties, compilation-move-to-column):
18094 Handle compilation-first-column while in the target buffer.
18096 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18097 Don't hardcode point-min==1.
18099 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18100 (eshell-rewrite-for-command): Remove workaround.
18101 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18102 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18103 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18105 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18107 2011-11-17 Glenn Morris <rgm@gnu.org>
18109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18110 Ignore buffer-local generated-autoload-file if it is the same
18111 as the global value. (Bug#10049)
18113 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18115 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18116 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18117 (reftex-toc-previous-heading, reftex-toc-max-level)
18118 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18119 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18120 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18121 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18122 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18123 (reftex-toc-rename-label, reftex-toc-visit-location)
18124 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18125 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18126 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18127 leaving "*toc*" only for references to the buffer.
18129 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18131 * window.el (window-resize, delete-window, split-window):
18132 Replace window-splits by window-combination-resize.
18133 * cus-start.el (window-splits): Replace by window-combination-resize.
18135 2011-11-17 Glenn Morris <rgm@gnu.org>
18137 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18138 Make bash entry derive from sh entry, not shell entry.
18140 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18142 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18145 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18147 * menu-bar.el (menu-bar-file-menu):
18148 * printing.el (pr-ps-utility):
18149 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18150 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18151 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18152 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18153 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18154 (icalendar--convert-cyclic-to-ical)
18155 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18156 (icalendar--convert-ical-to-diary)
18157 (icalendar--convert-recurring-to-diary)
18158 (icalendar--convert-non-recurring-all-day-to-diary)
18159 (icalendar-import-format-sample):
18160 * progmodes/idlw-shell.el (idlwave-shell-mode):
18161 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18162 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18163 (vhdl-ps-print-init): Fix typos.
18165 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18167 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18168 FSF and collapse date sequence, obscure author/maintainer email address
18169 better, remove extra version line, track relocation of author's webpage.
18171 * progmodes/python.el (python-pdbtrack-input-prompt)
18172 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18173 regular python pdb prompts. Adjustments shamelessly taken exactly as
18174 suggested in EmacsWiki page (tiny change):
18175 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18177 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18179 * expand.el (expand-pos, expand-index, expand-point):
18180 Remove redundant info from docstring.
18181 (expand-add-abbrevs): Doc fix.
18182 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18183 (expand-sample-perl-mode-expand-list): Fix typos.
18185 * net/dbus.el (dbus-event-member-name):
18186 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18187 * term/pc-win.el (msdos-create-frame-with-faces):
18188 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18190 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18192 * window.el (split-window, window-state-get-1)
18193 (window-state-put-1, window-state-put-2): Rename occurrences of
18194 window-nest to window-combination-limit.
18195 * cus-start.el (window-nest): Rename to window-combination-limit.
18197 2011-11-16 Chong Yidong <cyd@gnu.org>
18199 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18200 regexp (Bug#10033).
18202 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18204 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18205 `completing-read' will remove *Completions* and will preserve
18206 current-buffer for us.
18207 (tmm-add-prompt): Users of *Completions* will always (re)set its
18209 (tmm-old-comp-map): Remove.
18211 2011-11-16 Glenn Morris <rgm@gnu.org>
18213 * mail/rmailedit.el: Require rmailmm when compiling.
18214 (rmail-old-mime-state): New declaration.
18215 (rmail-edit-current-message): If editing a mime message,
18216 edit the "raw" message from the mbox buffer.
18217 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18219 2011-11-15 Glenn Morris <rgm@gnu.org>
18221 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18222 which wasn't being used. Add optional arg to force given state.
18223 (rmail-mime): Add optional arg to force given state.
18225 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18227 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18228 * frame.el (display-mm-dimensions-alist):
18229 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18230 (outline-move-subtree-down):
18231 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18232 (newsticker--treeview-do-get-node):
18233 * net/quickurl.el (quickurl-list-buffer-name):
18234 * progmodes/dcl-mode.el (dcl-mode):
18235 * progmodes/gdb-mi.el (gdb-mapcar*):
18236 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18238 2011-11-15 Glenn Morris <rgm@gnu.org>
18240 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18241 in a boolean sense, so just make it a boolean, and fix the doc.
18242 (rmail-show-mime-function, rmail-mime-feature)
18243 (rmail-require-mime-maybe): Doc fixes.
18244 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18246 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18248 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18250 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18251 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18252 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18253 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18255 2011-11-15 Glenn Morris <rgm@gnu.org>
18257 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18258 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18259 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18260 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18261 (rmail-mime, rmail-show-mime): Doc fixes.
18263 * term/ns-win.el (mode-line-frame-identification):
18264 Leave it alone. (Bug#10051)
18266 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18268 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18269 Handle empty buffers. (Bug#9978)
18271 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18273 * international/mule.el (define-charset):
18274 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18275 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18276 * progmodes/verilog-mode.el (verilog-backward-token):
18277 * textmodes/ispell.el (lookup-words):
18278 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18280 2011-11-14 Glenn Morris <rgm@gnu.org>
18282 * progmodes/executable.el
18283 (executable-make-buffer-file-executable-if-script-p):
18284 Handle file-modes returning nil.
18286 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18287 message - not necessary, and causes problems. (Bug#9831)
18289 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18291 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18293 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18294 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18295 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18297 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18299 * window.el (window-resize, delete-window): Use window-splits
18300 variable instead of function.
18301 (window-state-get-1, window-state-put-2, window-state-put):
18302 Don't deal with windows' splits status.
18304 2011-11-12 Glenn Morris <rgm@gnu.org>
18306 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18307 (apropos-documentation): Doc fixes.
18309 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18311 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18312 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18314 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18316 * electric.el (electric-indent-post-self-insert-function): Make it
18317 possible for a char to only indent in some circumstances.
18318 (electric-indent-mode): Simplify.
18320 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18322 * window.el (windows-with-parameter): Remove unused function.
18323 (windows-at-side): Rename to window-at-side-list.
18324 (window-check, window-atom-check, window-atom-check-1)
18325 (window-side-check, window-size-ignore, window-size-fixed-1)
18326 (window-in-direction-2): Prefix with "window--".
18327 (window-tree-1): Rename to window--subtree, fix doc-string.
18329 2011-11-11 Glenn Morris <rgm@gnu.org>
18331 * subr.el (eval-after-load): If FILE is already loaded,
18332 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18334 2011-11-10 Glenn Morris <rgm@gnu.org>
18336 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18337 Call svn via vc-svn-command rather than vc-do-command.
18338 (vc-svn-command): Add --non-interactive. (Bug#9993)
18339 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18341 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18342 Add toggle-read-only. (Bug#7292)
18343 * files.el (toggle-read-only): Mention that it should only
18344 be used interactively. (Bug#10006)
18346 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18348 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18349 Adjust regexp for OCaml warnings.
18351 * electric.el (electric-pair-post-self-insert-function): Let user
18352 turn it off buffer-locally (bug#9932).
18354 * progmodes/python.el (python-beginning-of-statement):
18355 Rewrite (bug#2703).
18357 * progmodes/compile.el: Better handle TABs (bug#9749).
18358 (compilation-internal-error-properties)
18359 (compilation-next-error-function): Obey the target buffer's
18360 compilation-error-screen-columns.
18362 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18364 * progmodes/meta-mode.el: Remove obsolete comments.
18365 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18366 Fix typos in docstrings.
18368 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18370 * window.el (window-size-fixed-p): Rewrite doc-string.
18371 (window-resizable-p): Rename to window--resizable-p. Update callers.
18372 (window--resizable): New function. Make all callers of
18373 window-resizable call window--resizable instead.
18374 (window-resizable): Rewrite in terms of window--resizable.
18376 2011-11-08 Glenn Morris <rgm@gnu.org>
18378 * progmodes/delphi.el (delphi-mode-syntax-table):
18379 Let define-derived-mode define a proper syntax table. (Bug#9994)
18381 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18383 * window.el: Stay away from defsubst.
18384 (window-list-no-nils): Remove.
18385 (window-state-get-1, window-state-get): Use backquote instead.
18387 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18389 * emacs-lisp/find-func.el (find-function-read):
18390 Fix incorrect use of default argument in `completing-read'.
18392 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18394 * window.el (display-buffer-function, special-display-function):
18395 Mention display-buffer-record-window but do not mention
18396 help-setup parameter in doc-strings.
18397 (window-min-delta): Fix doc-string typo.
18399 2011-11-08 Chong Yidong <cyd@gnu.org>
18401 * window.el (window-total-height, window-total-width): Doc fix.
18402 (window-body-size): Move from C.
18403 (window-body-height, window-body-width): Move to C.
18405 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18407 * window.el: Make special-display like display-buffer-alist (bug#9532).
18408 (display-buffer--special-action): New function, morphed
18409 from display-buffer--special.
18410 (display-buffer): Use it to handle special-display-buffers at higher
18411 priority (just after display-buffer-alist).
18412 (display-buffer-fallback-action, display-buffer--other-frame-action)
18413 (pop-to-buffer-same-window): Remove display-buffer--special.
18415 2011-11-07 Glenn Morris <rgm@gnu.org>
18417 * calendar/cal-menu.el (cal-menu-set-date-title):
18418 Do nothing if not in a calendar. (Bug#9976)
18420 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18422 * files.el (find-file): Always use selected-window.
18424 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18426 * window.el (window-combinations): Make WINDOW argument
18427 mandatory. Rewrite doc-string.
18428 (walk-window-subtree, window-atom-check, window-min-delta)
18429 (window-max-delta, window--resize-this-window)
18430 (window--resize-root-window-vertically, window-tree)
18431 (balance-windows, window-state-put): Rewrite doc-strings as to
18432 not mention the term "subwindow".
18433 (window--resize-subwindows-skip-p): Rename to
18434 window--resize-child-windows-skip-p.
18435 (window--resize-subwindows-normal): Rename to
18436 window--resize-child-windows-normal.
18437 (window--resize-subwindows): Rename to
18438 window--resize-child-windows.
18439 (window-or-subwindow-p): Rename to window--in-subtree-p.
18441 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18443 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18444 Ensure that mbox format messages end in two newlines (Bug#9974).
18446 2011-11-06 Chong Yidong <cyd@gnu.org>
18448 * window.el (window-combination-p): Function deleted; its
18449 side-effect is not used in any existing code.
18450 (window-combinations, window-combined-p): Call window-*-child
18453 2011-11-05 Chong Yidong <cyd@gnu.org>
18455 * window.el (window-valid-p): Rename from window-any-p.
18456 (window-size-ignore, window-state-get): Callers changed.
18457 (window-normalize-window): Rename from window-normalize-any-window.
18458 New arg LIVE-ONLY, replacing window-normalize-live-window.
18459 (window-normalize-live-window): Delete.
18460 (window-combination-p, window-combined-p, window-combinations)
18461 (walk-window-subtree, window-atom-root, window-min-size)
18462 (window-sizable, window-sizable-p, window-size-fixed-p)
18463 (window-min-delta, window-max-delta, window-resizable)
18464 (window-resizable-p, window-full-height-p, window-full-width-p)
18465 (window-current-scroll-bars, window-point-1, set-window-point-1)
18466 (window-at-side-p, window-in-direction, window-resize)
18467 (adjust-window-trailing-edge, maximize-window, minimize-window)
18468 (window-deletable-p, delete-window, delete-other-windows)
18469 (record-window-buffer, unrecord-window-buffer)
18470 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18471 (quit-window, split-window, window-state-put)
18472 (set-window-text-height, fit-window-to-buffer)
18473 (shrink-window-if-larger-than-buffer): Callers changed.
18475 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18477 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18478 rfc2047-decode-string.
18479 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18482 * window.el (window-body-height, window-body-width): Mention in
18483 the doc string that the return values are in frame's canonical
18486 2011-11-03 Alan Mackenzie <acm@muc.de>
18488 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18489 change in cc-engine.el.
18491 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18493 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18495 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18497 * window.el (quit-window): Call unrecord-window-buffer after
18498 showing another buffer in the window. (Bug#9937)
18499 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18501 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18503 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18504 Accept status with more than 9 shelves. (Bug#9935)
18505 Reported by Colin D Bennett <colin@gibibit.com>.
18507 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18509 * help.el (with-help-window): Don't reference
18510 temp-buffer-show-specifiers in doc-string.
18512 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18514 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18517 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18519 * whitespace.el: New version 13.2.2.
18520 (whitespace-newline-mode): Disable properly. Reported by Sarah
18523 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18525 * net/newst-treeview.el: Remove "Time-stamp".
18526 (newsticker--group-manage-orphan-feeds): Do not call
18527 newsticker--treeview-tree-update.
18528 (newsticker-treeview-update, newsticker-treeview):
18529 Call newsticker--treeview-tree-update if necessary.
18531 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18533 * window.el (window-iso-combination-p, window-iso-combined-p)
18534 (window-iso-combinations): Remove "iso-" infix.
18535 Suggested by Chong Yidong.
18536 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18537 (window-max-delta-1, window-resize, window--resize-siblings)
18538 (window--resize-this-window, adjust-window-trailing-edge)
18539 (split-window, balance-windows-1)
18540 (shrink-window-if-larger-than-buffer):
18541 * calendar/calendar.el (calendar-generate-window):
18542 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18544 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18546 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18547 in place (bug#9907).
18548 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18549 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18550 (eshell-structure-basic-command, eshell-rewrite-while-command)
18551 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18552 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18553 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18554 (eshell-do-pipelines-synchronously, eshell-eval-command):
18555 Use backquotes and prefer setq to set.
18556 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18557 (eshell-macrop): Use functionp.
18558 (eshell-do-eval): Handle multiple expressions in `while' body.
18560 2011-10-30 Chong Yidong <cyd@gnu.org>
18562 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18563 instead of set-mark (Bug#9810).
18565 2011-10-30 Chong Yidong <cyd@gnu.org>
18567 * window.el (split-window-below, split-window-right): Rename from
18568 split-window-above-each-other and split-window-side-by-side
18569 respectively. All callers changed.
18570 (split-window-sensibly, split-window-sensibly): Use them.
18571 (split-window-keep-point): Doc fix.
18573 * isearch.el: Add isearch-scroll property to split-window-below
18574 and split-window-right.
18576 * follow.el (follow-mode):
18577 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18578 * progmodes/ada-xref.el (ada-gdb-application):
18579 * emulation/vip.el (vip-buffer-in-two-windows):
18580 * image-dired.el (image-dired-dired-with-window-configuration):
18581 * dired-x.el (dired-do-find-marked-files):
18582 * dired.el (dired-pop-to-buffer):
18583 * bs.el (bs--show-with-configuration):
18584 * vc/emerge.el (emerge-setup-windows):
18585 * textmodes/two-column.el (2C-two-columns):
18586 * textmodes/reftex-toc.el (reftex-toc):
18587 * progmodes/gdb-mi.el (gdb-setup-windows):
18588 * progmodes/fortran.el (fortran-window-create):
18589 * net/newst-treeview.el (newsticker--treeview-window-init):
18590 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18591 * emulation/tpu-edt.el (tpu-gold-map):
18592 * emulation/crisp.el (crisp-mode-map):
18593 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18595 2011-10-29 Chong Yidong <cyd@gnu.org>
18597 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18599 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18601 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18602 forged Ispell output (Bug#7904).
18604 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18606 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18608 * doc-view.el: Avoid ugly errors about not finding nil.
18609 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18610 (doc-view-dvipdf-program, doc-view-unoconv-program)
18611 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18612 Avoid nil or absolute file name as default value.
18613 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18615 2011-10-28 Alan Mackenzie <acm@muc.de>
18617 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18619 2011-10-28 Alan Mackenzie <acm@muc.de>
18621 Amend the handling of c-beginning/end-of-defun in nested declaration
18624 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18625 cc-langs.el. Change it to a defcustom.
18627 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18630 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18631 Prevent "class foo : bar" being spuriously recognized as a label.
18633 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18634 Add parameter `inclusive' (to include enclosing braces in the region).
18635 (c-widen-to-enclosing-decl-scope): New function.
18636 (c-while-widening-to-decl-block): New macro.
18637 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18638 outward for defun boundaries, and correspondingly change symbol
18639 `respect-enclosure' to `go-outward'.
18640 (c-declaration-limits): Change algorithm to report only the "innermost"
18641 defun's boundaries.
18643 2011-10-28 Deniz Dogan <deniz@dogan.se>
18645 * net/rcirc.el (rcirc-mode): Use hard newlines.
18647 2011-10-28 Alan Mackenzie <acm@muc.de>
18649 Amend to indent and fontify macros "which include their own semicolon"
18650 correctly, using the "virtual semicolon" mechanism.
18652 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18654 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18655 Recode to scan one line at a time rather than having \n and \r
18656 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18657 (c-forward-label): Amend for virtual semicolons.
18658 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18660 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18661 of the new C macros.
18663 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18664 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18665 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18666 (c-opt-cpp-macro-define): Make into a full language variable.
18667 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18668 AWK Mode (including \n, \r) removed, no longer needed.
18670 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18671 Invoke c-make-macro-with-semi-re.
18673 * progmodes/cc-vars.el (c-macro-with-semi-re):
18674 (c-macro-names-with-semicolon): New variables.
18675 (c-make-macro-with-semi-re): New function.
18677 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18679 * vc/log-edit.el: Fill empty field rather than adding new one.
18680 (log-edit-add-field): New function.
18681 (log-edit-insert-changelog): Use it.
18683 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18685 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18687 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18689 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18690 (gdb--check-interpreter): New function.
18693 2011-10-27 Glenn Morris <rgm@gnu.org>
18695 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18696 (least-positive-float, least-negative-float)
18697 (least-positive-normalized-float, least-negative-normalized-float)
18698 (float-epsilon, float-negative-epsilon):
18699 Remove unnecessary declarations.
18701 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18702 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18703 (least-positive-float, least-negative-float)
18704 (least-positive-normalized-float, least-negative-normalized-float)
18705 (float-epsilon, float-negative-epsilon): Add doc-strings,
18706 based on those in cl.texi.
18708 * files.el (set-visited-file-name): If the major-mode changed,
18709 reload the local variables. (Bug#9796)
18711 2011-10-27 Chong Yidong <cyd@gnu.org>
18713 * subr.el (change-major-mode-after-body-hook): New hook.
18714 (run-mode-hooks): Run it.
18716 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18717 Use change-major-mode-before-body-hook.
18719 * simple.el (fundamental-mode):
18720 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18721 change introducing fundamental-mode-hook.
18723 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18725 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18727 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18729 * ido.el (ido-file-name-all-completions-1): Do not require
18730 tramp.el explicitly. (Bug#7583)
18732 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18734 * progmodes/octave-mod.el:
18735 * progmodes/octave-inf.el: Update maintainer.
18737 2011-10-26 Chong Yidong <cyd@gnu.org>
18739 * subr.el (with-wrapper-hook): Rewrite doc.
18741 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18743 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18744 filenames "/method:foo:". (Bug#9793)
18746 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18748 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18751 2011-10-24 Glenn Morris <rgm@gnu.org>
18753 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18755 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18757 * notifications.el: Add the requirement of a running D-Bus session
18758 bus to the Commentary.
18760 2011-10-24 Juri Linkov <juri@jurta.org>
18762 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18763 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18766 2011-10-24 Juri Linkov <juri@jurta.org>
18768 * info.el (Info-following-node-name-re): Add newline to the list
18769 of allowed characters for leading space. (Bug#9824)
18771 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18773 * progmodes/octave-inf.el (inferior-octave-mode-map):
18774 Fix C-c C-h binding.
18775 * progmodes/octave-mod.el (octave-help): Remove.
18777 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18779 Sync with Tramp 2.2.3.
18781 * net/tramp-cache.el (top): Pacify byte-compiler using
18782 `init-file-user' and `site-run-file'.
18784 * net/trampver.el: Update release number.
18786 2011-10-23 Chong Yidong <cyd@gnu.org>
18788 * files.el (toggle-read-only): Remove obsolete comment about
18791 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18792 for toggle-read-only. Note that this hasn't called vc-next-action
18793 since 2008-05-02, though it wasn't documented at the time.
18795 * vc/ediff-init.el (ediff-toggle-read-only-function):
18796 Use toggle-read-only.
18798 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18800 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18803 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18804 correct faulty logical expression.
18805 (c-parse-state-state, c-record-parse-state-state):
18806 (c-replay-parse-state-state): New defvar/defuns.
18807 (c-debug-parse-state): Use new functions.
18809 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18811 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18812 last fix. Use window-in-direction correctly.
18814 2011-10-21 Chong Yidong <cyd@gnu.org>
18816 * progmodes/idlwave.el (idlwave-mode):
18817 * progmodes/vera-mode.el (vera-mode): No need to set
18818 require-final-newline; that's done in prog-mode.
18819 Suggested by Stefan Monnier.
18821 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18823 * mouse.el (mouse-drag-window-above)
18824 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18825 (mouse-drag-mode-line-1, mouse-drag-header-line)
18826 (mouse-drag-vertical-line-rightward-window): Remove.
18827 (mouse-drag-line): New function.
18828 (mouse-drag-mode-line, mouse-drag-header-line)
18829 (mouse-drag-vertical-line): Call mouse-drag-line.
18830 * window.el (window-at-side-p, windows-at-side): New functions.
18832 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18834 * tar-mode.el (tar-grind-file-mode):
18835 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18837 2011-10-21 Chong Yidong <cyd@gnu.org>
18839 * progmodes/idlwave.el (idlwave-mode):
18840 * progmodes/vera-mode.el (vera-mode):
18841 Use mode-require-final-newline.
18843 2011-10-20 Glenn Morris <rgm@gnu.org>
18845 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18847 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18849 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18851 2011-10-20 Chong Yidong <cyd@gnu.org>
18853 * emulation/cua-base.el (cua-mode):
18854 * mail/footnote.el (footnote-mode):
18855 * mail/mailabbrev.el (mail-abbrevs-mode):
18856 * net/xesam.el (xesam-minor-mode):
18857 * progmodes/bug-reference.el (bug-reference-mode):
18858 * progmodes/cap-words.el (capitalized-words-mode):
18859 * progmodes/compile.el (compilation-minor-mode)
18860 (compilation-shell-minor-mode):
18861 * progmodes/gud.el (gud-tooltip-mode):
18862 * progmodes/hideif.el (hide-ifdef-mode):
18863 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18864 * progmodes/subword.el (subword-mode):
18865 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18866 * progmodes/which-func.el (which-function-mode):
18867 * term/tvi970.el (tvi970-set-keypad-mode):
18868 * term/vt100.el (vt100-wide-mode):
18869 * textmodes/flyspell.el (flyspell-mode):
18870 * textmodes/ispell.el (ispell-minor-mode):
18871 * textmodes/nroff-mode.el (nroff-electric-mode):
18872 * textmodes/paragraphs.el (use-hard-newlines):
18873 * textmodes/refill.el (refill-mode):
18874 * textmodes/reftex.el (reftex-mode):
18875 * textmodes/rst.el (rst-minor-mode):
18876 * textmodes/sgml-mode.el (html-autoview-mode)
18877 (sgml-electric-tag-pair-mode):
18878 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18879 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18880 * emulation/crisp.el (crisp-mode):
18881 * emacs-lisp/eldoc.el (eldoc-mode):
18882 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18883 minor mode behavior.
18885 2011-10-19 Juri Linkov <juri@jurta.org>
18887 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18888 the list of hard-coded chars with escape-glyph face.
18890 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18892 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18894 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18896 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18899 2011-10-19 Glenn Morris <rgm@gnu.org>
18901 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18902 Ignore ignored files. (Bug#9726)
18904 2011-10-19 Chong Yidong <cyd@gnu.org>
18906 Doc fix for minor modes, stating that an omitted argument enables
18907 the mode unconditionally when called from Lisp.
18909 * abbrev.el (abbrev-mode):
18910 * allout.el (allout-mode):
18911 * autoinsert.el (auto-insert-mode):
18912 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18913 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18914 (global-auto-revert-mode):
18915 * battery.el (display-battery-mode):
18916 * composite.el (global-auto-composition-mode)
18917 (auto-composition-mode):
18918 * delsel.el (delete-selection-mode):
18919 * desktop.el (desktop-save-mode):
18920 * dired-x.el (dired-omit-mode):
18921 * dirtrack.el (dirtrack-mode):
18922 * doc-view.el (doc-view-minor-mode):
18923 * double.el (double-mode):
18924 * electric.el (electric-indent-mode, electric-pair-mode):
18925 * emacs-lock.el (emacs-lock-mode):
18926 * epa-hook.el (auto-encryption-mode):
18927 * follow.el (follow-mode):
18928 * font-core.el (font-lock-mode):
18929 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18930 * help.el (temp-buffer-resize-mode):
18931 * hilit-chg.el (highlight-changes-mode)
18932 (highlight-changes-visible-mode):
18933 * hi-lock.el (hi-lock-mode):
18934 * hl-line.el (hl-line-mode, global-hl-line-mode):
18935 * icomplete.el (icomplete-mode):
18936 * ido.el (ido-everywhere):
18937 * image-file.el (auto-image-file-mode):
18938 * image-mode.el (image-minor-mode):
18939 * iswitchb.el (iswitchb-mode):
18940 * jka-cmpr-hook.el (auto-compression-mode):
18941 * linum.el (linum-mode):
18942 * longlines.el (longlines-mode):
18943 * master.el (master-mode):
18944 * mb-depth.el (minibuffer-depth-indicate-mode):
18945 * menu-bar.el (menu-bar-mode):
18946 * minibuf-eldef.el (minibuffer-electric-default-mode):
18947 * mouse-sel.el (mouse-sel-mode):
18948 * msb.el (msb-mode):
18949 * mwheel.el (mouse-wheel-mode):
18950 * outline.el (outline-minor-mode):
18951 * paren.el (show-paren-mode):
18952 * recentf.el (recentf-mode):
18953 * reveal.el (reveal-mode, global-reveal-mode):
18954 * rfn-eshadow.el (file-name-shadow-mode):
18955 * ruler-mode.el (ruler-mode):
18956 * savehist.el (savehist-mode):
18957 * scroll-all.el (scroll-all-mode):
18958 * scroll-bar.el (scroll-bar-mode):
18959 * server.el (server-mode):
18960 * shell.el (shell-dirtrack-mode):
18961 * simple.el (auto-fill-mode, transient-mark-mode)
18962 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18963 (line-number-mode, column-number-mode, size-indication-mode)
18964 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18965 * strokes.el (strokes-mode):
18966 * time.el (display-time-mode):
18967 * t-mouse.el (gpm-mouse-mode):
18968 * tool-bar.el (tool-bar-mode):
18969 * tooltip.el (tooltip-mode):
18970 * type-break.el (type-break-mode-line-message-mode)
18971 (type-break-query-mode):
18972 * view.el (view-mode):
18973 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18974 (global-whitespace-mode, global-whitespace-newline-mode):
18975 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18977 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18978 Fix autogenerated docstring.
18980 2011-10-19 Juri Linkov <juri@jurta.org>
18982 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18983 by checking environment variables "DESKTOP_SESSION" and
18984 "XDG_CURRENT_DESKTOP". (Bug#9779)
18986 2011-10-19 Juri Linkov <juri@jurta.org>
18988 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18989 (browse-url-chromium-program, browse-url-chromium-arguments):
18991 (browse-url-default-browser): Check for `browse-url-chromium' and
18992 call `browse-url-chromium-program'.
18993 (browse-url-chromium): New command. (Bug#9779)
18995 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18997 * facemenu.el (list-colors-duplicates): On Windows, detect more
18998 duplicates by assuming that only colors matching "^System" are
18999 special "system colors". (Bug#9722)
19001 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19003 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19004 to distinguish the author from the committer.
19006 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19008 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19010 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19012 * international/mule.el (sgml-html-meta-auto-coding-function):
19013 Add support for detecting encoding in HTML5 specified only as
19014 <meta charset="UTF-8">. Implementation just makes http-equiv and
19015 content-type parts from HTML4 encoding string optional. (Bug#9716)
19017 2011-10-18 Glenn Morris <rgm@gnu.org>
19019 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19021 2011-10-18 Chong Yidong <cyd@gnu.org>
19023 * faces.el (cursor): Doc fix.
19025 2011-10-17 Chong Yidong <cyd@gnu.org>
19027 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19029 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19031 * dirtrack.el (dirtrack): Support shell buffers with path
19032 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19034 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19036 * json.el: Bump version to 1.3 and note change in History.
19037 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19039 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19041 * comint.el (comint-insert-input, comint-send-input)
19042 (comint-get-old-input-default, comint-backward-matching-input)
19043 (comint-next-prompt): Use nil instead of `input' for field property of
19044 past user input (bug#114).
19046 * minibuffer.el (completion--replace): Inherit surrounding properties
19048 (minibuffer-complete-and-exit): Use it.
19050 * comint.el (comint--table-subvert): Quote the all-completions output
19053 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19055 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19057 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19058 window on right of selected. (Bug#9350) Reword other window
19059 entries and separate them from frame entries.
19061 2011-10-15 Glenn Morris <rgm@gnu.org>
19063 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19066 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19068 * net/network-stream.el (network-stream-open-starttls):
19069 Improve detection of failure due to lack of TLS support.
19071 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19072 putting the input text in front and in bold.
19074 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19076 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19078 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19081 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19082 unread-command-events rather than pushing yet-another event.
19084 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19086 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19087 the explanation of the possible choices. Make the options passed
19088 to completing-read shorter.
19090 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19092 * textmodes/flyspell.el (flyspell-large-region): Make sure
19093 extended character mode is used if defined (Bug#1339).
19095 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19097 * simple.el (what-cursor-position): Fix the display of the
19098 character info for LRE, LRO, RLE, and RLO characters by appending
19101 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19103 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19104 even in case of error; add debug spec; simplify data flow.
19105 (with-timeout-handler): Remove.
19107 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19109 Fix Bug#6019, Bug#9315.
19111 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19112 complete `buffer-file-name', the local file name part could look
19113 remotely (for example on VMS).
19115 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19116 `tramp-run-real-handler'.
19117 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19118 already quoted by '"'.
19120 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19121 Let `file-name-handler-alist' be nil, the local file name part
19122 could look remotely (for example on VMS).
19124 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19126 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19128 (flyspell-post-command-hook): ...to here.
19130 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19132 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19134 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19135 using completion. Protect against "slow" callers.
19136 Remove the "message hack".
19138 2011-10-11 Juri Linkov <juri@jurta.org>
19140 * isearch.el (isearch-lazy-highlight-word): New variable.
19141 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19144 2011-10-11 Glenn Morris <rgm@gnu.org>
19146 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19147 like f90-previous-statement does.
19149 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19151 * eshell/eshell.el (eshell-command): History should be saved
19152 only in interactive use, to avoid error.
19154 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19156 * minibuffer.el (completion-file-name-table): Fix last change,
19157 i.e. ignore normal errors but not the other ones.
19159 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19161 * window.el (special-display-buffer-names)
19162 (special-display-regexps): Remove some remnants of earlier
19163 changes from doc-strings.
19164 (quit-windows-on): New function.
19166 * vc/vc.el (vc-revert, vc-rollback):
19167 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19168 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19169 (Bug#6183) (Bug#7074) (Bug#7447)
19171 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19173 * window.el (frame-auto-hide-function): Add version tag.
19176 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19178 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19181 2011-10-09 Leo Liu <sdl.web@gmail.com>
19183 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19186 2011-10-08 Glenn Morris <rgm@gnu.org>
19188 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19189 before the first code statement zero indent. (Bug#9690)
19191 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19193 * simple.el (count-words-region): Always count in the region.
19194 Report the number of lines and characters too.
19195 (count-words): New command, which counts in the buffer if the
19196 region is inactive, as count-words-region used to.
19197 (count-words--message): New function. Handle plurals.
19198 (count-lines-region): Make it an alias for count-words-region.
19200 * bindings.el (esc-map): Replace count-lines-region with
19201 count-words-region.
19203 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19205 * window.el (window--delete): Delete dedicated frame
19206 unconditionally when argument KILL is non-nil. (Bug#9699)
19207 (switch-to-buffer): Fix doc-string typo.
19209 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19211 * eshell/eshell.el (eshell-command): Avoid using hooks.
19213 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19215 * bindings.el ([M-left],[M-right]): Bind to left-word and
19216 right-word respectively.
19218 2011-10-07 Glenn Morris <rgm@gnu.org>
19220 * cus-start.el (debug-on-quit): Fix custom type.
19222 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19224 * subr.el (define-key-after): Clarify that the function is not
19225 useful for non-menu keymaps.
19227 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19229 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19231 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19232 in current minibuffer (Fix bug with recursive minibuffers).
19234 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19236 * progmodes/gdb-mi.el (gdb): Doc fix.
19238 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19240 * window.el (frame-auto-hide-function): New option replacing
19241 frame-auto-delete. Suggested by Stefan Monnier.
19242 (window--delete): Call frame-auto-hide-function instead of
19243 investigating frame-auto-delete.
19244 (window-point-1, set-window-point-1): New functions.
19245 (window-in-direction, record-window-buffer, window-state-get-1)
19246 (display-buffer-record-window): Use window-point-1 instead of
19248 (set-window-buffer-start-and-point): Use set-window-point-1.
19250 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19252 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19254 2011-10-05 Glenn Morris <rgm@gnu.org>
19256 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19257 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19259 2011-10-05 Leo Liu <sdl.web@gmail.com>
19261 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19262 works with buffer object.
19264 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19266 * mpc.el (mpc-tool-bar-map): Add labels.
19268 2011-10-04 Glenn Morris <rgm@gnu.org>
19270 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19272 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19274 * window.el (window--delete): New function.
19275 (frame-auto-delete): Resuscitate option.
19276 (bury-buffer, replace-buffer-in-windows)
19277 (quit-window): Rewrite using window--delete.
19278 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19279 Pass display-buffer-mark-dedicated to window--display-buffer-2
19282 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19284 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19285 returns a list (bug#9554). Add remote file name completion.
19286 * comint.el (comint--table-subvert): Curry and get quote&unquote
19287 functions as arguments.
19288 (comint--complete-file-name-data): Adjust call accordingly.
19289 * pcomplete.el (pcomplete--table-subvert): Remove.
19290 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19292 * minibuffer.el (completion-table-case-fold): Use currying.
19293 (completion--styles-type, completion--cycling-threshold-type):
19295 (completion-styles, completion-category-overrides)
19296 (completion-cycle-threshold): Use them.
19297 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19298 completion-table-case-fold.
19300 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19302 * minibuffer.el (completion-category-overrides): Fix type of styles
19303 and add more user friendly tags (bug#9660).
19305 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19307 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19308 (mule-input-method-string): New widget.
19309 (default-input-method, language-info-custom-alist): Use it.
19311 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19313 * pcomplete.el: Require comint.
19314 (pcomplete--common-suffix): Remove.
19315 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19316 (pcomplete--table-subvert): Sync with comint--table-subvert.
19317 (pcomplete--entries): Use comint-completion-file-name-table.
19318 * comint.el (comint-unquote-filename): Simplify.
19319 (comint-completion-file-name-table): New function (bug#9616).
19320 (comint--complete-file-name-data): Use it.
19322 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19323 (pcmpl-gnu-tar-buffer): Remove.
19324 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19325 around. Make sure pcomplete-suffix-list is only changed temporarily.
19326 Don't look inside the tar's file if it's too large.
19328 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19330 * cus-edit.el (custom-mode-map):
19331 * epa.el (epa-key-list-mode-map):
19332 * man.el (Man-mode-map):
19333 * startup.el (splash-screen-keymap):
19334 * simple.el (special-mode-map): Use scroll-up-command and
19335 scroll-down-command.
19337 * progmodes/idlw-help.el (idlwave-help-mode-map):
19338 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19339 * net/newst-plainview.el (newsticker-mode-map):
19340 * emulation/ws-mode.el (wordstar-mode-map):
19341 * emulation/vi.el (vi-com-map):
19342 * calc/calc-graph.el (calc-graph-show-dumb):
19343 * term/sun.el (terminal-init-sun):
19344 * term/ns-win.el (global-map):
19345 * progmodes/grep.el (grep-mode-map):
19346 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19347 * mail/rmail.el (rmail-mode-map):
19348 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19350 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19351 custom-safe-themes as special.
19353 2011-10-01 Julien Danjou <julien@danjou.info>
19355 * notifications.el (notifications-notify): Fix docstring.
19357 2011-10-01 Per Starbäck <per@starback.se>
19359 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19361 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19363 * startup.el (command-line-1): Fix last fix by inserting
19364 initial-scratch-message into *scratch* before displaying it.
19365 (Bug#9605) and (Bug#9636)
19367 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19369 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19370 window is hscrolled, move by logical lines. (Bug#9607)
19371 (line-move-visual): Update the doc string to the above effect.
19373 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19375 * window.el (display-buffer-record-window): When WINDOW is the
19376 selected window use `point' instead of `window-point'. (Bug#9626)
19378 * startup.el (command-line-1): Use insert-before-markers when
19379 inserting initial-scratch-message. (Bug#9605)
19381 * help.el (help-window): Remove variable.
19383 2011-09-29 Glenn Morris <rgm@gnu.org>
19385 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19387 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19389 * descr-text.el (describe-char-categories): Accept category
19390 descriptions more than one line long.
19392 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19394 * simple.el (delete-trailing-whitespace): Fix last change.
19396 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19397 Don't confuse "y => 3" as the beginning of a `y' operation.
19399 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19400 object has more than 4 slots (bug#9613).
19402 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19404 * subr.el (with-output-to-temp-buffer):
19405 * net/quickurl.el (quickurl, quickurl-browse-url):
19406 Fix typos in docstrings.
19408 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19410 * minibuffer.el (completion-styles)
19411 (completion-category-overrides): Cross reference each other in doc
19414 2011-09-27 Glenn Morris <rgm@gnu.org>
19416 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19417 to split-string. (Bug#9606)
19419 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19421 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19424 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19426 * emacs-lisp/package.el (list-packages): Fix echo area message.
19428 2011-09-27 Leo Liu <sdl.web@gmail.com>
19430 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19432 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19434 * net/dbus.el (dbus-unregister-object): Don't release services for
19435 registered signals. (Bug#9581)
19437 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19439 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19440 function that picks between cfengine 2 and 3 support
19441 automatically. Update docs accordingly.
19443 2011-09-22 Kenichi Handa <handa@m17n.org>
19445 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19447 (indian-itrans-v5-table-for-tamil): New variable.
19448 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19450 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19452 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19453 that's true if the current command involved collapsing of text.
19454 It's reset to false at the beginning of the next command.
19455 (allout-post-command-business): Move the cursor to the beginning
19456 of entry if the cursor is hidden and collapsing activity just
19459 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19461 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19462 tracking (Bug#9541).
19464 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19466 * net/newst-reader.el (newsticker-html-renderer)
19467 (newsticker-show-news): Automatically load html rendering package
19468 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19469 because w3m-fill-column is let-bound" and the error "Symbol's value
19470 as variable is void: w3m-fill-column".
19472 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19474 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19475 Release services only if they are defined. (Bug#9581)
19477 2011-09-23 Richard Stallman <rms@gnu.org>
19479 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19480 distinguish start of paragraph from start of its text.
19482 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19484 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19485 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19486 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19488 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19490 * international/mule-diag.el (mule-diag): Insert a newline after
19491 each fontset description.
19493 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19495 * simple.el (delete-trailing-whitespace):
19496 Document last change; simplify.
19498 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19500 * simple.el (delete-trailing-whitespace): Also delete
19501 extra newlines at the end of the buffer.
19503 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19504 (picture-newline): Use forward-line so as to ignore fields.
19506 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19508 * subr.el (with-wrapper-hook): Fix edebug spec.
19510 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19512 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19515 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19517 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19518 Fix nasty bug using wrong cached values.
19520 2011-09-23 Alan Mackenzie <acm@muc.de>
19522 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19524 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19526 * window.el (pop-to-buffer): Ensure right window is selected if we
19527 chose another frame.
19529 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19531 * simple.el (what-cursor-position): Use get-char-property-change
19532 and next-single-char-property-change, to be able to show display
19533 properties that come from overlays as well as text properties.
19535 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19537 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19539 * cmuscheme.el (run-scheme, switch-to-scheme):
19540 * cus-edit.el (customize-group, custom-buffer-create)
19541 (customize-browse):
19543 * shell.el (shell):
19544 * mail/sendmail.el (mail):
19545 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19547 2011-09-22 Richard Stallman <rms@gnu.org>
19549 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19550 move back only to line beg, don't move back over blank lines.
19552 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19554 * files.el (copy-directory): Set directory attributes only in case
19555 they could be retrieved from the source directory. (Bug#9565)
19557 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19559 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19560 (hs-find-block-beginning, hs-hide-level-recursive):
19561 Ignore strings as well as comments. (Bug#9502)
19563 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19565 * progmodes/sql.el (sql-comint-postgres):
19566 Convert port number to a string. (Bug#9566)
19568 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19570 * window.el (quit-window): Undedicate window when switching to
19571 previous buffer. Reported by Thierry Volpiatto
19572 <thierry.volpiatto@gmail.com>.
19573 (special-display-popup-frame): When popping up a new frame reset
19574 its previous buffers to nil. Simplify code.
19576 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19578 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19579 and process filter, as done also in `shell-command'.
19581 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19583 * window.el (set-window-buffer-start-and-point):
19584 Call set-window-start with NOFORCE argument t.
19585 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19586 (quit-window): Reword doc-string. Handle new format of
19587 quit-restore parameter. Don't delete window if it has a
19588 previous buffer we can show instead of the present one.
19589 (display-buffer-record-window): Rewrite using a new format for
19590 the quit-restore window parameter
19591 (special-display-popup-frame, display-buffer-same-window)
19592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19593 (display-buffer-pop-up-window, display-buffer-use-some-window):
19594 Adapt symbol passed to display-buffer-record-window.
19595 * help.el (help-window-setup): Handle new format of quit-restore
19598 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19600 * faces.el (face-list): Fix docstring (bug#9564).
19602 * window.el (display-buffer--action-function-custom-type):
19603 Don't include internal functions in the Custom interface.
19605 2011-09-20 Juri Linkov <juri@jurta.org>
19607 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19608 (Info-forward-node, Info-backward-node, Info-next-preorder)
19609 (Info-last-preorder): Use it. (Bug#9528)
19611 2011-09-20 Juri Linkov <juri@jurta.org>
19613 * info.el (Info-last-preorder): Visit last menu item only when
19614 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19616 2011-09-20 Julien Danjou <julien@danjou.info>
19618 * password-cache.el (password-cache-remove): Remove entries even if the
19619 value is nil, so that password with a nil value (negative caching) is
19620 possible to invalidate.
19622 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19624 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19625 all whitespace around breakpoint. (Bug#9553)
19626 (f90-find-breakpoint): Only break at whitespace inside a comment.
19628 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19630 * minibuffer.el (completion-file-name-table): Keep track of errors.
19631 (completion-table-with-predicate): Handle the case where pred1 is nil.
19632 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19634 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19636 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19637 (debugger-return-value): Signal an error if the debugging context does
19638 not await any return value.
19640 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19641 * image-mode.el (image-toggle-display-text)
19642 (image-toggle-display-image): Stay away from evil `intangible'.
19644 2011-09-19 Leo Liu <sdl.web@gmail.com>
19646 * replace.el (occur-revert-arguments): Make it permanent-local.
19647 (occur-mode): Don't call font-lock-defontify.
19649 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19651 * net/ldap.el (ldap-search-internal): Don't push empty search
19654 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19656 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19658 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19660 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19661 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19663 2011-09-18 Juri Linkov <juri@jurta.org>
19665 * buff-menu.el (Buffer-menu-mode-map):
19666 * dired.el (dired-mode-map):
19667 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19668 (lisp-interaction-mode-map):
19669 * emacs-lisp/package.el (package-menu-mode-map):
19670 * epa.el (epa-key-list-mode-map):
19671 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19672 (menu-bar-options-menu):
19673 * outline.el (outline-mode-menu-bar-map):
19674 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19675 * vc/vc-dir.el (vc-dir-menu-map):
19676 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19677 Capitalize non-function content words in menu item strings.
19679 * dired.el (dired-mode-map): Add menu item for
19680 `image-dired-dired-toggle-marked-thumbs'.
19682 2011-09-18 Juri Linkov <juri@jurta.org>
19684 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19685 to `isearch-case-fold-search' and restore its original value
19686 after the `isearch-mode' call.
19688 2011-09-18 Juri Linkov <juri@jurta.org>
19690 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19691 because `zgrep' returns 1 for successful matches (bug#9226).
19693 2011-09-18 Juri Linkov <juri@jurta.org>
19695 * info.el (Info-extract-menu-node-name): Check the second match
19696 for empty string (second test-case of bug#9528).
19697 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19698 intermediate nodes to the history (first test-case of bug#9528).
19700 2011-09-18 Juri Linkov <juri@jurta.org>
19702 * info.el (Info-mode-syntax-table): New variable.
19703 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19705 2011-09-18 Juri Linkov <juri@jurta.org>
19707 * info.el (Info-file-supports-index-cookies):
19708 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19709 outputs one more line for long file names (bug#4142).
19711 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19713 * newcomment.el (comment-normalize-vars): If prompting for
19714 comment-start, set comment-start-skip too (Bug#8424).
19716 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19718 * icomplete.el: Fix previous fix of Bug#5849.
19719 (icomplete-mode): Don't set completion-show-inline-help.
19720 (icomplete-minibuffer-setup): Set completion-show-inline-help
19721 locally during icompletion.
19723 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19725 * woman.el (woman2-process-escapes): Don't delete unrecognized
19726 escapes (Bug#7843).
19728 * files.el (inhibit-first-line-modes-regexps): Add image files.
19729 (hack-local-variables-prop-line): Return nil for malformed
19730 prop-lines (Bug#9044).
19732 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19734 * net/tramp.el (top): Don't require 'shell.
19735 (tramp-methods): Fix docstring.
19736 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19737 Return complete remote file name. Handle "smb" case.
19738 Use `tramp-tmpdir', if defined for the respective method.
19739 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19741 * net/tramp-compat.el (top): Require 'shell.
19743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19744 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19745 `tramp-current-host'.
19746 (tramp-get-remote-tmpdir): Remove.
19748 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19749 `tramp-tmpdir' entries.
19750 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19751 (tramp-smb-handle-file-attributes): Ignore errors.
19752 (tramp-smb-wait-for-output): Check also for process end.
19754 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19756 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19757 when sending QUIT (bug#9312).
19759 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19761 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19762 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19763 occur-mode-display-occurrence.
19764 (occur-edit-mode): Add usage message.
19765 (occur-cease-edit): New command.
19766 (occur-after-change-function): Use text properties to find the
19767 position of the prefix text.
19768 (occur-engine): Set stickiness of prefix text properties.
19770 2011-09-17 Glenn Morris <rgm@gnu.org>
19772 * progmodes/etags.el (complete-tag):
19773 Fix call to completion-in-region. (Bug#9526)
19775 2011-09-17 Juri Linkov <juri@jurta.org>
19777 * textmodes/ispell.el (ispell-word): Add to the error message
19778 the word, ispell program name and current dictionary (bug#9121).
19779 (ispell-tex-arg-end): Capitalize "error" in the error message.
19781 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19783 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19786 2011-09-17 Juri Linkov <juri@jurta.org>
19788 * window.el (window-safe-min-height, window-safe-min-width):
19789 Fix typos (followup to bug#9522).
19791 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19793 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19795 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19797 * simple.el (line-move): If goal-column is set, move by logical
19798 lines, not by display lines. (Bug#971)
19799 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19800 to reflect the above change.
19802 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19804 * image.el (imagemagick-register-types): Use regexp-opt.
19806 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19808 * window.el (display-buffer-base-action): Rename from
19809 display-buffer-default-action. Make default value empty.
19810 (display-buffer-overriding-action): Convert to defvar.
19811 (display-buffer-fallback-action): New var.
19813 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19815 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19817 (package--add-to-archive-contents): If there is a duplicate entry
19818 with an older version, remove it.
19819 (package-menu-mark-delete, package-menu-mark-install)
19820 (package-menu-mark-unmark): Make unused args optional.
19821 (package-menu-mark-obsolete-for-deletion):
19822 Use package-menu-get-status instead of a regexp search.
19823 (package-menu-get-status): Use tabulated-list-entry.
19824 (package-menu-mark-upgrades): New command.
19825 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19826 (package-menu-execute): Do installation before deletion.
19827 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19828 instead of checking major-mode.
19829 (package-menu--find-upgrades): New function.
19831 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19833 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19834 passwords in the log buffer.
19835 (smtpmail-process-filter): Update the process marker so that the
19836 "broken by peer" status message is inserted in the right place.
19838 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19840 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19841 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19842 bibtex-completion-at-point-function.
19843 (bibtex-completion-at-point-function): Use them.
19845 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19847 * mpc.el (mpc-constraints-tag-lookup): New function.
19848 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19849 also to browser "album|playlist".
19851 2011-09-14 Juri Linkov <juri@jurta.org>
19853 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19854 (isearch-edit-string): Use length of `isearch-string' when
19855 `isearch-fail-pos' returns nil.
19856 (isearch-message): Remove duplicate code and call
19857 `isearch-fail-pos' with arg `t'.
19859 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19861 * replace.el (occur-mode-goto-occurrence): Don't force using other
19864 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19866 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19868 * window.el (display-buffer-window): Remove.
19869 (display-buffer-record-window): Use help-setup window parameter
19870 instead of variable display-buffer-window.
19871 (display-buffer-function, special-display-buffer-names)
19872 (special-display-function): Mention help-setup parameter instead
19873 of display-buffer-window in doc-string.
19874 * help.el (help-window-setup): New argument help-window.
19875 Use help-window-setup parameter instead of display-buffer-window.
19876 Reword some messages.
19877 (with-help-window): Pass window used for displaying the buffer
19878 to help-window-setup. Don't set display-buffer-window.
19880 2011-09-13 Glenn Morris <rgm@gnu.org>
19882 * emacs-lisp/debug.el (debugger-make-xrefs):
19883 Preserve point. (Bug#9462)
19885 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19887 * window.el (window-deletable-p): Use next-frame.
19889 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19891 * window.el (window-auto-delete): Remove.
19892 (window-deletable-p): Remove argument FORCE. Don't deal with
19893 dedication and previous buffers.
19894 (switch-to-prev-buffer): Don't delete window.
19895 (delete-windows-on): Delete a window's frame if and only if the
19896 window is dedicated.
19897 (replace-buffer-in-windows): Delete buffer's window or frame if
19898 and only if window is dedicated.
19899 (quit-window): Handle quit-restore as before last change.
19900 (bury-buffer): Delete window only if window-deletable-p returns t.
19902 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19904 * window.el (window-deletable-p): Never delete the last frame on a
19907 2011-09-13 Glenn Morris <rgm@gnu.org>
19909 * help.el (describe-key-briefly): Copy previous standard-output change.
19911 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19913 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19915 2011-09-13 Glenn Morris <rgm@gnu.org>
19917 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19918 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19920 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19922 * dired-aux.el (dired-mark-read-string): Don't return default
19923 value on empty input (Bug#9361).
19924 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19925 Omit initial minibuffer contents.
19926 (dired-do-chmod): Signal an error on empty input.
19927 (dired-mark-read-string): Don't return default on empty input.
19929 * files.el (file-modes-symbolic-to-number): Doc fix.
19931 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19933 * international/mule-cmds.el (ucs-completions): Remove.
19934 (read-char-by-name): Use complete-with-action instead; add metadata.
19936 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19938 * window.el (display-buffer--action-function-custom-type)
19939 (display-buffer--action-custom-type): New vars.
19940 (display-buffer-alist, display-buffer-default-action)
19941 (display-buffer-overriding-action): Add defcustom types.
19943 * frame.el (delete-other-frames): Doc fix (Bug#276).
19945 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19947 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19949 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19951 Change modes that used same-window-* vars to use switch-to-buffer.
19953 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19954 Use switch-to-buffer.
19956 * cus-edit.el (customize-group, custom-buffer-create)
19957 (customize-browse, custom-buffer-create-other-window):
19958 Use switch-to-buffer or switch-to-buffer-other-window.
19960 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19961 (Info-prev, Info-up, Info-speedbar-goto-node)
19962 (info-display-manual): Use switch-to-buffer.
19963 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19965 * mail/sendmail.el (mail): Use switch-to-buffer.
19966 (mail-recover): Use switch-to-buffer-other-window.
19968 * cmuscheme.el (run-scheme, switch-to-scheme):
19970 * shell.el (shell):
19971 * net/rlogin.el (rlogin):
19972 * net/telnet.el (telnet, rsh):
19973 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19975 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19977 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19979 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19981 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19982 so don't mention it (bug#9301).
19983 (dired-sort-toggle-or-edit): Clarify string further.
19985 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19986 match `x', `w32' and `ns', like the manual says (bug#9029).
19988 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19989 (process-kill-buffer-query-function): Mention the buffer name in
19992 * image-mode.el (image-next-line): The line parameter is mandatory
19995 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19996 which can be useful (bug#9301).
19998 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20000 * subr.el (match-string): Mention that the current buffer should
20001 be the same as the search was done in (bug#9282).
20003 * facemenu.el: Disable the remove-* commands if the mark isn't
20006 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20008 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20010 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20012 * replace.el (occur-mode-goto-occurrence)
20013 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20014 and display-buffer.
20016 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20019 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20020 special-display and same-window variables.
20021 (mail-other-window): Use switch-to-buffer-other-window.
20022 (mail-other-frame): USe switch-to-buffer-other-frame.
20024 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20025 Use display-buffer-other-frame.
20026 (gdb-display-gdb-buffer): Use pop-to-buffer.
20028 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20030 * progmodes/python.el: Don't set same-window-buffer-names.
20032 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20034 * window.el (display-buffer-alist): Add *Python*.
20036 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20038 * window.el (display-buffer-alist): Add entry for buffers
20039 previously handled same-window-*.
20040 (display-buffer-alist, display-buffer-default-action)
20041 (display-buffer-overriding-action): Mark as risky.
20042 (display-buffer-alist): Document action function changes.
20043 (display-buffer--same-window-action)
20044 (display-buffer--other-frame-action): New variables.
20045 (switch-to-buffer, display-buffer-other-frame): Use them.
20046 (display-buffer): Rename reuse-frame entry to reusable-frames.
20047 (display-buffer-reuse-selected-window): Function deleted.
20048 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20049 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20050 (display-buffer-special): New function.
20051 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20052 display-buffer-reuse-or-pop-window. Split off special-display
20053 part into display-buffer-special.
20054 (display-buffer-use-some-window): Don't perform any special
20055 pop-up-frames handling.
20056 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20057 (display-buffer--maybe-same-window): Rename from
20058 display-buffer-maybe-same-window.
20060 * info.el: Don't set same-window-regexps.
20061 (info-setup): New function.
20062 (info-other-window, info): Call it.
20064 * cus-edit.el: Don't set same-window-regexps.
20065 (customize-group): New argument.
20066 (customize-group-other-window): Use it.
20067 (customize-face, customize-face-other-window): Likewise.
20068 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20072 * progmodes/gud.el: Don't set same-window-regexps.
20077 * mail/sendmail.el:
20078 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20080 2011-09-10 Juri Linkov <juri@jurta.org>
20082 * isearch.el (isearch-edit-string): Remove obsolete mention of
20083 `C-w' (`isearch-yank-word-or-char') from docstring.
20084 (isearch-query-replace): Fix typo in docstring (bug#9466).
20086 2011-09-10 Juri Linkov <juri@jurta.org>
20088 * paren.el (show-paren-function): Don't show escaped parens.
20089 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20091 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20093 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20094 (mm-default-file-encoding): Remove autoload forms, they are
20095 replaced with autoload cookies in mml.el and mm-encode.el.
20096 (mail-add-attachment): New command.
20097 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20098 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20100 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20102 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20104 * simple.el (count-words-region): Use buffer if there's no region
20107 2011-09-09 Juri Linkov <juri@jurta.org>
20109 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20110 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20111 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20113 2011-09-09 Alan Mackenzie <acm@muc.de>
20115 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20116 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20118 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20120 Fix for Savannah bug#9392.
20121 * simple.el (mail-encode-mml): New defvar.
20123 * mail/rmail.el (mail-encode-mml): Add a defvar.
20124 (rmail-enable-mime-composing): Default to t.
20125 (rmail-forward): Use MIME method of forwarding only if both
20126 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20127 Set mail-encode-mml non-nil if the MIME method was used.
20129 * mail/sendmail.el (mml-to-mime): Add autoload form.
20130 (mail-encode-mml): Add a defvar.
20131 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20133 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20134 message through mml-to-mime, and reset mail-encode-mml to nil.
20136 2011-09-09 Glenn Morris <rgm@gnu.org>
20138 * woman.el (woman-if-body): When processing an .el block,
20139 do not delete the next .el block as well. (Bug#9447)
20140 (woman-special-characters): Add oq, cq, and hy characters.
20142 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20144 * window.el (window-deletable-p): Make sure window is live before
20145 invoking window-prev-buffers.
20147 2011-09-08 Leo Liu <sdl.web@gmail.com>
20149 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20151 2011-09-08 Juri Linkov <juri@jurta.org>
20153 * progmodes/compile.el (compilation-environment): Make it
20154 a defcustom (bug#8340).
20156 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20158 * window.el (frame-auto-delete): Rename to window-auto-delete.
20159 Make it control auto-deletion of windows and/or frames.
20160 (window-deletable-p): New argument FORCE. Rewrite conditions
20161 for deleting window/frame. (Bug#9419)
20162 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20163 Rewrite handling of case when window/frame can be deleted.
20164 (delete-windows-on): Call window-deletable-p with new FORCE
20165 argument t. (Bug#9456)
20167 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20169 * help-mode.el (help-mode): Restore autoload.
20171 2011-09-07 Juri Linkov <juri@jurta.org>
20173 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20174 `compilation-environment'. Set buffer-local
20175 `compilation-environment' to `thisenv' later after (funcall mode).
20178 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20179 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20180 instead of replacing its value. (Bug#8340)
20182 2011-09-07 Juri Linkov <juri@jurta.org>
20184 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20185 based on text properties put by `grep-filter' instead of matching
20187 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20188 to the value of `grep-error-screen-columns' (bug#9438).
20190 2011-09-07 Juri Linkov <juri@jurta.org>
20192 * simple.el (next-error-highlight, next-error-highlight-no-select):
20193 Doc fix (bug#9432).
20195 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20198 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20200 2011-09-07 Leo Liu <sdl.web@gmail.com>
20202 * net/rcirc.el (rcirc-mode): Conditionally initialize
20205 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20207 * emacs-lisp/find-func.el (find-function-C-source): Only set
20208 find-function-C-source-directory after checking that we found a source
20209 file there (bug#9440).
20211 2011-09-06 Alan Mackenzie <acm@muc.de>
20213 * isearch.el (isearch-other-meta-char): Wherever a key list is
20214 unread, "unread" the prefix arg, too. This fixes bug #8901.
20216 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20218 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20220 2011-09-05 Juri Linkov <juri@jurta.org>
20222 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20224 2011-09-05 Juri Linkov <juri@jurta.org>
20226 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20227 keeping point where processing of grep matches begins, and
20228 continue to delete remaining escape sequences from the same point.
20229 (grep-filter): Make leading zero optional in "0?1;31m" because
20230 git-grep emits "\033[1;31m" escape sequences unlike expected
20231 "\033[01;31m" as GNU Grep does (bug#9408).
20232 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20234 2011-09-05 Juri Linkov <juri@jurta.org>
20236 * subr.el (y-or-n-p): Capitalize "yes".
20238 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20240 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20241 `tramp-cache-unload-hook' where appropriate.
20242 (tramp-methods): Rename `tramp-remote-sh' to
20243 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20244 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20246 * net/tramp-sh.el (top): Don't require 'shell.
20247 (tramp-methods): Add `tramp-remote-shell' and
20248 `tramp-remote-shell-args' entries.
20249 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20250 (tramp-sh-handle-shell-command): Remove.
20251 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20252 Use `tramp-remote-shell'.
20254 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20256 * mail/sendmail.el (sendmail-query-once-function): Delete.
20257 (sendmail-query-once): Save directly to send-mail-function.
20258 Update message-send-mail-function too.
20260 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20262 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20264 * progmodes/python.el (python-mode-map): Use correct function to
20265 start python interpreter from menu-bar (as reported by Geert
20267 (inferior-python-mode-map): Fix typo.
20268 (python-shell-map): Remove.
20270 2011-09-03 Deniz Dogan <deniz@dogan.se>
20272 * net/rcirc.el (rcirc-print): Simplify code for
20273 rcirc-scroll-show-maximum-output. There is no need to walk
20274 through all windows to find the right one.
20276 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20278 * help.el (help-return-method): Doc fix.
20280 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20282 * window.el (window-deletable-p): Don't return a non-nil value
20283 when there's a buffer that was shown in the window before.
20285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20286 Set window's previous buffers to nil.
20288 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20290 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20291 newline before and after the tag line, so it doesn't interfere
20292 with determining the paragraph direction of bidirectional text.
20294 2011-09-03 Leo Liu <sdl.web@gmail.com>
20296 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20298 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20300 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20301 (pop-to-buffer): Change interactive spec. Pass second argument
20302 directly to display-buffer.
20303 (display-buffer): Fix interactive spec. Use functionp to
20304 distinguish between a function and a list of functions.
20306 * abbrev.el (edit-abbrevs):
20307 * arc-mode.el (archive-extract):
20308 * autoinsert.el (auto-insert):
20309 * bookmark.el (bookmark-bmenu-list):
20310 * files.el (find-file):
20311 * view.el (view-buffer):
20312 * progmodes/compile.el (compilation-goto-locus):
20313 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20315 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20317 * window.el (display-buffer-alist): Doc fix.
20318 (display-buffer): Add docstring. Don't treat
20319 display-buffer-default specially.
20320 (display-buffer-reuse-selected-window)
20321 (display-buffer-same-window, display-buffer-maybe-same-window)
20322 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20323 (display-buffer-pop-up-window)
20324 (display-buffer-reuse-or-pop-window)
20325 (display-buffer-use-some-window): New functions.
20326 (display-buffer-default-action): Use them.
20327 (display-buffer-default): Delete.
20328 (pop-to-buffer-1): Fix choice of actions.
20330 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20332 * minibuffer.el (completion--insert-strings): Don't get confused by
20333 completion entries that end with an LF char.
20335 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20337 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20339 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20341 * window.el (display-buffer): Restore interactive spec.
20342 (display-buffer-same-window, display-buffer-other-window):
20344 (pop-to-buffer-1): New function. Use the above.
20345 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20346 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20348 * view.el (view-buffer-other-window, view-buffer-other-frame):
20349 Just use pop-to-buffer.
20351 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20353 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20355 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20357 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20359 2011-08-31 Richard Stallman <rms@gnu.org>
20361 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20362 of the separation of rmail-view-buffer from rmail-buffer.
20363 If you say no to "replace original", the decrypt is in the
20364 view buffer. If you say yes, the decrypt goes into the
20367 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20369 * window.el (display-buffer-window): Rewrite doc-string.
20370 (display-buffer-record-window): New function.
20371 (display-buffer-macro-specifiers)
20372 (display-buffer-even-window-sizes, display-buffer-set-height)
20373 (display-buffer-set-width, display-buffer-in-window)
20374 (display-buffer-reuse-window, display-buffer-split-specifiers)
20375 (display-buffer-side-specifiers, display-buffer-split-window-1)
20376 (display-buffer-split-window, display-buffer-split-atom-window)
20377 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20378 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20379 (display-buffer-other-window-means-other-frame)
20380 (display-buffer-normalize-special)
20381 (display-buffer-normalize-default)
20382 (display-buffer-normalize-argument)
20383 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20384 (display-buffer-normalize-specifiers, display-buffer-frame)
20385 (display-buffer-same-window, display-buffer-same-frame)
20386 (display-buffer-other-window)
20387 (display-buffer-same-frame-other-window)
20388 (display-buffer-other-frame, pop-to-buffer-same-window)
20389 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20390 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20391 (switch-to-buffer-same-frame)
20392 (switch-to-buffer-other-window-same-frame)
20393 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20394 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20395 (display-buffer-alist-set): Remove.
20396 (display-buffer-function, special-display-buffer-names)
20397 (special-display-regexps, special-display-function):
20398 In doc-string refer to display-buffer-window and quit-restore
20400 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20401 (special-display-frame-alist, special-display-popup-frame)
20402 (same-window-buffer-names, same-window-regexps, same-window-p)
20403 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20404 (split-window-preferred-function, split-height-threshold)
20405 (split-width-threshold, window-splittable-p)
20406 (split-window-sensibly, window--try-to-split-window)
20407 (window--frame-usable-p, even-window-heights)
20408 (window--even-window-heights, window--display-buffer-1)
20409 (window--display-buffer-2, display-buffer-other-frame):
20410 Restore old Emacs 23 code, order and doc-strings where applicable.
20411 (display-buffer-default, display-buffer-assq-regexp): New functions.
20412 (display-buffer-alist): Rewrite doc-string.
20413 (display-buffer-default-action)
20414 (display-buffer-overriding-action): New variables.
20415 (display-buffer, switch-to-buffer): Rewrite.
20416 (pop-to-buffer): Restore Emacs 23 behavior but use
20417 window-normalize-buffer-to-display.
20418 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20419 Restore Emacs 23 behavior but use
20420 window-normalize-buffer-to-switch-to.
20421 (pop-to-buffer-same-window): Rewrite.
20422 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20423 Rewrite using Emacs 23 options.
20425 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20427 * net/tramp.el (tramp-root-regexp): Remove.
20428 (tramp-completion-file-name-regexp-unified)
20429 (tramp-completion-file-name-regexp-separate)
20430 (tramp-completion-file-name-regexp-url): Don't use leading volume
20431 letter on w32 systems. (Bug#5303, Bug#9311)
20432 (tramp-drop-volume-letter): Simplify definition.
20433 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20435 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20437 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20440 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20442 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20444 2011-08-29 Juri Linkov <juri@jurta.org>
20446 * isearch.el (isearch-done): Don't display message "Mark saved"
20447 when arg `edit' is non-nil to prevent its flicker in the echo area.
20449 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20451 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20452 obsolete packages for deletion.
20454 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20456 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20457 (help-mode): Derive help-mode from special-mode. Don't invoke
20458 view-mode from help-mode.
20459 (help-xref-override-view-map): Remove.
20460 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20461 view-mode is not used anymore.
20463 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20465 * server.el (server-port): Doc fix.
20467 * cus-theme.el (custom-theme-choose-mode): Inherit from
20468 special-mode (Bug#9124).
20469 (custom-theme-choose-mode-map): Add special-mode to parent.
20471 2011-08-28 Alan Mackenzie <acm@muc.de>
20473 * progmodes/cc-fonts.el
20474 (c-make-font-lock-BO-decl-search-function): New function.
20475 (c-basic-matchers-after - "Fontify the clauses after various
20476 keywords"): Extract the three keyword lists for the 3 erroneous
20477 constructs from the list of four, and use the new function above
20478 in place of an old one.
20480 2011-08-28 Deniz Dogan <deniz@dogan.se>
20482 * net/rcirc.el (rcirc-insert-prev-input)
20483 (rcirc-insert-next-input): Remove unused argument.
20485 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20487 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20489 2011-08-27 Alan Mackenzie <acm@muc.de>
20491 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20492 handle function pointer parameters properly.
20494 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20496 * window.el (display-buffer-reuse-window): Fix case where
20497 selected window was reused with non-nil OTHER-WINDOW argument.
20500 2011-08-27 Deniz Dogan <deniz@dogan.se>
20502 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20503 oftc's NickServ messages.
20505 2011-08-27 Glenn Morris <rgm@gnu.org>
20507 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20509 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20511 * emacs-lisp/package.el (package-install): Call package-initialize
20512 if called interactively.
20514 2011-08-26 Leo Liu <sdl.web@gmail.com>
20516 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20518 2011-08-25 Juri Linkov <juri@jurta.org>
20520 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20521 `search-whitespace-regexp' (bug#9364).
20523 2011-08-25 Juri Linkov <juri@jurta.org>
20525 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20526 `regexp-search-ring' to their global values to protect from
20527 updating by `read-from-minibuffer' (bug#9185).
20529 2011-08-25 Juri Linkov <juri@jurta.org>
20531 * textmodes/ispell.el (ispell-command-loop): Add newline
20532 at the end of the "Use option `i'..." line.
20534 2011-08-25 Juri Linkov <juri@jurta.org>
20536 * battery.el (display-battery-mode): If `battery-status-function'
20537 or `battery-mode-line-format' is nil, display the message and set
20538 `display-battery-mode' to nil (bug#9363).
20540 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20542 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20543 bidi-string-mark-left-to-right; they are unnecessary now.
20545 2011-08-25 Deniz Dogan <deniz@dogan.se>
20547 * net/quickurl.el: Documentation typo fixes.
20549 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20551 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20553 2011-08-25 Glenn Morris <rgm@gnu.org>
20555 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20557 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20558 (smtpmail-via-smtp): Handle nil response from smtp.
20560 2011-08-24 Juri Linkov <juri@jurta.org>
20562 * proced.el (proced-marked): Inherit from `error' instead of
20563 `font-lock-warning-face'.
20565 * ibuffer.el (ibuffer-marked-face): Change default face from
20566 `font-lock-warning-face' to `warning'.
20567 (ibuffer-deletion-face): Change default face from
20568 `font-lock-type-face' to `error'.
20570 * battery.el (battery-update): Use the face `error' instead of
20571 `font-lock-warning-face' (bug#6117).
20573 2011-08-24 Juri Linkov <juri@jurta.org>
20575 * faces.el (success): Change face color from "Green3" to
20576 "ForestGreen" on light background (bug#9353).
20578 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20580 * window.el (quit-window): Rename from quit-restore-window.
20581 Use same arglist as old quit-window.
20582 (frame-auto-delete): Doc fix.
20584 * view.el (view-mode-exit): Use quit-window.
20586 2011-08-24 Juri Linkov <juri@jurta.org>
20588 * isearch.el (isearch-ring-adjust1): Start visiting previous
20589 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20590 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20591 for empty search string (when the last search string is reused
20592 automatically) to adjust the isearch ring to the last element and
20593 prepare the correct index for further M-p commands (bug#9185).
20595 2011-08-24 Kenichi Handa <handa@m17n.org>
20597 * international/ucs-normalize.el: If decomposition property of
20598 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20600 (nfd, nfkd): Likewise.
20602 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20604 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20605 from process filters aren't reliably transmitted to the surrounding
20606 accept-process-output.
20607 (mpc-proc-check): New function.
20608 (mpc-proc-sync): Use it (bug#8293)
20610 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20612 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20613 Add compatibility functions (bug#9313).
20615 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20617 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20619 * international/uni-bidi.el: Regenerate.
20621 2011-08-23 Kenichi Handa <handa@m17n.org>
20623 * international/charprop.el:
20624 * international/uni-bidi.el:
20625 * international/uni-category.el:
20626 * international/uni-combining.el:
20627 * international/uni-comment.el:
20628 * international/uni-decimal.el:
20629 * international/uni-decomposition.el:
20630 * international/uni-digit.el:
20631 * international/uni-lowercase.el:
20632 * international/uni-mirrored.el:
20633 * international/uni-name.el:
20634 * international/uni-numeric.el:
20635 * international/uni-old-name.el:
20636 * international/uni-titlecase.el:
20637 * international/uni-uppercase.el: Regenerate.
20639 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20641 * help.el (help-window-setup): Fix message displayed when other
20642 window is reused. (Bug#9341)
20644 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20646 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20647 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20649 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20651 * shell.el (shell-parse-pcomplete-arguments): New function.
20652 (shell-completion-vars): Use it instead (bug#9160).
20654 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20656 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20657 strings and comments (bug#9333).
20659 * emacs-lisp/debug.el (debug-arglist): New function.
20660 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20661 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20663 2011-08-22 Juri Linkov <juri@jurta.org>
20665 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20666 Revert regexp that highlights output switches to its old
20667 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20669 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20670 to check for empty output (bug#9226).
20672 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20674 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20675 symbol-constituent as the default, as that stops font-lock from
20676 working properly (Bug#8843).
20678 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20680 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20681 `coding-system-for-*' around the process open call to avoid
20682 auth-source side effects.
20683 (smtpmail-try-auth-methods): Expand the secret password.
20684 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20687 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20689 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20691 * emacs-lisp/find-func.el (find-function-noselect): New arg
20694 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20695 signal an error for built-in functions (Bug#6664).
20697 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20699 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20700 (smtpmail-try-auth-methods): Use it.
20702 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20704 * font-lock.el (font-lock-fontify-region)
20705 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20706 (font-lock-default-unfontify-buffer)
20707 (font-lock-default-fontify-region)
20708 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20710 * progmodes/compile.el (compilation-error-properties):
20711 Fix confusion between file struct and message struct (Bug#9319).
20712 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20715 * net/browse-url.el (browse-url-firefox): Don't call
20716 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20718 2011-08-20 Glenn Morris <rgm@gnu.org>
20720 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20722 * tutorial.el (tutorial--default-keys): Update some default bindings.
20724 * files.el (hack-local-variables): Fully ignore case for "mode:".
20726 2011-08-20 Alan Mackenzie <acm@muc.de>
20728 Resolve invalid use of a regexp in regexp-opt.
20730 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20731 detection for a java annotation.
20733 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20734 detection for a java annotation.
20736 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20738 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20740 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20742 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20745 2011-08-20 Alan Mackenzie <acm@muc.de>
20747 Fontify CPP expressions correctly when starting in the middle of
20748 such a construct. Mainly for when jit-lock etc. starts a chunk
20751 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20753 (c-make-font-lock-search-form): New function, extracted from
20754 c-make-font-lock-search-function.
20755 (c-make-font-lock-search-function): Use the above function.
20756 (c-make-font-lock-context-search-function): New function.
20757 (c-cpp-matchers): Enhance the preprocessor expression case with
20759 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20760 which takes an expression.
20762 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20764 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20766 * window.el (display-buffer-reuse-window)
20767 (display-buffer-pop-up-window): Don't reuse or split a side
20770 2011-08-19 Glenn Morris <rgm@gnu.org>
20772 * files.el (hack-local-variables-prop-line, hack-local-variables):
20773 Downcase "Mode:". (Bug#9331)
20775 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20777 * international/characters.el: Add L and R categories.
20779 * subr.el (bidi-string-mark-left-to-right): Rename from
20780 string-mark-left-to-right. Use category search.
20782 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20784 2011-08-18 Juri Linkov <juri@jurta.org>
20786 * faces.el (error, warning, success): New faces with definitions
20787 copied from old default values of `font-lock-warning-face',
20788 `compilation-warning', `compilation-info' (bug#6117).
20790 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20792 * progmodes/compile.el (compilation-error): Inherit from `error'.
20793 (compilation-warning): Inherit from `warning'.
20794 (compilation-info): Inherit from `success'.
20796 * dired.el (dired-marked): Inherit from `warning'.
20797 (dired-flagged): Inherit from `error'.
20799 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20801 * mail/smtpmail.el (auth-source): Require to avoid problems with
20802 binding variables (bug#9298). Also clean up some unused
20805 * net/network-stream.el (network-stream-open-starttls):
20806 Support using starttls.el without using gnutls-cli.
20808 2011-08-17 Juri Linkov <juri@jurta.org>
20810 * progmodes/grep.el (rgrep): Handle the case when
20811 `grep-find-command' is a cons cell (bug#9278).
20813 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20815 * window.el (display-buffer-pop-up-frame): Run frame creation
20816 function with BUFFER current (as special-display-popup-frame
20817 does). Reported by Drew Adams.
20819 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20821 * epa-mail.el: Simplify GnuPG group expansion using
20823 (epa-mail-group-alist, epa-mail-group-modtime)
20824 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20825 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20826 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20829 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20831 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20833 2011-08-16 Alan Mackenzie <acm@muc.de>
20835 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20836 Correct, to avoid the inside of macros.
20838 2011-08-16 Richard Stallman <rms@gnu.org>
20840 * epa-mail.el: Handle GnuPG group definitions.
20841 (epa-mail-group-alist, epa-mail-group-modtime)
20842 (epa-mail-gnupg-conf-file): New variables.
20843 (epa-mail-parse-groups, epa-mail-sync-groups)
20844 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20845 (epa-mail-expand-recipients): New functions.
20846 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20848 * mail/rmail.el (rmail-epa-decrypt): New command.
20850 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20851 Don't bind buffer-read-only, just inhibit-read-only.
20852 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20853 (epa-decrypt-armor-in-region): Make error message clearer.
20855 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20857 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20858 and "a2b" to "ab" for `prefix'.
20860 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20862 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20864 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20865 Fourquet (Bug#8804).
20867 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20869 * startup.el (argi): Declare as global variable (bug#9275).
20871 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20873 * subr.el (string-mark-left-to-right): Search the entire string
20874 for RTL script, not just the terminating character. Doc fix.
20876 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20878 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20880 (js--regexp-literal, js-syntax-propertize-function): Remove.
20881 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20882 (js-mode-map): Don't rebind electric keys.
20883 (js-insert-and-indent): Remove.
20884 (js-mode): Setup electric-layout and electric-indent instead.
20886 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20888 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20890 * epa.el (epa-progress-callback-function): Fix the logic of
20891 displaying progress.
20892 * epa-file.el (epa-file-insert-file-contents): Make progress
20893 display more user-friendly.
20894 (epa-file-write-region): Ditto.
20896 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20898 * subr.el (string-mark-left-to-right): New function.
20900 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20901 Use string-mark-left-to-right.
20902 (list-buffers-noselect): Caller changed.
20904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20905 Use string-mark-left-to-right.
20906 (tabulated-list-print): Recenter after moving point.
20908 2011-08-10 Juri Linkov <juri@jurta.org>
20910 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20911 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20912 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20914 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20916 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20919 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20921 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20922 character. (Bug#6594)
20924 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20926 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20927 (image-dired--with-db-file): New macro.
20928 (image-dired-write-tags, image-dired-remove-tag)
20929 (image-dired-create-gallery-lists, image-dired-write-comments)
20930 (image-dired-get-comment, image-dired-mark-tagged-files)
20931 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20932 (image-dired-gallery-generate): Use insert-file-contents.
20934 * time.el (display-time-world-list, display-time-world-display):
20935 * time-stamp.el (time-stamp-string):
20936 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20937 set-time-zone-rule (Bug#7337).
20939 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20941 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20942 (epg-error-to-string, epg-errors-to-string): New function.
20943 (epg-wait-for-completion): Reverse errors list.
20944 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20945 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20946 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20947 (epg-sign-keys, epg-generate-key-from-file)
20948 (epg-generate-key-from-string): Format errors by using
20949 epg-errors-to-string (bug#9255).
20950 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20952 2011-08-07 Juri Linkov <juri@jurta.org>
20954 * faces.el (list-faces-display): Remove extra angle bracket
20955 from `help-mode-map'.
20957 * info.el (Info-history-toc-nodes): Doc fix.
20959 * longlines.el (longlines-mode): Doc fix.
20961 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20963 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20964 of statements and in a few more cases (bug#9183).
20966 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20968 (cl-transform-lambda): Use them (bug#9239).
20970 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20972 * window.el (display-buffer-same-window)
20973 (display-buffer-same-frame, display-buffer-other-window)
20974 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20975 (pop-to-buffer-other-window)
20976 (pop-to-buffer-same-frame-other-window)
20977 (pop-to-buffer-other-frame): Make them defuns.
20978 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20980 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20982 * subr.el (make-composed-keymap): Move from C. Change calling
20983 convention, and improve docstring to bring attention to a subtle point.
20984 * minibuffer.el (completing-read-default): Adjust accordingly.
20986 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20988 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20989 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20991 * net/trampver.el: Update release number.
20993 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20995 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20998 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21000 * mail/sendmail.el (sendmail-query-once): Restore the current
21001 buffer after querying (bug#9074).
21003 * dired.el (dired-flagged): Use different faces for marked and
21004 flagged files (bug#6117).
21006 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21009 * ido.el (ido-mode): Switch off the message if called
21012 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21013 before 587, since it appears that that's more likely to work for
21016 * cus-edit.el (custom-file): When running under emacs -q, always
21017 refuse to save the customizations, even if the .emacs file doesn't
21020 * info.el: Remove the `Info-beginning-of-buffer' function
21023 * net/network-stream.el (network-stream-open-starttls):
21024 Use `starttls-available-p' to see whether starttls.el can be used.
21026 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21028 * window.el (display-buffer-in-window): Don't set dedicated status
21029 of window here (Bug#9215).
21030 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21031 (display-buffer-pop-up-side-window)
21032 (display-buffer-in-side-window): Set dedicated status of window here.
21034 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21036 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21037 before binding generated-autoload-file.
21039 2011-08-01 Deniz Dogan <deniz@dogan.se>
21041 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21043 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21045 Sync with Tramp 2.2.2.
21047 * net/trampver.el: Update release number.
21049 2011-07-30 Juri Linkov <juri@jurta.org>
21051 * dired-aux.el (dired-touch-initial): Remove function.
21052 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21053 current time, and `default' to the last modification time of the
21054 current marked file (bug#6887).
21056 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21058 * simple.el (goto-line): Use string-to-number to provide a
21059 numeric argument to read-number (bug#9163).
21061 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21063 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21064 connection process, it could be nil.
21066 2011-07-27 Leo Liu <sdl.web@gmail.com>
21068 Simplify url handling in rcirc-mode.
21070 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21071 (rcirc-browse-url-at-mouse): Remove.
21072 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21074 2011-07-26 Alan Mackenzie <acm@muc.de>
21076 Fontify bitfield declarations properly.
21078 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21079 (c-symbol-chars): Now exported as a lang variable.
21080 (c-not-primitive-type-keywords): New lang variable.
21082 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21083 QT keyword "more" to prevent "more slots: ...." being spuriously
21084 parsed as a bitfield declaration.
21086 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21087 Refactor and enhance to handle bitfield declarations.
21088 (c-punctuation-in): New function.
21089 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21090 declarations properly.
21092 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21094 * calendar/icalendar.el (icalendar--all-events): Take care of
21095 multiple vcalendars in a single file.
21096 (icalendar--convert-float-to-ical): Checkdoc fixes.
21098 2011-07-25 Deniz Dogan <deniz@dogan.se>
21100 * image.el (insert-image): Clarifying docstring.
21102 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21104 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21105 `tramp-send-command-and-check' if there is no error.
21106 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21108 2011-07-22 Alan Mackenzie <acm@muc.de>
21110 Prevent cc-langs.elc being loaded at run time.
21112 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21115 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21116 "(require 'cc-langs)". Quote a form so it will evaluate at
21117 (cc-mode's) compilation time.
21119 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21121 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21122 loading. (Bug#9114)
21124 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21126 * window.el (display-buffer-pop-up-window)
21127 (display-buffer-pop-up-side-window)
21128 (display-buffer-in-side-window): Call display-buffer-set-height
21129 and display-buffer-set-width after setting the new window's
21130 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21132 2011-07-20 Sam Steingold <sds@gnu.org>
21134 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21135 (etags-tags-included-tables): Call `convert-standard-filename' on
21136 the file names contained in TAGS so that windows Emacs can handle
21137 TAGS files created by cygwin ctags.
21139 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21141 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21142 which apparently didn't work.
21144 2011-07-19 Roland Winkler <winkler@gnu.org>
21146 * proced.el (proced-send-signal): For *Marked Processes* buffer
21147 put point at beginning of buffer.
21149 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21151 * proced.el (proced-format): Make header lines align with the text
21154 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21156 * view.el (view-buffer): Allow running in `special' modes if we're
21157 visiting a file (bug#8615).
21159 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21161 * window.el (display-buffer-alist-of-strings-p)
21162 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21164 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21167 2011-07-18 Alan Mackenzie <acm@muc.de>
21169 Fontify declarators properly when, e.g., a jit-lock chunk begins
21170 inside a declaration.
21172 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21176 (c-complex-decl-matchers): Insert reference to
21177 c-font-lock-enclosing-decls.
21179 * progmodes/cc-engine.el (c-backward-single-comment):
21180 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21181 to nil around calls to (forward-comment -1).
21183 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21185 * image.el (put-image): Doc typo fix.
21187 * progmodes/etags.el (tags-search): Doc typo fix.
21189 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21190 password if we get errors 550 to 554.
21192 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21194 * net/gnutls.el (gnutls-log-level): Remove.
21196 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21197 indentation character (bug#6380).
21199 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21201 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21202 to clarify what the problem is (bug#4291).
21204 * simple.el (current-kill): Clarify what
21205 `interprogram-paste-function' does (bug#7500).
21206 (auto-fill-mode): Document `auto-fill-function' in relation to
21207 `auto-fill-mode' (bug#2470).
21209 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21211 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21212 method if slot is read-only (bug#9035).
21214 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21216 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21217 * window.el (pop-to-buffer): Select window used even if it was
21218 selected before, see discussion of (Bug#8615), (Bug#6954).
21219 Pass argument NORECORD on to select-frame-set-input-focus.
21221 2011-07-15 Glenn Morris <rgm@gnu.org>
21223 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21226 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21228 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21229 (gnutls-negotiate): Use it.
21231 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21233 * net/gnutls.el (gnutls-negotiate):
21234 Upcase `gnutls-algorithm-priority'.
21236 2011-07-15 Glenn Morris <rgm@gnu.org>
21238 * jka-compr.el (jka-compr-verbose): Move from here...
21239 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21240 Add missing :version tag.
21241 * info.el: No need to require jka-compr when compiling.
21243 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21245 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21246 (gnutls-negotiate): Use it.
21248 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21250 * info.el (Info-beginning-of-buffer): New command.
21251 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21252 announcing `b' as the key (bug#8325).
21253 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21255 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21257 * international/mule-cmds.el
21258 (describe-specified-language-support): Make the error message
21259 clearer (bug#8905).
21261 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21263 * isearch.el (isearch-barrier): Add a doc string, since it's
21264 mentioned in a function doc string (bug#8678).
21266 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21268 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21269 buffer argument (Bug#9083) and self-identifying label argument.
21271 2011-07-15 Glenn Morris <rgm@gnu.org>
21273 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21275 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21277 * man.el (Man-fontify-manpage): Fix message when formatting the
21278 man page (bug#7929).
21280 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21282 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21283 argument LRM; if non-nil, append an invisible LRM character to the
21285 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21286 last argument non-nil, when formatting buffer names.
21287 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21288 paragraph direction.
21290 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21292 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21293 the man page name (bug#7929).
21295 * image.el (put-image): Mention the `put-image' overlay property
21298 * scroll-bar.el (set-scroll-bar-mode): Mention that
21299 `scroll-bar-mode' lists the values (bug#7772).
21301 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21302 command (bug#7729).
21304 * rect.el (apply-on-rectangle): Return the point after the last
21306 (string-rectangle): Go to the point after the last operation
21309 * printing.el (pr-toggle-region): Clarify the documentation
21310 slightly (bug#7493).
21312 * time.el (display-time-update):
21313 Allow `display-time-mail-function' to return nil (bug#7158).
21314 Fix suggested by Detlev Zundel.
21316 * vc/diff.el (diff): Clarify the order the file names are read
21319 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21320 the doc string (bug#7015).
21322 * font-lock.el (font-lock-maximum-decoration): Mention what
21323 numeric levels mean (bug#6935).
21325 * startup.el (initial-buffer-choice): Don't mention the `none'
21326 selection, which is against policy.
21328 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21330 * window.el (display-buffer-normalize-special):
21331 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21333 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21335 * subr.el (version<, version<=, version=): Mention "-CVS" and
21336 "-12345" alpha version numbers.
21338 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21340 * bindings.el: Add advertised binding for set-mark-command
21343 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21345 * bindings.el (mode-line-other-buffer):
21346 * bookmark.el (bookmark-bmenu-2-window):
21347 * bs.el (bs-cycle-next, bs-cycle-previous):
21348 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21351 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21354 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21356 * follow.el (follow-debug-message, follow-redisplay):
21357 * jka-cmpr-hook.el (with-auto-compression-mode):
21358 Fix typos in docstrings.
21360 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21362 * subr.el (with-silent-modifications): Clarify somewhat what the
21363 macro inhibits (bug#6525).
21365 * simple.el (eval-expression): Note what it does if called
21366 interactively (bug#6495).
21368 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21370 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21371 Use pop-to-buffer buffer-or-name if it is nil.
21373 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21374 Remove switch-to-buffer.
21376 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21378 * files.el (make-directory): Clarify that an error will be raised
21379 if there's an error (bug#6397).
21381 * startup.el (initial-buffer-choice): Add `none' as a choice
21384 * subr.el (add-hook): Clarify section about buffer-local hooks
21387 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21389 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21391 * tabify.el (untabify): Preserve the current column so that point
21392 doesn't move (bug#6032).
21394 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21396 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21397 Rewrite to avoid awkward possessive "s" (bug#5986).
21399 2011-07-13 Glenn Morris <rgm@gnu.org>
21401 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21402 (dired-insert-directory): Give a message the first time
21403 if ls is found not to support --dired.
21405 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21407 * simple.el (toggle-truncate-lines): Clarify what is toggled
21408 (bug#5580). Text by Drew Adams.
21410 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21412 * simple.el (blink-matching-open): Make the error message from the
21413 last change less verbose.
21415 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21417 * font-lock.el (font-lock-comment-face): Use the high contrast
21418 "yellow" color for font-lock-comment-face on low color terminals
21419 using a dark background color (bug#4221).
21421 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21423 * dired.el (dired-insert-set-properties): Make the doc string
21424 reflect what it does now (bug#5325).
21426 * simple.el (blink-matching-open): Say that we were unable to find
21427 the match within the limit, if we're limited (bug#5122).
21429 * international/mule-cmds.el (prefer-coding-system): Add an
21430 example (bug#4869).
21432 * progmodes/etags.el (tags-search): Document `file-list-form'
21435 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21437 * net/browse-url.el (browse-url-default-browser)
21438 (browse-url-browser-function): Make the default browser choice a
21439 bit more logical (bug#4300). Also clean up the doc string.
21441 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21443 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21444 binary endings (bug#4440).
21446 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21448 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21449 which can be pretty annoying (bug#8971).
21451 * jka-compr.el (jka-compr-verbose): New variable, and use
21452 throughout (bug#8971).
21454 * info.el (Info-find-file): Fall back on the installation
21455 directory if we can't find the info node anywhere else.
21457 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21459 * vc/vc.el (vc-revert-file):
21460 Don't set file time-stamp in the past. (Bug#5181)
21462 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21464 * files.el (after-find-file): Give a better error message when
21465 trying to find a symlink that points to a file that doesn't exist
21468 * progmodes/cc-vars.el: Remove (probably) misleading comment
21471 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21473 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21475 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21477 * mouse-sel.el: Hack restoring functionality, while keeping
21478 compatibility with 2010-07-03 changes to mouse selection.
21479 (mouse-sel-primary-overlay): New var.
21480 (mouse-sel-selection-alist): Use it.
21481 (mouse-sel-mode): Doc fix; remove points that are default features
21484 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21487 Fix previous fix (bug#2490).
21489 2011-07-12 Roland Winkler <winkler@gnu.org>
21491 * textmodes/bibtex.el (bibtex-initialize):
21492 Use pop-to-buffer-same-window.
21493 (bibtex-search-entries): Fix interactive call.
21495 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21497 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21498 Fontise bytecomp Error lines more correctly (bug#2490).
21499 Fix suggested by Johan Bockgård.
21501 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21503 * dired-x.el (dired-guess-default): Use `delete-dups'.
21505 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21507 * dired.el (dired-mark-prompt):
21508 * dired-aux.el (dired-read-shell-command): Doc fix.
21510 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21512 * mail/sendmail.el (sendmail-query-once):
21513 Use `customize-save-variable' unconditionally, now that it works under
21516 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21518 * cus-edit.el (custom-file): Take an optional no-error variable.
21519 (customize-save-variable): Set the variable, and give a warning if
21520 running under "emacs -q".
21522 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21524 * loadhist.el (unload-feature-special-hooks):
21525 Add `auto-coding-functions', `fill-nobreak-predicate' and
21526 `find-directory-functions' (bug#5327).
21528 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21530 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21532 * cus-edit.el (custom-guess-name-alist): -alist variables should
21533 use the `alist' type (bug#3120). Suggested by Drew Adams.
21535 * printing.el: Add documentation to all the `pr-toggle-' commands.
21537 2011-07-11 Leo Liu <sdl.web@gmail.com>
21539 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21540 backends where it makes sense (bug#2623).
21542 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21544 * dired-x.el (dired-guess-default): Remove duplicate shell command
21545 entries (bug#2028).
21546 (dired-guess-default): Fix grammar in doc string (bug#2028).
21547 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21549 * subr.el (remove-duplicates): New conveniency function.
21551 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21553 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21556 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21558 * window.el (display-buffer-normalize-default): Don't invert
21559 meaning of even-window-heights. Reported by Eli Zaretskii
21562 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21564 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21566 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21568 * window.el (display-buffer): Fix arguments to
21569 display-buffer-reuse-window in last change.
21571 * faces.el (link): Use a less saturated blue on light backgrounds.
21573 * startup.el (fancy-startup-text, fancy-about-text)
21574 (fancy-startup-tail): Use font-lock faces, for background safety.
21576 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21578 * emulation/viper-cmd.el (viper-change-state-to-vi):
21579 Limit triggering of abbrev expansion (Bug#9038).
21581 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21583 * window.el (display-buffer-default-specifiers): Remove.
21584 (display-buffer-macro-specifiers): Remove default specifiers.
21585 (display-buffer-alist): Default to nil.
21586 (display-buffer-reuse-window): New optional argument other-window.
21587 (display-buffer-pop-up-window): Allow splitting internal
21588 windows. Check whether a live window was created.
21589 (display-buffer-other-window-means-other-frame)
21590 (display-buffer-normalize-arguments): Rename to
21591 display-buffer-normalize-argument and rewrite. Set the
21592 other-window specifier.
21593 (display-buffer-normalize-special): New function.
21594 (display-buffer-normalize-options): Rename to
21595 display-buffer-normalize-default and rewrite.
21596 (display-buffer-normalize-options-inhibit): Remove.
21597 (display-buffer-normalize-specifiers): Rewrite.
21598 (display-buffer): Process other-window specifier and call
21599 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21601 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21602 (display-buffer-alist-set): Don't handle 'unset default values.
21603 (display-buffer-in-window, display-buffer-alist-set):
21604 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21605 <tassilo@member.fsf.org>.
21607 2011-07-09 Leo Liu <sdl.web@gmail.com>
21609 * register.el (insert-register): Restore accidental change on
21610 2011-06-26. (Bug#9028)
21612 2011-07-09 Glenn Morris <rgm@gnu.org>
21614 * subr.el (remq): Handle the empty list. (Bug#9024)
21616 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21618 * mail/sendmail.el (send-mail-function): No longer delay custom
21620 * custom.el (custom-initialize-delay): Doc fix.
21622 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21624 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21626 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21628 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21629 human-friendly prompt.
21631 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21633 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21634 provided by a particular plugin.
21636 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21638 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21639 save customizations (with "emacs -Q"), just set the variable
21640 instead of erroring out.
21642 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21644 2011-07-08 Juri Linkov <juri@jurta.org>
21646 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21647 (archive-zip-update-case): Use 7z if found by `executable-find'.
21648 The order of searching the available programs is the same as in
21649 `archive-zip-extract' (bug#8968).
21651 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21653 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21654 (menu-bar-options-menu): Tweak descriptions.
21656 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21658 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21659 menu items into verb phrases (bug#1421). Also refill to fit under
21662 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21664 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21665 (Info-read-node-name): Doc fix (Bug#1084).
21667 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21668 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21669 (end-of-sexp, beginning-of-sexp)
21670 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21671 (forward-symbol, forward-same-syntax, word-at-point)
21672 (sentence-at-point): Doc fix (Bug#1144).
21674 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21676 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21677 should cover it (bug#1281).
21679 * cus-edit.el (custom-show): Mark as obsolete.
21681 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21682 negotiation fails, then possibly try again with a non-encrypted
21683 connection (bug#9017).
21685 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21688 2011-07-07 Richard Stallman <rms@gnu.org>
21690 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21691 property, and handle its changed format.
21692 Look for the correct line number.
21693 Use file's line contents (but not past first =) to find
21694 correct line in message.
21696 2011-07-07 Kenichi Handa <handa@m17n.org>
21698 * international/characters.el (build-unicode-category-table):
21700 (unicode-category-table): Set it by unicode-property-table-internal.
21702 * international/mule-cmds.el (char-code-property-alist): Move to
21704 (get-char-code-property): Call unicode-property-table-internal to
21705 load a file. Call get-unicode-property-internal where necessary.
21706 (put-char-code-property): Call unicode-property-table-internal to
21707 load a file. Call put-unicode-property-internal where necessary.
21708 put-unicode-property-internal where necessary.
21709 (char-code-property-description):
21710 Call unicode-property-table-internal to load a file.
21712 * international/charprop.el:
21713 * international/uni-bidi.el:
21714 * international/uni-category.el:
21715 * international/uni-combining.el:
21716 * international/uni-comment.el:
21717 * international/uni-decimal.el:
21718 * international/uni-decomposition.el:
21719 * international/uni-digit.el:
21720 * international/uni-lowercase.el:
21721 * international/uni-mirrored.el:
21722 * international/uni-name.el:
21723 * international/uni-numeric.el:
21724 * international/uni-old-name.el:
21725 * international/uni-titlecase.el:
21726 * international/uni-uppercase.el: Regenerate.
21728 * loadup.el: Load international/charprop.el before
21729 international/characters.
21731 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21733 * window.el (next-buffer, previous-buffer): Signal an error if
21734 called from a minibuffer window.
21736 * bindings.el: Revert 2011-07-04 change.
21738 2011-07-06 Richard Stallman <rms@gnu.org>
21740 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21741 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21742 Treat markers like ints.
21743 (rmail-mime-entity): Doc fix.
21745 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21747 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21748 defcustom again for backwards compatibility.
21750 * simple.el (shell-command-on-region): Fill.
21752 * dired-aux.el (dired-kill-line): Add a doc string.
21754 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21755 to "\\sw\\|\\s_" (bug#358).
21757 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21758 (dired-unmark-backward): Ditto.
21759 (dired-flag-backup-files): Ditto.
21761 * dired-x.el (dired-mark-sexp): Ditto.
21763 2011-07-06 Richard Stallman <rms@gnu.org>
21765 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21766 (rmail-mime-entity): New arg TRUNCATED.
21767 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21769 (rmail-mime-save): Warn if entity is truncated.
21770 (rmail-mime-toggle-hidden): Likewise, for showing.
21771 (rmail-mime-process-multipart): Record when an entity is truncated.
21773 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21774 if ENTITY is a string.
21776 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21778 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21779 of faces when `M-C-x'-ing their definitions (bug#8378).
21780 Also clean up the code slightly.
21782 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21783 because that makes the colors go away.
21785 * mail/sendmail.el (send-mail-function): Change the default to
21786 `sendmail-query-once'.
21787 (sendmail-query-once): Add an autoload cookie.
21789 * net/network-stream.el (network-stream-open-starttls): Try using
21790 a plain connection even if the server offered STARTTLS, and we
21791 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21792 capability. This should make smtpmail.el work in slightly more
21795 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21797 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21799 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21801 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21803 * progmodes/sql.el: Version 3.0
21804 (sql-product-alist): Add product :completion-object,
21805 :completion-column, and :statement attributes.
21806 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21807 (sql-mode-syntax-table): Mark all punctuation.
21808 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21810 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21811 (sql-mode-oracle-font-lock-keywords): Improve.
21812 (sql-oracle-show-reserved-words): New function for development.
21813 (sql-product-font-lock): Simplify for source code buffers.
21814 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21816 (sql-highlight-product): Set product specific syntax table.
21817 (sql-mode-map): Add statement movement functions.
21818 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21820 (sql-statement-regexp, sql-beginning-of-statement)
21821 (sql-end-of-statement, sql-signum): New functions.
21822 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21823 (sql-show-sqli-buffer): Bug fix.
21824 (sql-interactive-mode): Store connection data as buffer local.
21825 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21826 with sql-interactive-mode.
21827 (sql-save-connection): Save buffer local settings.
21828 (sql-connection-menu-filter): Change menu entry name.
21829 (sql-product-interactive): Bug fix.
21830 (sql-preoutput-hold): New variable.
21831 (sql-interactive-remove-continuation-prompt): Bug fixes.
21832 (sql-debug-redirect): New variable.
21833 (sql-str-literal): New function.
21834 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21836 (sql-oracle-save-settings, sql-oracle-restore-settings)
21837 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21838 (sql-completion-object, sql-completion-column)
21839 (sql-completion-sqlbuf): New variables.
21840 (sql-build-completions-1, sql-build-completions)
21841 (sql-try-completion): New functions.
21842 (sql-read-table-name): Use them.
21843 (sql-contains-names): New buffer local variable.
21844 (sql-list-all, sql-list-table): Use it.
21845 (sql-oracle-completion-types): New variable.
21846 (sql-oracle-completion-object, sql-sqlite-completion-object)
21847 (sql-postgres-completion-object): New functions.
21849 2011-07-06 Glenn Morris <rgm@gnu.org>
21851 * window.el (pop-to-buffer): Doc fix.
21853 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21855 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21857 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21859 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21861 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21863 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21865 * button.el (button): Inherit from link face. Suggested by Dan
21868 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21870 * progmodes/gdb-mi.el: Fit in 80 columns.
21871 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21874 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21875 if imenu is simply not configured (bug#8941).
21877 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21879 * allout.el (allout-post-undo-hook): New allout outline-change
21880 event hook to signal undo activity.
21881 (allout-post-command-business): Run allout-post-undo-hook if an
21882 undo just occurred.
21883 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21884 * allout-widgets.el (allout-widgets-after-undo-function):
21885 Ensure the integrity of the current item's decoration after it has been
21886 in the vicinity of an undo.
21887 (allout-widgets-mode): Include allout-widgets-after-undo-function
21888 on the new allout-post-undo-hook.
21890 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21892 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21893 Let define-derived-mode define it.
21894 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21895 cycles of abbrev-table inheritance (bug#8998).
21897 2011-07-05 Roland Winkler <winkler@gnu.org>
21899 * textmodes/bibtex.el: Add support for biblatex.
21900 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21901 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21902 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21903 (bibtex-entry-alist, bibtex-field-alist): New variables.
21904 (bibtex-entry-field-alist): Obsolete alias for
21905 bibtex-BibTeX-entry-alist.
21906 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21907 (bibtex-set-dialect): New command.
21908 (bibtex-entry-type, bibtex-entry-head)
21909 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21910 Bind via bibtex-set-dialect.
21911 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21912 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21913 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21914 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21915 Define via bibtex-set-dialect.
21916 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21917 Obey bibtex-no-opt-remove-re.
21918 (bibtex-vec-push, bibtex-vec-incr): New functions.
21919 (bibtex-format-entry, bibtex-field-list)
21920 (bibtex-print-help-message, bibtex-validate)
21921 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21923 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21925 * progmodes/compile.el (compilation-goto-locus):
21926 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21927 * bs.el (bs-cycle-next, bs-cycle-previous):
21928 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21929 * bindings.el (mode-line-other-buffer):
21930 * autoinsert.el (auto-insert):
21931 * arc-mode.el (archive-extract):
21932 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21934 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21936 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21937 Fix check of `emacs-lock-unlockable-modes'.
21938 Coerce true values of `emacs-lock--try-unlocking' to t.
21940 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21942 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21943 * emacs-lock.el: New file.
21945 2011-07-05 Julien Danjou <julien@danjou.info>
21947 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21948 than `boundp' to check if face is set.
21950 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21952 * register.el (registerv-make):
21953 * window.el (window-min-height): Fix typos in docstrings.
21955 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21957 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21960 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21962 * server.el (server-execute): Catch quit and call
21963 `server-return-error' to pass the error back to emacsclient and
21964 close the connection (bug#8942).
21966 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21968 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21969 insecure exception for current topic. Also note that auto-saves
21970 are handled differently.
21972 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21973 State variables for tracking auto-save inhibition situation.
21975 (allout-write-contents-hook-handler): Rename from
21976 'allout-write-file-hook-handler', and describe how it depends on
21977 write-contents-functions sensitivity to non-nil value to prevent
21980 (allout-auto-save-hook-handler): Remove. auto-save does not check
21981 this in individual buffers, only in the starting buffer, so this
21982 is not the right way for us to inhibit auto-save in a buffer
21983 according to its condition.
21985 (allout-mode): Use new allout-write-contents-hook-handler, and
21986 only with write-contents-functions. Remove auto-save provisions -
21987 they're implemented elsewhere.
21989 (allout-before-change-handler): If undo is in progress, note that
21990 for attention of allout-post-command-business.
21992 (allout-post-command-business): If the command we're following was
21993 an undo, check for change in the status of encrypted items and
21994 adjust auto-save inhibitions accordingly.
21996 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21997 according to whether there are or aren't any plain-text topics
21998 pending encryption.
22000 (allout-inhibit-auto-save-info-for-decryption):
22001 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22002 if there are plain-text topics pending encryption.
22004 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22005 buffer-saved-size and some allout state to not inhibit auto-saves
22006 if there are no longer any plain-text topics pending encryption.
22008 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22009 No longer provide for exemption of the current topic.
22011 2011-07-04 Juri Linkov <juri@jurta.org>
22013 Add 7z operations to delete and save changed members (bug#8968).
22014 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22016 (archive-7z-write-file-member): New function.
22017 (archive-7z-summarize): Fix the number of dashes in the
22020 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22022 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22025 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22027 * bindings.el: Ignore next-buffer and previous-buffer in
22028 minibuffer-local-map.
22030 * font-lock.el (font-lock-builtin-face): Change light background
22031 color to dark slate blue (Bug#6693).
22033 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22035 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22037 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22039 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22040 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22041 Add switch-to-buffer.
22043 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22045 * isearch.el (isearch-search-fun-function): Clarify further the
22046 meaning of the function returned.
22048 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22050 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22052 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22053 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22055 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22056 `tramp-default-remote-path' does not exist.
22057 (tramp-send-command-and-read): New optional argument NOERROR.
22058 (tramp-open-connection-setup-interactive-shell)
22059 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22060 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22061 (tramp-process-sentinel): Flush also process' connection property.
22062 (tramp-sh-handle-start-file-process): Do not set process
22063 sentinel. It is done now ...
22064 (tramp-maybe-open-connection): ... here. (Bug#8929)
22066 2011-07-04 MON KEY <monkey@sandpframing.com>
22068 * play/animate.el (animate-string): Doc fixes and allow changing
22069 the buffer name (bug#5417).
22071 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22073 * play/animate.el (animation-buffer-name): Rename from *animate*.
22075 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22077 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22078 This is simpler and helps future-proof the code.
22079 (timer-until): Use time-subtract and float-time.
22080 (timer--time-less-p): Use time-less-p.
22082 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22084 * type-break.el (timep): Use the value of `float-time' to avoid a
22085 byte-compiler warning.
22087 * server.el (server-eval-and-print): Return any result, even nil.
22089 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22091 * type-break.el: Accept time formats that the builtins accept.
22092 (timep, type-break-time-difference): Accept any format that
22093 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22094 This is simpler and helps future-proof the code.
22095 (type-break-time-difference): Round rather than ignoring
22096 subseconds components.
22098 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22100 * info.el (Info-apropos-matches): Make non-interactive, since it
22101 doesn't seem to do anything useful as a command (bug#8829).
22103 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22105 * frame.el (frame-background-mode, frame-set-background-mode):
22106 Move from faces.el.
22107 (frame-default-terminal-background): New function.
22109 * custom.el (custom-push-theme): Don't record faces in `changed'
22110 theme; this doesn't work correctly for per-frame face settings.
22111 (disable-theme): Use face-set-after-frame-default to reset faces.
22112 (custom--frame-color-default): New function.
22114 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22116 * dired.el (dired-flagging-regexp): Remove unused variable
22119 2011-03-29 Kevin Ryde <user42@zip.com.au>
22121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22122 `perl-Test2' extend to match possible "fail #N" rep count
22125 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22127 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22128 `smtpmail-via-smtp' now returns the error instead of nil.
22130 * isearch.el (isearch-search-fun-function): Clarify the doc string
22133 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22135 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22136 unnecessary spaces (bug#8987).
22138 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22140 * net/network-stream.el (open-network-stream): Use the
22141 :end-of-capability command thoughout.
22143 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22145 * net/network-stream.el (open-network-stream): Add the
22146 :end-of-capability command parameter, used by pop3.el.
22148 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22150 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22152 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22153 for list)" (bug#6475).
22155 * files.el (file-expand-wildcards): Ignore non-readable
22156 sub-directories while trying to find matches instead of signaling
22157 an error (bug#6297).
22159 * man.el (Man-reference-regexp): Allow matching possible
22160 word-wrapped references (bug#6289).
22162 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22163 for consistency with the other vc buffers (bug#6197).
22164 (vc-checkin): Ditto.
22166 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22168 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22170 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22172 * custom.el (defcustom): Clarify that :set is only used in the
22173 Customize user interface (bug#6089).
22175 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22176 associated with a file, refuse to run instead of erroring out
22179 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22180 the doc string, since it appears that using `fill-column' always
22181 controls the width (bug#7845).
22183 * simple.el (shell-command-on-region): Say where the error output
22184 went if `shell-command-default-error-buffer' is set (bug#6857).
22186 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22188 * allout.el (allout-yank-processing): Adjust cursor position for
22189 backwards-deleted space.
22191 (allout-rebullet-heading): Register changes with
22192 allout-exposure-changed-hook, so the modified topic is properly
22195 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22197 * minibuffer.el (completion-in-region): Document PREDICATE
22200 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22201 of keyword/argument pairs (bug#6904).
22203 * replace.el (multi-occur):
22204 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22206 2011-07-02 Drew Adams <drew.adams@oracle.com>
22208 * dired.el (dired-mark-if): Make the message about whether it's
22209 marking or unmarking clearer (bug#8523).
22211 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22213 * disp-table.el (display-table-print-array): New function.
22214 (describe-display-table): Use it to print the vectors more pretty
22217 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22219 * window.el (window-state-get-1): Don't assign clone numbers.
22220 Add clone-of item to list of window parameters.
22221 (window-state-put-2): Don't process clone numbers.
22222 (display-buffer-alist): Fix doc-string.
22224 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22226 * subr.el (remq): Don't allocate if it's not needed.
22227 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22228 (keymap--merge-bindings): New functions.
22229 (keymap-canonicalize): Use them to refine the canonicalization.
22230 * minibuffer.el (minibuffer-local-completion-map)
22231 (minibuffer-local-must-match-map): Move initialization from C.
22232 (minibuffer-local-filename-completion-map): Move initialization from C;
22233 don't inherit from anything here.
22234 (minibuffer-local-filename-must-match-map): Make obsolete.
22235 (completing-read-default): Use make-composed-keymap to combine
22236 minibuffer-local-filename-completion-map with either
22237 minibuffer-local-must-match-map or
22238 minibuffer-local-filename-completion-map.
22240 2011-07-01 Glenn Morris <rgm@gnu.org>
22242 * type-break.el (type-break-time-sum): Use dolist.
22244 * textmodes/flyspell.el (flyspell-word-search-backward):
22245 Replace CL function.
22247 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22249 * mouse.el (mouse--strip-first-event): New function.
22250 (function-key-map): Use it to map fringe clicks to normal clicks
22253 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22254 (vc-bzr-revision-completion-table): Add support for annotate and date.
22256 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22257 inherit from parent.
22259 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22261 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22262 (dired-show-file-type): Doc fixup (bug#8818).
22264 * dired.el (dired-mode): Fix up the doc string as suggested by
22265 Drew Adams (bug#8817).
22267 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22268 cookie, since the manual says that it should be possible to add
22269 this function to `find-file-hook' (bug#8709).
22271 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22273 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22274 here. Noted Ted Zlatanov as the maintainer.
22275 (cfengine-common-settings, cfengine-common-syntax): New functions
22276 to set up common things between `cfengine-mode' and
22278 (cfengine3-mode): New mode.
22279 (cfengine3-defuns cfengine3-defuns-regex
22280 (cfengine3-class-selector-regex cfengine3-category-regex)
22281 (cfengine3-vartypes cfengine3-font-lock-keywords)
22282 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22283 (cfengine3-indent-line): Add from cfengine3.el.
22285 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22287 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22289 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22291 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22293 * window.el (same-window-buffer-names, same-window-regexps)
22294 (same-window-p, special-display-frame-alist)
22295 (special-display-popup-frame, special-display-function)
22296 (special-display-buffer-names, special-display-regexps)
22297 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22298 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22299 (split-window-preferred-function, split-height-threshold)
22300 (split-width-threshold, even-window-heights)
22301 (display-buffer-mark-dedicated, window-splittable-p)
22302 (split-window-sensibly, window-safely-shrinkable-p):
22304 (display-buffer): Don't spread args with function specifier
22305 because special-display-popup-frame won't like it.
22307 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22309 Time-stamp simplifications and fixes.
22310 These improve accuracy slightly, and future-proof the code
22311 against some potential changes to current-time format.
22313 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22314 by using time-since and float-time.
22316 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22317 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22318 + NNN microseconds".
22320 * type-break.el (type-break-time-sum): Rewrite using time-add.
22322 * play/hanoi.el (hanoi-current-time-float): Remove.
22323 All uses replaced by float-time.
22325 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22326 This yields a more-accurate answer.
22327 (rng-time-to-float): Remove; no longer needed.
22329 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22331 * calendar/timeclock.el (timeclock-seconds-to-time):
22332 Defalias to seconds-to-time, since they're the same thing.
22334 * emacs-lisp/elp.el (elp-elapsed-time):
22335 * emacs-lisp/benchmark.el (benchmark-elapse):
22336 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22338 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22340 * window.el (bury-buffer): Don't iconify the only frame.
22341 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22342 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22344 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22346 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22347 Add mouse-yank-primary.
22349 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22351 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22353 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22355 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22356 (find-library-name): Use it to find relative load names when provided
22357 absolute file name (bug#8803).
22359 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22361 * textmodes/flyspell.el (flyspell-word): Consider words that
22362 differ only in case as potential doublons (bug#5687).
22364 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22365 Remove two rather uninteresting debugging-like messages to make
22366 debbugs.el more silent.
22368 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22369 a password-like phrase.
22371 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22373 * progmodes/cc-guess.el: New file.
22375 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22377 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22378 derived from `c-basic-common-init'.
22380 * progmodes/cc-mode.el (top-level): Require cc-guess.
22381 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22383 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22385 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22387 2011-06-30 Alan Mackenzie <acm@muc.de>
22389 * progmodes/cc-engine.el (c-guess-continued-construct):
22390 Correct the handling of template-args-cont, particularly for when font
22391 lock is disabled. Name this case as "CASE G".
22393 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22395 * allout.el (allout-yank-processing): Fix injection of extra space
22396 between bullet and non-whitespace character in first topic when
22397 pasting, ensuring that the actual spacing in the pasted topic
22398 following the bullet char is preserved. This extra space was
22399 causing pasted encrypted topics to get a decrypted status even
22400 when the content was actually still encrypted. Now the decryption
22401 status from before the paste is preserved.
22403 (allout-flag-region): Set all allout overlays so they evaporate
22404 when reduced to zero length (evanescent), to prevent overlay
22407 2011-06-30 Glenn Morris <rgm@gnu.org>
22409 * w32-fns.el (w32-charset-info-alist): Declare.
22411 * find-dired.el (find-grep-options): Simplify.
22413 * term/ns-win.el (ns-set-resource): Declare.
22415 * ses.el (row, col): Declare dynamic variables honestly.
22417 * textmodes/reftex-parse.el (index-tags): Declare.
22419 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22421 * cus-edit.el (customize-push-and-save): New function.
22423 * files.el (hack-local-variables-confirm): Use it.
22425 * custom.el (load-theme): New arg NO-CONFIRM.
22426 Use customize-push-and-save (Bug#8720).
22427 (custom-enabled-themes): Doc fix.
22429 * cus-theme.el (customize-create-theme)
22430 (custom-theme-merge-theme): Callers to load-theme changed.
22432 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22434 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22435 short URLs have at least one dot in them (bug #7614).
22437 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22438 nil, because using a pty is apparently too slow (bug #895).
22440 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22442 * mail/sendmail.el (sendmail-query-once): New function.
22443 (sendmail-query-once-function): New variable.
22445 2011-06-29 Glenn Morris <rgm@gnu.org>
22447 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22449 * ses.el (top-level): Require cl when compiling.
22450 (ses-set-localvars): Fix error statement.
22451 Call it at compile time to silence a storm of warnings.
22453 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22455 * window.el (normalize-live-buffer): Rename to
22456 window-normalize-buffer.
22457 (normalize-live-frame): Rename to window-normalize-frame.
22458 (normalize-any-window): Rename to window-normalize-any-window.
22459 (normalize-live-window): Rename to window-normalize-live-window.
22460 (make-window-atom): Rename to window-make-atom.
22461 (window-resize-reset): Rename to window--resize-reset.
22462 (window-resize-reset-1): Rename to window--resize-reset-1.
22463 (resize-mini-window): Rename to window--resize-mini-window.
22464 (resize-subwindows-skip-p): Rename to
22465 window--resize-subwindows-skip-p.
22466 (resize-subwindows-normal): Rename to
22467 window--resize-subwindows-normal.
22468 (resize-subwindows): Rename to window--resize-subwindows.
22469 (resize-other-windows): Rename to window--resize-siblings.
22470 (resize-this-window): Rename to window--resize-this-window.
22471 (resize-root-window): Rename to window--resize-root-window.
22472 (resize-root-window-vertically): Rename to
22473 window--resize-root-window-vertically.
22474 (normalize-buffer-to-display): Rename to
22475 window-normalize-buffer-to-display.
22476 (normalize-buffer-to-switch-to): Rename to
22477 window-normalize-buffer-to-switch-to.
22478 Correspondingly update all callers of the functions listed
22480 (display-buffer-alist, display-buffer-normalize-arguments)
22481 (display-buffer-normalize-options, display-buffer)
22482 (display-buffer-alist-set): Use "function" instead of
22485 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22487 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22488 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22489 debbugs.gnu.org. Mention acknowledgment email.
22491 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22493 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22494 buffer multibyteness, since it shouldn't matter.
22496 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22498 * window.el (display-buffer-in-side-window): Handle dedicated
22499 windows as in display-buffer-reuse-window.
22500 (display-buffer-normalize-alist): Use value of override
22502 (display-buffer-normalize-specifiers): Use value of
22503 other-window-means-other-frame specifier.
22504 (display-buffer-alist): Rewrite some texts in widgets.
22505 (display-buffer): Spread arguments when calling function
22506 specified by fun-with-args.
22508 2011-06-28 Deniz Dogan <deniz@dogan.se>
22510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22513 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22514 selectors (Bug#5732).
22515 (css-proprietary-nmstart-re): Use `regexp-opt'.
22517 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22519 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22520 (eshell-ls-date-format): New defcustom.
22521 (eshell-ls-file): Use it.
22523 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22525 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22527 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22529 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22530 (ange-ftp-make-tmp-name): New arg.
22531 (ange-ftp-file-local-copy): Use it.
22533 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22535 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22536 no-conversion (Bug#8870).
22538 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22540 * window.el (window-right, window-left, window-child)
22541 (window-child-count, window-last-child)
22542 (window-iso-combination-p, walk-window-tree-1)
22543 (window-atom-check-1, window-tree-1, delete-window)
22544 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22545 new naming conventions - window-vchild, window-hchild,
22546 window-next and window-prev are now called window-top-child,
22547 window-left-child, window-next-sibling and window-prev-sibling
22549 (resize-window-reset): Rename to window-resize-reset.
22550 (resize-window-reset-1): Rename to window-resize-reset-1.
22551 (resize-window): Rename to window-resize.
22552 (window-min-height, window-min-width)
22553 (resize-mini-window, resize-this-window, resize-root-window)
22554 (resize-root-window-vertically, adjust-window-trailing-edge)
22555 (enlarge-window, shrink-window, maximize-window)
22556 (minimize-window, delete-window, quit-restore-window)
22557 (split-window, balance-windows, balance-windows-area-adjust)
22558 (balance-windows-area, window-state-put-2)
22559 (display-buffer-even-window-sizes, display-buffer-set-height)
22560 (display-buffer-set-width, set-window-text-height)
22561 (fit-window-to-buffer): Rename all "resize-window" prefixed
22562 calls to use the "window-resize" prefix convention.
22563 (display-buffer-alist): Fix symbol for label specifier.
22564 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22565 corresponding specifier.
22566 Reported by Juanma Barranquero <lekktu@gmail.com>.
22568 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22570 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22572 (ses-call-printer): Does not pass an empty string to formatter when the
22573 cell is empty to keep from barking printer Calc math-format-value.
22575 2011-06-27 Richard Stallman <rms@gnu.org>
22577 * battery.el (battery-mode-line-limit): New variable.
22578 (battery-update): Handle it.
22580 * mail/rmailmm.el (rmail-mime-process-multipart):
22581 Handle truncated messages.
22583 2011-06-27 Glenn Morris <rgm@gnu.org>
22585 * progmodes/flymake.el (flymake-err-line-patterns):
22586 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22588 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22590 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22591 (ses--clean-!, ses--clean-_): New functions.
22592 (ses-range): Add configurability of readout order, and conversion
22595 * ses.el (ses-repair-cell-reference-all): New function.
22596 (ses-cell-symbol): Set macro as safe, so that it can be used in
22599 * ses.el: Update cycle detection algorithm.
22600 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22601 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22602 (ses-set-localvars): New function.
22603 (ses-make-cell): Add property-list as a cell element.
22604 (ses-cell-property-get-fun, ses-cell-property-get)
22605 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22606 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22608 (ses-cell-property-set, ses-cell-property-pop)
22609 (ses-cell-property-get-handle): New macro.
22610 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22611 New aliases, used for code readability.
22612 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22614 (ses-self-reference-early-detection): New defcustom.
22615 (ses-formula-references): Robustify against self-referring cells.
22616 (ses-mode): Use ses-set-localvars.
22617 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22618 before lauching the update processing.
22619 (ses-initialize-Dijkstra-attempt): New function.
22620 (ses-recalculate-cell): Update for cycle detection based on
22621 Dijkstra algorithm.
22623 * ses.el: Fix commenting and indenting convention.
22625 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22627 * bs.el (bs-cycle-next): Complete last change.
22629 2011-06-27 Drew Adams <drew.adams@oracle.com>
22631 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22633 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22635 * net/network-stream.el (network-stream-open-starttls):
22636 Don't re-get capabilities unless we've reestablished connection.
22637 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22639 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22640 to binary to possibly avoid line encoding issues on Windows (among
22643 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22645 * net/network-stream.el (open-network-stream): Return an :error
22646 saying what the problem was, if possible.
22648 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22651 * net/network-stream.el (network-stream-open-starttls): If we
22652 wanted to use STARTTLS, and the server offered it, but we weren't
22653 able to because we had no STARTTLS support, then close the connection.
22654 (open-network-stream): Return an :error element, if present.
22656 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22658 * hl-line.el (hl-line-sticky-flag): Doc fix.
22659 (global-hl-line-sticky-flag): New option (Bug#8323).
22660 (global-hl-line-highlight): Obey it.
22662 * vc/vc.el (vc-revert-show-diff): Default to t.
22664 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22666 * allout-widgets.el (allout-widgets-post-command-business):
22667 Stop decorating intermediate isearch matches. They're not being
22668 undecorated when an isearch is continued past, and isearch
22669 automatically collapses them. This leads to "widget leaks", where
22670 decorated items accumulate in collapsed areas. Lines with lots of
22671 hidden widgets can slow down cursor travel, substantially.
22672 Too much complicated machinery would be needed to ensure undecoration,
22673 so we're doing without this nicety.
22675 (allout-widgets-tally-string): Don't try to do a hash-table-count
22676 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22677 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22678 *Messages* when allout-widgets-maintain-tally is t.
22680 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22682 * window.el (display-buffer-normalize-argument): Rename to
22683 display-buffer-normalize-arguments. Handle special meaning of
22684 LABEL argument. Respect special-display-function when popping up
22685 a new frame. Fix code searching for a window showing the buffer
22687 (display-buffer-normalize-specifiers):
22688 Call display-buffer-normalize-arguments.
22689 (display-buffer-in-window): Don't undedicate the window if its
22690 buffer remains the same.
22691 Reported by Drew Adams <drew.adams@oracle.com>.
22692 (display-buffer-alist): Add choice for same-window macro
22694 (display-buffer): Mention special meaning of LABEL argument in
22695 doc-string. Fix quoting. Don't pop up a new frame even as
22698 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22700 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22701 avoid deleting the current window in some cases (bug#8911).
22703 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22705 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22708 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22710 * net/network-stream.el (network-stream-open-starttls):
22711 Use built-in TLS support if `gnutls-available-p' is true.
22712 (network-stream-open-tls): Ditto.
22714 2011-06-26 Leo Liu <sdl.web@gmail.com>
22716 * register.el (registerv): New struct.
22717 (registerv-make): New function.
22718 (jump-to-register, describe-register-1, insert-register):
22719 Support the jump-func, print-func and insert-func slot of a registerv
22722 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22724 * vc/vc.el (vc-revert-show-diff): New defcustom.
22725 (vc-diff-internal): New arg specifying diff buffer.
22726 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22727 reuse an existing *vc-diff* buffer (Bug#8927).
22729 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22731 2011-06-26 Glenn Morris <rgm@gnu.org>
22733 * progmodes/f90.el (f90-critical-indent): New option.
22734 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22735 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22736 (f90-mode): Doc fix.
22737 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22738 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22739 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22740 (f90-match-end): Handle block, critical.
22742 2011-06-25 Glenn Morris <rgm@gnu.org>
22744 * calendar/diary-lib.el (diary-included-files): Doc fix.
22745 (diary-include-files): New function, extracted from
22746 diary-include-other-diary-files and diary-mark-included-diary-files.
22747 (diary-include-other-diary-files, diary-mark-included-diary-files):
22748 Just call diary-include-files.
22749 (diary-mark-entries): Reset diary-included-files on first call.
22751 * calendar/diary-lib.el (diary-mark-entries)
22752 (diary-mark-included-diary-files):
22753 Visit included diary-files in temp buffers.
22755 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22756 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22757 (f90-start-block-re, f90-imenu-generic-expression)
22758 (f90-looking-at-program-block-start, f90-no-block-limit):
22759 Add support for submodules.
22761 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22762 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22764 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22766 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22767 buffer-file-type before setting its value, to avoid disastrous
22768 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22770 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22772 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22774 * ses.el (ses-unload-function):
22775 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22777 * proced.el (proced-unload-function):
22778 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22780 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22782 * server.el (server-create-window-system-frame): Add parameters arg.
22783 (server-process-filter): Doc fix. Handle frame-parameters.
22785 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22787 Fix bug#8730, bug#8781.
22789 * loadhist.el (unload--set-major-mode): New function.
22790 (unload-feature): Use it.
22792 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22793 (python-unload-function): New function.
22795 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22797 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22799 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22801 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22802 the candidates list.
22804 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22806 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22808 2011-06-23 Richard Stallman <rms@gnu.org>
22810 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22811 (rmail-variables): Set next-error-move-function.
22812 (rmail-what-message): Take argument POS.
22813 (rmail-next-error-move): New function.
22815 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22817 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22818 messages for adjacent non-terminals.
22820 2011-06-23 Richard Stallman <rms@gnu.org>
22822 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22823 (rmail-show-message-1): Preserve buffer modified flag.
22824 (rmail-start-mail): Don't specify use of rmail-mail-return;
22825 that's done by mail-bury now.
22826 (rmail-mail-return): Handle arg NEWBUF.
22828 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22830 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22833 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22835 * window.el (get-lru-window, get-mru-window)
22836 (get-largest-window): Never return a minibuffer window.
22837 (display-buffer-pop-up-window): Fix a bug that could lead to
22838 reusing the minibuffer window.
22839 (display-buffer): Pass original specifier argument to
22840 display-buffer-function instead of the normalized one.
22841 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22843 2011-06-22 Leo Liu <sdl.web@gmail.com>
22845 * minibuffer.el (completing-read-function)
22846 (completing-read-default): Move from minibuf.c.
22848 2011-06-22 Richard Stallman <rms@gnu.org>
22850 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22851 to Rmail even if not started by a special Rmail command.
22853 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22854 Copy the buffer currently showing just one message.
22856 2011-06-22 Roland Winkler <winkler@gnu.org>
22858 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22859 (bibtex-clean-entry): First delete the old key so that a
22860 customized algorithm for generating the new key does not get
22861 confused by the old key.
22862 (bibtex-url): Obey regexp of first step.
22863 (bibtex-search-entries): Do not use add-to-list with local
22866 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22868 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22869 stored a user name, then query for the password first, instead of
22870 waiting for SMTP to give an error message and the trying again.
22872 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22874 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22875 BUFFER in call-process.
22877 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22879 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22881 (smtpmail-try-auth-methods): Require user name and password from
22884 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22886 * window.el (display-buffer-default-specifiers)
22887 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22888 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22889 (split-window): Normalize SIDE argument (Bug#8916).
22891 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22892 (special-display-frame-alist, special-display-popup-frame):
22893 Remove duplicate declarations. These are now in window.el.
22895 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22897 * mail/smtpmail.el (smtpmail-via-smtp):
22898 Set :use-starttls-if-possible so that we always use STARTTLS if the
22899 server supports it. SMTP servers that support STARTTLS commonly
22902 * net/network-stream.el (network-stream-open-starttls): Support
22903 upgrading to STARTTLS always, even if we don't have built-in support.
22904 (open-network-stream): Add the :always-query-capabilities keyword.
22906 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22907 upgrades with `open-network-stream', and rely solely on
22908 auth-source for all credentials. Big changes throughout the file,
22910 (smtpmail-auth-credentials): Remove.
22911 (smtpmail-starttls-credentials): Remove.
22912 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22915 * net/network-stream.el (network-stream-open-starttls):
22916 Provide support for client certificates both for external and built-in
22918 (auth-source): Require.
22919 (open-network-stream): Document the :client-certificate keyword.
22920 (network-stream-certificate): Change cert-cert to cert and
22923 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22925 * net/tramp-cache.el (top): Don't load the persistency file when
22926 "emacs -Q" has been called.
22928 2011-06-21 Tim Harper <timcharper@gmail.com>
22930 * term/ns-win.el (ns-initialize-window-system):
22931 Set application-specific `ApplePressAndHoldEnabled' system
22932 resource to NO as it is not yet supported by the NS port.
22934 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22936 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22937 (list-dynamic-libraries): ...not here.
22939 2011-06-21 Leo Liu <sdl.web@gmail.com>
22941 * subr.el (sha1): Implement sha1 using secure-hash.
22943 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22945 * window.el (display-buffer-alist): In default value do not
22946 enforce searching a window on any but the selected frame.
22947 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22948 (display-buffer-select-window): Remove function.
22949 (display-buffer-in-window): When a window on another frame gets
22950 reused, do not select it any more but just raise its frame if
22951 necessary (Bug#8851) and (Bug#8856).
22952 (display-buffer-normalize-options): Handle pop-up-frames related
22953 options more faithfully.
22954 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22955 window if it is on another frame.
22956 (display-buffer-alist, display-buffer-default-specifiers):
22957 Don't make new frame unsplittable by default.
22958 (display-buffer-normalize-argument): Fix doc-string typo and use
22959 'same-frame-other-window instead of 'other-window when associating
22960 with display-buffer-macro-specifiers.
22962 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22964 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22966 (5x5-mode-map, 5x5-mode-menu): Bind them.
22967 (5x5-draw-grid): Tweak the solver's rendering.
22969 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22971 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22972 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22974 2011-06-21 Drew Adams <drew.adams@oracle.com>
22976 * menu-bar.el: Use function variable instead of switch-to-buffer.
22977 (menu-bar-select-buffer-function): New variable.
22978 (menu-bar-update-buffers): Use it (bug#8876).
22980 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22982 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22985 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22987 * x-dnd.el (x-dnd-version-from-flags)
22988 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22989 and long as number (Bug#8899).
22990 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22992 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22994 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22995 (completion-try-completion, completion-all-completions): Compute the
22996 metadata argument if it's missing; make it optional (bug#8795).
22998 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22999 (widget-complete): Use new :completion-function property.
23000 (widget-completions-at-point): New function.
23001 (default): Use :completion-function instead of :complete.
23002 (widget-default-completions): Rename from widget-default-complete;
23004 (widget-string-complete, widget-file-complete, widget-color-complete):
23006 (file, symbol, function, variable, coding-system, color):
23007 * international/mule-cmds.el (default-input-method, charset)
23008 (language-info-custom-alist):
23009 * cus-edit.el (face): Use new property :completions.
23011 * progmodes/pascal.el (pascal-completions-at-point): New function.
23012 (pascal-mode): Use it.
23013 (pascal-mode-map): Use completion-at-point.
23014 (pascal-toggle-completions): Make obsolete.
23015 (pascal-complete-word, pascal-show-completions):
23016 * progmodes/octave-mod.el (octave-complete-symbol):
23017 Redefine as obsolete alias.
23018 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23019 Signal absence of completion info for old Octave,
23020 (inferior-octave-complete): Redefine as obsolete alias.
23021 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23022 (meta-completions-at-point): Rename from meta-complete-symbol and
23023 adapt it for use on completion-at-point-functions.
23024 (meta-common-mode): Use it.
23025 (meta-looking-at-backward, meta-match-buffer): Remove.
23026 (meta-complete-symbol): Redefine as obsolete alias.
23027 (meta-common-mode-map): Use completion-at-point.
23028 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23029 (makefile-mode-map): Use completion-at-point.
23030 (makefile-completions-at-point): Rename from makefile-complete and
23031 adapt it for use on completion-at-point-functions.
23032 (makefile-mode): Use it.
23033 (makefile-complete): Redefine as obsolete alias.
23035 2011-06-20 Deniz Dogan <deniz@dogan.se>
23037 * net/rcirc.el: Delete trailing whitespaces once and for all.
23039 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23041 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23043 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23045 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23047 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23049 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23051 * window.el (display-buffer-other-window-means-other-frame):
23052 Call display-buffer-normalize-alist.
23053 (display-buffer-normalize-specifiers-1): Rename to
23054 display-buffer-normalize-argument. New argument other-frame.
23056 (display-buffer-normalize-specifiers-2): Rename to
23057 display-buffer-normalize-options.
23058 (display-buffer-normalize-alist-1): New function.
23059 (display-buffer-normalize-specifiers-3): Rename to
23060 display-buffer-normalize-alist.
23061 Call display-buffer-normalize-alist-1.
23062 (display-buffer-normalize-options-inhibit): New variable.
23063 (display-buffer-normalize-specifiers): Rewrite calling
23064 display-buffer-normalize-alist,
23065 display-buffer-normalize-argument, and
23066 display-buffer-normalize-options. Don't call the latter if
23067 display-buffer-normalize-options-inhibit is non-nil.
23068 (frame-auto-delete): New option.
23069 (window-deletable-p): Use frame-auto-delete.
23070 (window-list-no-nils, window-state-ignored-parameters)
23071 (window-state-get-1, window-state-get, window-state-put-list)
23072 (window-state-put-1, window-state-put-2, window-state-put):
23074 (display-buffer-normalize-options): Move special-display-p group
23075 after pop-up-frame group (Bug#8851) and (Bug#8856).
23077 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23079 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23081 (rx-submatch-n): New function.
23084 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23087 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23089 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23091 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23092 anytime existing face settings are present (Bug#8889).
23094 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23095 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23096 Remove unused argument.
23098 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23100 * window.el (display-buffer-default-specifiers):
23101 Remove pop-up-frame. Add pop-up-window-min-height,
23102 pop-up-window-min-width, and another reuse-window specifier
23103 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23104 (display-buffer-normalize-specifiers-2):
23105 Handle split-height-threshold and split-width-threshold also when
23106 pop-up-windows is unset. Add a reuse-window specifier for the
23107 case popping up a new window fails.
23108 (special-display-popup-frame): Remove double quoting.
23109 (display-buffer-normalize-specifiers-1): Fix thinko.
23111 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23113 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23114 according to comint-completion-addsuffix.
23116 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23117 (pcomplete-suffix-list): Mark as obsolete.
23118 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23119 pcomplete-seen in the closure.
23120 (pcomplete-comint-setup): Setup completion-at-point as well.
23121 (pcomplete--entries): New function.
23122 (pcomplete--env-regexp): New var.
23123 (pcomplete-entries): Rewrite to work with partial-completion and
23124 without relying on pcomplete-suffix-list.
23125 (pcomplete-pare-list): Remove, unused.
23127 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23129 * window.el (display-buffer-alist): Set pop-up-window-min-height
23130 and pop-up-window-min-width in default value. Reported by
23131 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23132 other-window-means-other-frame.
23133 (display-buffer-macro-specifiers): Comment out entry for
23134 other-window specifier.
23135 (display-buffer-other-window-means-other-frame): New function.
23136 (display-buffer-normalize-specifiers-1): New arguments
23137 buffer-name and label. Treat other-window case specially.
23138 (display-buffer-normalize-specifiers-2): Treat other-window case
23140 (display-buffer-normalize-specifiers-3): New function.
23141 (display-buffer-normalize-specifiers):
23142 Call display-buffer-normalize-specifiers-3.
23144 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23146 * window.el (same-window-p): Fix two typos introduced when
23147 adding with-no-warnings.
23148 (display-buffer-normalize-specifiers-1): Don't check
23149 pop-up-frames for 'unset initialization.
23150 (display-buffer-normalize-specifiers-2): Major rewrite using
23151 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23152 (pop-up-frames, display-buffer-reuse-frames)
23153 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23154 Suggested by David Engster <deng@randomsample.de>.
23155 (even-window-heights): Initialize to 'unset.
23156 (display-buffer-alist-set): Handle new 'unset initializations.
23157 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23160 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23162 * window.el (display-buffer-normalize-specifiers-1):
23163 Respect current value of pop-up-frames for most reasonable values of
23164 second argument of display-buffer (Bug#8865).
23165 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23166 (switch-to-buffer-other-window-same-frame)
23167 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23169 (display-buffer): Don't check noninteractive when calling
23170 display-buffer-pop-up-frame.
23171 (display-buffer-pop-up-frame): Never pop up a frame in
23172 noninteractive mode (Bug#8857).
23173 (enlarge-window, shrink-window): Don't report an error when the
23174 window can't be resized as requested (Bug#8862).
23176 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23178 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23180 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23182 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23184 2011-06-15 Alan Mackenzie <acm@muc.de>
23186 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23187 for declarators, disable knr checking to speed up for normal files.
23188 2: Refactor, replacing a sequence of nested if forms by a cond form.
23190 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23192 * net/network-stream.el (open-network-stream): Add the keyword
23193 :always-query-capabilities for the case where you want to force a
23194 `plain' network connection, but the protocol still requires the
23195 capabilitiy command (i.e., SMTP and EHLO).
23197 * subr.el (process-live-p): Rename from `process-alive-p' for
23198 consistency with other `-live-p' functions.
23200 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23202 * window.el (same-window-buffer-names, same-window-regexps)
23203 (special-display-frame-alist, special-display-popup-frame)
23204 (special-display-function, special-display-buffer-names)
23205 (special-display-regexps, pop-up-frame-alist)
23206 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23207 (pop-up-windows, split-window-preferred-function)
23208 (split-height-threshold, split-width-threshold, even-window-heights)
23209 (display-buffer-mark-dedicated): Don't encourage the use of
23210 display-buffer-alist from Elisp code.
23212 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23214 * progmodes/python.el (python-mode): Derive from prog-mode.
23215 * progmodes/ps-mode.el (ps-mode):
23216 * progmodes/mixal-mode.el (mixal-mode):
23217 * progmodes/cfengine.el (cfengine-mode):
23218 * progmodes/ld-script.el (ld-script-mode): Likewise.
23220 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23222 * window.el (display-buffer-alist): Trim default value to avoid
23223 popping up a new frame (Bug#8857) or reusing an arbitrary window
23225 (display-buffer): Do not fall back on popping up a new frame in
23226 batch mode (Bug#8857).
23228 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23230 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23231 (custom-theme-summary): New function.
23232 (customize-themes): Use it.
23234 2011-06-13 Glenn Morris <rgm@gnu.org>
23236 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23238 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23240 * help.el (help-window): Remove variable.
23241 (help-window-point-marker, temp-buffer-max-height)
23242 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23243 (help-print-return-message): Don't set help-window.
23244 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23245 (help-window-setup-finish): Remove.
23246 (help-window-display-message, help-window-setup)
23247 (with-help-window): Major rewrite based on new
23248 display-buffer-window variable.
23250 * help-mode.el (help-mode-finish): Remove help-window related
23253 * view.el (view-exits-all-viewing-windows): Remove reference to
23254 view-return-to-alist in doc-string.
23255 (view-return-to-alist): Make obsolete.
23256 (view-buffer): Call pop-to-buffer-same-window and remove
23258 (view-buffer-other-window): Call pop-to-buffer-other-window and
23259 simplify code. Ignore second argument.
23260 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23261 simplify code. Ignore second argument.
23262 (view-return-to-alist-update): Make obsolete.
23263 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23264 Rewrite using quit-restore window parameters.
23265 (view-mode-exit): Rename second argument to EXIT-ONLY.
23266 Rewrite using quit-restore-window.
23267 (View-exit, View-exit-and-edit, View-leave, View-quit)
23268 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23269 appropriate arguments.
23270 (view-end-message): Use quit-restore window parameter.
23272 * window.el (display-buffer-function): Rewrite doc-string.
23273 (display-buffer-window, display-buffer-alist): New variables.
23274 (display-buffer-split-specifiers)
23275 (display-buffer-side-specifiers)
23276 (display-buffer-macro-specifiers): New constants.
23277 (display-buffer-even-window-sizes, display-buffer-set-height)
23278 (display-buffer-set-width, display-buffer-select-window)
23279 (display-buffer-in-window, display-buffer-reuse-window)
23280 (display-buffer-split-window-1, display-buffer-split-window)
23281 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23282 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23283 (display-buffer-in-side-window, normalize-buffer-to-display)
23284 (display-buffer-normalize-specifiers-1)
23285 (display-buffer-normalize-specifiers-2)
23286 (display-buffer-normalize-specifiers, display-buffer-frame):
23288 (display-buffer): Major rewrite.
23289 (display-buffer-other-window, display-buffer-other-frame)
23290 (pop-to-buffer, switch-to-buffer-other-window)
23291 (switch-to-buffer-other-frame): Rewrite.
23292 (display-buffer-same-window, display-buffer-same-frame)
23293 (display-buffer-same-frame-other-window)
23294 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23295 (pop-to-buffer-other-window)
23296 (pop-to-buffer-same-frame-other-window)
23297 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23298 (switch-to-buffer-other-window-same-frame): New functions.
23299 (same-window-p, special-display-p): Rewrite disabling warnings.
23301 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23302 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23304 (same-window-buffer-names, same-window-regexps)
23305 (special-display-frame-alist, special-display-popup-frame)
23306 (special-display-function, special-display-buffer-names)
23307 (special-display-regexps, pop-up-frame-alist)
23308 (pop-up-frame-function, split-window-preferred-function)
23309 (split-height-threshold, split-width-threshold)
23310 (even-window-heights): Make obsolete.
23312 2011-06-12 Glenn Morris <rgm@gnu.org>
23314 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23315 Misc simplifications.
23317 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23319 * window.el (window-safely-shrinkable-p): Restore function which
23320 was inadvertently removed in change from 2011-06-11. Declare as
23323 * calendar/calendar.el (calendar-generate-window):
23324 Use window-iso-combined-p instead of combination of one-window-p and
23325 window-safely-shrinkable-p.
23327 2011-06-12 Glenn Morris <rgm@gnu.org>
23329 * progmodes/fortran.el (fortran-mode-syntax-table):
23330 * progmodes/f90.el (f90-mode-syntax-table):
23331 Set % to punctuation. (Bug#8820)
23332 (f90-find-tag-default): Remove, no longer needed.
23334 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23336 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23338 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23340 * image.el (image-animated-p): Return animation delay in seconds.
23341 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23342 (image-animate-timeout): Remove DELAY argument. Don't assume
23343 every subimage has the same delay; get it from image-animated-p.
23344 (image-animate): Caller changed.
23346 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23348 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23349 to ignored backtrace functions.
23351 2011-06-11 Glenn Morris <rgm@gnu.org>
23353 * calendar/appt.el (appt-disp-window-function): Doc fix.
23354 (appt-check): Handle overlapping appointments. (Bug#8337)
23356 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23358 * window.el (window-tree-1, window-tree): New functions, moving
23359 the latter to window.el.
23360 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23361 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23362 (bw-refresh-edges): Remove.
23363 (balance-windows-1, balance-windows-2): New functions.
23364 (balance-windows): Rewrite in terms of window tree functions,
23365 balance-windows-1 and balance-windows-2.
23366 (bw-adjust-window): Remove.
23367 (balance-windows-area-adjust): New function with functionality of
23368 bw-adjust-window but using resize-window.
23369 (set-window-text-height): Rewrite doc-string.
23370 Use normalize-live-window and resize-window.
23371 (enlarge-window-horizontally, shrink-window-horizontally):
23372 Rename argument to DELTA.
23373 (window-buffer-height): New function.
23374 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23375 Rewrite using new window resize routines.
23376 (kill-buffer-and-window, mouse-autoselect-window-select):
23377 Use ignore-errors instead of condition-case.
23378 (quit-window): Call delete-frame instead of delete-windows-on
23379 for the only buffer on frame.
23381 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23383 * loadup.el (top-level): Load window before files for the sake
23384 of replace-buffer-in-windows.
23386 * files.el (read-buffer-to-switch)
23387 (switch-to-buffer-other-window)
23388 (switch-to-buffer-other-frame, display-buffer-other-frame):
23391 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23392 (previous-buffer): Move to window.el.
23394 * bindings.el (unbury-buffer): Move to window.el.
23396 * window.el (delete-other-windows-vertically): Move after
23397 definition of delete-other-windows.
23398 (other-window, delete-windows-on, replace-buffer-in-windows):
23399 Move here from window.c.
23400 (record-window-buffer, unrecord-window-buffer)
23401 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23402 (switch-to-next-buffer): New functions.
23403 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23404 from simple.el. Call switch-to-next-buffer.
23405 (previous-buffer): Move here from simple.el.
23406 Call switch-to-prev-buffer.
23407 (bury-buffer): Move here from buffer.c. Switch to previous
23408 buffer when window cannot be deleted.
23409 (unbury-buffer): Move here from bindings.el.
23410 (ctl-x-map): Move binding for other-window from window.c to
23412 (read-buffer-to-switch, switch-to-buffer-other-window)
23413 (switch-to-buffer-other-frame): Move here from files.el.
23414 (normalize-buffer-to-switch-to): New functions.
23415 (switch-to-buffer): Move here from buffer.c.
23416 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23418 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23420 * window.el (window-min-height, window-min-width): Move here
23421 from window.c. Add defcustoms and rewrite doc-strings.
23422 (resize-mini-window, resize-window): New functions.
23423 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23424 Move here from window.c.
23425 (maximize-window, minimize-window): New functions.
23426 (delete-window, delete-other-windows, split-window): Move here
23428 (window-split-min-size): New function.
23429 (split-window-keep-point): Mention split-window-above-each-other
23430 instead of split-window-vertically.
23431 (split-window-above-each-other, split-window-vertically):
23432 Rename split-window-vertically to split-window-above-each-other
23433 and provide defalias for old definition.
23434 (split-window-side-by-side, split-window-horizontally):
23435 Rename split-window-horizontally to split-window-side-by-side
23436 and provide defalias for the old definition.
23437 (ctl-x-map): Move bindings for delete-window,
23438 delete-other-windows and enlarge-window here from window.c.
23439 Replace bindings for split-window-vertically and
23440 split-window-horizontally by bindings for
23441 split-window-above-each-other and split-window-side-by-side.
23443 * cus-start.el (all): Remove entries for window-min-height and
23444 window-min-width. Add entries for window-splits and
23447 2011-06-09 Glenn Morris <rgm@gnu.org>
23449 * calendar/appt.el (appt-mode-line): New function.
23450 (appt-check, appt-disp-window): Use it.
23452 * files.el (hack-one-local-variable-eval-safep):
23453 Allow minor-modes with explicit +/-1 arguments.
23455 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23457 * term/xterm.el (xterm): Add defgroup.
23458 (xterm-extra-capabilities): Add defcustom to supply known xterm
23459 capabilities, skip querying them, or query them (default).
23460 (terminal-init-xterm): Use it.
23461 (terminal-init-xterm-modify-other-keys): New function to set up
23462 modifyOtherKeys support to simplify `terminal-init-xterm'.
23464 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23466 * window.el (resize-window-reset, resize-window-reset-1)
23467 (resize-subwindows-skip-p, resize-subwindows-normal)
23468 (resize-subwindows, resize-other-windows, resize-this-window)
23469 (resize-root-window, resize-root-window-vertically)
23470 (window-deletable-p, window-or-subwindow-p)
23471 (frame-root-window-p): New functions.
23473 2011-06-09 Glenn Morris <rgm@gnu.org>
23475 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23476 (ange-ftp-get-files): Use it.
23478 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23480 * mail/sendmail.el (mail-recover-1, mail-recover):
23481 * files.el (recover-file, recover-session):
23482 Handle dired-listing-switches not being just a single short option.
23484 2011-06-09 Glenn Morris <rgm@gnu.org>
23486 * calendar/appt.el (appt-display-message, appt-disp-window):
23487 Handle lists of appointments.
23489 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23491 * window.el (one-window-p): Move down in code.
23492 Rewrite doc-string.
23493 (window-current-scroll-bars): Rewrite doc-string.
23494 Normalize live window argument.
23495 (walk-windows, get-window-with-predicate, count-windows):
23496 Rewrite doc-string. Use window-list-1.
23497 (window-in-direction-2, window-in-direction, get-mru-window):
23500 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23502 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23503 Doc fix (Bug#8713).
23505 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23507 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23509 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23511 * loadhist.el (unload-feature-special-hooks):
23512 Add `comint-output-filter-functions'.
23514 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23516 * calendar/appt.el (appt-check): Move some initializations into the let.
23518 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23520 * window.el (window-height): Defalias to window-total-height.
23521 (window-width): Defalias to window-body-width.
23523 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23525 * image-mode.el (image-toggle-animation): New command.
23526 (image-mode-map): Bind it to RET.
23527 (image-mode): Update message.
23528 (image-toggle-display-image): Avoid a spurious cache flush.
23529 (image-transform-rotation): Doc fix.
23530 (image-transform-properties): Return quickly in the normal case.
23531 (image-animate-loop): Rename from image-animate-max-time.
23533 * image.el (image-animate-max-time): Move to image-mode.el.
23534 (create-animated-image): Remove unnecessary function.
23535 (image-animate): Rename from image-animate-start. New arg.
23536 (image-animate-stop): Remove; just use image-animate-timer.
23537 (image-animate-timer): Use car-safe.
23538 (image-animate-timeout): Rename argument.
23540 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23542 * window.el (get-lru-window, get-largest-window): Move here from
23543 window.c. Rename first argument to ALL-FRAMES.
23544 Rephrase doc-strings.
23545 (get-buffer-window-list): Rewrite using window-list-1.
23546 Rephrase doc-string.
23547 (window-safe-min-height, window-safe-min-width): New constants.
23548 (window-size-ignore, window-min-size, window-min-size-1)
23549 (window-sizable, window-sizable-p, window-size-fixed-1)
23550 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23551 (window-max-delta-1, window-max-delta, window-resizable)
23552 (window-resizable-p, window-total-height, window-total-width)
23553 (window-body-width): New functions.
23554 (window-full-height-p, window-full-width-p): Rewrite using
23556 (window-body-height): Rewrite using window-body-size.
23558 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23560 * window.el (window-right, window-left, window-child)
23561 (window-child-count, window-last-child, window-any-p)
23562 (normalize-live-buffer, normalize-live-frame)
23563 (normalize-any-window, normalize-live-window)
23564 (window-iso-combination-p, window-iso-combined-p)
23565 (window-iso-combinations)
23566 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23567 (windows-with-parameter, window-with-parameter)
23568 (window-atom-root, make-window-atom, window-atom-check-1)
23569 (window-atom-check, window-side-check, window-check):
23571 (ignore-window-parameters, window-sides, window-sides-vertical)
23572 (window-sides-slots): New variables.
23573 (window-size-fixed): Move down in code. Minor doc-string fix.
23575 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23577 * comint.el (comint-dynamic-complete-as-filename)
23578 (comint-dynamic-complete-filename): Correctly call
23579 completion-in-region.
23581 2011-06-05 Deniz Dogan <deniz@dogan.se>
23583 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23586 2011-06-05 Deniz Dogan <deniz@dogan.se>
23588 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23589 (rcirc): Use it to prompt for encryption.
23591 2011-06-05 Roland Winkler <winkler@gnu.org>
23593 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23594 (bibtex-search-entries): New command bound to C-c C-a.
23595 (bibtex-display-entries): New function.
23597 2011-06-05 Roland Winkler <winkler@gnu.org>
23599 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23600 (bibtex-insert-kill): After yanking insert newline if necessary.
23601 (bibtex-initialize): Call bibtex-string-files-init only once.
23602 (bibtex-mode): Do not call easy-menu-add.
23603 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23604 (bibtex-yank): Set arg properly if nil.
23606 2011-06-05 Roland Winkler <winkler@gnu.org>
23608 * textmodes/bibtex.el (bibtex-search-entry-globally):
23610 (bibtex-search-entry): Use it.
23612 2011-06-05 Roland Winkler <winkler@gnu.org>
23614 * textmodes/bibtex.el (bibtex-entry-format): New option
23616 (bibtex-format-entry, bibtex-reformat): Honor this option.
23617 (bibtex-parse-entry): Return fields in proper order.
23619 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23621 * doc-view.el (doc-view-remove-if): Move computation of result out
23622 of `dolist' to silence misleading lexical-binding warning.
23624 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23626 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23627 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23629 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23631 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23634 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23636 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23637 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23638 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23639 (tramp-parse-putty):
23640 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23641 (tramp-completion-function-alist-ssh)
23642 (tramp-completion-function-alist-telnet)
23643 (tramp-completion-function-alist-su)
23644 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23647 * net/tramp-ftp.el:
23649 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23650 load "tramp.el" `tramp-set-completion-function'.
23652 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23654 * shell.el: Require and use pcomplete.
23655 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23656 (shell-completion-vars): Set pcomplete-default-completion-function.
23658 2011-06-04 Deniz Dogan <deniz@dogan.se>
23660 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23663 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23665 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23667 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23669 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23670 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23671 * vc/log-view.el (log-view-beginning-of-defun):
23672 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23673 (smerge-refine-forward, smerge-refine-chopup-region):
23674 Silence warning for unused `dotimes' counter variables.
23676 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23678 * net/tramp.el (tramp-with-progress-reporter): Rename from
23679 with-progress-reporter. Use `declare'.
23680 * net/tramp-smb.el:
23682 * net/tramp-gvfs.el: Update all uses.
23684 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23686 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23687 buffer isn't killed before making it current.
23689 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23691 Silence various byte-compiler warnings.
23692 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23693 `access-type' and new obsolescence format.
23694 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23696 (byte-compile-check-variable): New `access-type' argument.
23697 Only warn if the access-type is obsolete.
23698 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23699 (byte-compile-variable-set): Adjust callers.
23700 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23701 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23702 setting it as obsolete.
23703 * simple.el (minibuffer-completing-symbol):
23704 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23705 access as obsolete.
23706 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23708 * international/quail.el (quail-mouse-choose-completion): Remove unused
23709 code referring to obsolete var.
23710 (quail-choose-completion-string): Remove.
23711 * server.el (server-clients-with, server-kill-buffer-query-function)
23712 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23713 * proced.el (proced-send-signal):
23714 * emacs-lisp/lisp.el (lisp-complete-symbol):
23715 Replace completion-annotate-function with completion-extra-properties.
23717 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23719 * simple.el (goto-line): Use read-number.
23720 (overriding-map-is-bound): Remove.
23721 (saved-overriding-map): Change default.
23722 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23723 Take the map as argument.
23724 (universal-argument, negative-argument, digit-argument): Use it.
23725 (restore-overriding-map): Adjust.
23726 (do-auto-fill): Use fill-forward-paragraph.
23727 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23729 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23730 (minibuffer-inactive-mode): New major mode.
23731 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23732 the *Messages* buffer" hack.
23733 (mouse-popup-menubar): Don't burp if the event is a normal key.
23735 Miscellaneous tweaks.
23736 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23737 lexical scoping as in subr.el's dolist and dotimes.
23738 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23739 Silence compiler warning.
23740 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23741 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23742 * international/ccl.el (ccl-compile): Trivial simplification.
23743 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23744 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23745 `printflag' argument.
23746 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23747 Purecopy the whole obsolescence data.
23749 2011-06-01 Leo Liu <sdl.web@gmail.com>
23751 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23752 improve doc-string as suggested by Marco Pessotto
23753 <melmothx@gmail.com>.
23754 (rcirc-print): Fix last change.
23756 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23758 * minibuffer.el (complete-with-action): Return nil for the metadata and
23759 boundaries of non-functional tables.
23760 (completion-table-dynamic): Return nil for the metadata.
23761 (completion-table-with-terminator): Add default case, using
23762 complete-with-action.
23763 (completion--metadata): New function.
23764 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23765 to try and avoid pathological performance problems.
23766 (completion--embedded-envvar-table): Return `category' metadata.
23768 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23770 * subr.el (process-alive-p): New tiny convenience function.
23772 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23774 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23775 content but also its previous major mode.
23777 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23779 * emacs-lisp/debug.el (debug): Restore the previous content of the
23780 *Backtrace* buffer when we exit with C-M-c.
23782 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23784 * minibuffer.el: Add metadata method to completion tables.
23785 (completion-category-overrides): New defcustom.
23786 (completion-metadata, completion--field-metadata)
23787 (completion-metadata-get, completion--styles)
23788 (completion--cycle-threshold): New functions.
23789 (completion-try-completion, completion-all-completions):
23790 Add `metadata' argument to choose completion-styles.
23791 (completion--do-completion): Use metadata to choose cycling.
23792 (completion-all-sorted-completions): Use metadata for sorting.
23793 Remove :completion-cycle-penalty which is not needed any more.
23794 (completion--try-word-completion): Add `metadata' argument.
23795 (minibuffer-completion-help): Check metadata for annotation function
23797 (completion-file-name-table): Return `category' metadata.
23798 (minibuffer-completing-file-name): Make obsolete.
23799 * simple.el (minibuffer-completing-symbol): Make obsolete.
23800 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23801 completion-try-completion.
23803 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23805 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23807 2011-05-30 Leo Liu <sdl.web@gmail.com>
23809 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23810 (rcirc-print): Decode all incoming messages (bug#8744).
23811 (rcirc-decode-coding-system): Allow value nil for automatic coding
23814 2011-06-01 Glenn Morris <rgm@gnu.org>
23816 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23818 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23820 * image.el (image-animate-max-time): Allow nil and t values.
23822 (create-animated-image): Doc fix.
23823 (image-animate-start): Remove second arg; just use
23824 image-animate-max-time.
23825 (image-animate-timeout): Doc fix. Args changed.
23827 * image-mode.el (image-toggle-display-image): Ensure that the
23828 image spec passed to the animate timer is the same object as in
23829 the buffer's display property (Bug#6981).
23830 (image-transform-properties): Doc fix.
23832 * image.el (image-animate-max-time): Default to nil.
23834 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23836 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23837 entire buffer list (Bug#8184).
23839 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23841 * image.el (imagemagick-types-inhibit)
23842 (imagemagick-register-types): Doc fix.
23844 2011-05-29 Deniz Dogan <deniz@dogan.se>
23846 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23849 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23851 * select.el: Don't perform clipboard-manager saving in hooks;
23852 leave the hooks empty.
23854 2011-05-28 Leo Liu <sdl.web@gmail.com>
23856 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23857 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23858 (occur-edit-mode): New major mode (Bug#8463).
23859 (occur-after-change-function): New function.
23860 (occur-engine): Give Occur tags a read-only property.
23862 2011-05-28 Kevin Ryde <user42@zip.com.au>
23864 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23866 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23868 * bindings.el (help-echo): Make the initial non-indicator dash
23869 empty on graphical terminals (Bug#7295).
23871 * files.el (auto-mode-alist): Move config rule after the
23872 in-stripping one (Bug#8547).
23874 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23876 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23877 setting (Bug#8740).
23879 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23881 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23882 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23885 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23887 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23889 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23891 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23892 (hs-hide-block-at-point, hs-find-block-beginning)
23893 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23896 2011-05-28 Glenn Morris <rgm@gnu.org>
23898 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23900 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23902 * help-fns.el (describe-function-1): If the function is a derived
23903 major mode, print the parent mode.
23905 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23906 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23908 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23910 * minibuffer.el (completion--capf-wrapper): Check applicability before
23911 returning non-nil for non-exclusive completion data.
23912 * progmodes/etags.el (tags-completion-at-point-function):
23913 * info-look.el (info-lookup-completions-at-point): Mark as
23915 (info-complete): Adjust accordingly.
23917 * info-look.el: Convert to lexical-binding and completion-at-point.
23918 (info-lookup-completions-at-point): New function.
23919 (info-complete): Use it and completion-in-region.
23921 2011-05-28 Drew Adams <drew.adams@oracle.com>
23923 * isearch.el: Let M-e start with point at the first mismatched char.
23924 (isearch-fail-pos): New function.
23925 (isearch-edit-string): Use it.
23927 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23929 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23931 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23933 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23934 traversal functions for avl-trees.
23935 (avl-tree--stack): New struct.
23936 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23937 (avl-tree-enter): Add optional `updatefun' arg.
23938 (avl-tree--do-enter): Add optional `updatefun' arg.
23939 Change return value.
23940 (avl-tree-delete): Add optional `test' and `nilflag' args.
23941 (avl-tree--do-delete): Add `test' and `nilflag' args.
23942 Change return value.
23943 (avl-tree-member): Add optional `nilflag'
23944 (avl-tree-member-p): New function.
23945 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23946 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23947 (avl-tree-stack-empty-p): New functions.
23949 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23950 avl-tree--del-balance1 and make it work both ways.
23951 (avl-tree--del-balance2): Remove.
23952 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23953 make it work both ways.
23954 (avl-tree--enter-balance2): Remove.
23955 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23957 (avl-tree--mapc, avl-tree-map): Add direction argument.
23959 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23961 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23963 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23965 * select.el: Support clipboard managers with built-in function
23966 x-clipboard-manager-save, via delete-frame-functions and
23968 (xselect-convert-to-targets): Add MULTIPLE target to list.
23969 (xselect-convert-to-save-targets): New function.
23971 2011-05-27 Kenichi Handa <handa@m17n.org>
23973 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23974 let-binding rfc2047-encode-encoded-words to nil.
23976 2011-05-27 Glenn Morris <rgm@gnu.org>
23978 * mail/emacsbug.el: Don't require url-util.
23980 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23982 * files.el (set-auto-mode):
23983 Also respect mode: entries at the end of the file. (Bug#8586)
23985 2011-05-26 Glenn Morris <rgm@gnu.org>
23987 * files.el (hack-local-variables-prop-line, hack-local-variables):
23988 Downcase mode names, as seems to be traditional.
23989 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23991 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23992 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23994 2011-05-25 Julien Danjou <julien@danjou.info>
23996 * textmodes/rst.el (rst-define-level-faces): Do not define face
23997 symbol if it is already defined.
23999 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24001 * play/5x5.el (5x5-new-game, 5x5-randomize):
24002 Reset 5x5-solver-output to nil when a new grid is cast.
24003 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24004 these debugging traces, as defmacro breaks the compiled code.
24006 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24008 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24010 2011-05-24 Leo Liu <sdl.web@gmail.com>
24012 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24013 (vc-bzr-sha1): Adapt.
24015 * sha1.el: Remove. Function `sha1' is now builtin.
24017 * bindings.el: Provide sha1 feature.
24019 2011-05-24 Kenichi Handa <handa@m17n.org>
24021 * mail/sendmail.el: Require `rfc2047'.
24022 (mail-insert-from-field): Do not perform RFC2047 encoding.
24023 (mail-encode-header): New function.
24024 (sendmail-send-it): Set buffer-file-coding-system of the work
24025 buffer to the return value of select-message-coding-system.
24026 Call mail-encode-header.
24028 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24030 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24032 * mail/supercite.el (sc-default-cite-frame):
24033 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24035 2011-05-24 Glenn Morris <rgm@gnu.org>
24037 * progmodes/python.el (brm-menu): Declare.
24039 * emulation/viper.el (viper-set-hooks): Declare.
24041 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24042 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24043 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24044 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24045 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24046 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24048 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24050 Add an :exit-function for completion-at-point.
24052 * minibuffer.el (completion--done): New fun.
24053 (completion--do-completion): Use it. New arg `expect-exact'.
24054 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24055 since completion--do-completion does it for us now.
24056 (minibuffer-force-complete): Use completion--done and
24057 completion--replace. Handle sole-completion case with more care.
24058 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24059 (completion-extra-properties): New var.
24060 (completion-annotate-function): Make obsolete.
24061 (minibuffer-completion-help): Adjust accordingly.
24062 Use completion-list-insert-choice-function.
24063 (completion-at-point, completion-help-at-point):
24064 Bind completion-extra-properties.
24065 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24066 * simple.el (completion-list-insert-choice-function): New var.
24067 (completion-setup-function): Preserve it.
24068 (choose-completion): Pay attention to it, shuffle the code a bit.
24069 (choose-completion-string): New arg `insert-function'.
24071 * textmodes/bibtex.el: Convert to lexical binding.
24072 (bibtex-mode-map): Use completion-at-point.
24073 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24074 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24075 (bibtex-complete): Define as obsolete alias.
24076 (bibtex-complete-internal): Remove.
24077 (bibtex-format-entry): Remove unused sub-group in regexp.
24078 * shell.el (shell--command-completion-data)
24079 (shell-environment-variable-completion):
24080 * pcomplete.el (pcomplete-completions-at-point):
24081 * comint.el (comint--complete-file-name-data): Use :exit-function
24082 instead of completion-table-with-terminator so it also works for
24085 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24087 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24089 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24092 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24094 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24096 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24097 customization variable and implement: If non-nil, auto-fill will
24098 be inhibited while on topic's header line.
24100 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24102 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24103 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24104 always have a solution in grid size = 5 cases.
24105 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24106 (5x5-solver-output, 5x5-log-buffer): New vars.
24107 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24108 Make these variables buffer local to achieve 5x5 multi-session-ness.
24109 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24110 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24111 (5x5-solve-suggest): New funs.
24112 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24113 randomize a grid so that we ensure that there is always a solution.
24114 (5x5-make-random-grid): Allow other movement than flipping.
24116 2011-05-23 Kevin Ryde <user42@zip.com.au>
24118 * emacs-lisp/advice.el (ad-read-advised-function):
24119 Use `function-called-at-point' as the default, if it has
24120 advice and passes PREDICATE.
24122 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24124 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24125 byte-compile-lambda if it's actually a lambda.
24127 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24128 Fix function quoting. Use backquote better.
24130 2011-05-22 Yuanle Song <sylecn@gmail.com>
24132 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24133 matching (Bug#8516).
24135 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24137 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24138 different face (Bug#8178).
24140 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24142 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24143 defface (Bug#8144).
24145 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24147 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24148 funcall as well (bug#8712). Warn when performing those conversions.
24149 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24151 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24153 2011-05-22 Glenn Morris <rgm@gnu.org>
24155 * files.el (hack-local-variables-prop-line): Small simplifications.
24156 (hack-local-variables, hack-local-variables-prop-line):
24157 If MODE-ONLY, return the mode, rather than just `t'.
24159 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24161 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24163 2011-05-21 Glenn Morris <rgm@gnu.org>
24165 * files.el (hack-local-variables-prop-line, hack-local-variables):
24166 If only interested in the mode, don't bother doing the other stuff.
24168 * image-mode.el (image-after-revert-hook):
24169 Redraw all frames on which the image is visible. (Bug#8567)
24171 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24173 * wid-edit.el (widget-checklist-match-inline):
24174 Fix 2011-04-19 change. (Bug#8649)
24176 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24178 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24179 Also allow singlespace after single-letter capitals followed by a dot.
24181 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24182 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24184 2011-05-20 Nix <nix@esperi.org.uk>
24186 * files.el (basic-save-buffer-2):
24187 Fix handling of break-hardlink-on-save with non-existent files.
24189 2011-05-19 Deniz Dogan <deniz@dogan.se>
24191 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24192 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24194 2011-05-19 Glenn Morris <rgm@gnu.org>
24196 * progmodes/f90.el (f90-type-def-re):
24197 Handle "type, bind(c)". (Bug#8691)
24199 * emacs-lisp/autoload.el (batch-update-autoloads):
24200 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24202 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24204 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24205 property for the correct connection in case of multihops.
24207 2011-05-18 Glenn Morris <rgm@gnu.org>
24209 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24210 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24212 Rationalize calendar handling of day and month abbrev-arrays.
24213 * calendar/calendar.el (calendar-customized-p): New function.
24214 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24215 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24217 (calendar-abbrev-length, calendar-day-abbrev-array)
24218 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24219 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24220 Elements may no longer be nil.
24221 (calendar-day-name, calendar-month-name):
24222 Update for changed nature of abbrev arrays.
24223 * calendar/diary-lib.el (diary-name-pattern):
24224 Update for changed nature of abbrev arrays.
24225 (diary-mark-entries-1): Update calendar-make-alist calls.
24226 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24227 * calendar/cal-html.el (cal-html-day-abbrev-array):
24228 Simply inherit from calendar-day-abbrev-array.
24230 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24232 * progmodes/grep.el (grep-mode): Disable default
24233 compilation-directory-matcher setting (bug#8684).
24235 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24237 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24238 instead of "head" and "tail". There were problems with SunOS 5.9,
24239 and it performs better.
24241 2011-05-17 Glenn Morris <rgm@gnu.org>
24243 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24245 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24246 Replace obsolete function.
24248 * shell.el (pcomplete-parse-arguments-function): Declare.
24250 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24251 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24252 (appt-check): Doc fixes.
24253 (appt-disp-window-function, appt-delete-window-function):
24254 Remove needless special case in custom :type.
24255 (appt-display-count): Default to 0, not nil.
24256 (appt-check): Reset appt-display-count to 0, not nil.
24258 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24260 * progmodes/python.el (python-font-lock-keywords):
24261 Add the Python 3.X keyword "nonlocal" (bug#8639).
24263 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24265 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24267 2011-05-16 Kevin Ryde <user42@zip.com.au>
24269 * info-look.el (makefile-automake-mode): New setups, looking in
24270 automake manual, then makefile-mode.
24271 (makefile-mode): Remove automake manual, have it just in
24272 makefile-automake-mode since there's various things different or
24273 not relevant to plain make.
24274 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24275 believe a hypothetical automake-mode would go to makefile-mode,
24276 not the other way around.
24278 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24280 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24281 hunk-end tags (Bug#8672).
24283 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24284 vc-annotate-show-diff-revision-at-line (Bug#8671).
24286 2011-05-14 Glenn Morris <rgm@gnu.org>
24288 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24289 in the middle of an existing one with multiple authors. (Bug#8645)
24290 (change-log-font-lock-keywords): Also handle multiple author lines
24291 with leading tabs. (Bug#8644)
24293 * calendar/appt.el (appt-check): Rename some local variables.
24294 Some simplification/reordering.
24296 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24297 (feedmail-sendmail-f-doesnt-sell-me-out)
24298 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24299 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24300 (feedmail-queue-runner-message-sender): Set :version.
24301 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24302 (bbdb-dwim-net-address, vm-mail): Declare.
24303 (feedmail-binmail-gnulinuxish-template):
24304 Rename from feedmail-binmail-linuxish-template.
24305 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24306 Use insert-buffer-substring.
24308 2011-05-14 Bill Carpenter <bill@carpenter.org>
24310 * mail/feedmail.el (feedmail-patch-level): Increase.
24311 (feedmail-debug): New custom group.
24312 (feedmail-confirm-outgoing-timeout)
24313 (feedmail-sendmail-f-doesnt-sell-me-out)
24314 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24315 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24316 (feedmail-sender-line, feedmail-from-line)
24317 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24318 (feedmail-spray-this-address)
24319 (feedmail-spray-address-fiddle-plex-list)
24320 (feedmail-queue-use-send-time-for-date)
24321 (feedmail-queue-use-send-time-for-message-id)
24322 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24323 (feedmail-buffer-eating-function):
24325 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24326 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24327 (feedmail-message-action-scroll-down): New functions.
24328 (feedmail-queue-directory, feedmail-queue-draft-directory):
24329 Use expand-file-name.
24330 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24331 Remove C-v help entry.
24332 (feedmail-queue-buffer-file-name): New variable.
24333 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24334 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24335 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24336 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24337 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24338 (feedmail-message-action-toggle-spray)
24339 (feedmail-run-the-queue-no-prompts)
24340 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24341 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24342 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24343 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24344 (feedmail-envelope-deducer, feedmail-fiddle-from)
24345 (feedmail-fiddle-sender, feedmail-default-date-generator)
24346 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24347 (feedmail-fiddle-spray-address)
24348 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24349 (feedmail-fiddle-list-of-fiddle-plexes)
24350 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24351 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24352 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24353 Change default. Doc fix.
24354 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24355 (feedmail-binmail-linuxish-template): New constant.
24356 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24357 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24358 (feedmail-send-it): Add debug call.
24359 Use feedmail-queue-buffer-file-name, and
24360 feedmail-send-it-immediately-wrapper.
24361 (feedmail-message-action-send): Add debug call.
24362 Use feedmail-send-it-immediately-wrapper.
24363 (feedmail-queue-express-to-queue): Add debug call.
24364 Run feedmail-queue-express-hook.
24365 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24366 (feedmail-message-action-help-blat):
24367 Rename from feedmail-queue-send-edit-prompt-help-first.
24368 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24369 Check line-endings. Handle errors better.
24370 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24371 Doc fix. Add debug call.
24372 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24373 Use feedmail-queue-send-edit-prompt-inner.
24374 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24375 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24376 from feedmail-queue-send-edit-prompt.
24377 (feedmail-queue-send-edit-prompt-help)
24378 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24379 (feedmail-tidy-up-slug): Add debug call.
24380 Respect feedmail-queue-slug-suspect-regexp.
24381 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24382 (feedmail-dump-message-to-queue): Add debug call.
24383 Expand queue-directory.
24384 (feedmail-dump-message-to-queue): Change message slightly.
24385 Use feedmail-say-chatter.
24386 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24387 (feedmail-send-it-immediately-wrapper): New function.
24388 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24389 Insert empty string rather than newline. Handle full-frame case.
24390 Use catch/throw. Use feedmail-say-chatter.
24391 (feedmail-fiddle-from): Try mail-host-address.
24392 (feedmail-default-message-id-generator): Doc fix.
24393 Bind system-time-locale. Handle missing end.
24394 (feedmail-fiddle-x-mailer): Add debug call.
24395 Handle feedmail-x-mailer-line being nil.
24396 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24397 Add debug call. Use buffer-substring-no-properties.
24398 (feedmail-say-debug, feedmail-say-chatter): New functions.
24399 (feedmail-find-eoh): Give an explicit error.
24401 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24403 * net/newst-treeview.el (newsticker-treeview-face): Change default
24404 family from helvetica to sans.
24405 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24406 etc/images/newsticker.
24408 * net/newst-reader.el (newsticker-feed-face): Change default
24409 family from helvetica to sans.
24411 * net/newst-plainview.el (newsticker-new-item-face)
24412 (newsticker-old-item-face, newsticker-immortal-item-face)
24413 (newsticker-obsolete-item-face, newsticker-date-face)
24414 (newsticker-statistics-face): Change default family from
24416 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24417 etc/images/newsticker.
24419 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24420 (newsticker--process-auto-mark-filter-match): Tell user about
24423 2011-05-13 Didier Verna <didier@xemacs.org>
24425 Common Lisp indentation improvements on defmethod and lambda-lists.
24426 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24428 (lisp-lambda-list-keyword-parameter-indentation)
24429 (lisp-lambda-list-keyword-parameter-alignment)
24430 (lisp-lambda-list-keyword-alignment): New customizable user options.
24431 (lisp-indent-defun-method): Improve docstring.
24432 (extended-loop-p): Fix comment.
24433 (lisp-indent-lambda-list-keywords-regexp): New variable.
24434 (lisp-indent-lambda-list): New function.
24435 (lisp-indent-259): Use it.
24436 (lisp-indent-defmethod): Support for more than one
24437 method qualifier and properly indent methods lambda-lists.
24438 (defgeneric): Provide a missing common-lisp-indent-function property.
24440 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24442 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24443 bounds for the empty string (bug#8667).
24445 2011-05-13 Glenn Morris <rgm@gnu.org>
24447 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24449 * mail/sendmail.el (sendmail-program): Try executable-find first.
24450 (sendmail-send-it): `sendmail-program' cannot be unbound.
24452 * calendar/appt.el (appt-make-list): Simplify.
24453 (appt-time-msg-list): Doc fix.
24454 (appt-check): Change mode-line message at the time of the appointment.
24456 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24458 * progmodes/ld-script.el (ld-script-keywords)
24459 (ld-script-builtins): Update keywords list.
24461 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24463 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24465 * shell.el (shell-completion-vars): New function.
24467 * simple.el (read-shell-command): Use it.
24468 (blink-matching-open): No need for " [...]" in minibuffer-message.
24470 2011-05-12 Glenn Morris <rgm@gnu.org>
24472 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24473 (appt-check): Simplify.
24475 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24477 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24478 literal "/dev/null".
24480 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24482 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24485 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24487 * progmodes/which-func.el (which-function):
24488 Use add-log-current-defun instead of add-log-current-defun-function,
24489 which might not be defined (Bug#8260).
24491 2011-05-12 Glenn Morris <rgm@gnu.org>
24493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24494 Let byte-compile-initial-macro-environment always take precedence.
24496 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24498 * net/rcirc.el: Add support for SSL/TLS connections.
24499 (rcirc-server-alist): New field `encryption'.
24500 (rcirc): Check `encryption' settings.
24501 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24502 Merge make-local-variable into `set'.
24503 (rcirc--connection-open-p): New function.
24504 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24505 the process is not a network process (e.g. running gnutls-cli).
24506 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24507 Make rcirc-(en|de)code-coding-system local here.
24508 (rcirc-mode): Merge make-local-variable into `set'.
24509 (rcirc-parent-buffer): Make permanent buffer-local.
24510 (rcirc-multiline-minor-mode): Don't do it here.
24511 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24512 there's no server buffer.
24514 2011-05-11 Glenn Morris <rgm@gnu.org>
24516 * newcomment.el (comment-kill): Prefix "unused" local.
24518 * term/w32console.el (get-screen-color): Declare.
24520 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24521 Handle symbol elements of byte-compile-initial-macro-environment.
24523 2011-05-10 Leo Liu <sdl.web@gmail.com>
24525 * bookmark.el (bookmark-bmenu-mode-map):
24526 Bind bookmark-bmenu-search to `/'.
24528 * mail/footnote.el: Convert to utf-8 encoding.
24529 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24530 (Footnote-unicode): New function.
24531 (footnote-style-alist): Add unicode style to the list.
24532 (footnote-style): Doc fix.
24534 2011-05-10 Jim Meyering <meyering@redhat.com>
24536 Fix doubled-word typos.
24537 * international/quail.el (quail-insert-kbd-layout): and and -> and
24538 * kermit.el: and and -> and
24539 * net/ldap.el (ldap-search-internal): to to -> to
24540 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24541 * progmodes/js.el (js-mode): and and -> and
24542 * textmodes/artist.el (artist-move-to-xy): at at -> at
24543 (artist-draw-region-trim-line-endings): if if -> if
24544 And Safetyc -> Safety.
24545 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24547 2011-05-10 Glenn Morris <rgm@gnu.org>
24548 Stefan Monnier <monnier@iro.umontreal.ca>
24550 * files.el (hack-one-local-variable-eval-safep):
24551 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24553 2011-05-10 Glenn Morris <rgm@gnu.org>
24555 * calendar/diary-lib.el (diary-list-entries-hook)
24556 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24557 (diary-nongregorian-marking-hook, diary-list-entries)
24558 (diary-include-other-diary-files, diary-mark-entries)
24559 (diary-mark-included-diary-files): Doc fixes.
24561 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24563 * misc.el: Require tabulated-list.el during compilation.
24565 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24567 * progmodes/compile.el (compilation-start):
24568 Run compilation-filter-hook for the async case too.
24569 (compilation-filter-hook): Doc fix.
24571 2011-05-09 Deniz Dogan <deniz@dogan.se>
24573 * wdired.el: Remove outdated installation comment. Fix usage
24576 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24578 * misc.el: Implement new command `list-dynamic-libraries'.
24579 (list-dynamic-libraries--loaded-only-p): New variable.
24580 (list-dynamic-libraries--refresh): New function.
24581 (list-dynamic-libraries): New command.
24583 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24585 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24586 Fix the ant regexp to handle end-line and end-column info from jikes.
24587 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24588 higher priority to avoid clobbering by gnu.
24590 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24592 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24593 if the face has existing theme settings (Bug#8454).
24595 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24597 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24598 Only match variables declared via `my' or `our' (Bug#8261).
24600 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24601 special file names `.' and `..' (Bug#8259).
24603 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24605 * progmodes/grep.el (grep-mode-font-lock-keywords):
24606 Remove buffer-changing entries.
24607 (grep-filter): New function.
24608 (grep-mode): Add it to compilation-filter-hook.
24610 * progmodes/compile.el (compilation-filter-hook)
24611 (compilation-filter-start): New defvars.
24612 (compilation-filter): Call compilation-filter-hook prior to
24613 updating the process mark.
24615 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24617 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24619 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24621 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24622 mailclient-send-it even if window-system is nil. (Bug#8595)
24624 * term/w32console.el (terminal-init-w32console):
24625 Call get-screen-color and use its output to set the frame
24626 background-mode. (Bug#8597)
24628 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24630 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24631 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24633 (defgeneric, eieio--defmethod): Use them.
24634 (eieio-defgeneric): Remove.
24635 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24637 2011-05-07 Glenn Morris <rgm@gnu.org>
24639 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24640 Use let rather than let*.
24641 (timeclock-find-discrep): Remove unused local.
24643 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24645 * calendar/appt.el (appt-time-msg-list): Doc fix.
24647 2011-05-06 Noah Friedman <friedman@splode.com>
24649 * apropos.el (apropos-print-doc): Only use
24650 emacs-lisp-docstring-fill-column when it is bound to an integer,
24651 per that variable's documentation.
24653 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24655 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24656 and warnings are not silently discarded (e.g. use -d instead of -P).
24658 2011-05-06 Glenn Morris <rgm@gnu.org>
24660 * calendar/appt.el (appt-message-warning-time): Doc fix.
24661 (appt-warning-time-regexp): New option.
24662 (appt-make-list): Respect appt-message-warning-time.
24664 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24666 (diary-add-to-list): Strip comments from the displayed string.
24667 (diary-mode): Set comment-start and comment-end.
24669 * vc/diff-mode.el (smerge-refine-subst): Declare.
24670 (diff-refine-hunk): Don't require smerge-mode when compiling.
24672 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24674 * simple.el (list-processes): Return nil as the docstring says.
24676 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24678 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24680 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24681 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24682 determining of binary transfer. (Bug#7383)
24684 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24687 Fix port computation bug. (Bug#8618)
24689 2011-05-05 Glenn Morris <rgm@gnu.org>
24691 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24693 * simple.el (shell-dynamic-complete-functions)
24694 (comint-dynamic-complete-functions): Declare.
24696 * net/network-stream.el (gnutls-negotiate):
24697 * simple.el (tabulated-list-print): Fix declarations.
24699 * progmodes/gud.el (syntax-symbol, syntax-point):
24700 Remove unnecessary and incorrect declarations.
24702 * emacs-lisp/check-declare.el (check-declare-scan):
24703 Handle byte-compile-initial-macro-environment in bytecomp.el.
24705 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24707 Fix earlier half-done eieio-defmethod change (bug#8338).
24708 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24709 Streamline and change calling convention.
24710 (defmethod): Adjust accordingly and simplify.
24711 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24712 new eieio--defmethod.
24713 (slot-boundp): Minor CSE simplification.
24715 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24717 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24718 (glasses-make-readable): Use glasses-separate-capital-groups.
24720 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24722 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24723 (warning-series): Doc fix.
24724 (display-warning): Don't try to create the buffer if we just found it.
24726 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24728 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24729 (autoload-find-generated-file): New function.
24730 (generate-file-autoloads): Bind generated-autoload-file to
24732 (update-file-autoloads, update-directory-autoloads):
24733 Use autoload-find-generated-file. If called interactively, prompt for
24734 output file (Bug#7989).
24735 (batch-update-autoloads): Doc fix.
24737 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24739 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24741 2011-05-04 Glenn Morris <rgm@gnu.org>
24743 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24744 function, so it follows changes in calendar-date-style.
24745 (diary-fancy-date-matcher): New function.
24746 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24747 (diary-fancy-font-lock-fontify-region-function):
24748 Use diary-fancy-date-pattern as a function.
24750 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24751 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24753 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24755 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24756 instead of positional arguments. Allow :keylist and :crlfiles
24758 (open-gnutls-stream): Call it.
24760 * net/network-stream.el (network-stream-open-starttls): Adjust to
24761 call `gnutls-negotiate' with :process and :hostname arguments.
24763 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24765 * minibuffer.el (completion--message): New function.
24766 (completion--do-completion, minibuffer-complete)
24767 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24768 (completion--do-completion): Don't ignore completion-auto-help when in
24771 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24772 internal encoding (e.g. tibetan zero is not whitespace).
24773 (global-whitespace-mode): Prefer save-current-buffer.
24774 (whitespace-trailing-regexp): Remove useless save-match-data.
24775 (whitespace-empty-at-bob-regexp): Minor simplification.
24777 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24779 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24781 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24783 * textmodes/ispell.el (ispell-add-per-file-word-list):
24784 Use `concat' to create string for insertion.
24786 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24788 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24789 Avoid open-line which runs post-self-insert-hook.
24790 (bibtex-fill-entry): Remove unused `end' var.
24792 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24794 * textmodes/ispell.el (ispell-add-per-file-word-list):
24795 Protect against `nil' value of `comment-start' (Bug#8579).
24797 2011-05-03 Leo Liu <sdl.web@gmail.com>
24799 * isearch.el (isearch-yank-pop): New command.
24800 (isearch-mode-map): Bind it to `M-y'.
24801 (isearch-forward): Mention it.
24803 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24805 * simple.el (minibuffer-complete-shell-command): Remove.
24806 (minibuffer-local-shell-command-map): Use completion-at-point.
24807 (read-shell-command): Setup completion vars here instead.
24808 (read-expression-map): Bind TAB to symbol completion.
24810 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24811 error directly rather via storing it into `results'.
24813 2011-05-02 Leo Liu <sdl.web@gmail.com>
24815 * vc/diff.el: Fix description.
24817 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24819 * server.el (server-eval-at): New function.
24821 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24823 * net/network-stream.el (open-network-stream): Take a :nowait
24824 parameter and pass it on to `make-network-process'.
24825 (network-stream-open-plain): Ditto.
24827 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24829 * faces.el (face-spec-set-match-display): Don't match toolkit
24830 options on terminal frames.
24832 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24834 * progmodes/pascal.el: Use lexical binding.
24835 (pascal-mode-map): Remove author preferences.
24837 * pcomplete.el (pcomplete-std-complete): Don't abuse
24838 completion-at-point.
24840 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24842 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24843 removing code that has been dead since 1991 or so.
24845 * startup.el (command-line): When warning about "_emacs", use a
24846 delayed warning to allow the user to filter it out.
24848 2011-04-28 Deniz Dogan <deniz@dogan.se>
24850 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24851 user has not joined.
24853 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24855 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24856 aren't any completions at point.
24858 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24860 * subr.el (display-delayed-warnings): New function.
24861 (delayed-warnings-hook): New variable.
24863 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24865 * minibuffer.el (completion-at-point, completion-help-at-point):
24866 Don't presume that a given completion-at-point-function will always
24867 use the same calling convention.
24869 * pcomplete.el (pcomplete-completions-at-point):
24870 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24871 pcomplete-seen is non-nil.
24872 (pcomplete-comint-setup): Also recognize the new comint/shell
24873 completion functions.
24874 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24875 pcomplete-seen is non-nil.
24877 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24879 * calendar/icalendar.el (diary-lib): Add require statement.
24880 (icalendar--create-uid): Read out a uid from a text-property on
24881 the first character in the entry. This allows for code to add its
24882 own uid to the entry.
24883 (icalendar--convert-float-to-ical): Add export of
24884 `diary-float'-entries save for those with the optional DAY
24887 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24889 * subr.el (shell-quote-argument): Use alternate escaping strategy
24890 when we spot a variable reference in a string.
24892 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24894 * cus-start.el (all): Define customization for debug-on-event.
24896 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24898 * subr.el (shell-quote-argument): Escape correctly under Windows.
24900 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24902 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24904 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24906 * net/tramp.el (tramp-process-actions): Add POS argument.
24907 Delete region between POS and (pos).
24909 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24910 Use `nil' position in `tramp-process-actions' call.
24911 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24913 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24914 position in `tramp-process-actions' call.
24916 * net/trampver.el: Update release number.
24918 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24920 * custom.el (defcustom): Obey lexical-binding.
24922 Fix octave-inf completion problems reported by Alexander Klimov.
24923 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24924 Inherit from octave-mode-syntax-table.
24925 (inferior-octave-mode): Set info-lookup-mode.
24926 (inferior-octave-completion-at-point): New function.
24927 (inferior-octave-complete): Use it and completion-in-region.
24928 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24929 comint-filename-completion.
24930 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24931 symbol elements which shouldn't be word elements.
24932 (octave-font-lock-keywords, octave-beginning-of-defun)
24933 (octave-function-header-regexp): Adjust regexps accordingly.
24934 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24936 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24938 * net/gnutls.el (gnutls-errorp): Declare before first use.
24940 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24942 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24943 verify-error, and verify-hostname-error parameters. Check whether
24944 default trustfile exists before going to use it. Add missing
24945 argument to gnutls-message-maybe call. Return value.
24946 Reported by Claudio Bley <claudio.bley@gmail.com>.
24947 (open-gnutls-stream): Add usage example.
24949 * net/network-stream.el (network-stream-open-starttls): Give host
24950 parameter to `gnutls-negotiate'.
24951 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24952 * subr.el (shell-quote-argument): Escape correctly under Windows.
24954 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24956 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24957 Use correct match group (bug#8438).
24959 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24961 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24962 (package-menu--generate): New arg specifying packages to show.
24963 (package-menu-refresh, package-menu-execute, list-packages):
24965 (package-show-package-list): New function, replacing deleted
24966 package--list-packages (renamed because it is non-internal).
24968 * finder.el (finder-list-matches): Use package-show-package-list
24969 instead of deleted package--list-packages.
24971 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24972 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24973 (vc-annotate-mode-map): Bind it to RET.
24975 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24977 * progmodes/etags.el (next-file): Don't use set-buffer to change
24978 buffers (Bug#8478).
24980 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24982 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24984 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24985 (apropos-accumulator): Doc fix.
24986 (apropos-function, apropos-macro, apropos-command)
24987 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24988 (apropos-plist): Add face property.
24989 (apropos-symbols-internal): Fix indentation.
24990 (apropos-print): Simplify help, and recognize apropos-multi-type.
24991 (apropos-print-doc): Use button-type-get to extract the button's
24992 face property. Fill docstring (Bug#8352).
24994 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24996 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24998 * play/mpuz.el (mpuz-silent): Doc fix.
24999 (mpuz-mode-map): Use mapc.
25000 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25001 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25002 Fix typos in docstrings.
25004 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25005 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25007 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25009 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25011 * minibuffer.el (completion--do-completion): Avoid the "Next char
25012 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25014 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25015 mouse-2 into unread-command-events, it is interpreted correctly.
25017 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25018 (image-toggle-display): Doc fix.
25020 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25022 * textmodes/page.el (what-page): Use line-number-at-pos to
25023 calculate line number (Bug#6825).
25025 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25027 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25028 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25029 Pass argument NO-DEFAULT to `find-tag-interactive'.
25031 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25033 Lexical-binding cleanup.
25035 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25036 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25037 * progmodes/ada-prj.el (ada-prj-initialize-values)
25038 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25039 (ada-prj-show-value):
25040 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25041 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25042 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25043 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25044 * progmodes/bug-reference.el (bug-reference-push-button):
25045 * progmodes/fortran.el (fortran-line-length):
25046 * progmodes/glasses.el (glasses-change):
25047 * progmodes/octave-mod.el (octave-fill-paragraph):
25048 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25049 (python-pdbtrack-grub-for-buffer, python-sentinel):
25050 * progmodes/sql.el (sql-save-connection):
25051 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25052 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25053 Mark unused parameters.
25055 * progmodes/compile.el (compilation--flush-directory-cache)
25056 (compilation--flush-parse, compile-internal): Mark unused parameters.
25057 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25058 (compilation-next-error-function): Remove unused variable `timestamp'.
25060 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25061 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25063 * progmodes/dcl-mode.el (dcl-end-of-command):
25064 Remove unused variable `start'.
25065 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25066 (dcl-option-value-basic, dcl-option-value-offset)
25067 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25068 Mark unused parameters.
25069 (dcl-save-local-variable): Remove unused variable `val'.
25072 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25073 Mark unused parameters.
25074 (delphi-ignore-changes): Move before first use.
25075 (delphi-charset-token-at): Remove unused variable `start'.
25076 (delphi-else-start): Remove unused variable `if-count'.
25077 (delphi-comment-block-start, delphi-comment-block-end):
25078 Remove unused variable `kind'.
25079 (delphi-indent-line): Remove unused variable `new-point'.
25081 * progmodes/ebrowse.el (ebrowse-files-list)
25082 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25083 Mark unused parameters. Don't quote `lambda'.
25084 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25085 Don't quote `lambda'.
25086 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25087 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25088 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25089 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25090 Use `ignore-errors'.
25091 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25092 (ebrowse-view/find-file-and-search-pattern)
25093 (ebrowse-view/find-member-declaration/definition):
25094 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25095 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25096 Rename parameter PREFIX-ARG to PREFIX.
25097 (ebrowse-tags-read-name): Remove unused variables `start' and
25099 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25102 * progmodes/etags.el (local-find-tag-hook): Declare.
25103 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25104 Mark unused parameters.
25106 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25107 (executable-interpret): Mark unused parameter.
25109 * progmodes/flymake.el (flymake-process-sentinel)
25110 (flymake-after-change-function)
25111 (flymake-create-temp-with-folder-structure)
25112 (flymake-get-include-dirs-dot): Mark unused parameters.
25113 (flymake-safe-delete-directory): Remove unused variable `err'.
25115 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25116 (speedbar-timer-fn, speedbar-line-text)
25117 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25118 (speedbar-center-buffer-smartly): Declare functions.
25119 (gdb-find-watch-expression): Remove unused variable `array'.
25120 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25121 (gdb-starting): Mark unused parameters.
25122 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25123 (gdb-table-string): Remove unused variable `res'.
25124 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25125 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25126 (gdb-display-buffer): Remove unused variable `cur-size'.
25128 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25129 allow lexical-binding compilation.
25130 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25131 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25132 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25133 Mark unused parameters.
25134 (gud-gdb-marker-filter): Remove unused variable `match'.
25135 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25136 lambda expressions and funcall them, instead of using `fset'.
25138 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25139 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25141 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25142 variable `header-beg'; use `let'.
25144 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25145 `restart', `last-sexp' and `at-do'.
25147 * progmodes/js.el (js--debug): Mark unused parameter.
25148 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25149 (js--splice-into-items): Remove unused variable `item'.
25150 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25152 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25153 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25154 (makefile-complete): Remove unused variable `try'.
25155 (makefile-fill-paragraph, makefile-match-function-end):
25156 Mark unused parameters.
25158 * progmodes/octave-inf.el (inferior-octave-complete):
25159 Remove unused variable `proc'.
25160 (inferior-octave-output-digest): Mark unused parameter.
25162 * progmodes/perl-mode.el (perl-calculate-indent):
25163 Remove unused variable `err'.
25165 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25166 (prolog-indent-line): Mark unused parameters.
25167 (prolog-indent-line): Remove unused variable `beg'.
25169 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25170 (reporter-dont-compact-list): Declare.
25172 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25173 Remove unused variable `char'.
25174 (sh-debug): Mark unused parameter.
25175 (sh-get-indent-info): Remove unused variable `start'.
25176 (sh-calculate-indent): Remove unused variable `var'.
25178 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25179 (simula-electric-keyword): Remove unused variable `null'.
25180 (simula-search-backward, simula-search-forward): Remove unused
25181 variables `begin' and `end'.
25183 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25184 Remove unused variable `pos'.
25185 (vera-electric-tab, vera-comment-uncomment-region):
25186 Mark unused parameters.
25187 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25189 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25191 * emacs-lisp/package.el (package--builtins, package-alist)
25192 (package-load-descriptor, package-built-in-p, package-activate)
25193 (define-package, package-installed-p)
25194 (package-compute-transaction, package-buffer-info)
25195 (package--push): Doc fix. Distinguish more clearly between
25196 version strings and version lists.
25198 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25200 Lexical-binding cleanup.
25202 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25203 (5x5-make-mutate-best):
25204 * play/fortune.el (fortune-in-buffer):
25205 * play/gomoku.el (gomoku-init-display):
25206 * play/solitaire.el (solitaire, solitaire-do-check):
25207 * play/tetris.el (tetris-default-update-speed-function):
25208 Mark unused parameters.
25210 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25211 (bubbles--shift): Remove unused variable `char-org'.
25212 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25213 (bubbles--show-images): Remove unused variable `char'.
25215 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25216 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25217 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25218 (decipher-analyze-buffer): Use ?\s.
25219 (decipher-make-checkpoint): Remove unused variable `mapping'.
25221 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25223 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25224 Remove unused variable `result'; use `let'.
25226 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25227 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25228 (gametree-children-shown-p, gametree-compute-reduced-score):
25229 Use `ignore-errors'.
25231 * play/handwrite.el (ps-lpr-switches): Declare.
25232 (handwrite): Remove unused variables `pmin' and `lastp'.
25234 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25236 * play/landmark.el (landmark-init-display)
25237 (landmark-update-naught-weights): Mark unused parameters.
25238 (landmark-y): Remove unused variable `noise'. Simplify.
25239 (landmark-human-plays): Remove unused variable `score'.
25241 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25242 (mpuz-try-proposal): Remove unused variable `game'.
25244 * play/zone.el (life-patterns): Declare.
25246 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25248 * vc/vc.el (ediff-vc-internal): Declare function.
25250 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25252 * shell.el: Use lexical-binding and std completion UI.
25253 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25254 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25255 comint-preoutput-filter-functions rather than on
25256 comint-output-filter-functions.
25257 (shell-command-completion, shell--command-completion-data)
25258 (shell-filename-completion, shell-environment-variable-completion)
25259 (shell-c-a-p-replace-by-expanded-directory): New functions.
25260 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25261 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25262 (shell-dynamic-complete-environment-variable): Use them.
25263 (shell-dynamic-complete-as-environment-variable)
25264 (shell-dynamic-complete-as-command): Remove.
25265 (shell-match-partial-variable): Match past point.
25266 * comint.el: Clean up use of completion-at-point-functions.
25267 (comint-completion-at-point): New function.
25268 (comint-mode): Use it completion-at-point-functions.
25269 (comint-dynamic-complete): Make it obsolete.
25270 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25271 (comint-c-a-p-replace-by-expanded-history): New function.
25272 (comint-dynamic-complete-functions)
25273 (comint-replace-by-expanded-history): Use it.
25274 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25275 termination strings. Try harder to avoid second try-completion.
25276 (completion-in-region-mode-map): Disable bindings that don't work yet.
25278 * comint.el: Use lexical-binding. Require CL.
25279 (comint-dynamic-complete-functions): Use comint-filename-completion.
25280 (comint-completion-addsuffix): Tweak custom type.
25281 (comint-filename-completion, comint--common-suffix)
25282 (comint--common-quoted-suffix, comint--table-subvert)
25283 (comint--complete-file-name-data): New functions.
25284 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25285 (comint-dynamic-list-filename-completions): Use them.
25286 (comint-dynamic-simple-complete): Make obsolete.
25288 * minibuffer.el (completion-in-region-mode):
25289 Keep completion-in-region-mode--predicate global.
25290 (completion-in-region--postch):
25291 Assume completion-in-region-mode--predicate is not null.
25293 * progmodes/flymake.el (flymake-start-syntax-check-process):
25294 Obey `dir'. Simplify.
25296 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25297 we're in VC after all.
25299 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25301 * vc/vc.el (vc-diff-build-argument-list-internal)
25302 (vc-version-ediff, vc-ediff): New commands.
25303 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25305 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25307 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25310 * obsolete/erc-hecomplete.el: Make obsolete.
25311 * obsolete/: Standardize obsolescence info in the header.
25313 2011-04-20 Glenn Morris <rgm@gnu.org>
25315 * calendar/solar.el (solar-horizontal-coordinates):
25316 Use the longitude argument rather than `calendar-longitude'.
25317 (solar-date-next-longitude): Remove unused locals.
25319 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25321 * whitespace.el: New version 13.2.1.
25323 2011-04-20 felix <EmacsWiki> (tiny change)
25325 * whitespace.el (global-whitespace-mode): Keep highlight when
25326 switching between major modes on a file.
25328 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25330 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25331 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25332 multi-line comments as well.
25334 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25336 Lexical-binding cleanup.
25338 * arc-mode.el (archive-mode-revert):
25339 * cmuscheme.el (scheme-interactively-start-process):
25340 * custom.el (custom-initialize-delay):
25341 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25342 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25343 * emacs-lock.el (emacs-lock-clear-sentinel):
25344 * ezimage.el (defezimage):
25345 * follow.el (follow-avoid-tail-recenter):
25346 * fringe.el (set-fringe-mode-1):
25347 * generic-x.el (bat-generic-mode-compile):
25348 * help-mode.el (help-info-variable, help-do-xref)
25349 (help-mode-revert-buffer):
25350 * help.el (view-emacs-todo):
25351 * iswitchb.el (iswitchb-completion-help):
25352 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25353 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25354 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25355 * locate.el (locate-update):
25356 * longlines.el (longlines-encode-region)
25357 (longlines-after-change-function):
25358 * outline.el (outline-isearch-open-invisible):
25359 * ps-def.el (declare-function, charset-dimension, char-width)
25361 * ps-mule.el (ps-mule-plot-string):
25362 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25363 (recentf-edit-list-select, recentf-edit-list-validate)
25364 (recentf-open-files-action):
25365 * rect.el (delete-whitespace-rectangle-line)
25366 (rectangle-number-line-callback):
25367 * register.el (window-configuration-to-register)
25368 (frame-configuration-to-register):
25369 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25370 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25371 (xselect-convert-to-targets, xselect-convert-to-delete)
25372 (xselect-convert-to-filename, xselect-convert-to-charpos)
25373 (xselect-convert-to-lineno, xselect-convert-to-colno)
25374 (xselect-convert-to-os, xselect-convert-to-host)
25375 (xselect-convert-to-user, xselect-convert-to-class)
25376 (xselect-convert-to-name, xselect-convert-to-integer)
25377 (xselect-convert-to-atom, xselect-convert-to-identity):
25378 * subr.el (declare, ignore, process-kill-without-query)
25379 (text-clone-maintain):
25380 * terminal.el (te-get-char, te-tic-sentinel):
25381 * tool-bar.el (tool-bar-make-keymap):
25382 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25383 * type-break.el (type-break-mode, type-break-noninteractive-query):
25384 * view.el (View-back-to-mark):
25385 * wid-browse.el (widget-browse-action, widget-browse-widget)
25386 (widget-browse-widgets, widget-browse-sexp):
25387 * widget.el (define-widget-keywords):
25388 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25389 Mark unused parameters.
25391 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25392 (align-areas): Remove unused variable `look'.
25393 (align-region): Remove unused variables `real-end' and `pos-list'.
25395 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25397 * bindings.el (mode-line-modified, mode-line-remote):
25398 Mark unused parameters.
25399 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25401 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25402 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25404 * comint.el (comint-history-isearch-pop-state)
25405 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25406 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25407 (comint-substitute-in-file-name): Doc fix.
25409 * completion.el (cmpl-statistics-block): Mark unused parameter.
25410 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25411 (save-completions-to-file, load-completions-from-file):
25412 Remove unused local variable `e'.
25414 * composite.el (compose-chars): Remove unused variable `len'.
25415 (lgstring-insert-glyph): Remove unused variable `g'.
25416 (compose-glyph-string): Remove unused variables `ascent',
25417 `descent', `lbearing' and `rbearing'.
25418 (compose-glyph-string-relative): Remove unused variables
25419 `lbearing', `rbearing' and `wadjust'.
25420 (compose-gstring-for-graphic): Remove unused variables `header',
25421 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25422 (compose-gstring-for-terminal): Remove unused variables `header'
25423 and `nchars'. Use `let', not `let*'.
25425 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25426 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25427 (Custom-buffer-done, custom-buffer-create-internal)
25428 (custom-browse-visibility-action, custom-browse-group-tag-action)
25429 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25430 (widget-magic-mouse-down-action, custom-toggle-parent)
25431 (custom-add-parent-links, custom-toggle-hide-variable)
25432 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25433 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25434 (custom-face-menu-create, custom-variable-menu-create, get)
25435 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25436 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25437 (customize-apropos): Remove unused variable `tests'.
25438 (custom-group-value-create): Remove unused variable `hidden-p'.
25439 (sort-fold-case): Declare.
25441 * cus-theme.el (custom-reset-standard-faces-list)
25442 (custom-reset-standard-variables-list): Declare.
25443 (customize-create-theme, custom-theme-revert, custom-theme-write)
25444 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25445 Mark unused parameters.
25447 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25449 * delim-col.el (delimit-columns-max): Move defvar before first use.
25451 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25452 (describe-char): Don't quote `lambda'. Mark unused parameter.
25454 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25455 (auto-insert): Declare.
25456 (desktop-restore-file-buffer): Rename desktop-* parameters;
25458 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25459 (desktop-buffer): Rename desktop-* parameters.
25461 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25462 (dframe-reposition-frame-xemacs, dframe-help-echo)
25463 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25464 Mark unused parameters.
25466 * dired-aux.el (backup-extract-version-start, overwrite-query)
25467 (overwrite-backup-query, rename-regexp-query)
25468 (rename-non-directory-query): Declare.
25469 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25470 (dired-add-entry): Remove unused variable `orig-file-name'.
25471 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25472 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25473 `dired-copy-preserve-time' directly.
25474 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25475 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25477 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25478 (dired-virtual-revert, dired-make-relative-symlink):
25479 Mark unused parameters.
25480 (manual-program): Declare.
25481 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25482 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25483 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25485 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25487 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25489 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25492 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25494 * electric.el (Electric-command-loop): Rename parameter
25495 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25497 * expand.el (expand-in-literal): Remove unused variable `here'.
25499 * facemenu.el (facemenu-add-new-color):
25500 Remove unused variable `docstring'.
25502 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25503 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25504 (face-attr-construct): Mark unused parameter. Doc fix.
25505 (read-color): Remove unused variable `hex-string'.
25507 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25508 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25509 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25510 (display-buffer-other-frame): Remove unused variable `old-window'.
25511 (kill-buffer-hook): Declare.
25512 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25513 Mark unused parameters.
25514 (after-find-file): Pass 1 to `auto-save-mode', not t.
25516 * files-x.el (auto-insert): Declare.
25517 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25519 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25520 variable `buf'. Mark unused parameter.
25521 (find-lisp-insert-directory): Mark unused parameter.
25523 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25524 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25525 (format-common-tail): Remove, unused.
25526 (format-deannotate-region): Remove unused variable `loc'.
25527 (format-annotate-region): Remove unused variable `p'.
25528 (format-annotate-single-property-change): Remove unused variables
25529 `default' and `tail'.
25531 * forms.el (read-file-filter): Declare.
25532 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25534 * frame.el (frame-creation-function-alist): Mark unused parameter.
25535 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25537 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25538 Remove unused parameters.
25539 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25540 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25542 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25543 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25544 (hfy-prepare-tag-map): Mark unused parameters.
25545 (htmlfontify-buffer): Use `called-interactively-p'.
25547 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25548 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25549 (ibuffer-do-occur): Mark unused parameters.
25550 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25551 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25553 * ibuffer.el: Don't quote `lambda'.
25554 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25555 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25556 Mark unused parameters.
25558 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25559 (ido-completing-read): Mark unused parameters.
25560 (ido-copy-current-word): Mark unused parameters;
25561 remove unused variable `name'.
25562 (ido-sort-merged-list): Remove unused parameter `dirs'.
25564 * ielm.el (ielm-input-sender): Mark unused parameter.
25565 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25566 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25567 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25568 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25569 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25571 * image-dired.el (image-dired-display-thumbs): Remove unused
25572 variables `curr-file' and `count'.
25573 (image-dired-remove-tag): Remove unused variable `start'.
25574 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25575 variable `curr-file'
25576 (image-dired-rotate-original): Remove unused variable `temp-file'.
25577 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25578 Remove unused variable `file'.
25579 (image-dired-gallery-generate): Remove unused variable `curr'.
25580 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25582 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25584 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25586 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25588 * isearch.el (minibuffer-history-symbol): Declare.
25589 (isearch-edit-string): Remove unused variable `err'.
25590 (isearch-message-prefix, isearch-message-suffix):
25591 Mark unused parameters.
25593 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25595 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25597 * makesum.el (double-column): Remove unused variable `cnt'.
25599 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25600 (ido-ignore-item-temp-list): Declare.
25602 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25603 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25604 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25605 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25608 * mouse-sel.el (mouse-extend-internal):
25609 Remove unused variable `orig-window-frame'.
25611 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25612 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25613 Move declarations before first use.
25614 (pcomplete-opt): Mark unused parameters; doc fix.
25616 * proced.el (proced-revert): Mark unused parameter.
25617 (proced-send-signal): Remove unused variable `err'.
25619 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25620 Rename parameter PREFIX-ARG to ARG.
25621 (ps-basic-plot-string, ps-basic-plot-whitespace):
25622 Mark unused parameters.
25624 * replace.el (replace-count): Define.
25625 (occur-revert-function): Mark unused parameters.
25626 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25627 (isearch-case-fold-search, isearch-string): Declare.
25628 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25629 bind `case-fold-search'. Remove unused variables `beg' and `end',
25631 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25632 COUNT and bind `replace-count'.
25633 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25636 * savehist.el (print-readably, print-string-length): Declare.
25638 * shadowfile.el (shadow-expand-cluster-in-file-name):
25639 Remove unused variable `cluster'.
25640 (shadow-copy-file): Remove unused variable `i'.
25641 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25642 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25643 (shadow-define-literal-group, shadow-define-regexp-group)
25644 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25646 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25647 (shell): Use `called-interactively-p'.
25648 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25650 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25651 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25652 (delete-backward-char): Remove unused variable `ocol'.
25653 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25654 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25655 (event-apply-hyper-modifier, event-apply-shift-modifier)
25656 (event-apply-control-modifier, event-apply-meta-modifier):
25657 Mark unused parameters.
25658 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25659 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25661 * speedbar.el (speedbar-ignored-directory-expressions)
25662 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25663 (speedbar-find-file, speedbar-dir-follow)
25664 (speedbar-directory-buttons-follow, speedbar-tag-find)
25665 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25666 (speedbar-buffers-line-directory, speedbar-buffer-click):
25667 Mark unused parameters.
25668 (speedbar-tag-file): Remove unused variable `mode'.
25669 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25671 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25673 * talk.el (talk): Remove unused variable `display'.
25675 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25676 (tar-write-region-annotate): Mark unused parameter.
25678 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25679 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25680 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25681 warning by another.
25683 * time-stamp.el (time-stamp-string-preprocess):
25684 Remove unused variable `require-padding'.
25686 * tree-widget.el (widget-glyph-enable): Declare.
25687 (tree-widget-action): Mark unused parameter.
25689 * w32-fns.el (x-get-selection): Mark unused parameter.
25690 (autoload-make-program, generated-autoload-file): Declare.
25692 * wdired.el (wdired-revert): Mark unused parameters.
25693 (wdired-xcase-word): Remove unused variable `err'.
25695 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25696 (whitespace-help-scroll): Remove unused variable `data-help'.
25698 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25699 (widget-image-insert, widget-after-change, default)
25700 (widget-default-format-handler, widget-default-notify)
25701 (widget-default-prompt-value, widget-info-link-action)
25702 (widget-url-link-action, widget-function-link-action)
25703 (widget-variable-link-action, widget-file-link-action)
25704 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25705 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25706 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25707 (widget-insert-button-action, widget-delete-button-action, visibility)
25708 (widget-documentation-link-action, widget-documentation-string-action)
25709 (widget-const-prompt-value, widget-regexp-match, symbol)
25710 (widget-coding-system-prompt-value)
25711 (widget-key-sequence-value-to-external, sexp)
25712 (widget-sexp-value-to-internal, character, vector, cons)
25713 (widget-choice-prompt-value, widget-boolean-prompt-value)
25714 (widget-color--choose-action): Mark unused parameters.
25715 (widget-item-match-inline, widget-choice-match-inline)
25716 (widget-checklist-match, widget-checklist-match-inline)
25717 (widget-group-match): Rename parameter VALUES to VALS.
25718 (widget-field-value-set): Remove unused variable `size'.
25719 (widget-color-action): Remove unused variables `value' and `start'.
25721 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25722 variable `dir'. Doc fix.
25723 (windmove-find-other-window): Don't pass it.
25725 * window.el (count-windows): Mark unused parameter.
25726 (bw-adjust-window): Remove unused variable `err'.
25728 * woman.el (woman-file-name): Remove unused variable `default'.
25729 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25730 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25731 (global-font-lock-mode): Declare.
25732 (woman-decode-region): Mark unused parameter.
25733 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25735 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25736 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25737 (x-dnd-handle-moz-url): Remove unused variable `title'.
25738 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25740 * xml.el (xml-parse-tag, xml-parse-attlist):
25741 Remove unused variable `pos'.
25743 2011-04-19 Glenn Morris <rgm@gnu.org>
25745 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25746 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25748 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25749 * calendar/cal-html.el (cal-html-insert-minical):
25750 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25751 (calendar-mark-date-pattern):
25752 Prefix "unused" locals.
25754 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25755 optional argument `style'.
25757 * calendar/appt.el (appt-make-list):
25758 * calendar/cal-china.el (calendar-chinese-date-string):
25759 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25760 (diary-hebrew-yahrzeit):
25761 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25762 * calendar/calendar.el (calendar-generate-window):
25763 * calendar/time-date.el (time-to-days):
25764 Remove unused local variables.
25766 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25768 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25769 glyphless-char-display table.
25770 (tabulated-list-glyphless-char-display): New var.
25772 2011-04-18 Sam Steingold <sds@gnu.org>
25774 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25775 to acknowledgments.
25777 2011-04-17 Glenn Morris <rgm@gnu.org>
25779 * calendar/diary-lib.el (diary-sexp-entry):
25780 * calendar/holidays.el (holiday-sexp):
25781 Set debug-on-error rather than the removed stack-trace-on-error.
25783 2011-04-16 Glenn Morris <rgm@gnu.org>
25785 * progmodes/f90.el: Use lexical-binding.
25786 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25788 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25790 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25791 (mail-mode): Setup mailalias completion here instead.
25792 * mail/mailalias.el: Use lexical-binding.
25793 (pattern, mailalias-done): Declare dynamic.
25794 (mail-completion-at-point-function): New function, from mail-complete.
25795 (mail-complete): Use it.
25796 (mail-completion-expand): New function.
25797 (mail-get-names): Use it.
25798 (mail-directory, mail-directory-process, mail-directory-stream):
25799 Don't use `pattern' for lexically bound arg.
25801 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25803 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25804 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25805 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25807 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25808 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25809 (byte-interactive-p): Define them again, for use when inlining
25812 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25814 * loadup.el: Use `string-to-number', not `string-to-int'.
25816 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25818 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25819 gud-gdb-complete-command.
25820 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25821 (gud-gdb-completion-at-point): New function.
25822 (gud-gdb-completions): Remove.
25824 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25826 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25827 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25828 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25829 whether `executable-find' is bound.
25831 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25833 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25835 * minibuffer.el (completion-in-region-mode-predicate)
25836 (completion-in-region-mode--predicate): New vars.
25837 (completion-in-region, completion-in-region--postch)
25838 (completion-in-region-mode): Use them.
25839 (completion--capf-wrapper): Also return the hook function.
25840 (completion-at-point, completion-help-at-point):
25841 Adjust and provide a predicate.
25843 Preserve arg names for advice of subr and lexical functions (bug#8457).
25844 * help-fns.el (help-function-arglist): Consolidate the subr and
25845 new-byte-code cases. Add argument `preserve-names' to extract names
25846 from the docstring when needed.
25847 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25848 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25849 (ad-arglist): Use help-function-arglist's new arg.
25850 (ad-definition-type): Use cond.
25852 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25854 * autorevert.el (auto-revert-handler):
25855 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25856 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25857 Don't quote lambda.
25859 * image-mode.el (image-transform-set-scale):
25860 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25862 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25864 * net/network-stream.el (network-stream-open-starttls): Only do
25865 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25866 Upgrades via gnutls-cli are too slow to be done opportunistically.
25868 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25870 * dframe.el (dframe-current-frame): Remove spurious quote.
25872 2011-04-12 Glenn Morris <rgm@gnu.org>
25874 * calendar/cal-tex.el (cal-tex-end-document):
25875 Try to automatically use latin1 input if needed.
25877 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25878 Don't try to cons a mark onto an empty element.
25880 2011-04-11 Leo Liu <sdl.web@gmail.com>
25882 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25884 (ido-kill-buffer-at-head): Support killing virtual buffers.
25886 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25888 * minibuffer.el (completion-show-inline-help): New var.
25889 (completion--do-completion, minibuffer-complete)
25890 (minibuffer-force-complete, minibuffer-complete-word):
25891 Inhibit minibuffer messages if completion-show-inline-help is nil.
25893 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25894 to avoid interference from inline help (Bug#5849).
25896 2011-04-10 Leo Liu <sdl.web@gmail.com>
25898 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25901 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25903 * image-mode.el (image-toggle-display-image): Signal an error if
25905 (image-transform-mode, image-transform-resize)
25906 (image-transform-set-rotation): Doc fix.
25907 (image-transform-set-resize): Delete.
25908 (image-transform-set-scale, image-transform-fit-to-height)
25909 (image-transform-fit-to-width): Handle image-toggle-display-image
25910 and image-transform-resize directly.
25912 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25914 * doc-view.el (doc-view-fit-width-to-window)
25915 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25916 New functions for fitting the shown image to the Emacs window size.
25917 (doc-view-mode-map): Add bindings for the new functions.
25919 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25921 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25922 Fix typo in docstring.
25924 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25926 * files.el (file-size-human-readable): Produce one digit after
25927 decimal, like "ls -lh" does.
25929 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25930 the file size representation.
25932 * simple.el (list-processes): If async subprocesses are not
25933 available, error out with a clear error message.
25935 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25937 * help.el (help-form-show): New function, to be called from C.
25938 Put help-form output in a buffer named differently than *Help*.
25940 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25942 * files.el (file-size-human-readable): New function.
25944 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25945 computing the representation inline. Don't require `cl'.
25947 2011-04-08 Glenn Morris <rgm@gnu.org>
25949 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25951 * net/browse-url.el (browse-url-firefox):
25952 Test system-type, not system-configuration.
25954 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25955 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25956 Use log-edit-empty-buffer-p. (Bug#7598)
25958 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25959 (rlogin-mode-map): Initialize in the defvar.
25960 (rlogin): Use ignore-errors.
25962 * replace.el (occur-mode-map): Some fixes for menu items.
25964 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25966 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25968 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25970 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25971 issuing unused warnings.
25973 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25976 * simple.el: Lisp reimplement of list-processes. Based on an
25977 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25978 (process-menu-mode): New major mode.
25979 (list-processes--refresh, list-processes):
25980 (process-menu-visit-buffer): New functions.
25982 * files.el (save-buffers-kill-emacs): Don't assume any return
25983 value of list-processes, which is undocumented anyway.
25985 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25987 * emacs-lisp/tabulated-list.el: New file.
25989 * emacs-lisp/package.el: Use Tabulated List mode.
25990 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25991 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25992 table format using Tabulated List mode variables.
25993 (package--push): New macro, replacing package-list-maybe-add.
25994 (package-menu--generate): Use package--push. Renamed from
25995 package--generate-package-list.
25996 (package-menu-refresh, list-packages): Use it.
25997 (package-menu--print-info): Rename from package-print-package.
25998 Return insertion data instead of inserting it directly.
25999 (package-menu-describe-package, package-menu-execute):
26000 Use tabulated-list-get-id.
26001 (package-menu-mark-delete, package-menu-mark-install)
26002 (package-menu-mark-unmark, package-menu-backup-unmark)
26003 (package-menu-mark-obsolete-for-deletion):
26004 Use tabulated-list-put-tag.
26005 (package--list-packages, package-menu-revert)
26006 (package-menu-get-package, package-menu-get-version)
26007 (package-menu-sort-by-column): Functions deleted.
26008 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26009 (package-menu--status-predicate, package-menu--version-predicate)
26010 (package-menu--name-predicate)
26011 (package-menu--description-predicate): Handle arguments in the
26012 Tabulated List format.
26013 (package-list-packages-no-fetch): Call list-packages.
26015 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26017 * files.el (after-find-file-from-revert-buffer): Remove variable.
26018 (after-find-file): Don't bind it.
26019 (revert-buffer-in-progress-p): New variable.
26020 (revert-buffer): Bind it.
26021 Pass nil for `after-find-file-from-revert-buffer'.
26023 * saveplace.el (save-place-find-file-hook): Use new variable
26024 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26026 2011-04-06 Glenn Morris <rgm@gnu.org>
26028 * Makefile.in (AUTOGEN_VCS): New variable.
26029 (autoloads): Use $AUTOGEN_VCS.
26031 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26032 * calendar/calendar.el (calendar-mode-map):
26033 Check for toolkit scroll bars. (Bug#8305)
26035 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26037 * minibuffer.el (completion-in-region--postch)
26038 (completion-in-region-mode): Remove unnecessary messages.
26040 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26042 * font-lock.el (font-lock-refresh-defaults):
26043 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26044 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26046 * info.el (Info-directory-list, Info-read-node-name-2)
26047 (Info-split-parameter-string): Doc fixes.
26048 (Info-virtual-nodes): Reflow docstring.
26049 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26050 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26051 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26052 Fix typos in docstrings.
26053 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26054 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26055 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26056 (Info-restore-desktop-buffer): Mark unused parameters.
26057 (Info-directory-find-file, Info-directory-find-node)
26058 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26059 (Info-virtual-index-find-node, Info-apropos-find-file)
26060 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26061 Mark unused parameters; fix typos in docstrings.
26062 (Info-virtual-index): Remove unused local variable `nodename'.
26064 2011-04-05 Deniz Dogan <deniz@dogan.se>
26066 * net/rcirc.el: Update my e-mail address.
26067 (rcirc-mode-map): Remove M-o binding.
26069 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26071 * startup.el (command-line): Save the cursor's theme-face
26072 directly, instead of using face-override-spec.
26074 * custom.el (load-theme): Minor optimization in assigning faces.
26076 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26078 * help-fns.el (describe-variable): Complete all variables having
26079 documentation, including keywords.
26080 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26082 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26084 Convert to lexical-binding.
26086 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26087 (bs--get-marked-string, bs--get-modified-string)
26088 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26089 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26090 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26092 * ehelp.el (electric-help-execute-extended)
26093 (electric-help-ctrl-x-prefix):
26094 * hexl.el (hexl-revert-buffer-function):
26095 * linum.el (linum-after-change, linum-after-scroll):
26096 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26098 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26100 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26107 * epg.el: Use lexical binding.
26109 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26111 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26113 * textmodes/flyspell.el (flyspell-word): Recognize default
26114 dictionary case for flyspell-mark-duplications-exceptions.
26115 Use regexp matching for languages.
26116 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26117 default dictionary (Bug#7926).
26119 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26121 * emacs-lisp/package.el (package--with-work-buffer):
26122 Recognize https URLs.
26124 * net/network-stream.el: Move from gnus/proto-stream.el.
26125 Change prefix to network-stream throughout.
26126 (open-protocol-stream): Merge into open-network-stream, leaving
26127 open-protocol-stream as an alias. Handle nil BUFFER args.
26129 * subr.el (open-network-stream): Move to net/network-stream.el.
26131 2011-04-02 Glenn Morris <rgm@gnu.org>
26133 * find-dired.el (find-exec-terminator): New option.
26134 (find-ls-option): Test for -ls support.
26135 (find-ls-subdir-switches): Test for -b in find-ls-option.
26136 (find-dired, find-grep-dired): Doc fixes.
26137 (find-dired): Use find-exec-terminator.
26139 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26140 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26141 (find-name-arg): Remove purecopy.
26143 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26144 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26145 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26146 accordingly. Don't add the null-device if not needed.
26148 * files.el (save-some-buffers): Doc fix.
26150 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26152 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26154 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26156 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26157 Use `dolist' rather than `mapcar'.
26159 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26161 Add lexical binding.
26163 * subr.el (apply-partially): Use new closures rather than CL.
26164 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26165 (dolist, dotimes): Use slightly different expansion for lexical code.
26166 (functionp): Move to C.
26167 (letrec): New macro.
26168 (with-wrapper-hook): Use it and apply-partially instead of CL.
26169 (eval-after-load): Preserve lexical-binding.
26170 (save-window-excursion, with-output-to-temp-buffer): Turn them
26173 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26175 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26177 (help-add-fundoc-usage): Don't add `Not documented'.
26178 (help-function-arglist): Handle closures, subroutines, and new
26179 byte-code-functions.
26180 (help-make-usage): Remove leading underscores.
26181 (describe-function-1): Handle closures.
26182 (describe-variable): Use special-variable-p for completion.
26184 * files.el (lexical-binding): Declare safe.
26186 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26187 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26188 (pcase): Add `let' pattern.
26189 Change memoization so it actually works.
26190 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26191 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26194 * emacs-lisp/macroexp.el: Use lexical binding.
26195 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26196 Don't convert ' to #' without checking that it's indeed quoting
26199 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26200 Use eval-sexp-add-defvars.
26201 (eval-sexp-add-defvars): New fun.
26203 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26205 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26207 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26208 than the internal `byte-compile-lambda'.
26209 (defmethod): Don't hide code under quotes.
26210 (eieio-defmethod): New `code' argument.
26212 * emacs-lisp/eieio-comp.el: Remove.
26214 * emacs-lisp/edebug.el (edebug-eval-defun)
26215 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26216 (edebug-toggle): Avoid `eval'.
26218 * emacs-lisp/disass.el (disassemble-internal): Handle new
26220 (disassemble-1): Handle new byte codes.
26222 * emacs-lisp/cl.el (pushnew): Silence warning.
26224 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26225 (cl-byte-compile-throw): Remove.
26226 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26228 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26231 * emacs-lisp/cconv.el: New file.
26233 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26234 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26235 (byte-compile-initial-macro-environment):
26236 Handle declare-function here.
26237 (byte-compile--lexical-environment): New var.
26238 (byte-stack-ref, byte-stack-set, byte-discardN)
26239 (byte-discardN-preserve-tos): New lap codes.
26240 (byte-interactive-p): Don't use any more.
26241 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26243 (byte-compile-lapcode): Use them and handle new lap codes.
26244 (byte-compile-obsolete): Remove.
26245 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26246 (byte-compile-arglist-warn): Check late def of inlinable funs.
26247 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26248 since they should have been expanded by now.
26249 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26250 (byte-compile-from-buffer): Remove unused second arg.
26251 (byte-compile-preprocess): New function.
26252 (byte-compile-toplevel-file-form): New function to distinguish
26253 file-form calls from outside from file-form calls from hunk-handlers.
26254 (byte-compile-file-form): Simplify.
26255 (byte-compile-file-form-defsubst): Remove.
26256 (byte-compile-file-form-defmumble): Simplify now that
26257 byte-compile-lambda always returns a byte-code-function.
26258 (byte-compile): Preprocess.
26259 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26260 Remove, not used any more.
26261 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26262 (byte-compile-make-args-desc): New funs.
26263 (byte-compile-lambda): Handle lexical functions. Always return
26264 a byte-code-function.
26265 (byte-compile-reserved-constants): New var, to make up room for
26266 closed-over variables.
26267 (byte-compile-constants-vector): Obey it.
26268 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26269 (byte-compile-macroexpand-declare-function): New function.
26270 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26271 byte-code-functions.
26272 (byte-compile-form): Check obsolescence here.
26273 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26274 (byte-compile-variable-ref): Remove.
26275 (byte-compile-dynamic-variable-op): New fun.
26276 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26277 (byte-compile-variable-set): New funs.
26278 (byte-compile-discard): Add 2 args.
26279 (byte-compile-stack-ref, byte-compile-stack-set)
26280 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26281 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26282 macroexpand-all instead.
26283 (byte-compile-quote-form): Remove.
26284 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26285 (byte-compile-bind, byte-compile-unbind): New funs.
26286 (byte-compile-let): Handle let* and lexical binding.
26287 (byte-compile-let*): Remove.
26288 (byte-compile-catch, byte-compile-unwind-protect)
26289 (byte-compile-track-mouse, byte-compile-condition-case):
26290 Handle a new :fun-body form, used for lexical scoping.
26291 (byte-compile-save-window-excursion)
26292 (byte-compile-with-output-to-temp-buffer): Remove.
26293 (byte-compile-defun): Simplify.
26294 (byte-compile-stack-adjustment): New fun.
26295 (byte-compile-out): Use it.
26296 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26298 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26301 * emacs-lisp/byte-opt.el: Use lexical binding.
26302 (byte-inline-lapcode): Remove (to bytecomp).
26303 (byte-compile-inline-expand): Pay attention to inlining to/from
26304 lexically bound code.
26305 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26307 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26308 any more and don't call compiler-macros.
26309 (byte-compile-splice-in-already-compiled-code): Remove.
26310 (byte-code): Don't inline any more.
26311 (disassemble-offset): Receive `bytes' as argument rather than via
26313 (byte-compile-tag-number): Declare before first use.
26314 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26315 `return' even if make-spliceable.
26316 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26317 obsolete interactive-p.
26318 (byte-optimize-lapcode): Optimize new lap-codes.
26319 Don't trip up on new form of `byte-constant' lap code.
26321 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26323 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26325 * custom.el (custom-initialize-default, custom-declare-variable):
26328 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26330 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26331 (COMPILE_FIRST): Add macroexp and cconv.
26332 * makefile.w32-in: Mirror changes in Makefile.in.
26334 * vc/cvs-status.el:
26338 * vc/smerge-mode.el:
26339 * textmodes/bibtex-style.el:
26340 * textmodes/css-mode.el:
26348 * emacs-lisp/smie.el:
26351 * abbrev.el: Use lexical binding.
26353 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26355 * info.el (info-display-manual): New function.
26357 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26359 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26361 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26363 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26364 an entry for that server in rcirc-authinfo. (Bug#8385)
26366 2011-03-31 Glenn Morris <rgm@gnu.org>
26368 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26370 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26372 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26374 * progmodes/python.el (python-default-interpreter)
26375 (python-python-command-args, python-jython-command-args)
26376 (python-which-shell, python-which-args, python-which-bufname)
26377 (python-file-queue, python-comint-output-filter-function)
26378 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26379 variables and functions.
26381 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26383 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26384 (completion-in-region-mode): New minor mode.
26385 (completion-in-region): Use it.
26386 (completion-in-region--data, completion-in-region-mode-map): New vars.
26387 (completion-in-region--postch): New function.
26388 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26390 (completion--capf-wrapper): New function.
26391 (completion-at-point): Use it to track well-behavedness of
26393 (completion-help-at-point): New command.
26395 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26397 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26398 syntax class to search for whitespace on a single line
26399 (Message-ID: <4D938140.4030905@redhat.com>).
26401 2011-03-30 Leo Liu <sdl.web@gmail.com>
26403 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26405 (edit-abbrevs-map): Bind them here.
26406 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26408 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26410 * allout.el (allout-hide-by-annotation, allout-flag-region):
26411 Reduce possibility of overlay leakage by making them volatile.
26413 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26414 hash is not shared between buffers. Mode initialization is
26415 responsible for giving it a useful starting value.
26416 (allout-item-span): Reduce possibility of overlay leakage by
26417 making them volatile.
26418 (allout-widgets-count-buttons-in-region): Add diagnostic function
26419 for tracking down button overlay leaks.
26421 2011-03-29 Leo Liu <sdl.web@gmail.com>
26423 * ido.el (ido-read-internal): Use the default history var
26424 minibuffer-history if no HISTORY is specified.
26426 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26428 * net/imap.el (imap-shell-open, imap-process-connection-type):
26429 Use imap-process-connection-type for 'shell' streams as well as
26430 Kerberos, SSL, other subprocesses.
26432 2011-03-28 Leo Liu <sdl.web@gmail.com>
26434 * abbrev.el (abbrev-table-empty-p): New function.
26435 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26436 nonempty ones. (Bug#5937)
26438 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26440 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26442 2011-03-27 Leo Liu <sdl.web@gmail.com>
26444 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26445 for foreground and background colors.
26446 (ansi-color-make-color-map): Adapt.
26448 2011-03-25 Leo Liu <sdl.web@gmail.com>
26450 * midnight.el (midnight-time-float): Remove. Note it calculates
26451 the microsecond component incorrectly and seconds-to-time does the
26453 Remove redundant (require 'timer).
26455 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26456 (ido-completions): Remove unused arguments. (Bug#8329)
26458 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26460 * minibuffer.el (completion--flush-all-sorted-completions):
26461 Remove itself from hook.
26462 (completion-at-point): Let the functions perform the completion
26463 immediately and return nil or t.
26464 * comint.el (comint-dynamic-complete-functions): Now identical to
26465 completion-at-point-functions.
26466 (comint-dynamic-list-input-ring): Remove unused var `index'.
26467 (comint--match-partial-filename, comint--unquote&expand-filename):
26468 New funs, split from comint-match-partial-filename.
26469 (comint-dynamic-complete): Use completion-at-point.
26470 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26472 2011-03-24 Drew Adams <drew.adams@oracle.com>
26474 * thingatpt.el: Support `defun'.
26476 2011-03-23 Leo Liu <sdl.web@gmail.com>
26478 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26480 * help-mode.el (help-mode-finish): Tweak regexp.
26482 2011-03-23 Glenn Morris <rgm@gnu.org>
26484 * eshell/esh-opt.el (eshell-eval-using-options):
26485 Do not bind unused local variable `eshell-option-stub'.
26487 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26489 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26491 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26492 keymap variable in `with-no-warnings' to avoid a warning when the
26493 keymap has been already `defconst'ed.
26495 2011-03-22 Leo Liu <sdl.web@gmail.com>
26497 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26498 encode all chars in abbrevs; otherwise use emacs-mule or
26499 utf-8-emacs. (Bug#8308)
26501 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26503 * simple.el (backward-delete-char-untabify):
26504 Avoid warning about using `delete-backward-char'.
26506 * image.el (image-type-file-name-regexps): Make it variable.
26507 `imagemagick-register-types' modifies it, and the user may want
26508 to add new extensions for known image types.
26509 (imagemagick-register-types): Throw error if not using ImageMagick.
26511 2011-03-22 Leo Liu <sdl.web@gmail.com>
26513 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26514 located before rcirc-prompt-end-marker.
26515 (rcirc-complete): Error if point is not after rcirc prompt.
26516 Handle the case when table is nil.
26517 (rcirc-user-authenticated): Define to fix compiler warning.
26519 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26521 * custom.el (custom--inhibit-theme-enable): Make it affect only
26522 custom-theme-set-variables and custom-theme-set-faces.
26523 (provide-theme): Ignore custom--inhibit-theme-enable.
26524 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26525 (custom-enabling-themes): Delete variable.
26526 (enable-theme): Accept only loaded themes as arguments.
26527 Ignore the special custom-enabled-themes variable.
26528 (custom-enabled-themes): Forbid themes from setting this.
26529 Eliminate use of custom-enabling-themes.
26530 (custom-push-theme): Quote "changed" custom var entry.
26532 2011-03-21 Leo Liu <sdl.web@gmail.com>
26534 * ido.el (ido-read-internal): Add ido-selected to history instead
26537 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26539 * subr.el (deferred-action-list, deferred-action-function):
26542 2011-03-21 Leo Liu <sdl.web@gmail.com>
26544 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26545 change on 2011-02-13 (bug#8309).
26547 * minibuffer.el (read-file-name-function): Change default value.
26548 (read-file-name--defaults): Rename from read-file-name-defaults.
26549 (read-file-name-default): Rename from read-file-name.
26550 (read-file-name): Call read-file-name-function.
26552 2011-03-21 Glenn Morris <rgm@gnu.org>
26554 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26557 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26559 * cus-theme.el: Add missing provide statement.
26560 (customize-create-theme): Extract theme value correctly.
26561 (custom-theme-visit-theme): Autoload.
26562 (customize-create-theme): Prompt before inserting default faces.
26564 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26566 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26567 units and musical notes.
26569 2011-03-20 Leo Liu <sdl.web@gmail.com>
26571 * ido.el (ido-read-internal): Use completing-read-default.
26572 (ido-completing-read): Fix compatibility with completing-read.
26574 2011-03-20 Christian Ohler <ohler@gnu.org>
26576 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26577 (ert-delete-all-tests): Use `called-interactively-p' rather than
26579 (ert--make-xrefs-region): Respect END.
26581 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26583 * dired-aux.el (dired-create-directory): Signal an error if the
26584 directory already exists (Bug#8246).
26586 * facemenu.el (list-colors-display): Call list-faces-display
26587 inside with-help-window.
26588 (list-colors-print): Use display property to align the final
26589 column, instead of checking window-width.
26591 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26593 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26594 windows-nt systems.
26595 (emerge-protect-metachars): Quote correctly for ms-dos and
26596 windows-nt systems.
26598 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26600 * info.el (info-initialize): Replace all uses of `:' with
26601 path-separator for compatibility with non-Unix systems.
26602 Cache quoting of path-separator. (Bug#8258)
26604 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26606 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26607 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26608 (mouse-avoidance-mode): Fix typos in docstrings.
26610 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26612 * startup.el (package-subdirectory-regexp): Move from package.el.
26613 Omit \\` and \\', and let callers add them.
26615 * emacs-lisp/package.el (package-strip-version)
26616 (package-load-all-descriptors): Add \\` and \\' to
26617 package-subdirectory-regexp before using it.
26618 (package-untar-buffer): New arg DIR; ensure that file untars only
26619 into this expected directory. Remove superfluous delete-region.
26620 (package-unpack): Caller changed.
26621 (package-tar-file-info): Use package-subdirectory-regexp.
26623 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26625 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26626 diff-mode-shared-map (bug#8284).
26627 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26629 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26631 * calendar/time-date.el (format-seconds): Use assoc instead of
26632 assoc-string, since assoc-string doesn't exist in XEmacs.
26634 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26636 * custom.el (custom-known-themes): Reflow docstring.
26637 (custom-theme-load-path): Fix typo in docstring.
26638 (load-theme): Fix typo in error message.
26639 (custom-available-themes, custom-variable-theme-value):
26640 Use `let', not `let*'.
26642 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26644 * calc/README: Mention inclusion of musical notes.
26646 * calc/calc-units.el (calc-lu-quant): Rename from
26647 `calc-logunits-quantity'.
26648 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26649 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26650 (calc-db): Rename from `calc-dblevel'.
26651 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26652 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26653 (calc-np): Rename from `calc-nplevel'.
26654 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26655 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26656 (calc-lu-plus): Rename from `calc-logunits-add'.
26657 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26658 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26659 (calc-lu-minus): Rename from `calc-logunits-sub'.
26660 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26661 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26662 (calc-lu-times): Rename from `calc-logunits-mul'.
26663 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26664 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26665 (calc-lu-divide): Rename from `calc-logunits-div'.
26666 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26667 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26669 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26670 functions being autoloaded.
26672 * calc/calc.el (calc-lu-power-reference): Rename from
26673 `calc-logunits-power-reference'.
26674 (calc-lu-field-reference): Rename from
26675 `calc-logunits-field-reference'.
26677 * calc/calc-help.el (calc-l-prefix-help):
26678 Mention musical note functions.
26680 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26682 * minibuffer.el (completion-all-sorted-completions):
26683 Use :completion-cycle-penalty text property if present.
26685 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26687 * allout.el (allout-yank-processing): Adjust for new rebulleting
26688 regime so bullet being yanked is used without prompting the user
26691 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26693 * startup.el (command-line): Warn the user that _emacs is deprecated.
26695 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26697 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26698 (delphi-verbose, delphi-comment-face, delphi-string-face)
26699 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26700 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26701 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26702 (delphi-new-comment-line, delphi-font-lock-defaults)
26703 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26704 Fix typos in docstrings.
26706 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26708 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26709 Invert the roles of character and string values for INSTEAD, so a
26710 string is used for the more common case of a defaulting prompt.
26712 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26714 * progmodes/ruby-mode.el (ruby-backward-sexp):
26715 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26716 * play/gamegrid.el (gamegrid-make-face):
26717 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26718 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26719 * notifications.el (notifications-notify):
26720 * net/xesam.el (xesam-search-engines):
26721 * net/quickurl.el (quickurl-list-insert):
26722 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26724 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26726 * startup.el (command-line): Update package subdirectory regexp.
26728 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26730 * allout.el (allout-abbreviate-flattened-numbering)
26731 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26733 * subr.el (read-char-choice): Only show the cursor after the prompt,
26734 not after the answer.
26736 2011-03-15 Kevin Ryde <user42@zip.com.au>
26738 * help-fns.el (variable-at-point): Skip leading quotes, if any
26741 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26743 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26746 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26748 * shell.el (shell): When called interactively, offer to change the
26749 shell file name on remote hosts.
26751 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26753 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26754 integration for LDAP parameters. The host, base, user or binddn,
26755 and secret tokens can be specified in a netrc file, for instance.
26756 This is optional because an `auth-source' parameter must be
26757 specified in the search attributes.
26759 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26761 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26763 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26765 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26766 into declaration. Remove redundant and harmful binding.
26768 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26770 * files.el (file-ownership-preserved-p): Pass `integer' as an
26771 explicit 2nd argument to `file-attributes'. If the file's owner
26772 is the Administrators group on Windows, and the current user is
26773 Administrator, consider that a match.
26775 * server.el (server-ensure-safe-dir): Consider server directory
26776 safe on MS-Windows if its owner is the Administrators group while
26777 the current Emacs user is Administrator. Use `=' to compare
26778 numerical UIDs, since they could be integers or floats.
26780 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26782 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26784 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26786 Sync with Tramp 2.2.1.
26788 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26790 * net/trampver.el: Update release number.
26792 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26794 * progmodes/compile.el (compilation--previous-directory): Fix up
26795 various nil/dead-marker mismatches (bug#8014).
26796 (compilation-directory-properties, compilation-error-properties):
26797 Don't call it at a position past the one we're about to change.
26799 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26800 Disable obsolescence warnings in the file that declares it.
26802 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26804 * allout-widgets.el (allout-widgets-tally):
26805 Initialize allout-widgets-tally as a hash table rather than nil to
26806 prevent mode-line redisplay warnings. Also, clarify the module
26807 description and fix a comment typo.
26809 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26811 * help-fns.el (describe-variable): Don't complete keywords.
26812 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26814 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26816 * emacs-lisp/package.el (package-version-join): Impose a standard
26817 string representation for pre/alpha/beta version lists.
26818 (package-unpack-single): Standardize the directory name by passing
26819 it through package-version-join.
26820 (package-strip-rcs-id): Accept any version string that does not
26821 signal an error in version-to-list.
26823 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26825 * simple.el (delete-trailing-whitespace): Return nil for the
26826 benefit of `write-file-functions'.
26828 2011-03-10 Glenn Morris <rgm@gnu.org>
26830 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26832 * vc/vc-git.el (vc-git-program): New option.
26833 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26834 (vc-git--call): Use it.
26836 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26838 * cus-edit.el (Custom-newline): If no button at point, look
26839 for a subgroup button at start-of-line. (Bug#2298)
26841 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26843 2011-03-10 Julien Danjou <julien@danjou.info>
26845 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26846 `cursor-type' is nil.
26848 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26850 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26852 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26854 * allout.el: Change so yank of distinctive-bullet items
26855 preserves the existing header prefix, rebulleting it if necessary,
26856 rather than replacing it. This is necessary for proper operation
26857 of cooperative addons like allout-widgets.
26858 (allout-make-topic-prefix, allout-rebullet-heading):
26859 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26860 value as alternate bullet to be used, instead of prompting the user
26861 for a bullet character.
26863 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26865 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26866 Do not use `tramp-file-name-port', because this returns also
26867 `tramp-default-port'.
26869 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26871 * net/rcirc.el (rcirc-handler-001): Remove useless
26872 with-rcirc-process-buffer.
26873 (rcirc-check-auth-status): Swap arguments to string-match.
26875 2011-03-09 Glenn Morris <rgm@gnu.org>
26877 * shell.el (shell-mode):
26878 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26880 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26881 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26883 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26885 * emacs-lisp/package.el (package-refresh-contents)
26886 (package-menu-execute): Use condition-case-no-debug.
26888 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26890 * simple.el (shell-command-to-string): Use `process-file'.
26892 * emacs-lisp/package.el (package-tar-file-info): Handle also
26895 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26896 Use `equal' for upload base check.
26898 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26900 * textmodes/texinfo.el (texinfo-environments):
26901 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26903 2011-03-08 Glenn Morris <rgm@gnu.org>
26905 * cus-start.el (cursor-in-non-selected-windows):
26906 Fix :set quoting oddness. (Bug#8192)
26908 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26909 in some setf expressions. (Bug#2159)
26911 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26913 * custom.el (custom-available-themes): Return themes in
26914 alphabetical order.
26916 See ChangeLog.15 for earlier changes.
26918 ;; Local Variables:
26922 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26924 This file is part of GNU Emacs.
26926 GNU Emacs is free software: you can redistribute it and/or modify
26927 it under the terms of the GNU General Public License as published by
26928 the Free Software Foundation, either version 3 of the License, or
26929 (at your option) any later version.
26931 GNU Emacs is distributed in the hope that it will be useful,
26932 but WITHOUT ANY WARRANTY; without even the implied warranty of
26933 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26934 GNU General Public License for more details.
26936 You should have received a copy of the GNU General Public License
26937 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.