1 2013-05-11 Glenn Morris <rgm@gnu.org>
3 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6 2013-05-11 Leo Liu <sdl.web@gmail.com>
8 * progmodes/octave.el (octave-indent-comment): Improve.
9 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10 (octave-eldoc-function-signatures, octave-eldoc-function): New
12 (octave-mode, inferior-octave-mode): Add eldoc support.
14 2013-05-11 Richard Stallman <rms@gnu.org>
16 * epa.el (epa-decrypt-file): Take output file name as argument
17 and read it using `interactive'.
19 2013-05-11 Leo Liu <sdl.web@gmail.com>
21 * progmodes/octave.el (octave-beginning-of-line)
22 (octave-end-of-line): Check before using up-list because it jumps
23 out of more syntactic contructs since moving to smie.
24 (octave-indent-comment): New function.
25 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
26 (octave-begin-keywords, octave-end-keywords)
27 (octave-reserved-words, octave-smie-bnf-table)
28 (octave-smie-rules): Add new keywords from Octave 3.6.4.
30 2013-05-11 Glenn Morris <rgm@gnu.org>
32 * faces.el (internal-face-x-get-resource):
33 * frame.el (ns-display-monitor-attributes-list):
34 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
36 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
38 * calc/calc-menu.el: Make it loadable in isolation.
40 * net/eudcb-bbdb.el: Make it loadable without bbdb.
41 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
42 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
43 (eudc-bbdb-query-internal): Require 'bbdb.
45 * lpr.el (lpr-headers-switches):
46 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
48 * progmodes/sql.el (sql-login-params): Fix and improve :type.
50 * emulation/edt-mapper.el: In batch mode, error rather than hang.
52 * term.el (term-set-escape-char): Make it idempotent.
54 2013-05-10 Leo Liu <sdl.web@gmail.com>
56 * progmodes/octave.el (inferior-octave-completion-table): No
57 longer a function and all uses changed. Use cache to speed up
58 completion due to bug#11906.
59 (octave-beginning-of-defun): Re-write to be more general.
61 2013-05-10 Glenn Morris <rgm@gnu.org>
63 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
65 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
67 * comint.el (comint-redirect-send-command-to-process): Use :around
68 rather than :override for comint-redirect-filter.
69 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
70 Call it instead of comint-redirect-original-filter-function (which
71 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
73 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
75 * frame.el (display-monitor-attributes-list): Add NS case.
76 (ns-display-monitor-attributes-list): Declare.
78 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
80 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
82 2013-05-09 Glenn Morris <rgm@gnu.org>
84 * international/fontset.el (vertical-centering-font-regexp):
87 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
89 * bookmark.el (bookmark-search-delay):
90 * cus-start.el (vertical-centering-font-regexp):
91 * ps-mule.el (ps-mule-font-info-database-default):
92 * ps-print.el (ps-default-fg, ps-default-bg):
93 * type-break.el (type-break-good-break-interval):
94 * whitespace.el (whitespace-indentation-regexp)
95 (whitespace-space-after-tab-regexp):
96 * emacs-lisp/testcover.el (testcover-1value-functions)
97 (testcover-noreturn-functions, testcover-progn-functions)
98 (testcover-prog1-functions):
99 * emulation/viper-init.el (viper-emacs-state-cursor-color):
100 * eshell/em-glob.el (eshell-glob-translate-alist):
101 * play/tetris.el (tetris-tty-colors):
102 * progmodes/cpp.el (cpp-face-default-list):
103 * progmodes/flymake.el (flymake-allowed-file-name-masks):
104 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
105 (idlwave-help-browser-generic-args):
106 * progmodes/make-mode.el (makefile-special-targets-list):
107 * progmodes/python.el (python-shell-virtualenv-path):
108 * progmodes/verilog-mode.el (verilog-active-low-regexp)
109 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
110 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
111 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
112 * textmodes/reftex-vars.el (reftex-format-label-function):
113 * textmodes/remember.el (remember-diary-file): Fix custom types.
115 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
118 2013-05-09 Leo Liu <sdl.web@gmail.com>
120 * progmodes/octave.el (inferior-octave-completion-at-point):
121 Restore file completion. (Bug#14300)
122 (inferior-octave-startup): Fix incorrect highlighting for the
125 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
127 * progmodes/ruby-mode.el: First cut at SMIE support.
128 (ruby-use-smie): New var.
129 (ruby-smie-grammar): New constant.
130 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
131 (ruby-smie--forward-token, ruby-smie--backward-token)
132 (ruby-smie-rules): New functions.
133 (ruby-mode-variables): Setup SMIE if applicable.
135 2013-05-08 Eli Zaretskii <eliz@gnu.org>
137 * simple.el (line-move-visual): Signal beginning/end of buffer
138 only if vertical-motion moved less than it was requested. Avoids
139 silly incorrect error messages when there are display strings with
140 multiple newlines at EOL.
142 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
144 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
145 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
146 (prolog-char-quote-workaround):
147 * progmodes/cperl-mode.el (cperl-under-as-char):
148 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
150 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
152 (vhdl-mode-syntax-table-init): Remove.
154 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
156 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
158 (ld-script-font-lock-keywords):
159 Change regexps to use things like \_< and \_>.
161 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
162 Change all regexps to use things like \_< and \_>.
164 * progmodes/autoconf.el (autoconf-definition-regexp)
165 (autoconf-font-lock-keywords, autoconf-current-defun-function):
166 Handle a _ with symbol syntax.
167 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
169 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
170 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
172 (ada-create-syntax-table): Remove.
173 (ada-capitalize-word): Don't mess with the syntax of "_" since it
174 already has the right syntax nowadays.
175 (ada-goto-next-word): Don't change the syntax of "_".
177 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
180 2013-05-08 Sam Steingold <sds@gnu.org>
182 * thingatpt.el (thing-at-point): Accept optional second argument
183 NO-PROPERTIES to strip the text properties from the return value.
184 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
185 to `thing-at-point' instead of stripping the properties ourselves.
186 Also, when `thing-at-point' fails to find a url, prepend "http://"
187 to the filename at point on the assumption that the user is
188 pointing at something like gnu.org/gnu.
190 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
192 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
193 * faces.el (crm-separator):
194 Silence byte-compiler.
196 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
197 (tool-bar-map): Remove unneeded defvars.
199 2013-05-08 Leo Liu <sdl.web@gmail.com>
201 Re-work a fix for bug#10994 based on Le Wang's patch.
202 * ido.el (ido-remove-consecutive-dups): New helper.
203 (ido-completing-read): Use it.
204 (ido-chop): Revert fix for bug#10994.
206 2013-05-08 Adam Spiers <emacs@adamspiers.org>
208 * cus-edit.el (custom-save-variables):
209 Pretty-print long values. (Bug#14187)
211 2013-05-08 Glenn Morris <rgm@gnu.org>
213 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
214 (m4-mode-syntax-table): Init in the defvar.
215 (m4-mode-abbrev-table): Let define-derived-mode define it.
217 2013-05-08 Tom Tromey <tromey@redhat.com>
219 * progmodes/m4-mode.el (m4-mode-syntax-table):
220 Do not treat "_" as word constituent. (Bug#14167)
222 2013-05-07 Glenn Morris <rgm@gnu.org>
224 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
225 Remove explicit eshell-isearch-cancel-map.
227 * progmodes/f90.el (f90-smart-end-names): New option.
228 (f90-smart-end): Doc fix.
229 (f90-end-block-optional-name): New constant.
230 (f90-block-match): Respect f90-smart-end-names.
232 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
234 * progmodes/octave.el (octave-smie-forward-token): Be more careful
235 about implicit semi-colons (bug#14218).
237 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
239 * frame.el (display-monitor-attributes-list)
240 (frame-monitor-attributes): New functions.
242 2013-05-06 Leo Liu <sdl.web@gmail.com>
244 * progmodes/octave.el (octave-syntax-propertize-function): Change
245 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
246 (octave-font-lock-keywords): Use octave-operator-regexp.
247 (octave-completion-at-point): Renamed from
248 octave-completion-at-point-function.
249 (inferior-octave-directory-tracker): Robustify.
250 (octave-text-functions): Remove and fix its uses. No such things
253 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
255 * emacs-lisp/trace.el (trace--display-buffer): New function.
256 (trace-make-advice): Use it.
258 2013-05-06 Juri Linkov <juri@jurta.org>
260 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
261 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
263 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
264 in the help string. (Bug#12985)
266 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
268 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
270 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
272 * progmodes/perl-mode.el: Add support for here documents.
273 (perl-syntax-propertize-function): Match here-doc markers.
274 (perl-syntax-propertize-special-constructs): Find their end.
275 (perl-imenu-generic-expression): Use [:alnum:].
277 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
278 (advice--add-function): Refresh the advice if already present
281 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
283 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
285 2013-05-06 Glenn Morris <rgm@gnu.org>
287 * w32-fns.el (w32-charset-info-alist): Declare.
289 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
290 of its defcustom properties.
291 (eshell-cmpl-initialize): No need to load pcomplete.
293 * generic-x.el: No need to require comint when compiling.
295 * net/eudc-export.el: Make it loadable without bbdb.
296 (top-level): Use require rather than load-library.
297 (eudc-create-bbdb-record, eudc-bbdbify-phone)
298 (eudc-batch-export-records-to-bbdb)
299 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
302 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
304 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
305 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
306 some tweaks, instead.
308 2013-05-05 Leo Liu <sdl.web@gmail.com>
310 * progmodes/octave.el (octave-font-lock-keywords)
311 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
312 (inferior-octave-send-list-and-digest): Improve error message.
313 (octave-mode, inferior-octave-mode): Use setq-local.
314 (octave-help): Set info-lookup-mode.
316 2013-05-05 Richard Stallman <rms@gnu.org>
318 * vc/compare-w.el (compare-windows-whitespace):
319 Treat no-break space as whitespace.
321 * mail/rmailsum.el (rmail-summary-rmail-update):
322 Detect empty summary and don't change selected message.
323 (rmail-summary-goto-msg): Likewise.
325 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
326 Doc fixes, rename args.
328 2013-05-05 Alan Mackenzie <acm@muc.de>
330 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
332 2013-05-05 Juri Linkov <juri@jurta.org>
334 * info.el (Info-read-subfile): Use (point-min) instead of (point)
335 to not add the length of the summary segment to the return value.
338 2013-05-05 Leo Liu <sdl.web@gmail.com>
340 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
341 (inferior-octave-output-filter): Remove.
342 (octave-send-region, inferior-octave-startup): Fix callers.
343 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
344 (octave-binary-file-extensions): New user variable.
345 (octave-find-definition): Confirm if opening binary files.
346 (octave-help-file): Use octave-find-definition to get the binary
348 (octave-help): Adjust for octave-help-file change.
350 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
352 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
353 Merge the two entries that handle function definitions.
354 (pascal--syntax-propertize): New const.
355 (pascal-mode): Use it. Use setq-local.
357 2013-05-04 Glenn Morris <rgm@gnu.org>
359 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
360 (diary-from-outlook): Respect diary-from-outlook-function.
362 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
364 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
365 Move the declaration from C.
366 (read-minibuffer, eval-minibuffer): Move from C.
367 (completion-setup-function): Avoid minibuffer-completion-contents.
369 2013-05-03 Leo Liu <sdl.web@gmail.com>
371 * progmodes/octave.el (octave-font-lock-keywords): Do not
372 dehighlight 'end' in comments or strings.
373 (octave-completing-read, octave-goto-function-definition):
375 (octave-help-buffer): New user variable.
376 (octave-help-file, octave-help-function): New button types.
377 (octave-help): New command and bind it to C-h ;.
378 (octave-find-definition): New command and bind it to M-.
379 (user-error): Alias to error if not defined.
381 2013-05-02 Leo Liu <sdl.web@gmail.com>
383 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
385 (octave-font-lock-keywords): Include [ and {.
387 2013-05-02 Leo Liu <sdl.web@gmail.com>
389 * progmodes/octave.el (inferior-octave-startup-file): Change default.
390 (inferior-octave): Remove calling comint-mode and return the buffer.
391 (inferior-octave-startup): Cosmetic changes.
393 2013-05-02 Leo Liu <sdl.web@gmail.com>
395 * progmodes/octave.el (octave-syntax-propertize-function):
396 Include the case when ' is at line beginning. (Bug#14336)
398 2013-05-02 Glenn Morris <rgm@gnu.org>
400 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
401 * desktop.el (vc-dir-mode): Just autoload it here.
403 2013-05-02 Alan Mackenzie <acm@muc.de>
405 Eliminate variable c-standard-font-lock-fontify-region-function.
406 * progmodes/cc-mode.el
407 (c-standard-font-lock-fontify-region-function): Remove.
408 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
410 2013-05-01 Leo Liu <sdl.web@gmail.com>
412 * progmodes/octave.el: Compatible with older emacs-24 releases.
413 (inferior-octave-has-built-in-variables): Remove. Built-in
414 variables were removed from Octave in 2007.
415 (inferior-octave-startup): Fix uses.
416 (comint-line-beginning-position): Remove compatibility code for
419 2013-05-01 Juri Linkov <juri@jurta.org>
421 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
423 2013-05-01 Juri Linkov <juri@jurta.org>
425 * comint.el (comint-previous-matching-input): Don't print message
426 "History item: %d" when `isearch-mode' is active.
427 (comint-history-isearch-message): Print message "History item: %d"
428 when `comint-input-ring-index' is not empty and this function is
429 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
431 2013-05-01 Leo Liu <sdl.web@gmail.com>
433 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
434 definitions. Use completion-at-point to insert keywords.
435 (octave-abbrev-start): Remove.
436 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
438 2013-04-30 Leo Liu <sdl.web@gmail.com>
440 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
443 2013-04-30 Alan Mackenzie <acm@muc.de>
445 Handle arbitrarily long C++ member initialisation lists.
446 * progmodes/cc-engine.el (c-back-over-member-initializers):
448 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
449 (most) member init lists.
451 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
453 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
456 2013-04-30 Leo Liu <sdl.web@gmail.com>
458 * progmodes/octave.el (octave-variables): Remove. No builtin
459 variables any more. All converted to functions.
460 (octave-font-lock-keywords, octave-completion-at-point-function):
462 (octave-font-lock-texinfo-comment): New user variable.
463 (octave-texinfo-font-lock-keywords): New variable for texinfo
465 (octave-function-comment-block): New face.
466 (octave-font-lock-texinfo-comment): New function.
467 (octave-mode): Font lock texinfo comment block.
469 2013-04-29 Leo Liu <sdl.web@gmail.com>
471 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
473 (octave-continuation-string): Do not use \.
474 (inferior-octave-complete-impossible): Remove.
475 (inferior-octave-completion-table)
476 (inferior-octave-completion-at-point): Remove its uses.
477 (inferior-octave-startup): completion_matches was introduced to
478 Octave in 1996 so safe to assume it.
479 (octave-function-file-comment): Improve to follow how Octave does it.
480 (octave-update-function-file-comment): Tweak.
482 2013-04-29 Leo Liu <sdl.web@gmail.com>
484 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
485 (inferior-octave-startup): Remove inferior-octave-startup-hook.
486 (octave-function-file-comment): Fix typo.
487 (octave-sync-function-file-names): Use read-char-choice.
489 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
491 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
492 to t for the less important warnings.
494 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
496 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
498 2013-04-27 Glenn Morris <rgm@gnu.org>
500 * vc/log-view.el (log-view-current-entry):
501 Treat "---" separator lines as part of the following rev. (Bug#14169)
503 2013-04-27 Juri Linkov <juri@jurta.org>
505 * subr.el (read-number): Doc fix about using it by interactive
506 code letter `n'. (Bug#14254)
508 2013-04-27 Juri Linkov <juri@jurta.org>
510 * desktop.el (desktop-auto-save-timeout): New option.
511 (desktop-file-checksum): New variable.
512 (desktop-save): Add optional arg `auto-save' and don't auto-save
514 (desktop-auto-save-timer): New variable.
515 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
516 (after-init-hook): Call `desktop-auto-save-set-timer'.
517 Suggested by Reuben Thomas <rrt@sc3d.org> in
518 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
520 2013-04-27 Leo Liu <sdl.web@gmail.com>
522 * progmodes/octave.el (octave-function-file-p)
523 (octave-skip-comment-forward, octave-function-file-comment)
524 (octave-update-function-file-comment): New functions.
525 (octave-mode-map): Bind C-c ; to
526 octave-update-function-file-comment.
527 (octave-mode-menu): Add octave-update-function-file-comment.
528 (octave-mode, inferior-octave-mode): Fix doc-string.
529 (octave-insert-defun): Conform to Octave's coding convention.
532 * files.el (basic-save-buffer): Don't let errors in
533 before-save-hook prevent saving buffer.
535 2013-04-20 Roland Winkler <winkler@gnu.org>
537 * faces.el (read-face-name): Use completing-read if arg multiple
540 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
542 * ls-lisp.el (ls-lisp-insert-directory): If no files are
543 displayed, move point to after the totals line.
544 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
547 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
549 * emacs-lisp/package.el (package-autoload-ensure-default-file):
550 Add current dir to the load-path.
551 (package-generate-autoloads): Don't rely on
552 autoload-ensure-default-file.
554 2013-04-26 Reuben Thomas <rrt@sc3d.org>
556 * textmodes/remember.el (remember-store-in-files): Document that
557 the file name format is passed to `format-time-string'.
559 2013-04-26 Leo Liu <sdl.web@gmail.com>
561 * progmodes/octave.el (octave-sync-function-file-names): New function.
562 (octave-mode): Use it in before-save-hook.
564 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
566 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
569 * progmodes/octave.el (octave-smie-forward-token): Properly skip
570 \n and comment, even if it's not an implicit ; (bug#14218).
572 2013-04-26 Glenn Morris <rgm@gnu.org>
574 * subr.el (read-number): Once more use `read' rather than
575 `string-to-number', to trap non-numeric input. (Bug#14254)
577 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
579 * emacs-lisp/syntax.el (syntax-propertize-multiline):
580 Use `syntax-multiline' text property consistently instead of
581 `font-lock-multiline'. (bug#14237).
583 2013-04-26 Glenn Morris <rgm@gnu.org>
585 * emacs-lisp/shadow.el (list-load-path-shadows):
586 No longer necessary to check for duplicate simple.el, since
587 2012-07-07 change to init_lread to not include installation lisp
588 directories in load-path when running uninstalled. (Bug#14270)
590 2013-04-26 Leo Liu <sdl.web@gmail.com>
592 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
593 (octave-mode, inferior-octave-mode): Use setq-local.
594 (octave-not-in-string-or-comment-p): Rename to
595 octave-in-string-or-comment-p.
596 (octave-in-comment-p, octave-in-string-p)
597 (octave-in-string-or-comment-p): Replace defsubst with defun.
599 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
601 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
603 2013-04-25 Bastien Guerry <bzg@gnu.org>
605 * textmodes/remember.el (remember-data-directory)
606 (remember-directory-file-name-format): Fix custom types.
608 2013-04-25 Leo Liu <sdl.web@gmail.com>
610 * progmodes/octave.el (octave-completion-at-point-function):
611 Make use of inferior octave process.
612 (octave-initialize-completions): Remove.
613 (inferior-octave-completion-table): New function.
614 (inferior-octave-completion-at-point): Use it.
615 (octave-completion-alist): Remove.
617 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
619 * progmodes/opascal.el: Use font-lock and syntax-propertize.
620 (opascal-mode-syntax-table): New var.
621 (opascal-literal-kind, opascal-is-literal-end)
622 (opascal-literal-token-at): Rewrite.
623 (opascal--literal-start-re, opascal-font-lock-keywords)
624 (opascal--syntax-propertize): New constants.
625 (opascal-font-lock-defaults): Adjust.
626 (opascal-mode): Use them. Set comment-<foo> variables as well.
627 (delphi-comment-face, opascal-comment-face, delphi-string-face)
628 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
629 (delphi-other-face, opascal-other-face): Remove face variables.
630 (opascal-save-state): Remove macro.
631 (opascal-fontifying-progress-step): Remove constant.
632 (opascal--ignore-changes): Remove var.
633 (opascal-set-token-property, opascal-parse-next-literal)
634 (opascal-is-stable-literal, opascal-complete-literal)
635 (opascal-is-literal-start, opascal-face-of)
636 (opascal-parse-region, opascal-parse-region-until-stable)
637 (opascal-fontify-region, opascal-after-change)
638 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
639 (opascal-debug-parse-region, opascal-debug-parse-window)
640 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
641 (opascal-debug-fontify-buffer): Remove.
642 (opascal-debug-mode-map): Adjust accordingly.
644 2013-04-25 Leo Liu <sdl.web@gmail.com>
646 Merge octave-mod.el and octave-inf.el into octave.el with some
648 * progmodes/octave.el: New file renamed from octave-mod.el.
649 * progmodes/octave-inf.el: Merged into octave.el.
650 * progmodes/octave-mod.el: Renamed to octave.el.
652 2013-04-25 Tassilo Horn <tsdh@gnu.org>
654 * textmodes/reftex-vars.el
655 (reftex-label-ignored-macros-and-environments): New defcustom.
657 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
659 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
661 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
662 (smie-indent-keyword): Improve the check to ensure that the next
663 comment is really on the same line.
664 (smie-indent-comment): Don't align with a subsequent closer (or eob).
666 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
667 semi-colons if the line is not otherwise empty (bug#14218).
669 2013-04-25 Glenn Morris <rgm@gnu.org>
671 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
673 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
675 * progmodes/opascal.el (opascal-set-token-property): Rename from
676 opascal-set-text-properties and only set `token' (bug#14134).
677 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
678 (opascal-literal-text-properties): Remove.
679 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
682 2013-04-24 Reuben Thomas <rrt@sc3d.org>
684 * textmodes/remember.el (remember-handler-functions): Add an
685 option for a new handler `remember-store-in-files'.
686 (remember-data-directory, remember-directory-file-name-format):
688 (remember-store-in-files): New function to store remember notes
689 as separate files within a directory.
691 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
693 * progmodes/compile.el (compilation-next-error-function):
694 Pass "formats" to compilation-find-file (bug#11777).
696 2013-04-24 Glenn Morris <rgm@gnu.org>
698 * vc/vc-bzr.el (vc-bzr-print-log):
699 * vc/vc-hg.el (vc-hg-print-log):
700 * vc/vc-svn.el (vc-svn-print-log):
701 Fix START-REVISION with LIMIT != 1. (Bug#14168)
703 * vc/vc-bzr.el (vc-bzr-print-log):
704 * vc/vc-cvs.el (vc-cvs-print-log):
705 * vc/vc-git.el (vc-git-print-log):
706 * vc/vc-hg.el (vc-hg-print-log):
707 * vc/vc-mtn.el (vc-mtn-print-log):
708 * vc/vc-rcs.el (vc-rcs-print-log):
709 * vc/vc-sccs.el (vc-sccs-print-log):
710 * vc/vc-svn.el (vc-svn-print-log):
711 * vc/vc.el (vc-print-log-internal): Doc fixes.
713 2013-04-23 Glenn Morris <rgm@gnu.org>
715 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
716 Remove venerable code attempting to avoid substitute-command-keys.
718 2013-04-23 Tassilo Horn <tsdh@gnu.org>
720 * textmodes/reftex-vars.el (reftex-label-regexps):
721 Call `reftex-compile-variables' after changes to this variable.
723 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
725 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
727 (jit-lock-force-redisplay): Use markers, check buffer's continued
728 existence and beware narrowed buffers.
729 (jit-lock-fontify-now): Adjust call accordingly.
731 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
733 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
734 to avoid misleading the user.
736 2013-04-22 Leo Liu <sdl.web@gmail.com>
738 * info-look.el: Prefer latex2e.info. (Bug#14240)
740 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
742 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
744 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
745 * net/tramp.el (tramp-call-process): ... here
746 (tramp-set-completion-function, tramp-parse-putty):
747 * net/tramp-adb.el (tramp-adb-execute-adb-command):
748 * net/tramp-gvfs.el (tramp-gvfs-send-command):
749 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
750 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
751 (tramp-call-local-coding-command): Use `tramp-call-process'
752 instead of `tramp-compat-call-process'.
754 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
755 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
756 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
757 (tramp-find-inline-compress):Improve traces.
758 (tramp-maybe-send-script): Check for Perl binary.
759 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
761 2013-04-22 Daiki Ueno <ueno@gnu.org>
763 * epg.el (epg-context-pinentry-mode): New function.
764 (epg-context-set-pinentry-mode): New function.
765 (epg--start): Pass --pinentry-mode option to gpg command.
767 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
769 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
770 `comint-dynamic-complete' is obsolete since 24.1, replaced by
771 `completion-at-point'. (Bug#13774)
773 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
774 default key binding for `describe-distribution' has been moved to
775 `C-h C-o'. (Bug#13970)
777 2013-04-21 Glenn Morris <rgm@gnu.org>
779 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
781 (vc-print-log): Clarify interactive prompt.
783 2013-04-20 Glenn Morris <rgm@gnu.org>
785 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
786 No longer include timestamp etc information.
788 2013-04-20 Roland Winkler <winkler@gnu.org>
790 * faces.el (read-face-name): Bug fix, return just one face if arg
791 multiple is nil. (Bug#14209)
793 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
795 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
796 (remove-function): Autoload.
798 * comint.el (comint-redirect-original-filter-function): Remove.
799 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
800 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
801 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
802 * progmodes/prolog.el (prolog-consult-compile):
803 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
804 Use add/remove-function instead.
805 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
806 (gud-tooltip-process-output, gud-tooltip-tips):
807 Use add/remove-function instead.
808 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
809 (scheme-interaction-mode, exit-scheme-interaction-mode):
810 Use add/remove-function instead.
812 * vc/vc-dispatcher.el: Use lexical-binding.
813 (vc--process-sentinel): Rename from vc-process-sentinel.
814 Change last arg to be the code to run. Don't use vc-previous-sentinel
815 and vc-sentinel-commands any more.
816 (vc-exec-after): Allow code to be a function. Use add/remove-function.
817 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
819 2013-04-19 Masatake YAMATO <yamato@redhat.com>
821 * progmodes/sh-script.el (sh-imenu-generic-expression):
822 Handle function names with a single character. (Bug#14111)
824 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
826 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
827 for subroutines defined in an eval (bug#14182).
829 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
831 * bookmark.el (bookmark-completing-read): Improve handling of empty
834 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
836 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
838 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
840 New faster Imenu implementation (bug#14058).
841 * progmodes/python.el:
842 (python-imenu-prev-index-position):
843 (python-imenu-format-item-label-function)
844 (python-imenu-format-parent-item-label-function)
845 (python-imenu-format-parent-item-jump-label-function):
847 (python-imenu-format-item-label)
848 (python-imenu-format-parent-item-label)
849 (python-imenu-format-parent-item-jump-label)
850 (python-imenu--put-parent, python-imenu--build-tree)
851 (python-imenu-create-index, python-imenu-create-flat-index)
852 (python-util-popn): New functions.
853 (python-mode): Set imenu-create-index-function to
854 python-imenu-create-index.
856 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
858 * winner.el (winner-active-region): Use region-active-p, activate-mark
859 and deactivate-mark (bug#14225).
861 * simple.el (deactivate-mark): Don't inline it.
863 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
865 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
867 2013-04-18 Tassilo Horn <tsdh@gnu.org>
869 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
870 file extensions from the archive-mode entry in order to prefer
871 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
873 2013-04-18 Leo Liu <sdl.web@gmail.com>
875 * bindings.el (help-event-list): Add ?\?.
877 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
879 * subr.el (with-wrapper-hook): Declare obsolete.
880 * simple.el (filter-buffer-substring-function): New hook.
881 (filter-buffer-substring): Use it.
882 (filter-buffer-substring-functions): Mark obsolete.
883 * minibuffer.el (completion-in-region-function): New hook.
884 (completion-in-region): Use it.
885 (completion-in-region-functions): Mark obsolete.
886 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
887 * abbrev.el (abbrev-expand-function): New hook.
888 (expand-abbrev): Use it.
889 (abbrev-expand-functions): Mark obsolete.
890 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
893 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
895 * progmodes/python.el (python-nav--syntactically): Fix cornercases
896 and do not care about match data.
898 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
900 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
901 completion tables when completing error conditions and
903 (lisp-complete-symbol, field-complete): Mark as obsolete.
904 (check-parens): Unmatched parens are user errors.
905 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
907 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
909 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
910 command changed buffer (ie. `flyspell-pre-buffer' is not current
911 buffer), which prevents making decisions based on invalid value of
912 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
913 cause an error when `flyspell-pre-point' was nil after switching
915 (flyspell-post-command-hook): No longer needs to change buffers when
916 checking pre-word. While at it remove unnecessary progn.
918 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
920 * textmodes/ispell.el (ispell-add-per-file-word-list):
921 Fix `flyspell-correct-word-before-point' error when accepting
922 words and `coment-padding' is an integer by using
923 `comment-normalize-vars' (Bug #14214).
925 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
927 New defun movement commands.
928 * progmodes/python.el (python-nav--syntactically)
929 (python-nav--forward-defun, python-nav-backward-defun)
930 (python-nav-forward-defun): New functions.
932 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
934 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
935 (python-syntax-context): Use named compiler-macro for backwards
936 compatibility with Emacs 24.x.
938 2013-04-17 Leo Liu <sdl.web@gmail.com>
940 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
941 octave-hide-process-buffer.
943 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
945 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
948 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
950 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
951 Fix adjustment of offset when receiving incomplete responses from GDB
954 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
956 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
957 python-mode-abbrev-table.
958 (python-skeleton-define): Adjust accordingly.
959 (python-mode-abbrev-table): New table that inherits from it so that
960 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
962 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
963 (abbrev-symbol): Use it.
964 (abbrev--before-point): Use it since we already handle inheritance.
966 2013-04-16 Leo Liu <sdl.web@gmail.com>
968 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
969 binding to info-lookup-symbol.
971 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
973 * minibuffer.el (completion--twq-all):
974 * term/ns-win.el (ns-initialize-window-system):
975 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
977 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
979 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
982 * doc-view.el (doc-view-start-process): Handle url-handler directories.
984 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
986 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
987 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
989 (ruby-end-of-defun): Remove the unused arg, change the docstring
990 to reflect that this function is only used as the value of
991 `end-of-defun-function'.
992 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
993 to reflect an earlier change that beginning/end-of-defun functions
994 jump between methods in a class definition, as well as top-level
997 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
999 * minibuffer.el (minibuffer-complete): Don't just scroll
1000 a *Completions* that's been iconified.
1001 (minibuffer-force-complete): Make sure repetitions do cycle when going
1002 through completion-in-region -> minibuffer-complete.
1004 2013-04-15 Alan Mackenzie <acm@muc.de>
1006 Correct the placement of c-cpp-delimiters when there're #s not at
1009 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1010 place a submatch around the #.
1011 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1012 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1015 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1018 (advice--member-p): New arg `name'.
1019 (advice--add-function, advice-member-p): Use it (bug#14202).
1021 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1023 Reformulate java imenu-generic-expression.
1024 The old expression contained ill formed regexps.
1026 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1027 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1028 (cc-imenu-java-method-arg-regexp): New defconsts.
1029 (cc-imenu-java-build-type-args-regex): New defun.
1030 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1031 handling of spaces in the regexp.
1033 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1035 * textmodes/ispell.el (ispell-command-loop): Remove
1036 flyspell highlight of a word when ispell accepts it (bug #14178).
1038 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1040 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1041 uses code from the previous `ange-ftp-run-real-handler'.
1042 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1043 only in case that function exist. This is needed for proper
1046 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1048 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1050 * textmodes/reftex.el (reftex-compile-variables): Use it.
1052 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1054 * files.el (normal-mode): Only use default major-mode if no other mode
1057 * emacs-lisp/trace.el (trace-values): New function.
1059 * files.el: Allow : in local variables (bug#14089).
1060 (hack-local-variable-regexp): New var.
1061 (hack-local-variables-prop-line, hack-local-variables): Use it.
1063 2013-04-13 Roland Winkler <winkler@gnu.org>
1065 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1066 data before it gets modified by bibtex-beginning-of-entry.
1068 2013-04-13 Roland Winkler <winkler@gnu.org>
1070 * textmodes/bibtex.el (bibtex-url): Doc fix.
1072 2013-04-13 Roland Winkler <winkler@gnu.org>
1074 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1075 does not visit a BibTeX file, exclude it from the list of buffers
1076 returned by bibtex-initialize.
1078 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1080 * window.el (split-window): Remove interactive form, since as a
1081 command this function is a special case of split-window-below.
1084 2013-04-12 Roland Winkler <winkler@gnu.org>
1086 * faces.el (read-face-name): Do not override value of arg default.
1087 Allow single faces and strings as default values. Remove those
1088 elements from return value that are not faces.
1089 (describe-face): Simplify.
1090 (face-at-point): New optional args thing and multiple so that this
1091 function can provide the same functionality previously provided by
1093 (make-face-bold, make-face-unbold, make-face-italic)
1094 (make-face-unitalic, make-face-bold-italic, invert-face)
1095 (modify-face, read-face-and-attribute): Use face-at-point.
1097 * cus-edit.el (customize-face, customize-face-other-window)
1098 * cus-theme.el (custom-theme-add-face)
1099 * face-remap.el (buffer-face-set)
1100 * facemenu.el (facemenu-set-face): Use face-at-point.
1102 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1104 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1106 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1108 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1109 off leading { and trailing } from field values.
1111 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1113 * emacs-lisp/timer.el (timer--check): New function.
1114 (timer--time, timer-set-function, timer-event-handler): Use it.
1115 (timer-set-idle-time): Simplify.
1116 (timer--activate): CSE.
1117 (timer-event-handler): Give more info in error message.
1118 (internal-timer-start-idle): New function, moved from C.
1120 * mpc.el (mpc-proc): Add `restart' argument.
1121 (mpc-proc-cmd): Use it.
1122 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1123 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1126 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1128 * progmodes/sh-script.el: Implement `sh-mode' own
1129 `add-log-current-defun-function' (bug#14112).
1130 (sh-current-defun-name): New function.
1131 (sh-mode): Use the function.
1133 2013-04-09 Bastien Guerry <bzg@gnu.org>
1135 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1137 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1139 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1141 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1144 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1146 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1149 2013-04-07 Leo Liu <sdl.web@gmail.com>
1151 * pcmpl-x.el: New file.
1153 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1155 Do not set x-display-name until X connection is established.
1156 This is needed to prevent from weird situation described at
1157 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1158 * frame.el (make-frame): Set x-display-name after call to
1159 window system initialization function, not before.
1160 * term/x-win.el (x-initialize-window-system): Add optional
1161 display argument and use it.
1162 * term/w32-win.el (w32-initialize-window-system):
1163 * term/ns-win.el (ns-initialize-window-system):
1164 * term/pc-win.el (msdos-initialize-window-system):
1165 Add compatible optional display argument.
1167 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1169 * files.el (normal-backup-enable-predicate): On MS-Windows and
1170 MS-DOS compare truenames of temporary-file-directory and of the
1171 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1172 don't fail comparison by compare-strings. Also, compare file
1173 names case-insensitively on MS-Windows and MS-DOS.
1175 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1178 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1180 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1182 * whitespace.el (whitespace-color-on, whitespace-color-off):
1183 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1185 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1187 * ispell.el (ispell-set-spellchecker-params):
1188 Really set `ispell-args' for all equivs.
1190 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1192 * ido.el (ido-completions): Use extra elements of ido-decorations
1194 (ido-decorations): Update docstring.
1196 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1198 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1199 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1200 nil during initialization, in order not to miss changes since the
1201 file was opened. (Bug#14140)
1203 2013-04-05 Leo Liu <sdl.web@gmail.com>
1205 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1207 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1209 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1211 2013-04-04 Glenn Morris <rgm@gnu.org>
1213 * electric.el (electric-pair-inhibit-predicate): Add :version.
1215 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1218 when a package is required several times (bug#14082).
1220 2013-04-04 Roland Winkler <winkler@gnu.org>
1222 * faces.el (read-face-name): Behave as promised by the docstring.
1223 Assume that arg default is a list of faces.
1224 (describe-face): Call read-face-name with list of default faces.
1226 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1228 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1229 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1230 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1232 (bookmark-exit-hook-internal): Save even if list is empty.
1234 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1236 * emacs-lisp/package.el (package-pinned-packages): New var.
1237 (package--add-to-archive-contents): Obey it (bug#14118).
1239 2013-04-03 Alan Mackenzie <acm@muc.de>
1241 Handle `parse-partial-sexp' landing inside a comment opener
1242 (Bug#13244). Also adapt to the new values of element 7 of a parse
1245 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1246 parameter `not-in-delimiter'. Handle being inside comment opener.
1247 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1248 character in case we're typing a '*' after a '/'.
1249 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1250 instead by passing the parameter to c-state-pp-to-literal.
1252 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1253 for elt. 7 of a parse state.
1255 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1257 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1258 * international/latin1-disp.el, international/mule-util.el:
1259 * language/cyril-util.el, language/european.el, language/ind-util.el:
1260 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1261 * language/tibetan.el, language/viet-util.el:
1262 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1264 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1267 (electric-pair-post-self-insert-function): Use it.
1268 (electric-pair-default-inhibit): New function, extracted from
1269 electric-pair-post-self-insert-function.
1271 2013-03-31 Roland Winkler <winkler@gnu.org>
1273 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1275 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1279 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1281 Un-indent after "pass" and "return" statements (Bug#13888)
1282 * progmodes/python.el (python-indent-block-enders): New var.
1283 (python-indent-calculate-indentation): Use it.
1285 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1287 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1288 defun. Defining it as defalias could introduce too eager
1289 byte-compiler optimization. (Bug#14030)
1291 2013-03-30 Chong Yidong <cyd@gnu.org>
1293 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1295 2013-03-30 Leo Liu <sdl.web@gmail.com>
1297 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1298 (kmacro-execute-from-register): Pass the keyboard macro to
1299 kmacro-call-macro or repeating won't work correctly.
1301 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1303 * progmodes/subword.el: Back to using `forward-symbol'.
1305 * subr.el (forward-whitespace, forward-symbol)
1306 (forward-same-syntax): Move from thingatpt.el.
1308 2013-03-29 Leo Liu <sdl.web@gmail.com>
1310 * kmacro.el (kmacro-to-register): New command.
1311 (kmacro-execute-from-register): New function.
1312 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1314 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * mpc.el: Use defvar-local and setq-local.
1317 (mpc--proc-connect): Connection failures are not bugs.
1318 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1319 (mpc-volume-map): Bind to the up-events.
1321 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1323 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1324 instead of `forward-symbol'.
1326 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1329 (edebug--recursive-edit): Use it.
1330 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1331 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1333 2013-03-28 Leo Liu <sdl.web@gmail.com>
1335 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1337 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1339 * facemenu.el (list-colors-callback): New defvar.
1340 (list-colors-redisplay): New function.
1341 (list-colors-display): Install list-colors-redisplay as the
1342 revert-buffer-function. (Bug#14063)
1344 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1347 and suffixes don't overlap (bug#14061).
1349 * case-table.el: Use lexical-binding.
1350 (case-table-get-table): New function.
1351 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1353 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1355 * progmodes/subword.el: Add `superword-mode' to do word motion
1356 over symbol_words (parallels and leverages `subword-mode' which
1357 does word motion inside MixedCaseWords).
1359 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1361 * eshell/em-unix.el: Move su and sudo to...
1362 * eshell/em-tramp.el: ...Eshell tramp module.
1364 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1367 Change return value to be a sexp. Delay `get-buffer' to after
1368 restoring the desktop (bug#13951).
1370 2013-03-26 Leo Liu <sdl.web@gmail.com>
1372 * register.el: Move semantic tag handling back to
1373 cedet/semantic/senator.el. (Bug#14052)
1375 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1377 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1378 into the prompt either (bug#13963).
1380 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1383 part of "(error-foo)".
1385 2013-03-24 Juri Linkov <juri@jurta.org>
1387 * replace.el (list-matching-lines-prefix-face): New defcustom.
1388 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1389 `occur-engine' if `face-differs-from-default-p' returns t.
1390 (occur-engine): Add `,' inside backquote construct to evaluate
1391 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1392 Pass `prefix-face' to the functions `occur-context-lines' and
1393 `occur-engine-add-prefix'.
1394 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1395 `prefix-face' and propertize the prefix with `prefix-face'.
1398 2013-03-24 Leo Liu <sdl.web@gmail.com>
1400 * nxml/rng-valid.el (rng-validate-while-idle)
1401 (rng-validate-quick-while-idle): Guard against deleted buffer.
1404 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1405 is the last entry in kill-buffer-hook.
1407 * files.el (kill-buffer-hook): Doc fix.
1409 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1411 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1414 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1416 2013-03-23 Leo Liu <sdl.web@gmail.com>
1418 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1421 * nxml/rng-valid.el (rng-validate-mode)
1422 (rng-after-change-function, rng-do-some-validation):
1423 * nxml/rng-maint.el (rng-validate-buffer):
1424 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1425 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1426 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1427 (nxml-extend-after-change-region): Use with-silent-modifications.
1429 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1432 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1433 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1434 timer-idle-list. (Bug#13999)
1436 2013-03-23 Juri Linkov <juri@jurta.org>
1438 * info.el (info-index-match): New face.
1439 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1440 main pattern and add text properties with the new face to matches
1441 in index entries relative to the beginning of the index entry.
1444 2013-03-21 Eric Ludlam <zappo@gnu.org>
1446 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1447 Inhibit read only while inserting objects.
1449 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1451 * progmodes/cfengine.el: Update docs to mention
1452 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1453 symbol motion. Remove "_" from the word syntax.
1455 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1457 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1458 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1460 2013-03-20 Juri Linkov <juri@jurta.org>
1462 * info.el (Info-next-reference-or-link)
1463 (Info-prev-reference-or-link): New functions.
1464 (Info-next-reference, Info-prev-reference): Use them.
1465 (Info-try-follow-nearest-node): Handle footnote navigation.
1466 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1468 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1471 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1473 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1475 Suppress unnecessary non-ASCII chatter during build process.
1476 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1477 (batch-skkdic-convert): Suppress most of the chatter.
1478 It's not needed so much now that machines are faster,
1479 and its non-ASCII component was confusing; see Dmitry Gutov in
1480 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1482 2013-03-20 Leo Liu <sdl.web@gmail.com>
1484 * ido.el (ido-chop): Fix bug#10994.
1486 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1488 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1490 (whitespace-color-on, whitespace-color-off):
1491 Use `font-lock-fontify-buffer' (Bug#13817).
1493 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1496 remapping in mode-line.
1497 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1499 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1501 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1502 value for `whitespace-line' face (Bug#13875).
1503 (whitespace-font-lock-keywords): Change description.
1504 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1505 the constructed keywords instead.
1506 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1508 2013-03-19 Leo Liu <sdl.web@gmail.com>
1510 * progmodes/compile.el (compilation-display-error): New command.
1511 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1514 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1516 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1518 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1520 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1522 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1524 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1526 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1527 * net/tramp-gvfs.el (top):
1528 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1529 (tramp-handle-shell-command): Use it.
1530 (tramp-dissect-file-name): Raise an error when hostname is a
1531 method name, and neither method nor user is specified.
1533 * net/trampver.el: Update release number.
1535 2013-03-18 Leo Liu <sdl.web@gmail.com>
1537 Make sure eldoc can be turned off properly.
1538 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1540 (eldoc-display-message-p): Revert last change.
1541 (eldoc-display-message-no-interference-p)
1542 (eldoc-print-current-symbol-info): Tweak.
1544 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1546 * doc-view.el (doc-view-new-window-function): Check the new window
1547 overlay's display property instead the char property of the
1548 buffer's first char. Use `with-selected-window' instead of
1549 `save-window-excursion' with `select-window'.
1550 (doc-view-document->bitmap): Check the current doc-view overlay's
1551 display property instead the char property of the buffer's first char.
1553 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1555 Automate the build of ja-dic.el (Bug#13984).
1556 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1557 from the input, rather than assume that it's been done for us by the
1558 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1559 the current date into a ja-dic.el comment, as that complicates
1562 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1564 * whitespace.el: Fix double evaluation.
1565 (whitespace-space, whitespace-hspace, whitespace-tab)
1566 (whitespace-newline, whitespace-trailing, whitespace-line)
1567 (whitespace-space-before-tab, whitespace-indentation)
1568 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1570 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1571 (whitespace-color-on): Use a single font-lock-add-keywords call.
1572 Fix double-evaluation of face variables.
1574 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1576 * net/tramp-adb.el (tramp-adb-parse-device-names):
1577 Use `start-process' instead of `call-process'. Otherwise, the
1578 function might be blocked under MS Windows. (Bug#13299)
1580 2013-03-17 Leo Liu <sdl.web@gmail.com>
1582 Extend eldoc to display info in the mode-line. (Bug#13978)
1583 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1584 (eldoc-mode-line-string): New variable.
1585 (eldoc-minibuffer-message): New function.
1586 (eldoc-message-function): New variable.
1587 (eldoc-message): Use it.
1588 (eldoc-display-message-p)
1589 (eldoc-display-message-no-interference-p):
1590 Support eldoc-post-insert-mode.
1592 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1593 (eval-expression): Run it.
1595 2013-03-17 Roland Winkler <winkler@gnu.org>
1597 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1598 strings in the list of return values.
1600 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1602 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1603 radix before checking for HMS forms.
1605 2013-03-16 Leo Liu <sdl.web@gmail.com>
1607 * progmodes/scheme.el: Add indentation and font-locking for λ.
1610 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1613 token before point (bug#13942).
1615 2013-03-16 Leo Liu <sdl.web@gmail.com>
1617 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1619 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1621 * startup.el (command-line-normalize-file-name): Fix handling of
1622 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1623 <xfq.free@gmail.com> in
1624 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1626 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1628 Sync with Tramp 2.2.7.
1630 * net/trampver.el: Update release number.
1632 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1634 * doc-view.el Fix bug#13887.
1635 (doc-view-insert-image): Don't modify overlay associated to
1636 non-live windows, and implement horizontal centering of image in
1637 case it's smaller than the window.
1638 (doc-view-new-window-function): Force redisplay of new windows on
1641 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1643 * saveplace.el (save-place-alist-to-file): Don't sort
1644 `save-place-alist', just pretty-print it (bug#13882).
1646 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1648 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1649 whether `default-file-name-coding-system' is bound. It isn't in
1652 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1654 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1655 backquotes for `obsolete' (bug#13929).
1657 * international/mule.el (find-auto-coding): Include file name in
1658 obsolescence warning (bug#13922).
1660 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1662 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1663 for CFEngine 3-specific indentation.
1664 (cfengine3-indent-line): Use it. Fix up category regex.
1665 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1667 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * type-break.el (type-break-file-name):
1670 * textmodes/remember.el (remember-data-file):
1671 * strokes.el (strokes-file):
1672 * shadowfile.el (shadow-initialize):
1673 * saveplace.el (save-place-file):
1674 * ps-bdf.el (bdf-cache-file):
1675 * progmodes/idlwave.el (idlwave-config-directory):
1676 * net/quickurl.el (quickurl-url-file):
1677 * international/kkc.el (kkc-init-file-name):
1678 * ido.el (ido-save-directory-list-file):
1679 * emulation/viper.el (viper-custom-file-name):
1680 * emulation/vip.el (vip-startup-file):
1681 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1682 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1684 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1686 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1687 * language/thai-word.el: Switch to UTF-8.
1689 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1693 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1695 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1696 Use with-current-buffer and don't move point.
1697 (net-utils-run-simple): Remove useless code.
1698 (net-utils-remove-ctl-m): Remove unused custom.
1700 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1702 * international/characters.el (glyphless-set-char-table-range): New fun.
1703 (update-glyphless-char-display): Use it (bug#13744).
1705 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1707 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1708 namespaces in the syntax, indent closer for hanging brace
1709 correctly, allow single-quote delimited 'strings', and make
1710 `cfengine3-mode' the default.
1712 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1714 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1715 Use lexical-binding. Fix up docstring according to conventions.
1716 (gdbmi-debug-mode): New var.
1717 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1718 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1719 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1720 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1721 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1722 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1723 (gdbmi-bnf-incomplete-record-result): New functions.
1724 (gdb-car<): Remove function.
1725 (gdbmi-record-list): Remove variable.
1726 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1727 (gdbmi-bnf-result-state-configs): New const.
1728 (gud-gdbmi-marker-filter): Rewrite.
1729 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1730 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1731 Add `token' argument.
1732 (gdb-done, gdb-error): New functions.
1733 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1735 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1737 * term/xterm.el (xterm--report-background-handler): Don't burp
1739 (xterm--version-handler): Extract from terminal-init-xterm.
1740 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1741 Allow multiple handlers.
1742 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1744 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1745 (xterm--report-background-handler, xterm--query): New functions.
1746 (terminal-init-xterm): Use them.
1748 2013-03-11 Michael R. Mauger <michael@mauger.com>
1750 * progmodes/sql.el Version 3.2
1751 Please note that my address changed to <michael@mauger.com>;
1752 the <mmaug@yahoo.com> address remains active.
1753 (sql-connection-alist): Updates documentation to fix bug#13715.
1754 (sql-connect): Handle missing `sql-connection-alist' correctly.
1755 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1756 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1758 (sql-default-value): New function.
1759 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1760 values were not used.
1761 (sql-rename-buffer): Make sure alternate buffer name has no text
1763 (sql-input-sender, sql-execute-feature): Fetch variable with
1764 `buffer-local-value' rather than `with-current-buffer'.
1765 (sql-*): Use #' function syntax consistently.
1766 (sql-*): Use message/error/user-error consistently.
1768 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * xt-mouse.el (xterm-mouse-event-read): Remove.
1771 (xterm-mouse--read-event-sequence-1000)
1772 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1774 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1776 * term/xterm.el (xterm-function-map): Support format used with
1777 formatOtherKeys=1 (bug#13839).
1779 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1780 (with-no-warnings): Use `declare'.
1782 * whitespace.el (whitespace-enable-predicate): New variable.
1783 (whitespace-enable-predicate): Use it.
1785 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1786 (comint-output-filter, comint-update-fence):
1787 Use with-silent-modifications.
1789 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1791 * replace.el (occur-read-regexp-defaults-function): New var.
1792 (occur-read-regexp-defaults): New defun.
1793 (occur-read-primary-args): Propagate above change (bug#13892).
1795 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1799 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1801 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1803 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1804 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1805 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1807 (tramp-gvfs-file-name-handler-alist) [directory-files]
1808 [directory-files-and-attributes, file-exists-p, file-modes]:
1809 Use Tramp default handler.
1810 [file-acl, file-selinux-context, process-file, set-file-acl]:
1811 [set-file-modes, set-file-selinux-context, shell-command]:
1812 [start-file-process]: Remove handler.
1813 [verify-visited-file-modtime]: New handler.
1814 (tramp-gvfs-dbus-string-to-byte-array)
1815 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1816 calls of `dbus-string-to-byte-array' and
1817 `tramp-gvfs-dbus-byte-array-to-string'.
1818 (tramp-gvfs-handle-copy-file)
1819 (tramp-gvfs-handle-delete-directory)
1820 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1821 (tramp-gvfs-handle-file-directory-p)
1822 (tramp-gvfs-handle-file-executable-p)
1823 (tramp-gvfs-handle-file-name-all-completions)
1824 (tramp-gvfs-handle-file-readable-p)
1825 (tramp-gvfs-handle-file-writable-p)
1826 (tramp-gvfs-handle-insert-directory)
1827 (tramp-gvfs-handle-insert-file-contents)
1828 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1829 (tramp-gvfs-handle-set-visited-file-modtime)
1830 (tramp-gvfs-handle-write-region): Rewrite.
1831 (tramp-gvfs-handle-file-acl)
1832 (tramp-gvfs-handle-file-selinux-context)
1833 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1834 (tramp-gvfs-handle-set-file-modes)
1835 (tramp-gvfs-handle-set-file-selinux-context)
1836 (tramp-gvfs-handle-shell-command)
1837 (tramp-gvfs-handle-start-file-process)
1838 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1839 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1840 over the symlinks. Fix user handling.
1841 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1842 of the D-Bus signals.
1843 (tramp-gvfs-connection-mounted-p): Handle different names of the
1845 (tramp-gvfs-mount-spec-entry): New defun.
1846 (tramp-gvfs-mount-spec): Use it.
1847 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1848 there is a share name. Handle different names of the D-Bus
1849 signals and methods. Set connection properties needed for
1850 `tramp-check-cached-permissions'.
1851 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1854 * net/tramp.el (tramp-backtrace): Move up.
1855 (tramp-error): Dump a backtrace into the debug buffer when
1857 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1858 (tramp-file-mode-permissions, tramp-get-local-uid)
1859 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1862 * net/tramp-sh.el (tramp-file-mode-type-map)
1863 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1864 (tramp-file-mode-permissions, tramp-get-local-uid)
1865 (tramp-get-local-gid): Move to tramp.el.
1867 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1869 Separate mouse-1-click-follows-link from mouse-drag-region.
1870 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1871 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1872 (mouse-drag-line, mouse-drag-track):
1873 Remove mouse-1-click-follows-link code.
1874 (mouse--remap-link-click-p): Remove.
1876 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1878 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1879 (hi-lock-read-regexp-defaults): New defun.
1880 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1881 (hi-lock-face-phrase-buffer): Propagate above change.
1882 Update docstring (bug#13892).
1884 * subr.el (find-tag-default-as-regexp): New defun.
1885 * replace.el (read-regexp): Propagate above change.
1887 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1889 * calc/calc-units.el (calc-convert-units): Fix the way that default
1890 new units are stored.
1892 2013-03-07 Matthias Meulien <orontee@gmail.com>
1894 * bookmark.el: Define a face to highlight bookmark names in
1895 bookmark menu buffers, where the default is a bold face similarly
1896 to buffer names in buffer menu buffers.
1897 (bookmark-menu-bookmark): New face to highlight bookmark names.
1898 (bookmark-insert-location): Remove duplicated text property to
1899 conform to buffer list (see `list-buffers').
1900 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1901 `bookmark-menu-bookmark' to bookmark names.
1903 2013-03-07 Matthias Meulien <orontee@gmail.com>
1904 Karl Fogel <kfogel@red-bean.com>
1906 * bookmark.el: Display the bookmark list header similarly to the
1907 buffer list header (see `list-buffers'), where the default is now
1908 an immovable/immutable header line.
1909 (bookmark-bmenu-use-header-line): New variable.
1910 (bookmark-bmenu-inline-header-height): New name for
1911 `bookmark-bmenu-header-height', to avoid confusion with the code
1912 for the new immovable header. All references changed.
1913 (bookmark-bmenu-set-header): New function.
1914 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1915 Conditionalize header construction accordingly.
1916 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1917 the inline header height.
1918 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1919 Conditionalize the skipping of the inline header height.
1921 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1923 * progmodes/js.el (js--multi-line-declaration-indentation):
1924 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1926 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1928 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1929 Only propertize regexp when not inside a string (Bug#13885).
1931 2013-03-06 Alan Mackenzie <acm@muc.de>
1933 Correct the position of point in some line-up functions.
1934 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1935 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1936 point at column 0 rather than at a random place in the line.
1938 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1940 * net/tramp-compat.el (tramp-compat-delete-directory):
1941 Implement TRASH argument.
1943 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1945 Keep pre-existing highlighting in completion candidates (Bug#13250).
1946 * minibuffer.el (completions-first-difference): State that the
1947 face is "added" in the docstring.
1948 (completions-common-part): Same. And don't inherit from default.
1949 (completion-hilit-commonality): Prepend 'completions-common-part
1950 and 'completion-first-difference faces to the 'face property,
1951 instead of replacing the value(s).
1952 (completion--insert-strings): Same with 'completions-annotations face.
1953 (completion-hilit-commonality): Use 'face instead of
1954 'font-lock-face, because it gets priority if the completion
1955 strings already have 'face set.
1957 2013-03-04 Alan Mackenzie <acm@muc.de>
1959 Replace `last-command-event' by `last-command-char' in XEmacs.
1960 * progmodes/cc-defs.el (c-last-command-char): New macro.
1961 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1962 (c-semi&comma-no-newlines-before-nonblanks)
1963 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1964 in place of `last-command-event'.
1965 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1966 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1967 (c-electric-paren, c-electric-continued-statement): Use the new
1968 macro in place of `last-command-event'.
1970 2013-03-04 Glenn Morris <rgm@gnu.org>
1972 * files.el (inhibit-local-variables-regexps):
1973 Add .diff and .patch. (Bug#13862)
1975 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1977 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1978 whether the "su" command is available on the device.
1980 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1982 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1983 (tramp-adb-handle-process-file): Remove superfluous setting.
1984 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1985 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1986 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1988 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1990 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1991 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1992 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1993 Use dict-key rather than dict-name for the error message.
1995 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1997 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1998 when reverting (bug#13831).
2000 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2002 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2003 Always expand affix-file before storing to protect against changed
2004 `default-directory'.
2005 (ispell-print-if-debug): Make sure message is printed at the end
2006 of the debug buffer.
2008 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2010 * net/tramp.el (tramp-obsolete-methods): New defconst.
2011 (tramp-warned-obsolete-methods): New defvar.
2012 (tramp-find-method): Check for obsolete methods. Map them to a
2013 replacement method if appropriate.
2015 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2017 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2018 "ssh2" and "plink1".
2020 2013-02-28 Dale Sedivec <dale@codefu.org>
2022 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2023 Return valid syntax-table property value when converting
2024 quotes within text from string syntax to punctuation syntax (bug#13844).
2026 2013-02-28 Juri Linkov <juri@jurta.org>
2028 * dired-aux.el (dired-diff): If file at point is a backup file,
2029 use its original as the default value, and reverse the order
2030 of arguments to the `diff' call. Doc fix. (Bug#13772)
2032 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2034 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2035 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2037 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2039 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2041 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2042 Ask hunspell about available and default dictionaries.
2043 (ispell-parse-hunspell-affix-file): Extract relevant info from
2044 hunspell affix file.
2045 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2046 `ispell-dictionary-alist' entry for given dictionary after info
2047 provided by `ispell-parse-hunspell-affix-file'.
2048 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2049 of parsed hunspell dicts and associated affix files.
2050 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2051 of parsed hunspell dicts and associated parameters.
2052 (ispell-set-spellchecker-params):
2053 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2055 (ispell-start-process):
2056 Call `ispell-hunspell-fill-dictionary-entry' for current
2057 dictionary if it is not initialized.
2059 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * imenu.el: Comment nitpicks.
2063 2013-02-28 Sam Steingold <sds@gnu.org>
2065 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2066 See <http://stackoverflow.com/questions/14720205>.
2068 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2070 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2071 (net-utils-mode): Use it.
2072 (net-utils--revert-cmd): New var.
2073 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2074 (traceroute): Use net-utils-run-simple.
2076 2013-02-28 Glenn Morris <rgm@gnu.org>
2078 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2080 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2082 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2083 (doc-view-fallback-mode): Remove overlays here.
2084 (doc-view-toggle-display): Instead of here. Don't throw away
2085 image-mode-winprops-alist.
2086 (doc-view-goto-page): Don't mess with hscroll.
2088 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2090 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2091 &optional (bug#13819).
2093 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2095 * net/tramp-adb.el (tramp-adb-parse-device-names)
2096 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2098 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2100 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2101 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2102 defined. POSIX environments fall back to the "C" locale then and
2103 emit a warning, which shall be suppressed.
2105 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2107 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2108 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2110 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2114 2013-02-25 Juri Linkov <juri@jurta.org>
2116 * replace.el (read-regexp): Let-bind `default' to the first
2117 element of `defaults' if it's a list, otherwise it should be
2118 a string or nil. Let-bind `suggestions' to `defaults' if it's
2119 a list, otherwise make a list with the string value. Doc fix.
2122 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2124 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2125 that match "\`\.#", to avoid compiling lock files, even if they
2126 are readable (as they are on MS-Windows).
2128 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2130 * files.el (basic-save-buffer): Remove redundant directory-creation.
2132 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2134 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2135 Add option to force `pi' to remain symbolic.
2136 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2137 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2138 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2139 derivatives, when necessary.
2141 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2143 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2144 (ps-mode-octal-region): Use string-make-unibyte.
2146 2013-02-23 Glenn Morris <rgm@gnu.org>
2148 * emulation/viper-cmd.el (viper-submit-report):
2149 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2150 * progmodes/vera-mode.el (vera-mode-help-address):
2151 * textmodes/artist.el (artist-maintainer-address):
2152 * textmodes/reftex.el (reftex-report-bug):
2153 * vc/ediff-util.el (ediff-submit-report):
2154 Add bug-gnu-emacs to bug report address.
2156 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2157 Remove bug report entries.
2158 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2160 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2161 (byte-compile-file, byte-compile-from-buffer):
2162 Use separate input/output buffers for each level of recursive
2163 byte-compile-file calls. (Bug#13787)
2165 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2167 * net/tramp.el (tramp-methods): Fix docstring.
2168 (tramp-ssh-controlmaster-options): Rename it from
2169 `tramp-ssh-controlmaster-template'. Return a string.
2170 (tramp-default-method): Adapt check for
2171 `tramp-ssh-controlmaster-options'.
2173 * net/tramp-sh.el (tramp-methods):
2174 Replace `tramp-ssh-controlmaster-template' by "%c".
2175 (tramp-do-copy-or-rename-file-out-of-band)
2176 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2177 that it is applied for the first hop only.
2179 2013-02-22 Juri Linkov <juri@jurta.org>
2181 * isearch.el (isearch-lazy-highlight-new-loop):
2182 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2183 to `isearch-other-end' if it is not nil. (Bug#13402)
2185 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2188 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2189 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2190 and `isearch-error' to nil.
2192 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2194 * progmodes/python.el (python-info-current-defun):
2195 Enhance match-data cluttering prevention.
2197 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2199 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2201 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2202 Handle multibyte file names.
2204 2013-02-22 Glenn Morris <rgm@gnu.org>
2206 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2207 (sgml-transformation-function): Give it a :set function.
2208 (sgml-tag): Doc fix.
2210 * cmuscheme.el (scheme-buffer):
2211 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2212 * progmodes/tcl.el (inferior-tcl-buffer):
2213 * textmodes/tex-mode.el (tex-command): Doc fixes.
2215 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2217 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2219 2013-02-21 Bastien Guerry <bzg@gnu.org>
2221 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2223 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2225 * progmodes/python.el (python-info-current-defun):
2226 Enhance match-data cluttering prevention.
2228 2013-02-21 Glenn Morris <rgm@gnu.org>
2230 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2231 loaded while outline-regexp is let bound. (Bug#9584)
2233 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2235 * progmodes/python.el (python-info-current-defun): Fix failed
2236 defun name retrieval because of unwanted match-data cluttering.
2238 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2240 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2241 defconst. Apply independent check for ControlPersist.
2243 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2244 temporarily, via "env".
2246 2013-02-21 Glenn Morris <rgm@gnu.org>
2248 * info.el (Info-enable-edit): Remove.
2249 (Info-edit): Disable it rather than using Info-enable.
2250 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2251 (Info-cease-edit): Make editing of Info files obsolete.
2253 * informat.el (Info-tagify):
2254 Handle buffers not visiting files. (Bug#13763)
2256 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2258 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2260 2013-02-21 Glenn Morris <rgm@gnu.org>
2262 * files.el (basic-save-buffer): Move check for existing parent
2263 directory after hooks. (Bug#13773)
2265 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * simple.el (command-execute): Move from C. Add obsolete check.
2268 (extended-command-history): Move from C.
2270 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2272 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2273 (jka-compr-mode-alist-additions): Handle .txz suffix for
2274 XZ-compressed tar archives (bug#13770).
2276 2013-02-20 Bastien Guerry <bzg@gnu.org>
2278 * outline.el (outline-regexp, outline-heading-end-regexp):
2279 Make variables, not options (bug#13731).
2281 2013-02-20 Glenn Morris <rgm@gnu.org>
2283 * image.el (image-current-frame): Change from variable to function.
2284 (image-show-frame): Rename from image-nth-frame. Update callers.
2285 * image-mode.el (image-multi-frame): New variable.
2286 (image-mode-map, image-mode, image-goto-frame):
2287 Use image-multi-frame rather than image-current-frame.
2288 (image-mode, image-goto-frame): Use image-current-frame as
2289 function rather than as variable.
2291 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2292 * emacs-lisp/cl-macs.el (cl--make-type-test)
2293 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2295 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2297 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2298 (tramp-get-file-property, tramp-set-file-property)
2299 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2300 (tramp-flush-file-property, tramp-flush-directory-property):
2301 Rename argument to KEY.
2302 (tramp-flush-connection-property): Simplify a little bit.
2303 (tramp-connection-property-p): New defun.
2304 (top): Reapply saved values only if there isn't a corresponding
2305 entry in `tramp-connection-properties'.
2307 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2309 * progmodes/python.el (python-indent-context):
2310 Fix python-info-line-ends-backslash-p call.
2311 (python-info-line-ends-backslash-p)
2312 (python-info-beginning-of-backslash): Respect line-number argument.
2313 (python-info-current-line-comment-p):
2314 Fix behavior when not at beginning-of-line.
2315 (python-util-position): Remove function.
2316 (python-util-goto-line): New function.
2318 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2320 * eshell/em-unix.el (eshell/su): Require tramp.
2321 (eshell/sudo): Require tramp. Remove now unnecessary check.
2323 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2324 `tramp-current-connection' in order to avoid an error when several
2325 commands are invoked in a short time in eshell and friends.
2327 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2329 Cleanup some of EIEIO's namespace.
2330 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2331 Use it to define all the class-* and object-* field accessors (renamed
2332 to eieio--class-* and eieio--object-*). Update all uses.
2333 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2334 class-num-slots and object-num-slots.
2335 (eieio--check-type): New macro.
2336 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2337 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2338 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2339 (object-assoc-list-safe): Use it.
2340 (eieio-defclass): Tighten regexp.
2341 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2342 Remove unreachable code.
2343 (object-class-fast): Declare obsolete.
2344 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2345 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2346 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2347 Rename from class-name, object-name, object-set-name-string,
2348 object-class, object-class-name, class-parents, class-children,
2349 class-precedence-list, class-parent; with obsolete alias.
2350 (class-of, class-direct-superclasses, class-direct-subclasses):
2352 (eieio-defmethod): Use `memq'; remove unreachable code.
2353 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2354 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2355 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2357 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2359 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2362 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2364 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2365 Use font-lock-keyword-face for macros and special forms (bug#8345).
2367 2013-02-17 Didier Verna <didier@didierverna.net>
2369 * net/network-stream.el (network-stream-open-starttls):
2370 Check that response to the starttls-command is non-nil. (Bug#13706)
2372 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2374 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2375 Don't assume all identifier chars have syntax word.
2376 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2377 Remove bar-not-symbol. Adjust callers.
2378 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2380 2013-02-17 Leo Liu <sdl.web@gmail.com>
2382 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2384 2013-02-17 Glenn Morris <rgm@gnu.org>
2386 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2388 * image-mode.el (image-mode-map): Add image-dired menu entry.
2390 * image-dired.el (tumme): Make this alias obsolete.
2392 2013-02-16 Glenn Morris <rgm@gnu.org>
2394 * image.el (image-animated-types): Remove.
2395 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2396 (image-animated-p): Make obsolete alias.
2397 (image-animate, image-nth-frame, image-animate-timeout):
2398 Use image-multi-frame-p.
2399 (image-animate-timeout): If no delay, use image-default-frame-delay.
2400 * image-mode.el (image-mode, image-toggle-animation):
2401 Use image-multi-frame-p. (Bug#763, bug#10739)
2402 (image-mode): Adjust startup message for a multi-frame image.
2404 * image-mode.el (image-mode-map): Give it a menu.
2406 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2408 * net/tramp-cache.el (tramp-connection-properties): New customer
2410 (tramp-get-connection-property): Use it.
2412 * net/tramp-compat.el (top): Require 'trampver.
2414 * net/tramp-sh.el (tramp-remote-process-environment):
2415 Set tramp-autoload cookie.
2417 2013-02-16 Kevin Ryde <user42@zip.com.au>
2419 * info-look.el (info-lookup-select-mode): If major-mode has no
2420 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2422 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2424 * replace.el (read-regexp): Tighten the regexp that matches tag.
2425 When tag is retrieved with `find-tag-default', use regexp that
2426 matches tag at point. Also update docstring (Bug#13687).
2428 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2430 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2431 add watch for the file, not its parent directory, since w32notify
2432 sets up the watch for the directory internally. (Bug#13725)
2434 2013-02-16 Glenn Morris <rgm@gnu.org>
2436 * image.el (image-default-frame-delay): New variable.
2437 (image-animated-p): Use image-default-frame-delay.
2438 (image-minimum-frame-delay): New constant.
2439 (image-animate-timeout): Use image-minimum-frame-delay.
2441 * image.el (image-nth-frame): New, split from image-animate-timeout.
2442 (image-animate-timeout): Use image-nth-frame.
2443 * image-mode.el (image-goto-frame, image-next-frame)
2444 (image-previous-frame): New commands.
2445 (image-mode-map): Add new frame commands.
2447 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2449 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2450 If col-desc already has help-echo, use it. (Bug#13563)
2452 2013-02-16 Glenn Morris <rgm@gnu.org>
2454 * image.el (image-current-frame): New variable.
2455 (image-animate-timeout): Set image-current-frame.
2456 * image-mode.el (image-mode): For animated images,
2457 display a frame counter via mode-line-process.
2459 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2461 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2463 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2465 2013-02-15 Alan Mackenzie <acm@muc.de>
2467 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2468 global minor mode has been enabled, call the minor mode function
2469 for a new buffer once only, after the major mode hook, whilst
2470 allowing that hook explicitly to disable the minor mode.
2471 (MODE-disable-in-buffer): New (generated) function.
2472 (disable-MODE): New (generated) buffer local variable.
2474 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2476 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2477 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2478 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2479 `ido-next-match' and `ido-prev-match' resply.
2480 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2481 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2482 `icomplete-backward-completions' (Bug#13708).
2484 2013-02-15 Glenn Morris <rgm@gnu.org>
2486 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2488 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2491 (goto-address-fontify-region): Use them instead of narrowing, so
2492 syntax-ppss has access to the whole buffer.
2494 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2496 * progmodes/python.el: Explain how to restore "cc-mode"-like
2497 forward-sexp movement in header documentation (Bug#13642).
2498 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2499 comments and strings (GH bug 114).
2501 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2503 * progmodes/python.el (python-info-current-defun): Fix current
2504 defun detection (Bug#13618).
2506 2013-02-15 Chong Yidong <cyd@gnu.org>
2508 * xml.el (xml-parse-string): Fix typo in handling of bad character
2511 2013-02-15 Glenn Morris <rgm@gnu.org>
2513 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2515 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2517 * net/tramp.el (tramp-debug-message):
2518 Add `tramp-condition-case-unless-debug'.
2519 (tramp-debug-on-error): New defvar.
2520 (tramp-condition-case-unless-debug): New defun.
2521 (tramp-file-name-handler): Use it.
2523 2013-02-14 Juri Linkov <juri@jurta.org>
2525 * info.el (Info-isearch-filter): Treat non-nil values of
2526 `search-invisible' including its default value `open'
2527 like the value `t' to match hidden text. (Bug#13402)
2529 2013-02-14 Glenn Morris <rgm@gnu.org>
2531 * help-fns.el (find-lisp-object-file-name): Give special treatment
2532 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2534 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2536 * net/quickurl.el (quickurl-save-urls):
2537 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2539 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2541 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2542 depth for unfinished percent literal. Not using it in the caller.
2543 (ruby-move-to-block): Jump over multiline literals of all types,
2544 ignoring code-looking contents inside them.
2545 (ruby-add-log-current-method): Improve performance at the expense
2546 of accuracy. `ruby-block-contains-point' is relatively slow, so
2547 only use it for method and singleton class blocks.
2549 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2551 Use ControlMaster where applicable. (Bug#13677)
2553 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2554 replacing `tramp-detect-ssh-controlmaster'.
2555 (tramp-default-method): Use it.
2557 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2558 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2560 [scpc, rsyncc]: Remove methods.
2561 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2563 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2564 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2566 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2568 * emacs-lisp/package.el (package--initialized): Move before first use.
2570 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2572 * icomplete.el (icomplete-hide-common-prefix): New user option.
2573 (icomplete-first-match): New face.
2574 (icomplete-completions): Correct handling of "complete but not
2575 unique" (Bug#12638).
2577 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2579 * descr-text.el (describe-char): Display the script (bug#13698).
2581 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2583 * tmm.el: Use lexical-binding and current-active-maps.
2584 (tmm-menubar): Use map-keymap and pcase.
2585 (tmm--completion-table): New function.
2586 (tmm-prompt): Use it to fix the menu order.
2587 (tmm-get-keybind): Use current-active-maps.
2589 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2591 Add dired-hide-details-mode. (Bug#6799)
2593 * locate.el (locate-mode): Set parent mode property to dired-mode.
2595 * find-dired.el (find-dired): Call dired-insert-set-properties on
2596 initial information line. Set process mark on end of buffer.
2597 (find-dired-sentinel):
2598 Call dired-insert-set-properties on summary.
2600 * dired.el (dired-hide-details-hide-symlink-targets)
2601 (dired-hide-details-hide-information-lines): New options.
2602 (dired-insert-directory):
2603 Set properties after final treatment of output.
2604 (dired-insert-set-properties):
2605 Set dired-hide-details-* properties.
2606 (dired-mode-map): Bind dired-hide-details-mode.
2607 (dired-mode): Set buffer-invisibility-spec to a list.
2608 (dired-next-line): Skip hidden lines.
2609 (dired-previous-line): Use dired-next-line.
2610 (dired-hide-details-mode): New minor mode.
2611 (dired-hide-details-update-invisibility-spec): New function.
2613 2013-02-13 Glenn Morris <rgm@gnu.org>
2615 * play/yow.el: Move to obsolete/. (Bug#9384)
2617 2013-02-13 Juri Linkov <juri@jurta.org>
2619 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2620 to select `ediff-control-frame' and set input focus correctly on Xfce.
2623 2013-02-13 Juri Linkov <juri@jurta.org>
2625 * image-mode.el (image-mode-map):
2626 * doc-view.el (doc-view-mode-map):
2627 * vc/ediff-util.el (ediff-setup-keymap):
2628 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2630 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2632 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2633 performance. Instead of recalculating indentation fully for each
2634 line, sum up indentation depth based only on visited lines.
2635 (ruby-parse-partial): Increase the depth after "do" even when END
2637 (ruby-parse-partial): When END is in the middle of a percent
2638 literal, increase the depth if the delimiter chars belong to the
2641 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2643 * play/fortune.el (fortune-compile): Also make the compiled file
2644 if it does not exist at all, not just if it is old. (Bug#5338)
2646 2013-02-13 Glenn Morris <rgm@gnu.org>
2648 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2650 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2652 * lisp/emacs-lisp/package.el (package-menu-execute):
2653 Add optional noquery argument. (Bug#13625)
2655 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2657 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2658 if DIR exists and PARENTS is non-nil.
2660 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2662 * progmodes/js.el (js--multi-line-declaration-indentation):
2663 Silence byte-compiler warning.
2665 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2667 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2669 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2670 only if it doesn't exist.
2672 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2675 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2677 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2678 UserInstallation when calling soffice to work around LibreOffice
2681 2013-02-12 Glenn Morris <rgm@gnu.org>
2683 * files.el (basic-save-buffer):
2684 Offer to create a non-existing directory. (Bug#3016)
2686 * calc/calc-graph.el (calc-graph-show-dumb):
2687 * calendar/calendar.el (calendar-mode-map):
2688 * cus-edit.el (custom-mode-map):
2689 * ehelp.el (electric-help-map):
2690 * emulation/vip.el (vip-mode-map):
2691 * epa.el (epa-key-list-mode-map):
2692 * info.el (Info-mode-map):
2693 * mail/rmail.el (rmail-mode-map):
2694 * mail/rmailsum.el (rmail-summary-mode-map):
2695 * man.el (Man-mode-map):
2696 * net/newst-plainview.el (newsticker-mode-map):
2697 * progmodes/cpp.el (cpp-edit-mode-map):
2698 * progmodes/grep.el (grep-mode-map):
2699 * progmodes/idlw-help.el (idlwave-help-mode-map):
2700 * simple.el (special-mode-map):
2701 * startup.el (splash-screen-keymap):
2702 * view.el (view-mode-map):
2703 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2705 2013-02-11 Elias Pipping <pipping@lavabit.com>
2707 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2710 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2714 2013-02-11 Glenn Morris <rgm@gnu.org>
2716 * vc/diff.el (diff-use-labels): New variable.
2717 (diff-no-select): Use --label rather than -L, and first
2718 check that it is supported. (Bug#11067)
2720 * files.el (enable-dir-local-variables): New variable.
2721 (hack-dir-local-variables): Respect enable-dir-local-variables.
2722 * tutorial.el (help-with-tutorial):
2723 Ignore directory-local variables. (Bug#11127)
2725 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2726 (vc-svn-global-switches): ... to here. (Bug#13513)
2728 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2730 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2731 Handle "foo (bar, default: xxx): " prompts.
2733 2013-02-10 Chong Yidong <cyd@gnu.org>
2735 * files.el (basic-save-buffer-1): Do not set
2736 buffer-file-coding-system-explicit (Bug#4533).
2738 * mail/emacsbug.el (report-emacs-bug): Change binding of
2739 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2741 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2743 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2744 * calc/calc-units.el (calc-convert-units): Use new variable.
2746 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2748 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2750 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2753 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2754 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2755 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2756 coding-system-for-write instead.
2758 * jka-compr.el (jka-compr-write-region): Don't bind
2761 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2764 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2765 (insert-file-contents-literally): Remove reference to
2766 file-name-buffer-file-type-alist.
2768 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2770 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2771 (find-buffer-file-type-coding-system): Remove references to
2772 find-buffer-file-type-match, find-buffer-file-type, and
2774 Don't put find-buffer-file-type-coding-system into
2775 file-coding-system-alist.
2776 (find-file-binary, find-file-text): Bind coding-system-for-read
2777 instead of file-name-buffer-file-type-alist.
2779 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2781 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2782 converter (Bug#13622).
2783 (doc-view-unoconv-program): Make obsolete alias.
2784 (doc-view-odf->pdf-converter-program): New variable.
2785 (doc-view-odf->pdf-converter-function): New variable.
2786 (doc-view-mode-p): Use it.
2787 (doc-view-odf->pdf-converter-unoconv):
2788 Rename from `doc-view-odf->pdf-converter-unoconv'.
2789 (doc-view-odf->pdf-converter-soffice): New function.
2790 (doc-view-convert-current-doc):
2791 Use `doc-view-odf->pdf-converter-function'.
2793 2013-02-09 Chong Yidong <cyd@gnu.org>
2795 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2796 view-echo-area-messages (Bug#13340).
2798 * help.el (view-echo-area-messages): Use display-buffer.
2800 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2803 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2806 Eval body right away, now that we do eager macroexpansion (bug#13605).
2808 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2809 (fundamental-mode): Use run-mode-hooks.
2811 * eshell/esh-proc.el (eshell/kill): Fix last change.
2812 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2814 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2816 * eshell/esh-proc.el (eshell/kill): Rewrite.
2818 * eshell/em-ls.el (show-almost-all): Declare.
2819 (eshell-do-ls): Add support for -A argument.
2821 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2823 * icomplete.el (icomplete-forward-completions)
2824 (icomplete-backward-completions): Handle corner case (bug#13602).
2826 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2828 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2829 be nil. Handle this. (Bug#13636)
2831 2013-02-07 Richard Stallman <rms@gnu.org>
2833 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2834 `save-buffer-coding-system'.
2836 2013-02-07 Alan Mackenzie <acm@muc.de>
2838 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2839 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2840 (c-parse-state-get-strategy): Don't return 'BOD any more.
2841 (c-append-lower-brace-pair-to-state-cache):
2842 Extra parameter HERE instead of narrowing.
2843 Widen to top of buffer before searching backwards for a brace pair.
2844 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2845 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2846 Narrow to parameter HERE, in place of being called narrowed.
2847 (c-remove-stale-state-cache): Extra parameter HERE in place of
2848 narrowing. Check there's an open brace in the cache before
2849 searching for its match.
2850 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2851 (c-parse-state-1): Don't narrow here for 'forward strategy,
2852 instead passing extra parameter HERE to several functions.
2853 Remove 'BOD strategy.
2855 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2857 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2858 used to install the package.
2860 2013-02-06 Glenn Morris <rgm@gnu.org>
2862 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2863 if we can't get user input. (Bug#6567)
2865 * startup.el (command-line): If simple.el is missing,
2866 test and warn about for some possible causes.
2868 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2870 * cus-start.el (all): Add ns-use-native-fullscreen.
2872 2013-02-05 Glenn Morris <rgm@gnu.org>
2874 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2876 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2877 Fix directory creation in fallback case.
2879 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2881 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2882 (vc-update-change-log): Use dolist.
2884 2013-02-04 Chong Yidong <cyd@gnu.org>
2886 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2888 (thing-at-point-beginning-of-url-regexp): New var.
2889 (thing-at-point-uri-schemes): Update list of URI schemes.
2890 (thing-at-point-url-regexp): Variable deleted.
2891 (thing-at-point-markedup-url-regexp): Disallow newlines.
2892 (thing-at-point-newsgroup-regexp)
2893 (thing-at-point-newsgroup-heads)
2894 (thing-at-point-default-mail-uri-scheme): New variables.
2895 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2896 method to find the possible bounds of the URI at point.
2897 New optional argument to find ill-formed URIs.
2898 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2899 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2900 the scheme-adding heuristics from ffap-url-at-point.
2901 (thing-at-point--bounds-of-well-formed-url): New function.
2902 Do parens matching to decide whether to include parens in the URI
2905 * ffap.el: Require thingatpt.
2906 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2907 All URI-valid characters are now recognized (Bug#5673).
2908 (ffap-string-at-point): Use use-region-p.
2909 (ffap-url-regexp): Extra character is handled by thing-at-point.
2910 (ffap-string-at-point-mode-alist): Allow parentheses.
2911 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2912 Convert to aliases; code moved to thingatpt.el.
2913 (ffap-gnus-hook): Use setq-local.
2915 2013-02-04 Glenn Morris <rgm@gnu.org>
2917 * emacs-lisp/ert.el (ert--explain-format-atom):
2918 Don't try to print non-characters as characters. (Bug#13543)
2920 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2922 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2923 (tramp-backtrace): New defun.
2924 (tramp-handle-insert-file-contents): Use `visit' when inserting
2927 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2928 Use `remote-file-name-inhibit-cache'.
2930 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2932 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2935 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2936 current-load-list (bug#13366).
2938 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2940 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2941 Identify g++ template instantiation trace. (Bug#12287)
2942 (compilation-mode-hook, compilation-start-hook)
2943 (compilation-window-height): Simplify docstrings. (Bug#13379)
2945 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2947 * mouse.el (mouse-drag-track): Always deactivate the mark before
2948 running the final event's command since that command is in charge of
2949 activating the mark if needed (bug#13523).
2951 2013-02-02 Juri Linkov <juri@jurta.org>
2953 * replace.el (perform-replace): Move let-bindings of isearch-*
2954 variables deeper to the loop that searches for the next match.
2955 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2956 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2959 * isearch.el (isearch-search-fun-default): Check for null
2960 first element of isearch-cmds as a precaution when it's used
2961 with inactive isearch.
2963 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2965 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2966 error when buffer in question is narrowed so position 1 is out of
2969 2013-02-02 Glenn Morris <rgm@gnu.org>
2971 * textmodes/remember.el (remember-clipboard): Doc fix.
2973 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2975 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2976 properties (bug#13179).
2978 2013-02-02 Juri Linkov <juri@jurta.org>
2980 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2981 instead of hard-coded default face `match'. (Bug#9438)
2983 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2985 * vc/vc-arch.el (vc-arch-registered):
2986 * vc/vc-bzr.el (vc-bzr-registered):
2987 * vc/vc-cvs.el (vc-cvs-registered):
2988 * vc/vc-git.el (vc-git-registered):
2989 * vc/vc-hg.el (vc-hg-registered):
2990 * vc/vc-mtn.el (vc-mtn-registered):
2991 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2994 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2995 prefix argument. (Bug#11656)
2997 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3001 2013-02-01 Glenn Morris <rgm@gnu.org>
3003 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3004 if the backend is known not to support it.
3006 * imenu.el (imenu-default-create-index-function):
3007 Tweak infinite loop test to check for forward motion as well as none.
3009 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3011 * net/soap-client.el (soap-invoke): Encode the string for
3012 `url-request-data' as UTF-8.
3013 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3015 2013-02-01 Glenn Morris <rgm@gnu.org>
3017 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3019 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3021 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3023 * net/tramp.el (tramp-tramp-file-p): Comment check for
3024 `string-as-unibyte'. The function does not exist on XEmacs, and
3025 likely we need another approach.
3027 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3028 `tramp-gw-*' variables are bound.
3030 2013-01-31 Glenn Morris <rgm@gnu.org>
3032 * files.el (basic-save-buffer-2): Choose coding system for
3033 writing the file before backing it up, to reduce delay between
3034 backing up and writing the new version. (Bug#13522)
3036 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3038 * simple.el (cycle-spacing): New command.
3039 (just-one-space): Use it.
3041 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3044 (opascal-newline-always-indents): Remove custom.
3045 (opascal-tab, opascal-newline): Remove commands.
3046 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3047 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3048 (opascal-save-match-data): Remove, use save-match-data instead.
3049 (opascal-save-state): Use with-silent-modifications.
3051 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3054 2013-01-30 Juri Linkov <juri@jurta.org>
3056 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3057 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3058 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3060 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3062 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3063 column if we're just deleting the backslashes.
3064 (makefile-fill-paragraph): Use eolp.
3066 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3068 * autorevert.el (auto-revert-use-notify): Fix docstring.
3070 2013-01-30 Leo Liu <sdl.web@gmail.com>
3072 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3074 2013-01-30 Glenn Morris <rgm@gnu.org>
3076 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3077 unread-command-events twice in some cases. This tries to implement
3078 the 2012-07-26 changes in a different way. (Bug#13560)
3080 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3082 * progmodes/python.el
3083 (python-pdbtrack-comint-output-filter-function): Enhancements on
3084 stacktrace detection. (thanks @gnovak)
3086 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3088 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3089 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3091 (jit-lock-register): Use setq-local.
3093 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3095 * calc-units.el (math-default-units-table): Remove initial value.
3096 (calc-convert-units): Treat expressions where all the units cancel as
3097 if they didn't have units.
3099 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3101 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3102 (tramp-completion-reread-directory-timeout): Fix type.
3103 (tramp-connection-min-time-diff): New defcustom.
3105 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3107 2013-01-30 Glenn Morris <rgm@gnu.org>
3109 * imenu.el (imenu-default-create-index-function):
3110 Put back a version of the infinite loop test removed 2013-01-23.
3112 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3114 * progmodes/python.el (python-shell-parse-command):
3115 Find python-shell-interpreter with modified environment.
3117 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3121 2013-01-29 Alan Mackenzie <acm@muc.de>
3123 Amend to fontify /regexp/s in actions correctly.
3124 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3125 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3126 are no longer included.
3127 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3128 What used to be these variables without "-line" in the name.
3129 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3130 (c-awk-non-arith-op-bra-re): Now also matches {.
3131 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3132 "return", and "case".
3133 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3135 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3136 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3138 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3140 * autorevert.el (auto-revert-use-notify):
3141 Use `custom-initialize-default' for initialization. (Bug#13583)
3143 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3145 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3146 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3147 in `tramp-file-name-handler'.
3148 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3150 (tramp-compute-multi-hops): Check, whether
3151 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3153 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3158 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3160 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3161 checks made superfluous by the \_< operator.
3162 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3163 temporarily) broken indentation.
3164 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3165 Highlight nested constants, too. \_< broke that.
3167 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3169 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3172 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3174 * autorevert.el (auto-revert-handler): Notifications which result
3175 from a saved file shall not be taken into account. (Bug#13557)
3177 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3179 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3180 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3181 (lisp-mode): Pass t for it. (Bug#13556)
3183 2013-01-25 Alan Mackenzie <acm@muc.de>
3185 AWK Mode: Fix indentation bug at top level. Bug #12274.
3187 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3188 just before CASE 5D.
3190 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3192 * net/socks.el (socks-nslookup-host): Use string-to-number.
3194 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3196 * autorevert.el (auto-revert-remote-files)
3197 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3198 (auto-revert-notify-enabled, auto-revert-use-notify)
3199 (auto-revert-notify-watch-descriptor-hash-list)
3200 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3201 (auto-revert-notify-event-descriptor)
3202 (auto-revert-notify-event-action)
3203 (auto-revert-notify-event-file-name): Doc fix.
3204 (global-auto-revert-mode): Reorder checks.
3205 (auto-revert-notify-rm-watch): Respect changed values of
3206 `auto-revert-notify-watch-descriptor-hash-list'.
3207 (auto-revert-notify-add-watch): Check for
3208 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3209 `inotify-add-watch'. Watch `default-directory' instead of
3210 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3211 has a changed meaning now. (Bug#13540)
3212 (auto-revert-notify-handler): Change implementation wrt events
3213 returning from a directory.
3214 (auto-revert-handler): Reorder implementation for checks of remote
3216 (auto-revert-buffers): Fix parentheses error.
3218 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3220 * progmodes/python.el: Enhancements to header documentation about
3221 skeletons. (Bug#5716)
3223 * imenu.el (imenu-default-create-index-function): Remove useless
3224 infinite loop check. (Bug#13438)
3226 2013-01-25 Alan Mackenzie <acm@muc.de>
3228 Fix a bug in the state cache mechanism. Refactor this a bit.
3230 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3231 `cache-pos' element from the return value.
3232 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3233 buffer to enable proper searching from beyond HERE. Amend the
3234 test for detecting the sought brace pair. Amend the value written
3235 to the "brace desert cache" when the brace isn't found.
3236 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3237 and several other variables analogously.
3238 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3239 parameter to a locally calculated variable.
3240 (c-parse-state-1): Change the calling conventions to the two
3241 defuns involving `cache-pos'.
3243 2013-01-25 Chong Yidong <cyd@gnu.org>
3245 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3247 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3249 * paren.el (show-paren-function): Make sure to set 'priority and
3250 'face only if the overlay does exist.
3252 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3254 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3256 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3258 (tramp-sh-handle-set-file-acl): Improve error checking.
3260 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3262 * doc-view.el (doc-view-display): Force mode line update until all
3263 document is converted. Suggested by Stefan Monnier (Bug#13164).
3265 2013-01-23 Bastien Guerry <bzg@gnu.org>
3267 * paren.el (show-paren-function): Make sure an overlay exists
3268 before trying to delete it. Also use `pos' as a position only
3269 when it is an integer.
3271 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3273 * play/gametree.el (gametree-break-line-here): Use point-marker.
3275 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3277 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3278 Mark descriptive parts with `display' property.
3280 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3282 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3283 New variable to map standard dict names to hunspell ones.
3284 (ispell-set-spellchecker-params): Make sure specific dict names
3285 are used for standard dicts with hunspell.
3287 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3289 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3290 chars for note (%N) and url (%U).
3291 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3293 2013-01-21 Juri Linkov <juri@jurta.org>
3295 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3296 in addition to existing separate binding `meta f10' in `global-map'.
3299 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3301 Improve XEmacs compatibility.
3303 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3305 * net/tramp-adb.el (top): Require `time-date'.
3306 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3307 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3308 Use `tramp-file-name-handler'.
3309 (tramp-adb-maybe-open-connection):
3310 Use `tramp-compat-set-process-query-on-exit-flag'.
3312 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3313 Use `tramp-compat-funcall'.
3315 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3316 `tramp-compat-funcall'.
3318 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3320 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3321 reimplementation using "adb shell command ..." instead of running
3322 remote shell interactively.
3324 2013-01-20 Glenn Morris <rgm@gnu.org>
3326 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3327 Add native profiler menu entries.
3329 * profiler.el (profiler-running-p): New function.
3330 (profiler-cpu-profile): Use profiler-running-p.
3331 (profiler-report-mode-map): Add some more menu entries.
3333 2013-01-19 Glenn Morris <rgm@gnu.org>
3335 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3336 fixes 2012-12-07 change. (Bug#13499)
3338 2013-01-19 Leo Liu <sdl.web@gmail.com>
3340 * dired.el (dired-get-marked-files): Prune erroneous values due to
3341 last change. (Bug#13152)
3343 2013-01-19 Glenn Morris <rgm@gnu.org>
3345 * progmodes/etags.el (tags-table-check-computed-list):
3346 Preserve point in tags buffer. (Bug#13412)
3348 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3350 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3351 Chong Yidong <cyd@gnu.org>
3353 * image-mode.el (image-next-file, image-previous-file):
3354 New commands (Bug#8453).
3355 (image-mode-map): Bind them to n and p.
3356 (image-mode--images-in-directory): New helper function.
3358 2013-01-19 Chong Yidong <cyd@gnu.org>
3360 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3361 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3362 save and restore the old window configuration.
3364 2013-01-18 Leo Liu <sdl.web@gmail.com>
3366 * progmodes/js.el: Tweak autoload cookie for alias.
3368 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3370 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3371 buffer local, again. This was lost with the fix on 2013-01-12.
3373 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3375 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3376 order to support several eshell buffers in parallel.
3378 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3380 * autorevert.el (auto-revert-use-notify): In the :set function, do
3381 not modify `kill-buffer-hook'.
3382 (auto-revert-notify-rm-watch):
3383 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3384 (auto-revert-notify-add-watch): Do not call
3385 `auto-revert-notify-rm-watch', but add it to a buffer local
3388 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3390 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3391 call to `eval' rather than a backquoted lambda.
3393 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3395 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3396 to return an explicit nil.
3397 (advice--remove-function): Change accordingly.
3399 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3400 the use of nadvice.el.
3402 * progmodes/which-func.el (which-function): Silence imenu errors
3405 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3407 * progmodes/sql.el (sql-imenu-generic-expression):
3408 (sql-mode-font-lock-object-name): Match schema qualified names.
3409 (sql-connect): Use string keys.
3410 (sql-product-interactive): Wait for interpreter prompt.
3411 (sql-comint-oracle): Set process coding based on NLS_LANG.
3413 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3415 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3416 (sql-interactive-remove-continuation-prompt):
3417 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3419 2013-01-14 Leo Liu <sdl.web@gmail.com>
3421 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3424 2013-01-14 Glenn Morris <rgm@gnu.org>
3426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3427 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3429 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3431 * progmodes/python.el (python-nav-end-of-statement):
3432 Fix cornercase when handling multiline strings.
3434 2013-01-13 Richard Stallman <rms@gnu.org>
3436 * mail/sendmail.el (mail-position-on-field): Add doc string.
3438 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3439 Get current message boundaries and pass them to
3440 message-forward-make-body-mime. Minor style changes.
3442 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3444 * cus-start.el (all): Avoid warnings about
3445 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3447 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3449 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3451 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3454 (jit-lock--debug-fontifying): New var.
3455 (jit-lock--debug-fontify): New function.
3456 * subr.el (condition-case-unless-debug): Don't prevent catching the
3457 error, just let the debbugger run.
3458 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3459 timer code and don't drop errors silently.
3461 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3463 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3464 `permanent-local' property.
3465 (auto-revert-notify-handler): Use `file-equal-p'.
3467 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3469 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3470 file notification by ACTION. For filtering by file name, compare
3471 only the non-directory part of the file name.
3473 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * autorevert.el: Use cl-lib instead of cl.
3477 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3478 (vc-bzr-checkin): Use it.
3479 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3480 will preserve match-data.
3482 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3484 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3485 (js--declaration-keyword-re): New var.
3486 (js--multi-line-declaration-indentation): New function.
3487 (js--proper-indentation): Use it.
3489 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3491 * calc/calc.el (calc-highlight-selections-with-faces)
3493 * comint.el (comint-history-isearch-message):
3494 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3495 * ffap.el (ffap-string-at-point-region, ffap-next)
3496 (ffap-string-at-point, ffap-string-around)
3497 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3499 * font-lock.el (font-lock-keywords-alist)
3500 (font-lock-removed-keywords-alist):
3501 * help-mode.el (help-xref-symbol-regexp):
3502 * info.el (Info-find-emacs-command-nodes):
3503 * international/mule.el (add-to-coding-system-list):
3504 * isearch.el (isearch-message-function, isearch-fail-pos):
3505 * misearch.el (multi-isearch-next-buffer-function):
3506 * newcomment.el (comment-box):
3507 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3508 (pr-setting-database):
3509 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3510 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3511 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3512 (pike-font-lock-keywords-3):
3513 * progmodes/compile.el (compile):
3514 * progmodes/etags.el (tags-table-files)
3515 (tags-table-files-function, tags-included-tables-function):
3516 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3517 (gdb-restore-windows):
3518 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3519 (ps-n-up-filling-database):
3520 * server.el (server-buffer, server-log):
3521 * simple.el (newline, delete-backward-char, delete-forward-char)
3522 (minibuffer-history-isearch-message, kill-line, track-eol)
3523 (temporary-goal-column):
3524 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3525 (flyspell-default-deplacement-commands):
3526 * textmodes/ispell.el (ispell-accept-output):
3527 * textmodes/sgml-mode.el (html-tag-help):
3528 * vc/compare-w.el (compare-ignore-whitespace)
3529 (compare-ignore-case, compare-windows-dehighlight):
3530 * vc/diff.el (diff):
3531 * whitespace.el (whitespace-point)
3532 (whitespace-font-lock-refontify, whitespace-bob-marker)
3533 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3535 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3537 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3538 (auto-revert-notify-rm-watch): Ignore errors.
3539 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3540 inotify, and '(size last-write-time) for w32notify.
3541 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3542 watch fails - this is a fallback to the file modification check.
3543 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3544 (auto-revert-notify-event-action)
3545 (auto-revert-notify-event-file-name): New defuns.
3546 (auto-revert-notify-handler): Use them. Implement first
3547 plausibility checks.
3548 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3550 2013-01-11 Julien Danjou <julien@danjou.info>
3552 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3553 max are almost equal. Also return the correct value for V which is
3554 already between 0 and 1.
3556 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3558 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3560 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3562 * autorevert.el (auto-revert-notify-rm-watch)
3563 (auto-revert-notify-add-watch): Fix typos in w32notify function
3566 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3568 * autorevert.el (auto-revert-notify-enabled): Move up.
3569 (auto-revert-use-notify): New defcustom.
3570 (auto-revert-mode, global-auto-revert-mode)
3571 (auto-revert-notify-add-watch, auto-revert-handler)
3572 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3573 `auto-revert-notify-enabled'.
3575 2013-01-10 Elias Pipping <pipping@exherbo.org>
3577 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3578 * doc-view.el (doc-view-document->bitmap):
3579 Use doc-view-single-page-converter-function instead of
3580 single-page-converter arg; adjust callers.
3582 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3584 * progmodes/which-func.el (which-function): Understand Semantic's use
3585 of overlays in imenu--index-alist.
3587 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3589 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3590 (Man-man-k-use-anchor): New var.
3591 (Man-parse-man-k): New function.
3592 (Man-completion-table): Use it.
3593 (man): Flush the completion cache between uses.
3595 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3597 * autorevert.el: Add file watch support.
3598 (auto-revert-notify-enabled): New defconst.
3599 (auto-revert-notify-watch-descriptor-hash-list)
3600 (auto-revert-notify-watch-descriptor)
3601 (auto-revert-notify-modified-p): New defvars.
3602 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3603 (auto-revert-notify-handler): New defuns.
3604 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3605 when mode is disabled.
3606 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3607 (auto-revert-buffers): Add file watches for active buffers.
3609 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3611 * cus-start.el (toplevel): Only allow float values for
3612 scroll-up-aggressively and scroll-down-aggressively.
3613 Allow any number for line-spacing.
3615 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3618 (doc-view-pdf->png-converter-function): Use mupdf if available.
3619 (doc-view-djvu->png-converter-function)
3620 (doc-view-ps->png-converter-function): Remove.
3621 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3622 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3623 (doc-view-already-converted-p): Adjust accordingly.
3624 (doc-view-mode-p): Simplify.
3625 (doc-view-enlarge): Use setq-local.
3626 (doc-view-pdf->png-converter-ghostscript)
3627 (doc-view-djvu->png-converter-ddjvu)
3628 (doc-view-pdf->png-converter-mupdf): Rework to call
3629 doc-view-start-process directly.
3630 (doc-view-pdf/ps->png): Simplify accordingly.
3631 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3632 (doc-view-document->bitmap): Rename from doc-view-document->png.
3633 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3634 (doc-view-set-slice-from-bounding-box): Fix completion table.
3635 (doc-view-mode): Use add-hook for after-revert-hook.
3637 2013-01-10 Glenn Morris <rgm@gnu.org>
3639 * emacs-lisp/authors.el (authors-ignored-files)
3640 (authors-valid-file-names, authors-renamed-files-alist):
3641 Add some more entries.
3643 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3646 `t' pseudo-window entry.
3648 2013-01-10 Alan Mackenzie <acm@muc.de>
3650 Fix bugs in the c-parse-state mechanism. Reuse some markers
3651 instead of continually generating new ones.
3653 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3654 (c-state-old-cpp-end-marker): New variables.
3655 (c-append-lower-brace-pair-to-state-cache): Start a backward
3656 search for "}" definitively outside CPP constructs.
3657 (c-remove-stale-state-cache): Inform the caller of a need to
3658 search back for a brace pair in certain circumstances.
3659 (c-state-maybe-marker): New macro.
3660 (c-parse-state): Reuse markers when appropriate.
3662 2013-01-10 Glenn Morris <rgm@gnu.org>
3664 * simple.el (execute-extended-command): Doc fix.
3665 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3667 2013-01-10 Chong Yidong <cyd@gnu.org>
3669 * faces.el (read-face-name): Doc fix.
3671 2013-01-10 Roland Winkler <winkler@gnu.org>
3673 * emacs-lisp/crm.el: Allow any regexp for separators.
3674 (crm-default-separator): All spaces around the default comma separator.
3675 (crm--completion-command): New macro.
3676 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3677 (crm-complete-and-exit): Handle non-single-char separators.
3679 2013-01-09 Elias Pipping <pipping@lavabit.com>
3681 * doc-view.el: Add support for DjVu (bug#13164).
3682 (doc-view-djvu->png-converter-function): New config var.
3683 (doc-view-single-page-converter-function, doc-view--image-type)
3684 (doc-view--image-file-extension): New vars.
3685 (doc-view-mode): Initialize them.
3686 (doc-view-goto-page): Use them.
3687 (doc-view-mode-p): Add support for ddjvu.
3688 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3689 (doc-view-set-up-single-converter): New funs.
3690 (doc-view-pdf/ps->png): Extend for djvu.
3691 (doc-view-document->png): Rename from doc-view-pdf->png.
3692 (doc-view-convert-current-doc): Handle djvu.
3693 (doc-view-insert-image, doc-view-display)
3694 (doc-view-already-converted-p): Don't hardcode png.
3695 (doc-view-set-doc-type): Recognize djvu docs.
3697 2013-01-09 Elias Pipping <pipping@lavabit.com>
3699 * doc-view.el: Add support for mupdf converter (bug#13164).
3700 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3701 (doc-view-ps->png-converter-function): New config vars.
3702 (doc-view-pdf->png-converter-ghostscript)
3703 (doc-view-ps->png-converter-ghostscript)
3704 (doc-view-pdf->png-converter-mupdf): New functions.
3705 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3707 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3709 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3710 first in session cache: When `tramp-own-remote-path' is in
3711 `tramp-remote-path', the remote path is only set in the session
3714 2013-01-09 Glenn Morris <rgm@gnu.org>
3716 * emacs-lisp/trace.el (trace-function-foreground)
3717 (trace-function-background): Doc fix.
3719 2013-01-09 Juri Linkov <juri@jurta.org>
3721 * international/mule-cmds.el (read-char-by-name): Move let-binding
3722 of completion-ignore-case around completing-read to fix regression
3723 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3724 `string-match-p' using the nil value of `case-fold-search' and
3725 `completion-ignore-case' in `completion-pcm--all-completions'.
3728 2013-01-09 Glenn Morris <rgm@gnu.org>
3730 * progmodes/compile.el (compilation-parse-errors):
3731 Fix typo. (Bug#13369)
3733 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3735 * comint.el (comint-send-input): Check size of buffer before
3736 waiting for process output, in case already accepted. (Bug#13290)
3738 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3741 * net/tramp-adb.el (tramp-adb-get-toolbox):
3742 Fix misspelling of 'unknown'.
3744 2013-01-08 Juri Linkov <juri@jurta.org>
3746 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3747 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3748 Use underline style wave on terminals that support it. (Bug#13000)
3750 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3752 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3753 the predicate returns nil.
3755 * simple.el: Use lexical-binding.
3756 (primitive-undo): Use pcase.
3757 (minibuffer-history-isearch-push-state): Use a closure.
3759 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3761 * simple.el (primitive-undo): Move from undo.c.
3763 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3765 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3766 (cvs-mode-remove-handled): Use it (bug#13380).
3768 * emacs-lisp/nadvice.el (advice--tweak): New function.
3769 (advice--remove-function, advice--subst-main): Use it.
3771 * emacs-lisp/advice.el: Update commentary.
3773 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3775 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3776 Remove spurious entry.
3778 2013-01-08 Glenn Morris <rgm@gnu.org>
3780 * net/tramp.el (tramp-default-host-alist): Add :version.
3782 2013-01-08 Juri Linkov <juri@jurta.org>
3784 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3785 single completion. (Bug#12456)
3786 (info--manual-names): Expand node completions into an explicit list
3787 before appending it to another list. Filter out internal buffers
3788 with the leading space in the buffer name. (Bug#10771)
3790 2013-01-08 Juri Linkov <juri@jurta.org>
3792 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3793 that defaults to the Top node.
3794 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3795 the short format (FILENAME) goes to the Top node.
3796 (Info-build-node-completions): Rename arg `file' to `filename'.
3799 2013-01-07 Bastien Guerry <bzg@gnu.org>
3801 * menu-bar.el (menu-bar-search-documentation-menu):
3802 Use `apropos-user-option' and fix the help message.
3804 2013-01-07 Bastien Guerry <bzg@gnu.org>
3806 * apropos.el (apropos-do-all): Update docstring.
3807 (apropos-user-option-button): New face.
3808 (apropos-user-option): Rename from `apropos-variable' and update
3810 (apropos-variable): Rewrite, now show all variables by default.
3811 (apropos-print): Mention "User option" instead of "Variable" when
3812 printing doc for user options. (Bug#13276)
3814 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3816 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3817 Handle filename correctly, when parsing "source -> target" symlink
3819 (tramp-adb-handle-set-file-times): New defun.
3821 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3824 advice list when the interactive-spec of ad-Advice-* changes.
3826 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3828 * wid-edit.el (widget-default-get): Work for inlined elements.
3831 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp.el (tramp-default-host-alist): New defcustom.
3834 (tramp-find-host): Use it.
3835 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3836 `eshell-directory-change-hook'.
3838 * net/tramp-adb.el (top): Add adb specific entry in
3839 `tramp-default-host-alist'.
3840 (tramp-adb-file-name-host): Remove function.
3841 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3842 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3844 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3846 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3848 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3850 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3852 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3853 consist of more than one digit.
3854 (tramp-adb-file-name-handler-alist):
3855 Use `tramp-handle-file-exists-p' consistently.
3856 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3857 (tramp-adb-handle-file-exists-p): Remove function.
3858 (tramp-adb-file-name-host): New defun.
3859 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3861 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3863 2013-01-06 Chong Yidong <cyd@gnu.org>
3865 * vc/vc.el (vc-next-action): Detect buffer modifications
3866 conflicting with locking VCS operation (Bug#11490).
3868 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3870 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3872 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3873 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3875 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3877 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3878 parsing of ls output using regular expression (handle filenames
3879 with spaces). Use virtual device number.
3880 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3883 2013-01-04 Daiki Ueno <ueno@gnu.org>
3885 * epg.el: Silence byte-compiler warnings.
3886 (epg--start): Use delete-char instead of delete-backward-char.
3887 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3889 2013-01-04 Daiki Ueno <ueno@gnu.org>
3891 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3892 Suggested by Eli Zaretskii <eliz@gnu.org>.
3894 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3896 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3897 non-negative integers. Otherwise, the default values are used.
3898 (tramp-convert-file-attributes): Convert uid and gid to integers.
3900 2013-01-04 Glenn Morris <rgm@gnu.org>
3902 * term.el (term-handle-colors-array): Ensure face attributes
3903 are fully specified, not nil. (Bug#13337)
3905 * term.el (term-default-fg-color, term-default-bg-color):
3908 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3909 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3910 rather than 'jka-compr being loaded. (Bug#13338)
3912 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3914 * icomplete.el (icomplete-completions):
3915 Honor icomplete-prospects-height once more following
3916 2012-11-29 changes. (Bug#13224)
3918 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3921 of called-interactively-p as well (bug#13237).
3923 * view.el (view--enable, view--disable): Rename from view-mode-enable
3924 and view-mode-disable and assume it's called from view-mode.
3925 (view-mode-enable, view-mode-disable): Redefine as obsolete
3926 compatibility layer above view-mode.
3927 (view-mode-enter): Call `view-mode'.
3929 * files.el (after-find-file): Call `view-mode'.
3931 * doc-view.el (doc-view-scale-internally): New var.
3932 (doc-view-enlarge, doc-view-insert-image): Obey it.
3934 2013-01-03 Daiki Ueno <ueno@gnu.org>
3936 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3939 2013-01-03 Glenn Morris <rgm@gnu.org>
3941 * mail/rmail.el (rmail-set-header-1): Ignore case.
3942 Handle multi-line headers. (Bug#13330)
3944 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3945 Handle paragraph starting at beginning of buffer.
3947 * subr.el (eval-after-load): Don't purecopy the form, so that it
3948 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3950 * emacs-lisp/byte-run.el (defun): Place cl declarations
3951 after any interactive spec. (Bug#13265)
3953 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3955 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3956 defun. Don't check for DECL if DOCSTRING isn't a string.
3959 2013-01-02 Glenn Morris <rgm@gnu.org>
3961 * eshell/em-cmpl.el (eshell-pcomplete):
3962 More thoroughly imitate pcomplete. (Bug#13293)
3964 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3965 Return nil for empty path elements. (Bug#13296)
3967 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3969 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3970 order to improve efficiency (Based on Daniel Colascione's
3971 <dancol@dancol.org> patch). (Bug#13182)
3973 2013-01-02 Glenn Morris <rgm@gnu.org>
3975 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3977 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3979 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3980 neither DOCSTRING nor DECL was given. (Bug#13316)
3982 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3984 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3986 (tramp-do-copy-or-rename-file): Ignore errors when calling
3987 `set-file-extended-attributes'.
3989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3990 Add handler for `file-acl'.
3991 (tramp-smb-handle-file-acl): New defun.
3993 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3995 * calc/README: Mention ISO 8601 week-numbering dates.
3997 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3999 * view.el (view-mode-enable): New argument run-view-mode-hook.
4000 Run view-mode-hook only when it's non-nil (Bug#13315).
4001 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4004 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4006 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4007 (No device connected, invalid device name). (Bug #13299)
4009 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4011 * window.el (window-resizable--p): Rename to window-resizable-p.
4012 (window-resize-no-error): New function.
4014 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4015 broken in fix from 2012-12-28.
4017 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * subr.el (special-form-p): Don't signal errors on undef aliases.
4021 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4023 * calc/calc-forms.el (math-parse-date): Try using
4024 `math-parse-iso-date' when it looks like it might be needed.
4025 Allow times of 24:00.
4026 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4029 2012-12-30 Glenn Morris <rgm@gnu.org>
4031 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4032 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4033 (rmail-summary-displayed, rmail-summary): Declare.
4034 (mairix-rmail-display): Just require rmail.
4036 2012-12-30 Chong Yidong <cyd@gnu.org>
4038 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4039 check for the tarball contents.
4041 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4043 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4044 tarfile content listings (Bug#13136).
4046 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4048 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4049 Insert the undecoded text of the message being forwarded. (Bug#9521)
4051 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4053 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4054 integers, if they are real numbers. (Bug#13282)
4056 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4057 Return `t' on success.
4059 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4060 Add handler for `set-file-selinux-context'.
4062 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4064 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4065 (tramp-sh-handle-set-file-acl): Return `t' on success.
4067 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4069 * files.el (backup-buffer-copy, basic-save-buffer-2):
4070 If set-file-extended-attributes fails, fall back on set-file-modes
4071 instead of signaling an error. (Bug#13298)
4072 (basic-save-buffer): Likewise.
4074 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4076 * progmodes/python.el: Support other commands triggering
4077 python-indent-line so indentation cycling continues to work.
4078 (python-indent-trigger-commands): New defcustom.
4079 (python-indent-line): Use it.
4081 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4083 * progmodes/python.el (python-shell-send-region): Add blank lines
4084 for non sent code so backtraces remain correct.
4086 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4088 * progmodes/python.el: Remove cl dependency.
4089 (python-syntax-count-quotes): Replace incf call.
4090 (python-fill-string): Replace setf call.
4092 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4094 * info.el (info-other-window): New arg, for consistency with info.
4096 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4098 * mail/rmail.el (rmail-maybe-display-summary):
4099 Rewrite (Bug#13066).
4101 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4103 * epg.el (epg--start): Modify process-environment locally.
4105 2012-12-28 Daiki Ueno <ueno@gnu.org>
4107 * epg.el: Support pinentry-curses.
4108 Suggested by Werner Koch in
4109 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4110 (epg-agent-file, epg-agent-mtime): New variable.
4111 (epg--start): Record the modified time of gpg-agent socket file,
4112 to restore Emacs frame after pinentry-curses termination.
4113 (epg-wait-for-completion): Restore Emacs frame here.
4115 2012-12-27 Juri Linkov <juri@jurta.org>
4117 * info.el (Info-file-completions): New variable.
4118 (Info-read-node-name-1): Complete node names in the Info file
4119 when a file name is given. Call `Info-build-node-completions'
4121 (Info-build-node-completions): Add new arg `file'. When it is
4122 non-nil, visit it in a temporary buffer and cache its completions in
4123 `Info-current-file-completions'. Move most of the function body to
4124 `Info-build-node-completions-1'.
4125 (Info-build-node-completions-1): New function with the body from
4126 `Info-build-node-completions'. (Bug#12456)
4128 2012-12-27 Juri Linkov <juri@jurta.org>
4130 * frame.el (frame-maximization-style): Remove user option.
4131 (cycle-frame-maximized): Remove function.
4132 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4133 (toggle-frame-fullscreen): New command bound to <f11> instead of
4134 `toggle-frame-maximized'.
4135 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4137 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4139 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4141 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4142 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4143 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4144 for `file-accessible-directory-p'. (Bug#13275)
4146 2012-12-27 Sam Steingold <sds@gnu.org>
4148 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4149 continuations, see <http://stackoverflow.com/questions/3582436>.
4151 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4153 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4154 "module" and "def" to have indentation before them.
4155 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4157 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4159 2012-12-27 Alan Mackenzie <acm@muc.de>
4161 Speed up fontification where there's large brace blocks.
4162 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4163 to a call of c-beginning-of-decl-1.
4165 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4167 * comint.el (comint-adjust-window-point): New function.
4168 (comint-postoutput-scroll-to-bottom):
4169 Call comint-adjust-window-point (Bug#13248).
4171 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4173 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4175 (auto-mode-alist): Associate .gemspec files with ruby-mode
4176 (https://bugs.ruby-lang.org/issues/5453).
4178 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4180 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4181 Suppress coloring, if possible (required for BusyBox based systems like
4183 (tramp-adb-handle-file-attributes)
4184 (tramp-adb-handle-insert-directory)
4185 (tramp-adb-handle-file-name-all-completions): Use it.
4186 (tramp-adb-get-toolbox): New defun. Check for remote shell
4187 implementation (BusyBox or Toolbox).
4189 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4191 * startup.el (initial-buffer-choice): Allow function as value
4193 (command-line-1): Handle case where initial-buffer-choice
4194 specifies a function.
4195 * server.el (server-execute): Handle case where
4196 initial-buffer-choice specifies a function.
4198 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4200 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4202 (smtpmail-try-auth-methods): Forget the user name/password if the
4203 login is unsuccessful (bug#12424).
4205 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4207 * notifications.el (notifications-notify): Protect body with
4208 `with-demoted-errors'.
4210 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4211 Check properties of remote device. Restart connection, if there is a
4214 2012-12-21 Chong Yidong <cyd@gnu.org>
4216 * sort.el (sort-subr): Doc fix (Bug#13056).
4218 2012-12-21 Bastien Guerry <bzg@gnu.org>
4220 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4222 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4224 * simple.el (process-file): Overwrite stderr file, if exists.
4226 2012-12-21 Daiki Ueno <ueno@gnu.org>
4228 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4229 (epg-error): Set `error-message' property.
4231 2012-12-21 Chong Yidong <cyd@gnu.org>
4233 * international/mule-cmds.el (read-char-by-name): Signal an error
4234 if the user does not supply a valid character (Bug#13177).
4236 * simple.el (transpose-subr-1): Preserve marker positions by
4237 changing the insertion sequence (Bug#13122).
4239 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4241 * simple.el (kill-region): Deactivate mark even for empty regions
4244 2012-12-21 Chong Yidong <cyd@gnu.org>
4246 * help-fns.el (describe-variable): Make sure we get the right
4247 buffer name (Bug#13105). Suggested by Kelly Dean.
4249 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4251 * comint.el (comint-redirect-previous-input-string): New variable.
4252 (comint-redirect-setup, comint-redirect-cleanup)
4253 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4254 (comint-redirect-preoutput-filter): Fix verbose message.
4256 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4258 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4259 is too long for Tramp. See discussion in
4260 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4262 * progmodes/compile.el (compilation-start): Remove line escape
4265 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4267 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4270 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4272 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4273 following non-comment text (bug#13207).
4274 (lm-header-multiline): Continuation lines need to be indented more than
4276 (lm-homepage): New function.
4277 (lm-with-file): Don't be confused if narrowing is in effect.
4279 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4282 very beginning of a hunk (e.g. killing the first line).
4284 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4286 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4287 and text properties from returned ACL string.
4288 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4289 for "setfacl" command.
4291 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4293 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4294 `tramp-cleanup-this-connection', when the process has died.
4297 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4301 2012-12-17 Kevin Ryde <user42@zip.com.au>
4303 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4305 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4307 Add support for preserving ACL entries of files.
4309 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4310 `set-file-acl' handlers.
4312 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4313 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4315 * net/tramp-compat.el (tramp-compat-copy-file):
4316 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4318 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4319 Add `file-acl' and `set-file-acl' handlers.
4320 (tramp-gvfs-handle-copy-file):
4321 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4322 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4325 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4326 Add `file-acl' and `set-file-acl' handlers.
4327 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4328 (tramp-sh-handle-set-file-acl): New defuns.
4329 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4330 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4332 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4333 Add `file-acl' and `set-file-acl' handlers.
4334 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4336 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4338 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4339 use pop-to-buffer with NORECORD argument t. As buffer name, use
4340 *Metahelp* with a leading space (Bug#13190).
4342 2012-12-16 Romain Francoise <romain@orebokech.com>
4344 * files.el (file-extended-attributes)
4345 (set-file-extended-attributes): New functions.
4346 (backup-buffer): Use them to handle both SELinux context and ACL
4348 (backup-buffer-copy): Work with an alist of extended attributes,
4349 rather than an SELinux context.
4350 (basic-save-buffer-2): Ditto.
4352 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4354 * battery.el (battery-bsd-apm): New function.
4356 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4358 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4359 standard date formats.
4361 2012-12-15 Juri Linkov <juri@jurta.org>
4363 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4364 `isearch-insert-char-by-name'.
4365 (with-isearch-suspended): New defmacro with body mostly from
4366 `isearch-edit-string' except the part that sets
4367 `isearch-new-string' and `isearch-new-message'.
4368 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4369 body that sets `isearch-new-string' and `isearch-new-message'.
4370 (isearch-insert-char-by-name): New command.
4371 * international/mule-cmds.el (read-char-by-name): Let-bind
4372 `enable-recursive-minibuffers' to t.
4373 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4375 2012-12-15 Juri Linkov <juri@jurta.org>
4377 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4380 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4382 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4383 the prompt. (Bug#13045)
4385 2012-12-14 Glenn Morris <rgm@gnu.org>
4387 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4388 Try to include filename in non-bytecomp warning. (Bug#13132)
4390 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4392 Fix permissions bugs with setgid directories etc. (Bug#13125)
4393 * files.el (backup-buffer): Don't rely on 9th output of
4394 file-attributes, as it's now a placeholder. Instead, use the new
4395 optional arg of file-ownership-preserved-p.
4396 (file-ownership-preserved-p): New optional arg GROUP.
4397 Fix mishandling of setuid directories that would cause this
4398 function to return t when it should have returned nil.
4399 Document what happens if the file does not exist, and when
4400 it's not known whether the ownership will be preserved.
4401 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4403 (tramp-get-local-gid): Use group-gid for integer, as that's
4404 faster and more reliable.
4406 2012-12-14 Julien Danjou <julien@danjou.info>
4408 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4409 Update keywords list, data type and PL/pgSQL.
4411 2012-12-14 Dave Abrahams <dave@boostpro.com>
4413 * vc/ediff-util.el (ediff-buffer-type): New function.
4414 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4415 rather than taking it as as argument.
4416 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4418 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4420 * json.el: Add pretty-print option (bug#12634).
4421 (json-encoding-separator, json-encoding-default-indentation)
4422 (json--encoding-current-indentation, json-encoding-pretty-print)
4423 (json-encoding-lisp-style-closings): New vars.
4424 (json--with-indentation): New macro.
4425 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4426 (json-encode-array): Use it to obey json-encoding-pretty-print.
4427 (json-pretty-print-buffer, json-pretty-print): New commands.
4429 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4431 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4432 Extract `ruby-syntax-propertize-expansions'.
4433 (ruby-syntax-propertize-expansions): Only change syntax on
4434 certain string delimiters, to punctuation. This way the common
4435 functions like forward-word and thing-at-point still work.
4436 (ruby-match-expression-expansion): Improve readability.
4437 (ruby-block-contains-point): New function.
4438 (ruby-add-log-current-method): Handle several edge cases.
4440 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4442 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4443 unload-feature finishes even when aborting an ongoing edebug session.
4444 Also, do not worry about edebug-mode, unload-feature takes care of it.
4446 2012-12-13 Andreas Schwab <schwab@suse.de>
4448 * net/tls.el (tls-program): Update customize type.
4450 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4452 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4453 (edebug-setup-hook, cl-read-load-hooks): Use it.
4454 (edebug-unload-function): New function. (Bug#13163)
4456 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4458 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4459 Otherwise, there could be errors in autoloading. (Bug#13151)
4461 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4463 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4466 2012-12-13 Alan Mackenzie <acm@muc.de>
4468 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4469 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4470 around `forward-comment' not recognizing ^M as whitespace.
4472 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4474 * progmodes/python.el (python-skeleton-class)
4475 (python-skeleton-def): Do not add space after defun name.
4477 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4479 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4480 (cl--symbol-function): Remove (now that funbound is like nil).
4482 2012-12-12 Glenn Morris <rgm@gnu.org>
4484 * button.el (button--area-button-p): Fix typo.
4486 2012-12-12 Sam Steingold <sds@gnu.org>
4488 * frame.el (frame-maximization-style): New user option.
4489 (toggle-frame-maximized): Toggle frame maximization according to
4490 `frame-maximization-style', bound to <f11>.
4491 (cycle-frame-maximized): Cycle between all maximization styles and
4492 non-maximized frame, bound to shift-<f11>.
4494 2012-12-12 David Cadé <codename68@gmail.com>
4496 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4498 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4500 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4501 (eieio-override-prin1): Don't quote kewords and booleans.
4502 (object-write) <eieio-default-superclass>: Don't put closing parens
4503 on new line, avoid needless empty lines, align values that are objects
4504 with the slot keyword (instead of beginning on the same line).
4505 (eieio-list-prin1): Align value with slot keyword; increase
4506 eieio-print-depth before printing members of the list.
4508 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4511 a display text-property.
4512 (report-emacs-bug-hook): Don't bother deleting it any more.
4514 * hilit-chg.el (highlight-save-buffer-state): Delete.
4515 Use with-silent-modifications instead.
4516 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4518 * button.el: Handle buttons in display text-properties.
4519 (button--area-button-p, button--area-button-string):
4520 Use (STRING . STRING-POS) representation instead of just STRING.
4522 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4524 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4525 subdirectory be skipped.
4527 2012-12-11 Glenn Morris <rgm@gnu.org>
4529 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4531 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4532 Treat preprocessor lines embedded in continuations like comments.
4533 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4535 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4537 * calc/calc.el (calc-standard-date-formats): Add more date
4539 * calc/calc-forms.el (math-parse-iso-date): New function.
4540 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4541 (math-parse-iso-date-validate): Add extra error checking.
4542 (calc-date-notation): Add ability to access new date formats.
4544 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4547 font-lock as well as when there's no text-property.
4549 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4551 * hi-lock.el: Refine the choice of default face.
4552 (hi-lock-keyword->face): New function. Use it wherever we used
4554 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4555 (hi-lock--last-face): Remove var.
4556 (hi-lock--unused-faces): New var to replace it.
4557 (hi-lock-read-face-name): Use/maintain it.
4558 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4559 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4560 if it has another face.
4562 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4564 * subr.el (w32notify-handle-event): New function.
4565 (inotify-handle-event): Doc fix.
4567 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4569 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4571 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4573 * simple.el (just-one-space): Doc fix.
4575 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4577 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4579 2012-12-10 Le Wang <l26wang@gmail.com>
4581 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4582 narrowed buffer (bug#12361).
4584 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4586 * vc/vc-hooks.el (vc-state): Doc fix.
4588 2012-12-10 Glenn Morris <rgm@gnu.org>
4590 * mail/rmail.el (rmail-maybe-display-summary):
4591 Preserve buffer, in case select-window changes it. (Bug#13066)
4593 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4596 cl-load-hook where they belong.
4598 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4600 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4602 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4604 Parallelize byte compilation on MS-Windows.
4605 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4606 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4607 (WINS_BASIC): Define as concatenation of the above.
4608 (compile): Subdivide into 4 separate and independent jobs that can
4610 (compile0-CMD, compile0-SH): New targets for compiling
4611 COMPILE_FIRST files, which are prerequisites for the rest of the
4613 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4614 New targets for parallel compilation with cmd.exe.
4615 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4616 compiling under a Unixy shell.
4618 2012-12-09 Chong Yidong <cyd@gnu.org>
4620 * simple.el (set-mark-default-inactive): Delete this
4621 accidentally-introduced option.
4622 (set-mark-command, exchange-point-and-mark): Remove calls.
4624 2012-12-09 Glenn Morris <rgm@gnu.org>
4626 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4627 Respect a defcustom's :set function, if appropriate. (Bug#109)
4628 (eval-defun): Doc fix.
4630 2012-12-08 Juri Linkov <juri@jurta.org>
4632 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4633 (Info-fontify-node, Info-bookmark-make-record): Remove the
4634 file extension from Info-current-file (Bug#13016).
4636 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4638 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4639 point, still provide some default.
4640 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4641 names, since we don't use it right now. Actually return the list.
4642 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4644 2012-12-07 Chong Yidong <cyd@gnu.org>
4646 * novice.el (disabled-command-function): Remove a spurious help
4647 xref (Bug#13043). Suggested by Kelly Dean.
4649 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4650 syntax is specified (Bug#13025).
4652 * info.el (Info-set-mode-line): Remove the file extension from
4653 Info-current-file if there is one (Bug#13016).
4655 2012-12-07 Glenn Morris <rgm@gnu.org>
4657 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4658 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4659 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4660 and rmail-mime-decoded. (Bug#9841)
4662 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4663 (batch-unrmail, unrmail): Doc fixes.
4664 (unrmail): Respect unrmail-mbox-format.
4665 * mail/rmail.el (rmail-mbox-format): New option.
4666 (rmail-show-message-1): Respect rmail-mbox-format.
4668 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4670 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4672 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4674 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4675 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4676 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4677 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4678 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4679 (cl-progv): Don't rely on dynamic scoping to find the body.
4680 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4681 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4682 (cl-declaim): Use backquotes.
4683 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4684 Use "cl--" prefix for the object's tag.
4686 * ses.el: Use advice-add/remove.
4687 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4688 (copy-region-as-kill, yank): Use advice-add.
4689 (ses-unload-function): Use advice-remove.
4691 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4693 * button.el: Make them work in header-lines (bug#12817).
4694 (button-map): Add bindings for header-line and mode-line use.
4695 (button-get, button-put, button-label): `button' may now be a string.
4696 (button-activate): Don't make it a defsubst.
4697 (button--area-button-p, button--area-button-string): New functions.
4698 (make-text-button): Fix the return value when `beg' was a string.
4699 (push-button): Handle the mode-line case.
4701 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4704 (sql-signum): Remove. Use `cl-signum' instead.
4705 (sql-read-passwd): Remove; use read-passwd instread.
4706 (sql-get-login-ext): Use read-string.
4707 (sql-get-login): Use dolist and pcase.
4708 (sql--completion-table): Rename from sql-try-completion.
4709 Use complete-with-action.
4710 (sql-mode): Don't change abbrev-all-caps globally.
4711 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4712 (sql-postgres-completion-object): Initialize vars in their `let'.
4713 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4714 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4715 (sql-comint-interbase): Use a single append, without setq.
4716 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4718 * hi-lock.el: Rework the default face and the serialize regexp code.
4719 (hi-lock--auto-select-face-defaults): Remove.
4720 (hi-lock-string-serialize-serial): Remove.
4721 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4723 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4725 (hi-lock-set-pattern): Adjust accordingly.
4726 (hi-lock--regexps-at-point): Simplify accordingly.
4727 (hi-lock--auto-select-face-defaults): Remove.
4728 (hi-lock--last-face): New var to replace it.
4729 (hi-lock-read-face-name): Rewrite (bug#11095).
4730 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4732 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4734 * net/tramp.el (tramp-replace-environment-variables):
4735 Hide compiler warning.
4736 (tramp-file-name-for-operation): Remove `executable-find',
4737 `start-process', `call-process' and `call-process-region'.
4739 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4741 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4744 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4746 2012-12-06 Chong Yidong <cyd@gnu.org>
4748 * ffap.el (ffap-replace-file-component): Fix typo.
4750 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4753 fix open-paren-like token test (bug#12785).
4755 2012-12-06 Glenn Morris <rgm@gnu.org>
4757 * mail/rmailsum.el (rmail-new-summary): Tweak for
4758 rmail-maybe-display-summary changing buffer. (Bug#13066)
4760 2012-12-06 Juri Linkov <juri@jurta.org>
4762 * info.el (Info-fontify-node): Don't hide the last newline.
4765 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4767 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4768 so as to enable message-read-from-minibuffer to expand mail aliases.
4770 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4773 the `intangible' property.
4774 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4776 2012-12-05 Deniz Dogan <deniz@dogan.se>
4778 * net/rcirc.el (rcirc-urls): Update documentation.
4779 (rcirc-condition-filter): New function.
4780 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4781 and exclude consecutive duplicate URLs (Bug#6082).
4783 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4786 Check return code of copy command.
4788 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4789 Use group `tramp'. Add version.
4791 2012-12-05 Chong Yidong <cyd@gnu.org>
4793 * ffap.el (ffap-url-regexp): Don't require matching at front of
4795 (ffap-url-p): If only a substring matches, return that.
4796 (ffap-url-at-point): Use the return value of ffap-url-p.
4797 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4798 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4799 (ffap-guess-file-name-at-point): Likewise.
4800 (ffap-replace-file-component): Fix typo.
4802 * info.el (info-display-manual): Add existing Info buffers, whose
4803 files may not be in Info-directory-list, to the completion.
4804 (info--manual-names): New helper function.
4806 2012-12-05 Glenn Morris <rgm@gnu.org>
4808 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4809 New functions, for detecting and resolving conflicts. (Bug#10709)
4811 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4813 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4814 (hi-lock-auto-select-face-defaults): New buffer local variable.
4815 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4816 (hi-lock-unface-buffer): Prompt user with useful defaults.
4817 With prefix arg, unhighlight all hi-lock patterns in buffer.
4819 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4821 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4823 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4825 * Makefile.in (TRAMP_SRC):
4826 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4828 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4830 * net/tramp-adb.el: New package.
4832 2012-12-04 Chong Yidong <cyd@gnu.org>
4834 * terminal.el: Move to obsolete/.
4836 * longlines.el: Move to obsolete/.
4838 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4839 Remove code referring to longlines mode.
4841 2012-12-03 Juri Linkov <juri@jurta.org>
4843 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4845 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4847 * textmodes/ispell.el (ispell-init-process)
4848 (ispell-start-process, ispell-internal-change-dictionary):
4849 Make sure personal dictionary name is expanded after initial
4850 `default-directory' value. Use expanded strings for
4851 keep/restart checks and for value (Bug#13019).
4853 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4855 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4857 2012-12-03 Leo Liu <sdl.web@gmail.com>
4859 * files.el (dir-locals-read-from-file): Check file non-empty
4860 before reading. (Bug#13038)
4862 2012-12-03 Glenn Morris <rgm@gnu.org>
4864 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4865 Remove any version extension before checking filename. (Bug#13006)
4866 (jka-compr-compression-info-list): Belated :version bump.
4868 2012-12-03 Chong Yidong <cyd@gnu.org>
4870 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4872 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4873 (buffer-menu): Doc fix (Bug#12294).
4875 2012-12-03 Roland Winkler <winkler@gnu.org>
4877 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4878 of diary-show-all-entries in the diary buffer (Bug#12994).
4880 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4882 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4883 "<STDIN>". This is binary safe.
4885 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4887 * calc/calc-forms.el (math-absolute-from-iso-dt)
4888 (math-date-to-iso-dt, math-parse-iso-date-validate)
4889 (math-iso-dt-to-date): New functions.
4890 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4891 (math-fd-isoweekday): New variables.
4892 (calc-date-notation, math-parse-standard-date, math-format-date)
4893 (math-format-date-part): Add support for more formatting codes.
4895 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4897 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4898 current buffer's file name when called interactively (Bug#12488).
4900 2012-12-02 Juri Linkov <juri@jurta.org>
4902 * info.el (info-display-manual): Don't clobber an existing Info
4903 buffer (Bug#10770). Add completion (Bug#10771).
4905 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4907 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4908 before using it for comparison (Bug#5297).
4910 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4912 * textmodes/css-mode.el (css-current-defun-name): New function.
4915 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4916 (html-mode): Use it.
4918 2012-12-01 Chong Yidong <cyd@gnu.org>
4920 Modularize add-log-current-defun (Bug#2224).
4921 Suggested by Jari Aalto.
4923 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4924 (add-log-current-defun): Move mode-specific code to other files.
4925 (add-log-lisp-like-modes, add-log-c-like-modes)
4926 (add-log-tex-like-modes): Variables deleted.
4928 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4929 (lisp-mode-variables): Use it.
4931 * progmodes/cc-mode.el (c-common-init):
4932 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4933 add-log-current-defun-function.
4935 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4938 * progmodes/perl-mode.el (perl-current-defun-name): New.
4939 (perl-mode): Use it.
4941 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4942 Use lisp-current-defun-name.
4944 * textmodes/tex-mode.el (tex-current-defun-name): New.
4945 (tex-common-initialization): Use it.
4947 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4948 (texinfo-mode): Use it.
4950 2012-12-01 Chong Yidong <cyd@gnu.org>
4952 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4953 * progmodes/autoconf.el (autoconf-mode):
4954 * progmodes/js.el (js-mode):
4955 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4956 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4957 * progmodes/perl-mode.el (perl-mode):
4958 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4959 * textmodes/css-mode.el (css-mode):
4960 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4961 (sgml-tags-invisible, sgml-guess-indent):
4962 * textmodes/tex-mode.el (tex-common-initialization)
4963 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4964 (doctex-mode, plain-tex-mode, latex-mode):
4965 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4967 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4969 * vc/vc-hg.el (vc-hg-next-revision):
4970 Ensure use of default "tip" output format. (Bug#6968)
4972 2012-12-01 Kim F. Storm <storm@cua.dk>
4974 * startup.el (fancy-startup-tail): Add a clickable link
4977 2012-12-01 Chong Yidong <cyd@gnu.org>
4979 * startup.el (fancy-startup-tail): Improve the message about
4980 auto-save files (Bug#2176).
4982 * files.el (recover-session): Improve the descriptive message, and
4983 use substitute-command-keys.
4985 2012-12-01 Glenn Morris <rgm@gnu.org>
4987 * ido.el (ido-file-internal):
4988 Handle other-window, other-frame for dired. (Bug#13036)
4990 2012-11-30 Glenn Morris <rgm@gnu.org>
4992 * icomplete.el (icomplete-separator): Fix :version.
4994 2012-11-30 Chong Yidong <cyd@gnu.org>
4996 * shell.el (shell): For C-u M-x shell, use an inactive shell
4997 buffer as the default (Bug#1975).
4998 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4999 (shell-mode): Use them to reapply ansi colorization if Shell mode
5002 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5004 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5006 2012-11-30 Samuel Bronson <naesten@gmail.com>
5008 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5009 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5011 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5013 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5014 by move-to-column (Bug#3234).
5016 2012-11-30 Chong Yidong <cyd@gnu.org>
5018 * longlines.el (longlines-wrap-line, longlines-encode-region):
5019 Preserve text properties (Bug#1425).
5021 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5023 * vc/vc.el (vc-register): Allow registering a file which is
5024 already registered with a different backend (Bug#10589).
5026 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5027 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * icomplete.el: Change separator; add ido-style commands.
5030 (icomplete-show-key-bindings): Remove custom var.
5031 (icomplete-get-keys): Remove function.
5032 (icomplete-forward-completions, icomplete-backward-completions):
5034 (icomplete-minibuffer-map): New var.
5035 (icomplete-minibuffer-setup): Use it.
5036 (icomplete-exhibit): Don't delay if the list of completions is known.
5037 (icomplete-separator): New custom.
5038 (icomplete-completions): Use it.
5039 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5040 (minibuffer-force-complete-and-exit): New command.
5041 (minibuffer--complete-and-exit): New function extracted from
5042 minibuffer-complete-and-exit.
5043 (minibuffer-complete-and-exit): Use it.
5045 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5046 error message when the file doesn't exist (bug#12974).
5048 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5050 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5052 2012-11-29 Glenn Morris <rgm@gnu.org>
5054 * files.el (hack-dir-local-variables): Warn if try to set
5055 coding via dir-locals, since it doesn't work. (Bug#7169)
5057 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5058 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5059 Set buffer-local value of desktop-save-buffer.
5060 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5062 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5063 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5065 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5066 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5068 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5071 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5073 * calc/calc-forms.el (calc-date-notation): Fix regexp
5074 used to find time codes. Fix symbol for seconds.
5076 2012-11-27 Glenn Morris <rgm@gnu.org>
5078 * emacs-lisp/derived.el (derived-mode-make-docstring):
5079 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5081 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5083 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5084 lexically scoped variables (bug#13005).
5086 2012-11-27 Glenn Morris <rgm@gnu.org>
5088 * vc/vc-hooks.el (vc-mistrust-permissions):
5089 Default to t, to avoid data-loss. (Bug#11490)
5091 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5093 * progmodes/python.el (python-indent-guess-indent-offset):
5094 If indentation is guessed make python-indent-offset buffer-local.
5096 Fix Imenu regression.
5097 * progmodes/python.el (python-nav-beginning-of-defun):
5098 Fix forward movement when statement(s) separates point from defun.
5099 (python-imenu-prev-index-position): New function.
5101 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5103 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5105 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5106 Don't set buffer-file-type. Return nil. (Bug#12989)
5108 2012-11-27 Glenn Morris <rgm@gnu.org>
5110 * hippie-exp.el (hippie-expand-try-functions-list):
5111 Re-autoload it. (Bug#12982)
5113 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5115 * descr-text.el (describe-char-padded-string):
5116 Call internal-char-font only on GUI frames. (Bug#11964)
5118 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5120 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5121 and obsoletion message.
5123 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5125 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5126 the constructs to keep outside of the `cl-block' (bug#12977).
5128 2012-11-27 Chong Yidong <cyd@gnu.org>
5130 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5131 keep reading until we get the up-event anyway, in order to process
5132 the up-event for mouse-1-click-follows-link (Bug#12971).
5134 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5137 base function is not yet defined (bug#12965).
5138 (ad-activate-advised-definition): Use ad-compile-function.
5139 (ad-activate): Use cond.
5141 2012-11-25 Leo Liu <sdl.web@gmail.com>
5143 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5146 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5148 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5149 reftex-section-info-function in order to be compatible with
5150 Texinfo integration.
5152 * textmodes/reftex.el (reftex-section-pre-regexp)
5153 (reftex-section-post-regexp, reftex-section-info-function):
5155 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5156 reftex-section-post-regexp, and reftex-section-info-function in order
5157 to be compatible with Texinfo integration.
5159 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5160 use reftex-section-pre-regexp variable in order to be compatible with
5161 Texinfo integration.
5163 2012-11-25 Chong Yidong <cyd@gnu.org>
5165 * faces.el: Make face-spec-set more analogous to setq.
5166 (face-spec-set): Change the third arg to specify whether this
5167 function is being called via defface, customize, or a third party.
5168 Set the appropriate symbol properties. Clear the override spec if
5169 setting via Custom. Initialize face if necessary. (Bug#4988)
5170 (face-spec-recalc): Allow theme faces to completely replace the
5171 defface spec, in the same way as custom faces (Bug#8454).
5173 * cus-face.el (custom-declare-face): Move face initialization to
5175 (custom-theme-set-faces): Don't initialize the face name here, as
5176 that is now done in face-spec-set.
5178 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5179 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5180 Simplify by using the new arg to face-spec-set.
5182 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5183 reset face-override-spec too, and use custom-declare-face.
5185 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5187 * term/ns-win.el (ns-initialize-window-system): Move creation of
5188 fontsets here (Bug#11964).
5190 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5192 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5195 2012-11-24 Chong Yidong <cyd@gnu.org>
5197 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5200 * custom.el (custom-theme-set-variables): Use a topological sort
5201 for ordering by custom dependencies (Bug#12952).
5202 (custom--sort-vars, custom--sort-vars-1): New functions.
5204 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5207 lexical-binding (bug#12938).
5209 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5211 * image-mode.el (image-transform-check-size): Use assertions only
5212 for images of type imagemagick.
5214 Otherwise no error, image-transform-fit-to-{width,height} is
5215 silently ignored, as before. Doc fix.
5217 2012-11-24 Chong Yidong <cyd@gnu.org>
5219 * faces.el (color-defined-p): Doc fix (Bug#12853).
5221 2012-11-24 Juri Linkov <juri@jurta.org>
5223 * dired.el (dired-mark): Add optional arg `interactive'.
5224 Check for `use-region-p' if `interactive' is non-nil.
5225 (dired-unmark, dired-flag-file-deletion): Add optional arg
5226 `interactive'. Call `dired-mark' with the arg `interactive'.
5229 * wdired.el: Revert 2012-10-17 change partly and replace it with
5230 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5231 (wdired-finish-edit): Add marks for new file names to
5232 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5233 after `revert-buffer'.
5234 (wdired-do-renames): Remove calls to `dired-remove-file',
5235 `dired-add-file', `dired-add-entry'. (Bug#11795)
5237 2012-11-24 Alan Mackenzie <acm@muc.de>
5239 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5241 Fix bugs in the state cache. Enhance a debugging mechanism.
5242 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5243 "brace at column zero" strategy for C++.
5244 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5245 (c-parse-state-point): New variable.
5246 (c-record-parse-state-state): Record old parse state with
5247 `copy-tree'. Record previous value of point.
5248 (c-debug-parse-state-double-cons): New debugging function.
5249 (c-debug-parse-state): Call the above new function.
5250 (c-toggle-parse-state-debug): Output a confirmatory message.
5252 * progmodes/cc-mode.el (c-before-change, c-after-change):
5253 Call c-invalidate-state-cache from `c-before-change' instead of
5256 2012-11-23 Chong Yidong <cyd@gnu.org>
5258 * find-cmd.el (find-constituents): Add executable, ipath,
5259 readable, samefile, writable, daystart, regextype (Bug#12856).
5261 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5263 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5265 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5267 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5268 definition. This fixes a bootstrap failure.
5269 (calc-gregorian-switch): In menu, put dates before regions.
5270 This is easier to follow, lines up better in the menu, and lets us
5271 coalesce regions that switch at the same time. Give country
5272 names, not "Vatican", as that's better for non-expert users.
5273 Use names that are stable between the date of switch and now, e.g.,
5274 Bohemia and Moravia (which existed then and now) and not
5275 Czechoslovakia (which didn't exist then and doesn't exist now).
5276 What is now the U.S. mostly did not switch at the same time as
5277 Britain, so omit the U.S. Correct spelling of "Britain".
5278 Catholic Switzerland was too much of a mess, so omit it.
5280 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5282 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5283 after the variable is changed.
5285 2012-11-21 Daniel Colascione <dancol@dancol.org>
5287 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5288 in SQL declarations for font-lock.
5289 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5291 2012-11-21 Glenn Morris <rgm@gnu.org>
5293 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5294 (face-italic-p): Add optional argument "inherit".
5296 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5297 Remove -p suffix from names, for consistency with other set-face-*.
5298 (set-face-inverse-video): Fix interactive spec.
5299 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5300 * textmodes/table.el (table--update-cell-face):
5301 Use set-face-inverse-video rather than now obsolete alias.
5303 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5305 * simple.el (line-move): Don't call line-move-partial if
5306 scroll-conservatively is in effect. (Bug#12927)
5308 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5310 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5311 Fallback on completion-at-point rather than
5312 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5313 (eshell-cmpl-initialize): Setup completion-at-point.
5315 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5317 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5319 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5321 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5322 are remote, check out-of-band property for both.
5324 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5326 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5329 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5331 More minor time fixes.
5332 * calendar/time-date.el: Commentary fix.
5333 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5334 too much other code depends on (0 0) time stamps.
5335 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5336 Add a couple of FIXME comments.
5338 Minor cleanup for times as lists of four integers.
5339 * files.el (dir-locals-directory-cache):
5340 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5342 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5343 * ps-bdf.el (bdf-file-newer-than-time):
5344 Process four-integers time stamps, not two. Doc fixes.
5346 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * uniquify.el (uniquify-managed): Use defvar-local.
5349 (rename-buffer, create-file-buffer): Advise with advice-add.
5350 (uniquify-unload-function): Unadvise accordingly.
5352 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5353 (trace-buffer): Don't purecopy.
5354 (trace-entry-message, trace-exit-message): Add `context' arg.
5355 (trace--timer): New var.
5356 (trace-make-advice): Adjust for use in nadvice.
5357 Add `context' argument. Delay `display-buffer' via a timer.
5358 (trace-function-internal): Use advice-add.
5359 (trace--read-args): New function.
5360 (trace-function-foreground, trace-function-background): Use it.
5361 (trace-function): Rename to trace-function-foreground and redefine as
5362 an alias to that new name.
5363 (untrace-function, untrace-all): Adjust to the use of nadvice.
5365 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5367 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5369 * subr.el (called-interactively-p-functions): New var.
5370 (internal--called-interactively-p--get-frame): New macro.
5371 (called-interactively-p, interactive-p): Rewrite in Lisp.
5372 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5373 (called-interactively-p-functions): Use it.
5374 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5375 (called-interactively-p-functions): Use it.
5376 * allout.el (allout-called-interactively-p): Don't assume
5377 called-interactively-p is a subr.
5379 2012-11-20 Glenn Morris <rgm@gnu.org>
5381 * profiler.el (profiler-report-mode-map): Add a menu.
5382 No need to bind `q' because we derive from special-mode.
5383 (profiler-report-find-entry): Handle calls from the menu-bar.
5385 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5387 * emacs-lisp/byte-run.el (defun-declarations-alist):
5388 Allow a compiler-macro to be a lambda expression.
5390 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5392 (python-syntax-context): Add compiler-macro.
5393 (python-font-lock-keywords): Simplify with De Morgan.
5395 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5397 * files.el (load-file): Require match in minibuffer selection, as was
5398 the case in Emacs-20 before we changed the spec to allow .elc files
5401 * json.el: Don't require cl since we don't use it.
5402 * color.el: Don't require cl.
5403 (color-complement): `caddr' -> `nth 2'.
5405 * calendar/time-date.el (time-to-seconds): De-obsolete.
5407 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5409 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5411 (math-date-to-julian-dt): Adjust the initial approximation for the
5412 year to deal with the new definition of the DATE.
5414 2012-11-19 Daniel Colascione <dancol@dancol.org>
5416 * term/w32-win.el (cygwin-convert-path-from-windows):
5417 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5419 2012-11-18 Chong Yidong <cyd@gnu.org>
5421 * filecache.el (file-cache--read-list): New function.
5422 (file-cache-add-directory-list, file-cache-add-file-list)
5423 (file-cache-delete-file-list, file-cache-delete-directory-list):
5424 Use it to read a list of files or directories (Bug#12846).
5425 (file-cache-add-file, file-cache-add-directory)
5426 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5427 (file-cache-delete-directory): Print an message.
5429 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5431 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5432 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5434 2012-11-18 Glenn Morris <rgm@gnu.org>
5436 * image.el (insert-image, insert-sliced-image): Doc fix.
5438 2012-11-18 Chong Yidong <cyd@gnu.org>
5440 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5443 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5445 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5446 response when the target file is in a subdirectory (Bug#12757).
5448 2012-11-18 Chong Yidong <cyd@gnu.org>
5450 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5452 2012-11-18 Glenn Morris <rgm@gnu.org>
5454 * emacs-lisp/cl-lib.el (face-underline-p):
5455 Use set-face-underline rather than the alias set-face-underline-p.
5457 * window.el (with-temp-buffer-window): Doc fix.
5458 * subr.el (with-output-to-temp-buffer):
5459 Add doc xref to with-temp-buffer-window.
5461 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5463 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5464 * calc/calc.el (math-format-date-cache): Declare.
5466 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5468 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5469 It also uses January 1, 1 AD as its day number 1.
5470 * calc/calc-forms.el (math-julian-date-beginning)
5471 (math-julian-date-beginning-int): Implement this.
5473 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5475 * descr-text.el (quail-find-key):
5476 * dired.el (desktop-file-name):
5477 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5478 * generic-x.el (comint-mode, comint-exec):
5479 * image-dired.el (widget-forward):
5480 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5481 (speedbar-change-expand-button-char)
5482 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5483 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5484 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5485 (widget-field-action, widget-value-set):
5486 * speedbar.el (imenu--make-index-alist):
5487 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5488 (ring-length, ring-insert):
5489 * vcursor.el (compare-windows-skip-whitespace):
5490 * woman.el (dired-get-filename):
5493 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5495 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5497 * calc/calc.el (calc-gregorian-switch): New variable.
5499 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5500 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5501 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5502 (math-leap-year-p): Add option to distinguish between Julian
5503 and Gregorian calendars.
5504 (math-day-number): Use `math-day-in-year' to do the computations.
5505 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5506 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5507 to do the computations.
5508 (math-date-to-dt): Use `math-date-to-julian-dt' and
5509 `math-date-to-gregorian-dt' to do the computations.
5510 (calcFunc-weekday, math-format-date-part): Use the new version of
5511 the DATE to determine the weekday.
5512 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5515 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5517 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5518 Cygwin; otherwise use 'file:'. (Bug#12914)
5519 (cygwin-convert-path-from-windows): Declare, to avoid
5520 byte-compiler warnings.
5522 2012-11-17 Andreas Politz <politza@fh-trier.de>
5524 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5525 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5526 prefix and negative numeric prefix args (Bug#12795).
5528 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5530 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5531 Don't signal an error with a score that is too low to add to the
5532 list of top scores. (Bug#12779)
5534 2012-11-17 Chong Yidong <cyd@gnu.org>
5536 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5538 * filecache.el (file-cache-add-file): Handle relative file name in
5539 the argument (Bug#12694).
5541 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5543 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5545 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5547 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5549 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5551 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5553 * window.el (enlarge-window, shrink-window): Don't mention return
5554 value in doc-string (Bug#12896).
5555 (window--display-buffer): Don't resize frames - it won't work
5556 with all window managers and defeat pop-up-frame-alist.
5557 (display-buffer-alist): In doc-string explain that CONDITION can
5558 be a function and which arguments are passed to it (Bug#12854).
5559 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5560 expressions (Bug#12854).
5561 (display-buffer): Pass ACTION argument to
5562 display-buffer-assq-regexp.
5564 2012-11-16 Glenn Morris <rgm@gnu.org>
5566 * window.el (fit-frame-to-buffer-bottom-margin)
5567 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5569 * faces.el (face-underline-p): Use face-attribute-specified-or.
5571 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5573 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5575 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5577 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5579 2012-11-16 Glenn Morris <rgm@gnu.org>
5581 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5582 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5584 * faces.el (face-underline-p): Doc fix. Handle :underline being
5585 things other than `t' (a string, a list).
5586 (face-inverse-video-p): Doc fix.
5587 (set-face-underline): Rename it back from set-face-underline-p.
5588 Doc fix. Allow interactive input of values other than t.
5589 (read-face-attribute): Apply formatting to :underline,
5590 since like :box and :stipple it can take list values.
5592 * term.el (ansi-term): Don't let C-x escape-char binding
5593 clobber the more standard C-c binding. (Bug#12842)
5595 * subr.el (set-temporary-overlay-map): Doc fix.
5597 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5599 * window.el (record-window-buffer)
5600 (display-buffer-record-window): When copying the markers to
5601 window-point preserve window-point-insertion-type. (Bug#12588)
5603 2012-11-16 Glenn Morris <rgm@gnu.org>
5605 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5606 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5607 Use new names for hooks rather than obsolete aliases.
5609 2012-11-15 Daniel Colascione <dancol@dancol.org>
5611 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5612 prefix instead of "file:" so that when FILE-NAME begins with "//",
5613 as it does when the target file is on a network share, url-handler
5616 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5618 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5619 a preactivated advice from an old advice.el; they're not compatible!
5621 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5623 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5624 Fix string-spec case.
5626 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5628 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5631 (advice--buffer-local-function-sample): New var.
5632 (advice--set-buffer-local, advice--buffer-local): New functions.
5633 (add-function, remove-function): Use them.
5635 2012-11-15 Drew Adams <drew.adams@oracle.com>
5637 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5639 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5642 potential binding of print-gensym to t, and prettify (back)quotes in
5643 case they appear in args's default values (bug#12884).
5645 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5648 (advice-eval-interactive-spec): New function.
5649 (advice--make-interactive-form): Support around advice (bug#12844).
5651 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5653 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5654 more strict. Add docstring.
5655 (ruby-expression-expansion-re): Extract from
5656 `ruby-match-expression-expansion'.
5657 (ruby-syntax-propertize-function): After everything else, search
5658 for expansions in string literals, mark their insides as
5659 whitespace syntax and save match data for font-lock.
5660 (ruby-font-lock-keywords): Use the 2nd group from expression
5662 (ruby-match-expression-expansion): Use the match data saved to the
5663 text property in ruby-syntax-propertize-function.
5665 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5667 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5670 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5672 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5673 start/end keyword a bit harder. Works with different values of N.
5675 (ruby-end-of-block): Update accordingly.
5677 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5679 * woman.el (woman-file-name): Don't mess with unread-command-events
5682 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5683 Remove out of date self-require hack.
5684 (ad-do-advised-functions): Use simple `dolist'.
5685 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5686 (ad-advice-definition): Redefine as functions.
5687 (ad-advice-classes): Move before first use.
5688 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5689 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5690 (ad--defalias-fset): Remove functions.
5691 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5692 (ad-get-orig-definition): Rewrite.
5693 (ad-make-advised-definition-docstring): Change base docstring.
5694 (ad-real-orig-definition): Rewrite.
5695 (ad-map-arglists): Change name of called function.
5696 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5697 (ad-make-advised-definition): Simplify.
5698 (ad-assemble-advised-definition): Tweak for new calling context.
5699 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5700 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5701 function and call ad-activate if needed.
5702 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5703 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5704 (ad-compile-function): Compile ad-Advice-*.
5705 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5706 (ad-start-advice, ad-stop-advice): Remove.
5708 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5710 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5711 period before class method names, not after. Remove handling of
5712 one impossible case. Add comments.
5714 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5716 * emacs-lisp/advice.el: Remove support for freezing.
5717 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5718 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5719 Remove support for `freeze'.
5721 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5722 override the default.
5723 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5725 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5728 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5730 (advice--strip-macro): New function.
5731 (advice--defalias-fset): Use them to handle macros.
5732 (advice-add): Use them.
5733 (advice-member-p): Correctly handle macros.
5735 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5737 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5738 Never font-lock the beginning of singleton class as heredoc.
5740 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5742 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5744 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5746 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5747 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5748 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5750 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5752 Fix end-of-defun misbehavior.
5753 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5754 python-beginning-of-defun-function. Handle nested defuns
5756 (python-nav-end-of-defun): Rename from
5757 python-end-of-defun-function. Ensure forward movement.
5758 (python-info-current-defun): Reimplement to work as intended
5759 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5760 parent defuns as soon as possible.
5762 2012-11-13 Glenn Morris <rgm@gnu.org>
5764 * progmodes/flymake.el (flymake-error-bitmap)
5765 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5766 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5768 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5770 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5771 backward, always stop at indentation. Reverts the change from
5772 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5774 2012-11-13 Glenn Morris <rgm@gnu.org>
5776 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5777 Add ibuffer-filter-by-derived-mode.
5779 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5780 the same name shadowing each other.
5782 * window.el (with-temp-buffer-window): Doc tweak.
5784 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5786 * help.el (temp-buffer-max-height):
5787 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5788 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5790 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * emacs-lisp/nadvice.el: New package.
5793 * subr.el (special-form-p): New function.
5794 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5795 (elp-all-instrumented-list): Remove var.
5796 (elp-not-profilable): Remove elp-wrapper.
5797 (elp-profilable-p): Use autoloadp and special-form-p.
5798 (elp--advice-name): New const.
5799 (elp-instrument-function): Use advice-add.
5800 (elp--instrumented-p): New predicate.
5801 (elp-restore-function): Use advice-remove.
5802 (elp-restore-all, elp-reset-all): Use mapatoms.
5803 (elp-set-master): Use elp--instrumented-p.
5804 (elp--make-wrapper): Rename from elp-wrapper, return a function
5805 suitable for advice-add. Use cl-inf.
5806 (elp-results): Use mapatoms+elp--instrumented-p.
5807 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5808 (debug-function-list): Remove var.
5809 (debug): Rename arg, and then let-bind it explicitly inside.
5810 (debugger-setup-buffer): Rename arg.
5811 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5812 (debugger-frame-number): Adjust to new debug-on-entry setup.
5813 (debug--implement-debug-on-entry): Rename from
5814 implement-debug-on-entry, add argument.
5815 (debugger-special-form-p): Remove, use special-form-p instead.
5816 (debug-on-entry): Use advice-add.
5817 (debug--function-list): New function.
5818 (cancel-debug-on-entry): Use it, along with advice-remove.
5819 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5820 (debugger-list-functions): Use debug--function-list instead of
5821 debug-function-list.
5822 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5823 (ad-special-form-p): Remove, use special-form-p instead.
5824 (ad-set-advice-info): Use add-function and remove-function.
5825 (ad--defalias-fset): Adjust accordingly.
5827 2012-11-10 Glenn Morris <rgm@gnu.org>
5829 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5830 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5831 (report-emacs-bug-create-existing-bugs-buffer)
5832 (report-emacs-bug-parse-query-results)
5833 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5835 * term.el (term-default-fg-color, term-default-bg-color):
5836 Make obsolete, rather than just saying "deprecated" in the doc.
5838 * term.el (term): Rename from `term-face'.
5839 (term-current-face, ansi-term-color-vector)
5840 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5843 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5845 * server.el (server-create-window-system-frame): Handle Nextstep
5846 specially (Bug#12780).
5848 2012-11-10 Glenn Morris <rgm@gnu.org>
5850 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5851 Unautoload, and make obsolete. (Bug#7449)
5853 2012-11-10 Chong Yidong <cyd@gnu.org>
5855 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5856 rename from diff-remove-trailing-whitespace (Bug#12831).
5858 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5861 miscompilation of trace.el.
5863 2012-11-10 Glenn Morris <rgm@gnu.org>
5865 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5867 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5872 2012-11-10 Chong Yidong <cyd@gnu.org>
5874 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5875 a defcustom with an appropriate :set function.
5876 (minibuffer-default--in-prompt-regexps): New function.
5878 2012-11-10 Glenn Morris <rgm@gnu.org>
5880 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5881 (define-modify-macro): Doc fixes.
5883 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5884 (gv-define-simple-setter): Update doc of `fix-return'.
5886 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5888 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5889 twice when `fix-return' is set (bug#12813).
5891 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5892 gv-define-simple-setter (bug#12812).
5894 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5897 2012-11-10 Glenn Morris <rgm@gnu.org>
5899 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5901 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5902 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5903 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5904 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5906 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5908 2012-11-10 Leo Liu <sdl.web@gmail.com>
5910 * ido.el (ido-set-matches-1): Improve flex matching performance by
5911 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5913 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5915 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5916 (ad--defalias-fset): New function.
5917 (ad-safe-fset): Remove.
5918 (ad-make-freeze-definition): Use cl-letf*.
5920 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * subr.el (dolist): Don't bind VAR in RESULT.
5924 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5925 (fset, documentation): Don't save real def since we don't advise.
5926 (ad-do-advised-functions): Remove problematic `result-form'.
5927 (ad-safe-fset): `ad-real-fset' => `fset'.
5928 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5929 uses CL's dolist internally.
5930 (ad-arglist): Remove unused arg `name'.
5931 (ad-docstring, ad-make-advised-docstring):
5932 `ad-real-documentation' => `documentation'.
5933 (warning-suppress-types): Declare.
5934 (ad-set-arguments): Simple CSE.
5935 (ad-recover-normality): Sanity check.
5937 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5938 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5940 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5942 * ses.el: symbol to coordinate mapping is made by symbol property
5943 `ses-cell'. This means that the same mapping is done for all SES
5944 sheets. That is good enough for cells with standard A1 names, but
5945 not for named cell. So a hash map is added for the latter.
5946 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5947 (ses-sym-rowcol): Use hashmap for named cell.
5948 (ses-is-cell-sym-p): New defun.
5949 (ses-decode-cell-symbol): New defun.
5950 (ses-create-cell-variable): Add cell to hashmap when name is not
5952 (ses-rename-cell): Check that cell new name is not already in
5953 spreadsheet with the use of ses-is-cell-sym-p
5954 (ses-rename-cell): Use hash map for named cells, but accept also
5955 renaming back to A1-like.
5957 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * emacs-lisp/advice.el: Use new dynamic docstrings.
5960 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5961 Use dynamic-docstring-function instead of ad-advice-info.
5962 (ad--make-advised-docstring): New function extracted from
5963 ad-make-advised-docstring.
5964 (ad-make-advised-docstring): Use it.
5965 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5967 (sql-help): Use it with dynamic-docstring-function.
5969 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5971 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * files.el (hack-one-local-variable--obsolete): New function.
5974 (hack-one-local-variable): Use it for obsolete settings.
5976 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5979 * progmodes/js.el (js--filling-paragraph): New var.
5980 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5981 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5984 2012-11-08 Julien Danjou <julien@danjou.info>
5986 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5987 `auto-mode-alist' (Bug#12835).
5989 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5991 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5992 (perl--prettify-symbols-alist): New const.
5993 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5995 (perl-font-lock-keywords-2): Use them.
5996 (perl-electric-noindent-p): New function.
5997 (perl-mode): Use it to set up electric-indent-mode.
5998 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5999 (perl-mode-map): Remove bindings for them.
6000 (perl-imenu-generic-expression, perl-outline-level):
6001 Match functions&packages in column>0.
6003 * env.el (env--substitute-vars-regexp): New const.
6004 (substitute-env-vars): Use it. Add `only-defined' arg.
6005 * net/tramp.el (tramp-replace-environment-variables): Use it.
6007 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6008 Byte-compile *before* eval in eval-and-compile.
6009 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6010 (byte-compile-file-form-autoload): Don't hide actual definition.
6011 (byte-compile-maybe-guarded): Accept `functionp' as well.
6013 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6015 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6017 * notifications.el (notifications-get-server-information-method):
6019 (notifications-get-capabilities): Fix docstring.
6020 (notifications-get-server-information): New defun.
6022 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6024 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6027 * textmodes/ispell.el: Experimental support for support debugging.
6028 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6030 (ispell-print-if-debug): New function to print stuff to
6031 `ispell-debug-buffer' if debugging is enabled.
6032 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6033 show some debugging info.
6034 (ispell-buffer-with-debug): New function that creates a debugging
6035 buffer and calls `ispell-buffer' with debugging enabled.
6037 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6038 comment in autoconf mode. (Bug#12768)
6040 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6042 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6043 frame-first-window, frame-root-window, frame-selected-window,
6044 minibuffer-selected-window, minibuffer-window,
6045 window-absolute-pixel-edges, window-at, window-body-height,
6046 window-body-width, window-display-table, window-combination-limit,
6047 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6048 window-inside-edges, window-inside-pixel-edges, window-left-child,
6049 window-left-column, window-margins, window-next-buffers,
6050 window-next-sibling, window-new-normal, window-new-total,
6051 window-normal-size, window-parameter, window-parameters, window-parent,
6052 window-pixel-edges, window-point, window-prev-buffers,
6053 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6054 window-start, window-text-height, window-top-child, window-top-line,
6055 window-total-height, window-total-width and window-use-time to the list
6056 of functions without side-effects.
6057 (toplevel): Add window-valid-p to the list of error-free functions
6058 without side-effects.
6060 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6062 * textmodes/ispell.el (ispell-program-name):
6063 Update spellchecker parameters when customized.
6065 2012-11-04 Glenn Morris <rgm@gnu.org>
6067 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6069 2012-11-04 Chong Yidong <cyd@gnu.org>
6071 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6072 same-window-* variables.
6074 2012-11-04 Juri Linkov <juri@jurta.org>
6076 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6077 (isearch-describe-key, isearch-describe-mode): Use a display
6078 action instead of binding same-window-* variables (Bug#10040).
6080 2012-11-03 Glenn Morris <rgm@gnu.org>
6082 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6083 Rename handler properties back from cl-- to cl-. (Bug#12788)
6085 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6087 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6089 * term/pc-win.el: Don't load term/internal from here.
6091 * loadup.el: Load term/internal from here.
6093 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6095 * progmodes/python.el (inferior-python-mode): Fix hang in
6096 jit-lock (Bug#12645).
6098 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6100 * window.el (switch-to-visible-buffer)
6101 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6103 2012-11-03 Glenn Morris <rgm@gnu.org>
6105 * emacs-lisp/cl-lib.el (cl--random-time):
6106 Rename from cl-random-time. (Bug#12773)
6107 (cl--gensym-counter, cl--random-state): Update callers.
6108 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6110 2012-11-03 Chong Yidong <cyd@gnu.org>
6112 * cus-start.el: Make cursor-type customizable (Bug#11633).
6114 2012-11-02 Glenn Morris <rgm@gnu.org>
6116 * filecache.el: No need to load find-lisp when compiling.
6117 (find-lisp-find-files): Autoload it.
6118 (file-cache-add-directory-recursively): Don't require find-lisp.
6120 * image.el (image-type-from-file-name): Trivial simplification.
6122 * emacs-lisp/bytecomp.el (byte-compile-eval):
6123 Decouple "noruntime" and "cl-functions" warnings.
6125 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6127 * play/gomoku.el (gomoku-display-statistics): Update mode line
6128 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6130 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6132 * window.el (quit-restore-window): If the window has been
6133 created on an existing frame and ended up as the sole window on
6134 that frame, do not delete it (Bug#12764).
6136 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6139 Rename from sh--inside-arithmetic-expression, handle more cases
6142 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6143 (sh-font-lock-open-heredoc): Use it (bug#12770).
6145 2012-10-30 Glenn Morris <rgm@gnu.org>
6147 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6149 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6151 2012-10-29 Chong Yidong <cyd@gnu.org>
6153 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6154 function key is stored in a keyboard macro (Bug#4894).
6156 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6158 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6162 (diff-unified->context, diff-context->unified)
6163 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6165 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6167 * files.el (find-alternate-file): Only ask one question (bug#12487).
6169 2012-10-29 Chong Yidong <cyd@gnu.org>
6171 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6172 Suggested by Dan Nicolaescu (Bug#6326).
6174 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6176 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6178 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6180 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6182 * face-remap.el (face-remap-add-relative): Handle the case where a
6183 face-remapping-alist entry is a cons cell (Bug#12762).
6185 2012-10-29 Kevin Ryde <user42@zip.com.au>
6187 * woman.el (woman-parse-numeric-value): Handle picas correctly
6190 2012-10-29 Glenn Morris <rgm@gnu.org>
6192 * emacs-lisp/cl.el (defsetf): Doc fix.
6194 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6197 syntax to the matching opener, if any (bug#12547).
6198 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6199 matching open as a "case-(".
6200 (sh-smie-rc-grammar): Add a corresponding rule for it.
6202 2012-10-28 Daniel Hackney <dan@haxney.org>
6204 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6205 "PKGNAME-autoloads.el" in case we created it.
6207 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6210 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6211 (completion--twq-all): Disable too-strict assertions.
6213 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6215 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6217 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6218 text to match the real keybindings.
6220 2012-10-27 Juri Linkov <juri@jurta.org>
6222 * wdired.el (wdired-keep-marker-rename): New defcustom.
6223 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6226 * dired.el (dired-keep-marker-rename): Add reference to
6227 `wdired-keep-marker-rename' in the docstring.
6228 Add default character value ?R to display initially in
6229 Customization UI instead of ?@.
6231 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6233 * window.el (display-buffer): In doc-string describe
6234 window-height and window-width alist entries.
6236 * time.el (display-time-world): Restore fit-window-to-buffer
6239 2012-10-27 Chong Yidong <cyd@gnu.org>
6241 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6243 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6245 * minibuffer.el (completion-category-overrides): New completion
6246 category `bookmark' (bug#11131).
6248 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6250 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6251 Silence bogus compiler warnings for ad-do-it.
6253 * bookmark.el (bookmark-completing-read): Set the completion category
6254 to `bookmark' (bug#11131).
6256 2012-10-26 Bastien <bzg@altern.org>
6257 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * face-remap.el: Use lexical-binding.
6260 (text-scale-adjust): Improve docstring. Use itself for the temporary
6261 overlay-map bindings, so as to repeat the "Use..." message each time.
6263 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * emacs-lisp/macroexp.el (macroexp--expand-all):
6266 Obey byte-compile-warning-enabled-p (bug#12486).
6268 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6269 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6271 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6273 * mouse.el (mouse-drag-line): Move last form into preceding when
6276 * help.el (resize-temp-buffer-window): Fix doc-string.
6278 2012-10-25 David Engster <deng@randomsample.de>
6280 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6281 Remove. This feature is already integrated in imenu.
6283 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6284 always loaded. Require `speedbar' unconditionally.
6286 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6288 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6290 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6292 * net/ldap.el (ldap-search-internal): The official ldif format starts
6293 with a "version: 1" header (bug#12724).
6295 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6298 2012-10-25 Glenn Morris <rgm@gnu.org>
6300 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6302 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6304 * minibuffer.el (minibuffer-force-complete): Use one more marker
6305 for the temporary-overlay-map command (bug#12619).
6307 2012-10-24 Chong Yidong <cyd@gnu.org>
6309 * time.el (display-time-world-mode): Derive from special-mode.
6310 (display-time-world): Use display-buffer (Bug#12708).
6311 (display-time-world-mode-map): Variable deleted.
6312 (display-time-world-display): Wrap the final delete-char inside
6315 2012-10-24 Chong Yidong <cyd@gnu.org>
6317 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6320 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6322 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6324 * minibuffer.el (completion--all-sorted-completions-location): New var.
6325 (completion--cache-all-sorted-completions)
6326 (completion--flush-all-sorted-completions): Use it.
6327 (completion-in-region, completion-in-region--postch)
6328 (completion-at-point, completion-help-at-point): Use markers in
6329 completion-in-region--data (bug#12619).
6331 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * progmodes/compile.el (compilation-start): Try to handle common
6334 quoting of `cd' argument (bug#12640).
6336 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6339 2012-10-23 Glenn Morris <rgm@gnu.org>
6341 * progmodes/gud.el (gud-menu-map):
6342 Check gdb-active-process is bound. (Bug#12358)
6344 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * repeat.el (repeat): Set real-this-command (bug#12232).
6348 * htmlfontify.el (hfy-post-html-hook):
6349 * filesets.el (filesets-cache-fill-content-hook):
6350 * arc-mode.el (archive-extract-hook):
6351 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6352 * net/rcirc.el (rcirc-sentinel-functions)
6353 (rcirc-receive-message-functions, rcirc-activity-functions)
6354 (rcirc-print-functions):
6355 * net/dbus.el (dbus-event-error-functions):
6356 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6357 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6358 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6359 * term/sun.el (sun-raw-prefix-hooks):
6360 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6362 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6364 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6365 Set `tramp-chunksize' to 1. This improves the performance.
6366 (tramp-smb-wait-for-output): Add timeout to
6367 `tramp-accept-process-output' calls.
6369 2012-10-23 Chong Yidong <cyd@gnu.org>
6371 * faces.el (font-list-limit): Define as an obsolete variable.
6373 * startup.el (command-line):
6374 * cus-start.el: Don't refer to font-list-limit.
6376 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6378 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * subr.el (internal-temp-output-buffer-show): Rename from
6381 temp-output-buffer-show, since previously compiled files expect this name.
6383 2012-10-23 Glenn Morris <rgm@gnu.org>
6385 * image.el (image-type-from-file-name): If multiple types match,
6386 return the first one that is supported. (Bug#9045)
6388 2012-10-22 Glenn Morris <rgm@gnu.org>
6390 * image.el (imagemagick-enabled-types): Doc fix.
6392 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6394 * progmodes/which-func.el (which-func-current): The hash-table may have
6395 an explicit nil (bug#12338).
6397 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6399 * electric.el (electric-pair-delete-selection-self-insert-function):
6400 Rename to electric-pair-will-use-region, return a boolean.
6401 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6403 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6404 (delete-selection-pre-hook): Use use-region-p.
6405 (delete-selection-self-insert-function): Remove.
6406 (self-insert-command): Obey self-insert-uses-region-functions.
6407 (self-insert-iso): Revert to previous setting, since we don't actually
6408 know what that command does.
6409 (delete-selection-self-insert-hooks): Remove.
6411 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6413 * delsel.el (delete-selection-helper): New function, extracted from
6414 delete-selection-pre-hook.
6415 (delete-selection-pre-hook): Use it.
6416 (delete-selection-self-insert-function): New function.
6417 (delete-selection-self-insert-hooks): New hook.
6418 (self-insert-command, self-insert-iso): Use it.
6419 * electric.el (electric-pair-syntax): New function, extracted from
6420 electric-pair-post-self-insert-function.
6421 (electric-pair-post-self-insert-function): Use it.
6422 (electric-pair-delete-selection-self-insert-function): New function.
6423 (electric-pair-mode): Require delsel and setup
6424 delete-selection-self-insert-hooks (bug#11520).
6426 2012-10-20 Chong Yidong <cyd@gnu.org>
6428 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6429 no changes to show (Bug#12586).
6431 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6432 list explicitly (Bug#12571).
6434 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6436 * progmodes/flymake.el (flymake-create-temp-inplace):
6439 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6441 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6443 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6445 * calc/calc-units.el (math-extract-units): Properly extract powers
6448 2012-10-20 Daniel Colascione <dancol@dancol.org>
6450 * frame.el (make-frame): Set x-display-name as we used to in order
6451 to unbreak creating an X11 frame from an Emacs daemon started
6454 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6457 the same completion-field (bug#12221).
6459 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6461 * emacs-lisp/debug.el (debug): Record height of debugger window
6462 also when debugger will be back (Bug#8789).
6464 2012-10-18 Chong Yidong <cyd@gnu.org>
6466 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6467 Convert to defcustom.
6468 (gdb-get-source-file): Don't bind pop-up-windows.
6470 * progmodes/gud.el (gud-display-line): Don't specially re-use
6471 other frames for the gdb-mi case (Bug#12648).
6473 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6475 * emacs-lisp/advice.el: Clean up commentary a bit.
6476 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6477 (byte-code-function-p): Never redefine.
6479 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6481 2012-10-18 Glenn Morris <rgm@gnu.org>
6483 * dired.el (dired-sort-toggle): Some ls implementations only allow
6484 a single option string. (Bug#12666)
6486 * minibuffer.el (completion-cycle-threshold): Doc fix.
6488 2012-10-17 Kenichi Handa <handa@gnu.org>
6490 * international/mule.el (set-keyboard-coding-system):
6491 Recover input meta mode when the new coding system doesn not use 8-bit.
6492 Supply TERMINAL arg to set-input-meta-mode.
6494 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6496 * wdired.el (wdired-old-marks): New variable.
6497 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6498 (wdired-do-renames): Move point with renamed file and don't lose
6499 mark status (Bug#11795).
6501 2012-10-16 Juri Linkov <juri@jurta.org>
6503 * replace.el (query-replace-help): Mention multi-buffer replacement
6504 keys in the Help message. (Bug#12655)
6506 2012-10-15 Chong Yidong <cyd@gnu.org>
6508 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6510 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6512 * window.el (display-buffer): Doc fix.
6514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6515 Adjust the msft regexp to the output of Studio 2010, and move msft
6516 before edg-1. See the discussion on emacs-devel,
6517 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6520 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6523 (oset): Move uses of object-class-fast macro after its definition.
6525 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6527 2012-10-13 Chong Yidong <cyd@gnu.org>
6529 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6530 enabled, re-enable it (Bug#11963).
6532 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6534 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6535 non-nil, restore window configuration (Bug#12623).
6537 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6539 * help-fns.el (describe-variable, describe-function-1):
6540 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6542 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6544 2012-10-12 Glenn Morris <rgm@gnu.org>
6546 * mail/rmailsum.el (rmail-header-summary):
6547 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6549 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6551 * progmodes/python.el (python-mode-map):
6552 Replace subtitute-key-definition with proper command remapping.
6553 (python-nav--up-list): Fix behavior for blocks on the same level.
6555 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6559 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6560 changes to the format of load-history.
6562 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6563 completion-ignore-case in case that var is buffer-local (bug#12615).
6565 2012-10-11 Kenichi Handa <handa@gnu.org>
6567 * international/eucjp-ms.el: Re-generated.
6569 2012-10-10 Kenichi Handa <handa@gnu.org>
6571 * select.el (xselect--encode-string): If a coding is specified for
6572 selection, and that is compatible with COMPOUND_TEXT, use it.
6574 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6576 * window.el (switch-to-buffer-preserve-window-point): New option.
6578 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6580 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6582 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6583 Don't document nil as a useful value (bug#12583).
6585 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6587 * net/tramp.el (tramp-debug-message):
6588 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6589 (with-tramp-progress-reporter): Rename from
6590 `tramp-with-progress-reporter'.
6591 (with-tramp-file-property, with-tramp-connection-property):
6592 Move from tramp-cache.el, rename from `with-file-property' and
6593 `with-connection-property', respectively.
6595 * net/tramp-cache.el: Remove `with-file-property' and
6596 `with-connection-property'.
6599 * net/tramp-gvfs.el:
6601 * net/tramp-smb.el: Adapt callees.
6603 * net/trampver.el: Update release number.
6605 2012-10-09 Glenn Morris <rgm@gnu.org>
6607 * w32-fns.el (set-message-beep):
6608 * term/w32-win.el (set-message-beep): Update declarations.
6610 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6613 (mode-line-widen, mode-line-input-method-map)
6614 (mode-line-coding-system-map, mode-line-remote)
6615 (mode-line-unbury-buffer, mode-line-bury-buffer)
6616 (mode-line-next-buffer, mode-line-previous-buffer):
6617 Replace save-selected-window+select-window => with-selected-window.
6619 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6620 * progmodes/cc-vars.el (bq-process): Remove, unused.
6622 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6624 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6626 Implemented `backward-up-list'-like navigation.
6627 * progmodes/python.el (python-nav-up-list)
6628 (python-nav-backward-up-list): New functions.
6629 (python-mode-map): Define substitute key for backward-up-list to
6630 python-nav-backward-up-list.
6632 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6634 * progmodes/python.el (python-fill-paragraph): Rename from
6635 python-fill-paragraph-function. Fixed fill-paragraph for
6636 decorators (Bug#12605).
6638 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6640 * progmodes/python.el (python-shell-output-filter): Handle extra
6641 carriage return in OSX (Bug#12409).
6643 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6645 Fix shell handling of unbalanced quotes and parens in output.
6646 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6647 (python-syntax-propertize-function): Use it.
6648 (python-shell-output-syntax-table): New var.
6649 (inferior-python-mode): Prevent unbalanced parens/quotes from
6650 previous output mess with current input context.
6652 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6654 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6655 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6657 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6659 * ffap.el (ffap-replace-file-component): Support Tramp file name
6660 syntax, not only ange-ftp's one.
6662 2012-10-08 Glenn Morris <rgm@gnu.org>
6664 * cus-start.el (message-log-max): Set :version.
6666 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6668 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6670 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6671 the minibuffer window (Bug#10851).
6673 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6675 Enhancements on forward-sexp movement.
6676 * progmodes/python.el (python-nav-beginning-of-statement)
6677 (python-nav-end-of-statement): Return point-marker.
6678 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6679 (python-info-current-symbol)
6680 (python-info-statement-starts-block-p): Rename from
6681 python-info-beginning-of-block-p.
6682 (python-info-statement-ends-block-p): Rename from
6683 python-info-end-of-block-p.
6684 (python-info-beginning-of-statement-p)
6685 (python-info-end-of-statement-p)
6686 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6689 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6692 frame-selected-windows.
6694 2012-10-08 Daniel Colascione <dancol@dancol.org>
6696 * battery.el (battery-status-function): Check for
6697 w32-battery-status itself, not system-time windows-nt.
6699 * frame.el: Require cl-lib.
6700 (display-format-alist): New variable mapping frame types to
6701 functions that initialize them.
6702 (window-system-for-display): New function: interprets
6703 display-format-alist.
6704 (make-frame-on-display): Remove existing display-selection logic
6705 and just forward to make-frame, which will now DTRT.
6706 (make-frame): Restructure to use window-system-for-display to
6707 figure out how to create a frame on a given display.
6708 (display-mouse-p): Look for frame-type w32, not a particular
6711 * loadup.el: Load w32 lisp code when we have the w32 feature.
6713 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6714 system-type windows-nt.
6716 * server.el (server-create-window-system-frame): Look for window
6718 (server-proces-filter): Only force a window system when windows-nt
6719 _and_ w32. Explain why.
6721 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6722 of window systems we configure for the mode.
6724 * startup.el (command-line): Mark window system is initialized
6725 after we've done it.
6727 * common-win.el (x-select-text): Look for w32, not windows-nt.
6729 * ns-win.el: Require cl-lib. Add ourselves to
6730 display-format-alist.
6731 (ns-initialize-window-system): Assert we're not initialized twice.
6733 * w32-win.el: Enable lexical binding; require cl-lib; add
6734 ourselves to display-format-alist.
6735 (w32-handle-dropped-file): Convert incoming dropped files from
6736 Windows paths to Cygwin ones before passing them on to the rest of
6738 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6739 (w32-initialize-window-system): Assert we're not initialized twice.
6741 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6742 (x-initialize-window-system): Assert we're not initialized twice.
6744 * w32-common-fns.el: New File.
6745 (w32-version, w32-using-nt, w32-get-clipboard-data)
6746 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6747 (w32-charset-info-alist, x-last-selected, text)
6748 (x-get-selection-value, x-selection-value): Move here.
6750 * w32-fns.el: Require w32-common-fns.
6751 (w32-version, w32-using-nt, w32-get-clipboard-data)
6752 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6753 (w32-charset-info-alist, x-last-selected, text)
6754 (x-get-selection-value, x-selection-value): Move to
6758 (w32-allow-system-shell, w32-system-shells): Define only in
6761 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6764 (read-passwd): Remove a few more potential sources of leaks.
6766 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6768 * progmodes/python.el (inferior-python-mode)
6769 (python-shell-make-comint): Fix initialization of local
6770 variables copied from parent buffer.
6772 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6774 * term/ns-win.el (ns-read-file-name): Update declaration to match
6776 (ns-respond-to-change-font): Change fontsize separately so we are sure
6777 it is set when font is acted upon.
6779 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6781 Enhancements to indentation.
6782 * progmodes/python.el (python-indent-context): Give priority to
6783 inside-string context. Make comments indentation markers.
6784 (python-indent-region): Do not mess with strings, unless it's the
6785 enclosing set of quotes.
6787 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * window.el (internal--before-save-selected-window)
6790 (internal--after-save-selected-window): New functions extracted from
6791 save-selected-window. Make sure we return the `alist' we construct.
6792 (save-selected-window): Use them.
6794 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6795 Use with-selected-window.
6797 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6798 forms that define macros (bug#12593).
6800 2012-10-07 Kenichi Handa <handa@gnu.org>
6802 * international/mule-conf.el (compound-text-with-extensions):
6803 Add :mime-charset property as x-ctext.
6805 2012-10-07 Stefan Merten <smerten@oekonux.de>
6807 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6808 (rst-indent-literal-normal, rst-indent-literal-minimized)
6809 (rst-indent-comment): Correct :version tag.
6810 (rst-official-cvs-rev): Correct version string.
6812 2012-10-07 Glenn Morris <rgm@gnu.org>
6814 * mail/rmailmm.el (rmail-mime-process-multipart):
6815 Do not confuse a multipart message with an epilogue
6816 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6818 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6820 Fix shell output retrieval and comint-prompt-regexp init.
6821 * progmodes/python.el (inferior-python-mode):
6822 (python-shell-make-comint): Fix initialization of
6823 comint-prompt-regexp from copied file local variables.
6824 (python-shell-fetched-lines): Remove var.
6825 (python-shell-output-filter-in-progress): Rename from
6826 python-shell-fetch-lines-in-progress.
6827 (python-shell-output-filter-buffer): Rename from
6828 python-shell-fetch-lines-string.
6829 (python-shell-fetch-lines-filter): Delete function.
6830 (python-shell-output-filter): New function.
6831 (python-shell-send-string-no-output): Use them.
6833 2012-10-07 Glenn Morris <rgm@gnu.org>
6835 * hi-lock.el (hi-lock-process-phrase):
6836 Try to make it less fragile. (Bug#7161)
6838 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6840 2012-10-06 Glenn Morris <rgm@gnu.org>
6842 * ehelp.el (electric-help-mode): Use help-mode rather than
6843 non-existent mode `help'.
6844 (electric-help-map): Use button-buffer-map. (Bug#10917)
6846 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6847 (reftex-create-bibtex-footer): Fix custom types.
6849 * progmodes/sh-script.el (sh-indent-after-continuation):
6850 Add explicit :group.
6852 * textmodes/rst.el (rst-preferred-decorations)
6853 (rst-shift-basic-offset): Clarify obsolescence versions.
6855 * profiler.el (profiler): Add missing group :version tag.
6856 * avoid.el (mouse-avoidance-banish-position):
6857 * proced.el (proced-renice-command):
6858 * calc/calc.el (calc-ensure-consistent-units):
6859 * calendar/icalendar.el (icalendar-import-format-uid):
6860 * net/tramp.el (tramp-save-ad-hoc-proxies):
6861 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6862 * progmodes/flymake.el (flymake-error-bitmap)
6863 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6864 * progmodes/sh-script.el (sh-indent-after-continuation):
6865 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6866 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6867 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6868 (vhdl-array-index-record-field-in-sensitivity-list)
6869 (vhdl-indent-comment-like-next-code-line):
6870 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6871 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6872 (reftex-cite-key-separator, reftex-create-bibtex-header)
6873 (reftex-create-bibtex-footer):
6874 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6875 (rst-indent-literal-normal, rst-indent-literal-minimized)
6876 (rst-indent-comment): Add missing custom :version tags.
6878 * calendar/timeclock.el (timeclock-modeline-display):
6879 Add missing obsolete alias for renamed user option.
6881 * strokes.el (strokes-modeline-string):
6882 * emulation/crisp.el (crisp-mode-modeline-string):
6883 * eshell/esh-mode.el (eshell-status-in-modeline):
6884 Aliases to defcustoms must come before the defcustom.
6886 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6887 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6888 (cal-tex-cursor-week-monday): Doc fixes.
6889 (cal-tex-cursor-week2-summary): Doc fix.
6890 Rename from cal-tex-cursor-week-at-a-glance.
6892 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6893 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6895 * calendar/calendar.el (calendar-mode-map):
6896 Add cal-tex-cursor-week2-summary.
6898 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6900 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6902 * subr.el (read-passwd-map): New var.
6903 (read-passwd): Use `read-string' again.
6904 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6906 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6908 * register.el (append-to-register, prepend-to-register):
6909 Deactivate mark, as does `copy-to-register' (bug#12389).
6911 2012-10-06 Chong Yidong <cyd@gnu.org>
6913 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6915 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6917 * international/characters.el: Fix simple mistake ((car chars) ->
6918 elt), delete duplicated code.
6920 2012-10-06 Glenn Morris <rgm@gnu.org>
6922 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6924 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6926 * color.el (color-hsl-to-rgb): Fix incorrect results for
6927 small and large hue values. (Bug#12559)
6929 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6931 Enhancements to docstring formatting when filling paragraphs.
6932 * progmodes/python.el (python-fill-docstring-style): Rename from
6933 python-fill-string-style. Added new style.
6934 (python-fill-string): Use new style. Better checks for
6937 2012-10-05 Glenn Morris <rgm@gnu.org>
6939 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6941 * color.el (color-name-to-rgb, color-rgb-to-hex)
6942 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6943 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6944 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6945 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6947 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6949 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6951 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6952 to get the correct size across symlinks.
6954 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6956 2012-10-04 Juri Linkov <juri@jurta.org>
6958 * replace.el (query-replace-interactive): Declare obsolete.
6959 (query-replace-read-from): Add the last incremental search string
6960 to the list of default values accessible via M-n.
6961 (map-query-replace-regexp): Use `read-regexp'.
6962 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6963 (map-query-replace-regexp, replace-string, replace-regexp):
6964 Fix docstrings to replace mentions of `query-replace-interactive'
6965 with alternatives. (Bug#12526)
6967 2012-10-04 Juri Linkov <juri@jurta.org>
6969 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6970 (dired-pop-to-buffer): Declare obsolete.
6971 (dired-mark-pop-up): Doc fix.
6973 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6975 Allow user to set docstring style for fill-paragraph.
6976 * progmodes/python.el
6977 (python-fill-comment-function, python-fill-string-function)
6978 (python-fill-decorator-function, python-fill-paren-function):
6979 Remove :safe for defcustoms.
6980 (python-fill-string-style): New defcustom
6981 (python-fill-paragraph-function): Enhance context detection.
6982 (python-fill-string): Honor python-fill-string-style settings.
6984 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6986 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6987 after setting its buffer (Bug#10805).
6989 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6991 Fix cornercase for string syntax.
6992 * progmodes/python.el (python-syntax-propertize-function):
6993 Simplify and enhance the regexp for unescaped quotes. Now it also
6994 matches quotes in weird situations like the single quote in
6996 (python-syntax-stringify): Simplify num-quotes detecting code.
6998 2012-10-03 Glenn Morris <rgm@gnu.org>
7000 * help-macro.el (three-step-help):
7001 Revert 2012-09-29 change. (Bug#12567)
7003 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7005 * menu-bar.el (kill-this-buffer): Don't do anything when
7006 `menu-frame' is not alive or visible (Bug#8184).
7008 * emacs-lisp/debug.el (debug): When quitting the debugger window
7009 restore current buffer (Bug#12502).
7011 2012-10-02 Chong Yidong <cyd@gnu.org>
7013 * progmodes/hideif.el (hif-lookup, hif-defined):
7014 Handle semantic-c-takeover-hideif.
7016 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7018 Change sampling interval units from ms to ns.
7019 * profiler.el (profiler-sampling-interval): Change units
7020 from ms to ns, multiplying the default by 1000000 so that
7022 (profiler-report-cpu-line-format): Give enough room for
7023 the maximum counters on 64-bit hosts.
7024 (profiler-report-render-calltree-1): Call them "CPU samples",
7025 not "Time (ms)", since they are not milliseconds now (and
7028 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7030 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7031 Fix querying BBDB for entries without a last name (Bug#11580).
7033 2012-10-02 Chong Yidong <cyd@gnu.org>
7035 * emacs-lisp/eieio.el: Restore Version header.
7037 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * vc/diff-mode.el (diff--auto-refine-data): New var.
7040 (diff-hunk): Use it to delay refinement.
7041 (diff-mode): Remove overlays when we turn off font-lock.
7043 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7044 (table-initialize-table-fixed-width-mode)
7045 (table-set-table-fixed-width-mode): Remove functions.
7046 (table-command-list): Move initialization into declaration.
7047 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7048 (table-with-cache-buffer): Use `declare'.
7049 (table-span-cell): Simplify via CSE.
7050 (table-fixed-width-mode): Use define-minor-mode.
7051 (table-call-interactively, table-funcall, table-apply): Remove.
7052 (table-function): New function, to replace them.
7054 * bookmark.el (bookmark-search-pattern): Remove var.
7055 (bookmark-read-search-input): Remove function.
7056 (bookmark-bmenu-search): Reimplement using a minibuffer.
7058 * faces.el (modeline): Remove obsolete face name.
7060 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7061 and give a non-nil default value.
7062 (add-change-log-entry): Simplify accordingly.
7064 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7066 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7067 (vc-git-log-edit-toggle-amend): New function.
7068 (vc-git-log-edit-toggle-signoff): New function.
7069 (vc-git-log-edit-mode): New major mode.
7070 (vc-git-log-edit-mode-map): Keymap for it.
7071 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7073 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7075 (log-edit-toggle-header): New function.
7076 (log-edit-extract-headers): Accept function values in HEADERS alist.
7078 2012-10-01 David Engster <deng@randomsample.de>
7080 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7081 from symbol property and change message to be more consistent with
7083 (eieio-describe-generic): Add filename for each implementation.
7084 Fix indices for generic and normal methods.
7085 (eieio-method-def, eieio-class-def): New buttons.
7086 (eieio-help-find-method-definition)
7087 (eieio-help-find-class-definition): New functions.
7088 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7089 class, constructor and method definitions.
7091 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7092 information in symbol property.
7093 (scoped-class): Remove.
7094 (eieio-slot-name-index, call-next-method): Check if it is bound.
7096 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7098 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7099 (eieio-custom-mode): New major mode.
7100 (eieio-customize-object): Use it.
7102 2012-10-01 Eric Ludlam <zappo@gnu.org>
7104 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7105 specifying the expected class, and whether subclassing is allowed.
7106 (eieio-persistent-convert-list-to-object):
7107 (eieio-persistent-validate/fix-slot-value)
7108 (eieio-persistent-slot-type-is-class-p): New functions.
7109 (eieio-named::slot-missing): Doc fix.
7111 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7112 Stop using unused publd variable.
7114 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7115 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7116 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7117 (eieio-speedbar-handle-click): Do not specify a class for the
7118 method. Fixes method invocation order problems with EDE.
7120 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7123 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7125 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7127 * bookmark.el (bookmark-version-control): Give tags in the
7128 :type choices (Bug#12309), and improve doc string.
7129 (bookmark-write-file): Bind `print-circle' to `t' to allow
7130 circular custom bookmark types. (Bug#12503)
7132 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7134 Revert the FOLLOW-SYMLINKS change for file-attributes.
7135 * files.el (remote-file-name-inhibit-cache, after-find-file):
7136 * time.el (display-time-file-nonempty-p): Undo last change.
7138 * profiler.el (profiler-sampling-interval): Change default back to 1.
7139 See Stefan Monnier in
7140 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7142 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7144 Shell output catching a la gud-gdb.
7145 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7146 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7148 (python-shell-fetch-lines-filter): New function.
7149 (python-shell-send-string-no-output): Use them.
7151 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7153 * profiler.el (profiler-sampling-interval): Rename from
7154 profiler-sample-interval.
7155 (profiler-sampling-interval): Default to 10.
7156 (profiler-find-profile): New command (was profiler-find-log).
7157 (profiler-find-profile-other-window): New command.
7158 (profiler-find-profile-other-frame): New command.
7159 (profiler-profile): Introduce API-level data structure.
7161 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7163 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7164 * files.el (remote-file-name-inhibit-cache):
7165 * time.el (display-time-file-nonempty-p): Use it.
7166 * files.el (after-find-file): Don't chase links before calling
7167 file-exists-p, as file-exists-p already does the right thing.
7169 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7171 Merge from standalone RefTeX repository.
7173 The following ChangeLog entries are shortened versions of the
7174 original ones with file paths adapted. A not so strongly edited
7175 version of the original ChangeLog can be found in the commit log.
7177 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7178 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7179 Correctly handle new value type returned by `reftex-citation'.
7181 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7182 that entries with whitespace at various places are found.
7183 Doc fix. Include entries that are cross-referenced from cited entries.
7184 Include @String definitions in the resulting bib file. Add header
7185 and footer defined in `reftex-create-bibtex-header' and
7186 `reftex-create-bibtex-footer'.
7187 (reftex-do-citation): Make it possible again to insert
7188 non-existent entries. Save match data when asking for optional
7189 arguments. Return all keys, not just the first one.
7190 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7191 all citations in the same line.
7192 (reftex-parse-bibtex-entry): Accept additional optional argument
7193 `raw' and keep quotes or braces if it is non-nil. Match fields
7194 containing hyphens besides word constituents.
7195 (reftex-get-string-refs): New function.
7196 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7197 and ask if it should be reread in case it did.
7198 (reftex-pop-to-bibtex-entry)
7199 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7200 entries with spaces or tabs in front of arguments.
7201 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7202 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7203 Match entries containing numbers and symbol constituents.
7204 (reftex-do-citation, reftex-figure-out-cite-format):
7205 Use `reftex-cite-key-separator'.
7207 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7208 (reftex-mouse-view-crossref): Explain why point is set.
7210 * textmodes/reftex-global.el: Whitespace changes.
7212 * textmodes/reftex-index.el: Move provide statement to end of
7214 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7215 (reftex-index-visit-phrases-buffer): Set marker when visiting
7216 buffer. This allows for returning from the phrases file to the
7217 file one was just editing instead of the file where the last
7218 phrases was added from.
7219 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7220 punctuation syntax as it usually is not used as string quote in
7221 TeX-related modes and may occur unmatched. The change also
7222 prevents fontification of quoted content.
7223 (reftex-index-phrases-mode): Use it.
7225 * textmodes/reftex-parse.el (reftex-parse-from-file):
7226 Move backward one char if a `\' was matched after a section macro.
7227 (reftex-parse-from-file): Use beginning of match instead of end as
7230 * textmodes/reftex-ref.el: Adapt creation of
7231 `reftex-<package>-<macro>' functions to new structure of
7232 `reftex-ref-style-alist'.
7233 (reftex-reference): Use `reftex-ref-style-list' function.
7234 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7235 reference macro if `reftex-ref-macro-prompt' is non-nil.
7236 (reftex-reference): Pass refstyle to `reftex-format-special'.
7237 Determine reference macro by looking at
7238 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7239 Use only one special format function.
7240 (reftex-varioref-vref, reftex-fancyref-fref)
7241 (reftex-fancyref-Fref): Remove definitions. The functions are now
7242 generated from `reftex-ref-style-alist'.
7243 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7245 (reftex-format-special): New function.
7247 * textmodes/reftex-sel.el
7248 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7249 of `reftex-ref-style-alist'. Remove code for testing macro type.
7250 (reftex-select-toggle-varioref)
7251 (reftex-select-toggle-fancyref): Remove.
7252 (reftex-select-cycle-ref-style-internal)
7253 (reftex-select-cycle-ref-style-forward)
7254 (reftex-select-cycle-ref-style-backward): New functions.
7255 (reftex-select-label-map): Use `v' and `V' for general cycling
7256 through reference styles. Add `p' for switching between number
7257 and page reference types.
7259 * textmodes/reftex-toc.el (reftex-re-enlarge):
7260 Call `enlarge-window' only if there is something to do because in Emacs
7261 the horizontal version throws an error even if the parameter is 0.
7263 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7264 (reftex-plug-into-AUCTeX): Doc fix.
7265 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7266 string. Adapt to new name.
7267 (reftex-ref-style-alist): Change structure so that it is not
7268 possible to use multiple different package names within a style.
7269 Remove the symbols for symbols for macro type distinction.
7270 Add characters for macro selection.
7271 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7272 (reftex-create-bibtex-footer): New variables.
7273 (reftex-format-ref-function): Mention third argument of special
7275 (reftex-ref-style-alist, reftex-ref-style-default-list):
7277 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7278 to new implementation. Mark as obsolete. Add compatibility code
7279 for honoring the variable values in case they are set.
7280 (reftex-cite-format-builtin, reftex-bibliography-commands):
7281 Add support for ConTeXt.
7282 (reftex-format-ref-function, reftex-format-cite-function):
7284 (reftex-cite-key-separator): New variable.
7286 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7287 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7288 `reftex-syntax-table' because parens have to retain their paren
7289 syntax in order for parsing of BibTeX entries like @book(...) to
7291 (reftex-in-comment): Do not error out if `comment-start-skip' is
7292 not set. Deal correctly with escaped comment characters.
7293 (reftex-tie-multifile-symbols): Add doc string.
7294 Initialize `reftex-ref-style-list'.
7295 (reftex-untie-multifile-symbols): Add doc string.
7296 (reftex-add-index-macros): Doc fix.
7297 (reftex-ref-style-activate, reftex-ref-style-toggle)
7298 (reftex-ref-style-list): New functions.
7299 (reftex-mode-menu): Use them. Adapt to new structure of
7300 `reftex-ref-style-alist'.
7301 (reftex-select-with-char): Kill the RefTeX Select buffer when
7303 (reftex-remove-if): New function.
7304 (reftex-erase-all-selection-and-index-buffers)
7305 (reftex-mode-menu): Reference styles are now computed from
7306 `reftex-ref-style-alist'. Fix typo.
7307 (reftex-report-bug): New function.
7308 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7309 algorithms with O(n log n). Introduce optional argument SORT (not
7312 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7314 Enhancements for triple-quote string syntax.
7315 * progmodes/python.el (python-syntax-propertize-function):
7316 Match both quote cases in one regexp.
7317 (python-syntax-stringify): Handle matches properly.
7319 2012-09-30 Juri Linkov <juri@jurta.org>
7321 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7322 to nil around the call to `insert' to prevent
7323 directory time modification by lock_file. (Bug#2295)
7324 * tar-mode.el (tar-summarize-buffer): Idem.
7326 2012-09-30 Juri Linkov <juri@jurta.org>
7328 * facemenu.el (list-colors-sort): Add option "Luminance".
7329 (list-colors-sort-key): Implement it.
7331 * vc/diff-mode.el (diff-refine-removed):
7332 * vc/ediff-init.el (ediff-fine-diff-A):
7333 * vc/smerge-mode.el (smerge-refined-removed):
7334 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7336 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7338 * term/ns-win.el (x-file-dialog): New function.
7340 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7342 * ido.el (ido-max-directory-size): Default to nil; the current
7343 default is small for POSIX systems, and impractical on Windows 7
7344 now that lstat returns directory sizes for NTFS.
7346 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7348 In buffer display functions handle window-height/window-width
7349 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7350 * window.el (window--display-buffer): New argument ALIST.
7351 Obey window-height and window-width alist entries.
7352 (window--try-to-split-window): New argument ALIST.
7353 Bind window-combination-limit to t when the window's size shall be
7354 changed and window-combination-limit equals `window-size'.
7355 (display-buffer-in-atom-window)
7356 (display-buffer-in-major-side-window)
7357 (display-buffer-in-side-window, display-buffer-same-window)
7358 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7359 (display-buffer-pop-up-window, display-buffer-below-selected)
7360 (display-buffer-at-bottom, display-buffer-in-previous-window)
7361 (display-buffer-use-some-window): Adjust all callers of
7362 window--display-buffer and window--try-to-split-window.
7363 (fit-frame-to-buffer): New option.
7364 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7366 (display-buffer-in-major-side-window): Evaluate window-height /
7367 window-width alist entries.
7369 * help.el (temp-buffer-resize-frames)
7370 (temp-buffer-resize-regexps): Remove options.
7371 (temp-buffer-resize-mode): Adjust doc-string.
7372 (resize-temp-buffer-window): Don't consult
7373 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7374 temp-buffer-resize-frames.
7376 * dired.el (dired-mark-pop-up):
7377 Call display-buffer-below-selected with a fit-window-to-buffer alist
7380 2012-09-30 Chong Yidong <cyd@gnu.org>
7382 * server.el (server-host): Document the security implications.
7383 (server-auth-key): Doc fix.
7385 * startup.el (initial-buffer-choice): Doc fix.
7387 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7389 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7392 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7394 * help-fns.el (help-fns--obsolete): Fix last change.
7396 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7399 (minor-mode-map-alist): Remove redundant code.
7401 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7402 visited in a buffer.
7403 (cvs-insert-visited-file): New function.
7404 (find-file-hook): Use it.
7406 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7408 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7410 (log-edit-empty-buffer-p): Don't require a space after a header.
7412 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7414 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7416 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7417 a proper minor-mode.
7419 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7421 2012-09-29 Glenn Morris <rgm@gnu.org>
7423 * winner.el (winner-mode): Remove variable (let define-minor-mode
7425 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7427 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7428 (winner-mode): Use define-minor-mode.
7430 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7431 the full definition in loaddefs, rather than duplicating it.
7433 * help-macro.el (three-step-help): No need to autoload defcustom.
7435 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7436 (inferior-lisp-program, inferior-lisp-load-command)
7437 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7438 No need to autoload defcustoms.
7440 * hippie-exp.el (hippie-expand-try-functions-list)
7441 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7442 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7443 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7444 (hippie-expand-only-buffers): No need to autoload defcustoms.
7445 * progmodes/vhdl-mode.el (vhdl-line-expand):
7446 Explicitly load hippie-exp, so it does not get autoloaded
7447 while hippie-expand-try-functions-list is let-bound.
7449 2012-09-28 Glenn Morris <rgm@gnu.org>
7451 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7453 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7454 Only "cl.el" counts as cl these days.
7456 2012-09-28 Juri Linkov <juri@jurta.org>
7458 Display archive errors in the echo area instead of inserting
7461 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7462 to STDERR-TEST that can be a regexp matching a successful output.
7463 Create a temporary file and redirect stderr to it. Search for
7464 STDERR-TEST in the stderr output and display it in the echo area
7465 if no match is found.
7466 (archive-extract-by-file): New function like
7467 `archive-extract-by-stdout' but extracting archives to files
7468 and looking for successful matches in stdout. Function body is
7469 mostly copied from `archive-rar-extract'.
7470 (archive-rar-extract): Use `archive-extract-by-file'.
7471 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7473 2012-09-28 Leo Liu <sdl.web@gmail.com>
7475 * pcomplete.el (pcomplete-show-completions):
7476 Use minibuffer-message to make pcomplete usable in minibuffer.
7478 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7480 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7482 * type-break.el: Use lexical-binding.
7483 (type-break-mode): Use define-minor-mode.
7485 * emacs-lisp/pcase.el (pcase--mark-used): New.
7486 (pcase--u1): Use it (bug#12512).
7488 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7489 in load-history with the right file name.
7491 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7493 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7494 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7495 (doc-view-get-bounding-box): Make bounding box slicing work for
7496 ODF and DVI documents.
7498 2012-09-28 Glenn Morris <rgm@gnu.org>
7500 * type-break.el (type-break-mode, type-break-interval)
7501 (type-break-good-rest-interval, type-break-keystroke-threshold):
7502 No need to autoload.
7503 (type-break-good-rest-interval, type-break-keystroke-threshold):
7506 2012-09-28 Chong Yidong <cyd@gnu.org>
7508 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7511 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7513 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7515 2012-09-27 Glenn Morris <rgm@gnu.org>
7517 * faces.el (x-display-name): Declare (for without-x builds).
7519 * linum.el (linum-format): Don't autoload it. Improve :type.
7521 * progmodes/tcl.el: Don't require outline when compiling.
7522 (outline-regexp, outline-level): Declare.
7523 * textmodes/sgml-mode.el: Don't require outline when compiling.
7524 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7526 * term.el (term-ansi-reset):
7527 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7529 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7530 files for RCS and SCCS. (Bug#9781)
7532 2012-09-27 Chong Yidong <cyd@gnu.org>
7534 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7535 change; value should be t.
7537 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7539 * image-mode.el: Use lexical-binding.
7540 (image-mode-winprops): Use t to stand for the window of
7541 a buffer that's not displayed.
7542 * doc-view.el (doc-view-new-window-function): Handle the new
7544 (doc-view-enlarge): Make it a real nop if the size is not changed.
7545 (doc-view-display): Handle the case where the buffer is not (yet?)
7546 displayed in any window.
7547 (doc-view-saved-settings): New var.
7548 (doc-view-mode): Use it.
7549 (doc-view-fallback-mode): Set it.
7551 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7552 Set lexical-binding.
7553 (minibuffer-eldef-shorten-default): New var.
7554 (minibuffer-default-in-prompt-regexps): Use it for new default.
7555 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7557 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7559 * international/uni-bidi.el:
7560 * international/uni-category.el:
7561 * international/uni-name.el:
7562 * international/uni-numeric.el: Regenerate.
7564 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7565 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * profiler.el: New file.
7569 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7571 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7572 (testcover-reinstrument): Simplify with CSE.
7574 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7576 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7578 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7580 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7581 (verilog-auto-input, verilog-auto-insert-lisp)
7582 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7583 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7584 (verilog-auto-unused, verilog-auto-wire)
7585 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7586 newline. Reported by Andrew Jones.
7587 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7588 Reported by Brad Dobbie.
7589 (verilog-batch-delete-trailing-whitespace):
7590 Create verilog-batch-delete-trailing-whitespace.
7591 Reported by Brad Dobbie.
7592 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7593 parameters from another module. Reported by Dan Katz.
7594 (verilog-auto, verilog-auto-assign-modport)
7595 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7596 AUTOINOUTMODPORT for UVM interface module shell generation.
7597 Reported by Brad Dobbie.
7598 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7600 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7601 Reported by Matt Martin.
7603 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7605 * window.el (window--resize-child-windows): When resizing child
7606 windows proportionally, process them in reverse order to
7607 preserve the "when splitting a window the new one gets the odd
7609 (window--resize-root-window-vertically): When resizing the
7610 minibuffer window try to affect only windows at the bottom of the
7613 2012-09-25 Chong Yidong <cyd@gnu.org>
7615 * subr.el (declare): Doc fix.
7617 * help-fns.el (help-fns--obsolete): Handle macros properly.
7619 2012-09-25 Chong Yidong <cyd@gnu.org>
7621 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7622 this function obsolete.
7624 * calendar/cal-x.el (calendar-two-frame-setup)
7625 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7626 * calendar/calendar.el (american-calendar, european-calendar)
7627 (calendar-for-loop):
7628 * comint.el (comint-dynamic-simple-complete)
7629 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7630 * desktop.el (desktop-load-default):
7631 * dired-x.el (dired-omit-here-always)
7632 (dired-hack-local-variables, dired-default-directory):
7633 * emacs-lisp/derived.el (derived-mode-class):
7634 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7635 * emacs-lock.el (toggle-emacs-lock):
7636 * epa.el (epa-display-verify-result):
7637 * epg.el (epg-sign-keys, epg-start-sign-keys)
7638 (epg-passphrase-callback-function):
7639 * eshell/esh-util.el (eshell-for):
7640 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7641 (eshell-add-to-window-buffer-names):
7642 * files.el (locate-file-completion):
7643 * imenu.el (imenu-example--create-c-index)
7644 (imenu-example--create-lisp-index)
7645 (imenu-example--lisp-extract-index-name)
7646 (imenu-example--name-and-position):
7647 * international/mule-cmds.el (princ-list):
7648 * international/mule-diag.el (decode-codepage-char):
7649 * international/mule-util.el (detect-coding-with-priority):
7650 * iswitchb.el (iswitchb-read-buffer):
7651 * mail/mailalias.el (mail-complete):
7652 * mail/sendmail.el (mail-sent-via):
7653 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7654 (mouse-major-mode-menu):
7655 * password-cache.el (password-read-and-add):
7656 * pcomplete.el (pcomplete-parse-comint-arguments):
7657 * progmodes/sh-script.el (sh-maybe-here-document):
7658 * replace.el (query-replace-regexp-eval):
7659 * savehist.el (savehist-load):
7660 * simple.el (choose-completion-delete-max-match):
7661 * term.el (term-dynamic-simple-complete):
7662 * vc/ediff-init.el (ediff-check-version):
7663 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7664 * vc/vc.el (vc-diff-switches-list):
7665 * view.el (view-return-to-alist-update): Likewise.
7667 * subr.el (eval-next-after-load, makehash, insert-string)
7668 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7670 (mode-line-inverse-video): Variable deleted.
7672 * international/mule-util.el (string-to-sequence): Remove.
7674 * calendar/calendar.el (calendar-version):
7675 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7676 (icalendar-convert-diary-to-ical):
7677 * cus-edit.el (custom-mode):
7678 * ansi-color.el (ansi-color-unfontify-region):
7679 * international/latin1-disp.el (latin1-char-displayable-p):
7680 * progmodes/cwarn.el (turn-on-cwarn-mode):
7681 * progmodes/which-func.el (which-func-update-1):
7682 Use define-obsolete-function-alias.
7684 * net/newst-backend.el (newsticker-cache-filename):
7685 * net/newst-treeview.el (newsticker-groups-filename):
7686 Fix incorrect obsolescence declaration.
7688 * allout.el (allout-passphrase-hint-string): Likewise.
7689 (allout-init): Use a declare form to mark obsolete.
7691 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7692 this applies to functions.
7694 * iswitchb.el (iswitchb-read-buffer): Move code of
7695 iswitchb-define-mode-map here, and delete that obsolete function.
7697 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7698 font-lock-reference-face.
7700 2012-09-25 Glenn Morris <rgm@gnu.org>
7702 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7705 * eshell/em-term.el (eshell-term-name):
7706 Default to term-term-name. (Bug#12485)
7708 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7710 * progmodes/python.el (python-shell-send-buffer): Better handling
7711 of "if __name__ == '__main__':" conditionals when sending the buffer.
7713 2012-09-24 Glenn Morris <rgm@gnu.org>
7715 * eshell/esh-cmd.el (eshell-find-alias-function):
7716 Tighten up file-name regexp. (Bug#12499)
7718 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7720 Enhancements for triple-quote string syntax.
7721 * progmodes/python.el (python-quote-syntax): Remove.
7722 (python-syntax-propertize-function): New value.
7723 (python-syntax-count-quotes, python-syntax-stringify):
7726 2012-09-24 Chong Yidong <cyd@gnu.org>
7728 * mail/supercite.el (sc-version): Remove obsolete function.
7729 (sc-describe): Don't mark as obsolete, since it is bound.
7730 (sc-submit-bug-report): Remove.
7732 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7733 (cvs-commit-buffer-require-final-newline): Remove.
7734 (log-edit-require-final-newline)
7735 (log-edit-changelog-full-paragraphs): Default to t.
7737 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7738 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7739 * vc/vc.el (vc-checkout-carefully): Likewise.
7741 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7742 (emerge-version): Remove.
7744 * progmodes/compile.el (compile-internal): Remove.
7745 (compilation-parse-errors-function): Fix typo.
7747 * international/mule.el (set-char-table-default): Remove.
7748 (set-coding-priority, make-coding-system, generic-char-p)
7749 (charset-list, charset-bytes, charset-id): Use declare to mark
7750 functions as obsolete.
7752 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7753 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7754 * vc/vc-hooks.el (vc-default-registered): Don't use
7755 vc-master-templates.
7757 * font-lock.el (font-lock-reference-face):
7758 Use define-obsolete-variable-alias.
7760 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7761 * calendar/calendar.el (calendar-font-lock-keywords):
7762 * calendar/diary-lib.el (diary-font-lock-keywords)
7763 (diary-fancy-font-lock-keywords):
7764 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7765 * textmodes/reftex-index.el (reftex-insert-index):
7766 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7767 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7768 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7769 * progmodes/prolog.el (prolog-font-lock-keywords):
7770 * progmodes/idlwave.el (idlwave-idl-keywords):
7771 * progmodes/ada-mode.el (ada-font-lock-keywords):
7772 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7774 2012-09-24 Glenn Morris <rgm@gnu.org>
7776 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7778 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7780 * progmodes/python.el (python-indent-line): More consistent cursor
7783 2012-09-23 Stefan Merten <smerten@oekonux.de>
7785 * textmodes/rst.el: Fix compiler warning.
7787 2012-09-23 Roland Winkler <winkler@gnu.org>
7789 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7790 Transcribe also LaTeX hyphenation.
7791 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7792 bibtex-reformat-previous-options.
7794 2012-09-23 Roland Winkler <winkler@gnu.org>
7796 * proced.el (proced-renice-command): New variable.
7797 (proced-marked-processes): New function.
7798 (proced-with-processes-buffer): New macro.
7799 (proced-send-signal): Use them.
7800 (proced-renice): New command bound to r.
7802 2012-09-23 Roland Winkler <winkler@gnu.org>
7804 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7805 ibuffer-saved-filter-groups has one element, shortcut the call of
7806 completing-read. (Bug#12331)
7808 2012-09-23 Chong Yidong <cyd@gnu.org>
7810 * bindings.el (mode-line-toggle-read-only):
7811 * bs.el (bs-toggle-readonly):
7812 * buff-menu.el (Buffer-menu-toggle-read-only):
7813 * dired.el (dired-toggle-read-only):
7814 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7816 2012-09-23 Chong Yidong <cyd@gnu.org>
7818 * image.el (image-type-available-p): Adapt to init-image-library
7821 2012-09-22 Juri Linkov <juri@jurta.org>
7823 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7824 `dired-toggle-read-only'. (Bug#12462)
7826 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7828 * subr.el (temp-output-buffer-show): New function.
7829 (with-output-to-temp-buffer): Call temp-output-buffer-show
7830 instead of internal-temp-output-buffer-show.
7832 2012-09-22 Chong Yidong <cyd@gnu.org>
7834 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7837 * repeat.el (repeat): Doc fix (Bug#12348).
7839 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7842 * simple.el (shell-command-on-region): Doc fix.
7843 (read-only-mode): Doc fix.
7845 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7847 * emacs-lisp/timer.el (run-with-idle-timer)
7848 (timer-activate-when-idle): Warn against reinvoking an idle timer
7849 from within its own timer action. (Bug#12447)
7851 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7853 * cus-start.el (window-combination-limit): Add new optional
7855 * window.el (temp-buffer-window-show)
7856 (window--try-to-split-window): Handle new values of
7857 window-combination-limit (Bug#1806).
7858 (split-window): Test window-combination-limit for t instead of
7860 (display-buffer-at-bottom): New buffer display action function.
7861 * help.el (temp-buffer-resize-regexps): New option.
7862 (temp-buffer-resize-mode): Rewrite doc-string.
7863 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7864 Don't resize reused window. Suggested by Glenn Morris.
7866 2012-09-22 Stefan Merten <smerten@oekonux.de>
7868 * textmodes/rst.el: Revamp section title faces.
7869 (rst-official-version)
7870 (rst-package-emacs-version-alist): Sync with official version
7872 (rst-faces-defaults, rst-set-level-default)
7873 (rst-level-face-max, rst-level-face-base-color)
7874 (rst-level-face-base-light, rst-level-face-format-light)
7875 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7876 (rst-adornment-faces-alist): Match new setup.
7877 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7878 (rst-level-5, rst-level-6): New faces.
7880 2012-09-22 Chong Yidong <cyd@gnu.org>
7882 * simple.el (undo): Handle indirect buffers (Bug#8207).
7884 2012-09-21 Leo Liu <sdl.web@gmail.com>
7886 IDO: Disable match re-ordering for buffer switching.
7887 * ido.el (ido-buffer-disable-smart-matches): New variable.
7888 (ido-set-matches-1): Use it. (Bug#2042)
7890 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7892 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7893 Fix 2011-05-17 change. (Bug#12418)
7895 2012-09-21 Leo Liu <sdl.web@gmail.com>
7897 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7899 2012-09-21 Glenn Morris <rgm@gnu.org>
7901 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7902 Be more robust about locating simple.el.
7904 2012-09-21 Glenn Morris <rgm@gnu.org>
7906 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7908 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7910 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7912 2012-09-20 Juri Linkov <juri@jurta.org>
7914 * replace.el (query-replace-read-from): Use `read-regexp' instead
7915 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7916 (occur-read-primary-args): Use `read-regexp' instead of
7918 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7919 `read-from-minibuffer'.
7920 * isearch.el (isearch-occur): Use `read-regexp' instead of
7922 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7923 `read-from-minibuffer'.
7924 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7925 of `read-string'. (Bug#7567)
7927 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7928 and allow accepting a list of strings prepended to a list of
7929 standard default values. Doc fix. (Bug#12321)
7931 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7933 * replace.el (read-regexp): Don't add ": " when PROMPT already
7934 ends with a colon and space. (Bug#12321)
7936 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7938 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7941 2012-09-20 Stefan Merten <smerten@oekonux.de>
7943 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7944 Fixes feature request bug#11711.
7945 (rst-mode): Create `imenu-create-index-function'.
7946 (rst-get-stripped-line): Delete after refactoring.
7947 (rst-section-tree, rst-section-tree-rec)
7948 (rst-section-tree-point): Refactor and document properly.
7949 (rst-imenu-find-adornments-for-position)
7950 (rst-imenu-convert-cell, rst-imenu-create-index):
7953 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7956 (macroexp--expand-all): Use it.
7957 (macroexp--funcall-and-return): Remove by folding it into its sole
7958 caller (macroexp--warn-and-return).
7959 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7960 Use macroexp--obsolete-warning.
7962 * calc/calc.el: Fix last change by removing the whole chunk, since it
7963 was only needed back when Calc was not bundled.
7965 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7967 * emacs-lisp/debug.el (debug): Restore assignment to
7968 debugger-old-buffer removed on 2012-09-08.
7970 2012-09-20 Juri Linkov <juri@jurta.org>
7972 * dired-aux.el (dired-diff): Remove (require 'diff) since
7973 `diff-latest-backup-file' is now autoloaded.
7975 2012-09-20 Chong Yidong <cyd@gnu.org>
7977 * vc/diff.el (diff-latest-backup-file): Autoload.
7979 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7981 * calc/calc.el: Remove redundant autoload shape check.
7982 (sel-mode): Don't defvar.
7983 (calc-get-stack-element): Add `sel-mode' arg instead.
7984 (calc-top, calc-top-list): Pass it this additional argument.
7985 * calc/calc-store.el (calc-store-map):
7986 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7987 (calc-map-equation, calc-outer-product, calc-inner-product):
7988 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7990 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7992 2012-09-19 Juri Linkov <juri@jurta.org>
7994 * dired-aux.el (dired-diff): Add (require 'diff) because
7995 `diff-latest-backup-file' is not autoloaded.
7996 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7997 of `dired-get-filename' to t to not report error when there is
7998 no default file on the current line.
8000 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8002 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8003 macroexp--eval-if-compile.
8004 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8005 (macroexp--expand-all): Use them (bug#12371).
8007 * doc-view.el (doc-view-guess-paper-size)
8008 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8010 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8012 New feature: set optimal slice from BoundingBox information.
8013 * doc-view.el (doc-view-mode-map): Add keybinding.
8014 (doc-view-menu): Add menu entry.
8015 (doc-view-set-slice): Adapt docstring.
8016 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8017 (doc-view-scale-bounding-box)
8018 (doc-view-set-slice-from-bounding-box): New functions.
8019 (doc-view-paper-sizes): New defvar.
8021 2012-09-19 Glenn Morris <rgm@gnu.org>
8023 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8024 (byte-compile-log-warning): Autoload. (Bug#12371)
8026 * calendar/calendar.el (calendar-american-month-header)
8027 (calendar-european-month-header, calendar-iso-month-header)
8028 (calendar-month-header): New options.
8029 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8030 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8032 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8034 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8036 2012-09-18 Juri Linkov <juri@jurta.org>
8038 * dired-aux.el (dired-diff): Restore original functionality of
8039 getting the default value, but keep new feature of using the
8040 latest existing backup file (`diff-latest-backup-file').
8042 2012-09-18 Juri Linkov <juri@jurta.org>
8044 * dired.el (dired-mark): If the region is active in Transient Mark
8045 mode, mark all files in the active region. Doc fix.
8046 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8047 Doc fix. (Bug#10624)
8049 2012-09-18 Juri Linkov <juri@jurta.org>
8051 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8052 attributes for M-n are pulled from the file at point.
8053 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8054 Suggested by Drew Adams. (Bug#10624)
8056 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8058 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8059 whitespace after "end".
8060 (ruby-do-end-to-brace): Collapse block to one line if it fits
8063 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8065 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8067 (debug): Don't remove debugger window when debugger is expected
8070 2012-09-18 Chong Yidong <cyd@gnu.org>
8072 * custom.el (defface): Doc fix.
8074 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8076 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8078 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8079 to initialize query-on-exit; then test that instead (bug#12288).
8081 2012-09-17 Stefan Merten <smerten@oekonux.de>
8083 * textmodes/rst.el: Add support for `testcover'.
8084 (rst-defcustom-testcover, rst-testcover-add-compose)
8085 (rst-testcover-add-1value): New functions.
8086 (rst-portable-mark-active-p): Replace by `use-region-p'.
8087 (rst-update-section, rst-classify-adornment)
8088 (rst-find-title-line): Mark `1value' forms.
8089 (rst-classify-adornment): Remove superfluous form.
8090 (rst-update-section, rst-get-adornments-around)
8091 (rst-adornment-complete-p, rst-get-next-adornment)
8092 (rst-adjust, rst-promote-region)
8093 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8094 (rst-find-pfx-in-region, rst-section-tree-rec)
8095 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8096 (rst-toc-node, rst-toc, rst-forward-section)
8097 (rst-iterate-leftmost-paragraphs)
8098 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8099 (rst-bullet-list-region)
8100 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8101 (rst-compile-find-conf, rst-compile)
8102 (rst-repeat-last-character): Fix style.
8104 2012-09-17 Chong Yidong <cyd@gnu.org>
8106 * comint.el (comint--complete-file-name-data): Don't add a space
8107 if the status is `sole'; that adds a gratuitous space in the
8108 completion-cycling case (Bug#12092).
8110 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8112 2012-09-17 Richard Stallman <rms@gnu.org>
8114 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8115 only in the mime-shown mode, not in raw mode.
8116 (rmail-mime): Toggle off mime by displaying the message without
8117 mime processing. (Bug#12305)
8119 * mail/rmail.el (rmail-retry-failure):
8120 Turn off mime processing first. (Bug#12037)
8122 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8124 2012-09-17 Chong Yidong <cyd@gnu.org>
8126 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8127 (shell-dynamic-complete-functions): Convert to defcustom.
8128 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8130 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8131 * comint.el (comint-prompt-read-only):
8132 * custom.el (defcustom):
8133 * hi-lock.el (hi-lock-mode):
8134 * ibuffer.el (ibuffer-formats):
8135 * ielm.el (ielm-prompt-read-only):
8136 * novice.el (disable-command):
8137 * saveplace.el (toggle-save-place):
8138 * speedbar.el (speedbar-supported-extension-expressions):
8139 * startup.el (auto-save-list-file-prefix, init-file-user)
8140 (after-init-hook, inhibit-startup-echo-area-message):
8141 * strokes.el (strokes-help):
8142 * time-stamp.el (time-stamp):
8143 * calendar/calendar.el (calendar, diary-file):
8144 * calendar/diary-lib.el (diary-mail-entries, diary)
8145 (diary-list-entries-hook):
8146 * calendar/holidays.el (holidays, calendar-holidays):
8147 * calendar/lunar.el (lunar-phases):
8148 * calendar/solar.el (sunrise-sunset):
8149 * emulation/edt.el (edt-load-keys):
8150 * emulation/viper.el (viper-mode):
8151 * eshell/em-alias.el (eshell-command-aliases-list):
8152 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8153 * international/ogonek.el (ogonek-information):
8154 * net/tramp-cmds.el (tramp-bug):
8155 * net/quickurl.el (quickurl-reread-hook-postfix):
8156 * play/decipher.el (decipher-font-lock-keywords):
8157 * progmodes/cc-styles.el (c-set-style):
8158 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8159 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8160 * progmodes/octave-mod.el (octave-mode):
8161 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8162 * progmodes/verilog-mode.el (verilog-read-defines):
8163 * textmodes/two-column.el (2C-mode): Likewise.
8165 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8167 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8168 that holds many addresses.
8170 2012-09-16 Chong Yidong <cyd@gnu.org>
8172 * align.el (align-areas): Call the indication function with
8173 positions instead of markers for arguments (Bug#12343).
8175 * files.el (parse-colon-path): Use split-string (Bug#12351).
8177 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8178 (display-buffer-function): Mark as obsolete.
8180 * progmodes/compile.el (compilation-parse-errors): Accept list
8181 values similar to font-lock-keywords (Bug#12136).
8182 Suggested by Oleksandr Manzyuk.
8183 (compilation-error-regexp-alist): Doc fix.
8185 2012-09-15 Glenn Morris <rgm@gnu.org>
8187 * version.el (emacs-bzr-version-bzr): New function.
8188 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8190 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8191 checkouts, check the parent dirstate matches the branch.
8192 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8195 * version.el (emacs-bzr-version): Doc fix.
8196 (emacs-bzr-version-dirstate): New function.
8197 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8198 is local try and check that it matches the branch. If not, just
8199 use dirstate information. (Bug#12441)
8201 2012-09-14 Juri Linkov <juri@jurta.org>
8203 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8206 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8208 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8210 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8211 Remove obsolete byte-compiler hack that tried to silence some warnings.
8212 (edebug-submit-bug-report): Remove.
8213 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8214 Remove aliases, use the un-prefixed name instead.
8215 (edebug-pop-to-buffer): Consider other frames.
8216 (edebug-original-read):: Make it more obvious that it's always defined.
8217 (edebug--make-form-data-entry, edebug--form-data-name)
8218 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8219 single-dashed name, and implement with cl-defstruct.
8220 (edebug-set-form-data-entry): Use the standard accessors.
8221 (edebug-make-top-form-data-entry): Use push.
8222 (edebug-no-match): Drop useless `funcall'.
8223 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8225 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8226 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8227 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8228 (easy-menu-define, with-custom-print): Remove redundant specs.
8229 (edebug-outside-overriding-local-map)
8230 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8231 (edebug--display): Bind unread-command-events directly to nil rather
8232 than binding it to unread-command-events and later setting it to nil.
8233 (edebug--display): Kill edebug-eval-buffer here...
8234 (edebug--recursive-edit): ...rather than here.
8235 Bind standard-output and standard-input.
8236 (edebug-eval): Check cl-macroexpand-all is fboundp.
8237 (edebug-temp-display-freq-count): Fix last change.
8239 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8240 * subr.el (noreturn, 1value): Add `debug' spec.
8241 * emacs-lisp/advice.el: Require cl-lib.
8242 (ad-copy-tree): Remove, use copy-tree instead.
8243 (ad-dolist): Remove use dolist or cl-dolist instead.
8244 (ad-do-return): Remove, use cl-return instead.
8245 (defadvice): Add `debug' spec.
8247 2012-09-13 Juri Linkov <juri@jurta.org>
8249 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8252 2012-09-13 Glenn Morris <rgm@gnu.org>
8254 * calc/calc.el (math-compose-expr):
8255 * calc/calc-ext.el (math-compose-expr):
8256 * progmodes/cc-defs.el (cl-macroexpand-all):
8257 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8258 (cl-macroexpand-all): Update declarations.
8260 * vc/vc.el: No need to require ediff.
8261 (ediff-load-version-control): Declare.
8262 (ediff-vc-internal): Fix declaration.
8263 (vc-version-ediff): Require ediff.
8265 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8267 Use a more backwards-compatible timer format (Bug#12430).
8268 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8269 being right after USECS, as that better supports old code that
8270 inadvisedly looked directly at the timer vector.
8272 2012-09-13 Kenichi Handa <handa@gnu.org>
8274 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8275 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8276 `coding-priority' property of these language environment.
8278 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8280 Fix glitches caused by addition of psec to timers (Bug#12430).
8281 * image.el (image-animate-timer):
8282 * time.el (display-time-world-timer):
8283 Use timer--function and timer--args rather than raw access to
8286 2012-09-13 Glenn Morris <rgm@gnu.org>
8288 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8289 If not compiling a file, try using load-file-name.
8291 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8295 (edebug-update-eval-list): Use `push'.
8297 * emacs-lisp/edebug.el: Use lexical-binding.
8298 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8299 Mark unused args with underscore.
8300 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8301 (edebug-form-data): Use defvar-local.
8302 (edebug-make-before-and-after-form, edebug-make-after-form):
8304 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8305 Not dynamically scoped any more.
8306 (edebug--enter-trace): Add arguments `function' and `args'.
8307 Rename from edebug-enter-trace.
8308 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8309 (edebug--update-coverage): Add `after-index' and `value' args.
8310 Rename from edebug-update-coverage.
8311 (edebug-slow-after): Call it accordingly.
8312 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8313 edebug-recursive-edit.
8314 (edebug--display): Call it accordingly. Add args `value',
8315 `offset-index', and `arg-mode'. Rename from edebug-display.
8316 (edebug-debugger, edebug): Call it accordingly.
8317 (edebug-eval-display-list): Use dolist.
8319 2012-09-12 Juri Linkov <juri@jurta.org>
8321 * info.el (Info-search): Don't check for isearch-mode and
8322 isearch-regexp before let-binding search-spaces-regexp to
8323 Info-search-whitespace-regexp.
8324 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8325 search-whitespace-regexp if isearch-lax-whitespace or
8326 isearch-regexp-lax-whitespace is non-nil.
8327 (Info-mode): Don't set local variable search-whitespace-regexp.
8328 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8330 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8333 (debugger-env-macro): Remove support for unread-command-char.
8335 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8336 the temporary map re-appearing on emulation-mode-map-alists.
8338 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8341 * ehelp.el (with-electric-help): Accept functions in
8342 electric-help-form-to-execute.
8343 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8344 And replace unread-command-char -> unread-command-events.
8346 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8348 Sync with Tramp 2.2.6.
8350 * net/tramp.el (tramp-accept-process-output): Don't use
8351 JUST-THIS-ONE in the XEmacs case.
8353 * net/trampver.el: Update release number.
8355 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8357 * emacs-lisp/debug.el (debugger-previous-window-height):
8359 (debug): When debugger-jumping-flag is non-nil try to restore
8360 height of debugger window. (Bug#8789)
8362 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8364 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8365 overriding-local-map and pre/post-command-hook here.
8366 (edebug-recursive-edit): Do it here instead (bug#12345).
8367 (edebug-outside-unread-command-char): Remove all uses of
8368 unread-command-char.
8370 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8371 inhibit-debugger is bound instead.
8373 2012-09-11 Bastien Guerry <bzg@gnu.org>
8375 * subr.el (set-temporary-overlay-map): Add a docstring.
8378 2012-09-11 Bastien Guerry <bzg@gnu.org>
8380 * minibuffer.el (completion-table-subvert): Fix docstring.
8383 2012-09-11 Bastien Guerry <bzg@gnu.org>
8385 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8387 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8389 * progmodes/sql.el: Version 3.1
8390 (sql-db2-escape-newlines): New variable.
8391 (sql-escape-newlines-filter): Use it.
8393 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8395 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8397 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8399 * vc/diff-mode.el (diff-mode-menu):
8400 Bind diff-remove-trailing-whitespace.
8402 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8404 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8405 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8406 (emacs-lisp-byte-code-mode): New functions.
8407 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8408 (eval-defun-2): Remove bogus interactive spec.
8409 (lisp-indent-line): Remove redundant whole-exp code, now done in
8410 indent-according-to-mode.
8411 (save-match-data): Remove redundant indent data.
8413 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8416 2012-09-09 Juri Linkov <juri@jurta.org>
8418 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8419 (replace-lax-whitespace, query-replace-regexp)
8420 (query-replace-regexp-eval, replace-regexp): Doc fix.
8421 (perform-replace, replace-highlight): Let-bind
8422 isearch-lax-whitespace to replace-lax-whitespace and
8423 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8425 * isearch.el (isearch-query-replace): Let-bind
8426 replace-lax-whitespace to isearch-lax-whitespace and
8427 replace-regexp-lax-whitespace to
8428 isearch-regexp-lax-whitespace. (Bug#10885)
8430 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8432 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8434 2012-09-09 Alan Mackenzie <acm@muc.de>
8436 * progmodes/cc-engine.el (c-state-cache-init):
8437 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8438 (c-record-parse-state-state):
8439 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8441 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8443 * register.el (register-separator): Rename from
8444 separator-register. All uses changed. Doc fix.
8445 (register): Fix version.
8447 2012-09-09 Chong Yidong <cyd@gnu.org>
8449 * replace.el (query-replace-map): Bind four new symbols for
8450 requesting window scrolling.
8452 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8453 query-replace-map (Bug#8948).
8455 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8457 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8458 since they are now in query-replace-map.
8460 * window.el (scroll-other-window-down): Make the arg optional.
8462 2012-09-09 Chong Yidong <cyd@gnu.org>
8464 * files.el (hack-local-variables-confirm): Use quit-window to kill
8465 the *Local Variables* buffer.
8467 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8469 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8470 not just expect to be at its beginning. Adjust callees.
8471 Succeed when do-end block has no space before the pipe character.
8472 (ruby-brace-to-do-end): When the original block is one-liner,
8473 convert to multiline. Reindent the result.
8475 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8477 * register.el (register): New group.
8478 (separator-register): New user option.
8479 (increment-register): Route it to `append-to-register', if
8480 register contains text. Implication is that `C-x r +' can now be
8481 used for appending to a text register (bug#12217).
8482 (append-to-register, prepend-to-register): Add separator based on
8483 `separator-register'.
8485 2012-09-08 Alan Mackenzie <acm@muc.de>
8487 AWK Mode: make auto-newline work when there's "==" in the pattern.
8488 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8490 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8491 Test more rigorously for "=" token.
8493 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8495 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8496 Only fail when reached LIMIT.
8498 2012-09-08 Chong Yidong <cyd@gnu.org>
8500 * dired.el (dired-mode-map): Don't bind M-=.
8502 * dired-aux.el (dired-diff): Use backup file as default.
8504 2012-09-08 Drew Adams <drew.adams@oracle.com>
8506 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8508 2012-09-08 Chong Yidong <cyd@gnu.org>
8510 * subr.el (syntax-after, syntax-class): Doc fix.
8512 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8514 * window.el (display-buffer-in-previous-window): New buffer
8515 display action function.
8517 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8518 (debugger-previous-window): New variable.
8519 (debug): Rewrite using display-buffer-in-previous-window,
8520 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8522 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8526 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8528 * progmodes/python.el (python-shell-send-string):
8529 When default-directory is remote, create temp file on remote
8531 (python-shell-send-file): When file is remote, pass local view of
8532 file paths to remote Python interpreter. (Bug#12340)
8534 2012-09-07 Chong Yidong <cyd@gnu.org>
8536 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8538 * files.el (after-find-file): Don't fail on a read-only buffer if
8539 require-final-newline is `visit' or `visit-save' (Bug#11156).
8541 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8543 * userlock.el (ask-user-about-supersession-threat):
8544 Use read-char-choice (Bug#12093).
8546 2012-09-07 Chong Yidong <cyd@gnu.org>
8548 * subr.el (buffer-narrowed-p): New function.
8550 * ses.el (ses-widen):
8551 * simple.el (count-words--buffer-message):
8552 * net/browse-url.el (browse-url-of-buffer): Use it.
8554 * simple.el (count-words-region): Don't signal an error if there
8555 is a non-nil prefix arg and the mark is not set.
8557 * help.el (describe-key-briefly): Allow the message to be seen
8558 when invoked from the minibuffer (Bug#7014).
8560 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8562 * progmodes/ruby-mode.el (ruby-end-of-defun)
8563 (ruby-beginning-of-defun): Simplify, allow indentation before
8564 block beginning and end keywords.
8565 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8566 (ruby-end-of-defun): Expect that the point is at the beginning of
8569 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8571 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8573 (cl--make-usage-args): Strip _ from argument names.
8575 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8577 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8578 obsolete alias speedbar-key-map.
8579 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8580 (vhdl-index-menu-init): Don't use obsolete variable
8581 font-lock-maximum-size.
8583 2012-09-06 Chong Yidong <cyd@gnu.org>
8585 * frame.el (window-system-version): Mark as obsolete.
8587 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8588 of obsolete variable speedbar-key-map.
8590 2012-09-06 Juri Linkov <juri@jurta.org>
8592 * replace.el (replace-lax-whitespace): New defcustom.
8593 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8594 (replace-string, replace-regexp): Mention it in docstrings.
8595 (perform-replace, replace-highlight): Let-bind
8596 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8597 to the values of replace-lax-whitespace and regexp-flag.
8598 Don't let-bind search-whitespace-regexp. (Bug#10885)
8600 * isearch.el (isearch-query-replace): Let-bind
8601 replace-lax-whitespace instead of let-binding
8602 replace-search-function and replace-re-search-function.
8603 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8604 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8605 (isearch-toggle-symbol): Set isearch-regexp to nil
8606 in isearch-word mode (like in isearch-toggle-word).
8608 2012-09-06 Juri Linkov <juri@jurta.org>
8610 * replace.el (replace-search-function)
8611 (replace-re-search-function): Set default values to nil.
8612 (perform-replace): Let-bind isearch-related variables based on
8613 replace-related values, call `isearch-search-fun' and let-bind
8614 the result to `search-function'. Remove code that sets
8615 `search-function' and `search-string' separately for
8617 (replace-highlight): Add new argument `delimited-flag' and
8618 rename other arguments to the names used in `perform-replace'.
8619 Let-bind `isearch-word' to the argument `delimited-flag'.
8620 (Bug#10885, bug#10887)
8622 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8624 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8625 ruby-beginning-of-indent, simplify, allow all keywords to have
8626 indentation before them.
8627 (ruby-beginning-of-indent): Adjust for above. Search until the
8628 found point is not inside a string or comment.
8629 (ruby-font-lock-keywords): Allow symbols to start with "@"
8630 character, give them higher priority than variables.
8631 (ruby-syntax-propertize-function)
8632 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8633 matchers. Expression expansions are not comments when inside a
8634 string, and there comment syntax status is irrelevant.
8635 (ruby-match-expression-expansion): New function. Check that
8636 expression expansion is inside a string, and it's not escaped.
8637 (ruby-font-lock-keywords): Use it.
8639 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8641 * help.el (temp-buffer-max-height): New default value.
8642 (temp-buffer-resize-frames): New option.
8643 (resize-temp-buffer-window): Optionally resize frame.
8645 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8646 (fit-frame-to-buffer): New function.
8648 2012-09-05 Glenn Morris <rgm@gnu.org>
8650 * emulation/cua-rect.el (cua--init-rectangles):
8651 * textmodes/picture.el (picture-mode-map):
8652 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8653 like forward-char and backward-char. (Bug#12317)
8655 2012-09-05 Leo Liu <sdl.web@gmail.com>
8657 * progmodes/flymake.el (flymake-warning-re): New variable.
8658 (flymake-parse-line): Use it.
8660 2012-09-05 Glenn Morris <rgm@gnu.org>
8662 * calendar/holidays.el (holiday-christian-holidays):
8663 Rename an entry. (Bug#12289)
8665 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8667 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8670 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * loadup.el: Load macroexp. Remove hack.
8673 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8674 (macroexp--expand-all): Use it to get better warnings.
8675 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8676 (internal-macroexpand-for-load): New functions.
8677 (macroexp--pending-eager-loads): New var.
8678 (emacs-startup-hook): New hack to replace one in loadup.el.
8679 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8680 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8681 (cl-psetf): Simplify.
8682 (cl-defstruct): Add indent rule.
8684 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8686 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8687 over `user-mail-address' for the SMTP MAIL FROM envelope.
8688 (smtpmail-via-smtp): Ditto.
8690 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8692 * progmodes/ruby-mode.el: Clean up keybindings.
8693 (ruby-mode-map): Don't bind ruby-electric-brace,
8694 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8695 backward-kill-word, reindent-then-newline-and-indent.
8696 (ruby-mark-defun): Remove.
8697 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8698 (ruby-mode): Set local beginning-of-defun-function and
8699 end-of-defun-function values.
8701 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8703 * window.el (temp-buffer-window-setup-hook)
8704 (temp-buffer-window-show-hook): New hooks.
8705 (temp-buffer-window-setup, temp-buffer-window-show)
8706 (with-temp-buffer-window): New functions.
8707 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8708 (special-display-popup-frame): Make sure the window used shows BUFFER.
8710 * help.el (temp-buffer-resize-mode): Fix doc-string.
8711 (resize-temp-buffer-window): New optional argument WINDOW.
8713 * files.el (recover-file, save-buffers-kill-emacs):
8714 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8716 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8718 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8719 remote definition of `default-directory', ensure we can connect.
8721 2012-09-02 Juri Linkov <juri@jurta.org>
8723 Toggle whitespace matching mode with M-s SPC.
8724 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8726 * isearch.el (search-whitespace-regexp): Doc fix.
8727 Remove cons cell customization.
8728 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8729 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8731 (isearch-forward, isearch-forward-regexp): Doc fix.
8732 (isearch-toggle-lax-whitespace): New command.
8733 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8734 (re-search-forward-lax-whitespace)
8735 (re-search-backward-lax-whitespace): New functions.
8736 (isearch-whitespace-regexp): Remove function.
8737 (isearch-query-replace): Let-bind replace-search-function and
8738 replace-re-search-function.
8739 (isearch-occur): Let-bind search-spaces-regexp according to the
8740 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8741 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8742 condition for C-q SPC.
8743 (isearch-search-fun-default): Use new functions mentioned above.
8744 (isearch-search-forward, isearch-search-backward): Remove functions.
8745 (isearch-search): Don't let-bind search-spaces-regexp.
8746 (isearch-lazy-highlight-space-regexp): Remove variable.
8747 (isearch-lazy-highlight-lax-whitespace)
8748 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8749 (isearch-lazy-highlight-new-loop): Use them.
8750 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8752 2012-09-02 Chong Yidong <cyd@gnu.org>
8754 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8756 2012-09-02 Glenn Morris <rgm@gnu.org>
8758 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8760 2012-09-01 Glenn Morris <rgm@gnu.org>
8762 * term.el: Tidy up menu definitions.
8763 (term-mode-map): Use easymenu for In/Out, Complete menus.
8764 (term-pager-break-map): Initialize in the defvar.
8765 (term-terminal-menu, term-signals-menu): Define with easymenu.
8766 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8767 (term-pager-menu): New, extracted from term-process-pager.
8768 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8769 (term-update-mode-line): Propertize line/char and page items.
8770 (term-process-pager): Move keymap initialization elsewhere.
8772 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8774 * window.el (switch-to-prev-buffer): Handle additional values of
8775 BURY-OR-KILL argument. Don't switch in minibuffer window.
8776 (switch-to-next-buffer): Don't switch in minibuffer window.
8777 (quit-restore-window): New function based on quit-window.
8778 Handle additional values of former KILL argument.
8779 (quit-window): Call quit-restore-window with appropriate
8780 interpretation of KILL argument.
8781 (display-buffer-below-selected): New buffer display action
8784 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * minibuffer.el (completion-at-point-functions): Complete docstring
8789 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8791 Better seed support for (random).
8792 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8793 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8794 * play/mpuz.el, play/tetris.el, play/zone.el:
8795 * calc/calc-comb.el (math-init-random-base):
8796 * play/blackbox.el (bb-init-board):
8797 * play/life.el (life):
8798 * server.el (server-use-tcp):
8799 * type-break.el (type-break):
8800 Remove unnecessary call to (random t).
8801 * net/sasl.el (sasl-unique-id-function):
8802 Change (random t) to (random), now that the latter is more random.
8803 * play/life.el (life-initialized): Remove no-longer-needed var.
8805 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8807 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8808 Consider frame's buffer predicate when choosing the buffer.
8811 2012-08-30 Richard Stallman <rms@gnu.org>
8813 * simple.el (special-mode-map): Delete binding for `z'.
8815 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8817 * progmodes/compile.el (compilation-always-kill): Doc fix.
8819 2012-08-30 Chong Yidong <cyd@gnu.org>
8821 * window.el (display-buffer-reuse-frames): Make the obsolescence
8822 message more informative.
8824 2012-08-30 Glenn Morris <rgm@gnu.org>
8826 * paren.el (show-paren-delay):
8827 Add a :set function. Doc fix. (Bug#12297)
8829 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8831 * progmodes/compile.el (compilation-always-kill): New var.
8832 (compilation-start): Use it.
8834 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8836 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8837 * files.el (read-only-mode): Move to simple.el.
8839 * files.el (read-only-mode): New minor mode.
8840 (toggle-read-only): Use it and mark obsolete.
8841 (find-file--read-only):
8842 * vc/vc.el (vc-next-action, vc-checkout):
8843 * vc/vc-cvs.el (vc-cvs-checkout):
8844 * obsolete/vc-mcvs.el (vc-mcvs-update):
8845 * ffap.el (ffap--toggle-read-only): Update callers.
8847 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8849 * eshell/esh-ext.el (eshell-external-command): Do not examine
8850 remote shell scripts.
8851 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8853 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8856 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8858 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8860 2012-08-28 Leo Liu <sdl.web@gmail.com>
8862 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8863 completion-at-point. (Bug#12220)
8865 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8867 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8869 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8872 be buffer-local; add delete-trailing-whitespace (bug#12259).
8874 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8876 * progmodes/hideif.el (hif-compress-define-list):
8877 Fix typo. (Bug#11951)
8879 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8881 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8882 buffer local setting.
8884 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8885 rcirc-encode-coding-system.
8887 2012-08-28 Leo Liu <sdl.web@gmail.com>
8889 * net/rcirc.el (rcirc-split-message): New function.
8890 (rcirc-send-message): Use it. (Bug#12051)
8892 2012-08-28 Juri Linkov <juri@jurta.org>
8894 * info.el (Info-fontify-node): Hide empty lines at the end of
8895 the node. (Bug#12272)
8897 2012-08-27 Drew Adams <drew.adams@oracle.com>
8899 * dired.el (dired-pop-to-buffer): Make window start at beginning
8900 of buffer (Bug#12281).
8902 2012-08-26 Chong Yidong <cyd@gnu.org>
8904 * window.el (special-display-regexps, special-display-frame-alist)
8905 (special-display-buffer-names, special-display-function)
8906 (display-buffer-reuse-frames): Mark as obsolete.
8908 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8910 * help.el (help-print-return-message): Don't treat
8911 display-buffer-reuse-frames specially.
8913 2012-08-26 Chong Yidong <cyd@gnu.org>
8915 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8916 New variable, replacing gdb-frame-parameters.
8917 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8918 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8919 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8920 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8921 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8922 the functions directly with gdb-display-buffer-other-frame-action.
8923 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8924 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8925 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8926 (gdb-display-registers-buffer): Define directly.
8927 (def-gdb-display-buffer): Macro deleted.
8928 (gdb-display-buffer): Remove second and third args, callers don't
8929 use them. Defer to the default display-buffer behavior, apart
8930 from making windows dedicated.
8931 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8933 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8935 * window.el (display-buffer-pop-up-frame): Handle a
8936 pop-up-frame-parameters alist entry.
8937 (display-buffer): Document it.
8939 2012-08-26 Chong Yidong <cyd@gnu.org>
8941 * isearch.el (search-whitespace-regexp): Make string and nil
8942 values apply to both ordinary and regexp search. Allow a cons
8943 cell value to distinguish between the two.
8944 (isearch-whitespace-regexp, isearch-search-forward)
8945 (isearch-search-backward): New functions.
8946 (isearch-occur, isearch-search-fun-default, isearch-search)
8947 (isearch-lazy-highlight-new-loop): Use them.
8948 (isearch-forward, isearch-forward-regexp): Doc fix.
8950 2012-08-26 Chong Yidong <cyd@gnu.org>
8952 * faces.el (help-argument-name): Always inherit from italic
8955 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8957 * window.el (window--even-window-heights): Even heights when
8958 WINDOW and the selected window form a vertical combination.
8959 (display-buffer-use-some-window): Provide that window used gets
8960 sized back by quit-window. (Bug#11880) and (Bug#12091)
8962 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8964 Fix file time stamp problem with bzr and CVS (Bug#12001).
8965 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8966 in the file's time stamp, since the version control system loses
8969 2012-08-22 Juri Linkov <juri@jurta.org>
8971 * info.el (Info-fontify-node): Hide the suffix of the
8972 Info file name in the header line. (Bug#12187)
8974 2012-08-22 Glenn Morris <rgm@gnu.org>
8976 * calendar/cal-tex.el (cal-tex-weekly-common):
8977 Restore leading blank page.
8979 2012-08-22 Le Wang <l26wang@gmail.com>
8981 * misc.el (forward-to-word, backward-to-word): Activate or extend
8982 the region under `shift-select-mode'. (Bug#12231)
8984 2012-08-22 Bastien Guerry <bzg@gnu.org>
8986 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8987 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8988 gives details on why the space is never needed.
8990 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8992 * window.el (walk-window-tree, window-with-parameter):
8993 New optional argument MINIBUF to control whether these functions
8994 should run on the minibuffer window.
8995 (window-at-side-list): Don't operate on minibuffer window.
8996 (window-in-direction): Simplify and rewrite doc-string.
8997 (window--size-ignore): Rename to window--size-ignore-p.
8999 (display-buffer-in-atom-window, window--major-non-side-window)
9000 (window--major-side-window, display-buffer-in-major-side-window)
9001 (delete-side-window, display-buffer-in-side-window):
9003 (window--side-check, window-deletable-p, delete-window)
9004 (delete-other-windows, split-window): Handle side windows and
9005 atomic windows appropriately.
9006 (window--display-buffer): Call display-buffer-record-window also
9007 when the window buffer did not change.
9009 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9011 * help-fns.el (help-fns--key-bindings):
9012 Abbreviate non-symbol remap targets. (Bug#12174)
9014 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9016 * dired.el (dired-mark-remembered): Don't clobber point.
9019 2012-08-22 Glenn Morris <rgm@gnu.org>
9021 * progmodes/bug-reference.el (bug-reference): New custom group.
9022 (bug-reference-bug-regexp): Make it a defcustom.
9024 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9026 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9027 (js-paren-indent-offset, js-square-indent-offset)
9028 (js-curly-indent-offset): Add :safe (Bug#12257).
9030 2012-08-22 Edward O'Connor <hober0@gmail.com>
9032 * json.el (json-key-format): Add error properties.
9033 (json-encode-key): New function.
9034 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9035 Use json-encode-key.
9037 2012-08-22 Glenn Morris <rgm@gnu.org>
9039 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9040 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9041 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9042 Update for above change.
9044 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9046 * cus-face.el (custom-face-attributes): Fix customize type for the
9047 :underline attribute. (Bug#11805)
9049 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9051 * window.el (window-point-1, set-window-point-1): Remove.
9052 (window-in-direction, record-window-buffer)
9053 (set-window-buffer-start-and-point, split-window-below)
9054 (window--state-get-1, display-buffer-record-window):
9055 Replace calls to window-point-1 and set-window-point-1 by calls to
9056 window-point and set-window-point respectively.
9058 2012-08-21 Glenn Morris <rgm@gnu.org>
9060 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9061 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9064 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9065 (cal-tex-shortday): New function.
9066 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9067 (cal-tex-cursor-filofax-daily): Use the above.
9069 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9071 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9072 (cal-tex-cursor-filofax-week): Use them.
9074 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9076 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9077 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9079 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9080 (cal-tex-end-document): Don't rely on buffer name.
9082 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9084 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9085 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9086 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9089 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9090 (cal-tex-cursor-week, cal-tex-cursor-week2)
9091 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9092 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9093 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9094 (cal-tex-insert-preamble, cal-tex-b-document)
9095 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9096 Improve cal-tex-cmd usage.
9098 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9099 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9100 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9101 (cal-tex-weekly-paper): New function.
9102 (cal-tex-cursor-week, cal-tex-cursor-week2)
9103 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9104 (cal-tex-cursor-day): Use it.
9106 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9107 (cal-tex-cursor-filofax-week): Remove leading blank page.
9109 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9110 Add autoload cookie. For now at least, don't use color, since
9111 no other cal-tex function does.
9113 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9114 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9115 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9117 2012-08-21 Juri Linkov <juri@jurta.org>
9119 * info.el (Info-file-attributes): New variable.
9120 (info-insert-file-contents): Add file attributes to
9121 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9122 `Info-toc-nodes' when previous modtime of the Info file is less
9124 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9125 of info.el. (Bug#12230)
9127 2012-08-20 Glenn Morris <rgm@gnu.org>
9129 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9130 * calendar/holidays.el (calendar-holiday-list):
9131 Report errors with display-warning rather than beep'n'sleep.
9133 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9135 * net/tramp.el (tramp-accept-process-output): Accept only output
9136 from PROC. Otherwise, process filters and sentinels might be
9137 confused. (Bug#12145)
9139 2012-08-20 Chong Yidong <cyd@gnu.org>
9141 * descr-text.el (describe-text-properties-1): Use overlays-in to
9142 report on empty overlays (Bug#3322).
9144 2012-08-20 Glenn Morris <rgm@gnu.org>
9146 * mail/rmailout.el (rmail-output-read-file-name):
9147 Trap and report errors in rmail-output-file-alist elements.
9149 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9150 since most non-font-lock faces are not also variables).
9152 2012-08-20 Edward Reingold <reingold@iit.edu>
9154 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9155 New function. (Bug12160)
9157 2012-08-19 Glenn Morris <rgm@gnu.org>
9159 * mail/rmailout.el (rmail-output-read-file-name):
9160 Fix previous change (when the alist is nil or does not match).
9162 2012-08-19 Chong Yidong <cyd@gnu.org>
9164 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9167 2012-08-18 Chong Yidong <cyd@gnu.org>
9169 * simple.el (yank-handled-properties): New defcustom.
9170 (yank-excluded-properties): Add font-lock-face and category.
9173 * subr.el (remove-yank-excluded-properties):
9174 Obey yank-handled-properties. The special handling of font-lock-face
9175 and category is now done this way, instead of being hard-coded.
9176 (insert-for-yank-1): Remove font-lock-face handling.
9177 (yank-handle-font-lock-face-property)
9178 (yank-handle-category-property): New function.
9180 2012-08-17 Glenn Morris <rgm@gnu.org>
9182 * mail/rmailout.el (rmail-output-read-file-name):
9183 Check rmail-output-file-alist against the full message body
9184 in the correct rmail buffer. (Bug#12214)
9186 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9188 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9189 Eliminate superfluous prompt. (Bug#12203)
9191 2012-08-17 Chong Yidong <cyd@gnu.org>
9193 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9194 font spec, set the font directly (Bug#3228).
9196 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9198 * window.el (delete-window): Fix last fix.
9200 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9202 * window.el (window-valid-p): Move to window.c.
9203 (window-child, window-child-count, window-last-child)
9204 (window-normalize-window, window-combined-p)
9205 (window-combinations, window-atom-root, window-min-size)
9206 (window-sizable, window-sizable-p, window-size-fixed-p)
9207 (window-min-delta, window-max-delta, window--resizable)
9208 (window--resizable-p, window-resizable, window-total-size)
9209 (window-full-height-p, window-full-width-p, window-body-size)
9210 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9211 (minimize-window, window-deletable-p, delete-window)
9212 (delete-other-windows, set-window-buffer-start-and-point)
9213 (next-buffer, previous-buffer, split-window, balance-windows-2)
9214 (set-window-text-height, window-buffer-height)
9215 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9216 (truncated-partial-width-window-p): Minor code adjustments.
9217 In doc-strings state whether the argument window has to denote a
9218 live, valid or any window.
9220 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9222 * progmodes/subword.el (subword-forward-function)
9223 (subword-backward-function, subword-forward-regexp)
9224 (subword-backward-regexp): New variables.
9225 (subword-forward, subword-forward-internal, subword-backward-internal):
9226 Use new variables, eg so that different "word" definitions
9227 can be easily used. (Bug#11411)
9229 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9232 for composite selectors.
9233 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9234 operation just because we can't find a previous revision.
9236 2012-08-15 Chong Yidong <cyd@gnu.org>
9238 * frame.el (set-frame-font): Accept font objects.
9240 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9242 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9244 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9246 * man.el (Man-overstrike-face, Man-underline-face)
9247 (Man-reverse-face): Remove variables.
9248 (Man-overstrike, Man-underline, Man-reverse): New faces.
9249 (Man-fontify-manpage): Use them instead of the variables.
9250 (Man-cleanup-manpage): Comment change.
9251 (Man-ansi-color-map): New variable.
9252 (Man-fontify-manpage): Use it.
9253 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9255 Implement ANSI SGR parameters 22-27 (bug#12146).
9256 * ansi-color.el (ansi-colors): Doc fix.
9257 (ansi-color-context, ansi-color-context-region): Doc fix.
9258 (ansi-color--find-face): New function.
9259 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9260 Rename the local variable `face' to `codes' since it is now a list of
9261 ansi codes. Doc fix.
9262 (ansi-color-get-face): Remove.
9263 (ansi-color-parse-sequence): New function, derived from
9264 ansi-color-get-face.
9265 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9268 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * subr.el (read-passwd): Allow use from a minibuffer.
9272 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9274 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9275 inside comments and strings as identifiers.
9277 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9278 expression to evaluate. This allows to evaluate expressions with
9279 embedded whitespace.
9280 (gud-tooltip-tips): Add a blank before the newline in the
9281 message-box text, for the benefit of message-box emulation on
9284 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9285 messages from GDB, pop them up in a tooltip to give feedback to
9287 (gdb-tooltip-print-1): Quote the expression to evaluate.
9288 This allows to evaluate expressions with embedded whitespace.
9289 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9290 if the TTY name is nil or empty (which happens when communicating
9291 with the inferior via pipes, e.g. on MS-Windows).
9292 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9293 don't send that to the GUD buffer.
9295 2012-08-14 Glenn Morris <rgm@gnu.org>
9297 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9298 Optimize away setq-default with no args, as for setq. (Bug#12195)
9300 2012-08-14 Chong Yidong <cyd@gnu.org>
9302 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9304 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9307 2012-08-14 Glenn Morris <rgm@gnu.org>
9309 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9311 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9313 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9314 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9315 Use cached shell name.
9317 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9319 * progmodes/python.el (python-shell-send-string):
9320 (python-shell-send-setup-code): Do not use `format' with `message'.
9322 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9324 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9325 (ruby-percent-literal-beg-re): New constant.
9326 (ruby-syntax-general-delimiters-goto-beg): Rename to
9327 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9328 (ruby-syntax-propertize-general-delimiters): Rename to
9329 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9330 popular term. Adjust comments everywhere.
9331 (ruby-syntax-propertize-percent-literal): Only propertize when not
9332 inside a simple string or comment. When the literal is unclosed,
9333 leave the text after it unpropertized.
9334 (ruby-syntax-methods-before-regexp): New constant.
9335 (ruby-syntax-propertize-function): Use it to recognize regexps.
9336 Don't look at the text after regexp, just use the whitelist.
9338 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9340 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9341 non-nil always load the compiled file if it exists. (Bug#12197)
9343 2012-08-14 Chong Yidong <cyd@gnu.org>
9345 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9346 (hi-lock-set-pattern): When deciding whether to use font lock or
9347 overlays, look at font-lock-mode instead of font-lock-fontified
9349 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9350 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9352 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9354 * subr.el (internal--after-with-selected-window): Fix typo
9357 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9359 Use `completion-table-dynamic' for completion functions.
9360 * progmodes/python.el
9361 (python-shell-completion--do-completion-at-point)
9362 (python-shell-completion--get-completions):
9364 (python-shell-completion-complete-at-point): New function.
9365 (python-completion-complete-at-point): Use it.
9367 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9369 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9370 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9372 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9374 * subr.el (function-get): Refine `autoload' arg so it can also
9375 autoload functions for gv.el (bug#12191).
9376 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9379 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9380 Prefer pcase-let over destructuring-bind.
9381 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9382 Also, remove whitespace as we go, rather than after accumulating the
9385 * subr.el (internal--before-with-selected-window)
9386 (internal--after-with-selected-window): Fix typo seleted->selected.
9387 (with-selected-window): Adjust callers.
9388 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9390 2012-08-13 Bastien Guerry <bzg@gnu.org>
9392 * window.el (special-display-popup-frame): Minor docstring
9393 enhancement. (Bug#12172)
9395 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9397 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9399 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9402 * files.el (hack-local-variables-filter): Remove useless eval.
9404 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9406 * subr.el (with-selected-window): Fix last change.
9408 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9410 * subr.el (internal--before-with-seleted-window)
9411 (internal--after-with-seleted-window): New functions.
9412 (with-selected-window): Use them, to replace dependency on
9415 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9417 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9418 binding for `newline'.
9419 (ruby-move-to-block): When moving backward, stop at block opening,
9421 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9422 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9423 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9424 `ruby-toggle-block'.
9426 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * ibuffer.el (ibuffer-do-toggle-read-only):
9429 * dired.el (dired-toggle-read-only):
9430 * buff-menu.el (Buffer-menu-toggle-read-only):
9431 * bindings.el (mode-line-toggle-read-only):
9432 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9434 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9436 * descr-text.el (describe-char): Put the overlays over the
9437 "displayed as" character.
9439 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9441 * calc/calc-units.el (math-default-units-table): Give an
9443 (math-put-default-units): Add options to put composite units and
9444 unit systems in the default units table.
9445 (calc-convert-units): Send composite units to
9446 `math-put-default-units' when appropriate.
9448 2012-08-11 Glenn Morris <rgm@gnu.org>
9450 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9452 * tutorial.el (help-with-tutorial):
9453 * emacs-lisp/copyright.el (copyright-update-directory):
9454 * emacs-lisp/autoload.el (autoload-find-generated-file)
9455 (autoload-find-file): Disable local eval: (for insurance).
9457 * files.el (hack-local-variables-filter): If an eval: form is not
9458 known to be safe, and enable-local-variables is :safe, then ignore
9459 the form totally, as is done for non-eval forms. (Bug#12155)
9460 This is CVE-2012-3479.
9462 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9464 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9465 (rx-form): Simplify.
9467 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9469 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9470 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9471 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9472 (ruby-syntax-propertize-function): Adjust for changes in
9473 `ruby-syntax-propertize-heredoc'.
9475 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9477 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9478 binding (use `M-;' instead).
9479 (ruby-singleton-class-p): New function.
9480 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9482 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9486 2012-08-10 Chong Yidong <cyd@gnu.org>
9488 * progmodes/python.el (python-shell-get-process-name): Don't mess
9489 with same-window-buffer-names.
9491 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9492 (eshell-remove-from-window-buffer-names): Make obsolete.
9493 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9494 (eshell): Just use pop-to-buffer-same-window instead.
9496 2012-08-10 Chong Yidong <cyd@gnu.org>
9498 * bindings.el: Bind M-= back to count-words-region.
9500 * simple.el (count-words-region): Accept a prefix arg for acting
9501 on the entire buffer.
9502 (count-words--buffer-message): New helper function.
9504 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9506 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9507 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9508 (event-start, event-end): Use posn-at-point to return a more
9510 (posnp): New function.
9511 * mouse.el (popup-menu-normalize-position): Use it.
9513 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9515 * mouse.el (popup-menu-normalize-position): New function.
9516 (popup-menu): Use `popup-menu-normalize-position' to normalize
9517 the form for POSITION argument.
9519 * term/x-win.el (x-menu-bar-open):
9520 Use the value returend from (posn-at-point) as position
9521 passed to `popup-menu'.
9523 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9525 * calc/calccomp.el (math-compose-expr): Add extra argument
9526 indicating that parentheses should be put around products in
9527 denominators. Give multiplication precedence over division during
9530 2012-08-09 Chong Yidong <cyd@gnu.org>
9532 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9533 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9534 (Man-untabify-command, manual-program): Convert to defcustom
9537 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9539 * descr-text.el (describe-char): Don't insert extra newlines
9542 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9543 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9545 * align.el (align-region): Delete temporary markers (Bug#10047).
9546 Plus some code cleanups.
9548 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9550 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9551 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9552 (python-shell-internal-last-output): Use make-local-variable
9553 instead of make-variable-buffer-local.
9555 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9557 * progmodes/python.el: Enhancements to forward-sexp.
9558 (python-nav-forward-sexp): Rename from
9559 python-nav-forward-sexp-function.
9560 (python-nav--forward-sexp, python-nav--backward-sexp):
9563 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9565 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9566 modes and simplification modes.
9568 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * delsel.el (delete-selection-pre-hook): Don't propagate the
9571 file-supersession signals (bug#12161).
9573 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9576 (cl-map-extents): Add compatibility aliases (bug#12135).
9578 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9580 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9581 tests by `ignore-error'.
9582 (tramp-find-shell): Open also a new shell, when cache is already
9583 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9585 2012-08-08 Juri Linkov <juri@jurta.org>
9587 * bookmark.el: Add `defaults' property to the bookmark record.
9588 (bookmark-current-buffer): Doc fix.
9589 (bookmark-make-record): Add `defaults' property with default values
9590 to the bookmark record.
9591 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9592 with `bookmark-insert-current-bookmark'.
9593 (bookmark-set): Get `defaults' property from the bookmark record
9594 and use it in `read-from-minibuffer'.
9595 (bookmark-insert-current-bookmark): Remove function.
9597 * info.el (Info-bookmark-make-record): Add `defaults' property
9598 with values of canonical Info node name, the current Info file
9599 name and the current Info node name. (Bug#12107)
9601 2012-08-08 Juri Linkov <juri@jurta.org>
9603 * files.el (basic-save-buffer): Use `buffer-name' as the default
9604 of `read-file-name' when buffer is not visiting a file (bug#12128).
9606 2012-08-08 Juri Linkov <juri@jurta.org>
9608 * info.el (Info-isearch-search): Doc fix.
9609 (Info-search): Change search-failed message from "initial node" to
9610 "end of node" (bug#12078).
9611 (Info-isearch-search): Change `isearch-string-state' to
9612 `isearch--state-string'.
9614 2012-08-08 Glenn Morris <rgm@gnu.org>
9616 * language/persian.el: Remove file.
9617 * language/misc-lang.el: Move unique part of persian.el here.
9618 * loadup.el: Remove language/persian.
9620 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9622 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9624 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9626 * progmodes/python.el: Fix defsubst warning.
9627 (python-syntax-context) Rename from python-info-ppss-context.
9628 (python-syntax-context-type): Rename from
9629 python-info-ppss-context-type.
9630 (python-syntax-comment-or-string-p): Rename from
9631 python-info-ppss-comment-or-string-p.
9633 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9635 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9637 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9639 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9640 a defcustom that is quoted with backquote.
9642 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9643 Fix handling of interactive spec when the body uses return.
9644 (math-do-arg-check, math-define-function-body): Use backquote forms.
9645 * calc/calc-ext.el (math-defcache): Likewise.
9646 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9647 * allout.el (allout-new-exposure): Likewise.
9648 * calc/calcalg2.el (math-tracing-integral): Likewise.
9649 * info.el (Info-last-menu-item): Likewise.
9650 * emulation/vip.el (vip-loop): Likewise.
9651 * textmodes/artist.el (artist-funcall): Likewise.
9652 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9653 Construct menu-item directly.
9655 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9658 2012-08-07 Chong Yidong <cyd@gnu.org>
9660 * simple.el (deactivate-mark): Preserve text properties when
9661 saving the primary selection (Bug#8384).
9663 2012-08-07 Kevin Ryde <user42@zip.com.au>
9665 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9666 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9667 and continue processing (Bug#12110).
9669 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9671 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9672 syntax-propertize-function (bug#10095).
9674 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9677 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9678 describe-function-1.
9679 (describe-function-1): Use them. Move compiler macro after sig.
9680 (help-fns--compiler-macro): Use function-get. Assume we're already in
9681 standard-output. Adjust layout to new call order.
9683 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9684 re-binding a symbol that has a symbol-macro (bug#12119).
9686 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9688 * language/persian.el: New file. (Bug#11812)
9689 * loadup.el: Add language/persian.el.
9691 2012-08-06 Chong Yidong <cyd@gnu.org>
9693 * window.el (window--maybe-raise-frame): New function.
9694 (window--display-buffer): Split off from here.
9695 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9696 (display-buffer-pop-up-window, display-buffer-use-some-window):
9697 Obey an inhibit-switch-frame action alist entry.
9698 (display-buffer): Update doc.
9700 * replace.el (occur-after-change-function): Avoid losing focus by
9701 using the inhibit-switch-frame display parameter (Bug#12139).
9703 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9705 Make internal shell process buffer names start with space.
9706 * progmodes/python.el (python-shell-make-comint): Add optional
9708 (run-python-internal): Use it.
9709 (python-shell-internal-get-or-create-process): Check for new
9710 internal buffer names.
9712 2012-08-06 Glenn Morris <rgm@gnu.org>
9714 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9715 Do less getting and setting of environment variables.
9717 2012-08-05 Chong Yidong <cyd@gnu.org>
9719 * proced.el (proced): Add substitution string to docstring to
9720 trigger autoloading of the proced library on C-h f (Bug#1768).
9722 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9723 Don't show defvars which have no second argument (Bug#8638).
9725 * imenu.el (imenu-generic-expression): Move documentation here
9726 from imenu--generic-function.
9727 (imenu--generic-function): Refer to imenu-generic-expression.
9729 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9731 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9732 indentation declaration.
9733 (viper-loop): Add indentation declaration (Bug#7025).
9735 2012-08-05 Chong Yidong <cyd@gnu.org>
9737 * help-fns.el (describe-variable): Add hyperlink for
9738 directory-local variables files. Improve buffer-local and
9739 permanent-local reporting; suggested by MON KEY (Bug#6644).
9741 * help-mode.el (help-dir-local-var-def): New button type.
9743 * files.el (kill-buffer-hook): Provide a defvar.
9745 2012-08-05 Glenn Morris <rgm@gnu.org>
9747 * eshell/esh-ext.el (eshell/addpath):
9748 Also update eshell-path-env. (Bug#12013)
9750 2012-08-05 Chong Yidong <cyd@gnu.org>
9752 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9754 * fringe.el (fringe-styles): Add docstring.
9755 (fringe--check-mode): New function.
9756 (set-fringe-mode, set-fringe-style): Use it.
9757 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9759 * files.el (set-auto-mode): Fix invalid setq call.
9761 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9763 * isearch.el: Misc simplification; use defstruct.
9764 (isearch-mode-map): Dense maps now work like sparse ones.
9765 (isearch--state): New defstruct.
9766 (isearch-string-state, isearch-message-state, isearch-point-state)
9767 (isearch-success-state, isearch-forward-state)
9768 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9769 (isearch-wrapped-state, isearch-barrier-state)
9770 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9771 replaced by defstruct's accessors.
9772 (isearch--set-state): Rename from isearch-top-state and change
9774 (isearch-push-state): Use new isearch--get-state.
9775 (isearch-toggle-word): Disable regexp when enabling word.
9776 (isearch-message-prefix): Remove unused arg _c-q-hack.
9777 (isearch-message-suffix): Remove unused arg _ellipsis.
9779 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9781 * simple.el (list-processes--refresh): For a server use :host or
9782 :local as the address.
9783 (list-processes): Doc fix.
9785 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9787 * lisp/mpc.el: Support password in host argument.
9788 (mpc--proc-connect): Parse and use new password element.
9789 Set mpc-proc variable instead of returning process.
9790 (mpc-proc): Adjust accordingly.
9792 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9794 * whitespace.el (whitespace-display-mappings): Use Unicode
9795 codepoints, instead of emacs-mule codepoints. See
9796 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9799 * files.el (file-truename): Don't skip symlink-chasing part on
9800 windows-nt. Incorporate the resolution of 8+3 short aliases on
9801 Windows into the loop that recursively chases symlinks.
9802 Compare directory and its parent case-insensitively on MS-Windows and
9805 2012-08-03 Chong Yidong <cyd@gnu.org>
9807 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9809 * sort.el (sort-regexp-fields): Doc fix.
9811 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9813 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9814 labels regex position point at the expected place.
9816 2012-08-03 MON KEY <monkey@sandpframing.com>
9818 * net/imap.el (imap-interactive-login, imap-authenticate)
9819 (imap-mailbox-lsub, imap-mailbox-list)
9820 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9821 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9822 (imap-parse-response): Doc fix.
9824 2012-08-03 João Távora <joaotavora@gmail.com>
9826 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9827 if sexp scanning does not move point (Bug#5734).
9829 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9831 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9832 Add listings, minted, and ctable packages.
9833 (reftex-label-alist-builtin): Move listings, minted, and ctable
9834 entries before LaTeX.
9835 (reftex-label-alist): Docfix.
9837 2012-08-02 Bastien Guerry <bzg@gnu.org>
9839 * replace.el (occur): Fix docstring (bug#12122).
9841 2012-08-02 Glenn Morris <rgm@gnu.org>
9843 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9845 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9847 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9848 * international/mule-cmds.el: Create
9849 inactivate-current-input-method-function as an obsolete alias for
9850 deactivate-current-input-method-function. See Katsumi Yamaoka in
9851 <http://bugs.gnu.org/10150#46>.
9853 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9855 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9858 2012-08-01 Glenn Morris <rgm@gnu.org>
9860 * progmodes/autoconf.el (autoconf-definition-regexp):
9861 Add AH_TEMPLATE, adjust submatch numbering.
9862 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9863 (autoconf-current-defun-function): Update for above change.
9864 (autoconf-current-defun-function): First skip to end of current word.
9866 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9868 * calendar/cal-html.el (cal-html-insert-agenda-days):
9869 Fix typo. (Bug#12018)
9871 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9873 Shell processes: enhancements to startup and CEDET compatibility.
9874 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9875 (python-shell-make-comint): accept-process-output at startup.
9876 (run-python-internal): Set inferior-python-mode-hook to nil.
9877 (python-shell-internal-get-or-create-process): call sit-for.
9878 (python-preoutput-result): Add obsolete alias.
9879 (python-shell-internal-send-string): Use it.
9880 (python-shell-send-setup-code): Remove call to
9881 accept-process-output.
9883 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9885 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9888 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9890 * calc-mode.el (calc-basic-simplification-mode): Rename from
9891 `calc-limited-simplification-mode'.
9892 (calc-alg-simplification-mode): New function.
9893 (calc-set-simplify-mode): Adjust message.
9895 * calc.el (calc-set-mode-line): Adjust mode line display for
9896 basic simplification mode.
9898 * calc-help.el (calc-m-prefix-help): Update help message.
9900 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9901 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9903 2012-07-31 Bastien Guerry <bzg@gnu.org>
9905 * man.el (man): Fix comment. (bug#12101)
9907 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9909 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9910 Don't return a non-nil value when no suitable buffer was found.
9912 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9914 * progmodes/python.el (run-python-internal): Disable font lock for
9917 2012-07-30 Stefan Merten <smerten@oekonux.de>
9919 * textmodes/rst.el: Silence `checkdoc-ispell'.
9920 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9921 (rst-official-version, rst-official-cvs-rev)
9922 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9923 (rst-mode-map): New key binding.
9925 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9927 Update .PHONY listings in makefiles.
9928 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9929 autoloads, update-subdirs, updates, bzr-update, update-authors,
9930 compile-onefile, compile-calc, backup-compiled-files,
9931 compile-after-backup, compile-one-process, mh-autoloads,
9932 bootstrap-clean, distclean, maintainer-clean.
9934 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9936 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9937 (calc-set-mode-line): Don't display "AlgSimp ".
9939 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9940 (calc-lim-simplify-mode): New function.
9941 (calc-set-simplify-mode): Default to 'alg.
9942 (calc-default-simplify-mode): Make algebraic simplifications
9945 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9946 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9948 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9949 indicate new simplification modes.
9951 * calc/README: Mention new default simplification mode.
9953 * calc/calc.el (math-normalize-error): New variable.
9954 (math-normalize): Set `math-normalize-error' to t
9955 when there's an error.
9957 * calc/calc-alg.el (math-simplify): Don't simplify when
9958 `math-normalize' returns an error.
9960 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9962 * international/mule-cmds.el (set-locale-environment): Revert last
9963 change, since display-graphic-p returns nil when this function is
9964 called during startup. Instead...
9966 * term/w32console.el (terminal-init-w32console): ...setup the
9967 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9969 2012-07-29 Juri Linkov <juri@jurta.org>
9971 * simple.el (goto-line): Don't display default line number in the
9972 prompt because it should be displayed by `read-number' (bug#9952).
9973 Add the current line number to the defaults of `goto-line' to
9974 allow its easier modification by users with `M-n' (bug#9201).
9976 * subr.el (read-number): Support multiple default values like in
9977 other minibuffer reading functions. Replace `read' with
9978 `string-to-number' for consistency with `number-to-string'.
9980 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9982 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9983 * emulation/viper-init.el (viper-deactivate-input-method-action):
9984 Rename from viper-inactivate-input-method-action.
9985 (viper-deactivate-input-method):
9986 Rename from viper-inactivate-input-method.
9987 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9988 * international/mule-cmds.el (deactivate-input-method):
9989 Rename from inactivate-input-method.
9990 Also run input-method-deactivate-hook.
9991 (deactivate-current-input-method-function):
9992 Rename from inactivate-current-input-method-function.
9993 (input-method-deactivate-hook): New hook.
9994 (input-method-inactivate-hook): Mark obsolete.
9995 (inactivate-input-method): Mark obsolete.
9997 * international/quail.el (quail-activate):
9998 Also run quail-deactivate-hook.
9999 (quail-deactivate): Rename from quail-inactivate.
10000 * international/robin.el (robin-activate):
10001 Also run robin-deactivate-hook.
10002 (robin-deactivate): Rename from robin-inactivate.
10004 2012-07-29 Chong Yidong <cyd@gnu.org>
10006 * simple.el (indicate-copied-region): New function.
10007 (kill-ring-save): Split off from here.
10009 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10010 (kill-rectangle): Set deactivate-mark to t on read-only error.
10012 * register.el (copy-to-register, copy-rectangle-to-register):
10013 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10014 (append-to-register, prepend-to-register): Call indicate-copied-region.
10016 2012-07-29 Juri Linkov <juri@jurta.org>
10018 * simple.el (async-shell-command-buffer): New defcustom.
10019 (shell-command): Use it. (Bug#4719)
10021 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10023 * international/mule-cmds.el (set-locale-environment): In a
10024 console session on MS-Windows, set up keyboard and terminal
10025 encoding from the OEM codepage, not the ANSI codepage.
10028 2012-07-28 Chong Yidong <cyd@gnu.org>
10030 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10033 2012-07-28 Leo Liu <sdl.web@gmail.com>
10035 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10036 the alist (bug#12029).
10038 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10040 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10041 (compile-always, compile-first)
10042 ($(lisp)/calendar/cal-loaddefs.el)
10043 ($(lisp)/calendar/diary-loaddefs.el)
10044 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10045 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10046 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10047 instead of on update-subdirs.
10048 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10050 2012-07-28 Chong Yidong <cyd@gnu.org>
10052 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10053 directory if vc-deduce-backend returns nil (Bug#7350).
10055 * simple.el (delete-trailing-lines): New option.
10056 (delete-trailing-whitespace): Obey it (Bug#11879).
10058 2012-07-28 David Engster <deng@randomsample.de>
10060 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10061 Explanation of new 'symbol-qnames feature in doc-strings.
10062 (xml-maybe-do-ns): Return expanded names as plain symbols if
10063 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10064 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10066 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10068 Consistent completion in inferior python with emacs -nw.
10069 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10070 binding in inferior-python-mode-map with "\t".
10071 (python-shell-completion-complete-at-point)
10072 (python-completion-complete-at-point): Remove interactive spec.
10074 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10076 * calc/calccomp.el (math-compose-expr): Undo previous change.
10078 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10080 * progmodes/python.el (python-mode-map): Add keybinding for
10082 (python-shell-make-comint): Fix pop-to-buffer call.
10083 (run-python): Autoload. New arg SHOW.
10084 (python-shell-get-or-create-process): Do not pop python process
10087 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10089 * notifications.el (notifications-on-action-signal)
10090 (notifications-on-closed-signal): Use also the bus address for the map.
10091 (notifications-notify, notifications-close-notification)
10092 (notifications-get-capabilities): Add optional argument BUS.
10094 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10096 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10097 Add support for the lstlisting and minted environments, and for the
10099 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10100 labels written in keyvals syntax.
10102 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10104 * calc/calccomp.el (math-compose-expr): Use parentheses when
10105 there is a product in the denominator of a fraction.
10107 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10109 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10110 ($(lisp)/calendar/diary-loaddefs.el)
10111 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10112 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10113 Fixes failures in parallel bootstrap because subdirs.el is being
10114 rewritten while the autoload files are built at the same time,
10115 which needs to load subdirs.el.
10117 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10119 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10120 (mouse-drag-line): Don't exit tracking when a switch-frame or
10121 switch-window event occurs (Bug#12006).
10123 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10125 * mouse.el (popup-menu): Fix last change.
10127 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10129 Autoload from Lisp with more care. Follow aliases when looking for
10130 function properties.
10131 * subr.el (autoloadp): New function.
10132 (symbol-file): Use it.
10133 (function-get): New function.
10134 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10136 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10137 (lisp-indent-function):
10138 * emacs-lisp/gv.el (gv-get):
10139 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10140 * emacs-lisp/byte-opt.el (byte-optimize-form):
10141 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10142 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10144 * emacs-lisp/cl.el: Don't propagate function properties any more.
10146 * speedbar.el (speedbar-add-localized-speedbar-support):
10147 * emacs-lisp/disass.el (disassemble-internal):
10148 * desktop.el (desktop-load-file):
10149 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10150 (describe-function-1):
10151 * emacs-lisp/find-func.el (find-function-noselect):
10152 * emacs-lisp/elp.el (elp-instrument-function):
10153 * emacs-lisp/advice.el (ad-has-proper-definition):
10154 * apropos.el (apropos-safe-documentation, apropos-macrop):
10155 * emacs-lisp/debug.el (debug-on-entry):
10156 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10157 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10158 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10160 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10162 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10163 function, not an obsolete variable (Bug#12046).
10165 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10167 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10169 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10171 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10172 window only if it is still live (Bug#12034).
10174 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10176 * subr.el (redirect-frame-focus): Add advertised calling
10177 convention (Bug#12030).
10179 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10181 Prefer typical American spelling for "acknowledgment".
10182 * vc/add-log.el (change-log-acknowledgment): Rename from
10183 change-log-acknowledgement, with an alias for the old name.
10185 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10187 * calc-alg.el (math-simplify-divide): Don't cross multiply
10188 in an equation when the lhs is a variable.
10190 2012-07-24 Julien Danjou <julien@danjou.info>
10192 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10195 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10197 * startup.el (command-line): Don't display an empty user name in
10198 the error message about non-existent home directory, when
10199 init-file-user was set to an empty string. See
10200 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10201 for the details and context.
10203 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10205 * ses.el (ses-cell-formula-aset): New macro.
10206 (ses-cell-references-aset): New macro.
10207 (ses-cell-p): New function.
10208 (ses-rename-cell): Do no longer rely on complex operations like
10209 ses-cell-set-formula or ses-set-cell to change the cell and handle
10210 the undo at the same time, but rather use lower level new macros
10211 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10212 the undo directly. Refresh the mode line.
10214 2012-07-21 Leo Liu <sdl.web@gmail.com>
10216 * progmodes/cc-cmds.el (c-defun-name):
10217 Use match-string-no-properties instead for consistency.
10219 2012-07-20 Leo Liu <sdl.web@gmail.com>
10221 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10224 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10226 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10228 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10229 * progmodes/bug-reference.el, misearch.el: Provide themselves
10232 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10233 of narrowed buffer (bug#11966).
10235 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10237 * ses.el (ses-rename-cell): Set new name also in reference list of
10238 cells of which the renamed cell depends.
10240 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10242 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10243 to check whether menu-bar is shown or not. If not shown,
10244 show the menu-bar as a popup menu instead of using tmm.
10245 * mouse.el (popup-menu): Accept `point' as `position' argument.
10247 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10249 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10250 up inside string symbol literal (bug#11923).
10252 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10254 * startup.el (fancy-startup-text): Read the whole tutorial, not
10255 just its first 256 bytes. Prevents gibberish in display of the
10258 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10260 Drop idle buffer compaction due to an absence of the
10262 * compact.el: Remove.
10264 2012-07-19 Sam Steingold <sds@gnu.org>
10266 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10267 vc-bzr-pull & vc-bzr-merge-branch.
10268 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10269 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10270 for consistency with compilation-error-regexp-alist.
10271 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10272 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10273 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10274 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10276 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10278 * emacs-lisp/chart.el: Use lexical-binding.
10279 (chart-emacs-storage): Don't hardcode the list of entries.
10281 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10283 Next round of tweaks caused by Fgarbage_collect changes.
10284 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10286 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10288 Compact buffers when idle.
10289 * compact.el: New file.
10291 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10293 * subr.el (eventp): Presume that if it looks vaguely like an event,
10294 it's an event (bug#10190).
10296 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10298 Enhancements to ppss related code (thanks Stefan).
10299 * progmodes/python.el (python-indent-context)
10300 (python-indent-calculate-indentation, python-indent-dedent-line)
10301 (python-indent-electric-colon, python-nav-forward-block)
10302 (python-mode-abbrev-table)
10303 (python-info-assignment-continuation-line-p): Simplify checks
10305 (python-info-continuation-line-p): Cleanup.
10306 (python-info-ppss-context): Do not catch 'quote.
10307 (python-info-ppss-context-type)
10308 (python-info-ppss-comment-or-string-p): Simplify.
10310 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10312 * progmodes/python.el: Enhancements to eldoc support.
10313 (python-info-current-symbol): New function.
10314 (python-eldoc-at-point): Use python-info-current-symbol.
10315 (python-info-current-defun): Fix cornercase on first defun scan.
10316 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10317 and signal error when no inferior python process is available.
10319 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10321 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10322 assume it's always t.
10323 (vc-git-registered): Remove caching, the function is only called
10325 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10327 2012-07-18 Chong Yidong <cyd@gnu.org>
10329 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10331 * simple.el (count-words): Report on narrowing (Bug#9959).
10333 * bindings.el: Bind M-= to count-words.
10335 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10337 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10339 * progmodes/sh-script.el (sh-imenu-generic-expression):
10340 Capture a function with `function' keyword and without parentheses
10341 like "function FOO" (bug#11856).
10343 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10345 * window.el (split-window-sensibly): Make WINDOW argument
10348 2012-07-18 Chong Yidong <cyd@gnu.org>
10350 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10352 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10353 and make C-x 8 RET exit isearch (Bug#11439).
10355 * international/iso-transl.el: Move isearch-mode-map key
10356 definitions to isearch.el.
10358 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10360 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10361 (eieio-defclass): Use gv-define-setter when possible.
10363 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10365 Reflect recent changes in Fgarbage_collect.
10366 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10367 reflect new format of data returned by Fgarbage_collect.
10369 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10371 New utility functions + python-info-ppss-context fix (Bug#11910).
10372 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10373 (python-info-ppss-comment-or-string-p): New functions.
10374 (python-info-ppss-context): Small fix for string check.
10376 2012-07-17 Juri Linkov <juri@jurta.org>
10378 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10379 (dired-do-async-shell-command): Don't add `*' at the end of the
10380 command (Bug#11815).
10381 (dired-do-shell-command): Doc fix.
10382 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10383 Join the individual commands using either "&" or ";" as the
10384 separator depending on the values of these trailing characters.
10385 At the end re-add the trailing "&". (Bug#10598)
10387 * simple.el (async-shell-command): Sync the interactive spec with
10388 `shell-command'. Doc fix.
10389 (shell-command): Doc fix.
10391 2012-07-17 Juri Linkov <juri@jurta.org>
10393 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10395 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10397 Final renames and doc fixes for movement commands (bug#11899).
10398 * progmodes/python.el (python-nav-beginning-of-statement):
10399 Rename from python-nav-statement-start.
10400 (python-nav-end-of-statement): Rename from
10401 python-nav-statement-end.
10402 (python-nav-beginning-of-block): Rename from
10403 python-nav-block-start.
10404 (python-nav-end-of-block): Rename from python-nav-block-end.
10406 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10408 * progmodes/python.el (python-shell-send-string-no-output):
10409 Allow accept-process-output to quit, keeping shell process ready for
10410 future interactions (Bug#11868).
10412 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10414 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10416 * emacs-lisp/elint.el (elint-find-args-in-code):
10417 Use help-function-arglist, so as to handle lexical byte-code.
10419 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10420 change (bug#11826).
10422 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10424 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10425 Avoid spuriously marking the buffer as modified because of c-is-sws.
10427 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10428 as not-a-comment (bug#11946).
10430 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10431 for uninterned vars.
10433 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10434 Use read-event since we don't really want to read chars but bytes.
10436 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10437 $$..$$ but also $..$ using regexps (bug#11953).
10438 Use tex-verbatim for \url and \path.
10439 (tex-font-lock-keywords): Define as defconst like the others.
10440 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10442 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10444 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10445 alias for insert-char.
10447 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10449 * progmodes/python.el: Simplified imenu implementation.
10450 (python-nav-jump-to-defun): Remove command.
10451 (python-mode-map): Use `imenu' instead.
10452 (python-nav-list-defun-positions-cache)
10453 (python-imenu-include-defun-type, python-imenu-make-tree)
10454 (python-imenu-subtree-root-label, python-imenu-index-alist):
10456 (python-nav-list-defun-positions, python-nav-read-defun)
10457 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10458 (python-imenu-make-tree, python-imenu-create-index):
10460 (python-mode): Update to interact with imenu by setting
10461 `imenu-extract-index-name-function' only.
10463 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10465 * progmodes/python.el: Enhancements to navigation commands.
10466 (python-nav-backward-sentence)
10467 (python-nav-forward-sentence): Remove.
10468 (python-nav-backward-statement, python-nav-forward-statement)
10469 (python-nav-statement-start, python-nav-statement-end)
10470 (python-nav-backward-block, python-nav-forward-block)
10471 (python-nav-block-start, python-nav-block-end)
10472 (python-nav-forward-sexp-function)
10473 (python-info-current-line-comment-p)
10474 (python-info-current-line-empty-p): New functions.
10475 (python-indent-context): Use `python-nav-statement-start'.
10477 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10479 * eshell/em-ls.el (eshell/ls): Use `apply'.
10481 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10482 multi-hops, instead of Tramp internals.
10484 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10486 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10487 when F1 and F2 are located on different hosts.
10489 2012-07-14 Chong Yidong <cyd@gnu.org>
10491 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10492 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10493 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10494 (xterm-mouse--read-event-sequence-1000)
10495 (xterm-mouse--read-event-sequence-1006): New functions. For old
10496 mouse protocol, handle M-mouse-X events correctly.
10497 (xterm-mouse-event): New arg specifying mouse protocol.
10498 (turn-on-xterm-mouse-tracking-on-terminal)
10499 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10500 sequence to toggle extended coordinates on newer XTerms.
10501 This appears to be harmless on terminals which do not support this.
10503 2012-07-14 Leo Liu <sdl.web@gmail.com>
10505 Add fringe bitmap indicators for flymake. (Bug#11253)
10506 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10507 (flymake-make-overlay): New arg BITMAP.
10508 (flymake-error-bitmap, flymake-warning-bitmap)
10509 (flymake-fringe-indicator-position): New user variables.
10511 * fringe.el: New bitmap exclamation-mark.
10513 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10515 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10518 2012-07-14 Chong Yidong <cyd@gnu.org>
10520 * electric.el (electric-pair-post-self-insert-function): Fix pair
10521 insertion in empty-region case (Bug#11520).
10523 2012-07-14 Chong Yidong <cyd@gnu.org>
10525 * bindings.el: Consolidate ctl-x-r-map bindings.
10526 Bind copy-rectangle-as-kill to C-x r w.
10528 * rect.el, register.el: Move bindings to bindings.el.
10530 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10532 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10534 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10536 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10538 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10540 * bindings.el (top): Use `mapc' instead of `mapcar'.
10542 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10544 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10546 * progmodes/sql.el (sql-comint): Suppress the check for program on
10547 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10550 2012-07-13 Chong Yidong <cyd@gnu.org>
10552 * bindings.el: Assign a non-nil permanent-local property to
10553 per-buffer variables which lack a default value (Bug#11930).
10555 * help-fns.el (describe-variable): In the "automatically becomes
10556 local" notice, take note of permanent-local variables.
10558 2012-07-13 Chong Yidong <cyd@gnu.org>
10560 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10561 to allow printing the message when called from Lisp.
10563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10564 Remove toggle-read-only.
10566 * bs.el (bs-toggle-readonly):
10567 * buff-menu.el (Buffer-menu-toggle-read-only):
10568 Remove with-no-warnings around toggle-read-only.
10570 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10571 Remove with-no-warnings around toggle-read-only.
10572 (ffap-read-only, ffap-read-only-other-window)
10573 (ffap-read-only-other-frame): Callers changed.
10575 * help-mode.el: Don't require view package.
10576 (help-mode-finish): Set buffer-read-only instead of calling
10579 * bindings.el (mode-line-toggle-read-only):
10580 * dired.el (dired-toggle-read-only):
10581 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10582 with non-nil second arg.
10584 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10585 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10588 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10590 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10593 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10595 More CL cleanups and reduction of use of cl.el.
10596 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10597 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10598 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10599 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10600 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10601 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10602 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10603 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10604 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10605 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10606 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10607 * eshell/em-cmpl.el, eshell/em-banner.el:
10608 * calendar/parse-time.el: Use cl-lib.
10609 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10610 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10611 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10612 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10613 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10614 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10615 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10616 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10617 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10618 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10619 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10620 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10621 `lambda' rather than with `quote'.
10622 (eshell-do-opt): Adjust accordingly.
10623 (eshell-process-option): Simplify.
10624 * eshell/esh-var.el:
10625 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10626 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10627 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10628 to `pcase--dontcare'.
10629 * emacs-lisp/cl.el (labels): Mark obsolete.
10630 (cl--letf, letf): Move to cl-lib.
10631 (cl--letf*, letf*): Remove.
10632 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10633 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10634 (cl-progv): Rewrite.
10635 (cl--letf, cl-letf): Move from cl.el.
10636 (cl-letf*): New macro.
10637 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10639 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10641 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10643 2012-07-11 Chong Yidong <cyd@gnu.org>
10645 * vc/log-edit.el (log-edit-vc-backend): New variable.
10646 (log-edit): Doc fix.
10648 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10649 argument of log-edit to set up all local variables.
10650 (vc-start-logentry): New optional arg specifying VC backend.
10652 * vc/vc.el (vc-checkin): Use it.
10653 (vc-deduce-fileset): Handle Log Edit buffers.
10654 (vc-diff): Make first argument optional too.
10656 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10658 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10660 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10661 command, just in case. The function is not needed anymore.
10662 (eshell-external-command): Do not call `eshell-remote-command'.
10664 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10666 Reduce use of (require 'cl).
10667 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10668 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10669 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10670 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10671 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10672 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10673 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10674 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10675 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10676 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10677 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10678 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10679 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10680 (byte-compile-unfold-bcf, byte-compile-check-variable):
10681 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10682 (byte-compile-nilconstp):
10683 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10684 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10686 * emacs-lisp/gv.el (cond): Make it a valid place.
10687 (if): Simplify slightly.
10689 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10690 (pcase--self-quoting-p): New function.
10691 (pcase--u1): Use it.
10693 2012-07-10 Glenn Morris <rgm@gnu.org>
10695 * emacs-lisp/authors.el (authors-fixed-entries):
10696 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10698 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10700 Rename configure.in to configure.ac (Bug#11603).
10701 * emacs-lisp/authors.el (authors-canonical-file-name):
10702 * progmodes/autoconf.el (autoconf-mode):
10703 Prefer configure.ac to configure.in.
10705 2012-07-08 Chong Yidong <cyd@gnu.org>
10707 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10708 Implement the mouse-1-click-follows-link handling properly.
10710 * info.el (Info-link-keymap): Use follow-link mechanism for
10711 header-line links (Bug#374).
10713 * simple.el (deactivate-mark): Do not set the primary selection
10714 if another program has acquired it (Bug#11772).
10716 2012-07-07 Kevin Ryde <user42@zip.com.au>
10718 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10719 (woman-decode-region): Replace escaped-escapes without destroying
10720 bold or underline (Bug#11552).
10721 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10723 2012-07-07 Chong Yidong <cyd@gnu.org>
10725 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10726 (interprogram-cut-function, interprogram-paste-function):
10727 Mention that we typically mean the clipboard.
10729 2012-07-06 Glenn Morris <rgm@gnu.org>
10731 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10733 * files.el (toggle-read-only): Restrict message to interactive use.
10735 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10737 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10739 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10741 2012-07-06 Glenn Morris <rgm@gnu.org>
10743 * Makefile.in (compile-one-process): Rename from "recompile".
10745 * Makefile.in (bzr-update): "compile" is the same as "recompile
10746 autoloads", but parallelizable, so use that instead.
10748 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10750 * window.el (quit-window): Always restore window height when
10751 it's saved in quit-restore parameter (Bug#11810).
10753 2012-07-06 Glenn Morris <rgm@gnu.org>
10755 * simple.el (kill-whole-line): Doc tweak.
10757 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10759 * files.el (file-relative-name): Compare file names
10760 case-insensitively if on MS-Windows or MS-DOS, or if
10761 read-file-name-completion-ignore-case is non-nil. Don't use
10762 case-fold-search for this purpose. (Bug#11827)
10764 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10766 * calendar/cal-dst.el (calendar-current-time-zone):
10767 Return calendar-current-time-zone-cache if non-nil.
10769 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10770 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10772 * calendar/cal-dst.el (calendar-current-time-zone):
10773 Return calendar-current-time-zone-cache if non-nil.
10775 2012-07-06 Glenn Morris <rgm@gnu.org>
10777 * Makefile.in (cvs-update): Remove old alias.
10779 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10781 Sync with Tramp 2.2.6-pre.
10783 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10784 compatible declaration.
10786 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10787 Protect `list-load-path-shadows' call.
10789 * net/tramp-compat.el (top): Require packages, which aren't
10790 autoloaded anymore for XEmacs. Protect call of
10791 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10792 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10793 it hurts at least for SXEmacs.
10794 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10795 standard-value for `temporary-file-directory'.
10797 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10798 Redirect stderr to /dev/null.
10799 (tramp-sh-handle-write-region): uid and gid can be floats.
10800 Reported by Russell Sim <russell.sim@gmail.com>.
10801 (tramp-sh-handle-vc-registered): Hide errors.
10802 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10803 and `start-file-process'.
10804 (tramp-maybe-open-connection): Check also whether `non-essential'
10807 2012-07-04 Chong Yidong <cyd@gnu.org>
10809 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10810 (xml-parse-tag): Likewise, and avoid changing entity tables.
10811 (xml-syntax-table): Define from scratch, making sure not to give
10812 x2000 and other Unicode spaces whitespace syntax, since those are
10814 (xml-parse-fragment): Delete unused function.
10815 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10816 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10817 (xml-entity-ref, xml-pe-reference-re)
10818 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10819 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10820 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10821 (xml-entity-value-re): Use syntax references in regexps where
10822 possible; no need to define inside a let-binding.
10823 (xml-parse-dtd): Use xml-pe-reference-re.
10824 (xml-entity-or-char-ref-re): New defconst.
10825 (xml-parse-string, xml-substitute-special): Use it.
10827 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10829 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10830 (find-file--read-only): New function.
10831 (find-file-read-only, find-file-read-only-other-window)
10832 (find-file-read-only-other-frame): Use it.
10833 (insert-file-contents-literally): Don't `fset'.
10834 (get-free-disk-space): Use locate-dominating-file.
10836 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10837 function is already compiled.
10839 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10841 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10843 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10844 files on the same host.
10846 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10848 * help-fns.el (describe-function-1): Only call
10849 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10851 2012-07-03 Chong Yidong <cyd@gnu.org>
10853 * xml.el: Protect parser against XML bombs.
10854 (xml-entity-expansion-limit): New variable.
10855 (xml-parse-string, xml-substitute-special): Use it.
10856 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10858 2012-07-03 Glenn Morris <rgm@gnu.org>
10860 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10861 Allow linking to specific messages in debbugs reports (eg 123#5).
10863 2012-07-02 Chong Yidong <cyd@gnu.org>
10865 * xml.el: Fix entity and character reference expansion, allowing
10866 them to expand into markup as per XML spec.
10867 (xml-default-ns): New variable.
10868 (xml-entity-alist): Use XML spec definitions for lt and amp.
10869 (xml-parse-region): Make first two arguments optional.
10870 Discard text properties.
10871 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10872 All callers changed.
10873 (xml-parse-tag): Call xml-parse-tag-1. For backward
10874 compatibility, this function should not modify buffer contents.
10875 (xml-parse-tag-1): Fix opening-tag regexp.
10876 (xml-parse-string): Rewrite, handling entity and character
10877 references properly.
10878 (xml--entity-replacement-text): Signal an error if a parameter
10879 entity is undefined.
10881 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10883 * comint.el (comint-output-filter): Filter out repeated prompts.
10885 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10886 and file-name-absolute-p.
10887 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10890 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10893 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10894 Rename from byte-compile--refiy-function. All uses changed.
10896 2012-07-01 Chong Yidong <cyd@gnu.org>
10898 * xml.el (xml--parse-buffer): New function. Move most of
10899 xml-parse-region here.
10900 (xml-parse-region): Copy region into a temporary buffer, since
10901 parameter entity substitution requires changing buffer contents.
10902 Use xml--parse-buffer.
10903 (xml-parse-file): Use xml--parse-buffer.
10904 (xml-parse-dtd): Make parameter entity substitution work right.
10905 Use proper regexps for ELEMENT declarations (Bug#7172).
10907 2012-06-30 Glenn Morris <rgm@gnu.org>
10909 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10911 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10912 Remove outdated and unnecessary dbus declarations.
10914 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10916 * emacs-lisp/timer.el (timer-until): Subtract results of
10917 float-time, instead of taking float-time of the result of
10918 time-subtract, since float-time signals an error for negative time
10921 2012-06-30 Chong Yidong <cyd@gnu.org>
10923 * xml.el (xml-*-re): Convert defvars into defconsts, and
10924 eval-and-compile them so eval-and-compile works on derivatives.
10925 (xml--entity-replacement-text): Use eval-and-comple.
10927 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10929 * vc/vc-git.el (vc-git-registered): Use cache property
10931 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10932 `vc-git-working-revision' in order to benefit from the cache.
10933 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10935 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10937 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10938 removed (likely outside Emacs). (Bug#11757)
10940 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * emacs-lisp/cl-lib.el: Require macroexp.
10944 2012-06-30 Chong Yidong <cyd@gnu.org>
10946 * xml.el: Implement XML parameter entities.
10947 (xml-parameter-entity-alist): New variable.
10948 (xml-parse-region, xml-parse-fragment): Preserve previous values
10949 of xml-entity-alist and xml-parameter-entity-alist, so that
10950 repeated calls on different documents do not change them.
10951 (xml-parse-tag): Fix doctype regexp.
10952 (xml--entity-replacement-text): New function.
10953 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10954 properly requires url retrieval which is unimplemented.
10955 (xml-escape-string): Doc fix.
10957 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10961 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10963 * fringe.el (fringe-mode): Doc fix.
10965 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10967 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10969 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10970 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10972 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10974 * calendar/cal-dst.el (calendar-current-time-zone):
10975 Return calendar-current-time-zone-cache if non-nil.
10977 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10979 * progmodes/which-func.el (which-func-format):
10980 Add mouse-face. (Bug#11698)
10982 2012-06-29 Leo Liu <sdl.web@gmail.com>
10984 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10986 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10988 * minibuffer.el (minibuffer-confirm-exit-commands):
10989 Add completion-at-point (bug#11725).
10991 2012-06-29 Glenn Morris <rgm@gnu.org>
10993 * progmodes/f90.el (f90-font-lock-keywords-2):
10994 Add some preprocessor elements. (Bug#10499)
10996 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10999 Use syntax-propertize (bug#11739).
11001 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11003 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11005 2012-06-28 Julien Danjou <julien@danjou.info>
11007 * term.el (term-handle-colors-array): Use a set of new faces to
11008 color the terminal. Also uses :inverse-video property.
11009 (term-default-fg-color): Set to nil by default, deprecate in favor
11011 (term-default-bg-color): Set to nil by default, deprecate in favor
11013 (term-current-face): Use `term-face' by default.
11014 (term-bold-attribute): Variable deleted.
11016 2012-06-28 Glenn Morris <rgm@gnu.org>
11018 * simple.el (completion-list-mode-finish):
11019 Don't use toggle-read-only. (Since completion-list-mode has
11020 a special mode-class, it wasn't doing anything extra anyway.)
11022 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11024 Make inlining of other-mode interpreted functions work (bug#11799).
11025 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11026 (byte-compile): Use it to fix compilation of lexical-binding closures.
11027 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11028 function, if needed.
11030 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * help-mode.el (help-make-xrefs): Don't just withstand
11033 cyclic-variable-indirection but any error in documentation-property.
11035 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11037 * bindings.el (bindings--define-key): New function.
11038 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11039 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11040 * bindings.el: Use it to purecopy define-key bindings.
11042 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11044 * emacs-lisp/cl.el (flet): Mark obsolete.
11045 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11046 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11047 * progmodes/js.el (js-c-fill-paragraph):
11048 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11049 (ebrowse-switch-member-buffer-to-derived-class):
11050 * play/5x5.el (5x5-solver): Use cl-flet.
11052 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11053 (cl--symbol-function): New macro.
11054 (cl--letf, cl--letf*): Use it.
11056 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11057 Strip "toggle-" if any.
11059 2012-06-27 Glenn Morris <rgm@gnu.org>
11061 * info.el (Info-default-directory-list): Move here from paths.el.
11062 * paths.el: Remove file, which is now empty.
11063 * loadup.el: No longer load "paths".
11065 * custom.el (custom-initialize-delay): Doc fix.
11067 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11068 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11069 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11070 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11071 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11072 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11073 * eshell/eshell.el (eshell-defgroup): Remove alias.
11075 2012-06-27 Chong Yidong <cyd@gnu.org>
11077 * help.el (help-enable-auto-load): New variable.
11079 * help-fns.el (help-fns--autoloaded-p): New function.
11080 (describe-function-1): Refer to a function as "autoloaded" if it
11081 was autoloaded at any time in the past. Perform autoloading if
11082 help-enable-auto-load is non-nil.
11084 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11086 * makefile.w32-in (compile, compile-always): Depend on
11087 update-subdirs, not on subdirs.el. Otherwise, several different
11088 sub-targets of 'bootstrap' running in parallel could
11089 simultaneously write to subdirs.el, producing a garbled file.
11091 2012-06-26 Sam Steingold <sds@gnu.org>
11093 * files.el (file-name-base): New convenience function.
11094 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11095 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11096 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11097 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11098 * textmodes/ispell.el, textmodes/reftex-ref.el:
11099 * textmodes/tex-mode.el: Use it.
11100 Did not touch cedet and org because they are maintained elsewhere.
11102 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11104 * calendar/calendar.el (calendar-exit): Don't try to delete or
11105 iconify last frame. See:
11106 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11108 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11110 * server.el (server-process-filter): Remember dir in the
11111 process's `server-client-directory' properties.
11113 2012-06-24 Chong Yidong <cyd@gnu.org>
11115 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11118 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11120 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11122 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11124 * help-fns.el (describe-variable): Don't croak when doc is not found.
11125 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11126 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11127 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11128 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11129 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11131 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11133 2012-06-23 Chong Yidong <cyd@gnu.org>
11135 * info.el (Info-mouse-follow-link): Accept symbol values of
11136 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11137 (Info-fontify-node): Use Info-link-keymap for all navigation
11138 buttons, with link-args property to perform the desired action.
11139 (Info-link-keymap): Doc fix.
11140 (Info-next-link-keymap, Info-prev-link-keymap)
11141 (Info-up-link-keymap): Delete now-unused keymaps.
11143 2012-06-23 Chong Yidong <cyd@gnu.org>
11145 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11147 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11150 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11152 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11154 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11157 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11158 the requote function doesn't work properly (bug#11714).
11160 2012-06-23 Glenn Morris <rgm@gnu.org>
11162 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11164 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11166 Further GV/CL cleanups.
11167 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11169 (gv--defun-declaration): New function.
11170 (defun-declarations-alist): Use it.
11171 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11172 (gv-place): Autoload.
11173 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11174 original definition of dotimes and dolist.
11175 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11176 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11177 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11178 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11179 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11180 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11181 to the function's definition.
11182 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11186 * env.el: Don't use CL.
11188 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11190 Support higher-resolution time stamps (Bug#9000).
11192 * calendar/time-date.el (with-decoded-time-value): New arg
11193 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11194 (encode-time-value): New optional arg PICO. New type 3.
11195 (time-to-seconds) [!float-time]: Support the new picoseconds
11196 component if it's used.
11197 (seconds-to-time, time-subtract, time-add):
11198 Support ps-resolution time stamps as well.
11200 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11201 (timerp): Timer vectors now have length 9, not 8.
11202 (timer--time): Support new-style (4-part) time stamps.
11203 (timer-next-integral-multiple-of-time): Time stamps now have
11204 picosecond resolution, so take a bit more care about rounding.
11205 (timer-relative-time, timer-inc-time): New optional arg psecs.
11206 (timer-set-time-with-usecs): Set psecs to 0.
11207 (timer--activate): Check psecs component, too.
11209 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11211 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11213 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11214 Move the non-essential binding to the post/pre-command-hook where it is
11215 more obviously correct.
11217 * subr.el (read-passwd): Don't use a history at all.
11218 * savehist.el (savehist-save): Remove password saved accidentally
11219 because of the above bug.
11221 2012-06-22 Bastien Guerry <bzg@gnu.org>
11223 * files.el (toggle-read-only): Display a message telling whether
11224 the buffer is read-only or not (bug#11726).
11226 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * emacs-lisp/gv.el: New file.
11229 * subr.el (push, pop): Extend to generalized variables.
11230 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11231 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11232 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11233 gv-define-simple-setter, and gv-define-expander.
11234 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11235 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11236 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11237 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11238 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11240 (cl-defstruct): Don't define setf-method any more.
11241 * emacs-lisp/cl.el (flet): Don't autoload.
11242 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11243 (define-setf-expander, defsetf, define-modify-macro)
11244 (cl-struct-setf-expander): Move from cl-lib.el.
11245 * emacs-lisp/syntax.el:
11246 * emacs-lisp/ewoc.el:
11247 * emacs-lisp/smie.el:
11248 * emacs-lisp/cconv.el:
11249 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11250 (timer--time): Use gv-define-simple-setter.
11251 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11252 to avoid coding-system problems in subr.el. Adjust all users.
11253 (macroexp--maxsize, macroexp-small-p): New functions.
11254 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11255 * scroll-bar.el (scroll-bar-mode):
11256 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11257 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11258 * winner.el (winner-configuration, winner-make-point-alist)
11259 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11260 * files.el (locate-file-completion-table): Avoid list*.
11262 2012-06-22 Chong Yidong <cyd@gnu.org>
11264 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11265 (dired-create-files): Doc fix (Bug#11329).
11266 (dired-do-copy): Doc fix (Bug#11334).
11267 (dired-mark-read-string): Doc fix (Bug#11553).
11269 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11270 Doc fix (Bug#11326).
11271 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11272 (dired-dwim-target): Doc fix.
11274 * wdired.el (wdired-mode): Doc fix.
11276 2012-06-22 Glenn Morris <rgm@gnu.org>
11278 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11279 (pcmpl-rpm-cache-stamp-file): New constant.
11280 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11281 (pcmpl-rpm-packages): Optionally cache list of packages.
11283 * pcmpl-rpm.el (pcmpl-rpm): New group.
11284 (pcmpl-rpm-query-options): New option.
11285 (pcmpl-rpm-packages): No need to inline it.
11286 Use pcmpl-rpm-query-options.
11288 * calendar/calendar.el (calendar-in-read-only-buffer):
11289 Avoid some needless mode changes.
11291 2012-06-21 Chong Yidong <cyd@gnu.org>
11293 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11294 (desktop-path): Remove . from the default value (Bug#10977).
11295 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11297 2012-06-20 Chong Yidong <cyd@gnu.org>
11299 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11301 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11303 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11306 2012-06-20 Chong Yidong <cyd@gnu.org>
11308 * term.el (term-window-width): Handle the case of a missing right
11310 (term-check-size): Use window-text-height (Bug#5445).
11311 (term-mode): Use define-derived-mode. Minor cleanups.
11312 Set font-lock-defaults (Bug#7692).
11313 (term-move-columns, term-insert-char, term-emulate-terminal)
11314 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11316 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11318 * net/ange-ftp.el (ange-ftp-get-passwd):
11319 Bind `enable-recursive-minibuffers'.
11320 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11322 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11324 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11326 2012-06-19 Glenn Morris <rgm@gnu.org>
11328 * progmodes/python.el (python-mode): Derive from prog-mode.
11330 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11332 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11333 (edt-user-menu-bar-update-buffers): New functions.
11334 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11336 2012-06-19 Chong Yidong <cyd@gnu.org>
11338 * subr.el (with-selected-window): Preserve the selected window's
11339 terminal's top-frame (Bug#4702).
11341 * window.el (save-selected-window): Likewise.
11343 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11345 * progmodes/python.el (python-rx-constituents): Move backquote.
11346 (python-skeleton-define, python-define-auxiliary-skeleton):
11349 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11351 * minibuffer.el (read-file-name-default): Revert the patch from
11354 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11356 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11357 (pcase--u1, pcase--q1): Don't use apply-partially.
11359 2012-06-18 Glenn Morris <rgm@gnu.org>
11361 * progmodes/python.el (python-proc, python-buffer)
11362 (python-send-receive, python-send-string): Fix obsolete versions.
11364 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11366 * window.el (special-display-p): Completely remove stringp
11367 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11369 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11371 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11373 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11375 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11376 * net/tramp-sh.el (tramp-maybe-open-connection):
11377 Throw if `non-essential' is non-nil.
11379 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11381 * window.el (special-display-p): Signal an error if BUFFER-NAME
11382 is not a string (Bug#11713).
11384 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11386 * progmodes/python.el (python-info-beginning-of-backslash):
11387 Rename from python-info-beginning-of-backlash, as a spelling fix.
11389 2012-06-17 Chong Yidong <cyd@gnu.org>
11391 * term.el (term-emulate-terminal): If term-check-size is called,
11392 move point to the process mark without resetting point (Bug#4635).
11394 2012-06-17 Glenn Morris <rgm@gnu.org>
11396 * international/mule-cmds.el (mule-menu-keymap)
11397 (set-language-environment, set-locale-environment): Doc tweaks.
11399 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11401 * cus-face.el (custom-face-attributes): Add wave-style underline
11403 * faces.el (set-face-attribute): Update docstring to describe
11404 wave-style underline attribute.
11406 2012-06-16 Chong Yidong <cyd@gnu.org>
11408 * term/xterm.el (terminal-init-xterm): Discard input before
11409 querying background mode (Bug#10959).
11411 2012-06-16 Stefan Merten <smerten@oekonux.de>
11413 * textmodes/rst.el: Added and corrected some comments.
11414 (rst-re-alist-def): Improve symbol syntax.
11415 (rst-mode-syntax-table): Correct syntax entries.
11416 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11417 (rst-official-version, rst-official-cvs-rev): Update version
11420 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11422 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11423 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11425 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11427 * progmodes/python.el: New python.el merge.
11428 (python-guess-indent): Obsolete var.
11429 (python-indent-guess-indent-offset): New defcustom.
11430 (python-indent): Obsolete var.
11431 (python-indent-offset): New defcustom.
11432 (python-python-command, python-jython-command): Delete var.
11433 (python-shell-interpreter): New defcustom.
11434 (python-pdbtrack-do-tracking-p): Delete var.
11435 (python-pdbtrack-activate): New defcustom.
11436 (python-use-skeletons): Obsolete var.
11437 (python-skeleton-autoinsert): New defcustom.
11438 (inferior-python-filter-regexp, python-continuation-offset)
11439 (python-honour-comment-indentation, python-indent-string-contents)
11440 (python-jython-packages, python-mode-hook)
11441 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11442 (python-shell-prompt-alist)
11443 (python-source-modes): Delete defcustoms.
11444 (python-check-buffer-name, python-eldoc-setup-code)
11445 (python-eldoc-string-code, python-ffap-setup-code)
11446 (python-ffap-string-code, python-fill-comment-function)
11447 (python-fill-decorator-function, python-fill-paren-function)
11448 (python-fill-string-function, python-imenu-include-defun-type)
11449 (python-imenu-make-tree, python-imenu-subtree-root-label)
11450 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11451 (python-shell-compilation-regexp-alist)
11452 (python-shell-completion-module-string-code)
11453 (python-shell-completion-pdb-string-code)
11454 (python-shell-completion-setup-code)
11455 (python-shell-completion-string-code)
11456 (python-shell-enable-font-lock, python-shell-exec-path)
11457 (python-shell-extra-pythonpaths)
11458 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11459 (python-shell-process-environment)
11460 (python-shell-prompt-block-regexp)
11461 (python-shell-prompt-output-regexp)
11462 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11463 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11464 (python-shell-virtualenv-path): New defcustoms.
11465 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11466 (inferior-python-mode-syntax-table, python--prompt-regexp)
11467 (python-buffer, python-command python-python-command)
11468 (python-default-template, python-imports, python-indent-index)
11469 (python-indent-list, python-indent-list-length)
11470 (python-mode-running, python-pdbtrack-is-tracking-p)
11471 (python-preoutput-continuation, python-preoutput-leftover)
11472 (python-preoutput-result, python-preoutput-skip-next-prompt)
11473 (python-prev-dir/file, python-recursing)
11474 (python-saved-check-command, python-version-checked)
11475 (python-which-func-length-limit)
11476 (view-return-to-alist): Delete vars.
11477 (python-check-custom-command, python-dotty-syntax-table)
11478 (python-imenu-index-alist, python-indent-current-level)
11479 (python-indent-dedenters, python-indent-levels)
11480 (python-nav-beginning-of-defun-regexp)
11481 (python-nav-list-defun-positions-cache)
11482 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11483 (python-shell-internal-buffer)
11484 (python-skeleton-available): New vars.
11485 (def-python-skeleton): Delete macro.
11486 (python-skeleton-define): New macro.
11487 (python-define-auxiliary-skeleton, python-rx): New macros.
11488 (python-insert-class): Delete command.
11489 (python-skeleton-class): New command.
11490 (python-insert-def): Delete command.
11491 (python-skeleton-def): New command.
11492 (python-insert-for): Delete command.
11493 (python-skeleton-for): New command.
11494 (python-insert-if): Delete command.
11495 (python-skeleton-if): New command.
11496 (python-insert-try/except, python-insert-try/finally): Delete commands.
11497 (python-skeleton-try): New command.
11498 (python-insert-while): Delete command.
11499 (python-skeleton-while): New command.
11500 (python-backspace): Delete command.
11501 (python-indent-dedent-line-backspace): New command.
11502 (python-electric-colon): Delete command.
11503 (python-indent-electric-colon): New command.
11504 (python-guess-indent): Delete command.
11505 (python-indent-guess-indent-offset): New command.
11506 (python-shift-left): Delete command.
11507 (python-indent-shift-left): New command.
11508 (python-shift-right): Delete command.
11509 (python-indent-shift-right): New command.
11510 (python-find-function): Delete command.
11511 (python-nav-jump-to-defun): New command.
11512 (python-next-statement): Delete command.
11513 (python-nav-forward-sentence): New command.
11514 (python-previous-statement): Delete command.
11515 (python-nav-backward-sentence): New command.
11516 (python-fill-paragraph): Delete command.
11517 (python-fill-paragraph-function): New command.
11518 (python-send-buffer): Delete command.
11519 (python-shell-send-buffer): New command.
11520 (python-send-defun): Delete command.
11521 (python-shell-send-defun): New command.
11522 (python-send-region, python-send-region-and-go): Delete commands.
11523 (python-shell-send-region)
11524 (python-shell-switch-to-shell): New commands.
11525 (python-send-string): Delete command.
11526 (python-shell-send-string): New command.
11527 (python-switch-to-python): Delete command.
11528 (python-shell-switch-to-shell): New command.
11529 (python-describe-symbol): Delete command.
11530 (python-eldoc-at-point): New command.
11531 (python--set-prompt-regexp, python-args-to-list)
11532 (python-after-info-look, python-check-version)
11533 (python-check-comint-prompt, python-find-imports)
11534 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11535 (python-unload-function, python-expand-template)
11536 (python-maybe-jython, python-preoutput-filter)
11537 (python-pdbtrack-get-source-buffer)
11538 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11539 (python-pdbtrack-toggle-stack-tracking)
11540 (python-pdbtrack-track-stack-file, python-initial-text)
11541 (python-first-word, python-comment-line-p, python-send-command)
11542 (python-setup-brm, python-sentinel, python-set-proc)
11543 (python-skip-out, python-input-filter, python-outdent-p)
11544 (python-outline-level, python-backslash-continuation-line-p)
11545 (python-end-of-block, python-end-of-statement, python-mark-block)
11546 (python-beginning-of-block, python-beginning-of-statement)
11547 (python-blank-line-p, python-beginning-of-string)
11548 (python-open-block-statement-p): Delete functions.
11549 (python-indent-line, python-indent-line-1): Delete functions.
11550 (python-indent-line): New function.
11551 (python-indentation-levels): Delete function.
11552 (python-indent-calculate-levels): New function.
11553 (python-proc): Delete function.
11554 (python-shell-get-process): New function.
11555 (python-send-receive): Delete function.
11556 (python-shell-send-string-no-output): New function.
11557 (python-module-path): Delete function.
11558 (python-ffap-module-path): New function.
11559 (python-completion-at-point)
11560 (python-symbol-completions): Delete functions.
11561 (python-completion-complete-at-point): New function.
11562 (python-load-file): Delete function.
11563 (python-shell-send-file): New function.
11564 (python-calculate-indentation): Delete function.
11565 (python-indent-calculate-indentation): New function.
11566 (python-skip-comments/blanks): Delete function.
11567 (python-util-forward-comment): New function.
11568 (python-continuation-line-p): Delete function.
11569 (python-info-continuation-line-p): New function.
11570 (python-which-func, python-current-defun): Delete function.
11571 (python-info-current-defun): New function.
11572 (python-beginning-of-defun): Delete function.
11573 (python-nav-beginning-of-defun): New function.
11574 (python-close-block-statement-p)
11575 (python-block-end-p): Delete function.
11576 (python-info-closing-block): New function.
11577 (python-comint-output-filter-function)
11578 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11579 (python-fill-comment, python-fill-decorator, python-fill-paren)
11580 (python-fill-string, python-imenu-make-element-tree)
11581 (python-imenu-make-tree, python-imenu-tree-assoc)
11582 (python-indent-context, python-indent-dedent-line)
11583 (python-indent-line-function)
11584 (python-indent-post-self-insert-function)
11585 (python-indent-toggle-levels)
11586 (python-info-assignment-continuation-line-p)
11587 (python-info-beginning-of-backlash)
11588 (python-info-block-continuation-line-p)
11589 (python-info-closing-block-message)
11590 (python-info-line-ends-backslash-p)
11591 (python-info-looking-at-beginning-of-defun)
11592 (python-info-ppss-context, python-info-ppss-context-type)
11593 (python-nav-list-defun-positions, python-nav-read-defun)
11594 (python-nav-sentence-end, python-nav-sentence-start)
11595 (python-pdbtrack-comint-output-filter-function)
11596 (python-pdbtrack-set-tracked-buffer)
11597 (python-shell-calculate-exec-path)
11598 (python-shell-calculate-process-environment)
11599 (python-shell-completion--do-completion-at-point)
11600 (python-shell-completion--get-completions)
11601 (python-shell-completion-complete-at-point)
11602 (python-shell-completion-complete-or-indent)
11603 (python-shell-get-or-create-process)
11604 (python-shell-get-process-name)
11605 (python-shell-internal-get-or-create-process)
11606 (python-shell-internal-get-process-name)
11607 (python-shell-internal-send-string, python-shell-make-comint)
11608 (python-shell-parse-command, python-shell-send-setup-code)
11609 (python-skeleton-add-menu-items)
11610 (python-util-clone-local-variables, python-util-position)
11611 (run-python-internal, python-indentation-levels)
11612 (python-nav-beginning-of-defun)
11613 (python-completion-complete-at-point): New functions.
11614 (run-python): Change arguments. New API requirements.
11616 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11618 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11621 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11622 (macroexp--expand-all): Use it.
11624 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11625 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11626 Use `cl-function' instead.
11628 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11630 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11631 Suggested by Stefan Monnier while discussing bug#11657.
11633 2012-06-14 Sam Steingold <sds@gnu.org>
11635 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11637 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11639 * play/doctor.el (doctor-doc): Remove parameter and use
11640 doctor-sent instead of sent.
11641 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11643 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11645 * files.el: Require cl-lib.
11646 (file-name-non-special): Replace case -> cl-case.
11648 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11650 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11651 mapping from #' to function*.
11653 2012-06-13 Chong Yidong <cyd@gnu.org>
11655 * mouse.el (mouse-drag-track): Do not set the mark if the user
11656 releases the mouse without selecting anything (Bug#11588).
11658 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11660 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11661 as well (bug#11646).
11663 * loadup.el: Count byte-code functions as well.
11665 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11666 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11668 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11669 (bug#11649). Add cl-defun and cl-defmacro.
11671 2012-06-13 Drew Adams <drew.adams@oracle.com>
11673 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11676 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11678 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11679 Otherwise, it blocks in batch mode.
11681 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11683 * help-mode.el (bookmark-make-record-default): Declare.
11685 2012-06-13 Chong Yidong <cyd@gnu.org>
11687 * emacs-lisp/package.el (list-packages): Compute a list of
11688 packages that are newly-available since the last list-packages
11690 (package-menu--new-package-list): New var.
11691 (package-menu--generate, package-menu--print-info)
11692 (package-menu--status-predicate, package-menu-mark-install):
11693 Handle new status label "new".
11695 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11698 conversion to backquotes.
11700 2012-06-12 Chong Yidong <cyd@gnu.org>
11702 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11703 Rename from gud-inhibit-global-bindings.
11705 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11707 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11708 hook from nxml-glyph-set-hook.
11710 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11713 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11715 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11716 Convert to defcustom.
11718 2012-06-12 Drew Adams <drew.adams@oracle.com>
11720 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11722 (help-mode): Use them.
11724 2012-06-11 Glenn Morris <rgm@gnu.org>
11726 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11727 Use preprocessor face for directives.
11728 (fortran-directive-re): Doc fix.
11730 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11732 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11733 conversion to backquotes (bug#11652).
11735 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11736 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11737 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11738 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11739 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11740 (cl-ninth, cl-tenth): Mark them as inlinable.
11741 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11742 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11743 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11744 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11745 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11746 (cl-list*, cl-adjoin): Don't put an autoload manually.
11747 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11748 (cl--compiler-macro-list*): Add autoload cookie.
11749 (cl--compiler-macro-cXXr): New function.
11751 * help-fns.el (help-fns--compiler-macro): New function extracted from
11752 describe-function-1; follow aliases and use `compiler-macro' property.
11753 (describe-function-1): Use it.
11755 2012-06-11 Chong Yidong <cyd@gnu.org>
11757 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11758 is uninstalled, if imagemagick is installed.
11760 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * emacs-lisp/cl-lib.el: Use lexical-binding.
11763 (cl-map-extents, cl-maclisp-member): Remove.
11764 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11765 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11766 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11767 * emacs-lisp/cl-extra.el: Use lexical-binding.
11768 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11769 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11770 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11771 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11772 * emacs-lisp/cl-seq.el: Use lexical-binding.
11773 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11774 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11775 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11776 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11777 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11780 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11782 Sync with Tramp 2.2.6-pre.
11784 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11785 `print-length' and `print-level' to nil, in order to avoid
11786 truncation. Reported by Christopher Schmidt
11787 <christopher@ristopher.com>.
11789 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11791 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11793 (tramp-compat-copy-directory): Add optional argument
11794 COPY-CONTENTS. It is not handled yet.
11796 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11797 (tramp-ftp-file-name-p): Simplify.
11799 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11800 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11803 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11804 (tramp-methods): Do not use `tramp-password-end-of-line'.
11805 (tramp-completion-function-alist-putty): Handle UNIX case.
11806 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11807 (tramp-do-file-attributes-with-stat)
11808 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11809 gid as real numbers. They could run out of integer range on cygwin.
11810 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11811 (tramp-sh-handle-expand-file-name): Handle hops.
11812 (tramp-open-connection-setup-interactive-shell):
11813 Use `tramp-cleanup'. Move check for busyboxes ...
11814 (tramp-find-shell): ... here. Simplify implementation.
11815 Set "remote-shell" property also for alternative shells.
11816 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11817 If failing, a regular file would be written otherwise.
11818 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11819 (tramp-find-inline-encoding): Cache the coding commands in the
11820 process cache. Apply test command on the remote side, if defined.
11821 (tramp-find-inline-compress): Cache the compress commands in the
11823 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11824 when requested. Handle hops.
11825 (tramp-current-connection): New defvar.
11826 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11827 Throw `suppress', if there was a failed connection shortly before.
11828 Handle user interrupt. (Bug#10187)
11829 (tramp-get-inline-compress, tramp-get-inline-coding):
11830 Read connection properties from the process cache.
11832 * net/tramp-smb.el (tramp-smb-server-version)
11833 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11835 (tramp-smb-prompt): Extend for powershell prompt.
11836 (tramp-smb-file-name-handler-alist): Add handlers for
11837 `process-file', `shell-command' and `start-file-process'.
11838 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11839 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11840 (tramp-smb-file-name-p): Simplify.
11841 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11842 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11843 (tramp-smb-shell-quote-argument): New defuns.
11844 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11845 Implement using "tar". By this, time-stamps are preserved.
11846 (tramp-smb-handle-copy-file): Handle also the case of directories.
11847 (tramp-smb-do-file-attributes-with-stat)
11848 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11849 Use `tramp-get-connection-buffer').
11850 (tramp-smb-handle-rename-file): Use "rename", when source and
11851 target are on the same share.
11852 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11853 Use `tramp-smb-server-version'.
11854 (tramp-smb-wait-for-output): Remove prompt.
11856 * net/tramp.el (top): Require 'cl.
11857 (tramp-methods, tramp-rsh-end-of-line):
11858 Remove `tramp-password-end-of-line' from docstring.
11859 (tramp-save-ad-hoc-proxies): New defcustom.
11860 (tramp-completion-function-alist): Adapt docstring.
11861 (tramp-default-password-end-of-line): Remove defcustom.
11862 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11863 (tramp-user-regexp, tramp-file-name-regexp-unified)
11864 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11865 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11866 (tramp-remote-file-name-spec-regexp): New defconst.
11867 (tramp-file-name-structure): Extend structure for hops.
11868 (tramp-get-method-parameter): Move up.
11869 (tramp-file-name-p, tramp-dissect-file-name)
11870 (with-parsed-tramp-file-name): Handle hops.
11871 (tramp-file-name-hop): New defun.
11872 (tramp-make-tramp-file-name): New optional arg HOP.
11873 (tramp-message-show-progress-reporter-message): New defvar.
11874 (tramp-with-progress-reporter): Use it. We cannot use
11875 `tramp-message-show-message' here, because this suppresses also
11877 (tramp-error-with-buffer): Suppress buffer view, if
11878 `tramp-message-show-message' is nil.
11879 Use `tramp-get-connection-buffer'.
11880 (tramp-cleanup): New defun.
11881 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11882 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11883 an error unchanged.
11884 (tramp-completion-handle-file-name-all-completions): Handle hops.
11885 Fix an error when called from ido.
11886 (tramp-completion-dissect-file-name): Use better local variable
11887 name. Add hop to the vector.
11888 (tramp-handle-insert-file-contents): Use progress-reporter for the
11890 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11892 (tramp-check-for-regexp): Simplify search.
11893 (tramp-enter-password): Remove it. Move implementation ...
11894 (tramp-action-password): ... here.
11895 (tramp-mode-string-to-int, tramp-local-host-p)
11896 (tramp-make-tramp-temp-file, tramp-read-passwd)
11897 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11898 Set tramp-autoload cookie.
11900 * net/trampver.el: Update release number.
11902 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11903 Michael Albinus <michael.albinus@gmx.de>
11905 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11906 (tramp-parse-group, tramp-parse-file)
11907 (tramp-parse-shostkeys-sknownhosts): New defuns.
11908 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11909 (tramp-parse-shosts-group, tramp-parse-sconfig)
11910 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11911 (tramp-parse-sknownhosts, tramp-parse-hosts)
11912 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11914 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11915 (tramp-parse-putty-group): Don't narrow.
11916 (tramp-parse-putty): Make a loop.
11917 (tramp-file-name-handler): Catch the `suppress' signal.
11919 2012-06-11 Chong Yidong <cyd@gnu.org>
11921 * image.el (imagemagick-register-types): Put the ImageMagick entry
11922 at the end of image-type-file-name-regexps.
11924 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11926 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11927 (pcase, pcase-let*, pcase-dolist): Use them.
11929 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11931 * emacs-lisp/pcase.el (pcase--let*): New function.
11932 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11933 (pcase--expand): Use macroexp-let².
11935 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11938 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11939 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11940 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11941 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11942 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11944 2012-06-10 Glenn Morris <rgm@gnu.org>
11946 * mail/rmail.el (rmail-yank-current-message): Leave point at
11947 correct position. (Bug#11660)
11949 2012-06-10 Chong Yidong <cyd@gnu.org>
11951 * allout-widgets.el: Fix code header.
11953 2012-06-10 Chong Yidong <cyd@gnu.org>
11955 * cus-edit.el (customize-changed-options-previous-release):
11958 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11960 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11962 2012-06-09 Chong Yidong <cyd@gnu.org>
11964 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11966 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11968 * window.el (special-display-popup-frame): Don't use
11969 window--display-buffer (Bug#11651).
11971 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11973 Fix parallel builds: make sure loaddefs.el is not being written
11974 while Lisp files are compiled.
11975 (compile): Don't depend on 'mh-autoloads'.
11976 (compile-CMD, compile-SH): Depend on 'autoloads'.
11977 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11979 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11981 2012-06-09 Chong Yidong <cyd@gnu.org>
11983 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11984 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11985 Doc fixes (Bug#11225).
11987 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11989 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11990 a function if there's a clear indication that it has a compiler-macro.
11991 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11992 (macro-declarations-alist): Add arglist to declaration functions.
11993 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11994 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11995 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11996 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11997 Also add autoload to find the compiler macro.
11998 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11999 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12000 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12001 (cl--compiler-macro-get): New functions, replacing calls to
12002 cl-define-compiler-macro.
12003 (cl-typep) [compiler-macro]: Use macroexp-let².
12005 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12007 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12008 string properly, fixes Bug#11473.
12010 2012-06-08 Chong Yidong <cyd@gnu.org>
12012 * faces.el (set-face-attribute): Doc fix.
12013 (modify-face): Don't use :bold and :italic.
12014 (error, warning, success): Tweak definitions.
12016 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12017 (custom-modified, custom-set, custom-changed, custom-themed)
12018 (custom-saved, custom-button, custom-button-mouse)
12019 (custom-button-pressed, custom-state, custom-comment-tag)
12020 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12021 (custom-group-subtitle): Use new-style face specs.
12022 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12023 (custom-set-face, custom-changed-face, custom-saved-face)
12024 (custom-button-face, custom-button-pressed-face)
12025 (custom-documentation-face, custom-state-face)
12026 (custom-comment-face, custom-comment-tag-face)
12027 (custom-variable-tag-face, custom-variable-button-face)
12028 (custom-face-tag-face, custom-group-tag-face-1)
12029 (custom-group-tag-face): Remove obsolete face alias.
12031 * epa.el (epa-validity-high, epa-validity-medium)
12032 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12033 (epa-field-name, epa-field-body):
12034 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12035 (font-lock-keyword-face, font-lock-builtin-face)
12036 (font-lock-function-name-face, font-lock-variable-name-face)
12037 (font-lock-type-face, font-lock-constant-face):
12038 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12039 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12040 * speedbar.el (speedbar-button-face, speedbar-file-face)
12041 (speedbar-directory-face, speedbar-tag-face)
12042 (speedbar-selected-face, speedbar-highlight-face)
12043 (speedbar-separator-face):
12044 * whitespace.el (whitespace-newline, whitespace-space)
12045 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12046 (whitespace-line, whitespace-space-before-tab)
12047 (whitespace-space-after-tab, whitespace-indentation)
12048 (whitespace-empty):
12049 * emulation/cua-base.el (cua-global-mark):
12050 * eshell/em-prompt.el (eshell-prompt):
12051 * net/newst-plainview.el (newsticker-new-item-face)
12052 (newsticker-old-item-face, newsticker-immortal-item-face)
12053 (newsticker-obsolete-item-face, newsticker-date-face)
12054 (newsticker-statistics-face, newsticker-default-face):
12055 * net/newst-reader.el (newsticker-feed-face)
12056 (newsticker-extra-face, newsticker-enclosure-face):
12057 * net/newst-treeview.el (newsticker-treeview-face)
12058 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12059 (newsticker-treeview-immortal-face)
12060 (newsticker-treeview-obsolete-face)
12061 (newsticker-treeview-selection-face):
12062 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12063 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12064 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12065 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12066 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12067 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12068 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12070 * progmodes/vera-mode.el (vera-font-lock-number)
12071 (vera-font-lock-function, vera-font-lock-interface):
12072 * textmodes/table.el (table-cell): Use new-style face specs, and
12073 don't use the old :bold and :italic attributes.
12075 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12076 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12077 (ebrowse-member-class, ebrowse-progress): Likewise.
12078 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12079 (ebrowse-file-name-face, ebrowse-default-face)
12080 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12081 (ebrowse-progress-face): Remove obsolete faces.
12083 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12084 Inherit from error and warning faces respectively.
12086 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12088 (flyspell-incorrect-face, flyspell-duplicate-face):
12089 Remove obsolete aliases.
12091 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12093 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12096 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12098 * startup.el (argv, argi): Make lexically scoped.
12099 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12100 * emacs-lisp/cl-macs.el: Use lexical-binding.
12101 Rename cl-bind-* to cl--bind-*.
12102 * files.el: Don't require `cl' since it doesn't use it.
12103 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12105 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12107 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12108 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12109 instead of calling external sort utility.
12110 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12112 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12114 * descr-text.el (describe-char): Mention how to insert the
12115 character, if the current input method doesn't support it.
12116 See the discussion in this thread for the details:
12117 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12119 2012-06-08 Sam Steingold <sds@gnu.org>
12121 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12122 XF86Back to previous-buffer.
12123 (minibuffer-local-map): Bind them to next-history-element and
12124 previous-history-element respectively.
12125 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12126 help-go-back respectively.
12127 * info.el (Info-mode-map): Bind them to Info-history-forward and
12128 Info-history-back respectively.
12129 These are the keys next to Up on the ThinkPad keyboard.
12131 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12133 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12134 * emacs-lisp/cl-macs.el: Provide itself.
12135 (cl--labels-convert-cache): New var.
12136 (cl--labels-convert): New function.
12137 (cl-flet, cl-labels): New implementation with new semantics, relying on
12139 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12140 (cl-closure-vars, cl--function-convert-cache)
12141 (cl--function-convert): Move from cl-macs.el.
12142 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12143 rename by removing the "cl-" prefix.
12144 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12146 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12148 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12149 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12150 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12151 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12152 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12153 (cl-hash-table-count): Add old compatibility aliases.
12155 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12156 Use macroexpand-all-environment instead.
12157 (cl--old-macroexpand): New var.
12158 (cl--sm-macroexpand): New function.
12159 (cl-symbol-macrolet): Use it during macro expansion.
12160 (cl--function-convert-cache): New var.
12161 (cl--function-convert): New function, extracted from
12162 cl-macroexpand-all.
12163 (cl-lexical-let): Use it.
12165 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12166 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12167 (cl-member): Remove old alias.
12169 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12170 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12171 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12172 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12173 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12174 (cl-macroexpand-cmacs): Remove var.
12175 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12176 Use macroexpand-all instead.
12178 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12180 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12181 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12182 (macroexp-copyable-p): New functions and macros.
12183 * emacs-lisp/edebug.el (edebug-unwrap):
12184 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12185 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12186 (pcase--let*): Remove.
12187 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12188 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12189 macroexp-const-p instead.
12190 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12192 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12193 instead of "cl-" for internal definitions. Use macroexp-const-p.
12194 (cl-old-bc-file-form): Remove var.
12195 (cl-const-exprs-p): Remove fun.
12196 (cl-labels, cl-macrolet): Use backquote.
12197 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12198 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12199 (cl-define-setf-expander): Rename from cl-define-setf-method.
12200 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12202 * international/mule-cmds.el: Don't require CL.
12203 (view-hello-file): Don't use `letf'.
12205 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12207 * tmm.el (tmm-prompt): Use string-prefix-p.
12208 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12209 (tmm-add-prompt): Use minibuffer-completion-help.
12210 (tmm-delete-map): Remove.
12212 * subr.el (kbd): Make it its own function.
12214 2012-06-07 Stefan Merten <smerten@oekonux.de>
12216 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12217 Silence compiler warnings. Fix versions.
12218 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12219 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12220 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12221 (rst-package-emacs-version-alist): Correct Emacs version to
12222 represent major merge with upstream.
12223 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12225 2012-06-06 Glenn Morris <rgm@gnu.org>
12227 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12228 Only print environment variables if set.
12230 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12232 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12233 (macroexp--cons): Rename from maybe-cons.
12234 (macroexp--accumulate): Rename from macroexp-accumulate.
12235 (macroexp--all-forms): Rename from macroexpand-all-forms.
12236 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12237 (macroexp--expand-all): Rename from macroexpand-all-1.
12239 2012-06-06 Sam Steingold <sds@gnu.org>
12241 * calendar/calendar.el (calendar-in-read-only-buffer):
12242 Call `special-mode' to enable the standard read-only keybindings.
12244 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12246 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12247 with "loading" messages (bug#11635).
12249 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12251 * files.el (enable-remote-dir-locals): New option.
12252 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12254 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12255 Ensure, that the temp directory is local.
12257 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12258 `temporary-file-directory'.
12260 * progmodes/python.el (python-send-region): Ensure, that the
12261 temporary file is created also in the remote case.
12263 2012-06-06 Glenn Morris <rgm@gnu.org>
12265 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12266 (vc-rcs-update-changelog): Use it.
12268 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12270 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12271 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12272 (vc-sccs-diff): Replace use of the external vcdiff script.
12274 2012-06-05 Glenn Morris <rgm@gnu.org>
12276 * ledit.el: Move to obsolete/.
12278 2012-06-05 Sam Steingold <sds@gnu.org>
12280 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12283 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12285 * emacs-lisp/cust-print.el: Move to obsolete.
12287 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12288 compiler-macro expansion.
12290 Add native compiler-macro support.
12291 * emacs-lisp/macroexp.el (macroexpand-all-1):
12292 Support compiler-macros directly. Properly follow aliases and apply
12293 the compiler macros more thoroughly.
12294 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12295 macroexpand now properly follows aliases.
12296 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12297 (cl-compiler-macroexpand): Use new prop.
12298 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12300 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12302 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12304 * window.el (get-lru-window, get-mru-window, get-largest-window):
12305 New argument NOT-SELECTED to avoid picking the selected window.
12306 (window--display-buffer-1, window--display-buffer-2): Replace by
12307 new function window--display-buffer
12308 (display-buffer-same-window, display-buffer-reuse-window)
12309 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12310 Use window--display-buffer.
12311 (display-buffer-use-some-window): Remove temporary dedication
12312 hack by calling get-lru-window and get-largest-window with
12313 NOT-SELECTED argument non-nil. Call window--display-buffer.
12315 2012-06-05 Glenn Morris <rgm@gnu.org>
12317 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12318 Replace external vcdiff script.
12320 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12324 2012-06-04 Chong Yidong <cyd@gnu.org>
12326 * image.el (imagemagick-types-inhibit): Revert last change.
12328 (imagemagick-enabled-types): Remove CIN and EPS*.
12330 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12332 * emacs-lisp/cl-lib.el: Rename from cl.el.
12333 * emacs-lisp/cl.el: New compatibility file.
12334 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12335 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12336 to obey the "cl-" prefix.
12337 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12339 2012-06-03 Glenn Morris <rgm@gnu.org>
12341 * emacs-lisp/authors.el (authors-aliases): Addition.
12343 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12346 2012-06-03 Stefan Merten <smerten@oekonux.de>
12348 * textmodes/rst.el: Add comments.
12349 (rst-transition, rst-adornment): New faces.
12350 (rst-adornment-faces-alist): Make default safe to reevaluate.
12352 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12353 Improve customization tags.
12354 (rst-define-level-faces): Clarify meaning.
12356 2012-06-03 Chong Yidong <cyd@gnu.org>
12358 * progmodes/compile.el (compilation-mode-line-fail)
12359 (compilation-mode-line-run, compilation-mode-line-exit):
12361 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12363 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12365 * progmodes/which-func.el (which-func-update-ediff-windows):
12366 New function. Use it in ediff-select-hook (Bug#11478).
12368 2012-06-03 Chong Yidong <cyd@gnu.org>
12370 * bindings.el: Remove explicit help text from format-mode-line.
12371 It is now supplied by mode-line-default-help-echo.
12372 (mode-line-front-space, mode-line-end-spaces)
12373 (mode-line-misc-info): New variables.
12374 (mode-line-modes, mode-line-position): Move the default value to
12375 the variable definition.
12376 (mode-line-default-help-echo): New defcustom.
12377 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12378 (mode-line-modified-help-echo): New functions.
12379 (mode-line-mule-info, mode-line-modified): Use them.
12380 (mode-line-eol-desc, propertized-buffer-identification):
12381 Consistency fixes for help text.
12382 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12383 set-buffer-file-coding-system (Bug#289).
12384 (mode-line-mule-info-help-echo): Update help text.
12386 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12388 * simple.el (execute-extended-command): Set real-this-command
12391 2012-06-02 Chong Yidong <cyd@gnu.org>
12393 Remove incorrect uses of "modeline" in comments, docstrings, and
12394 function/variable names (Bug#10329).
12396 * cus-edit.el (mode-line):
12397 * dframe.el (dframe-mouse-hscroll):
12398 * emacs-lisp/re-builder.el:
12399 * emacs-lisp/easy-mmode.el (define-minor-mode):
12400 * frame.el (set-frame-name):
12401 * help.el (lookup-minor-mode-from-indicator):
12402 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12403 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12404 (c-toggle-hungry-state):
12405 * progmodes/antlr-mode.el (antlr-language-alist):
12406 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12407 * progmodes/vhdl-mode.el (vhdl-mode):
12408 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12409 * term/ns-win.el (ns-face-at-pos):
12410 * term/sup-mouse.el (sup-mouse-report):
12411 * textmodes/flyspell.el (flyspell-mode-line-string):
12412 * textmodes/ispell.el (ispell-highlight-face):
12413 * textmodes/reftex-global.el:
12414 * vc/vc-arch.el (vc-arch-mode-line-string):
12415 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12416 * vc/vc-git.el (vc-git-mode-line-string):
12417 * vc/vc-hooks.el (vc-display-status)
12418 (vc-default-mode-line-string):
12419 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12421 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12423 * dired.el (dired-sort-set-mode-line): Rename from
12424 dired-sort-set-modeline. All callers changed.
12426 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12427 eshell-status-in-modeline.
12429 * foldout.el (foldout-mode-line-string): Rename from
12430 foldout-modeline-string. All callers changed.
12431 (foldout-update-mode-line): Rename from foldout-update-modeline.
12433 * subr.el (redraw-modeline): Make into obsolete alias.
12435 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12436 timeclock-modeline-display. Make old name an alias.
12437 (timeclock-update-mode-line): Likewise. All callers changed.
12438 (timeclock-mode-line-display): No need to check before using
12440 (timeclock-relative, timeclock-day-over-hook)
12441 (timeclock-use-elapsed, timeclock-mode-string)
12442 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12444 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12445 crisp-mode-modeline-string.
12447 * play/solitaire.el (solitaire-build-mode-line): Rename from
12448 solitaire-build-modeline. All callers changed.
12450 * play/zone.el (zone-hiding-mode-line): Rename from
12451 zone-hiding-modeline. All callers changed.
12452 (zone): Remove unusued `modeline-hidden-level' property.
12454 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12455 xscheme-modeline-initialize. All callers changed.
12457 * strokes.el (strokes-lighter): Rename from
12458 strokes-modeline-string.
12460 * textmodes/sgml-mode.el (html-face-tag-alist)
12461 (html-tag-face-alist): Use mode-line face instead of obsolete
12464 2012-06-02 Stefan Merten <smerten@oekonux.de>
12466 * textmodes/rst.el: Always require `cl'.
12467 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12469 2012-06-02 Chong Yidong <cyd@gnu.org>
12471 * image.el (imagemagick-enabled-types): Rename from
12472 imagemagick-types-enable. Add many more types.
12473 (imagemagick-types-inhibit): Change default to nil.
12474 (imagemagick-filter-types): Caller changed.
12476 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12478 * emacs-lisp/cl-macs.el: Use backquotes.
12479 (cl-transform-function-property): Use eval-and-compile rather than
12481 (defstruct): Use declare-function instead of with-no-warnings.
12483 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12484 (byte-compile-output-docform): Re-add the print-circle bindings.
12485 (byte-compile-fix-header): Use #$ just because it's shorter.
12486 (byte-compile-output-file-form): Remove defun/defmacro.
12488 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12490 * simple.el (choose-completion): Remove now obsolete binding for
12493 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12495 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12496 in order to avoid "Stack overflow in regexp matcher".
12498 2012-05-31 Glenn Morris <rgm@gnu.org>
12500 * image.el: For clarity, call imagemagick-register-types at
12501 top-level, rather than relying on a custom :initialize.
12502 (imagemagick-types-enable): New option. (Bug#11557)
12503 (imagemagick-filter-types): New function. (Bug#7406)
12504 (imagemagick-register-types): Use imagemagick-filter-types.
12505 If disabling support, remove elements altogether rather
12506 than using an impossible regexp.
12507 (imagemagick-types-inhibit): Give it the default init function.
12509 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12511 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12512 Handle arbitrary file name lengths (Bug#11585).
12514 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12516 * desktop.el (desktop-read): Clear previous and next buffers for
12517 all windows and bury *Messages* buffer (bug#11556).
12519 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12521 Add `declare' for `defun'. Align `defmacro's with it.
12522 * emacs-lisp/easy-mmode.el (define-minor-mode)
12523 (define-globalized-minor-mode): Don't autoload the var definitions.
12524 * emacs-lisp/byte-run.el: Use lexical-binding.
12525 (defun-declarations-alist, macro-declarations-alist): New vars.
12526 (defmacro, defun): Use them.
12527 (make-obsolete, define-obsolete-function-alias)
12528 (make-obsolete-variable, define-obsolete-variable-alias):
12530 (macro-declaration-function): Mark obsolete.
12531 * emacs-lisp/autoload.el: Use lexical-binding.
12532 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12534 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12536 * textmodes/ispell.el (ispell-with-no-warnings):
12538 (ispell-kill-ispell, ispell-change-dictionary):
12539 Use `called-interactively-p' for Emacs instead of obsolete
12542 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12545 (macro-declaration-function): Move var from C code.
12546 (macro-declaration-function): Define function with defalias.
12547 * emacs-lisp/macroexp.el (macroexpand-all-1):
12548 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12549 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12550 defun/defmacro any more.
12551 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12552 Provide fallback for unknown arglist.
12553 (byte-compile-arglist-warn): Change calling convention.
12554 (byte-compile-output-file-form): Move print-vars binding.
12555 (byte-compile-output-docform): Simplify accordingly.
12556 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12557 (byte-compile-defmacro-declaration): Remove.
12558 (byte-compile-file-form-defmumble): Generalize to defalias.
12559 (byte-compile-output-as-comment): Return byte-positions.
12560 Simplify callers accordingly.
12561 (byte-compile-lambda): Use `assert'.
12562 (byte-compile-defun, byte-compile-defmacro): Remove.
12563 (byte-compile-file-form-defalias):
12564 Use byte-compile-file-form-defmumble.
12565 (byte-compile-defalias-warn): Remove.
12567 2012-05-29 Stefan Merten <smerten@oekonux.de>
12569 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12570 possible. Fix authors. Improve comments. Improve loading of `cl'.
12572 (rst-mode-abbrev-table): Merge definition.
12573 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12574 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12576 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12578 * calendar/icalendar.el
12579 (icalendar-export-region): Export UID properly.
12581 2012-05-29 Leo Liu <sdl.web@gmail.com>
12582 * calendar/icalendar.el (icalendar-import-format):
12583 Add `icalendar-import-format-uid' (Bug#11525).
12584 (icalendar-import-format-uid): New.
12585 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12588 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12591 different alternative patterns.
12592 (pcase-codegen): Be more careful to preserve identity.
12593 (pcase--u1): Don't forget to mark vars as used.
12595 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12596 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12597 (byte-compile-from-buffer): ...rather than here.
12599 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12600 functions from byte-compile-function-environment.
12602 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12604 * window.el (window-deletable-p): Avoid deleting the root window
12605 of a frame with an active minibuffer.
12607 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12609 * simple.el (choose-completion): Use quit-window (Bug#11567).
12611 2012-05-29 Chong Yidong <cyd@gnu.org>
12613 * whitespace.el (whitespace-cleanup): Fix usage of
12614 whitespace-empty-at-bob-regexp (Bug#11492).
12616 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12618 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12619 revert (Bug#11488).
12621 2012-05-29 Juri Linkov <juri@jurta.org>
12623 * isearch.el (isearch-mode-map): Bind `M-s _' to
12624 `isearch-toggle-symbol'. Bind `M-s c' to
12625 `isearch-toggle-case-fold'.
12626 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12627 (isearch-forward): Add `M-s _' to the docstring.
12628 (isearch-forward-symbol, isearch-toggle-case-fold)
12629 (isearch-symbol-regexp): New functions. (Bug#11381)
12631 2012-05-29 Juri Linkov <juri@jurta.org>
12633 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12634 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12635 a function, call it to get the regexp.
12636 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12637 property `isearch-message-prefix' instead of the string "word ".
12638 (isearch-search-fun-default): For the case of `isearch-word',
12639 return a lambda that calls re-search-forward/re-search-backward
12640 with a regexp returned by `word-search-regexp' or by the function
12643 2012-05-29 Juri Linkov <juri@jurta.org>
12645 * isearch.el (isearch-search-fun-default): New function.
12646 (isearch-search-fun): Move default part to the new function
12647 `isearch-search-fun-default'.
12648 (isearch-search-fun-function): Set the default value to
12649 `isearch-search-fun-default'. (Bug#11381)
12651 * comint.el (comint-history-isearch-end):
12652 Use `isearch-search-fun-default'.
12653 (comint-history-isearch-search): Use `isearch-search-fun-default'
12654 and remove spacial case for `isearch-word'.
12655 (comint-history-isearch-wrap): Remove spacial case for
12658 * hexl.el (hexl-isearch-search-function):
12659 Use `isearch-search-fun-default'.
12661 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12662 Use `word-search-regexp' for `isearch-word'.
12664 * misearch.el (multi-isearch-search-fun):
12665 Use `isearch-search-fun-default'.
12667 * simple.el (minibuffer-history-isearch-search):
12668 Use `isearch-search-fun-default' and remove spacial case for
12670 (minibuffer-history-isearch-wrap): Remove spacial case for
12673 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12674 Remove spacial case for `isearch-word'.
12675 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12677 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12679 Decrease XEmacs incompatibilities.
12680 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12681 Use `string-match'.
12682 (flyspell-delete-region-overlays): Use alternative definition for
12684 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12685 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12686 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12687 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12688 `define-obsolete-face-alias' under XEmacs, but old method.
12690 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12691 `with-no-warnings' definition or Emacs alias.
12692 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12693 (ispell-word): Do not use `region-p' if XEmacs.
12695 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12697 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12698 Check for `ispell-dictionary-base-alist' instead of full
12699 `ispell-dictionary-alist'.
12700 (ispell-init-process): Show spellchecker when starting new Ispell
12703 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12705 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12706 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12708 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12710 * version.el (motif-version-string, gtk-version-string)
12711 (ns-version-string): Declare.
12713 2012-05-27 Juri Linkov <juri@jurta.org>
12715 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12716 after the `eval-defun-1' specialcaseing
12717 like in `edebug-eval-defun' (bug#10181).
12719 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12720 like in `eval-defun-1'.
12722 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12724 * mail/sendmail.el (mail-yank-region):
12725 Recognize rmail-yank-current-message in addition to insert-buffer.
12726 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12727 a *mail* buffer created through rmail-start-mail with sendmail as
12730 2012-05-27 Chong Yidong <cyd@gnu.org>
12732 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12733 Default to 256 (Bug#11267).
12735 * help.el (describe-mode): Doc fix.
12737 2012-05-26 Glenn Morris <rgm@gnu.org>
12739 * w32-fns.el (w32-init-info): Remove.
12740 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12742 * info.el (info-initialize): For self-contained NS builds, put the
12743 included info/ directory at the front. (Bug#2791)
12745 * paths.el (Info-default-directory-list): Make it a defcustom,
12746 mainly so that we can use custom-initialize-delay.
12748 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12750 * subr.el (buffer-has-markers-at): Mark obsolete.
12752 * subr.el (lambda): Use declare.
12754 * emacs-lisp/lisp-mode.el (lambda):
12755 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12757 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12759 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12761 2012-05-26 Glenn Morris <rgm@gnu.org>
12763 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12765 2012-05-25 Glenn Morris <rgm@gnu.org>
12767 * paths.el: Remove no-byte-compile.
12768 * loadup.el: No need to load paths.el uncompiled.
12770 * image.el (imagemagick-types-inhibit): Doc fix.
12772 * version.el: Remove no-byte-compile and associated formatting.
12773 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12774 is ancient code from when there was an "inc-vers.el".
12776 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12778 * progmodes/gdb-mi.el: Minor style changes.
12779 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12780 Turn into minor modes.
12781 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12782 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12783 (gdb-shell): Remove unneeded let-binding.
12784 (gdb-get-many-fields): Eliminate O(n²) behavior.
12786 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12788 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12789 platforms that don't link in fontset.c.
12791 2012-05-25 Juri Linkov <juri@jurta.org>
12793 Use the same diff color scheme as in modern VCSes (bug#10181).
12795 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12796 to avoid confusion with `diff-added' that now uses green colors.
12797 (diff-removed): Use shades of red.
12798 (diff-added): Use shades of green.
12799 (diff-changed): Leave just the yellow color.
12800 (diff-use-changed-face): New variable.
12801 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12802 how to highlight context diff changes.
12803 (diff-refine-change): Use shades of yellow.
12804 (diff-refine-removed): New face that uses shades of red.
12805 (diff-refine-added): New face that uses shades of green.
12806 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12807 `diff-refine-removed' in the call to `smerge-refine-subst'
12808 depending on the value of `diff-use-changed-face'.
12810 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12811 (smerge-other): Use shades of green.
12812 (smerge-base): Use shades of yellow.
12813 (smerge-refined-change): Empty face.
12814 (smerge-refined-removed): New face that uses shades of red.
12815 (smerge-refined-added): New face that uses shades of green.
12816 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12817 args `props-r' and `props-a', and use them. Doc fix.
12818 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12819 on its value use different faces `smerge-refined-change',
12820 `smerge-refined-removed', `smerge-refined-added' in the call to
12821 `smerge-refine-subst'.
12823 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12824 Add face condition `min-colors 88' with shades of red.
12825 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12826 `min-colors 88' with shades of green.
12827 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12828 `min-colors 88' with shades of yellow.
12830 2012-05-24 Glenn Morris <rgm@gnu.org>
12832 * paths.el (prune-directory-list, remote-shell-program): Move to...
12833 * files.el (prune-directory-list, remote-shell-program): ...here.
12834 For the latter, delay initialization, prefer ssh, just search PATH.
12836 * paths.el (term-file-prefix): Move to faces.el (the only user).
12837 * faces.el (term-file-prefix): Move here, make it a defcustom.
12839 * paths.el (news-directory, news-path, news-inews-program):
12840 Move to gnus/nnspool.el.
12842 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12844 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12845 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12846 Make the latter a defcustom, with a delayed initialization.
12848 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12849 These were deleted from Gnus itself late 2010.
12851 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12853 * progmodes/which-func.el (which-func-ff-hook):
12854 Check against user-error, not error.
12856 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12857 cl-specs.el, which no longer exists.
12859 2012-05-22 Glenn Morris <rgm@gnu.org>
12861 * info.el (info-emacs-bug): New command.
12862 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12863 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12865 2012-05-21 Glenn Morris <rgm@gnu.org>
12867 * makefile.w32-in (update-subdirs-SH):
12868 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12870 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12872 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12875 Simplify Maven regexp, and make sure the file can't start with a space
12878 2012-05-21 Glenn Morris <rgm@gnu.org>
12880 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12881 Scrap superfluous subshells.
12883 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12885 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12886 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12888 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12890 * calc/calc.el (calc-ensure-consistent-units): New variable.
12892 * calc/calc-units.el (math-consistent-units-p)
12893 (math-check-unit-consistency): New functions.
12894 (calc-quick-units, calc-convert-units):
12895 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12897 (calc-extract-units): Fix typo.
12899 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12901 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12903 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12904 (flyspell-default-deplacement-commands): Don't spell check after
12905 repeated window/frame switches (e.g. triggered by mouse-movement).
12906 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12907 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12908 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12909 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12910 Remove unused vars.
12911 (flyspell-get-casechars, flyspell-get-not-casechars):
12912 Simplify; Don't bother removing a ] just to add it back.
12913 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12915 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12917 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12919 (math-function-table): Add support for more C functions.
12921 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12923 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12924 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12925 Protect delay handling for otherchars against empty otherchars.
12927 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12929 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12930 their respective macro declarations.
12931 * skeleton.el (define-skeleton):
12932 * progmodes/compile.el (define-compilation-mode):
12933 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12934 (define-ibuffer-filter):
12935 * emacs-lisp/generic.el (define-generic-mode):
12936 * emacs-lisp/easy-mmode.el (define-minor-mode)
12937 (define-globalized-minor-mode):
12938 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12939 * emacs-lisp/byte-run.el (defsubst):
12940 * custom.el (deftheme): Add doc-string metadata.
12942 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12946 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12948 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12950 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12951 * emacs-lisp/cl-macs.el: Idem.
12952 * emacs-lisp/cl-specs.el: Remove.
12954 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12956 Minor renaming of internal CL functions and variables.
12957 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12958 (cl--position): Rename from cl-position.
12959 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12960 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12961 (cl--random-state): Rename from *random-state*.
12963 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12965 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12966 parens around the arg list (bug#11499).
12968 2012-05-17 Juri Linkov <juri@jurta.org>
12970 * isearch.el (word-search-regexp, word-search-backward)
12971 (word-search-forward, word-search-backward-lax)
12972 (word-search-forward-lax): Move functions from search.c
12973 (bug#10145, bug#11381).
12975 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12977 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12978 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12979 Delay for otherchars as for normal word components.
12981 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12983 * minibuffer.el (completion--sifn-requote): Fix last change.
12984 (minibuffer-local-must-match-filename-map):
12985 Move define-obsolete-variable-alias before its var.
12987 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12989 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12991 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12993 (completion--string-equal-p): New function.
12994 (completion--twq-all): Use it to get better assertion failure data.
12996 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12997 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12998 (shell--requote-argument): New functions.
12999 (shell-completion-vars): Use them.
13000 (shell--parse-pcomplete-arguments): Rename from
13001 shell-parse-pcomplete-arguments.
13002 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13003 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13004 Obey comint-file-name-quote-list.
13006 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13007 (smie-indent-keyword): Use it.
13009 2012-05-14 Stefan Merten <smerten@oekonux.de>
13011 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13013 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13015 * net/rlogin.el (rlogin-mode-map): Fix last change.
13017 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13019 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13020 the following \r\n using a single `process-send-string', since the
13021 Lotus SMTP server refuses to accept any commands if they are sent
13022 with two `process-send-string's (Bug#11444).
13024 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13026 * shell.el (shell-parse-pcomplete-arguments):
13027 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13029 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13031 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13032 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13033 (image-transform-width, image-transform-fit-width): New functions.
13034 (image-transform-properties): Use them.
13035 (image-transform-check-size): New function.
13036 (image-toggle-display-image): Use it (for testing).
13037 (image-transform-set-rotation): Reduce angle mod 360.
13038 Delete obsolete comment.
13040 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13042 * image-mode.el: Fix scaling (bug#11399).
13043 (image-transform-resize): Doc fix.
13044 (image-transform-properties): Default scale is 1 and height should
13047 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13049 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13050 than hard-coding `car', to fix misbehavior when moving forward.
13052 2012-05-13 Chong Yidong <cyd@gnu.org>
13054 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13055 (tabulated-list-entries, tabulated-list-padding)
13056 (tabulated-list-sort-key): Make permanent-local.
13058 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13059 (electric-buffer-list): Put electric buffer menu
13060 command descriptions in this docstring, instead of the docstring
13061 of electric-buffer-menu-mode. Code cleanups.
13062 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13063 Electric-buffer-menu-mode.
13064 (electric-buffer-update-highlight): Minor code cleanup.
13066 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13068 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13071 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13073 Move define-obsolete-variable-alias before the var's definition.
13074 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13075 * tooltip.el (tooltip-hook):
13076 * textmodes/reftex-toc.el (reftex-toc-map):
13077 * textmodes/reftex-sel.el (reftex-select-label-map)
13078 (reftex-select-bib-map):
13079 * textmodes/reftex-index.el (reftex-index-map)
13080 (reftex-index-phrases-map):
13081 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13082 * progmodes/meta-mode.el (meta-mode-map):
13083 * novice.el (disabled-command-hook):
13084 * loadhist.el (unload-hook-features-list):
13085 * frame.el (blink-cursor):
13086 * files.el (find-file-not-found-hooks, write-file-hooks)
13087 (write-contents-hooks):
13088 * emulation/tpu-edt.el (GOLD-map):
13089 * emacs-lock.el (emacs-lock-from-exiting):
13090 * emacs-lisp/generic.el (generic-font-lock-defaults):
13091 * emacs-lisp/chart.el (chart-map):
13092 * dos-fns.el (register-name-alist):
13093 * dired-x.el (dired-omit-files-p):
13094 * desktop.el (desktop-enable):
13095 * cus-edit.el (custom-mode-hook):
13096 * buff-menu.el (buffer-menu-mode-hook):
13097 * bookmark.el (bookmark-read-annotation-text-func)
13098 (bookmark-exit-hooks):
13099 * allout.el (allout-mode-deactivate-hook)
13100 (allout-exposure-change-hook, allout-structure-added-hook)
13101 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13102 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13103 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13104 comes before the corresponding variable's definition.
13106 2012-05-12 Chong Yidong <cyd@gnu.org>
13108 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13109 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13110 (Buffer-menu-mode-map): Bind it.
13111 (Buffer-menu--pretty-name): Add a mouse-face property.
13113 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13116 (prolog-upper-case-string, prolog-lower-case-string)
13117 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13118 (prolog-use-smie, prolog-smie-grammar): New vars.
13119 (prolog-smie-forward-token, prolog-smie-backward-token)
13120 (prolog-smie-rules): New funs.
13121 (prolog-comment-indent): Remove.
13122 (prolog-mode-variables): Use default comment indentation instead.
13124 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13125 (prolog-mode): Don't call them any more.
13126 (prolog-electric-colon, prolog-electric-dash)
13127 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13129 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13131 * minibuffer.el (completion--twq-all): Again, allow case differences.
13133 * term.el: Move keymap initialization code to be more idiomatic.
13134 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13135 (term-terminal-menu): Move initialization into declaration.
13136 (term-escape-char): Let the user set it in her .emacs.
13138 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13139 Provide SMIE-based indentation (not enabled by default yet).
13140 (sh-mode-map): Don't bind electric keys.
13141 Use electric-pair-mode instead of skeleton-pair.
13142 (sh-assignment-regexp): Fit within 80 columns.
13143 (sh-indent-supported): Specify actual shell name instead of boolean.
13144 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13145 (sh-maybe-here-document): Use it. Make obsolete.
13146 (sh-electric-here-document-mode) New minor mode.
13147 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13148 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13149 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13150 (sh-smie-rc-grammar, sh-use-smie): New vars.
13151 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13152 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13153 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13154 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13155 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13156 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13157 (sh-set-shell): Use smie-setup if requested.
13159 * term.el (term-set-escape-char): Properly set term-escape-char.
13160 See http://stackoverflow.com/questions/10524656.
13162 2012-05-10 Chong Yidong <cyd@gnu.org>
13164 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13165 Use url-generic-parse-url, and handle host names and Windows
13166 filenames properly.
13167 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13168 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13169 URL schemes to work on.
13170 (ffap--toggle-read-only): New function.
13171 (ffap-read-only, ffap-read-only-other-window)
13172 (ffap-read-only-other-frame): Use it.
13173 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13174 necessary for ffap-url-unwrap-remote.
13176 2012-05-10 Dave Abrahams <dave@boostpro.com>
13178 * cus-start.el (create-lockfiles): Add it.
13180 2012-05-09 Chong Yidong <cyd@gnu.org>
13182 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13183 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13185 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13189 2012-05-09 Chong Yidong <cyd@gnu.org>
13191 * ansi-color.el (ansi-color-process-output): Check for validity of
13192 comint-last-output-start before using it. This avoids a bad
13193 interaction with gdb-mi's input/output buffer.
13195 2012-05-09 Glenn Morris <rgm@gnu.org>
13197 * files.el (dir-locals-read-from-file):
13198 Mention dir-locals in any error message.
13200 2012-05-09 Chong Yidong <cyd@gnu.org>
13202 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13203 package (Bug#11410).
13205 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13206 variables into description.
13208 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13210 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13211 shell-delimiter-argument-list (bug#11348).
13212 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13214 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13216 * textmodes/rst.el: Silence byte-compiler warnings.
13217 (rst-re-alist, rst-reset-section-caches): Move around.
13218 (rst-re): Use `characterp', not `char-valid-p'.
13219 (font-lock-beg, font-lock-end): Declare.
13221 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13222 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13224 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13226 2012-05-08 Glenn Morris <rgm@gnu.org>
13228 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13230 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13232 * vc/log-edit.el: Add GNU coding standards highlighting.
13233 (log-edit-font-lock-gnu-style)
13234 (log-edit-font-lock-gnu-keywords): New vars.
13235 (log-edit-font-lock-keywords): New fun.
13236 (log-edit-mode): Don't fold case in font-lock.
13237 (log-edit-font-lock-keywords): Do not assume case-folding.
13239 * imenu.el: Misc cleanup. Make docstrings out of comments.
13240 Use lexical-binding.
13241 (imenu--index-alist, imenu--last-menubar-index-alist)
13242 (imenu-menubar-modified-tick): Use defvar-local.
13243 (imenu--split-menu): Remove unused var.
13244 (imenu--cleanup-seen): Declare as global.
13245 (imenu--cleanup): Use dolist.
13247 * subr.el (defvar-local): Add debug spec and doc-string position.
13249 2012-05-08 Glenn Morris <rgm@gnu.org>
13251 * language/burmese.el, language/cham.el, language/czech.el:
13252 * language/english.el, language/georgian.el, language/greek.el:
13253 * language/japanese.el, language/khmer.el, language/korean.el:
13254 * language/lao.el, language/misc-lang.el, language/romanian.el:
13255 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13256 * language/thai.el, language/utf-8-lang.el:
13257 Remove no-byte-compile setting.
13259 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13261 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13263 * progmodes/make-mode.el (makefile-browse):
13264 Remove unnecessary interactive. (Bug#11324)
13266 2012-05-07 Glenn Morris <rgm@gnu.org>
13268 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13270 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13272 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13274 * loadup.el: Preload newcomment.el.
13275 * newcomment.el: Move autoload-only code to toplevel.
13277 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13278 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13279 Handle new :right-align column property.
13280 (tabulated-list-print-col): Idem, plus use `display' text-property to
13281 try and preserve alignment for variable pitch fonts.
13283 2012-05-07 Chong Yidong <cyd@gnu.org>
13285 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13286 (tabulated-list-use-header-line): New var.
13287 (tabulated-list-init-header): Use it.
13288 (tabulated-list-print-fake-header): New function.
13289 (tabulated-list-print): Use it.
13290 (tabulated-list-sort-button-map): Add non-header-line commands.
13291 (tabulated-list-init-header): Add column name property to basic
13293 (tabulated-list-col-sort): Handle non-header-line button case.
13294 (tabulated-list--sort-by-column-name): Fix a corner case.
13296 * buff-menu.el (list-buffers--refresh):
13297 Handle Buffer-menu-use-header-line.
13299 2012-05-06 Chong Yidong <cyd@gnu.org>
13301 * buff-menu.el: Convert to Tabulated List mode.
13302 (Buffer-menu-buffer+size-width): Make obsolete.
13303 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13304 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13305 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13306 documentation into docstring of buffer-menu.
13307 (Buffer-menu-toggle-files-only): Add an informative message.
13308 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13309 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13310 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13311 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13312 (Buffer-menu-execute, Buffer-menu-select)
13313 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13314 (Buffer-menu-bury): Use Tabulated List machinery.
13315 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13316 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13318 (list-buffers--refresh): New function.
13319 (list-buffers-noselect): Use it.
13320 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13321 (Buffer-menu--pretty-file-name): New helper functions.
13323 * loadup.el: Preload tabulated-list.
13325 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13326 tabulated-list-sort-column.
13327 (tabulated-list-init-header): Add the initial aligning space even
13328 if tabulated-list-padding is zero.
13330 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13332 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13333 whose cdr is not a cons cell correctly (bug#11038).
13335 2012-05-06 Chong Yidong <cyd@gnu.org>
13337 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13338 Accept additional plist in column descriptors.
13339 (tabulated-list-init-header): Obey it.
13340 (tabulated-list-get-entry): New function.
13341 (tabulated-list-put-tag): Use it. Use string-width instead of
13343 (tabulated-list--column-number): New function.
13344 (tabulated-list-print): Use it.
13345 (tabulated-list-print-col): New function.
13346 Set `tabulated-list-column-name' property on each column's text.
13347 (tabulated-list-print-entry): Use it.
13348 (tabulated-list-delete-entry, tabulated-list-set-col):
13350 (tabulated-list-sort-column): New command (Bug#11337).
13352 * buff-menu.el (list-buffers): Move C-x C-b binding from
13353 buff-menu.el to bindings.el.
13355 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13356 :advertised-binding feature.
13358 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13360 * progmodes/compile.el (compilation-internal-error-properties):
13361 Calculate start position correctly when end-col is set but
13362 end-line is not (Bug#11382).
13364 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13366 * man.el (Man-unindent): Use text-property-default-nonsticky to
13367 prevent untabify from inheriting face properties (Bug#11408).
13369 2012-05-05 Stefan Merten <smerten@oekonux.de>
13371 * textmodes/rst.el: Major merge with upstream development up to
13372 Docutils SVN r7399 / rst.el V1.2.1.
13374 Clarify maintainership and authors.
13376 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13377 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13378 (rst-official-version, rst-official-cvs-rev, rst-version)
13379 (rst-package-emacs-version-alist): New functions and variables
13380 for version information.
13382 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13383 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13384 (rst-mode-syntax-table, rst-mode): New and corrected functions
13385 and variables representing reStructuredText features.
13387 (rst-re): New function for reStructuredText regexes. Use in
13390 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13391 (rst-mode-map): Rebind keys.
13393 (rst-mode-lazy, rst-font-lock-keywords)
13394 (rst-font-lock-extend-region)
13395 (rst-font-lock-extend-region-internal)
13396 (rst-font-lock-extend-region-extend)
13397 (rst-font-lock-find-unindented-line-limit)
13398 (rst-font-lock-find-unindented-line-match)
13399 (rst-adornment-level, rst-font-lock-adornment-level)
13400 (rst-font-lock-adornment-match)
13401 (rst-font-lock-handle-adornment-pre-match-form)
13402 (rst-font-lock-handle-adornment-matcher): Major revision of
13403 font-locking. Integrate with other code. Use `jit-lock-mode'.
13405 (rst-preferred-adornments, rst-adjust-hook)
13406 (rst-new-adornment-down, rst-preferred-bullets)
13407 (rst-preferred-bullets, rst-indent, rst-indent-width)
13408 (rst-indent-field, rst-indent-literal-normal)
13409 (rst-indent-literal-minimized, rst-indent-comment): Change,
13410 extend and improve customization.
13412 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13413 (rst-normalize-cursor-position, rst-get-decoration)
13414 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13415 (rst-rstrip, rst-toc-insert-find-delete-contents)
13416 (rst-shift-fill-region, rst-compute-bullet-tabs)
13417 (rst-debug-print-tabs, rst-debug-mark-found)
13418 (rst-shift-region-guts, rst-shift-region-right)
13419 (rst-shift-region-left, rst-use-char-classes)
13420 (rst-font-lock-keywords-function)
13421 (rst-font-lock-indentation-point)
13422 (rst-font-lock-find-unindented-line-begin)
13423 (rst-font-lock-find-unindented-line-end)
13424 (rst-font-lock-find-unindented-line)
13425 (rst-font-lock-adornment-point, rst-font-lock-level)
13426 (rst-adornment-level-alist): Remove functions and variables.
13428 (rst-compare-adornments, rst-get-adornment-match)
13429 (rst-suggest-new-adornment, rst-get-adornments-around)
13430 (rst-adornment-complete-p, rst-get-next-adornment)
13431 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13432 (rst-straighten-adornments): Standardize function names to
13433 use "adornment" instead of "decoration". Correct callers.
13434 Similar standardizing in many places.
13436 (rst-update-section, rst-adjust, rst-promote-region)
13437 (rst-enumerate-region, rst-bullet-list-region)
13438 (rst-repeat-last-character): Correct use of `interactive'.
13440 (rst-classify-adornment, rst-find-all-adornments)
13441 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13442 (rst-find-leftmost-column, rst-repeat-last-character):
13443 Refactor functions.
13445 (rst-find-title-line, rst-reset-section-caches)
13446 (rst-get-adornments-around, rst-adjust-adornment-work)
13447 (rst-arabic-to-roman, rst-roman-to-arabic)
13448 (rst-insert-list-pos, rst-insert-list-new-item)
13449 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13452 (rst-all-sections, rst-section-hierarchy)
13453 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13456 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13457 configuration instead of only buffer. Change where necessary.
13459 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13460 (rst-shift-region, rst-adaptive-fill): New functions for
13461 indentation and filling.
13463 (rst-comment-line-break, rst-comment-indent)
13464 (rst-comment-insert-comment, rst-comment-region)
13465 (rst-uncomment-region): New functions for handling comments.
13467 (rst-compile): Quote shell arguments.
13469 (rst-compile-pdf-preview, rst-compile-slides-preview):
13470 Delete temporary files after use.
13472 2012-05-05 Glenn Morris <rgm@gnu.org>
13474 * calendar/cal-html.el: Optionally include holidays in the output.
13475 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13476 (cal-html-holidays): New option.
13477 (cal-html-css-default): Add holiday entry.
13478 (holiday-in-range): Autoload it.
13479 (cal-html-htmlify-entry): Add optional class argument.
13480 (cal-html-htmlify-list): Add optional holidays argument.
13481 (cal-html-insert-agenda-days): Include holidays in the output.
13482 (cal-html-one-month): Maybe include holidays.
13484 * calendar/holidays.el (holiday-in-range):
13485 Move here from cal-tex-list-holidays.
13486 * calendar/cal-tex.el (cal-tex-list-holidays):
13487 Make it an obsolete alias for holiday-in-range. Update all callers.
13489 2012-05-05 Chong Yidong <cyd@gnu.org>
13491 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13494 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13496 * files.el (file-auto-mode-skip): New var.
13497 (set-auto-mode-1): Use it.
13499 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13501 * repeat.el: Use lexical-binding.
13502 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13503 (repeat-undo-count): Remove.
13505 * progmodes/octave-mod.el (octave-abbrev-start):
13506 * progmodes/f90.el (f90-abbrev-start):
13507 * face-remap.el (text-scale-adjust):
13508 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13510 * emacs-lisp/pcase.el (pcase--let*): New function.
13511 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13513 (pcase--split-pred): Be more clever about ruling out overlap between
13514 a predicate and some constant pattern.
13515 (pcase--q1): Use `null' instead of (eq foo nil).
13517 * subr.el (setq-local, defvar-local): New macros.
13518 (kbd): Redefine as an alias.
13519 (with-selected-window): Leave unrelated frames alone.
13520 (set-temporary-overlay-map): New function.
13522 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13524 * subr.el (user-error): New function.
13525 * window.el (switch-to-buffer):
13526 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13527 (smerge-match-conflict):
13528 * simple.el (previous-matching-history-element)
13529 (next-matching-history-element, goto-history-element, undo-more)
13531 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13532 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13533 (next-file, tags-loop-scan, list-tags, complete-tag):
13534 * progmodes/compile.el (compilation-loop):
13535 * mouse.el (mouse-minibuffer-check):
13536 * man.el (Man-bgproc-sentinel, Man-goto-page):
13537 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13538 (Info-history-forward, Info-follow-reference, Info-menu)
13539 (Info-extract-menu-item, Info-extract-menu-counting)
13540 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13541 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13542 (Info-next-reference, Info-prev-reference, Info-index)
13543 (Info-index-next, Info-follow-nearest-node)
13544 (Info-copy-current-node-name):
13545 * imenu.el (imenu--make-index-alist)
13546 (imenu-default-create-index-function, imenu-add-to-menubar):
13547 * files.el (basic-save-buffer, recover-file):
13548 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13549 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13550 (checkdoc-message-text, checkdoc-defun):
13551 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13552 * cus-edit.el (customize-changed-options, customize-rogue)
13553 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13554 (custom-variable-mark-to-reset-standard)
13555 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13557 * completion.el (check-completion-length):
13558 * comint.el (comint-search-arg)
13559 (comint-previous-matching-input-string-position)
13560 (comint-previous-matching-input)
13561 (comint-replace-by-expanded-history-before-point, comint-send-input)
13562 (comint-copy-old-input, comint-backward-matching-input)
13563 (comint-goto-process-mark, comint-set-process-mark):
13564 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13565 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13567 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13569 * dabbrev.el (dabbrev--ignore-case-p): New function.
13570 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13573 * files.el (automount-dir-prefix): Mark as obsolete.
13575 2012-05-04 Glenn Morris <rgm@gnu.org>
13577 * patcomp.el, play/bruce.el: Move to obsolete/.
13579 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13581 Fix minor Y10k bugs.
13582 * arc-mode.el (archive-unixdate):
13583 * autoinsert.el (auto-insert-alist):
13584 * calc/calc-forms.el (math-this-year):
13585 * emacs-lisp/copyright.el (copyright-current-year)
13586 (copyright-update-year, copyright):
13587 * tar-mode.el (tar-clip-time-string):
13588 * time.el (display-time-update):
13589 Don't assume years have 4 digits.
13591 2012-05-04 Chong Yidong <cyd@gnu.org>
13593 * dos-w32.el (file-name-buffer-file-type-alist)
13594 (direct-print-region-use-command-dot-com):
13595 * ffap.el (ffap-menu-regexp):
13596 * find-file.el (ff-special-constructs):
13597 * follow.el (follow-debug):
13598 * forms.el (forms--debug):
13599 * iswitchb.el (iswitchb-all-frames):
13600 * ido.el (ido-all-frames):
13601 * emacs-lisp/timer.el (timer-max-repeats):
13602 * mail/feedmail.el (feedmail-mail-send-hook)
13603 (feedmail-mail-send-hook-queued):
13604 * mail/footnote.el (footnote-signature-separator):
13605 * mail/mailabbrev.el (mail-alias-separator-string)
13606 (mail-abbrev-mode-regexp):
13607 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13608 * progmodes/idlwave.el (idlwave-libinfo-file)
13609 (idlwave-default-completion-case-is-down)
13610 (idlwave-library-routines): Convert defvars to defcustoms.
13612 * mail/rmail.el (rmail-decode-mime-charset):
13613 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13614 (idlwave-shell-fix-inserted-breaks)
13615 (idlwave-shell-activate-alt-keybindings)
13616 (idlwave-shell-use-breakpoint-glyph):
13617 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13619 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13621 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13623 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13625 * progmodes/verilog-mode.el (font-lock-keywords):
13626 Fix mis-highligting auto. Reported by Craig Barner.
13627 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13628 defines from global name space. Reported by Dan Dever.
13629 (verilog-auto-reset, verilog-auto-reset-widths)
13630 (verilog-auto-tieoff): Support using unbased numbers for
13631 AUTORESET and AUTOTIEOFF.
13632 (verilog-submit-bug-report): Update variable list.
13633 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13634 parenthesis from not matching. Reported by Michael Rytting.
13635 (verilog-auto-template-lint): Fix hash error when linting modules
13636 with no used templates.
13637 (verilog-warn, verilog-warn-error)
13638 (verilog-warn-fatal): When non-interactive report multiple
13639 warnings before exiting. Suggested by Brad Dobbie.
13640 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13641 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13642 to report unused template errors. Reported by Brad Dobbie.
13643 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13644 nets, bug438. Reported by Vns Blore.
13645 (verilog-auto-inout-module, verilog-auto-reg)
13646 (verilog-read-decls, verilog-read-sub-decls-sig)
13647 (verilog-signals-edit-wire-reg, verilog-signals-with):
13648 Fix passing of Verilog data types in ANSI input/output ports
13649 such as "output logic" into the AUTOs. Special case "wire" and
13650 "reg" for backwards compatibility presuming Verilog 2001.
13651 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13652 (verilog-preprocess): Fix replication of preprocess output.
13653 Reported by Brad Dobbie.
13654 (verilog-auto-inst-interfaced-ports):
13655 Create verilog-auto-inst-interfaced-ports, bug429.
13656 Reported by Julian Gorfajn.
13657 (verilog-after-save-font-hook)
13658 (verilog-before-save-font-hook): New variable.
13659 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13660 (verilog-save-font-mods): Wrap disabling fontification, reported
13662 (verilog-do-indent, verilog-pretty-declarations-auto)
13663 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13664 Reported by Pierre-David Pfister.
13665 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13666 of class declarations, bug292. Reported by Kevin Heilman.
13667 (verilog-read-decls): Fix 'parameter type' not appearing in
13668 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13669 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13670 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13671 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13672 Reported by David Kravitz.
13674 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13676 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13677 assignment with tests in ifs and for loops.
13678 (verilog-extended-complete-re, verilog-complete-reg): Change so
13679 that DPI inport functions don't look like fuction declarations.
13680 (verilog-pretty-expr): Don't line up assignment
13681 operations to the test and increment in if and for loops
13682 (verilog-extended-complete-re, verilog-complete-reg): Change so
13683 that DPI inport functions don't look like fuction declarations.
13685 2012-05-03 Kenichi Handa <handa@m17n.org>
13687 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13688 decoding, and show a warning message without signaling an error
13691 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13693 * emacs-lisp/bytecomp.el
13694 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13695 since cconv.el might have introduced :fun-body, internal-make-closure,
13696 and friends for bytecomp to handle (bug#11391).
13697 * custom.el (defcustom): Avoid ((λ ..) ..).
13699 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13701 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13703 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13705 * notifications.el (dbus-debug):
13706 * term/linux.el (gpm-mouse-enable):
13707 * term/screen.el (xterm-register-default-colors): Declare.
13709 2012-05-02 Chong Yidong <cyd@gnu.org>
13711 * cus-start.el (gc-cons-percentage, exec-suffixes)
13712 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13713 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13714 (make-cursor-line-fully-visible, void-text-area-pointer)
13715 (font-list-limit): Add customization data.
13717 * allout.el (allout-exposure-change-functions)
13718 (allout-structure-added-functions)
13719 (allout-structure-deleted-functions)
13720 (allout-structure-shifted-functions): Rename abnormal hooks from
13721 *-hook, and convert to defcustoms.
13722 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13723 Convert to defcustoms.
13724 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13726 * allout-widgets.el: Hook callers changed.
13728 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13730 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13731 the yanked message in preference to the default value of
13732 buffer-file-coding-system.
13734 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13736 * window.el (display-buffer--action-function-custom-type):
13739 2012-05-02 Alan Mackenzie <acm@muc.de>
13741 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13743 2012-05-01 Glenn Morris <rgm@gnu.org>
13745 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13747 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13749 * cus-edit.el (custom-variable-documentation): Simplify with format.
13751 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13752 Stefan Monnier <monnier@iro.umontreal.ca>
13754 * simple.el (suggest-key-bindings, execute-extended-command):
13755 Move from keyboard.c.
13757 2012-05-01 Chong Yidong <cyd@gnu.org>
13759 * follow.el: Eliminate advice.
13760 (set-process-filter, process-filter, sit-for): Advice deleted.
13761 (follow-mode-off-hook): Obsolete hook removed.
13762 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13764 (follow-auto): Use a :set function.
13765 (follow-mode): Rewritten. Don't advise process filters.
13766 (follow-switch-to-current-buffer-all, follow-scroll-up)
13767 (follow-scroll-down): Assume follow-mode is bound.
13768 (follow-comint-scroll-to-bottom)
13769 (follow-align-compilation-windows): New functions.
13770 (follow--window-sorter): New function.
13771 (follow-all-followers): Use it to explicitly sort windows by their
13772 positions; don't make assumptions about next-window order.
13773 (follow-windows-start-end, follow-delete-other-windows-and-split)
13774 (follow-calc-win-start): Doc fix.
13775 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13776 vertical-motion unnecessarily.
13777 (follow-adjust-window): New function.
13778 (follow-post-command-hook): Use it.
13779 (follow-call-set-process-filter, follow-call-process-filter)
13780 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13781 (follow-stop-intercept-process-output, follow-generic-filter):
13783 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13784 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13785 New functions, replacing advice on scroll-bar-* commands.
13786 (follow-mwheel-scroll): New function (Bug#4112).
13788 * comint.el (comint-adjust-point): New function.
13789 (comint-postoutput-scroll-to-bottom): Use it.
13790 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13792 2012-05-01 Glenn Morris <rgm@gnu.org>
13794 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13795 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13796 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13797 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13798 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13799 Remove no-byte-compile setting.
13801 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13803 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13804 all-completions code to not return a number in the last cdr.
13806 2012-04-30 Leo Liu <sdl.web@gmail.com>
13808 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13811 2012-04-29 Chong Yidong <cyd@gnu.org>
13813 * follow.el (follow-calc-win-end): Rewrite to handle partial
13814 screen lines correctly (Bug#8390).
13815 (follow-avoid-tail-recenter): Minor cleanup.
13817 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13819 Avoid the obsolete `assoc' package.
13820 * speedbar.el (speedbar-refresh): Avoid adelete.
13821 (speedbar-file-lists): Simplify and avoid aput.
13822 * man.el (Man--sections, Man--refpages): New vars, replacing
13823 Man-sections-alist and Man-refpages-alist.
13824 (Man-build-section-alist, Man-build-references-alist):
13825 Use them; avoid aput.
13826 (Man--last-section, Man--last-refpage): New vars.
13827 (Man-follow-manual-reference): Use them.
13828 Use the `default' arg of completing-read.
13829 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13831 2012-04-27 Chong Yidong <cyd@gnu.org>
13833 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13835 * startup.el (x-apply-session-resources): New function.
13837 * term/ns-win.el (ns-initialize-window-system):
13838 * term/w32-win.el (w32-initialize-window-system):
13839 * term/x-win.el (x-initialize-window-system): Use it to properly
13840 set menu-bar-mode and other vars from X resources, even if the
13841 initial frame is not a window-system frame (Bug#2299).
13843 * subr.el (read-key): Avoid running filter function when setting
13844 up temporary tool bar entries (Bug#9922).
13846 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13848 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13851 2012-04-27 Chong Yidong <cyd@gnu.org>
13853 * select.el (xselect--encode-string): New function, split from
13854 xselect-convert-to-string.
13855 (xselect-convert-to-string): Use it.
13856 (xselect-convert-to-filename, xselect-convert-to-os)
13857 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13858 returned strings are properly encoded (Bug#11315).
13860 2012-04-27 Chong Yidong <cyd@gnu.org>
13862 * simple.el (delete-active-region): Move to killing custom group.
13864 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13866 * progmodes/which-func.el (which-func-current): Quote %
13867 characters for mode-line processing.
13869 2012-04-27 Chong Yidong <cyd@gnu.org>
13871 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13872 reaching eob (Bug#11286).
13874 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13876 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13877 (gdb): Make it buffer-local and init to zero.
13878 (gdb-control-commands-regexp): New variable.
13879 (gdb-send): Don't wrap in "-interpreter-exec console" if
13880 gdb-control-level is positive. Increment gdb-control-level
13881 whenever the command matches gdb-control-commands-regexp, and
13882 decrement it each time the command is "end". (Bug#11279)
13884 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13886 * window.el (adjust-window-trailing-edge, enlarge-window)
13887 (shrink-window, window-resize):
13888 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13889 windows (Bug#11276).
13891 2012-04-27 Chong Yidong <cyd@gnu.org>
13893 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13894 fix "missing prefix" warning. All callers changed.
13896 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13898 * emacs-lisp/assoc.el: Move to obsolete/.
13900 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13902 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13904 * term/ns-win.el (ns-define-service):
13905 * progmodes/pascal.el (pascal-goto-defun):
13906 * progmodes/js.el (js--read-tab):
13907 * progmodes/etags.el (tags-lazy-completion-table):
13908 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13909 * emacs-lisp/ewoc.el (ewoc--wrap):
13910 * emacs-lisp/assoc.el (aput, adelete, amake):
13911 * doc-view.el (doc-view-convert-current-doc):
13912 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13914 2012-04-26 Chong Yidong <cyd@gnu.org>
13916 * image.el (image-type-from-buffer): Only return supported image
13919 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13920 value, for symmetry with diff-end-of-hunk.
13921 (diff-split-hunk, diff-find-source-location)
13922 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13923 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13924 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13925 compute the relevant hunk or file properly (Bug#6005).
13926 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13928 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * vc/vc.el: Replace lexical-let by lexical-binding.
13938 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13939 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13940 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13942 2012-04-26 Chong Yidong <cyd@gnu.org>
13944 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13945 (diff-mode-shared-map): Bind it to / and [remap undo].
13947 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13948 (ediff-window-setup-function): Use it as the default, to set up
13949 windows based on whether the current frame is graphical (Bug#2138).
13950 (ediff-choose-window-setup-function-automatically): Make obsolete.
13952 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13954 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13956 * ffap.el: Remove old code for obsolete package.
13957 (ffap-complete-as-file-p): Remove.
13959 Use completion-table-with-quoting for comint and pcomplete.
13960 * comint.el (comint--unquote&requote-argument)
13961 (comint--unquote-argument, comint--requote-argument): New functions.
13962 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13963 (comint-quote-filename): Use regexp-opt-charset.
13964 (comint--common-suffix, comint--common-quoted-suffix)
13965 (comint--table-subvert): Remove.
13966 (comint-unquote-function, comint-requote-function): New vars.
13967 (comint--complete-file-name-data): Use them with
13968 completion-table-with-quoting.
13969 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13970 * pcomplete.el (pcomplete-arg-quote-list)
13971 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13972 (pcomplete-unquote-argument-function): Default to non-nil.
13973 (pcomplete-unquote-argument): Simplify.
13974 (pcomplete--common-quoted-suffix): Remove.
13975 (pcomplete-requote-argument-function): New var.
13976 (pcomplete--common-suffix): New function.
13977 (pcomplete-completions-at-point): Use completion-table-with-quoting
13978 and completion-table-subvert.
13980 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13981 (minibuffer--double-dollars): Preserve properties.
13982 (completion--sifn-requote): New function.
13983 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13985 * minibuffer.el: Add support for completion of quoted/escaped data.
13986 (completion-table-with-quoting, completion-table-subvert): New funs.
13987 (completion--twq-try, completion--twq-all): New functions.
13988 (completion--nth-completion): New function.
13989 (completion-try-completion, completion-all-completions): Use it.
13991 2012-04-25 Leo Liu <sdl.web@gmail.com>
13993 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13994 Use compilation-message if available to find real filename.
13996 2012-04-25 Chong Yidong <cyd@gnu.org>
13998 * vc/diff-mode.el (diff-setup-whitespace): New function.
13999 (diff-mode): Use it.
14001 * vc/diff.el (diff-sentinel):
14002 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14003 Whitespace mode variables based on diff style (Bug#8612).
14005 2012-04-25 Leo Liu <sdl.web@gmail.com>
14007 * progmodes/python.el (python-send-region): Add suffix .py to the
14010 * files.el (auto-mode-alist): Use javascript-mode instead.
14012 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14014 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14016 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14017 (soap-resolve-references-for-array-type): Hack to prevent self
14018 references, see Bug#9.
14019 (soap-parse-envelope): Report the contents of the 'detail' node
14020 when receiving a fault reply.
14021 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14023 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14024 (soap-inspect-simple-type): New function.
14026 * net/soap-client.el (soap-simple-type): New struct.
14027 (soap-default-xsd-types, soap-default-soapenc-types)
14028 (soap-decode-basic-type, soap-encode-basic-type):
14029 support unsignedInt and double basic types.
14030 (soap-resolve-references-for-simple-type)
14031 (soap-parse-simple-type, soap-encode-simple-type): New function.
14032 (soap-parse-schema): Parse xsd:simpleType declarations.
14034 * net/soap-client.el (soap-default-xsd-types)
14035 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14036 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14037 the local name of "soapenc:Array".
14038 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14039 decoding integer, byte and anyURI xsd types.
14041 2012-04-25 Chong Yidong <cyd@gnu.org>
14043 * cus-edit.el (custom-buffer-create-internal): Update header text.
14045 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14047 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14048 settings on 'system-type', not on 'window-system'. On MS-Windows,
14049 set interactive-mode on in GDB.
14051 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14053 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14054 (ruby-syntax-propertize-regexp): Remove.
14055 (ruby-syntax-propertize-function): Split regexp into chunks.
14056 Match following code directly.
14058 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14060 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14061 (ruby-syntax-propertize-regexp): New function.
14062 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14063 by a special keyword.
14065 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14066 (ruby-syntax-general-delimiters-goto-beg)
14067 (ruby-syntax-propertize-general-delimiters): New functions.
14068 (ruby-syntax-propertize-function): Use them to handle GDL.
14069 (ruby-font-lock-keywords): Move old handling of GDL...
14070 (ruby-font-lock-syntactic-keywords): .. to here.
14071 (ruby-calculate-indent): Adjust indentation for GDL.
14073 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14075 * notifications.el (top): Remove unneeded declarations.
14076 (notifications-specification-version): Change to "1.2".
14077 (notifications-interface, notifications-notify-method)
14078 (notifications-close-notification-method): Fix docstring.
14079 (notifications-get-capabilities-method): New defconst.
14080 (notifications-notify): Add :action-items, :resident and
14081 :transient hints. Change "image_data" to "image-data" and
14082 "image_path" to "image-path".
14083 (notifications-get-capabilities): New defun.
14085 2012-04-24 Leo Liu <sdl.web@gmail.com>
14087 * progmodes/python.el: Move hideshow setup to the end.
14089 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14091 * window.el (handle-select-window): Clear echo area since this is
14092 no more done by read_char (Bug#11304).
14094 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14096 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14097 and `/ M' to filter-derived-mode.
14098 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14099 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14100 (ibuffer-mark-by-mode): Use default rather than initial-input.
14101 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14103 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14105 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14106 (ibuffer-filter-by-derived-mode): New filter.
14107 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14109 2012-04-23 Andreas Politz <politza@fh-trier.de>
14111 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14113 2012-04-23 Chong Yidong <cyd@gnu.org>
14115 * cus-edit.el (customize-apropos, customize-apropos-options):
14116 Disable matching of non-option variables (Bug#11176).
14117 (customize-option, customize-option-other-window)
14118 (customize-changed-options): Doc fix.
14119 (customize-apropos-options, customize-apropos-faces)
14120 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14122 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14123 Fix word list splitting (Bug#11132).
14124 (apropos-symbol, apropos-keybinding, apropos-label)
14125 (apropos-property, apropos-function-button)
14126 (apropos-variable-button, apropos-misc-button): New faces.
14127 (apropos-symbol-face, apropos-keybinding-face)
14128 (apropos-label-face, apropos-property-face, apropos-match-face):
14129 Variables removed (Bug#8396).
14130 (apropos-library-button, apropos-format-plist, apropos-print)
14131 (apropos-print-doc, apropos-describe-plist): Callers changed.
14133 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14135 * net/xesam.el (xesam-mode-map): Use let-bound map in
14136 initialization. (Bug#11292)
14138 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14140 Preserve ispell session localwords when switching back to
14143 * textmodes/ispell.el (ispell-buffer-session-localwords):
14144 New buffer-local variable to hold buffer session localwords.
14145 (ispell-kill-ispell): Add option 'clear to delete session
14147 (ispell-command-loop, ispell-change-dictionary)
14148 (ispell-buffer-local-words): Preserve session localwords when
14151 * textmodes/flyspell.el (flyspell-process-localwords)
14152 (flyspell-do-correct): Preserve session localwords when needed.
14154 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14156 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14157 using obsolete `translation-table-for-input'.
14158 (ispell-word, ispell-process-line, ispell-complete-word):
14159 Use plain `insert' instead of removed `ispell-insert-word'.
14161 2012-04-22 Chong Yidong <cyd@gnu.org>
14163 * cus-edit.el (custom-variable-menu)
14164 (custom-variable-reset-saved, custom-face-menu)
14165 (custom-face-reset-saved): If there is no saved value, make the
14166 "reset-saved" operation bring back the default (Bug#9509).
14167 (custom-face-state): Properly detect themed faces.
14169 * faces.el (face-spec-set): Stop supporting deprecated form of
14172 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14174 Move functions from C to Lisp. Make non-blocking method calls
14175 the default. Implement further D-Bus standard interfaces.
14177 * net/dbus.el (dbus-message-internal): Declare function.
14178 Remove unneeded function declarations.
14179 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14180 (dbus-message-type-method-return, dbus-message-type-error)
14181 (dbus-message-type-signal): Declare variables. Remove local
14183 (dbus-interface-dbus, dbus-interface-peer)
14184 (dbus-interface-introspectable, dbus-interface-properties)
14185 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14187 (dbus-interface-objectmanager): New defconst.
14188 (dbus-call-method, dbus-call-method-asynchronously)
14189 (dbus-send-signal, dbus-method-return-internal)
14190 (dbus-method-error-internal, dbus-register-service)
14191 (dbus-register-signal, dbus-register-method): New defuns, moved
14193 (dbus-call-method-handler, dbus-setenv)
14194 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14196 (dbus-call-method-non-blocking): Make it an obsolete function.
14197 (dbus-unregister-object, dbus-unregister-service)
14198 (dbus-handle-event, dbus-register-property)
14199 (dbus-property-handler): Obey the new structure of
14200 `bus-registered-objects'.
14201 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14202 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14203 Use `dbus-call-method'.
14205 2012-04-22 Chong Yidong <cyd@gnu.org>
14207 * cus-edit.el (custom-commands, custom-reset-menu)
14208 (Custom-reset-standard): Tweak labels.
14209 (custom-reset-button-menu): Change default to t.
14210 (custom-buffer-create-internal): For the custom-reset-button-menu
14211 case, put the revert button first.
14212 (custom-group-subtitle): New face.
14213 (custom-group-value-create): Align docstring to a specific column.
14215 * wid-edit.el (widget-documentation-link-add): Don't handle
14216 indentation in this function.
14217 (widget-documentation-string-indent-to): New function.
14218 (widget-documentation-string-value-create): Use it.
14220 * autorevert.el (auto-revert):
14221 * epg-config.el (epg):
14222 * ibuffer.el (ibuffer):
14225 * eshell/eshell.el (eshell):
14226 * net/ange-ftp.el (ange-ftp):
14227 * progmodes/ebnf2ps.el (postscript):
14228 * progmodes/flymake.el (flymake):
14229 * progmodes/prolog.el (prolog):
14230 * progmodes/verilog-mode.el (verilog-mode):
14231 * progmodes/which-func.el (which-func):
14232 * term/xterm.el (xterm):
14233 * textmodes/picture.el (picture):
14234 * textmodes/tildify.el (tildify):
14235 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14236 customization buffers.
14238 2012-04-22 Alan Mackenzie <acm@muc.de>
14240 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14241 Adding a ) can hide the resulting (..) from searches. Fix it.
14242 Bound the backward search to the position of the existing (.
14244 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14246 * progmodes/verilog-mode.el (verilog-mode): Check whether
14247 which-func-modes is t before adding verilog-mode.
14248 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14250 2012-04-21 Leo Liu <sdl.web@gmail.com>
14252 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14254 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14256 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14257 filling of the last column of a table (Bug#5635).
14258 (woman-find-next-control-line): New arg, specifying an additional
14259 regexp component for the control line.
14260 (woman2-roff-buffer): Use it.
14261 (woman-break-table): New function.
14262 (woman2-TS): Use it.
14264 2012-04-21 Chong Yidong <cyd@gnu.org>
14266 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14267 (woman-horizontal-escapes, woman-negative-vertical-space)
14268 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14269 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14271 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14273 * minibuffer.el (completion-file-name-table): Complete user names.
14275 2012-04-20 Leo Liu <sdl.web@gmail.com>
14277 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14280 2012-04-20 Chong Yidong <cyd@gnu.org>
14282 * server.el (server-execute): Respect initial-buffer-choice if it
14283 is a string and there are no files to open (Bug#2825).
14284 (server-create-window-system-frame, server-create-tty-frame):
14285 Don't switch buffers here.
14286 (server-process-filter): Only try to open a window system frame if
14287 compiled with graphical support (Bug#8314).
14289 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14291 * battery.el (battery-echo-area-format): Display remaining time
14292 for sysfs backend too (Bug#11269).
14293 (battery-linux-sysfs): Fix conditional for the charge.
14295 2012-04-20 Chong Yidong <cyd@gnu.org>
14297 * progmodes/gdb-mi.el (gdb): Revert previous change.
14298 (gdb-inferior-io--init-proc): New function.
14299 (gdb-init-1): Use it.
14300 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14301 responsible for allocating a new pty and hooking it to gdb when
14302 the old pty gets an EIO due to process exit.
14303 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14304 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14305 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14307 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14309 * window.el (window-min-size, window-sizable, window-min-delta)
14310 (window-max-delta, window--resizable, window-resizable)
14311 (window-total-size, window-full-height-p, window-full-width-p)
14312 (window-in-direction, window--resize-mini-window, window-resize)
14313 (window--resize-child-windows-normal)
14314 (window--resize-child-windows, window--resize-siblings)
14315 (window--resize-this-window, adjust-window-trailing-edge)
14316 (enlarge-window, shrink-window): Doc fixes.
14318 2012-04-20 Chong Yidong <cyd@gnu.org>
14320 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14321 New function to call delete-process on the gdb-inferior buffer's pty.
14322 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14323 pty process (Bug#11273).
14324 (gdb-update): New arg to suppress talking to the gdb process.
14325 (gdb-done-or-error): Use it.
14326 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14327 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14328 sentinel not being called.
14330 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14332 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14334 2012-04-20 Glenn Morris <rgm@gnu.org>
14336 * net/network-stream.el (open-network-stream): Doc fix.
14338 2012-04-20 Chong Yidong <cyd@gnu.org>
14340 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14342 2012-04-20 Alan Mackenzie <acm@muc.de>
14344 Ensure searching for keywords is case sensitive.
14346 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14347 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14348 (c-defun-name, c-mark-function, c-cpp-define-name)
14349 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14350 (c-context-line-break): Bind case-fold-search to nil.
14352 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14353 Bind case-fold-search to nil.
14355 2012-04-20 Chong Yidong <cyd@gnu.org>
14357 * mail/sendmail.el (mail-bury): Call return action with the right
14358 Rmail buffer (Bug#11242).
14360 * server.el (server-process-filter): Handle corner case where both
14361 tty and nowait options are present (Bug#11102).
14363 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14365 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14366 (top level): Put into the executable the ident-style '$Id:' tag on
14367 windows-nt as well.
14369 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14371 * electric.el (electric-indent-post-self-insert-function): Check that
14372 electric-indent-mode is enabled in current buffer.
14374 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14376 * imenu.el (imenu-progress-message): Restore; it is "used" in
14377 erc/erc-imenu.el and net/snmp-mode.el.
14379 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14381 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14382 (mouse-avoidance-nudge-mouse): Remove unused binding.
14384 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14386 * descr-text.el (describe-char):
14387 * progmodes/python.el (python-describe-symbol):
14388 Don't call `toggle-read-only', set `buffer-read-only'.
14390 * imenu.el (imenu-default-goto-function): Mark unused args.
14391 (imenu-progress-message): Remove obsolete macro; all callers changed.
14393 * subr.el (keymap-canonicalize): Remove unused binding.
14394 (read-passwd): Mark unused arg.
14396 * tutorial.el (tutorial--display-changes): Remove unused binding.
14397 (tutorial--save-tutorial-to): Remove unused variable.
14399 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14400 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14401 (package-generate-autoloads, package-menu--generate)
14402 (package-menu--find-upgrades): Remove unused bindings.
14404 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14405 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14406 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14407 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14408 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14409 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14410 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14411 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14412 (cua-delete-char-rectangle): Mark unused args.
14413 (cua-align-rectangle): Remove unused binding.
14415 * mail/rmail.el (compilation--message->loc)
14416 (epa--find-coding-system-for-mime-charset): Declare.
14418 * net/dbus.el (dbus-register-service): Declare.
14419 (dbus-name-owner-changed-handler): Remove unused binding.
14421 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14422 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14423 (nxml-scan-backward-within): Mark unused arg.
14424 (nxml-dynamic-markup-word): Remove unused binding.
14426 * mouse.el (mouse-menu-major-mode-map):
14427 * emacs-lisp/authors.el (authors-scan-change-log)
14428 (authors-add-to-author-list):
14429 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14430 * emacs-lisp/smie.el (smie-auto-fill):
14431 * mail/sendmail.el (mail-bury):
14432 * mail/unrmail.el (unrmail):
14433 * net/tls.el (open-tls-stream):
14434 * textmodes/picture.el (picture-mouse-set-point):
14435 Remove unused bindings.
14437 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14439 * net/tramp.el (tramp-action-password): Let-bind
14440 `enable-recursive-minibuffers' to t.
14442 2012-04-18 Sam Steingold <sds@gnu.org>
14444 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14445 instead of 'string to accommodate values like [f11].
14446 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14447 * progmodes/gdb-mi.el: Likewise.
14449 2012-04-18 Leo Liu <sdl.web@gmail.com>
14451 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14453 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14456 2012-04-18 Chong Yidong <cyd@gnu.org>
14458 * simple.el (line-move): Use forward-line if in batch mode
14461 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14463 * files.el (after-find-file): Do not try to add a final newline if
14464 the buffer is read-only (Bug#11156).
14466 2012-04-17 Richard Stallman <rms@gnu.org>
14468 * mail/rmail.el (rmail-start-mail):
14469 Pass (rmail-mail-return...) for the return-action.
14470 Pass (rmail-yank-current-message...) for the yank-action.
14471 (rmail-yank-current-message): New function.
14472 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14473 (rmail-reply): Likewise.
14474 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14476 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14477 buffer, not the last. Reject temp buffers. Use the rmail-mode
14478 buffer, not newbuf.
14480 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14482 * server.el (server-ensure-safe-dir): Simplify.
14484 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14486 * emacs-lisp/smie.el: Provide smarter auto-filling.
14487 (smie-auto-fill): New function.
14488 (smie-setup): Use it.
14490 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14492 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14494 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14495 (comment-indent): Use it.
14497 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14499 * ses.el: The overall change is to add cell renaming, that is
14500 setting fancy names for cell symbols other than name matching
14501 "\\`[A-Z]+[0-9]+\\'" regexp .
14502 (ses-localvars): Add ses--renamed-cell-symb-list.
14503 (ses-create-cell-variable): New defun.
14504 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14505 (ses-relocate-formula): Relocate formulas only for cells the
14506 symbols of which are not renamed, i.e. symbols whose names do not
14507 match regexp "\\`[A-Z]+[0-9]+\\'".
14508 (ses-relocate-all): Relocate values only for cells the symbols of
14509 which are not renamed.
14510 (ses-load): Create cells variables as the (ses-cell ...) are read,
14511 in order to check row col consistency with cell symbol name only
14512 for cells that are not renamed.
14513 (ses-replace-name-in-formula): New defun.
14514 (ses-rename-cell): New defun.
14516 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14518 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14519 New option (bug#11118).
14520 (perl-calculate-indent): Respect it.
14522 2012-04-17 Glenn Morris <rgm@gnu.org>
14524 * dired-aux.el (dired-mark-read-string): Doc fix.
14526 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14528 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14529 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14531 2012-04-17 Glenn Morris <rgm@gnu.org>
14533 * mouse.el (mouse-drag-track):
14534 * speedbar.el (speedbar-frame-mode):
14535 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14537 2012-04-16 Leo Liu <sdl.web@gmail.com>
14539 * progmodes/python.el: Trivial cleanup.
14541 2012-04-16 Glenn Morris <rgm@gnu.org>
14543 * vc/vc.el (vc-string-prefix-p):
14544 * vc/pcvs-util.el (cvs-string-prefix-p):
14545 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14546 * mpc.el (mpc-string-prefix-p):
14547 Make all of these into obsolete aliases for string-prefix-p.
14549 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14551 * textmodes/two-column.el: Move custom options to the start.
14552 (frame-width): Remove compat definition.
14553 (2C-associate-buffer, 2C-dissociate):
14554 Use with-current-buffer rather than save-excursion.
14555 (2C-dissociate): Force a mode-line update.
14556 (2C-autoscroll): Use ignore-errors.
14558 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14561 * emacs-lisp/cl-extra.el (*random-state*):
14562 Remove unnecessary declaration.
14564 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14566 * play/cookie1.el (cookie-snarf):
14567 Give an explicit error if input file cannot be read.
14569 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14571 * progmodes/perl-mode.el (c-macro-expand):
14572 Remove unnecessary autoload (it is in loaddefs.el).
14574 * textmodes/picture.el (picture-desired-column)
14575 (picture-update-desired-column): Convert comments to doc-strings.
14576 (picture-substitute): Remove function.
14577 (picture-mode-map): Initialize in the defvar.
14579 * woman.el: Remove eval-after-load for tar-mode.
14580 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14581 (woman-tar-extract-file): Autoload it.
14583 * frame.el (automatic-hscrolling): Make this alias obsolete.
14585 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14587 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14588 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14589 (ispell-dictionary-base-alist): Revert to original XEmacs
14590 friendly version for default. [:alpha:] will be added in
14591 `ispell-set-spellchecker-params' if needed.
14593 2012-04-16 Chong Yidong <cyd@gnu.org>
14595 * image.el (imagemagick--file-regexp): New variable.
14596 (imagemagick-register-types): Use it.
14597 (imagemagick-types-inhibit): Add :set function. Allow new value
14598 of t to inhibit all types.
14600 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14601 so we can preload it.
14603 * loadup.el (fboundp): Preload regexp-opt, needed by
14604 imagemagick-register-types.
14606 2012-04-15 Chong Yidong <cyd@gnu.org>
14608 * frame.el (scrolling): Remove nearly unused customization group.
14610 * scroll-all.el (scroll-all-mode): Move to windows group.
14612 2012-04-15 Chong Yidong <cyd@gnu.org>
14614 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14616 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14618 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14619 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14621 2012-04-15 Glenn Morris <rgm@gnu.org>
14623 * simple.el (process-file-side-effects): Doc fix.
14625 2012-04-15 Glenn Morris <rgm@gnu.org>
14627 * international/mule-cmds.el (set-language-environment): Doc fix.
14629 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14631 * server.el (server-auth-key, server-generate-key): Doc fixes.
14632 (server-get-auth-key): Doc fix. Use `string-match-p'.
14633 (server-start): Reflow docstring.
14635 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14637 * server.el (server-generate-key): `called-interactively-p'
14638 requires a parameter.
14640 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14642 * server.el (server-auth-key): New variable.
14643 (server-generate-key, server-get-auth-key): New function.
14644 (server-start): Use the new variable and functions to allow
14645 setting a permanent server key (bug#9423).
14647 2012-04-14 Leo Liu <sdl.web@gmail.com>
14649 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14651 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14654 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14655 Emacs uses American spelling.
14657 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14659 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14660 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14661 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14662 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14664 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14666 * progmodes/which-func.el (which-func-modes): Change default.
14668 2012-04-14 Kim F. Storm <storm@cua.dk>
14670 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14671 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14673 2012-04-14 Chong Yidong <cyd@gnu.org>
14675 * custom.el (custom-theme-set-variables): Doc fix.
14677 2012-04-14 Glenn Morris <rgm@gnu.org>
14679 * international/mule.el (set-auto-coding-for-load): Doc fix.
14681 2012-04-14 Alan Mackenzie <acm@muc.de>
14683 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14684 imenu work again for Objective C Mode. Correct the *-index values,
14685 these having been disturbed by a previous change in 2011-08.
14687 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14688 Correct two search limits.
14690 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14692 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14694 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14696 * international/characters.el: Fix sorting.
14698 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14700 * international/characters.el: Add more missing Latin case pairs.
14702 2012-04-14 Glenn Morris <rgm@gnu.org>
14704 * files.el (dir-locals-set-class-variables): Doc fix.
14706 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14708 * international/characters.el: Add set-case-syntax-pair call for
14709 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14710 counterpart. (Bug#11209)
14712 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14714 2012-04-14 Glenn Morris <rgm@gnu.org>
14716 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14718 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14720 * textmodes/ispell.el (ispell-dictionary-base-alist):
14721 Add data for Hebrew.
14723 2012-04-14 Chong Yidong <cyd@gnu.org>
14725 * net/rcirc.el (rcirc-cmd-quit):
14726 Revert 2012-03-18 change (Bug#11192).
14728 2012-04-14 Glenn Morris <rgm@gnu.org>
14730 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14732 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14734 * minibuffer.el (completion-in-region-mode-map):
14735 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14737 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14739 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14741 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14743 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14744 to allow `C-M-f' and `C-M-b' to move to the nearest path
14745 separator (bug#9511).
14747 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14749 * avoid.el: Require cl when compiling. And also move the
14750 `provide' to the end.
14752 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14754 * avoid.el (mouse-avoidance-banish-position): New variable.
14755 (mouse-avoidance-banish-destination): Use it (bug#10165).
14757 2012-04-13 Leo Liu <sdl.web@gmail.com>
14759 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14761 2012-04-13 Ken Brown <kbrown@cornell.edu>
14763 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14764 this is no longer needed now that cygstart understands file:// URLs.
14765 (browse-url-filename-alist): For the same reason, don't modify
14766 file:// URLs on Cygwin.
14768 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14770 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14771 the region on shift if the binding is already shifted (bug#11221).
14773 2012-04-12 Glenn Morris <rgm@gnu.org>
14775 * mail/mailpost.el: Move to obsolete/.
14777 2012-04-12 Drew Adams <drew.adams@oracle.com>
14779 * imenu.el (imenu--generic-function): Ignore invisible definitions
14782 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14784 * hexl.el (hexl-bits): New variable.
14785 (hexl-options): Mention the variable in the doc string.
14786 (hexl-rulerise, hexl-line-displen): New functions.
14787 (hexl-mode): Mention the new variable.
14788 (hexl-mode, hexl-current-address, hexl-current-address):
14790 (hexl-ascii-start-column): New function.
14791 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14792 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14794 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14796 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14797 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14798 the encoding, as expected by hunspell.
14800 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14802 * battery.el (battery--linux-sysfs-regexp): New const.
14803 (battery-status-function): Use it. Remove yeeloong special case.
14804 (battery-yeeloong-sysfs): Remove.
14805 (battery-echo-area-format): Remove yeeloong special case.
14807 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14809 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14810 Reported by Noah Friedman.
14812 * subr.el (read-passwd): Use read-string.
14814 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14816 * vcursor.el (vcursor-move): Increase the priority of the overlay
14819 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14821 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14822 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14824 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14826 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14827 define-minor-mode (bug#10760).
14829 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14831 * progmodes/grep.el (rgrep): Tweak the find command line so
14832 that directories matching `grep-find-ignored-files' won't be
14833 pruned (bug#10351).
14835 2012-04-11 Chong Yidong <cyd@gnu.org>
14837 * startup.el (command-line): Remove support for long-obsolete
14838 variable font-lock-face-attributes.
14840 2012-04-11 Glenn Morris <rgm@gnu.org>
14842 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14844 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14846 * window.el (window--state-get-1): Obey window-point-insertion-type.
14848 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14850 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14851 to previous function when point is on the first character of a
14852 function. Take care of that in `narrow-to-defun' (bug#6157).
14854 2012-04-11 Glenn Morris <rgm@gnu.org>
14856 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14857 not just file-errors.
14859 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14860 (vc-bzr-sha1): Use internal sha1.
14862 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14864 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14866 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14868 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14869 that start in the middle of the line (bug#10496).
14871 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14873 * battery.el (battery-linux-proc-acpi): Only one battery is
14874 discharged at a time, but that seems to confuse battery.el when
14875 computing `rate-type' for the battery not being discharged
14878 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14880 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14882 * international/quail.el: Use dolist and simplify.
14883 (quail-define-package, quail-update-keyboard-layout)
14884 (quail-define-rules): Use dolist.
14885 (quail-insert-kbd-layout, quail-get-translation): CSE.
14887 * tmm.el: Use dolist, remove left over hook.
14888 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14890 (calendar-load-hook): Don't mess with it.
14892 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14893 Use derived-mode-p. Run the diff asynchronously.
14895 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14897 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14899 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14901 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14902 (list-dynamic-libraries--loaded): New function.
14903 (list-dynamic-libraries--refresh): Use it.
14905 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14907 * progmodes/python.el (python-fill-paragraph):
14908 Make python-fill-region in a multiline string work when font-lock is
14909 disabled (bug#7018).
14911 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14913 * language/european.el (cp775): Add oem/legacy (en)coding on
14914 DOS/MS Windows for the Baltic languages. There are still plenty
14915 of texts written in this encoding/codepage (bug#6519).
14917 2012-04-10 Glenn Morris <rgm@gnu.org>
14919 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14920 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14922 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14924 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14925 next-line "n" and previous-line "p" in order to make recentf more
14926 consistent with ibuffer, dired or org-mode (bug#9387).
14928 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14930 * image.el (put-image): Return the overlay created instead of the
14931 optional input string (bug#7834). Note that this may break code
14932 that is (for some reason or other) depending on `put-image'
14933 returning the string.
14935 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14937 * simple.el (zap-to-char): Allow zapping using input methods
14940 * textmodes/fill.el (fill-region): Leave point and mark where they
14941 were before filling (bug#5399).
14943 2012-04-09 Glenn Morris <rgm@gnu.org>
14945 * version.el (emacs-bzr-get-version):
14946 Handle lightweight checkouts of local branches.
14948 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14950 * international/characters.el: Recover lost case pairs. (Bug#11209)
14952 2012-04-09 Chong Yidong <cyd@gnu.org>
14954 * custom.el (custom-variable-p): Return nil for non-symbol
14955 arguments instead of signaling an error.
14956 (user-variable-p): Obsolete alias for custom-variable-p.
14958 * apropos.el (apropos-variable):
14959 * files-x.el (read-file-local-variable):
14960 * simple.el (set-variable):
14961 * woman.el (woman-mini-help):
14962 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14964 2012-04-09 Glenn Morris <rgm@gnu.org>
14966 * startup.el (normal-top-level): Don't look for leim-list.el
14967 in places where it will not be found. (Bug#910)
14969 * international/mule-cmds.el (set-default-coding-systems):
14970 * files.el (normal-mode):
14971 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14972 This function was removed with ucs-tables.el in 2008.
14974 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14976 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14977 ispell-encoding8-command to "-i", without a trailing space.
14978 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14979 separate command-line arguments, to specify the encoding, since
14980 that's how hunspell expects it.
14982 2012-04-08 Glenn Morris <rgm@gnu.org>
14984 * loadup.el: Load bindings before cus-start.
14985 This reduces somewhat the number of "rogue" settings in emacs -Q.
14987 2012-04-07 Glenn Morris <rgm@gnu.org>
14989 * version.el (emacs-bzr-get-version): New function.
14990 (emacs-bzr-version): New variable.
14991 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14992 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14994 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14996 * international/uni-bidi.el, international/uni-category.el:
14997 * international/uni-combining.el, international/uni-decimal.el:
14998 * international/uni-decomposition.el, international/uni-digit.el:
14999 * international/uni-lowercase.el, international/uni-mirrored.el:
15000 * international/uni-name.el, international/uni-numeric.el:
15001 * international/uni-titlecase.el, international/uni-uppercase.el:
15002 Update for Unicode 6.1.
15004 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15006 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15008 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15010 * window.el (shrink-window): Mention the `window-min-height'
15011 variable in the doc string.
15013 2012-04-05 Bastien Guerry <bzg@altern.org>
15015 * color.el (color-lighten-name): Fix typo.
15017 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * server.el (server--on-display-p): New function.
15020 (server--on-display-p): Use it.
15022 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15024 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15027 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15029 * comint.el (comint--common-quoted-suffix): Check string boundary
15030 before comparing (bug#11158).
15031 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15033 2012-04-04 Chong Yidong <cyd@gnu.org>
15035 * minibuffer.el (completion-extra-properties): Doc fix.
15037 * subr.el (delayed-warnings-hook): Doc fix.
15039 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15041 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15042 selection (Bug#11159).
15043 (epa-insert-keys): Inform that the default public key will be
15044 exported if no key is selected.
15046 2012-04-04 Richard Stallman <rms@gnu.org>
15048 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15050 2012-04-03 Chong Yidong <cyd@gnu.org>
15052 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15053 mail-insert-file, not its obsolete alias mail-attach-file.
15055 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15057 * notifications.el (notifications-notify): Fix docstring.
15059 2012-04-02 Glenn Morris <rgm@gnu.org>
15061 * emacs-lisp/authors.el (authors-aliases): Another addition.
15063 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15065 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15066 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15067 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15069 2012-04-01 Chong Yidong <cyd@gnu.org>
15071 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15072 Handle root directory properly.
15073 (copy-directory): Caller changed.
15075 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15076 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15078 2012-03-31 Glenn Morris <rgm@gnu.org>
15080 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15082 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15084 * calendar/calendar.el (calendar-window-list)
15085 (calendar-hide-window): Restore. (Bug#11140)
15086 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15088 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15090 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15092 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15093 Check if file is a symlink (Bug#10489).
15095 * files.el (copy-directory): Likewise.
15097 2012-03-30 Chong Yidong <cyd@gnu.org>
15099 * image.el (imagemagick-types-inhibit)
15100 (imagemagick-register-types): Doc fix.
15102 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15104 * textmodes/ispell.el (ispell-get-extended-character-mode):
15105 Disable extended-char-mode for hunspell. hunspell does not support it
15106 and treats ~word as ordinary words in pipe mode.
15108 2012-03-30 Glenn Morris <rgm@gnu.org>
15110 * tutorial.el (help-with-tutorial): Ensure local variables don't
15111 happen to make the buffer read-only. (Bug#11127)
15113 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15115 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15116 (perl-calculate-indent): Return `noindent' in strings.
15118 2012-03-28 Sam Steingold <sds@gnu.org>
15120 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15121 instead of the broken adhockery which does not prevent calendar
15122 buffers from being displayed at random after exit.
15123 (calendar-window-list, calendar-hide-window): Remove the broken
15126 2012-03-28 Glenn Morris <rgm@gnu.org>
15128 * replace.el (query-replace-map): Doc fix.
15130 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15132 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15133 contents. (Bug#11109)
15135 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15139 (avl-tree--check, avl-tree--check-node): New funs.
15141 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15143 * window.el (switch-to-visible-buffer): New option.
15144 (switch-to-prev-buffer, switch-to-next-buffer):
15145 Observe switch-to-visible-buffer. Make sure that checking for a window
15146 showing a buffer already is done on the same frame.
15148 2012-03-27 Glenn Morris <rgm@gnu.org>
15150 * startup.el (mail-host-address): Doc fix.
15152 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15154 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15155 than 197 variables.
15157 2012-03-26 Ami Fischman <ami@fischman.org>
15159 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15161 2012-03-26 Glenn Morris <rgm@gnu.org>
15163 * files.el (save-buffers-kill-emacs): Doc fix.
15165 * startup.el (normal-top-level, command-line, command-line-1):
15166 Give them doc strings.
15168 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15170 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15171 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15173 2012-03-25 Chong Yidong <cyd@gnu.org>
15175 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15176 theme if it was previously enabled before (Bug#11031).
15178 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15179 spec with custom-face-get-current-spec if its :shown-value is not
15180 determined yet (Bug#9337).
15181 (customize-create-theme, custom-theme-revert): Doc fixes.
15183 * button.el (button-at): Minor addition to docstring.
15185 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15187 * vc/vc.el (vc-merge): Fix a prompt.
15189 2012-03-24 Chong Yidong <cyd@gnu.org>
15191 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15194 * button.el (button-at): Minor addition to docstring.
15196 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15198 * newcomment.el (comment-choose-indent): No space after BOL.
15200 2012-03-22 Sam Steingold <sds@gnu.org>
15202 * window.el (switch-to-prev-buffer): Revert last patch because the
15203 bug turned out to be an advertised feature (Elisp manual 28.14).
15205 2012-03-22 Glenn Morris <rgm@gnu.org>
15207 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15208 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15210 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15212 * net/network-stream.el (network-stream-open-starttls): Make error
15213 message under Windows be less misleading.
15215 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15217 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15218 understands (bug#9942).
15220 2012-03-22 Chong Yidong <cyd@gnu.org>
15222 * simple.el (end-of-visible-line): Handle return value of
15223 next-single-property-change properly (Bug#9371).
15225 2012-03-22 Kenichi Handa <handa@m17n.org>
15227 * international/quail.el (quail-insert-kbd-layout): Fix previous
15228 change. To avoid unwanted bidi reordering, use
15229 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15231 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15233 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15234 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15235 (ruby-beginning-of-indent): Be more careful with the difference
15236 between word-boundary and symbol boundary.
15237 (ruby-mode-syntax-table): Make : a symbol constituent.
15239 2012-03-21 Andreas Politz <politza@fh-trier.de>
15241 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15243 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15245 * progmodes/etags.el (tags-completion-at-point-function):
15248 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15250 2012-03-21 Sam Steingold <sds@gnu.org>
15252 * progmodes/etags.el (tags-completion-at-point-function):
15253 Avoid the error when point is inside the pattern.
15255 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15257 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15260 2012-03-21 Drew Adams <drew.adams@oracle.com>
15262 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15264 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15266 * ido.el (ido-set-current-directory, ido-read-internal)
15267 (ido-choose-completion-string, ido-completion-help): Handle nil
15268 value of ido-completion-buffer (Bug#11008).
15270 2012-03-21 Sam Steingold <sds@gnu.org>
15272 * window.el (switch-to-prev-buffer): Do not switch to a visible
15273 window previous buffer, just like with the frame previous buffers.
15275 2012-03-21 Chong Yidong <cyd@gnu.org>
15277 * faces.el (make-face, make-empty-face, copy-face):
15278 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15281 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15283 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15284 (widget-complete): Remove broken use of it.
15286 2012-03-20 Chong Yidong <cyd@gnu.org>
15288 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15289 Use string-width and truncate-string-width to handle arbitrary
15292 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15294 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15295 to draw rectangles, not squares. (Regression introduced by revno
15296 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15298 2012-03-18 Chong Yidong <cyd@gnu.org>
15300 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15301 it is not yet defined (for temacs).
15303 2012-03-18 Leo Liu <sdl.web@gmail.com>
15305 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15308 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15310 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15311 (ispell-choices-win-default-height, ispell-silently-savep)
15312 (ispell-dictionary-alist, ispell-encoding8-command)
15313 (ispell-check-version, ispell-aspell-find-dictionary)
15314 (ispell-valid-dictionary-list, ispell-words-keyword)
15315 (ispell-get-word, ispell-internal-change-dictionary)
15316 (ispell-region, ispell-skip-region-list)
15317 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15318 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15319 (ispell-message-text-end, ispell-message)
15320 (ispell-buffer-local-parsing): Doc fix.
15322 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15324 * htmlfontify.el: Add support for code block fontification for ODT
15325 export (Bug #9914).
15326 (hfy-optimisations): Define new option
15328 (hfy-fontify-buffer): Honor above setting.
15329 (hfy-begin-span, hfy-end-span): New routines factored out form
15330 `hfy-fontify-buffer'.
15331 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15332 that permit insertion of custom tags.
15333 (hfy-fontify-buffer): Use above handlers.
15334 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15335 (hfy-face-to-css): Re-defined to be a variable.
15336 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15337 over multiple runs. This is made possible by having the caller let
15338 bind a special variable `hfy-user-sheet-assoc'.
15339 (htmlfontify-string): New defun.
15340 (hfy-compile-face-map): Make sure that the last char in the
15341 buffer is correctly fontified.
15342 (hfy-face-resolve-face): Whitespace only change.
15344 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15346 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15347 message more clear.
15349 2012-03-16 Leo Liu <sdl.web@gmail.com>
15351 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15353 2012-03-16 Alan Mackenzie <acm@muc.de>
15355 Further optimize the handling of large macros.
15357 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15358 limit to a call of `c-literal-limits'.
15359 (c-determine-+ve-limit): New function.
15360 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15361 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15362 In CASE 5B, restrict a search limit to 500.
15363 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15365 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15366 Restrict macro bounds to +-500 from after-change's BEG END.
15368 2012-03-16 Leo Liu <sdl.web@gmail.com>
15370 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15372 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15374 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15375 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15377 2012-03-16 Glenn Morris <rgm@gnu.org>
15379 * view.el (view-buffer, view-buffer-other-window)
15380 (view-buffer-other-frame): Doc fixes re special mode-class.
15382 * subr.el (eval-after-load): If named feature is provided not from
15383 a file, run after-load forms. (Bug#10946)
15385 * calendar/calendar.el (calendar-insert-at-column):
15386 Handle non-unit-width characters a bit better. (Bug#10978)
15388 2012-03-15 Chong Yidong <cyd@gnu.org>
15390 * emacs-lisp/ring.el (ring-extend): New function.
15391 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15393 * comint.el (comint-read-input-ring)
15394 (comint-add-to-input-history): Grow comint-input-ring lazily.
15396 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15398 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15399 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15401 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15402 (imenu-add-to-menubar): Don't add a redundant index.
15403 (imenu-update-menubar): Handle a dynamically composed keymap.
15405 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15407 * mail/sendmail.el (mail-encode-header):
15408 Bind rfc2047-encode-encoded-words to nil.
15410 2012-03-13 Glenn Morris <rgm@gnu.org>
15412 * calendar/calendar.el (calendar-string-spread):
15413 Handle non-unit-width characters a bit better. (Bug#10978)
15415 2012-03-13 Leo Liu <sdl.web@gmail.com>
15417 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15418 directory and file as argument (Bug#10822).
15420 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15422 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15423 For dynamically generated code, follow $PC.
15424 (gdb-disassembly-handler-custom): Handle no function name case.
15426 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15428 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15429 * emulation/ws-mode.el (ws-query-replace):
15430 * sort.el (sort-regexp-fields):
15431 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15433 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15435 * dabbrev.el: Fix cycle completion order (bug#10963).
15436 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15437 (dabbrev-completion): Don't use an obarray; provide
15438 a cycle-sort-function.
15440 2012-03-12 Leo Liu <sdl.web@gmail.com>
15442 * simple.el (kill-new): Use equal-including-properties for comparison.
15443 (kill-do-not-save-duplicates): Doc fix.
15445 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15447 * dabbrev.el: Fix cycle completion (bug#10963).
15448 Use lexical binding and wrap to 80 columns.
15449 (dabbrev-completion): Delay computing the list of completions.
15451 2012-03-12 Kenichi Handa <handa@m17n.org>
15453 * international/quail.el (quail-insert-kbd-layout): Surround each
15454 row by LRO and PDF instead of inserting many LRMs. Pad the left
15455 and right of each non-spacing marks. Insert invisible space
15456 between lower and upper characters to prevent composition.
15458 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15460 * minibuffer.el (minibuffer-complete): Don't get confused when the
15461 function is run twice via different commands (bug#10958).
15462 (complete-with-action): Fix docstring.
15464 2012-03-12 Chong Yidong <cyd@gnu.org>
15466 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15467 (nxml-completion-at-point-function): New function.
15468 (nxml-mode): Use it.
15469 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15471 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15472 Load generated autoloads file before byte compiling (Bug#10970).
15473 (package--make-autoloads-and-compile): New helper fun.
15475 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15477 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15479 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15481 * autorevert.el (auto-revert-handler): Ensure, that
15482 file-readable-p is applied only for local files or in
15483 auto-revert-tail-mode.
15485 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15487 * server.el (server-eval-at): Handle non-tcp connections.
15488 Decode result string.
15490 * server.el (server-msg-size): New constant.
15491 (server-reply-print): New function.
15492 (server-eval-and-print): Use it.
15493 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15494 Handle -print-nonl.
15496 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15498 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15501 2012-03-11 Chong Yidong <cyd@gnu.org>
15503 * simple.el (goto-line): Doc fix (Bug#9938).
15505 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15507 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15508 when finished (Bug#10963).
15510 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15512 * window.el (split-window-below): Fix bug in case where
15513 split-window-keep-point is nil (Bug#10971).
15515 2012-03-11 Juri Linkov <juri@jurta.org>
15517 * replace.el (replace-highlight): Set isearch-word to nil
15518 unconditionally. (Bug#10887)
15520 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15522 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15523 mairix-replace-illegal-chars; all callers changed. Don't remove
15524 ^, ~, and = characters: they are meaningful in mairix search specs.
15525 (mairix-widget-create-query): Add usage information about mairix
15526 search forms: negating words, searching for substrings, etc.
15528 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15530 * international/fontset.el (font-encoding-alist): Add an entry for
15531 ksx1001 (Bug#5667).
15533 2012-03-10 Richard Stallman <rms@gnu.org>
15535 * mail/sendmail.el (mail-encode-header):
15536 Set rfc2047-encode-encoded-words.
15538 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15540 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15541 view buffer means not swapped.
15542 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15543 (rmail-write-region-annotate): Error if real text has disappeared.
15545 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15547 2012-03-10 Chong Yidong <cyd@gnu.org>
15549 * emulation/cua-rect.el (cua--init-rectangles):
15550 * emulation/cua-base.el (cua--init-keymaps):
15551 Add delete-forward-char to remappings (Bug#9666).
15553 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15555 * speedbar.el (speedbar-unhighlight-one-tag-line):
15556 Avoid unhighlighting due to frame switching (Bug#10275).
15558 2012-03-10 Chong Yidong <cyd@gnu.org>
15560 * minibuffer.el (completion-in-region, completion-help-at-point):
15561 Give the completion field overlay a high priority (Bug#6830).
15563 * dired.el (dired-goto-file): Recognize absolute file name
15564 listings (Bug#7126).
15565 (dired-goto-file-1): New helper function.
15566 (dired-toggle-read-only): Inhibit warnings.
15568 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15570 * net/dbus.el (dbus-property-handler): Return empty array if
15571 there are no properties.
15573 2012-03-09 Leo Liu <sdl.web@gmail.com>
15575 * savehist.el (savehist-printable): Stricter check for string
15578 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15580 * mail/smtpmail.el (smtpmail-send-it):
15581 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15584 2012-03-09 Glenn Morris <rgm@gnu.org>
15586 * files.el (dir-locals-find-file):
15587 Don't check result is regular, readable.
15588 (dir-locals-read-from-file): Demote errors.
15590 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15592 * international/quail.el (quail-insert-kbd-layout):
15593 Insert invisible LRM characters before each character in a keyboard
15594 layout cell, to prevent their reordering by bidi display engine.
15595 For details, see the discussion in
15596 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15598 2012-03-08 Alan Mackenzie <acm@muc.de>
15600 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15601 the starting position; make it extend the marked region when
15602 invoked repeatedly - all under appropriate circumstances.
15603 Fixes bugs #5525, #10906.
15605 2012-03-08 Glenn Morris <rgm@gnu.org>
15607 * files.el (locate-dominating-file, dir-locals-find-file):
15608 Undo 2012-03-06 change.
15610 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15612 * international/quail.el (quail-help):
15613 Force bidi-paragraph-direction be left-to-right. See discussion in
15614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15617 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15619 Avoid superfluous registering of signals. (Bug#10807)
15621 * notifications.el (notifications-on-action-object)
15622 (notifications-on-close-object): New defvars.
15623 (notifications-on-action-signal, notifications-on-closed-signal):
15624 Unregister the signal if not needed any longer.
15625 (notifications-notify): Register `notifications-action-signal' or
15626 `notifications-closed-signal', if :on-action or :on-close has been
15627 passed as argument.
15629 2012-03-07 Chong Yidong <cyd@gnu.org>
15631 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15634 2012-03-06 Glenn Morris <rgm@gnu.org>
15636 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15637 (x-disown-selection-internal, x-get-selection-internal):
15638 Doc fix (add arglist signatures). (Bug#10783)
15640 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15642 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15643 Handle breakpoints with no "type".
15645 2012-03-06 Glenn Morris <rgm@gnu.org>
15647 * files.el (locate-dominating-file): Add optional predicate argument.
15648 (dir-locals-find-file): Make use of above change.
15650 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15652 * info.el (Info-insert-dir): Also try "dir.gz".
15654 2012-03-06 Glenn Morris <rgm@gnu.org>
15656 * files.el (dir-locals-find-file):
15657 Ignore non-readable or non-regular files. (Bug#10928)
15659 * files.el (locate-dominating-file): Doc fix.
15661 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15663 * calendar/calendar.el (calendar-set-mode-line):
15664 `getenv' returns a string. (Bug#10951)
15666 2012-03-05 Leo Liu <sdl.web@gmail.com>
15668 * simple.el (backward-delete-char-untabify): Constrain point to
15671 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15673 2012-03-05 Chong Yidong <cyd@gnu.org>
15675 * simple.el (count-words): If called from Lisp, return the word
15676 count, for symmetry with `count-lines'. Arglist changed.
15677 (count-words--message): Args changed. Consolidate counting code
15678 from count-words and count-words-region.
15679 (count-words-region): Caller changed.
15680 (count-lines-region): Make it an obsolete alias.
15682 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15684 * saveplace.el (save-place-to-alist)
15685 (save-place-ignore-files-regexp): Allow value nil to disable this
15688 2012-03-04 Chong Yidong <cyd@gnu.org>
15690 * faces.el (face-spec-reset-face): For the default face, reset the
15691 attributes to default values (Bug#10748).
15693 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15695 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15696 previous patch: Check `message-send-mail-function', and not the
15697 default function (bug#10897).
15699 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15701 * notifications.el (notifications-on-action-signal)
15702 (notifications-on-closed-signal): Check for unique service name of
15703 incoming event. Fix error in removing entry.
15704 (top): Register for signals with wildcard service name.
15705 (notifications-notify): Use daemon unique service name for map entries.
15707 2012-03-04 Chong Yidong <cyd@gnu.org>
15709 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15711 2012-03-04 Glenn Morris <rgm@gnu.org>
15713 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15714 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15715 (expand-abbrev, define-abbrev-table): Doc fixes.
15717 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15719 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15720 `message-default-send-mail-function' and not `send-mail-function'
15721 when doing the prompting for `sendmail-query-once' before sending
15722 in Message buffers (bug#10897).
15724 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15725 This is inconsistent with all the other stream functions, which leave
15726 the setting up to the higher levels (if so wanted) (bug#10931).
15728 2012-03-02 Alan Mackenzie <acm@muc.de>
15730 Depessimize the handling of very large macros.
15732 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15733 (c-macro-cache-syntactic): New variables to implement a one
15734 element macro cache.
15735 (c-invalidate-macro-cache): New function.
15736 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15737 Adapt to use the new cache.
15738 (c-state-safe-place): Use better the cache of safe positions.
15739 (c-state-semi-nonlit-pos-cache)
15740 (c-state-semi-nonlit-pos-cache-limit):
15741 New variables for...
15742 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15743 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15744 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15745 Use c-state-semi-safe-place.
15747 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15748 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15750 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15752 * jka-compr.el (jka-compr-call-process):
15753 Apply `file-accessible-directory-p' only when the default directory is
15756 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15758 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15759 access of FILE2, if FILE1 does not exist.
15761 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15762 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15764 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15765 Add "PAGER=" to `process-environment'.
15767 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15769 * progmodes/sql.el: Bug fix
15770 (sql-get-login-ext): Save login values in globals.
15771 (sql-get-login): Use new version of `sql-get-login-ext'.
15772 (sql-interactive-mode): Set global `sql-connection' to nil.
15773 (sql-connect): Set global values for connection.
15774 (sql-product-interactive): Save global values as buffer local.
15776 2012-02-29 Leo Liu <sdl.web@gmail.com>
15778 * abbrev.el (define-abbrevs): Reset sys to nil.
15780 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15782 * files.el (file-equal-p): Rename from `files-equal-p'.
15783 Return nil when one or both files don't exist.
15784 (file-subdir-of-p): Now only top directory must exists,
15785 return nil if it doesn't.
15786 (copy-directory): No need to test with `file-subdir-of-p' after
15788 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15791 2012-02-28 Glenn Morris <rgm@gnu.org>
15793 * shell.el (shell-mode):
15794 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15795 * play/landmark.el (landmark-font-lock-face-O):
15796 * play/handwrite.el (handwrite):
15797 * play/gomoku.el (gomoku-O):
15798 * net/browse-url.el (browse-url-browser-display):
15799 * international/mule.el (define-charset):
15800 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15801 * filesets.el (filesets-find-file-delay):
15802 * eshell/em-xtra.el (eshell-xtra):
15803 * eshell/em-unix.el (eshell-grep):
15804 * emulation/viper.el (viper-mode):
15805 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15806 * emacs-lisp/easymenu.el (easy-menu-define):
15807 * calendar/timeclock.el (timeclock-use-display-time):
15809 * bookmark.el (bookmark-save-flag):
15810 Doc fix (standardize possessive apostrophe usage).
15812 2012-02-27 Chong Yidong <cyd@gnu.org>
15814 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15815 Fix key-binding lookup for ESC key (Bug#9146).
15817 * font-lock.el (font-lock-specified-p): Rename from
15818 font-lock-spec-present. Callers changed.
15820 2012-02-27 Daniel Hackney <dan@haxney.org>
15822 * emacs-lisp/package.el (package-compute-transaction):
15823 Handle holding a package version to t in package-load-list.
15825 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15827 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15828 (tramp-get-inode, tramp-get-device): Use cached values.
15830 2012-02-26 Alan Mackenzie <acm@muc.de>
15832 Check there is a font-lock specification before doing initial
15835 * font-core.el (font-lock-mode): Move the conditional from
15836 :after-hook to font-lock-initial-fontify.
15837 (font-lock-default-function): Move the check for a specification
15838 to font-lock-spec-present.
15840 * font-lock.el (font-lock-initial-fontify): Call ...
15841 (font-lock-spec-present): New function.
15843 2012-02-26 Jim Blandy <jimb@red-bean.com>
15845 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15846 (gdb-send): Apply it to the operand of the '-interpreter-exec
15847 console' command, so that we can pass arguments with (say) quotes
15848 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15850 2012-02-26 Chong Yidong <cyd@gnu.org>
15852 * help-fns.el (describe-function-1): Clarify description of
15853 remapping (Bug#10844).
15855 * files.el (files-equal-p): Doc fix.
15856 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15857 and quit the loop once a mismatch is found.
15859 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15861 * bs.el (bs--show-with-configuration): Don't throw an error
15862 if the window cannot be split; otherwise, subsequent calls to
15863 bs-show fail, restoring a stale window config. (Bug#10882)
15865 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15867 * term/ns-win.el (global-map): Bind ns-drag-file to
15868 ns-find-file (Bug#5855, Bug#10050).
15870 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15872 * calendar/parse-time.el (parse-time-string): Allow extractor to
15875 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15877 * net/tramp.el (tramp-file-name-for-operation):
15878 Add `files-equal-p' and `file-subdir-of-p'.
15880 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15881 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15882 Add COPY-CONTENTS argument.
15884 2012-02-25 Chong Yidong <cyd@gnu.org>
15886 Add custom groups for VC backends, for consistency with vc-bzr.
15888 * vc/vc-arch.el (vc-arch):
15889 * vc/vc-cvs.el (vc-cvs):
15890 * vc/vc-git.el (vc-git):
15891 * vc/vc-hg.el (vc-hg):
15892 * vc/vc-mtn.el (vc-mtn):
15893 * vc/vc-rcs.el (vc-rcs):
15894 * vc/vc-sccs.el (vc-sccs):
15895 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15896 All relevant defcustoms reassigned.
15898 2012-02-25 Chong Yidong <cyd@gnu.org>
15900 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15902 * term/x-win.el (x-initialize-window-system): Reduce default for
15903 x-selection-timeout to 5 seconds (Bug#8869).
15905 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15907 * files.el (files-equal-p, file-subdir-of-p): New functions.
15908 (copy-directory): Error when trying to copy a directory on itself.
15909 Add missing copy-contents arg to tramp handler.
15910 * dired-aux.el (dired-copy-file-recursive): Same.
15911 (dired-create-files): Modify destination when source is equal to
15912 dest when copying files.
15913 Return also when dest is a subdir of source. (Bug#10489)
15915 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15917 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15920 2012-02-23 Alan Mackenzie <acm@muc.de>
15922 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15923 parameter "after-hook:" to allow the expansion to run code after
15924 the execution of the mode hooks.
15926 * font-lock.el (font-lock-initial-fontify): New function extracted
15927 from font-lock-mode-internal.
15929 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15932 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15934 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15935 (completion--cache-all-sorted-completions): New function.
15936 (completion-all-sorted-completions): Use it.
15937 (completion--do-completion, minibuffer-force-complete):
15938 Use it to re-instate the flush hook.
15940 * icomplete.el (icomplete-completions): Replace last fix with a better
15943 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15945 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15946 when it might call us back infinitely (bug#10797).
15948 2012-02-23 Glenn Morris <rgm@gnu.org>
15950 * minibuffer.el (completion-category-overrides): Doc fix.
15952 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15954 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15955 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15957 2012-02-23 Glenn Morris <rgm@gnu.org>
15959 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15960 (authors-obsolete-files-regexps, authors-ignored-files)
15961 (authors-ambiguous-files, authors-renamed-files-alist):
15964 2012-02-23 Juri Linkov <juri@jurta.org>
15966 * isearch.el (isearch-occur): Sync interactive spec with occur's
15967 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15969 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15971 2012-02-22 Juri Linkov <juri@jurta.org>
15973 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15974 (ucs-insert): Doc fix. Check for hex digits in the string.
15975 Don't display `nil' in the error message. (Bug#10857)
15977 2012-02-22 Alan Mackenzie <acm@muc.de>
15979 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15981 2012-02-22 Glenn Morris <rgm@gnu.org>
15983 * ffap.el (ffap-c-path):
15984 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15986 2012-02-22 Chong Yidong <cyd@gnu.org>
15988 * custom.el (load-theme): Doc fix.
15990 2012-02-22 Glenn Morris <rgm@gnu.org>
15992 * dired-x.el (dired-guess-shell-alist-default):
15993 Remove escape sequences from nroff output. (Bug#172)
15995 2012-02-21 Glenn Morris <rgm@gnu.org>
15997 * vc/emerge.el (emerge-defvar-local):
15998 Set `permanent-local' property rather than unused `preserved'.
16000 * textmodes/picture.el (picture-delete-char): New alias.
16001 (picture-mode-map): Use it. (Bug#10860)
16002 (picture-mode): Doc fix.
16004 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16006 * newcomment.el (uncomment-region-default): Remove unused binding.
16008 2012-02-21 Glenn Morris <rgm@gnu.org>
16010 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16011 (picture-self-insert, picture-tab-chars): Doc fix.
16012 (picture-mode-map): Fix C-a, C-e.
16014 2012-02-20 Glenn Morris <rgm@gnu.org>
16016 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16018 2012-02-20 Leo Liu <sdl.web@gmail.com>
16020 * icomplete.el (icomplete-completions): Check FROM arg before
16021 passing to substring (Bug#10850).
16023 2012-02-19 Chong Yidong <cyd@gnu.org>
16025 * comint.el: Require ansi-color.
16026 (comint-output-filter-functions): Add ansi-color-process-output.
16028 * ansi-color.el: Don't set comint-output-filter-functions; it is
16029 now in the initial value defined in comint.el.
16030 (ansi-color-apply-face-function): New variable.
16031 (ansi-color-apply-on-region): Use it.
16032 (ansi-color-apply-overlay-face): New function.
16034 * shell.el (shell): No need to require ansi-color.
16035 (shell-mode): Use ansi-color-apply-face-function to highlight
16036 color escapes using font-lock-face property (Bug#10835).
16038 2012-02-19 Chong Yidong <cyd@gnu.org>
16040 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16041 mode-line formats (Bug#10839).
16043 2012-02-18 Glenn Morris <rgm@gnu.org>
16045 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16047 * mail/undigest.el (unforward-rmail-message): Doc fix.
16049 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16051 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16053 * international/characters.el (script-list): Sync with the latest
16054 Unicode Character Database.
16056 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16058 * international/titdic-cnv.el: Remove duplicate coding tag.
16059 * language/cham.el: Likewise.
16060 * language/tai-viet.el: Likewise.
16062 2012-02-18 Glenn Morris <rgm@gnu.org>
16064 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16065 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16066 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16067 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16068 * calendar/holidays.el (holiday-bahai-holidays)
16069 (calendar-holidays, list-holidays):
16070 Use utf-8 Bahá'í in doc-strings, menus, etc.
16072 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16074 * saveplace.el (save-place-ignore-files-regexp): New variable
16075 allowing for excluding files from saving their location of point.
16076 The default value matches the temporary commit message editing
16077 files from Git, SVN, Bazaar, and Mercurial.
16078 (save-place-to-alist): Use it.
16080 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16081 Stefan Monnier <monnier@iro.umontreal.ca>
16083 * newcomment.el (uncomment-region-default): Don't leave extra space
16084 when an arg is provided (bug#8150).
16086 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16088 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16090 2012-02-17 Glenn Morris <rgm@gnu.org>
16092 * net/socks.el: Require network-stream. (Bug#10599)
16094 2012-02-17 Kenichi Handa <handa@m17n.org>
16096 * international/charprop.el:
16097 * international/uni-name.el:
16098 * international/uni-old-name.el:
16099 * international/uni-comment.el: Regenerate.
16101 2012-02-16 Glenn Morris <rgm@gnu.org>
16103 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16104 Interactively in calendar buffer, give an error if not on a date.
16106 2012-02-15 Glenn Morris <rgm@gnu.org>
16108 * shell.el (shell-delimiter-argument-list):
16109 Revert 2011-02-17 change. (Bug#8027)
16111 2012-02-15 Chong Yidong <cyd@gnu.org>
16113 * minibuffer.el (completion-at-point-functions): Doc fix.
16115 * custom.el (defcustom): Doc fix; note use of defvar.
16117 2012-02-15 Glenn Morris <rgm@gnu.org>
16119 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16122 2012-02-14 Glenn Morris <rgm@gnu.org>
16124 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16126 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16128 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16129 way the ports list is computed.
16130 (smtpmail-query-smtp-server): Prompt the user for a port number if
16131 we can't connect to any of the standard ports (bug#10810).
16133 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16135 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16137 2012-02-13 Glenn Morris <rgm@gnu.org>
16139 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16141 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16143 * net/gnutls.el (gnutls-trustfiles): New variable.
16144 (gnutls-negotiate): Use it.
16146 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16148 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16149 does its stuff if Gnus is running.
16151 2012-02-13 Alan Mackenzie <acm@muc.de>
16153 Fix a loop in c-set-fl-decl-start.
16155 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16156 c-backward-syntactic-ws actually moves backwards.
16158 2012-02-13 Leo Liu <sdl.web@gmail.com>
16160 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16161 beginning so that all \C-o chars are removed.
16163 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16165 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16167 2012-02-12 Alan Mackenzie <acm@muc.de>
16169 Fix infinite loop with long macros.
16170 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16172 2012-02-12 Chong Yidong <cyd@gnu.org>
16174 * window.el (display-buffer): Doc fix (Bug#10785).
16176 2012-02-12 Glenn Morris <rgm@gnu.org>
16178 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16179 (x-disown-selection-internal, x-get-selection-internal):
16180 Sync docs with the xselect.c versions.
16182 * allout-widgets.el: Add missing license notice.
16184 2012-02-11 Glenn Morris <rgm@gnu.org>
16186 * select.el (x-get-selection-internal, x-own-selection-internal)
16187 (x-disown-selection-internal):
16188 * x-dnd.el (x-get-selection-internal): Update declarations.
16190 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16192 * window.el (window-sides-slots):
16193 * tool-bar.el (tool-bar-position):
16194 * term/xterm.el (xterm-extra-capabilities):
16195 * ses.el (ses-self-reference-early-detection):
16196 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16197 (verilog-auto-wire-type)
16198 (verilog-auto-delete-trailing-whitespace)
16199 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16200 (verilog-auto-tieoff-declaration):
16201 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16202 (sql-oracle-statement-starters, sql-oracle-scan-on):
16203 * progmodes/prolog.el (prolog-align-comments-flag)
16204 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16205 (prolog-left-indent-regexp, prolog-paren-indent-p)
16206 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16207 (prolog-types, prolog-mode-specificators)
16208 (prolog-determinism-specificators, prolog-directives)
16209 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16210 (prolog-electric-dot-flag)
16211 (prolog-electric-dot-full-predicate-template)
16212 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16213 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16214 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16215 (prolog-program-switches, prolog-prompt-regexp)
16216 (prolog-debug-on-string, prolog-debug-off-string)
16217 (prolog-trace-on-string, prolog-trace-off-string)
16218 (prolog-zip-on-string, prolog-zip-off-string)
16219 (prolog-use-standard-consult-compile-method-flag)
16220 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16221 (prolog-imenu-max-lines, prolog-info-predicate-index)
16222 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16223 (prolog-char-quote-workaround):
16224 * progmodes/cc-vars.el (c-defun-tactic):
16225 * net/tramp.el (tramp-encoding-command-interactive)
16226 (tramp-local-end-of-line):
16227 * net/soap-client.el (soap-client):
16228 * net/netrc.el (netrc-file):
16229 * net/gnutls.el (gnutls):
16230 * minibuffer.el (completion-category-overrides)
16231 (completion-cycle-threshold)
16232 (completion-pcm-complete-word-inserts-delimiters):
16233 * man.el (Man-name-local-regexp):
16234 * mail/feedmail.el (feedmail-display-full-frame):
16235 * international/characters.el (glyphless-char-display-control):
16236 * eshell/em-ls.el (eshell-ls-date-format):
16237 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16238 (lisp-lambda-list-keyword-parameter-indentation)
16239 (lisp-lambda-list-keyword-parameter-alignment):
16240 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16241 * dired-x.el (dired-omit-verbose):
16242 * cus-theme.el (custom-theme-allow-multiple-selections):
16243 * calc/calc.el (calc-highlight-selections-with-faces)
16244 (calc-lu-field-reference, calc-lu-power-reference)
16245 (calc-note-threshold):
16246 * battery.el (battery-mode-line-limit):
16247 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16248 (archive-7z-update):
16249 * allout.el (allout-prefixed-keybindings)
16250 (allout-unprefixed-keybindings)
16251 (allout-inhibit-auto-fill-on-headline)
16252 (allout-flattened-numbering-abbreviation):
16253 * allout-widgets.el (allout-widgets-auto-activation)
16254 (allout-widgets-icons-dark-subdir)
16255 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16256 (allout-widgets-theme-dark-background)
16257 (allout-widgets-theme-light-background)
16258 (allout-widgets-item-image-properties-emacs)
16259 (allout-widgets-item-image-properties-xemacs)
16260 (allout-widgets-run-unit-tests-on-load)
16261 (allout-widgets-time-decoration-activity)
16262 (allout-widgets-hook-error-post-time)
16263 (allout-widgets-track-decoration):
16264 Add missing :version tags to new defcustoms and defgroups.
16266 * progmodes/sql.el (sql-ansi-statement-starters)
16267 (sql-oracle-statement-starters): Add custom type.
16269 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16270 (prolog-system-version): Give it a type.
16272 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16274 * term/pc-win.el (x-select-text, x-selection-owner-p)
16275 (x-own-selection-internal, x-disown-selection-internal)
16276 (x-get-selection-internal): Sync doc strings and argument lists
16277 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16279 2012-02-11 Leo Liu <sdl.web@gmail.com>
16281 * progmodes/python.el (python-end-of-statement): Fix infinite
16284 2012-02-10 Glenn Morris <rgm@gnu.org>
16286 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16287 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16289 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16291 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16292 about SMTP before checking the From header.
16294 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16295 into own function for reuse by emacsbug.el.
16297 2012-02-10 Leo Liu <sdl.web@gmail.com>
16299 * subr.el (condition-case-unless-debug): Rename from
16300 condition-case-no-debug. All callers changed.
16301 (with-demoted-errors): Fix caller.
16303 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16304 * nxml/rng-valid.el (rng-do-some-validation):
16305 * emacs-lisp/package.el (package-refresh-contents)
16306 (package-menu-execute):
16307 * desktop.el (desktop-create-buffer):
16308 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16310 2012-02-10 Glenn Morris <rgm@gnu.org>
16312 * textmodes/bibtex.el:
16313 Add missing :version tags for new/changed defcustoms.
16315 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16317 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16319 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16320 (smtpmail-via-smtp): Use it, or fall back on the From address.
16321 (smtpmail-send-it): Ditto.
16323 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16325 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16326 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16327 (byte-compile-tmp-var): New const.
16328 (byte-compile-defvar): Use it to minimize .elc size.
16329 Just use `defvar' rather than simulate it (bug#10761).
16331 2012-02-09 Glenn Morris <rgm@gnu.org>
16333 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16335 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16338 * progmodes/compile.el (compilation-error-screen-columns)
16339 (compilation-first-column, compilation-filter-start): Doc fixes.
16341 * vc/log-view.el (log-view-toggle-entry-display):
16342 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16344 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16345 (report-emacs-bug-can-use-xdg-email):
16346 (report-emacs-bug-insert-to-mailer): Doc fixes.
16347 (report-emacs-bug): Message fix.
16349 * net/browse-url.el (browse-url-can-use-xdg-open)
16350 (browse-url-xdg-open): Doc fixes.
16352 * electric.el (electric-indent-mode, electric-pair-mode)
16353 (electric-layout-rules, electric-layout-mode): Doc fixes.
16354 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16356 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16358 * server.el (server-unselect-display): Don't inadvertently kill
16359 the current buffer. (Bug#10729)
16361 2012-02-08 Glenn Morris <rgm@gnu.org>
16363 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16364 (sql-list-table): Doc fixes.
16366 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16367 Comment out (does nothing).
16369 * completion.el (dynamic-completion-mode):
16370 * dirtrack.el (dirtrack-debug-mode):
16371 * electric.el (electric-layout-mode):
16372 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16373 * face-remap.el (text-scale-mode, buffer-face-mode):
16374 * iimage.el (iimage-mode):
16375 * image-mode.el (image-transform-mode):
16376 * minibuffer.el (completion-in-region-mode):
16377 * scroll-lock.el (scroll-lock-mode):
16378 * simple.el (next-error-follow-minor-mode):
16379 * tar-mode.el (tar-subfile-mode):
16380 * tooltip.el (tooltip-mode):
16381 * vcursor.el (vcursor-use-vcursor-map):
16382 * wid-browse.el (widget-minor-mode):
16383 * emulation/tpu-edt.el (tpu-edt-mode):
16384 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16385 * international/iso-ascii.el (iso-ascii-mode):
16386 * language/thai-util.el (thai-word-mode):
16387 * mail/supercite.el (sc-minor-mode):
16388 * net/goto-addr.el (goto-address-mode):
16389 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16390 * progmodes/cwarn.el (cwarn-mode):
16391 * progmodes/flymake.el (flymake-mode):
16392 * progmodes/glasses.el (glasses-mode):
16393 * progmodes/hideshow.el (hs-minor-mode):
16394 * progmodes/pascal.el (pascal-outline-mode):
16395 * textmodes/enriched.el (enriched-mode):
16396 * vc/smerge-mode.el (smerge-mode):
16397 Doc fixes (minor mode argument).
16399 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16401 * ls-lisp.el (ls-lisp-sanitize): New function.
16402 (ls-lisp-insert-directory): Use it to fix or remove any elements
16403 in file-alist with missing attributes. (Bug#4673)
16405 2012-02-07 Alan Mackenzie <acm@muc.de>
16407 Fix spurious recognition of c-in-knr-argdecl.
16409 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16410 putative K&R region.
16412 2012-02-07 Alan Mackenzie <acm@muc.de>
16414 * progmodes/cc-engine.el (c-forward-objc-directive):
16415 Prevent looping in "#pragma mark @implementation".
16417 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16419 * notifications.el (notifications-on-closed-signal): Make `reason'
16420 optional. (Bug#10744)
16422 2012-02-07 Glenn Morris <rgm@gnu.org>
16424 * emacs-lisp/easy-mmode.el (define-minor-mode):
16425 Doc fixes for the macro and the mode it defines.
16427 * image.el (imagemagick-types-inhibit): Doc fix.
16429 * cus-start.el (imagemagick-render-type): Add it.
16431 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16433 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16434 Set the default at load time, too, so that `font-lock-fontify-buffer'
16435 can be called without setting up the entire mode first. This fixes
16436 a bug in `mm-inline-text' with C MIME parts.
16438 2012-02-06 Chong Yidong <cyd@gnu.org>
16440 * simple.el (list-processes--refresh): Delete exited processes
16443 * comint.el (comint-next-prompt): next-single-char-property-change
16444 and prev-single-char-property-change never return nil (Bug#8657).
16446 * custom.el (defcustom): Doc fix (Bug#9711).
16448 2012-02-05 Chong Yidong <cyd@gnu.org>
16450 * cus-edit.el (custom-variable-reset-backup): Quote the value
16451 before storing it in the customized-value property (Bug#6712).
16452 (custom-display): Add a customization type tag.
16453 (custom-buffer-create-internal): Improve tooltip message.
16455 * wid-edit.el (widget-field-value-get): New optional arg to
16456 suppress trailing whitespace truncation.
16457 (character): Use it (Bug#2689).
16459 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16461 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16462 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16464 2012-02-05 Chong Yidong <cyd@gnu.org>
16466 * cus-edit.el (custom-variable-value-create): For mismatched
16467 types, show the current value (Bug#7600).
16469 * custom.el (defcustom): Doc fix.
16471 2012-02-05 Glenn Morris <rgm@gnu.org>
16473 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16475 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16477 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16478 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16479 (pp-last-sexp): Use `looking-at-p'.
16481 2012-02-04 Glenn Morris <rgm@gnu.org>
16483 * files.el (revert-buffer):
16484 Doc fix (mention revert-buffer-in-progress-p).
16486 * emacs-lisp/ert-x.el (ert-simulate-command):
16487 Check deferred-action-list (which is obsolete) is bound.
16489 * subr.el (with-wrapper-hook): Doc fixes.
16491 * simple.el (filter-buffer-substring-functions)
16492 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16494 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16496 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16497 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16499 2012-02-04 Leo Liu <sdl.web@gmail.com>
16501 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16503 2012-02-04 Glenn Morris <rgm@gnu.org>
16505 * image.el (image-extension-data): Add obsolete alias.
16507 * isearch.el (isearch-update): Doc fix.
16509 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16511 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16513 2012-02-03 Glenn Morris <rgm@gnu.org>
16515 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16516 (image-animate-timeout): Doc fix.
16518 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16520 2012-02-02 Glenn Morris <rgm@gnu.org>
16522 * server.el (server-auth-dir): Doc fix.
16523 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16525 * subr.el (run-mode-hooks): Doc fix.
16527 2012-02-02 Juri Linkov <juri@jurta.org>
16529 * image-mode.el (image-toggle-display-image): Remove tautological
16530 `major-mode' from the `derived-mode-p' test.
16532 2012-02-02 Kenichi Handa <handa@m17n.org>
16534 * composite.el (compose-region): Cancel previous change.
16536 2012-02-02 Kenichi Handa <handa@m17n.org>
16538 * composite.el (compose-region, compose-string): Signal error for
16539 a null string component (Bug#6988).
16541 2012-02-01 Chong Yidong <cyd@gnu.org>
16543 * view.el (view-buffer-other-window, view-buffer-other-frame):
16544 Handle special modes like view-buffer (Bug#10650).
16545 (view-buffer): Simplify.
16547 * frame.el (set-frame-font): Tweak meaning of third argument.
16549 * dynamic-setting.el (font-setting-change-default-font):
16550 Use set-frame-font (Bug#9982).
16552 2012-02-01 Glenn Morris <rgm@gnu.org>
16554 * progmodes/compile.el (compilation-internal-error-properties):
16555 Respect compilation-first-column in the "*compilation*" buffer.
16557 * emacs-lisp/easy-mmode.el (define-minor-mode):
16558 Relax :variable's test for a named function.
16560 2012-01-31 Alan Mackenzie <acm@muc.de>
16562 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16565 2012-01-31 Chong Yidong <cyd@gnu.org>
16567 * frame.el (set-frame-font): New arg ALL-FRAMES.
16569 * menu-bar.el (menu-set-font): Use set-frame-font.
16571 * faces.el (face-spec-reset-face): Don't apply unspecified
16572 attribute values to the default face.
16574 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16576 * progmodes/cwarn.el (cwarn): Remove dead link.
16577 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16578 Remove * from defcustom docstrings.
16579 (turn-on-cwarn-mode): Make obsolete.
16580 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16581 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16583 2012-01-31 Glenn Morris <rgm@gnu.org>
16585 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16586 Fix :variable handling of mode a symbol not equal to modefun.
16587 Allow named functions to be used as the cdr of :variable.
16589 2012-01-30 Glenn Morris <rgm@gnu.org>
16591 * emacs-lisp/authors.el (authors-fixed-entries):
16592 Remove reference to deleted file rnewspost.el.
16594 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16596 * window.el (window-with-parameter): Remove unused variable `windows'.
16597 (window--side-check): Remove unused variable `code'.
16598 (window--resize-siblings): Remove unused variable `first'.
16599 (adjust-window-trailing-edge): Remove unused variable `failed'.
16600 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16601 Use `let', not `let*'.
16602 (balance-windows-2): Remove unused variable `found'.
16603 (window--state-put-2): Remove unused variable `splits'.
16604 (window-state-put): Remove unused variable `selected'.
16605 (same-window-p): Use `string-match-p'.
16606 (display-buffer-assq-regexp): Remove unused variable `value'.
16607 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16608 Mark argument ALIST as ignored.
16609 (pop-to-buffer): Remove unused variable `old-window'.
16611 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16613 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16614 and .lzma compressed files.
16616 2012-01-29 Chong Yidong <cyd@gnu.org>
16618 * frame.el (window-system-default-frame-alist): Doc fix.
16620 * dynamic-setting.el (font-setting-change-default-font): Don't
16621 change the default face if SET-FONT argument is non-nil (Bug#9982).
16623 2012-01-29 Samuel Bronson <naesten@gmail.com>
16625 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16627 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16629 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16630 breakpoints in files outside current directory (Bug#6098).
16632 2012-01-29 Chong Yidong <cyd@gnu.org>
16634 * progmodes/python.el: Require ansi-color at top-level.
16636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16637 Define and use in Emacs Lisp mode (Bug#9360).
16638 (lisp-mode-abbrev-table): Add doc.
16639 (lisp-mode-variables): Don't set local-abbrev-table.
16640 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16642 2012-01-28 Roland Winkler <winkler@gnu.org>
16644 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16646 2012-01-28 Roland Winkler <winkler@gnu.org>
16648 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16649 (bibtex-set-dialect): Use it. Either set global values of
16650 dialect-dependent variables or bind these variables buffer-locally
16652 (bibtex-mode): Call bibtex-set-dialect via
16653 hack-local-variables-hook.
16654 (bibtex-dialect): Update docstring.
16655 Add safe-local-variable predicate.
16656 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16657 bibtex-set-dialect.
16658 (bibtex-mode-map): Define menu for each dialect.
16659 (bibtex-entry): Fix docstring.
16661 2012-01-28 Chong Yidong <cyd@gnu.org>
16663 * eshell/esh-arg.el (eshell-quote-argument): New function.
16665 * eshell/esh-ext.el (eshell-invoke-batch-file):
16666 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16667 first arg to eshell-parse-command (Bug#10523).
16669 2012-01-28 Drew Adams <drew.adams@oracle.com>
16671 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16672 `default-directory' is non-nil.
16674 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16676 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16677 line that displays system-configuration-options. (Bug#9924)
16679 2012-01-28 Drew Adams <drew.adams@oracle.com>
16681 * descr-text.el (describe-char): Show information about POS, in
16682 addition to information about the character at POS. Improve and
16683 update the doc string. Change "code point" to "code point in
16684 charset", to avoid confusion with the character's Unicode code
16685 point shown above that. (Bug#10129)
16687 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16689 * descr-text.el (describe-char): Show the raw character, not only
16690 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16691 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16694 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16696 * emacs-lisp/package.el (package-install):
16697 Run package-refresh-contents if there is no archive yet (Bug#9798).
16699 2012-01-28 Chong Yidong <cyd@gnu.org>
16701 * emacs-lisp/package.el (package-maybe-load-descriptor):
16702 New function, split from package-maybe-load-descriptor.
16703 (package-maybe-load-descriptor): Use it.
16704 (package-download-transaction): Fully load required packages
16705 inside the loop, so that `require' calls work (Bug#10593).
16706 (package-install): No need to call package-initialize now.
16708 2012-01-28 Chong Yidong <cyd@gnu.org>
16710 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16712 * tooltip.el (tooltip-mode): Doc fix.
16713 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16715 * frame.el (set-cursor-color): Doc fix (Bug#352).
16717 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16718 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16720 * cus-edit.el (custom-buffer-create-internal): Fix search button
16721 action (Bug#10542).
16722 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16724 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16726 * dired.el (dired-mark-files-regexp):
16727 Include any subdirectory components. (Bug#10445)
16729 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16731 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16732 Handle [host]:port syntax. (Bug#10533)
16734 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16736 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16738 2012-01-26 Glenn Morris <rgm@gnu.org>
16740 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16741 * term.el (term-raw-escape-map): Use Control-X-prefix.
16742 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16744 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16746 * window.el (window-state-get, window--state-get-1): Don't deal
16747 with fixed-sizeness of windows. Simplify code.
16749 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16751 * window.el (window--state-get-1, window--state-put-2):
16752 Don't save and restore the mark.
16754 2012-01-25 Chong Yidong <cyd@gnu.org>
16756 * custom.el (custom-variable-p): Doc fix.
16758 2012-01-25 Glenn Morris <rgm@gnu.org>
16760 * dired.el (dired-goto-file): Handle some of the more common
16761 characters that `ls -b' escapes. (Bug#10596)
16763 * progmodes/compile.el (compilation-next-error-function):
16764 Respect compilation-first-column in the "*compilation*" buffer.
16765 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16767 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16769 2012-01-24 Glenn Morris <rgm@gnu.org>
16771 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16773 2012-01-24 Julien Danjou <julien@danjou.info>
16775 * color.el (color-rgb-to-hsl): Fix value computing.
16776 (color-hue-to-rgb): New function.
16777 (color-hsl-to-rgb): New function.
16778 (color-clamp, color-saturate-hsl, color-saturate-name)
16779 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16780 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16782 2012-01-24 Glenn Morris <rgm@gnu.org>
16784 * vc/vc-rcs.el (vc-rcs-create-tag):
16785 * vc/vc-sccs.el (vc-sccs-create-tag):
16786 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16788 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16790 * eshell/esh-util.el (eshell-read-hosts-file):
16791 Skip comment lines. (Bug#10549)
16793 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16795 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16797 * subr.el (display-delayed-warnings): Doc fix.
16798 (collapse-delayed-warnings): New function to collapse identical
16800 (delayed-warnings-hook): Add it.
16802 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16804 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16806 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16807 (tramp-default-user-alist): Don't add "pscp".
16808 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16809 property "login-as", if set. (Bug#10530)
16811 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16813 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16814 "plink1" and "psftp". (Bug#10530)
16816 2012-01-21 Kenichi Handa <handa@m17n.org>
16818 * international/mule-cmds.el (prefer-coding-system): Show a
16819 warning message if the default value of file-name-coding-system
16822 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16824 * windmove.el (windmove-reference-loc):
16825 Fix windmove-reference-loc miscalculation.
16827 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16829 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16832 2012-01-21 Glenn Morris <rgm@gnu.org>
16834 * international/mule.el (auto-coding-alist): Add .tbz.
16836 * files.el (local-enable-local-variables): Doc fix.
16837 (inhibit-local-variables-regexps): Rename from
16838 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16839 Doc fix. Add some extensions from auto-coding-alist.
16840 (inhibit-local-variables-suffixes):
16841 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16842 (inhibit-local-variables-p):
16843 New function, extracted from set-auto-mode-1.
16844 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16845 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16846 (hack-local-variables): Doc fix. Make the mode-only case
16847 respect enable-local-variables and friends.
16848 Respect inhibit-local-variables-regexps for file-locals, but
16849 not for directory-locals.
16850 (set-visited-file-name):
16851 Take account of inhibit-local-variables-regexps.
16852 Whether it applies may change as the file name is changed.
16853 * jka-cmpr-hook.el (jka-compr-install):
16854 * jka-compr.el (jka-compr-uninstall):
16855 Update for inhibit-first-line-modes-suffixes name change.
16857 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16859 * help-macro.el (make-help-screen): Temporarily restore original
16860 binding for minor-mode-map-alist (Bug#10454).
16862 2012-01-19 Julien Danjou <julien@danjou.info>
16864 * color.el (color-name-to-rgb): Use the white color to find the max
16865 color component value and return correctly computed values.
16866 (color-name-to-rgb): Add missing float conversion for max value.
16868 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16870 * window.el (window--state-get-1, window-state-get): Do not use
16871 special state value for window-persistent-parameters.
16872 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16873 (window--state-put-2): Reset all window parameters to nil before
16874 assigning values of persistent parameters.
16876 2012-01-18 Alan Mackenzie <acm@muc.de>
16878 Eliminate sluggishness and hangs in fontification of "semicolon
16881 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16882 Change value 10000 -> 3000.
16883 (c-state-safe-place): Reformulate so it doesn't stack up an
16884 infinite number of wrong entries in c-state-nonlit-pos-cache.
16885 (c-determine-limit-get-base, c-determine-limit): New functions to
16886 determine backward search limits disregarding literals.
16887 (c-find-decl-spots): Amend commenting.
16888 (c-cheap-inside-bracelist-p): New function which detects "={".
16890 * progmodes/cc-fonts.el
16891 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16893 (c-font-lock-declarations): Fix an occurrence of point being
16894 undefined. Check additionally for point being in a bracelist or
16895 near a macro invocation without a semicolon so as to avoid a
16896 fruitless time consuming search for a declarator. Give a more
16897 precise search limit for declarators using the new
16900 2012-01-18 Glenn Morris <rgm@gnu.org>
16902 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16903 (set-auto-mode): Doc fixes.
16905 2012-01-17 Glenn Morris <rgm@gnu.org>
16907 * isearch.el (search-nonincremental-instead): Fix doc typo.
16909 * dired.el (dired-insert-directory): Handle newlines in directory name.
16910 (dired-build-subdir-alist): Unescape newlines in directory name.
16912 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16914 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16915 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16916 (tramp-action-terminal): Use it. (Bug#10530)
16918 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16922 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16924 * window.el (window-state-ignored-parameters): Remove variable.
16925 (window--state-get-1): Rename argument MARKERS to IGNORE.
16926 Handle persistent window parameters. Make copy of clone-of
16927 parameter only if requested. (Bug#10348)
16928 (window--state-put-2): Install a window parameter only if it has
16929 a non-nil value or an existing parameter shall be overwritten.
16931 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16933 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16935 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16937 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16938 don't pass the (nil) value of `upnode' to string-match.
16940 2012-01-14 Chong Yidong <cyd@gnu.org>
16942 * startup.el (command-line): Fix X resource class for cursorColor.
16943 Fix values recognized by the cursorBlink resource.
16945 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16947 * epg.el (epg--make-temp-file): Avoid permission race condition
16948 when running on old Emacs versions (bug#10403).
16950 2012-01-14 Glenn Morris <rgm@gnu.org>
16952 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16954 2012-01-13 Alan Mackenzie <acm@muc.de>
16956 Fix filling for when filladapt mode is enabled.
16958 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16959 c-mask-paragraph, pass in `fill-paragraph' rather than
16960 `fill-region-as-paragraph'. (This is a reversion of a previous
16962 * progmodes/cc-mode.el (c-basic-common-init):
16963 Make fill-paragraph-handle-comment buffer local and set it to nil.
16965 2012-01-13 Glenn Morris <rgm@gnu.org>
16967 * dired.el (dired-switches-escape-p): New function.
16968 (dired-insert-directory): Use dired-switches-escape-p.
16969 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16971 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16973 2012-01-12 Glenn Morris <rgm@gnu.org>
16975 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16976 changes in adaptive-fill-regexp. (Bug#10276)
16978 2012-01-11 Alan Mackenzie <acm@muc.de>
16980 Fix Emacs bug #10463 - put `widen's around the critical spots.
16982 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16983 widen around each invocation of c-state-pp-to-literal. Remove an
16984 unused let variable.
16986 2012-01-11 Glenn Morris <rgm@gnu.org>
16988 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16991 2012-01-10 Chong Yidong <cyd@gnu.org>
16993 * net/network-stream.el (network-stream-open-starttls):
16994 Avoid emitting a confusing error message when the server gives a bad
16995 response to the capability command.
16997 2012-01-10 Glenn Morris <rgm@gnu.org>
16999 * mail/unrmail.el (unrmail): Tweak previous change.
17001 2012-01-09 Chong Yidong <cyd@gnu.org>
17003 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17005 2012-01-08 Alan Mackenzie <acm@muc.de>
17007 Optimize font locking in long enum definitions.
17009 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17010 arm to a cond form to handle enums.
17011 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17012 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17014 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17016 * files.el (move-file-to-trash): Preserve default file modes on error.
17019 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17021 * faces.el (set-face-attribute): Clarify the meaning of the nil
17024 * subr.el (with-selected-frame): Mention that the selected frame
17025 is restored (bug#9980).
17027 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17030 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17031 (password-read): Don't autoload unused function.
17033 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17035 * progmodes/which-func.el (which-func-mode): Turn into a
17036 non-interactive function and mark as obsolete (bug#10428).
17038 2012-01-06 Chong Yidong <cyd@gnu.org>
17040 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17041 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17042 functions, along with 1 and -1.
17044 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17046 * time.el (display-time-load-average)
17047 (display-time-default-load-average): Doc fixes. See the thread
17049 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17052 2012-01-06 Glenn Morris <rgm@gnu.org>
17054 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17055 has no messages. (Bug#10377)
17057 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17058 than Info-edit. (Bug#10385)
17060 * time.el (display-time-load-average, display-time-next-load-average):
17063 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17064 local setting of buffer-read-only to the input buffer. (Bug#10419)
17066 * calendar/calendar.el (calendar-mode):
17067 Locally set scroll-margin to 0. (Bug#10379)
17069 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17071 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17073 2012-01-05 Glenn Morris <rgm@gnu.org>
17075 * eshell/em-unix.el (diff-no-select): Autoload it.
17076 (eshell/diff): Use diff-no-select. (Bug#10420)
17078 2012-01-05 Chong Yidong <cyd@gnu.org>
17080 * shell.el (shell-dynamic-complete-functions): Revert last change.
17081 (shell-command-completion-function): New function.
17082 (shell-completion-vars): Use it to implement
17083 shell-completion-execonly (Bug#10417).
17085 * custom.el (enable-theme): Don't set custom-safe-themes.
17087 * cus-theme.el (custom-theme-merge-theme):
17088 Ignore custom-enabled-themes and custom-safe-themes.
17090 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17092 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17093 first prompt in `sql-interacive-mode'.
17094 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17096 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17097 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17098 context of original buffer. Invoke `sql-login-hook'.
17100 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17102 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17103 letters in cite-prefix.
17105 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17107 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17109 2012-01-03 Chong Yidong <cyd@gnu.org>
17111 * shell.el (shell-dynamic-complete-functions):
17112 Put pcomplete-completions-at-point, so as to try
17113 comint-filename-completion first (Bug#10417).
17115 2012-01-02 Richard Stallman <rms@gnu.org>
17117 * battery.el (battery-status-function):
17118 Detect when to use battery-yeeloong-sysfs.
17119 (battery-echo-area-format): Add string for Yeeloong.
17120 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17121 (battery-yeeloong-sysfs): New function.
17123 2012-01-02 Chong Yidong <cyd@gnu.org>
17125 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17126 (dirtrack): Merge code for handling relative filenames in prompt
17127 from shell-dir-cookie-watcher.
17128 (dirtrack-debug-message): New arg to avoid excess format calls.
17130 * shell.el (shell-dir-cookie-re): Variable deleted.
17131 (shell-dir-cookie-watcher): Function deleted.
17132 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17133 with dirtrack-mode.
17135 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17137 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17138 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17141 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17143 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17145 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17147 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17148 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17150 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17152 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17153 also for alternative shells.
17154 (tramp-open-connection-setup-interactive-shell): Check, whether
17155 the shell is a busybox.
17156 (tramp-send-command): Don't suppress multiple prompts for
17157 busyboxes, it hurts.
17159 2011-12-28 Chong Yidong <cyd@gnu.org>
17161 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17162 (gdb-get-source-file): Move mode line update to
17163 gdb-get-source-file (Bug#10087).
17165 2011-12-25 Chong Yidong <cyd@gnu.org>
17167 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17168 gud-gdb-marker-filter without taking it as an argument.
17169 (gud-gdb-run-command-fetch-lines): Caller changed.
17170 (gud-gdb-completion-function): New variable.
17171 (gud-gdb-completion-at-point): Use it.
17172 (gud-gdb-completions-1): Split from gud-gdb-completions.
17174 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17175 function as separate arguments.
17176 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17177 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17178 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17179 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17180 (gdb-stopped, def-gdb-auto-update-trigger)
17181 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17182 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17184 (gud-gdbmi-completions): New function.
17185 (gdb): Use it for generating the completion table.
17187 2011-12-24 Alan Mackenzie <acm@muc.de>
17189 Introduce a mechanism to widen the region used in context font
17190 locking. Use this to protect declarations from losing their contexts.
17192 * progmodes/cc-langs.el (c-before-font-lock-functions):
17193 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17194 (c-before-context-fontification-functions): New defvar, a list of
17195 functions to be run just before context (etc.) font locking.
17197 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17198 New, functionality extracted from
17199 c-neutralize-syntax-in-and-mark-CPP.
17200 (c-in-after-change-fontification): New variable.
17201 (c-after-change): Set c-in-after-change-fontification.
17202 (c-set-fl-decl-start): Rejig its interface, so it can be called
17203 from both after-change and context fontifying.
17204 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17206 (c-standard-font-lock-fontify-region-function): New variable.
17207 (c-font-lock-fontify-region): New function.
17209 2011-12-24 Juri Linkov <juri@jurta.org>
17211 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17214 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17216 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17217 existence of source file. (Bug#10325)
17219 2011-12-23 Alan Mackenzie <acm@muc.de>
17221 Fix unstable fontification inside templates.
17223 * progmodes/cc-langs.el (c-before-font-lock-functions):
17224 Newly created from the singular version. The (c c++ objc) entry now
17225 additionally has c-set-fl-decl-start. The other languages (apart
17226 from AWK) have that as a single entry.
17228 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17229 The functionality for "local" declarations has been extracted to
17230 c-set-fl-decl-start.
17232 * progmodes/cc-mode.el (c-common-init, c-after-change):
17233 Changes due to pluralisation of c-before-font-lock-functions.
17234 (c-set-fl-decl-start): New function, extracted from
17235 c-font-lock-enclosing-decls and enhanced.
17237 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17239 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17241 2011-12-22 Juri Linkov <juri@jurta.org>
17243 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17245 2011-12-22 Chong Yidong <cyd@gnu.org>
17247 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17249 2011-12-21 Drew Adams <drew.adams@oracle.com>
17251 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17253 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17255 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17257 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17259 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17260 highlighting and support. Fix up comments for capitalization.
17261 (cfengine-mode-debug): New var.
17262 (cfengine3-mode): Change the modeline indicator to "CFE3".
17263 (cfengine3-font-lock-keywords): Improve defun highlighting.
17264 (cfengine2-actions): Rename from `cfengine-actions'.
17265 (cfengine2-font-lock-keywords): Rename from
17266 `cfengine-font-lock-keywords'.
17267 (cfengine2-imenu-expression): Rename from
17268 `cfengine-imenu-expression'.
17269 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17270 (cfengine2-beginning-of-defun): Rename from
17271 `cfengine-beginning-of-defun'.
17272 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17273 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17274 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17275 modeline indicator to "CFE2".
17276 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17277 (cfengine-mode-abbrevs): Mark obsolete.
17279 2011-12-21 Chong Yidong <cyd@gnu.org>
17281 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17284 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17286 * window.el (window-normalize-buffer-to-display): Remove.
17287 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17289 2011-12-19 Chong Yidong <cyd@gnu.org>
17291 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17292 Don't signal an error in a predicate function; return non-nil.
17293 (vc-dir-mark-file): Move the error here.
17294 (vc-dir-mark-unmark): If acting on the region, keep going if one
17295 of the entries cannot be marked/unmarked.
17296 (vc-dir-mark-all-files): If current entry is a directory, mark
17297 only child files, as documented.
17299 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17301 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17302 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17305 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17307 * term/ns-win.el (ns-get-selection-internal)
17308 (ns-store-selection-internal): Declare.
17309 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17310 Declare as obsolete.
17311 (ns-get-pasteboard, ns-paste-secondary):
17312 Use ns-get-selection-internal.
17313 (ns-set-pasteboard, ns-copy-including-secondary):
17314 Use ns-store-selection-internal.
17316 2011-12-17 Chong Yidong <cyd@gnu.org>
17318 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17319 (vc-deduce-fileset): Doc fix.
17321 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17323 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17325 2011-12-13 Sam Steingold <sds@gnu.org>
17327 * man.el (Man-getpage-in-background): When running under a
17328 window-system, ignore $MANWIDTH and $COLUMNS.
17330 2011-12-15 Kenichi Handa <handa@m17n.org>
17332 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17333 (setup-ethiopic-environment-internal): Comment out key-binding for
17334 ethio-toggle-punctuation.
17336 2011-12-13 Alan Mackenzie <acm@muc.de>
17338 Add the switch statement to AWK Mode.
17340 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17341 "default" to the keywords regexp.
17343 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17344 expression as the rest.
17345 (c-nonlabel-token-key): Allow string literals for AWK.
17346 Refactor for the other modes.
17348 Large brace-block initialisation makes CC Mode slow: Fix.
17349 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17350 routines. Limit backward searching in c-font-lock-enclosing.decl.
17352 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17353 pp-state and literal type in addition to the limits.
17354 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17355 (c-state-literal-at): Use the above new defun.
17356 (c-slow-in-literal, c-fast-in-literal): Remove.
17357 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17360 being in a literal. Add a limit for backward searching.
17362 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17365 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17367 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17369 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17371 * window.el (delete-other-windows): Use correct frame in call to
17372 window-with-parameter.
17374 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17376 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17377 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17378 (makefile-gmake-statements, makefile-makepp-statements):
17379 Use it and add new makepp keywords.
17380 (makefile-makepp-font-lock-keywords): Add new patterns.
17381 (makefile-match-function-end): Match new [...] and [[...]].
17383 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17385 * ses.el (ses-call-printer-return, ses-cell-property-get)
17386 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17387 (ses-create-cell-variable, ses-reset-header-string)
17388 (ses-cell-set-formula, ses-repair-cell-reference-all)
17389 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17390 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17391 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17392 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17393 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17394 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17395 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17396 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17397 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17398 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17399 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17400 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17402 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17404 * ses.el: The overall change is to add cell renaming, that is
17405 setting fancy names for cell symbols other than name matching
17406 "\\`[A-Z]+[0-9]+\\'" regexp .
17407 (ses-create-cell-variable): New defun.
17408 (ses-relocate-formula): Relocate formulas only for cells the
17409 symbols of which are not renamed, i.e. symbols whose names do not
17410 match regexp "\\`[A-Z]+[0-9]+\\'".
17411 (ses-relocate-all): Relocate values only for cells the symbols of
17412 which are not renamed.
17413 (ses-load): Create cells variables as the (ses-cell ...) are read,
17414 in order to check row col consistency with cell symbol name only
17415 for cells that are not renamed.
17416 (ses-replace-name-in-formula): New defun.
17417 (ses-rename-cell): New defun.
17419 2011-12-11 Chong Yidong <cyd@gnu.org>
17421 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17422 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17424 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17426 * window.el (other-window): Fix docstring.
17428 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17430 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17431 `from' or `to' address before taking its substring.
17432 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17433 encoded name is chopped in the middle of the encoded string, and
17434 thus displayed encoded.
17436 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17438 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17440 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17442 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17443 to use texinfo-update-node and commands that call it if the
17444 Texinfo file uses @node lines without next/prev/up pointers.
17445 Correct outdated description about texinfo-master-menu.
17446 (texinfo-all-menus-update, texinfo-master-menu)
17447 (texinfo-update-node, texinfo-every-node-update)
17448 (texinfo-multiple-files-update): Doc fix. Warn against updating
17449 all the @node lines.
17450 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17451 argument is numeric. Explain better in the doc string what the
17452 function really does.
17453 (texinfo-insert-master-menu-list): Improve the error message
17454 displayed if there's no menu in the Top node.
17455 (Bug#2975) See also this thread:
17456 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17458 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17460 * speedbar.el (speedbar-supported-extension-expressions):
17461 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17463 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17465 * printing.el (pr-mode-alist):
17466 * simple.el (filter-buffer-substring-functions)
17467 (completion-list-insert-choice-function):
17468 * window.el (window-with-parameter, window-atom-root)
17469 (window-sides-slots, window-size-fixed, window-min-delta)
17470 (window-max-delta, window--resize-mini-window)
17471 (window--resize-child-windows-normal, window-tree)
17472 (delete-other-windows, quit-window, split-window)
17473 (display-buffer-record-window, special-display-buffer-names)
17474 (special-display-regexps, special-display-popup-frame)
17475 (same-window-p, split-window-sensibly)
17476 (display-buffer-overriding-action, display-buffer-alist)
17477 (display-buffer-base-action, display-buffer, switch-to-buffer)
17478 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17479 (fit-window-to-buffer, recenter-positions)
17480 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17481 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17482 and remove unneeded backslashes in docstrings.
17484 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17486 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17488 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17489 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17491 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17492 when reading the makefile (bug#10116).
17494 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17496 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17499 2011-12-06 Glenn Morris <rgm@gnu.org>
17501 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17503 2011-12-06 Chong Yidong <cyd@gnu.org>
17505 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17507 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17509 * textmodes/table.el (table-shorten-cell): Fix typo.
17511 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17513 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17515 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17517 * descr-text.el (describe-char): Fix display of strong
17518 right-to-left characters and directional embeddings and overrides.
17520 * simple.el (what-cursor-position): Fix display of codepoints of
17521 strong right-to-left characters.
17523 2011-12-05 Chong Yidong <cyd@gnu.org>
17525 * faces.el (read-color): Doc fix.
17527 2011-12-05 Glenn Morris <rgm@gnu.org>
17529 * align.el (align--set-marker): Add doc-string.
17530 Don't try to move something that is not a marker. (Bug#10216)
17532 2011-12-04 Glenn Morris <rgm@gnu.org>
17534 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17535 overly zealous deletion of trailing whitespace.
17537 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17539 * server.el (server-delete-client): On Windows, do not try to delete
17541 (server-process-filter): On Windows, treat requests for a tty frame as
17542 if they were for a GUI frame if the running server is in GUI mode.
17544 2011-12-03 Glenn Morris <rgm@gnu.org>
17546 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17548 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17550 * electric.el: Streamline electric-indent's hook.
17551 (electric-indent-chars): Revert to simple list.
17552 (electric-indent-functions): New var.
17553 (electric-indent-post-self-insert-function): Use it.
17555 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17556 there's no inferior buffer (bug#10196).
17557 (prolog-consult-compile): Don't use toggle-read-only.
17559 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17561 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17562 interrupt. (Bug#10187)
17564 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17566 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17569 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17572 2011-12-02 Juri Linkov <juri@jurta.org>
17574 * info.el (Info-search): Display "end of manual" when Isearch
17575 reaches the end of single-file Info manual. (Bug#9918)
17577 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17579 * isearch.el (isearch-message-prefix): Run the input method part
17580 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17582 2011-12-02 Juri Linkov <juri@jurta.org>
17584 * isearch.el (isearch-occur): Use `word-search-regexp' for
17586 (isearch-search-and-update): Add condition for `isearch-word' and
17587 call `word-search-regexp'. (Bug#10145)
17589 2011-12-01 Glenn Morris <rgm@gnu.org>
17591 * eshell/em-hist.el (eshell-hist-initialize):
17592 Handle eshell-history-size nil and HISTSIZE set or unset.
17593 (eshell-history-file-name, eshell-history-size): Fix custom type.
17595 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17597 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17599 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17601 * progmodes/verilog-mode.el (verilog-pretty-expr):
17602 Rework verilog-pretty-expr to handle new assignment operators in system
17603 verilog, such as += *= and the like.
17604 (verilog-assignment-operator-re): Regular expression to find the
17605 assigment operator in a verilog assignment.
17606 (verilog-assignment-operation-re): Regular expression to find an
17607 assignment statement for pretty-expr.
17608 (verilog-in-attribute-p): Query returns true if point is in an
17609 attribute context; used to skip these for expression line up from
17611 (verilog-in-parameter-p): Query returns true if point is in an
17612 parameter definition context; used to skip these for expression
17613 line up from pretty-expr.
17614 (verilog-in-parenthesis-p): Query returns true if point is in a
17615 parenthetical expression, specifically ( ) but not [ ] or { };
17616 used by pretty-expr.
17617 (verilog-just-one-space): If there is no space, don't add one.
17618 (verilog-get-lineup-indent-2): Specifically skip just attribute
17619 contexts for expression lineup, rather than skipping all
17620 parenthetical expressions.
17621 (verilog-calculate-indent): Fix comment, and fix indent.
17622 (verilog-do-indent): Indent declarations in lists (suggested by
17624 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17626 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17629 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17631 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17632 parameters with embedded comments. Reported by Ray Stevens.
17633 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17634 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17635 Reported by Tim Holt.
17636 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17637 instantiated by upper module causing wrong expansion until AUTOed a
17638 second time. Reported by K C Buckenmaier.
17639 (verilog-diff-auto): Fix showing .* as a difference when
17640 `verilog-auto-star-save' off. Reported by Dan Dever.
17641 (verilog-auto-reset, verilog-read-always-signals)
17642 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17643 temporary signals in reset list if
17644 verilog-auto-reset-blocking-in-non is nil, and match assignment
17645 style to each signal's assignment type, bug381.
17646 Reported by Thomas Esposito.
17647 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17648 (verilog-uvm-statement-re): Support UVM indentation and
17649 highlighting, with old OVM keywords only.
17650 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17651 Support AUTOTIEOFF creating non-wire data types.
17652 Suggested by Jonathan Greenlaw.
17653 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17654 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17655 (verilog-inject-sense, verilog-read-inst-pins)
17656 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17657 Fix mismatching parenthesis inside commented out code when deleting
17658 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17659 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17660 non-numeric vector width. Reported by Alex Reed.
17661 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17662 detecting signals with parameter widths. Reported by Alex Reed.
17663 (verilog-auto-delete-trailing-whitespace):
17664 With `verilog-auto-delete-trailing-whitespace' remove trailing
17665 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17666 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17667 Fix verilog-scan-cache corruption when running user AUTO expansion
17668 hooks that call indentation routines.
17669 (verilog-simplify-range-expression): Fix typo ignoring lower case
17671 (verilog-delete-auto): Fix delete-autos to also remove user created
17672 automatics, as long as they start with AUTO.
17673 (verilog-batch-diff-auto, verilog-diff-auto)
17674 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17675 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17676 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17677 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17678 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17679 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17680 is disabled and its cache will get corrupt, causing AUTOS not to
17681 expand. Instead use only -quick functions.
17682 (verilog-scan-region): Fix scanning over escaped quotes.
17683 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17684 (verilog-re-search-backward-quick)
17685 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17686 related functions now ignore strings, to fix misparsing of strings
17687 with magic comments embedded in them.
17688 (verilog-read-auto-template):
17689 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17690 Reported by Brad Dobbie.
17691 (verilog-read-auto-template):
17692 Fix 'verilog-auto-inst-template-numbers' with comments.
17693 Reported by Brad Dobbie.
17694 (verilog-auto-inst, verilog-auto-inst-param)
17695 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17696 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17697 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17698 debugging templates without merge conflicts, bug357.
17699 Reported by Brad Dobbie.
17700 (verilog-read-auto-template):
17701 Fix verilog-auto-inst-template-numbers with multiple templates.
17702 Reported by Brad Dobbie.
17703 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17704 abbrevs so user won't be asked to save.
17705 (verilog-read-auto-lisp-present): Fix to start at beginning of
17706 buffer in case called outside of verilog-auto.
17707 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17708 to "X-2". Reported by Matthew Myers.
17709 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17710 all inputs from module templates. Reported by Leith Johnson.
17711 (verilog-module-inside-filename-p): Fix locating programs as with
17713 (verilog-auto-inst-port): Fix vl-width expressions when using
17714 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17715 (verilog-decls-get-regs, verilog-decls-get-signals,
17716 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17717 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17718 verilog-read-decls): Combine reg and wire structures into one var
17719 structure to represent SystemVerilog concepts.
17720 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17721 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17722 (verilog-auto-wire-type, verilog-insert-definition):
17723 Add verilog-auto-wire-type and AUTOLOGIC to support using
17724 SystemVerilog "logic" keyword instead of "wire"/"reg".
17725 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17726 to declares outputs that also have assignments (presumably in an
17727 ifdef or generate if so there's not a driver conflict).
17728 Reported by Matthew Myers.
17729 (verilog-auto-declare-nettype, verilog-insert-definition):
17730 Add verilog-auto-declare-nettype to fix declarations using
17731 `default_nettype none. Reported by Julian Gorfajn.
17732 (verilog-read-always-signals-recurse, verilog-read-decls)
17733 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17734 malformed end statement, bug325. Reported by Joshua Wise and
17736 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17737 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17738 when expanding .* in interfaces, bug320.
17739 Reported by Pierre-David Pfister.
17740 (verilog-read-module-name): Fix import statements between module
17741 name and open parenthesis, bug317.
17742 Reported by Pierre-David Pfister.
17743 (verilog-simplify-range-expression): Fix simplification of
17744 multiplications inside AUTOWIRE connections, bug303.
17745 (verilog-auto-inst-port): Support parameter expansion in
17746 multidimensional arrays.
17747 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17748 after "assert property". Reported by Julian Gorfajn.
17749 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17750 with multiplication, bug303.
17751 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17752 Reported by Jan Frode Lonnum.
17754 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17756 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17757 (hfy-shell-file-name, hfy-shell):
17758 * international/fontset.el (x-decompose-font-name): Fix typos.
17760 2011-11-29 Ken Brown <kbrown@cornell.edu>
17762 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17763 (gdb-version): Remove defvar.
17764 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17765 (gdb-gud-context-command, gdb-non-stop-handler)
17766 (gdb-current-context-command, gdb-stopped): Use it.
17767 (gdb-init-1): Enable pretty printing here.
17768 (gdb-non-stop-handler): Don't enable pretty-printing here.
17769 Check to see if the target supports non-stop mode; if not, turn off
17770 non-stop mode. Use the following.
17771 (gdb-check-target-async): New defun.
17772 (gud-watch, gdb-stopped): Fix whitespace.
17773 (gdb-get-source-file): Don't try to display the source file if
17774 `gdb-main-file' is nil.
17776 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17778 * align.el: Try to generate fewer markers (bug#10047).
17779 (align--set-marker): New macro.
17780 (align-region): Use it.
17782 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17784 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17786 2011-11-29 Chong Yidong <cyd@gnu.org>
17788 * indent.el (indent-for-tab-command, indent-according-to-mode):
17790 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17792 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17794 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17795 aware of remote file names. (Bug#10124)
17797 2011-11-29 Chong Yidong <cyd@gnu.org>
17799 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17801 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17803 * files.el (find-file): Don't use force-same-window (bug#10144).
17804 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17805 use pop-to-buffer if the selected window can't be used.
17806 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17808 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17810 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17813 2011-11-28 Chong Yidong <cyd@gnu.org>
17815 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17817 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17819 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17820 gdb-get-source-file-list on gdb-create-source-file-list.
17822 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17824 * whitespace.el (whitespace-newline): Use a different foreground
17825 color for 16-color light-background displays.
17827 2011-11-24 Chong Yidong <cyd@gnu.org>
17829 * window.el (display-buffer--special-action): Doc fix.
17831 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17833 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17834 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17835 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17836 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17837 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17838 (avl-tree-stack-first):
17839 * emacs-lisp/cconv.el (cconv--analyse-use):
17840 * net/gnutls.el (gnutls-negotiate): Fix typos.
17842 2011-11-24 Glenn Morris <rgm@gnu.org>
17844 * lpr.el (lpr-windows-system, lpr-lp-system):
17845 * mail/binhex.el (binhex-begin-line):
17846 * progmodes/grep.el (grep-history, grep-find-history):
17847 * textmodes/flyspell.el:
17848 * vc/pcvs-defs.el (cvs-global-menu):
17849 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17850 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17851 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17853 * net/tls.el: Fix case of "GnuTLS".
17855 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17857 * version.el (emacs-build-system): Give it a doc-string.
17859 2011-11-24 Juri Linkov <juri@jurta.org>
17861 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17863 2011-11-24 Glenn Morris <rgm@gnu.org>
17865 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17866 if called on a non-mime message just toggle the headers. (Bug#8006)
17868 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17870 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17871 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17872 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17873 (allout-rebullet-heading, allout-open-sibtopic)
17874 (allout-toggle-current-subtree-encryption)
17875 (allout-toggle-subtree-encryption, allout-encrypt-string)
17876 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17877 (allout-distinctive-bullets-string, allout-auto-activation):
17878 * window.el (window-normalize-buffer-to-display):
17879 * progmodes/verilog-mode.el (verilog-batch-indent):
17880 * textmodes/bibtex.el (bibtex-field-braces-opt)
17881 (bibtex-field-strings-opt):
17882 * vc/cvs-status.el (cvs-tree-merge):
17885 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17887 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17888 `non-essential' to t, in order to avoid remote connections.
17890 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17892 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17893 On MS-DOS and MS-Windows, compare with loaddefs.el
17894 case-insensitively.
17896 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17898 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17900 2011-11-23 Glenn Morris <rgm@gnu.org>
17902 * paths.el (rmail-file-name): Reformat the doc-string so that it
17905 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17906 (rmail-auto-file): Ignore case in the "special" field names,
17907 as mail-fetch-field does for all others.
17909 * mail/rmail.el (rmail-forward):
17910 * mail/rmailkwd.el (rmail-set-label):
17911 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17912 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17914 * mail/rmail.el (rmail-current-message): Doc fix.
17916 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17918 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17920 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17922 2011-11-22 Glenn Morris <rgm@gnu.org>
17924 * mail/rmailmm.el (test-rmail-mime-handler)
17925 (test-rmail-mime-bulk-handler)
17926 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17928 2011-11-21 Juri Linkov <juri@jurta.org>
17930 * calc/calc.el (calc-read-key-sequence):
17931 Let-bind `input-method-function' to nil. (Bug#10018)
17933 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17935 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17936 Tell the caller that the next line needs recomputation, even
17937 though it doesn't start a sexp (bug#10094).
17939 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17943 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17945 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17946 Use force-same-window.
17948 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17950 * descr-text.el (describe-char-unicode-data):
17951 * json.el (json-string-escape):
17952 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17953 (Footnote-unicode, Footnote-style-p):
17954 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17956 2011-11-20 Chong Yidong <cyd@gnu.org>
17958 * window.el (replace-buffer-in-windows): Restore interactive spec.
17960 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17962 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17964 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17965 (byte-compile-global-not-obsolete-vars): New var.
17966 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17968 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17970 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17972 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17973 * progmodes/pascal.el (electric-pascal-equal):
17974 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17975 * xml.el (xml-substitute-special): Fix typos.
17977 2011-11-20 Glenn Morris <rgm@gnu.org>
17979 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17980 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17982 (rmail-decode-mime-charset): Mark as obsolete.
17984 * mail/rmailsum.el (rmail-message-regexp-p-1):
17985 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17986 Before using mime functions, check they are set. (Bug#10077)
17988 2011-11-19 Juri Linkov <juri@jurta.org>
17990 * info.el (Info-finder-find-node): Use `package--builtins' instead
17991 of `package-alist'. Use node names formed by the pattern "Keyword "
17992 and the keyword name.
17994 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17996 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17998 2011-11-19 Juri Linkov <juri@jurta.org>
18000 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18001 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18002 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18003 `old-history', `old-history-forward'. Add let-binding
18004 `window-selected'. Remove calls to `kill-buffer',
18005 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18006 before calling `Info-find-node', so `Info-find-node-2' will reread
18007 the Info file. Restore window positions only when `window-selected'
18010 2011-11-19 Juri Linkov <juri@jurta.org>
18012 * isearch.el (isearch-lazy-highlight-new-loop):
18013 Remove condition `(not isearch-error)'. (Bug#9918)
18015 * misearch.el (multi-isearch-search-fun): Add condition
18016 `(not bound)' to ignore lazy-highlighting search.
18017 Add the search-failed message "end of multi" when the end of
18018 multi-sequence is reached. Uncapitalize the search-failed
18019 message "Repeat for next buffer".
18021 * info.el (Info-search): Add the search-failed message
18022 "end of the manual" when the end of the manual is reached
18025 2011-11-19 Juri Linkov <juri@jurta.org>
18027 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18028 Use non-destructive `remove' instead of `delete' because
18029 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18030 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18032 2011-11-19 Juri Linkov <juri@jurta.org>
18034 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18035 to nil instead of binding `search-ring' and `regexp-search-ring'.
18038 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18040 * simple.el (line-move): Force movement by logical lines for any
18041 hscrolled window, not only when auto-hscroll-mode is on.
18042 (line-move-visual): Update doc string to that effect. (Bug#10076)
18044 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18046 * language/european.el (macintosh): Define as alias for mac-roman.
18048 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18050 * mail/rmailmm.el (rmail-mime-display-header)
18051 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18052 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18053 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18054 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18055 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18057 (rmail-mime-entity-segment): To get past the tagline, move forward
18058 2 more lines, to account for the 2 empty lines that precede and
18059 follow the line with the buttons.
18060 (rmail-mime-update-tagline): Move one more line, to get past the
18061 empty line that follows the buttons in the tagline. (Bug#9520)
18063 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18065 * window.el (window-max-delta-1, window-min-delta-1)
18066 (window-min-size-1, window-state-get-1, window-state-put-1)
18067 (window-state-put-2): Use "window--" prefix.
18069 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18071 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18072 (smie-warning-count): New var.
18073 (smie-set-prec2tab): Use it.
18074 (smie-bnf->prec2): Improve warnings. Add docstring.
18075 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18076 (smie-bnf--set-class): New function.
18077 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18080 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18081 (compilation-error-properties, compilation-move-to-column):
18082 Handle compilation-first-column while in the target buffer.
18084 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18085 Don't hardcode point-min==1.
18087 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18088 (eshell-rewrite-for-command): Remove workaround.
18089 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18090 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18091 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18093 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18095 2011-11-17 Glenn Morris <rgm@gnu.org>
18097 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18098 Ignore buffer-local generated-autoload-file if it is the same
18099 as the global value. (Bug#10049)
18101 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18103 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18104 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18105 (reftex-toc-previous-heading, reftex-toc-max-level)
18106 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18107 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18108 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18109 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18110 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18111 (reftex-toc-rename-label, reftex-toc-visit-location)
18112 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18113 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18114 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18115 leaving "*toc*" only for references to the buffer.
18117 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18119 * window.el (window-resize, delete-window, split-window):
18120 Replace window-splits by window-combination-resize.
18121 * cus-start.el (window-splits): Replace by window-combination-resize.
18123 2011-11-17 Glenn Morris <rgm@gnu.org>
18125 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18126 Make bash entry derive from sh entry, not shell entry.
18128 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18130 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18133 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18135 * menu-bar.el (menu-bar-file-menu):
18136 * printing.el (pr-ps-utility):
18137 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18138 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18139 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18140 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18141 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18142 (icalendar--convert-cyclic-to-ical)
18143 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18144 (icalendar--convert-ical-to-diary)
18145 (icalendar--convert-recurring-to-diary)
18146 (icalendar--convert-non-recurring-all-day-to-diary)
18147 (icalendar-import-format-sample):
18148 * progmodes/idlw-shell.el (idlwave-shell-mode):
18149 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18150 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18151 (vhdl-ps-print-init): Fix typos.
18153 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18155 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18156 FSF and collapse date sequence, obscure author/maintainer email address
18157 better, remove extra version line, track relocation of author's webpage.
18159 * progmodes/python.el (python-pdbtrack-input-prompt)
18160 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18161 regular python pdb prompts. Adjustments shamelessly taken exactly as
18162 suggested in EmacsWiki page (tiny change):
18163 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18165 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18167 * expand.el (expand-pos, expand-index, expand-point):
18168 Remove redundant info from docstring.
18169 (expand-add-abbrevs): Doc fix.
18170 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18171 (expand-sample-perl-mode-expand-list): Fix typos.
18173 * net/dbus.el (dbus-event-member-name):
18174 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18175 * term/pc-win.el (msdos-create-frame-with-faces):
18176 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18178 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18180 * window.el (split-window, window-state-get-1)
18181 (window-state-put-1, window-state-put-2): Rename occurrences of
18182 window-nest to window-combination-limit.
18183 * cus-start.el (window-nest): Rename to window-combination-limit.
18185 2011-11-16 Chong Yidong <cyd@gnu.org>
18187 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18188 regexp (Bug#10033).
18190 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18192 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18193 `completing-read' will remove *Completions* and will preserve
18194 current-buffer for us.
18195 (tmm-add-prompt): Users of *Completions* will always (re)set its
18197 (tmm-old-comp-map): Remove.
18199 2011-11-16 Glenn Morris <rgm@gnu.org>
18201 * mail/rmailedit.el: Require rmailmm when compiling.
18202 (rmail-old-mime-state): New declaration.
18203 (rmail-edit-current-message): If editing a mime message,
18204 edit the "raw" message from the mbox buffer.
18205 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18207 2011-11-15 Glenn Morris <rgm@gnu.org>
18209 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18210 which wasn't being used. Add optional arg to force given state.
18211 (rmail-mime): Add optional arg to force given state.
18213 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18215 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18216 * frame.el (display-mm-dimensions-alist):
18217 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18218 (outline-move-subtree-down):
18219 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18220 (newsticker--treeview-do-get-node):
18221 * net/quickurl.el (quickurl-list-buffer-name):
18222 * progmodes/dcl-mode.el (dcl-mode):
18223 * progmodes/gdb-mi.el (gdb-mapcar*):
18224 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18226 2011-11-15 Glenn Morris <rgm@gnu.org>
18228 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18229 in a boolean sense, so just make it a boolean, and fix the doc.
18230 (rmail-show-mime-function, rmail-mime-feature)
18231 (rmail-require-mime-maybe): Doc fixes.
18232 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18234 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18236 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18238 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18239 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18240 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18241 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18243 2011-11-15 Glenn Morris <rgm@gnu.org>
18245 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18246 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18247 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18248 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18249 (rmail-mime, rmail-show-mime): Doc fixes.
18251 * term/ns-win.el (mode-line-frame-identification):
18252 Leave it alone. (Bug#10051)
18254 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18256 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18257 Handle empty buffers. (Bug#9978)
18259 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18261 * international/mule.el (define-charset):
18262 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18263 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18264 * progmodes/verilog-mode.el (verilog-backward-token):
18265 * textmodes/ispell.el (lookup-words):
18266 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18268 2011-11-14 Glenn Morris <rgm@gnu.org>
18270 * progmodes/executable.el
18271 (executable-make-buffer-file-executable-if-script-p):
18272 Handle file-modes returning nil.
18274 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18275 message - not necessary, and causes problems. (Bug#9831)
18277 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18279 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18281 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18282 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18283 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18285 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18287 * window.el (window-resize, delete-window): Use window-splits
18288 variable instead of function.
18289 (window-state-get-1, window-state-put-2, window-state-put):
18290 Don't deal with windows' splits status.
18292 2011-11-12 Glenn Morris <rgm@gnu.org>
18294 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18295 (apropos-documentation): Doc fixes.
18297 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18299 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18300 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18302 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18304 * electric.el (electric-indent-post-self-insert-function): Make it
18305 possible for a char to only indent in some circumstances.
18306 (electric-indent-mode): Simplify.
18308 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18310 * window.el (windows-with-parameter): Remove unused function.
18311 (windows-at-side): Rename to window-at-side-list.
18312 (window-check, window-atom-check, window-atom-check-1)
18313 (window-side-check, window-size-ignore, window-size-fixed-1)
18314 (window-in-direction-2): Prefix with "window--".
18315 (window-tree-1): Rename to window--subtree, fix doc-string.
18317 2011-11-11 Glenn Morris <rgm@gnu.org>
18319 * subr.el (eval-after-load): If FILE is already loaded,
18320 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18322 2011-11-10 Glenn Morris <rgm@gnu.org>
18324 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18325 Call svn via vc-svn-command rather than vc-do-command.
18326 (vc-svn-command): Add --non-interactive. (Bug#9993)
18327 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18330 Add toggle-read-only. (Bug#7292)
18331 * files.el (toggle-read-only): Mention that it should only
18332 be used interactively. (Bug#10006)
18334 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18337 Adjust regexp for OCaml warnings.
18339 * electric.el (electric-pair-post-self-insert-function): Let user
18340 turn it off buffer-locally (bug#9932).
18342 * progmodes/python.el (python-beginning-of-statement):
18343 Rewrite (bug#2703).
18345 * progmodes/compile.el: Better handle TABs (bug#9749).
18346 (compilation-internal-error-properties)
18347 (compilation-next-error-function): Obey the target buffer's
18348 compilation-error-screen-columns.
18350 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18352 * progmodes/meta-mode.el: Remove obsolete comments.
18353 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18354 Fix typos in docstrings.
18356 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18358 * window.el (window-size-fixed-p): Rewrite doc-string.
18359 (window-resizable-p): Rename to window--resizable-p. Update callers.
18360 (window--resizable): New function. Make all callers of
18361 window-resizable call window--resizable instead.
18362 (window-resizable): Rewrite in terms of window--resizable.
18364 2011-11-08 Glenn Morris <rgm@gnu.org>
18366 * progmodes/delphi.el (delphi-mode-syntax-table):
18367 Let define-derived-mode define a proper syntax table. (Bug#9994)
18369 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18371 * window.el: Stay away from defsubst.
18372 (window-list-no-nils): Remove.
18373 (window-state-get-1, window-state-get): Use backquote instead.
18375 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18377 * emacs-lisp/find-func.el (find-function-read):
18378 Fix incorrect use of default argument in `completing-read'.
18380 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18382 * window.el (display-buffer-function, special-display-function):
18383 Mention display-buffer-record-window but do not mention
18384 help-setup parameter in doc-strings.
18385 (window-min-delta): Fix doc-string typo.
18387 2011-11-08 Chong Yidong <cyd@gnu.org>
18389 * window.el (window-total-height, window-total-width): Doc fix.
18390 (window-body-size): Move from C.
18391 (window-body-height, window-body-width): Move to C.
18393 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18395 * window.el: Make special-display like display-buffer-alist (bug#9532).
18396 (display-buffer--special-action): New function, morphed
18397 from display-buffer--special.
18398 (display-buffer): Use it to handle special-display-buffers at higher
18399 priority (just after display-buffer-alist).
18400 (display-buffer-fallback-action, display-buffer--other-frame-action)
18401 (pop-to-buffer-same-window): Remove display-buffer--special.
18403 2011-11-07 Glenn Morris <rgm@gnu.org>
18405 * calendar/cal-menu.el (cal-menu-set-date-title):
18406 Do nothing if not in a calendar. (Bug#9976)
18408 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18410 * files.el (find-file): Always use selected-window.
18412 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18414 * window.el (window-combinations): Make WINDOW argument
18415 mandatory. Rewrite doc-string.
18416 (walk-window-subtree, window-atom-check, window-min-delta)
18417 (window-max-delta, window--resize-this-window)
18418 (window--resize-root-window-vertically, window-tree)
18419 (balance-windows, window-state-put): Rewrite doc-strings as to
18420 not mention the term "subwindow".
18421 (window--resize-subwindows-skip-p): Rename to
18422 window--resize-child-windows-skip-p.
18423 (window--resize-subwindows-normal): Rename to
18424 window--resize-child-windows-normal.
18425 (window--resize-subwindows): Rename to
18426 window--resize-child-windows.
18427 (window-or-subwindow-p): Rename to window--in-subtree-p.
18429 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18431 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18432 Ensure that mbox format messages end in two newlines (Bug#9974).
18434 2011-11-06 Chong Yidong <cyd@gnu.org>
18436 * window.el (window-combination-p): Function deleted; its
18437 side-effect is not used in any existing code.
18438 (window-combinations, window-combined-p): Call window-*-child
18441 2011-11-05 Chong Yidong <cyd@gnu.org>
18443 * window.el (window-valid-p): Rename from window-any-p.
18444 (window-size-ignore, window-state-get): Callers changed.
18445 (window-normalize-window): Rename from window-normalize-any-window.
18446 New arg LIVE-ONLY, replacing window-normalize-live-window.
18447 (window-normalize-live-window): Delete.
18448 (window-combination-p, window-combined-p, window-combinations)
18449 (walk-window-subtree, window-atom-root, window-min-size)
18450 (window-sizable, window-sizable-p, window-size-fixed-p)
18451 (window-min-delta, window-max-delta, window-resizable)
18452 (window-resizable-p, window-full-height-p, window-full-width-p)
18453 (window-current-scroll-bars, window-point-1, set-window-point-1)
18454 (window-at-side-p, window-in-direction, window-resize)
18455 (adjust-window-trailing-edge, maximize-window, minimize-window)
18456 (window-deletable-p, delete-window, delete-other-windows)
18457 (record-window-buffer, unrecord-window-buffer)
18458 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18459 (quit-window, split-window, window-state-put)
18460 (set-window-text-height, fit-window-to-buffer)
18461 (shrink-window-if-larger-than-buffer): Callers changed.
18463 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18465 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18466 rfc2047-decode-string.
18467 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18470 * window.el (window-body-height, window-body-width): Mention in
18471 the doc string that the return values are in frame's canonical
18474 2011-11-03 Alan Mackenzie <acm@muc.de>
18476 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18477 change in cc-engine.el.
18479 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18481 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18483 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18485 * window.el (quit-window): Call unrecord-window-buffer after
18486 showing another buffer in the window. (Bug#9937)
18487 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18489 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18491 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18492 Accept status with more than 9 shelves. (Bug#9935)
18493 Reported by Colin D Bennett <colin@gibibit.com>.
18495 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18497 * help.el (with-help-window): Don't reference
18498 temp-buffer-show-specifiers in doc-string.
18500 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18502 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18505 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18507 * whitespace.el: New version 13.2.2.
18508 (whitespace-newline-mode): Disable properly. Reported by Sarah
18511 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18513 * net/newst-treeview.el: Remove "Time-stamp".
18514 (newsticker--group-manage-orphan-feeds): Do not call
18515 newsticker--treeview-tree-update.
18516 (newsticker-treeview-update, newsticker-treeview):
18517 Call newsticker--treeview-tree-update if necessary.
18519 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18521 * window.el (window-iso-combination-p, window-iso-combined-p)
18522 (window-iso-combinations): Remove "iso-" infix.
18523 Suggested by Chong Yidong.
18524 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18525 (window-max-delta-1, window-resize, window--resize-siblings)
18526 (window--resize-this-window, adjust-window-trailing-edge)
18527 (split-window, balance-windows-1)
18528 (shrink-window-if-larger-than-buffer):
18529 * calendar/calendar.el (calendar-generate-window):
18530 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18532 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18534 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18535 in place (bug#9907).
18536 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18537 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18538 (eshell-structure-basic-command, eshell-rewrite-while-command)
18539 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18540 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18541 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18542 (eshell-do-pipelines-synchronously, eshell-eval-command):
18543 Use backquotes and prefer setq to set.
18544 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18545 (eshell-macrop): Use functionp.
18546 (eshell-do-eval): Handle multiple expressions in `while' body.
18548 2011-10-30 Chong Yidong <cyd@gnu.org>
18550 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18551 instead of set-mark (Bug#9810).
18553 2011-10-30 Chong Yidong <cyd@gnu.org>
18555 * window.el (split-window-below, split-window-right): Rename from
18556 split-window-above-each-other and split-window-side-by-side
18557 respectively. All callers changed.
18558 (split-window-sensibly, split-window-sensibly): Use them.
18559 (split-window-keep-point): Doc fix.
18561 * isearch.el: Add isearch-scroll property to split-window-below
18562 and split-window-right.
18564 * follow.el (follow-mode):
18565 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18566 * progmodes/ada-xref.el (ada-gdb-application):
18567 * emulation/vip.el (vip-buffer-in-two-windows):
18568 * image-dired.el (image-dired-dired-with-window-configuration):
18569 * dired-x.el (dired-do-find-marked-files):
18570 * dired.el (dired-pop-to-buffer):
18571 * bs.el (bs--show-with-configuration):
18572 * vc/emerge.el (emerge-setup-windows):
18573 * textmodes/two-column.el (2C-two-columns):
18574 * textmodes/reftex-toc.el (reftex-toc):
18575 * progmodes/gdb-mi.el (gdb-setup-windows):
18576 * progmodes/fortran.el (fortran-window-create):
18577 * net/newst-treeview.el (newsticker--treeview-window-init):
18578 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18579 * emulation/tpu-edt.el (tpu-gold-map):
18580 * emulation/crisp.el (crisp-mode-map):
18581 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18583 2011-10-29 Chong Yidong <cyd@gnu.org>
18585 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18587 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18589 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18590 forged Ispell output (Bug#7904).
18592 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18594 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18596 * doc-view.el: Avoid ugly errors about not finding nil.
18597 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18598 (doc-view-dvipdf-program, doc-view-unoconv-program)
18599 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18600 Avoid nil or absolute file name as default value.
18601 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18603 2011-10-28 Alan Mackenzie <acm@muc.de>
18605 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18607 2011-10-28 Alan Mackenzie <acm@muc.de>
18609 Amend the handling of c-beginning/end-of-defun in nested declaration
18612 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18613 cc-langs.el. Change it to a defcustom.
18615 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18618 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18619 Prevent "class foo : bar" being spuriously recognized as a label.
18621 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18622 Add parameter `inclusive' (to include enclosing braces in the region).
18623 (c-widen-to-enclosing-decl-scope): New function.
18624 (c-while-widening-to-decl-block): New macro.
18625 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18626 outward for defun boundaries, and correspondingly change symbol
18627 `respect-enclosure' to `go-outward'.
18628 (c-declaration-limits): Change algorithm to report only the "innermost"
18629 defun's boundaries.
18631 2011-10-28 Deniz Dogan <deniz@dogan.se>
18633 * net/rcirc.el (rcirc-mode): Use hard newlines.
18635 2011-10-28 Alan Mackenzie <acm@muc.de>
18637 Amend to indent and fontify macros "which include their own semicolon"
18638 correctly, using the "virtual semicolon" mechanism.
18640 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18642 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18643 Recode to scan one line at a time rather than having \n and \r
18644 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18645 (c-forward-label): Amend for virtual semicolons.
18646 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18648 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18649 of the new C macros.
18651 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18652 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18653 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18654 (c-opt-cpp-macro-define): Make into a full language variable.
18655 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18656 AWK Mode (including \n, \r) removed, no longer needed.
18658 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18659 Invoke c-make-macro-with-semi-re.
18661 * progmodes/cc-vars.el (c-macro-with-semi-re):
18662 (c-macro-names-with-semicolon): New variables.
18663 (c-make-macro-with-semi-re): New function.
18665 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18667 * vc/log-edit.el: Fill empty field rather than adding new one.
18668 (log-edit-add-field): New function.
18669 (log-edit-insert-changelog): Use it.
18671 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18673 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18675 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18677 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18678 (gdb--check-interpreter): New function.
18681 2011-10-27 Glenn Morris <rgm@gnu.org>
18683 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18684 (least-positive-float, least-negative-float)
18685 (least-positive-normalized-float, least-negative-normalized-float)
18686 (float-epsilon, float-negative-epsilon):
18687 Remove unnecessary declarations.
18689 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18690 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18691 (least-positive-float, least-negative-float)
18692 (least-positive-normalized-float, least-negative-normalized-float)
18693 (float-epsilon, float-negative-epsilon): Add doc-strings,
18694 based on those in cl.texi.
18696 * files.el (set-visited-file-name): If the major-mode changed,
18697 reload the local variables. (Bug#9796)
18699 2011-10-27 Chong Yidong <cyd@gnu.org>
18701 * subr.el (change-major-mode-after-body-hook): New hook.
18702 (run-mode-hooks): Run it.
18704 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18705 Use change-major-mode-before-body-hook.
18707 * simple.el (fundamental-mode):
18708 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18709 change introducing fundamental-mode-hook.
18711 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18713 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18715 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18717 * ido.el (ido-file-name-all-completions-1): Do not require
18718 tramp.el explicitly. (Bug#7583)
18720 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18722 * progmodes/octave-mod.el:
18723 * progmodes/octave-inf.el: Update maintainer.
18725 2011-10-26 Chong Yidong <cyd@gnu.org>
18727 * subr.el (with-wrapper-hook): Rewrite doc.
18729 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18731 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18732 filenames "/method:foo:". (Bug#9793)
18734 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18736 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18739 2011-10-24 Glenn Morris <rgm@gnu.org>
18741 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18743 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18745 * notifications.el: Add the requirement of a running D-Bus session
18746 bus to the Commentary.
18748 2011-10-24 Juri Linkov <juri@jurta.org>
18750 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18751 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18754 2011-10-24 Juri Linkov <juri@jurta.org>
18756 * info.el (Info-following-node-name-re): Add newline to the list
18757 of allowed characters for leading space. (Bug#9824)
18759 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18761 * progmodes/octave-inf.el (inferior-octave-mode-map):
18762 Fix C-c C-h binding.
18763 * progmodes/octave-mod.el (octave-help): Remove.
18765 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18767 Sync with Tramp 2.2.3.
18769 * net/tramp-cache.el (top): Pacify byte-compiler using
18770 `init-file-user' and `site-run-file'.
18772 * net/trampver.el: Update release number.
18774 2011-10-23 Chong Yidong <cyd@gnu.org>
18776 * files.el (toggle-read-only): Remove obsolete comment about
18779 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18780 for toggle-read-only. Note that this hasn't called vc-next-action
18781 since 2008-05-02, though it wasn't documented at the time.
18783 * vc/ediff-init.el (ediff-toggle-read-only-function):
18784 Use toggle-read-only.
18786 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18788 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18791 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18792 correct faulty logical expression.
18793 (c-parse-state-state, c-record-parse-state-state):
18794 (c-replay-parse-state-state): New defvar/defuns.
18795 (c-debug-parse-state): Use new functions.
18797 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18799 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18800 last fix. Use window-in-direction correctly.
18802 2011-10-21 Chong Yidong <cyd@gnu.org>
18804 * progmodes/idlwave.el (idlwave-mode):
18805 * progmodes/vera-mode.el (vera-mode): No need to set
18806 require-final-newline; that's done in prog-mode.
18807 Suggested by Stefan Monnier.
18809 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18811 * mouse.el (mouse-drag-window-above)
18812 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18813 (mouse-drag-mode-line-1, mouse-drag-header-line)
18814 (mouse-drag-vertical-line-rightward-window): Remove.
18815 (mouse-drag-line): New function.
18816 (mouse-drag-mode-line, mouse-drag-header-line)
18817 (mouse-drag-vertical-line): Call mouse-drag-line.
18818 * window.el (window-at-side-p, windows-at-side): New functions.
18820 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18822 * tar-mode.el (tar-grind-file-mode):
18823 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18825 2011-10-21 Chong Yidong <cyd@gnu.org>
18827 * progmodes/idlwave.el (idlwave-mode):
18828 * progmodes/vera-mode.el (vera-mode):
18829 Use mode-require-final-newline.
18831 2011-10-20 Glenn Morris <rgm@gnu.org>
18833 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18835 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18837 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18839 2011-10-20 Chong Yidong <cyd@gnu.org>
18841 * emulation/cua-base.el (cua-mode):
18842 * mail/footnote.el (footnote-mode):
18843 * mail/mailabbrev.el (mail-abbrevs-mode):
18844 * net/xesam.el (xesam-minor-mode):
18845 * progmodes/bug-reference.el (bug-reference-mode):
18846 * progmodes/cap-words.el (capitalized-words-mode):
18847 * progmodes/compile.el (compilation-minor-mode)
18848 (compilation-shell-minor-mode):
18849 * progmodes/gud.el (gud-tooltip-mode):
18850 * progmodes/hideif.el (hide-ifdef-mode):
18851 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18852 * progmodes/subword.el (subword-mode):
18853 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18854 * progmodes/which-func.el (which-function-mode):
18855 * term/tvi970.el (tvi970-set-keypad-mode):
18856 * term/vt100.el (vt100-wide-mode):
18857 * textmodes/flyspell.el (flyspell-mode):
18858 * textmodes/ispell.el (ispell-minor-mode):
18859 * textmodes/nroff-mode.el (nroff-electric-mode):
18860 * textmodes/paragraphs.el (use-hard-newlines):
18861 * textmodes/refill.el (refill-mode):
18862 * textmodes/reftex.el (reftex-mode):
18863 * textmodes/rst.el (rst-minor-mode):
18864 * textmodes/sgml-mode.el (html-autoview-mode)
18865 (sgml-electric-tag-pair-mode):
18866 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18867 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18868 * emulation/crisp.el (crisp-mode):
18869 * emacs-lisp/eldoc.el (eldoc-mode):
18870 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18871 minor mode behavior.
18873 2011-10-19 Juri Linkov <juri@jurta.org>
18875 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18876 the list of hard-coded chars with escape-glyph face.
18878 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18880 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18882 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18884 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18887 2011-10-19 Glenn Morris <rgm@gnu.org>
18889 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18890 Ignore ignored files. (Bug#9726)
18892 2011-10-19 Chong Yidong <cyd@gnu.org>
18894 Doc fix for minor modes, stating that an omitted argument enables
18895 the mode unconditionally when called from Lisp.
18897 * abbrev.el (abbrev-mode):
18898 * allout.el (allout-mode):
18899 * autoinsert.el (auto-insert-mode):
18900 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18901 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18902 (global-auto-revert-mode):
18903 * battery.el (display-battery-mode):
18904 * composite.el (global-auto-composition-mode)
18905 (auto-composition-mode):
18906 * delsel.el (delete-selection-mode):
18907 * desktop.el (desktop-save-mode):
18908 * dired-x.el (dired-omit-mode):
18909 * dirtrack.el (dirtrack-mode):
18910 * doc-view.el (doc-view-minor-mode):
18911 * double.el (double-mode):
18912 * electric.el (electric-indent-mode, electric-pair-mode):
18913 * emacs-lock.el (emacs-lock-mode):
18914 * epa-hook.el (auto-encryption-mode):
18915 * follow.el (follow-mode):
18916 * font-core.el (font-lock-mode):
18917 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18918 * help.el (temp-buffer-resize-mode):
18919 * hilit-chg.el (highlight-changes-mode)
18920 (highlight-changes-visible-mode):
18921 * hi-lock.el (hi-lock-mode):
18922 * hl-line.el (hl-line-mode, global-hl-line-mode):
18923 * icomplete.el (icomplete-mode):
18924 * ido.el (ido-everywhere):
18925 * image-file.el (auto-image-file-mode):
18926 * image-mode.el (image-minor-mode):
18927 * iswitchb.el (iswitchb-mode):
18928 * jka-cmpr-hook.el (auto-compression-mode):
18929 * linum.el (linum-mode):
18930 * longlines.el (longlines-mode):
18931 * master.el (master-mode):
18932 * mb-depth.el (minibuffer-depth-indicate-mode):
18933 * menu-bar.el (menu-bar-mode):
18934 * minibuf-eldef.el (minibuffer-electric-default-mode):
18935 * mouse-sel.el (mouse-sel-mode):
18936 * msb.el (msb-mode):
18937 * mwheel.el (mouse-wheel-mode):
18938 * outline.el (outline-minor-mode):
18939 * paren.el (show-paren-mode):
18940 * recentf.el (recentf-mode):
18941 * reveal.el (reveal-mode, global-reveal-mode):
18942 * rfn-eshadow.el (file-name-shadow-mode):
18943 * ruler-mode.el (ruler-mode):
18944 * savehist.el (savehist-mode):
18945 * scroll-all.el (scroll-all-mode):
18946 * scroll-bar.el (scroll-bar-mode):
18947 * server.el (server-mode):
18948 * shell.el (shell-dirtrack-mode):
18949 * simple.el (auto-fill-mode, transient-mark-mode)
18950 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18951 (line-number-mode, column-number-mode, size-indication-mode)
18952 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18953 * strokes.el (strokes-mode):
18954 * time.el (display-time-mode):
18955 * t-mouse.el (gpm-mouse-mode):
18956 * tool-bar.el (tool-bar-mode):
18957 * tooltip.el (tooltip-mode):
18958 * type-break.el (type-break-mode-line-message-mode)
18959 (type-break-query-mode):
18960 * view.el (view-mode):
18961 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18962 (global-whitespace-mode, global-whitespace-newline-mode):
18963 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18965 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18966 Fix autogenerated docstring.
18968 2011-10-19 Juri Linkov <juri@jurta.org>
18970 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18971 by checking environment variables "DESKTOP_SESSION" and
18972 "XDG_CURRENT_DESKTOP". (Bug#9779)
18974 2011-10-19 Juri Linkov <juri@jurta.org>
18976 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18977 (browse-url-chromium-program, browse-url-chromium-arguments):
18979 (browse-url-default-browser): Check for `browse-url-chromium' and
18980 call `browse-url-chromium-program'.
18981 (browse-url-chromium): New command. (Bug#9779)
18983 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18985 * facemenu.el (list-colors-duplicates): On Windows, detect more
18986 duplicates by assuming that only colors matching "^System" are
18987 special "system colors". (Bug#9722)
18989 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18991 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18992 to distinguish the author from the committer.
18994 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18996 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18998 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19000 * international/mule.el (sgml-html-meta-auto-coding-function):
19001 Add support for detecting encoding in HTML5 specified only as
19002 <meta charset="UTF-8">. Implementation just makes http-equiv and
19003 content-type parts from HTML4 encoding string optional. (Bug#9716)
19005 2011-10-18 Glenn Morris <rgm@gnu.org>
19007 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19009 2011-10-18 Chong Yidong <cyd@gnu.org>
19011 * faces.el (cursor): Doc fix.
19013 2011-10-17 Chong Yidong <cyd@gnu.org>
19015 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19017 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19019 * dirtrack.el (dirtrack): Support shell buffers with path
19020 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19022 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19024 * json.el: Bump version to 1.3 and note change in History.
19025 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19027 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19029 * comint.el (comint-insert-input, comint-send-input)
19030 (comint-get-old-input-default, comint-backward-matching-input)
19031 (comint-next-prompt): Use nil instead of `input' for field property of
19032 past user input (bug#114).
19034 * minibuffer.el (completion--replace): Inherit surrounding properties
19036 (minibuffer-complete-and-exit): Use it.
19038 * comint.el (comint--table-subvert): Quote the all-completions output
19041 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19043 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19045 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19046 window on right of selected. (Bug#9350) Reword other window
19047 entries and separate them from frame entries.
19049 2011-10-15 Glenn Morris <rgm@gnu.org>
19051 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19054 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19056 * net/network-stream.el (network-stream-open-starttls):
19057 Improve detection of failure due to lack of TLS support.
19059 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19060 putting the input text in front and in bold.
19062 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19066 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19069 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19070 unread-command-events rather than pushing yet-another event.
19072 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19074 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19075 the explanation of the possible choices. Make the options passed
19076 to completing-read shorter.
19078 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19080 * textmodes/flyspell.el (flyspell-large-region): Make sure
19081 extended character mode is used if defined (Bug#1339).
19083 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19085 * simple.el (what-cursor-position): Fix the display of the
19086 character info for LRE, LRO, RLE, and RLO characters by appending
19089 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19091 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19092 even in case of error; add debug spec; simplify data flow.
19093 (with-timeout-handler): Remove.
19095 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19097 Fix Bug#6019, Bug#9315.
19099 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19100 complete `buffer-file-name', the local file name part could look
19101 remotely (for example on VMS).
19103 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19104 `tramp-run-real-handler'.
19105 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19106 already quoted by '"'.
19108 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19109 Let `file-name-handler-alist' be nil, the local file name part
19110 could look remotely (for example on VMS).
19112 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19114 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19116 (flyspell-post-command-hook): ...to here.
19118 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19120 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19122 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19123 using completion. Protect against "slow" callers.
19124 Remove the "message hack".
19126 2011-10-11 Juri Linkov <juri@jurta.org>
19128 * isearch.el (isearch-lazy-highlight-word): New variable.
19129 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19132 2011-10-11 Glenn Morris <rgm@gnu.org>
19134 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19135 like f90-previous-statement does.
19137 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19139 * eshell/eshell.el (eshell-command): History should be saved
19140 only in interactive use, to avoid error.
19142 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19144 * minibuffer.el (completion-file-name-table): Fix last change,
19145 i.e. ignore normal errors but not the other ones.
19147 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19149 * window.el (special-display-buffer-names)
19150 (special-display-regexps): Remove some remnants of earlier
19151 changes from doc-strings.
19152 (quit-windows-on): New function.
19154 * vc/vc.el (vc-revert, vc-rollback):
19155 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19156 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19157 (Bug#6183) (Bug#7074) (Bug#7447)
19159 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19161 * window.el (frame-auto-hide-function): Add version tag.
19164 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19166 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19169 2011-10-09 Leo Liu <sdl.web@gmail.com>
19171 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19174 2011-10-08 Glenn Morris <rgm@gnu.org>
19176 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19177 before the first code statement zero indent. (Bug#9690)
19179 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19181 * simple.el (count-words-region): Always count in the region.
19182 Report the number of lines and characters too.
19183 (count-words): New command, which counts in the buffer if the
19184 region is inactive, as count-words-region used to.
19185 (count-words--message): New function. Handle plurals.
19186 (count-lines-region): Make it an alias for count-words-region.
19188 * bindings.el (esc-map): Replace count-lines-region with
19189 count-words-region.
19191 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19193 * window.el (window--delete): Delete dedicated frame
19194 unconditionally when argument KILL is non-nil. (Bug#9699)
19195 (switch-to-buffer): Fix doc-string typo.
19197 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19199 * eshell/eshell.el (eshell-command): Avoid using hooks.
19201 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19203 * bindings.el ([M-left],[M-right]): Bind to left-word and
19204 right-word respectively.
19206 2011-10-07 Glenn Morris <rgm@gnu.org>
19208 * cus-start.el (debug-on-quit): Fix custom type.
19210 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19212 * subr.el (define-key-after): Clarify that the function is not
19213 useful for non-menu keymaps.
19215 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19217 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19219 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19220 in current minibuffer (Fix bug with recursive minibuffers).
19222 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19224 * progmodes/gdb-mi.el (gdb): Doc fix.
19226 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19228 * window.el (frame-auto-hide-function): New option replacing
19229 frame-auto-delete. Suggested by Stefan Monnier.
19230 (window--delete): Call frame-auto-hide-function instead of
19231 investigating frame-auto-delete.
19232 (window-point-1, set-window-point-1): New functions.
19233 (window-in-direction, record-window-buffer, window-state-get-1)
19234 (display-buffer-record-window): Use window-point-1 instead of
19236 (set-window-buffer-start-and-point): Use set-window-point-1.
19238 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19240 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19242 2011-10-05 Glenn Morris <rgm@gnu.org>
19244 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19245 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19247 2011-10-05 Leo Liu <sdl.web@gmail.com>
19249 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19250 works with buffer object.
19252 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19254 * mpc.el (mpc-tool-bar-map): Add labels.
19256 2011-10-04 Glenn Morris <rgm@gnu.org>
19258 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19260 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19262 * window.el (window--delete): New function.
19263 (frame-auto-delete): Resuscitate option.
19264 (bury-buffer, replace-buffer-in-windows)
19265 (quit-window): Rewrite using window--delete.
19266 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19267 Pass display-buffer-mark-dedicated to window--display-buffer-2
19270 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19272 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19273 returns a list (bug#9554). Add remote file name completion.
19274 * comint.el (comint--table-subvert): Curry and get quote&unquote
19275 functions as arguments.
19276 (comint--complete-file-name-data): Adjust call accordingly.
19277 * pcomplete.el (pcomplete--table-subvert): Remove.
19278 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19280 * minibuffer.el (completion-table-case-fold): Use currying.
19281 (completion--styles-type, completion--cycling-threshold-type):
19283 (completion-styles, completion-category-overrides)
19284 (completion-cycle-threshold): Use them.
19285 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19286 completion-table-case-fold.
19288 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19290 * minibuffer.el (completion-category-overrides): Fix type of styles
19291 and add more user friendly tags (bug#9660).
19293 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19295 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19296 (mule-input-method-string): New widget.
19297 (default-input-method, language-info-custom-alist): Use it.
19299 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19301 * pcomplete.el: Require comint.
19302 (pcomplete--common-suffix): Remove.
19303 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19304 (pcomplete--table-subvert): Sync with comint--table-subvert.
19305 (pcomplete--entries): Use comint-completion-file-name-table.
19306 * comint.el (comint-unquote-filename): Simplify.
19307 (comint-completion-file-name-table): New function (bug#9616).
19308 (comint--complete-file-name-data): Use it.
19310 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19311 (pcmpl-gnu-tar-buffer): Remove.
19312 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19313 around. Make sure pcomplete-suffix-list is only changed temporarily.
19314 Don't look inside the tar's file if it's too large.
19316 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19318 * cus-edit.el (custom-mode-map):
19319 * epa.el (epa-key-list-mode-map):
19320 * man.el (Man-mode-map):
19321 * startup.el (splash-screen-keymap):
19322 * simple.el (special-mode-map): Use scroll-up-command and
19323 scroll-down-command.
19325 * progmodes/idlw-help.el (idlwave-help-mode-map):
19326 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19327 * net/newst-plainview.el (newsticker-mode-map):
19328 * emulation/ws-mode.el (wordstar-mode-map):
19329 * emulation/vi.el (vi-com-map):
19330 * calc/calc-graph.el (calc-graph-show-dumb):
19331 * term/sun.el (terminal-init-sun):
19332 * term/ns-win.el (global-map):
19333 * progmodes/grep.el (grep-mode-map):
19334 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19335 * mail/rmail.el (rmail-mode-map):
19336 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19338 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19339 custom-safe-themes as special.
19341 2011-10-01 Julien Danjou <julien@danjou.info>
19343 * notifications.el (notifications-notify): Fix docstring.
19345 2011-10-01 Per Starbäck <per@starback.se>
19347 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19349 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19351 * startup.el (command-line-1): Fix last fix by inserting
19352 initial-scratch-message into *scratch* before displaying it.
19353 (Bug#9605) and (Bug#9636)
19355 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19357 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19358 window is hscrolled, move by logical lines. (Bug#9607)
19359 (line-move-visual): Update the doc string to the above effect.
19361 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19363 * window.el (display-buffer-record-window): When WINDOW is the
19364 selected window use `point' instead of `window-point'. (Bug#9626)
19366 * startup.el (command-line-1): Use insert-before-markers when
19367 inserting initial-scratch-message. (Bug#9605)
19369 * help.el (help-window): Remove variable.
19371 2011-09-29 Glenn Morris <rgm@gnu.org>
19373 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19375 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19377 * descr-text.el (describe-char-categories): Accept category
19378 descriptions more than one line long.
19380 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19382 * simple.el (delete-trailing-whitespace): Fix last change.
19384 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19385 Don't confuse "y => 3" as the beginning of a `y' operation.
19387 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19388 object has more than 4 slots (bug#9613).
19390 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19392 * subr.el (with-output-to-temp-buffer):
19393 * net/quickurl.el (quickurl, quickurl-browse-url):
19394 Fix typos in docstrings.
19396 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19398 * minibuffer.el (completion-styles)
19399 (completion-category-overrides): Cross reference each other in doc
19402 2011-09-27 Glenn Morris <rgm@gnu.org>
19404 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19405 to split-string. (Bug#9606)
19407 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19409 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19412 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19414 * emacs-lisp/package.el (list-packages): Fix echo area message.
19416 2011-09-27 Leo Liu <sdl.web@gmail.com>
19418 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19420 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19422 * net/dbus.el (dbus-unregister-object): Don't release services for
19423 registered signals. (Bug#9581)
19425 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19427 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19428 function that picks between cfengine 2 and 3 support
19429 automatically. Update docs accordingly.
19431 2011-09-22 Kenichi Handa <handa@m17n.org>
19433 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19435 (indian-itrans-v5-table-for-tamil): New variable.
19436 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19438 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19440 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19441 that's true if the current command involved collapsing of text.
19442 It's reset to false at the beginning of the next command.
19443 (allout-post-command-business): Move the cursor to the beginning
19444 of entry if the cursor is hidden and collapsing activity just
19447 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19449 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19450 tracking (Bug#9541).
19452 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19454 * net/newst-reader.el (newsticker-html-renderer)
19455 (newsticker-show-news): Automatically load html rendering package
19456 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19457 because w3m-fill-column is let-bound" and the error "Symbol's value
19458 as variable is void: w3m-fill-column".
19460 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19462 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19463 Release services only if they are defined. (Bug#9581)
19465 2011-09-23 Richard Stallman <rms@gnu.org>
19467 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19468 distinguish start of paragraph from start of its text.
19470 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19472 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19473 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19474 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19476 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19478 * international/mule-diag.el (mule-diag): Insert a newline after
19479 each fontset description.
19481 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19483 * simple.el (delete-trailing-whitespace):
19484 Document last change; simplify.
19486 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19488 * simple.el (delete-trailing-whitespace): Also delete
19489 extra newlines at the end of the buffer.
19491 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19492 (picture-newline): Use forward-line so as to ignore fields.
19494 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * subr.el (with-wrapper-hook): Fix edebug spec.
19498 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19500 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19503 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19505 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19506 Fix nasty bug using wrong cached values.
19508 2011-09-23 Alan Mackenzie <acm@muc.de>
19510 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19512 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19514 * window.el (pop-to-buffer): Ensure right window is selected if we
19515 chose another frame.
19517 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19519 * simple.el (what-cursor-position): Use get-char-property-change
19520 and next-single-char-property-change, to be able to show display
19521 properties that come from overlays as well as text properties.
19523 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19525 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19527 * cmuscheme.el (run-scheme, switch-to-scheme):
19528 * cus-edit.el (customize-group, custom-buffer-create)
19529 (customize-browse):
19531 * shell.el (shell):
19532 * mail/sendmail.el (mail):
19533 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19535 2011-09-22 Richard Stallman <rms@gnu.org>
19537 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19538 move back only to line beg, don't move back over blank lines.
19540 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19542 * files.el (copy-directory): Set directory attributes only in case
19543 they could be retrieved from the source directory. (Bug#9565)
19545 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19547 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19548 (hs-find-block-beginning, hs-hide-level-recursive):
19549 Ignore strings as well as comments. (Bug#9502)
19551 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19553 * progmodes/sql.el (sql-comint-postgres):
19554 Convert port number to a string. (Bug#9566)
19556 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19558 * window.el (quit-window): Undedicate window when switching to
19559 previous buffer. Reported by Thierry Volpiatto
19560 <thierry.volpiatto@gmail.com>.
19561 (special-display-popup-frame): When popping up a new frame reset
19562 its previous buffers to nil. Simplify code.
19564 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19566 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19567 and process filter, as done also in `shell-command'.
19569 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19571 * window.el (set-window-buffer-start-and-point):
19572 Call set-window-start with NOFORCE argument t.
19573 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19574 (quit-window): Reword doc-string. Handle new format of
19575 quit-restore parameter. Don't delete window if it has a
19576 previous buffer we can show instead of the present one.
19577 (display-buffer-record-window): Rewrite using a new format for
19578 the quit-restore window parameter
19579 (special-display-popup-frame, display-buffer-same-window)
19580 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19581 (display-buffer-pop-up-window, display-buffer-use-some-window):
19582 Adapt symbol passed to display-buffer-record-window.
19583 * help.el (help-window-setup): Handle new format of quit-restore
19586 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19588 * faces.el (face-list): Fix docstring (bug#9564).
19590 * window.el (display-buffer--action-function-custom-type):
19591 Don't include internal functions in the Custom interface.
19593 2011-09-20 Juri Linkov <juri@jurta.org>
19595 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19596 (Info-forward-node, Info-backward-node, Info-next-preorder)
19597 (Info-last-preorder): Use it. (Bug#9528)
19599 2011-09-20 Juri Linkov <juri@jurta.org>
19601 * info.el (Info-last-preorder): Visit last menu item only when
19602 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19604 2011-09-20 Julien Danjou <julien@danjou.info>
19606 * password-cache.el (password-cache-remove): Remove entries even if the
19607 value is nil, so that password with a nil value (negative caching) is
19608 possible to invalidate.
19610 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19612 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19613 all whitespace around breakpoint. (Bug#9553)
19614 (f90-find-breakpoint): Only break at whitespace inside a comment.
19616 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19618 * minibuffer.el (completion-file-name-table): Keep track of errors.
19619 (completion-table-with-predicate): Handle the case where pred1 is nil.
19620 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19622 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19625 (debugger-return-value): Signal an error if the debugging context does
19626 not await any return value.
19628 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19629 * image-mode.el (image-toggle-display-text)
19630 (image-toggle-display-image): Stay away from evil `intangible'.
19632 2011-09-19 Leo Liu <sdl.web@gmail.com>
19634 * replace.el (occur-revert-arguments): Make it permanent-local.
19635 (occur-mode): Don't call font-lock-defontify.
19637 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19639 * net/ldap.el (ldap-search-internal): Don't push empty search
19642 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19644 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19646 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19648 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19649 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19651 2011-09-18 Juri Linkov <juri@jurta.org>
19653 * buff-menu.el (Buffer-menu-mode-map):
19654 * dired.el (dired-mode-map):
19655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19656 (lisp-interaction-mode-map):
19657 * emacs-lisp/package.el (package-menu-mode-map):
19658 * epa.el (epa-key-list-mode-map):
19659 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19660 (menu-bar-options-menu):
19661 * outline.el (outline-mode-menu-bar-map):
19662 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19663 * vc/vc-dir.el (vc-dir-menu-map):
19664 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19665 Capitalize non-function content words in menu item strings.
19667 * dired.el (dired-mode-map): Add menu item for
19668 `image-dired-dired-toggle-marked-thumbs'.
19670 2011-09-18 Juri Linkov <juri@jurta.org>
19672 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19673 to `isearch-case-fold-search' and restore its original value
19674 after the `isearch-mode' call.
19676 2011-09-18 Juri Linkov <juri@jurta.org>
19678 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19679 because `zgrep' returns 1 for successful matches (bug#9226).
19681 2011-09-18 Juri Linkov <juri@jurta.org>
19683 * info.el (Info-extract-menu-node-name): Check the second match
19684 for empty string (second test-case of bug#9528).
19685 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19686 intermediate nodes to the history (first test-case of bug#9528).
19688 2011-09-18 Juri Linkov <juri@jurta.org>
19690 * info.el (Info-mode-syntax-table): New variable.
19691 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19693 2011-09-18 Juri Linkov <juri@jurta.org>
19695 * info.el (Info-file-supports-index-cookies):
19696 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19697 outputs one more line for long file names (bug#4142).
19699 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19701 * newcomment.el (comment-normalize-vars): If prompting for
19702 comment-start, set comment-start-skip too (Bug#8424).
19704 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19706 * icomplete.el: Fix previous fix of Bug#5849.
19707 (icomplete-mode): Don't set completion-show-inline-help.
19708 (icomplete-minibuffer-setup): Set completion-show-inline-help
19709 locally during icompletion.
19711 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19713 * woman.el (woman2-process-escapes): Don't delete unrecognized
19714 escapes (Bug#7843).
19716 * files.el (inhibit-first-line-modes-regexps): Add image files.
19717 (hack-local-variables-prop-line): Return nil for malformed
19718 prop-lines (Bug#9044).
19720 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19722 * net/tramp.el (top): Don't require 'shell.
19723 (tramp-methods): Fix docstring.
19724 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19725 Return complete remote file name. Handle "smb" case.
19726 Use `tramp-tmpdir', if defined for the respective method.
19727 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19729 * net/tramp-compat.el (top): Require 'shell.
19731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19732 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19733 `tramp-current-host'.
19734 (tramp-get-remote-tmpdir): Remove.
19736 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19737 `tramp-tmpdir' entries.
19738 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19739 (tramp-smb-handle-file-attributes): Ignore errors.
19740 (tramp-smb-wait-for-output): Check also for process end.
19742 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19744 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19745 when sending QUIT (bug#9312).
19747 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19749 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19750 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19751 occur-mode-display-occurrence.
19752 (occur-edit-mode): Add usage message.
19753 (occur-cease-edit): New command.
19754 (occur-after-change-function): Use text properties to find the
19755 position of the prefix text.
19756 (occur-engine): Set stickiness of prefix text properties.
19758 2011-09-17 Glenn Morris <rgm@gnu.org>
19760 * progmodes/etags.el (complete-tag):
19761 Fix call to completion-in-region. (Bug#9526)
19763 2011-09-17 Juri Linkov <juri@jurta.org>
19765 * textmodes/ispell.el (ispell-word): Add to the error message
19766 the word, ispell program name and current dictionary (bug#9121).
19767 (ispell-tex-arg-end): Capitalize "error" in the error message.
19769 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19771 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19774 2011-09-17 Juri Linkov <juri@jurta.org>
19776 * window.el (window-safe-min-height, window-safe-min-width):
19777 Fix typos (followup to bug#9522).
19779 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19781 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19783 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19785 * simple.el (line-move): If goal-column is set, move by logical
19786 lines, not by display lines. (Bug#971)
19787 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19788 to reflect the above change.
19790 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19792 * image.el (imagemagick-register-types): Use regexp-opt.
19794 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19796 * window.el (display-buffer-base-action): Rename from
19797 display-buffer-default-action. Make default value empty.
19798 (display-buffer-overriding-action): Convert to defvar.
19799 (display-buffer-fallback-action): New var.
19801 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19803 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19805 (package--add-to-archive-contents): If there is a duplicate entry
19806 with an older version, remove it.
19807 (package-menu-mark-delete, package-menu-mark-install)
19808 (package-menu-mark-unmark): Make unused args optional.
19809 (package-menu-mark-obsolete-for-deletion):
19810 Use package-menu-get-status instead of a regexp search.
19811 (package-menu-get-status): Use tabulated-list-entry.
19812 (package-menu-mark-upgrades): New command.
19813 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19814 (package-menu-execute): Do installation before deletion.
19815 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19816 instead of checking major-mode.
19817 (package-menu--find-upgrades): New function.
19819 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19821 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19822 passwords in the log buffer.
19823 (smtpmail-process-filter): Update the process marker so that the
19824 "broken by peer" status message is inserted in the right place.
19826 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19828 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19829 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19830 bibtex-completion-at-point-function.
19831 (bibtex-completion-at-point-function): Use them.
19833 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19835 * mpc.el (mpc-constraints-tag-lookup): New function.
19836 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19837 also to browser "album|playlist".
19839 2011-09-14 Juri Linkov <juri@jurta.org>
19841 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19842 (isearch-edit-string): Use length of `isearch-string' when
19843 `isearch-fail-pos' returns nil.
19844 (isearch-message): Remove duplicate code and call
19845 `isearch-fail-pos' with arg `t'.
19847 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19849 * replace.el (occur-mode-goto-occurrence): Don't force using other
19852 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19854 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19856 * window.el (display-buffer-window): Remove.
19857 (display-buffer-record-window): Use help-setup window parameter
19858 instead of variable display-buffer-window.
19859 (display-buffer-function, special-display-buffer-names)
19860 (special-display-function): Mention help-setup parameter instead
19861 of display-buffer-window in doc-string.
19862 * help.el (help-window-setup): New argument help-window.
19863 Use help-window-setup parameter instead of display-buffer-window.
19864 Reword some messages.
19865 (with-help-window): Pass window used for displaying the buffer
19866 to help-window-setup. Don't set display-buffer-window.
19868 2011-09-13 Glenn Morris <rgm@gnu.org>
19870 * emacs-lisp/debug.el (debugger-make-xrefs):
19871 Preserve point. (Bug#9462)
19873 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19875 * window.el (window-deletable-p): Use next-frame.
19877 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19879 * window.el (window-auto-delete): Remove.
19880 (window-deletable-p): Remove argument FORCE. Don't deal with
19881 dedication and previous buffers.
19882 (switch-to-prev-buffer): Don't delete window.
19883 (delete-windows-on): Delete a window's frame if and only if the
19884 window is dedicated.
19885 (replace-buffer-in-windows): Delete buffer's window or frame if
19886 and only if window is dedicated.
19887 (quit-window): Handle quit-restore as before last change.
19888 (bury-buffer): Delete window only if window-deletable-p returns t.
19890 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19892 * window.el (window-deletable-p): Never delete the last frame on a
19895 2011-09-13 Glenn Morris <rgm@gnu.org>
19897 * help.el (describe-key-briefly): Copy previous standard-output change.
19899 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19901 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19903 2011-09-13 Glenn Morris <rgm@gnu.org>
19905 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19906 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19908 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19910 * dired-aux.el (dired-mark-read-string): Don't return default
19911 value on empty input (Bug#9361).
19912 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19913 Omit initial minibuffer contents.
19914 (dired-do-chmod): Signal an error on empty input.
19915 (dired-mark-read-string): Don't return default on empty input.
19917 * files.el (file-modes-symbolic-to-number): Doc fix.
19919 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19921 * international/mule-cmds.el (ucs-completions): Remove.
19922 (read-char-by-name): Use complete-with-action instead; add metadata.
19924 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19926 * window.el (display-buffer--action-function-custom-type)
19927 (display-buffer--action-custom-type): New vars.
19928 (display-buffer-alist, display-buffer-default-action)
19929 (display-buffer-overriding-action): Add defcustom types.
19931 * frame.el (delete-other-frames): Doc fix (Bug#276).
19933 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19935 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19937 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19939 Change modes that used same-window-* vars to use switch-to-buffer.
19941 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19942 Use switch-to-buffer.
19944 * cus-edit.el (customize-group, custom-buffer-create)
19945 (customize-browse, custom-buffer-create-other-window):
19946 Use switch-to-buffer or switch-to-buffer-other-window.
19948 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19949 (Info-prev, Info-up, Info-speedbar-goto-node)
19950 (info-display-manual): Use switch-to-buffer.
19951 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19953 * mail/sendmail.el (mail): Use switch-to-buffer.
19954 (mail-recover): Use switch-to-buffer-other-window.
19956 * cmuscheme.el (run-scheme, switch-to-scheme):
19958 * shell.el (shell):
19959 * net/rlogin.el (rlogin):
19960 * net/telnet.el (telnet, rsh):
19961 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19963 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19965 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19967 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19969 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19970 so don't mention it (bug#9301).
19971 (dired-sort-toggle-or-edit): Clarify string further.
19973 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19974 match `x', `w32' and `ns', like the manual says (bug#9029).
19976 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19977 (process-kill-buffer-query-function): Mention the buffer name in
19980 * image-mode.el (image-next-line): The line parameter is mandatory
19983 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19984 which can be useful (bug#9301).
19986 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19988 * subr.el (match-string): Mention that the current buffer should
19989 be the same as the search was done in (bug#9282).
19991 * facemenu.el: Disable the remove-* commands if the mark isn't
19994 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19996 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19998 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20000 * replace.el (occur-mode-goto-occurrence)
20001 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20002 and display-buffer.
20004 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20007 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20008 special-display and same-window variables.
20009 (mail-other-window): Use switch-to-buffer-other-window.
20010 (mail-other-frame): USe switch-to-buffer-other-frame.
20012 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20013 Use display-buffer-other-frame.
20014 (gdb-display-gdb-buffer): Use pop-to-buffer.
20016 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20018 * progmodes/python.el: Don't set same-window-buffer-names.
20020 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20022 * window.el (display-buffer-alist): Add *Python*.
20024 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20026 * window.el (display-buffer-alist): Add entry for buffers
20027 previously handled same-window-*.
20028 (display-buffer-alist, display-buffer-default-action)
20029 (display-buffer-overriding-action): Mark as risky.
20030 (display-buffer-alist): Document action function changes.
20031 (display-buffer--same-window-action)
20032 (display-buffer--other-frame-action): New variables.
20033 (switch-to-buffer, display-buffer-other-frame): Use them.
20034 (display-buffer): Rename reuse-frame entry to reusable-frames.
20035 (display-buffer-reuse-selected-window): Function deleted.
20036 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20037 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20038 (display-buffer-special): New function.
20039 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20040 display-buffer-reuse-or-pop-window. Split off special-display
20041 part into display-buffer-special.
20042 (display-buffer-use-some-window): Don't perform any special
20043 pop-up-frames handling.
20044 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20045 (display-buffer--maybe-same-window): Rename from
20046 display-buffer-maybe-same-window.
20048 * info.el: Don't set same-window-regexps.
20049 (info-setup): New function.
20050 (info-other-window, info): Call it.
20052 * cus-edit.el: Don't set same-window-regexps.
20053 (customize-group): New argument.
20054 (customize-group-other-window): Use it.
20055 (customize-face, customize-face-other-window): Likewise.
20056 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20060 * progmodes/gud.el: Don't set same-window-regexps.
20065 * mail/sendmail.el:
20066 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20068 2011-09-10 Juri Linkov <juri@jurta.org>
20070 * isearch.el (isearch-edit-string): Remove obsolete mention of
20071 `C-w' (`isearch-yank-word-or-char') from docstring.
20072 (isearch-query-replace): Fix typo in docstring (bug#9466).
20074 2011-09-10 Juri Linkov <juri@jurta.org>
20076 * paren.el (show-paren-function): Don't show escaped parens.
20077 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20079 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20081 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20082 (mm-default-file-encoding): Remove autoload forms, they are
20083 replaced with autoload cookies in mml.el and mm-encode.el.
20084 (mail-add-attachment): New command.
20085 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20086 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20088 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20090 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20092 * simple.el (count-words-region): Use buffer if there's no region
20095 2011-09-09 Juri Linkov <juri@jurta.org>
20097 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20098 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20099 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20101 2011-09-09 Alan Mackenzie <acm@muc.de>
20103 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20104 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20106 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20108 Fix for Savannah bug#9392.
20109 * simple.el (mail-encode-mml): New defvar.
20111 * mail/rmail.el (mail-encode-mml): Add a defvar.
20112 (rmail-enable-mime-composing): Default to t.
20113 (rmail-forward): Use MIME method of forwarding only if both
20114 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20115 Set mail-encode-mml non-nil if the MIME method was used.
20117 * mail/sendmail.el (mml-to-mime): Add autoload form.
20118 (mail-encode-mml): Add a defvar.
20119 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20121 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20122 message through mml-to-mime, and reset mail-encode-mml to nil.
20124 2011-09-09 Glenn Morris <rgm@gnu.org>
20126 * woman.el (woman-if-body): When processing an .el block,
20127 do not delete the next .el block as well. (Bug#9447)
20128 (woman-special-characters): Add oq, cq, and hy characters.
20130 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20132 * window.el (window-deletable-p): Make sure window is live before
20133 invoking window-prev-buffers.
20135 2011-09-08 Leo Liu <sdl.web@gmail.com>
20137 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20139 2011-09-08 Juri Linkov <juri@jurta.org>
20141 * progmodes/compile.el (compilation-environment): Make it
20142 a defcustom (bug#8340).
20144 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20146 * window.el (frame-auto-delete): Rename to window-auto-delete.
20147 Make it control auto-deletion of windows and/or frames.
20148 (window-deletable-p): New argument FORCE. Rewrite conditions
20149 for deleting window/frame. (Bug#9419)
20150 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20151 Rewrite handling of case when window/frame can be deleted.
20152 (delete-windows-on): Call window-deletable-p with new FORCE
20153 argument t. (Bug#9456)
20155 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20157 * help-mode.el (help-mode): Restore autoload.
20159 2011-09-07 Juri Linkov <juri@jurta.org>
20161 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20162 `compilation-environment'. Set buffer-local
20163 `compilation-environment' to `thisenv' later after (funcall mode).
20166 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20167 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20168 instead of replacing its value. (Bug#8340)
20170 2011-09-07 Juri Linkov <juri@jurta.org>
20172 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20173 based on text properties put by `grep-filter' instead of matching
20175 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20176 to the value of `grep-error-screen-columns' (bug#9438).
20178 2011-09-07 Juri Linkov <juri@jurta.org>
20180 * simple.el (next-error-highlight, next-error-highlight-no-select):
20181 Doc fix (bug#9432).
20183 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20186 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20188 2011-09-07 Leo Liu <sdl.web@gmail.com>
20190 * net/rcirc.el (rcirc-mode): Conditionally initialize
20193 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20195 * emacs-lisp/find-func.el (find-function-C-source): Only set
20196 find-function-C-source-directory after checking that we found a source
20197 file there (bug#9440).
20199 2011-09-06 Alan Mackenzie <acm@muc.de>
20201 * isearch.el (isearch-other-meta-char): Wherever a key list is
20202 unread, "unread" the prefix arg, too. This fixes bug #8901.
20204 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20206 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20208 2011-09-05 Juri Linkov <juri@jurta.org>
20210 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20212 2011-09-05 Juri Linkov <juri@jurta.org>
20214 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20215 keeping point where processing of grep matches begins, and
20216 continue to delete remaining escape sequences from the same point.
20217 (grep-filter): Make leading zero optional in "0?1;31m" because
20218 git-grep emits "\033[1;31m" escape sequences unlike expected
20219 "\033[01;31m" as GNU Grep does (bug#9408).
20220 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20222 2011-09-05 Juri Linkov <juri@jurta.org>
20224 * subr.el (y-or-n-p): Capitalize "yes".
20226 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20228 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20229 `tramp-cache-unload-hook' where appropriate.
20230 (tramp-methods): Rename `tramp-remote-sh' to
20231 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20232 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20234 * net/tramp-sh.el (top): Don't require 'shell.
20235 (tramp-methods): Add `tramp-remote-shell' and
20236 `tramp-remote-shell-args' entries.
20237 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20238 (tramp-sh-handle-shell-command): Remove.
20239 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20240 Use `tramp-remote-shell'.
20242 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20244 * mail/sendmail.el (sendmail-query-once-function): Delete.
20245 (sendmail-query-once): Save directly to send-mail-function.
20246 Update message-send-mail-function too.
20248 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20250 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20252 * progmodes/python.el (python-mode-map): Use correct function to
20253 start python interpreter from menu-bar (as reported by Geert
20255 (inferior-python-mode-map): Fix typo.
20256 (python-shell-map): Remove.
20258 2011-09-03 Deniz Dogan <deniz@dogan.se>
20260 * net/rcirc.el (rcirc-print): Simplify code for
20261 rcirc-scroll-show-maximum-output. There is no need to walk
20262 through all windows to find the right one.
20264 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20266 * help.el (help-return-method): Doc fix.
20268 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20270 * window.el (window-deletable-p): Don't return a non-nil value
20271 when there's a buffer that was shown in the window before.
20273 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20274 Set window's previous buffers to nil.
20276 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20278 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20279 newline before and after the tag line, so it doesn't interfere
20280 with determining the paragraph direction of bidirectional text.
20282 2011-09-03 Leo Liu <sdl.web@gmail.com>
20284 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20286 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20288 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20289 (pop-to-buffer): Change interactive spec. Pass second argument
20290 directly to display-buffer.
20291 (display-buffer): Fix interactive spec. Use functionp to
20292 distinguish between a function and a list of functions.
20294 * abbrev.el (edit-abbrevs):
20295 * arc-mode.el (archive-extract):
20296 * autoinsert.el (auto-insert):
20297 * bookmark.el (bookmark-bmenu-list):
20298 * files.el (find-file):
20299 * view.el (view-buffer):
20300 * progmodes/compile.el (compilation-goto-locus):
20301 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20303 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20305 * window.el (display-buffer-alist): Doc fix.
20306 (display-buffer): Add docstring. Don't treat
20307 display-buffer-default specially.
20308 (display-buffer-reuse-selected-window)
20309 (display-buffer-same-window, display-buffer-maybe-same-window)
20310 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20311 (display-buffer-pop-up-window)
20312 (display-buffer-reuse-or-pop-window)
20313 (display-buffer-use-some-window): New functions.
20314 (display-buffer-default-action): Use them.
20315 (display-buffer-default): Delete.
20316 (pop-to-buffer-1): Fix choice of actions.
20318 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20320 * minibuffer.el (completion--insert-strings): Don't get confused by
20321 completion entries that end with an LF char.
20323 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20325 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20327 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20329 * window.el (display-buffer): Restore interactive spec.
20330 (display-buffer-same-window, display-buffer-other-window):
20332 (pop-to-buffer-1): New function. Use the above.
20333 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20334 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20336 * view.el (view-buffer-other-window, view-buffer-other-frame):
20337 Just use pop-to-buffer.
20339 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20341 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20343 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20345 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20347 2011-08-31 Richard Stallman <rms@gnu.org>
20349 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20350 of the separation of rmail-view-buffer from rmail-buffer.
20351 If you say no to "replace original", the decrypt is in the
20352 view buffer. If you say yes, the decrypt goes into the
20355 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20357 * window.el (display-buffer-window): Rewrite doc-string.
20358 (display-buffer-record-window): New function.
20359 (display-buffer-macro-specifiers)
20360 (display-buffer-even-window-sizes, display-buffer-set-height)
20361 (display-buffer-set-width, display-buffer-in-window)
20362 (display-buffer-reuse-window, display-buffer-split-specifiers)
20363 (display-buffer-side-specifiers, display-buffer-split-window-1)
20364 (display-buffer-split-window, display-buffer-split-atom-window)
20365 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20366 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20367 (display-buffer-other-window-means-other-frame)
20368 (display-buffer-normalize-special)
20369 (display-buffer-normalize-default)
20370 (display-buffer-normalize-argument)
20371 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20372 (display-buffer-normalize-specifiers, display-buffer-frame)
20373 (display-buffer-same-window, display-buffer-same-frame)
20374 (display-buffer-other-window)
20375 (display-buffer-same-frame-other-window)
20376 (display-buffer-other-frame, pop-to-buffer-same-window)
20377 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20378 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20379 (switch-to-buffer-same-frame)
20380 (switch-to-buffer-other-window-same-frame)
20381 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20382 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20383 (display-buffer-alist-set): Remove.
20384 (display-buffer-function, special-display-buffer-names)
20385 (special-display-regexps, special-display-function):
20386 In doc-string refer to display-buffer-window and quit-restore
20388 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20389 (special-display-frame-alist, special-display-popup-frame)
20390 (same-window-buffer-names, same-window-regexps, same-window-p)
20391 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20392 (split-window-preferred-function, split-height-threshold)
20393 (split-width-threshold, window-splittable-p)
20394 (split-window-sensibly, window--try-to-split-window)
20395 (window--frame-usable-p, even-window-heights)
20396 (window--even-window-heights, window--display-buffer-1)
20397 (window--display-buffer-2, display-buffer-other-frame):
20398 Restore old Emacs 23 code, order and doc-strings where applicable.
20399 (display-buffer-default, display-buffer-assq-regexp): New functions.
20400 (display-buffer-alist): Rewrite doc-string.
20401 (display-buffer-default-action)
20402 (display-buffer-overriding-action): New variables.
20403 (display-buffer, switch-to-buffer): Rewrite.
20404 (pop-to-buffer): Restore Emacs 23 behavior but use
20405 window-normalize-buffer-to-display.
20406 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20407 Restore Emacs 23 behavior but use
20408 window-normalize-buffer-to-switch-to.
20409 (pop-to-buffer-same-window): Rewrite.
20410 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20411 Rewrite using Emacs 23 options.
20413 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20415 * net/tramp.el (tramp-root-regexp): Remove.
20416 (tramp-completion-file-name-regexp-unified)
20417 (tramp-completion-file-name-regexp-separate)
20418 (tramp-completion-file-name-regexp-url): Don't use leading volume
20419 letter on w32 systems. (Bug#5303, Bug#9311)
20420 (tramp-drop-volume-letter): Simplify definition.
20421 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20423 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20425 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20428 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20430 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20432 2011-08-29 Juri Linkov <juri@jurta.org>
20434 * isearch.el (isearch-done): Don't display message "Mark saved"
20435 when arg `edit' is non-nil to prevent its flicker in the echo area.
20437 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20439 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20440 obsolete packages for deletion.
20442 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20444 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20445 (help-mode): Derive help-mode from special-mode. Don't invoke
20446 view-mode from help-mode.
20447 (help-xref-override-view-map): Remove.
20448 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20449 view-mode is not used anymore.
20451 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20453 * server.el (server-port): Doc fix.
20455 * cus-theme.el (custom-theme-choose-mode): Inherit from
20456 special-mode (Bug#9124).
20457 (custom-theme-choose-mode-map): Add special-mode to parent.
20459 2011-08-28 Alan Mackenzie <acm@muc.de>
20461 * progmodes/cc-fonts.el
20462 (c-make-font-lock-BO-decl-search-function): New function.
20463 (c-basic-matchers-after - "Fontify the clauses after various
20464 keywords"): Extract the three keyword lists for the 3 erroneous
20465 constructs from the list of four, and use the new function above
20466 in place of an old one.
20468 2011-08-28 Deniz Dogan <deniz@dogan.se>
20470 * net/rcirc.el (rcirc-insert-prev-input)
20471 (rcirc-insert-next-input): Remove unused argument.
20473 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20475 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20477 2011-08-27 Alan Mackenzie <acm@muc.de>
20479 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20480 handle function pointer parameters properly.
20482 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20484 * window.el (display-buffer-reuse-window): Fix case where
20485 selected window was reused with non-nil OTHER-WINDOW argument.
20488 2011-08-27 Deniz Dogan <deniz@dogan.se>
20490 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20491 oftc's NickServ messages.
20493 2011-08-27 Glenn Morris <rgm@gnu.org>
20495 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20497 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20499 * emacs-lisp/package.el (package-install): Call package-initialize
20500 if called interactively.
20502 2011-08-26 Leo Liu <sdl.web@gmail.com>
20504 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20506 2011-08-25 Juri Linkov <juri@jurta.org>
20508 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20509 `search-whitespace-regexp' (bug#9364).
20511 2011-08-25 Juri Linkov <juri@jurta.org>
20513 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20514 `regexp-search-ring' to their global values to protect from
20515 updating by `read-from-minibuffer' (bug#9185).
20517 2011-08-25 Juri Linkov <juri@jurta.org>
20519 * textmodes/ispell.el (ispell-command-loop): Add newline
20520 at the end of the "Use option `i'..." line.
20522 2011-08-25 Juri Linkov <juri@jurta.org>
20524 * battery.el (display-battery-mode): If `battery-status-function'
20525 or `battery-mode-line-format' is nil, display the message and set
20526 `display-battery-mode' to nil (bug#9363).
20528 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20530 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20531 bidi-string-mark-left-to-right; they are unnecessary now.
20533 2011-08-25 Deniz Dogan <deniz@dogan.se>
20535 * net/quickurl.el: Documentation typo fixes.
20537 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20539 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20541 2011-08-25 Glenn Morris <rgm@gnu.org>
20543 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20545 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20546 (smtpmail-via-smtp): Handle nil response from smtp.
20548 2011-08-24 Juri Linkov <juri@jurta.org>
20550 * proced.el (proced-marked): Inherit from `error' instead of
20551 `font-lock-warning-face'.
20553 * ibuffer.el (ibuffer-marked-face): Change default face from
20554 `font-lock-warning-face' to `warning'.
20555 (ibuffer-deletion-face): Change default face from
20556 `font-lock-type-face' to `error'.
20558 * battery.el (battery-update): Use the face `error' instead of
20559 `font-lock-warning-face' (bug#6117).
20561 2011-08-24 Juri Linkov <juri@jurta.org>
20563 * faces.el (success): Change face color from "Green3" to
20564 "ForestGreen" on light background (bug#9353).
20566 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20568 * window.el (quit-window): Rename from quit-restore-window.
20569 Use same arglist as old quit-window.
20570 (frame-auto-delete): Doc fix.
20572 * view.el (view-mode-exit): Use quit-window.
20574 2011-08-24 Juri Linkov <juri@jurta.org>
20576 * isearch.el (isearch-ring-adjust1): Start visiting previous
20577 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20578 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20579 for empty search string (when the last search string is reused
20580 automatically) to adjust the isearch ring to the last element and
20581 prepare the correct index for further M-p commands (bug#9185).
20583 2011-08-24 Kenichi Handa <handa@m17n.org>
20585 * international/ucs-normalize.el: If decomposition property of
20586 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20588 (nfd, nfkd): Likewise.
20590 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20592 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20593 from process filters aren't reliably transmitted to the surrounding
20594 accept-process-output.
20595 (mpc-proc-check): New function.
20596 (mpc-proc-sync): Use it (bug#8293)
20598 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20600 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20601 Add compatibility functions (bug#9313).
20603 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20605 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20607 * international/uni-bidi.el: Regenerate.
20609 2011-08-23 Kenichi Handa <handa@m17n.org>
20611 * international/charprop.el:
20612 * international/uni-bidi.el:
20613 * international/uni-category.el:
20614 * international/uni-combining.el:
20615 * international/uni-comment.el:
20616 * international/uni-decimal.el:
20617 * international/uni-decomposition.el:
20618 * international/uni-digit.el:
20619 * international/uni-lowercase.el:
20620 * international/uni-mirrored.el:
20621 * international/uni-name.el:
20622 * international/uni-numeric.el:
20623 * international/uni-old-name.el:
20624 * international/uni-titlecase.el:
20625 * international/uni-uppercase.el: Regenerate.
20627 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20629 * help.el (help-window-setup): Fix message displayed when other
20630 window is reused. (Bug#9341)
20632 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20634 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20635 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20637 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20639 * shell.el (shell-parse-pcomplete-arguments): New function.
20640 (shell-completion-vars): Use it instead (bug#9160).
20642 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20644 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20645 strings and comments (bug#9333).
20647 * emacs-lisp/debug.el (debug-arglist): New function.
20648 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20649 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20651 2011-08-22 Juri Linkov <juri@jurta.org>
20653 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20654 Revert regexp that highlights output switches to its old
20655 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20657 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20658 to check for empty output (bug#9226).
20660 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20662 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20663 symbol-constituent as the default, as that stops font-lock from
20664 working properly (Bug#8843).
20666 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20668 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20669 `coding-system-for-*' around the process open call to avoid
20670 auth-source side effects.
20671 (smtpmail-try-auth-methods): Expand the secret password.
20672 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20675 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20677 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20679 * emacs-lisp/find-func.el (find-function-noselect): New arg
20682 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20683 signal an error for built-in functions (Bug#6664).
20685 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20687 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20688 (smtpmail-try-auth-methods): Use it.
20690 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20692 * font-lock.el (font-lock-fontify-region)
20693 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20694 (font-lock-default-unfontify-buffer)
20695 (font-lock-default-fontify-region)
20696 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20698 * progmodes/compile.el (compilation-error-properties):
20699 Fix confusion between file struct and message struct (Bug#9319).
20700 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20703 * net/browse-url.el (browse-url-firefox): Don't call
20704 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20706 2011-08-20 Glenn Morris <rgm@gnu.org>
20708 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20710 * tutorial.el (tutorial--default-keys): Update some default bindings.
20712 * files.el (hack-local-variables): Fully ignore case for "mode:".
20714 2011-08-20 Alan Mackenzie <acm@muc.de>
20716 Resolve invalid use of a regexp in regexp-opt.
20718 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20719 detection for a java annotation.
20721 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20722 detection for a java annotation.
20724 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20726 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20728 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20730 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20733 2011-08-20 Alan Mackenzie <acm@muc.de>
20735 Fontify CPP expressions correctly when starting in the middle of
20736 such a construct. Mainly for when jit-lock etc. starts a chunk
20739 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20741 (c-make-font-lock-search-form): New function, extracted from
20742 c-make-font-lock-search-function.
20743 (c-make-font-lock-search-function): Use the above function.
20744 (c-make-font-lock-context-search-function): New function.
20745 (c-cpp-matchers): Enhance the preprocessor expression case with
20747 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20748 which takes an expression.
20750 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20752 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20754 * window.el (display-buffer-reuse-window)
20755 (display-buffer-pop-up-window): Don't reuse or split a side
20758 2011-08-19 Glenn Morris <rgm@gnu.org>
20760 * files.el (hack-local-variables-prop-line, hack-local-variables):
20761 Downcase "Mode:". (Bug#9331)
20763 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20765 * international/characters.el: Add L and R categories.
20767 * subr.el (bidi-string-mark-left-to-right): Rename from
20768 string-mark-left-to-right. Use category search.
20770 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20772 2011-08-18 Juri Linkov <juri@jurta.org>
20774 * faces.el (error, warning, success): New faces with definitions
20775 copied from old default values of `font-lock-warning-face',
20776 `compilation-warning', `compilation-info' (bug#6117).
20778 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20780 * progmodes/compile.el (compilation-error): Inherit from `error'.
20781 (compilation-warning): Inherit from `warning'.
20782 (compilation-info): Inherit from `success'.
20784 * dired.el (dired-marked): Inherit from `warning'.
20785 (dired-flagged): Inherit from `error'.
20787 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20789 * mail/smtpmail.el (auth-source): Require to avoid problems with
20790 binding variables (bug#9298). Also clean up some unused
20793 * net/network-stream.el (network-stream-open-starttls):
20794 Support using starttls.el without using gnutls-cli.
20796 2011-08-17 Juri Linkov <juri@jurta.org>
20798 * progmodes/grep.el (rgrep): Handle the case when
20799 `grep-find-command' is a cons cell (bug#9278).
20801 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20803 * window.el (display-buffer-pop-up-frame): Run frame creation
20804 function with BUFFER current (as special-display-popup-frame
20805 does). Reported by Drew Adams.
20807 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20809 * epa-mail.el: Simplify GnuPG group expansion using
20811 (epa-mail-group-alist, epa-mail-group-modtime)
20812 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20813 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20814 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20817 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20819 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20821 2011-08-16 Alan Mackenzie <acm@muc.de>
20823 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20824 Correct, to avoid the inside of macros.
20826 2011-08-16 Richard Stallman <rms@gnu.org>
20828 * epa-mail.el: Handle GnuPG group definitions.
20829 (epa-mail-group-alist, epa-mail-group-modtime)
20830 (epa-mail-gnupg-conf-file): New variables.
20831 (epa-mail-parse-groups, epa-mail-sync-groups)
20832 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20833 (epa-mail-expand-recipients): New functions.
20834 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20836 * mail/rmail.el (rmail-epa-decrypt): New command.
20838 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20839 Don't bind buffer-read-only, just inhibit-read-only.
20840 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20841 (epa-decrypt-armor-in-region): Make error message clearer.
20843 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20845 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20846 and "a2b" to "ab" for `prefix'.
20848 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20850 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20852 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20853 Fourquet (Bug#8804).
20855 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20857 * startup.el (argi): Declare as global variable (bug#9275).
20859 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20861 * subr.el (string-mark-left-to-right): Search the entire string
20862 for RTL script, not just the terminating character. Doc fix.
20864 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20866 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20868 (js--regexp-literal, js-syntax-propertize-function): Remove.
20869 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20870 (js-mode-map): Don't rebind electric keys.
20871 (js-insert-and-indent): Remove.
20872 (js-mode): Setup electric-layout and electric-indent instead.
20874 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20876 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20878 * epa.el (epa-progress-callback-function): Fix the logic of
20879 displaying progress.
20880 * epa-file.el (epa-file-insert-file-contents): Make progress
20881 display more user-friendly.
20882 (epa-file-write-region): Ditto.
20884 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20886 * subr.el (string-mark-left-to-right): New function.
20888 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20889 Use string-mark-left-to-right.
20890 (list-buffers-noselect): Caller changed.
20892 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20893 Use string-mark-left-to-right.
20894 (tabulated-list-print): Recenter after moving point.
20896 2011-08-10 Juri Linkov <juri@jurta.org>
20898 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20899 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20900 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20902 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20904 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20907 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20909 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20910 character. (Bug#6594)
20912 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20914 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20915 (image-dired--with-db-file): New macro.
20916 (image-dired-write-tags, image-dired-remove-tag)
20917 (image-dired-create-gallery-lists, image-dired-write-comments)
20918 (image-dired-get-comment, image-dired-mark-tagged-files)
20919 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20920 (image-dired-gallery-generate): Use insert-file-contents.
20922 * time.el (display-time-world-list, display-time-world-display):
20923 * time-stamp.el (time-stamp-string):
20924 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20925 set-time-zone-rule (Bug#7337).
20927 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20929 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20930 (epg-error-to-string, epg-errors-to-string): New function.
20931 (epg-wait-for-completion): Reverse errors list.
20932 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20933 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20934 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20935 (epg-sign-keys, epg-generate-key-from-file)
20936 (epg-generate-key-from-string): Format errors by using
20937 epg-errors-to-string (bug#9255).
20938 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20940 2011-08-07 Juri Linkov <juri@jurta.org>
20942 * faces.el (list-faces-display): Remove extra angle bracket
20943 from `help-mode-map'.
20945 * info.el (Info-history-toc-nodes): Doc fix.
20947 * longlines.el (longlines-mode): Doc fix.
20949 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20951 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20952 of statements and in a few more cases (bug#9183).
20954 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20956 (cl-transform-lambda): Use them (bug#9239).
20958 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20960 * window.el (display-buffer-same-window)
20961 (display-buffer-same-frame, display-buffer-other-window)
20962 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20963 (pop-to-buffer-other-window)
20964 (pop-to-buffer-same-frame-other-window)
20965 (pop-to-buffer-other-frame): Make them defuns.
20966 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20968 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20970 * subr.el (make-composed-keymap): Move from C. Change calling
20971 convention, and improve docstring to bring attention to a subtle point.
20972 * minibuffer.el (completing-read-default): Adjust accordingly.
20974 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20976 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20977 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20979 * net/trampver.el: Update release number.
20981 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20983 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20986 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20988 * mail/sendmail.el (sendmail-query-once): Restore the current
20989 buffer after querying (bug#9074).
20991 * dired.el (dired-flagged): Use different faces for marked and
20992 flagged files (bug#6117).
20994 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20997 * ido.el (ido-mode): Switch off the message if called
21000 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21001 before 587, since it appears that that's more likely to work for
21004 * cus-edit.el (custom-file): When running under emacs -q, always
21005 refuse to save the customizations, even if the .emacs file doesn't
21008 * info.el: Remove the `Info-beginning-of-buffer' function
21011 * net/network-stream.el (network-stream-open-starttls):
21012 Use `starttls-available-p' to see whether starttls.el can be used.
21014 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21016 * window.el (display-buffer-in-window): Don't set dedicated status
21017 of window here (Bug#9215).
21018 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21019 (display-buffer-pop-up-side-window)
21020 (display-buffer-in-side-window): Set dedicated status of window here.
21022 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21024 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21025 before binding generated-autoload-file.
21027 2011-08-01 Deniz Dogan <deniz@dogan.se>
21029 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21031 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21033 Sync with Tramp 2.2.2.
21035 * net/trampver.el: Update release number.
21037 2011-07-30 Juri Linkov <juri@jurta.org>
21039 * dired-aux.el (dired-touch-initial): Remove function.
21040 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21041 current time, and `default' to the last modification time of the
21042 current marked file (bug#6887).
21044 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21046 * simple.el (goto-line): Use string-to-number to provide a
21047 numeric argument to read-number (bug#9163).
21049 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21051 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21052 connection process, it could be nil.
21054 2011-07-27 Leo Liu <sdl.web@gmail.com>
21056 Simplify url handling in rcirc-mode.
21058 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21059 (rcirc-browse-url-at-mouse): Remove.
21060 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21062 2011-07-26 Alan Mackenzie <acm@muc.de>
21064 Fontify bitfield declarations properly.
21066 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21067 (c-symbol-chars): Now exported as a lang variable.
21068 (c-not-primitive-type-keywords): New lang variable.
21070 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21071 QT keyword "more" to prevent "more slots: ...." being spuriously
21072 parsed as a bitfield declaration.
21074 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21075 Refactor and enhance to handle bitfield declarations.
21076 (c-punctuation-in): New function.
21077 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21078 declarations properly.
21080 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21082 * calendar/icalendar.el (icalendar--all-events): Take care of
21083 multiple vcalendars in a single file.
21084 (icalendar--convert-float-to-ical): Checkdoc fixes.
21086 2011-07-25 Deniz Dogan <deniz@dogan.se>
21088 * image.el (insert-image): Clarifying docstring.
21090 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21092 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21093 `tramp-send-command-and-check' if there is no error.
21094 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21096 2011-07-22 Alan Mackenzie <acm@muc.de>
21098 Prevent cc-langs.elc being loaded at run time.
21100 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21103 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21104 "(require 'cc-langs)". Quote a form so it will evaluate at
21105 (cc-mode's) compilation time.
21107 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21109 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21110 loading. (Bug#9114)
21112 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21114 * window.el (display-buffer-pop-up-window)
21115 (display-buffer-pop-up-side-window)
21116 (display-buffer-in-side-window): Call display-buffer-set-height
21117 and display-buffer-set-width after setting the new window's
21118 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21120 2011-07-20 Sam Steingold <sds@gnu.org>
21122 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21123 (etags-tags-included-tables): Call `convert-standard-filename' on
21124 the file names contained in TAGS so that windows Emacs can handle
21125 TAGS files created by cygwin ctags.
21127 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21129 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21130 which apparently didn't work.
21132 2011-07-19 Roland Winkler <winkler@gnu.org>
21134 * proced.el (proced-send-signal): For *Marked Processes* buffer
21135 put point at beginning of buffer.
21137 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21139 * proced.el (proced-format): Make header lines align with the text
21142 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21144 * view.el (view-buffer): Allow running in `special' modes if we're
21145 visiting a file (bug#8615).
21147 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21149 * window.el (display-buffer-alist-of-strings-p)
21150 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21152 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21155 2011-07-18 Alan Mackenzie <acm@muc.de>
21157 Fontify declarators properly when, e.g., a jit-lock chunk begins
21158 inside a declaration.
21160 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21162 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21164 (c-complex-decl-matchers): Insert reference to
21165 c-font-lock-enclosing-decls.
21167 * progmodes/cc-engine.el (c-backward-single-comment):
21168 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21169 to nil around calls to (forward-comment -1).
21171 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21173 * image.el (put-image): Doc typo fix.
21175 * progmodes/etags.el (tags-search): Doc typo fix.
21177 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21178 password if we get errors 550 to 554.
21180 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21182 * net/gnutls.el (gnutls-log-level): Remove.
21184 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21185 indentation character (bug#6380).
21187 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21189 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21190 to clarify what the problem is (bug#4291).
21192 * simple.el (current-kill): Clarify what
21193 `interprogram-paste-function' does (bug#7500).
21194 (auto-fill-mode): Document `auto-fill-function' in relation to
21195 `auto-fill-mode' (bug#2470).
21197 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21199 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21200 method if slot is read-only (bug#9035).
21202 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21204 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21205 * window.el (pop-to-buffer): Select window used even if it was
21206 selected before, see discussion of (Bug#8615), (Bug#6954).
21207 Pass argument NORECORD on to select-frame-set-input-focus.
21209 2011-07-15 Glenn Morris <rgm@gnu.org>
21211 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21214 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21216 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21217 (gnutls-negotiate): Use it.
21219 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21221 * net/gnutls.el (gnutls-negotiate):
21222 Upcase `gnutls-algorithm-priority'.
21224 2011-07-15 Glenn Morris <rgm@gnu.org>
21226 * jka-compr.el (jka-compr-verbose): Move from here...
21227 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21228 Add missing :version tag.
21229 * info.el: No need to require jka-compr when compiling.
21231 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21233 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21234 (gnutls-negotiate): Use it.
21236 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21238 * info.el (Info-beginning-of-buffer): New command.
21239 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21240 announcing `b' as the key (bug#8325).
21241 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21243 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21245 * international/mule-cmds.el
21246 (describe-specified-language-support): Make the error message
21247 clearer (bug#8905).
21249 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21251 * isearch.el (isearch-barrier): Add a doc string, since it's
21252 mentioned in a function doc string (bug#8678).
21254 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21256 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21257 buffer argument (Bug#9083) and self-identifying label argument.
21259 2011-07-15 Glenn Morris <rgm@gnu.org>
21261 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21263 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21265 * man.el (Man-fontify-manpage): Fix message when formatting the
21266 man page (bug#7929).
21268 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21270 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21271 argument LRM; if non-nil, append an invisible LRM character to the
21273 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21274 last argument non-nil, when formatting buffer names.
21275 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21276 paragraph direction.
21278 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21280 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21281 the man page name (bug#7929).
21283 * image.el (put-image): Mention the `put-image' overlay property
21286 * scroll-bar.el (set-scroll-bar-mode): Mention that
21287 `scroll-bar-mode' lists the values (bug#7772).
21289 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21290 command (bug#7729).
21292 * rect.el (apply-on-rectangle): Return the point after the last
21294 (string-rectangle): Go to the point after the last operation
21297 * printing.el (pr-toggle-region): Clarify the documentation
21298 slightly (bug#7493).
21300 * time.el (display-time-update):
21301 Allow `display-time-mail-function' to return nil (bug#7158).
21302 Fix suggested by Detlev Zundel.
21304 * vc/diff.el (diff): Clarify the order the file names are read
21307 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21308 the doc string (bug#7015).
21310 * font-lock.el (font-lock-maximum-decoration): Mention what
21311 numeric levels mean (bug#6935).
21313 * startup.el (initial-buffer-choice): Don't mention the `none'
21314 selection, which is against policy.
21316 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21318 * window.el (display-buffer-normalize-special):
21319 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21321 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21323 * subr.el (version<, version<=, version=): Mention "-CVS" and
21324 "-12345" alpha version numbers.
21326 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21328 * bindings.el: Add advertised binding for set-mark-command
21331 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21333 * bindings.el (mode-line-other-buffer):
21334 * bookmark.el (bookmark-bmenu-2-window):
21335 * bs.el (bs-cycle-next, bs-cycle-previous):
21336 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21339 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21342 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21344 * follow.el (follow-debug-message, follow-redisplay):
21345 * jka-cmpr-hook.el (with-auto-compression-mode):
21346 Fix typos in docstrings.
21348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21350 * subr.el (with-silent-modifications): Clarify somewhat what the
21351 macro inhibits (bug#6525).
21353 * simple.el (eval-expression): Note what it does if called
21354 interactively (bug#6495).
21356 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21358 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21359 Use pop-to-buffer buffer-or-name if it is nil.
21361 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21362 Remove switch-to-buffer.
21364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21366 * files.el (make-directory): Clarify that an error will be raised
21367 if there's an error (bug#6397).
21369 * startup.el (initial-buffer-choice): Add `none' as a choice
21372 * subr.el (add-hook): Clarify section about buffer-local hooks
21375 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21377 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21379 * tabify.el (untabify): Preserve the current column so that point
21380 doesn't move (bug#6032).
21382 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21384 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21385 Rewrite to avoid awkward possessive "s" (bug#5986).
21387 2011-07-13 Glenn Morris <rgm@gnu.org>
21389 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21390 (dired-insert-directory): Give a message the first time
21391 if ls is found not to support --dired.
21393 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21395 * simple.el (toggle-truncate-lines): Clarify what is toggled
21396 (bug#5580). Text by Drew Adams.
21398 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21400 * simple.el (blink-matching-open): Make the error message from the
21401 last change less verbose.
21403 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21405 * font-lock.el (font-lock-comment-face): Use the high contrast
21406 "yellow" color for font-lock-comment-face on low color terminals
21407 using a dark background color (bug#4221).
21409 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21411 * dired.el (dired-insert-set-properties): Make the doc string
21412 reflect what it does now (bug#5325).
21414 * simple.el (blink-matching-open): Say that we were unable to find
21415 the match within the limit, if we're limited (bug#5122).
21417 * international/mule-cmds.el (prefer-coding-system): Add an
21418 example (bug#4869).
21420 * progmodes/etags.el (tags-search): Document `file-list-form'
21423 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21425 * net/browse-url.el (browse-url-default-browser)
21426 (browse-url-browser-function): Make the default browser choice a
21427 bit more logical (bug#4300). Also clean up the doc string.
21429 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21431 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21432 binary endings (bug#4440).
21434 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21436 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21437 which can be pretty annoying (bug#8971).
21439 * jka-compr.el (jka-compr-verbose): New variable, and use
21440 throughout (bug#8971).
21442 * info.el (Info-find-file): Fall back on the installation
21443 directory if we can't find the info node anywhere else.
21445 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21447 * vc/vc.el (vc-revert-file):
21448 Don't set file time-stamp in the past. (Bug#5181)
21450 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21452 * files.el (after-find-file): Give a better error message when
21453 trying to find a symlink that points to a file that doesn't exist
21456 * progmodes/cc-vars.el: Remove (probably) misleading comment
21459 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21461 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21463 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21465 * mouse-sel.el: Hack restoring functionality, while keeping
21466 compatibility with 2010-07-03 changes to mouse selection.
21467 (mouse-sel-primary-overlay): New var.
21468 (mouse-sel-selection-alist): Use it.
21469 (mouse-sel-mode): Doc fix; remove points that are default features
21472 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21475 Fix previous fix (bug#2490).
21477 2011-07-12 Roland Winkler <winkler@gnu.org>
21479 * textmodes/bibtex.el (bibtex-initialize):
21480 Use pop-to-buffer-same-window.
21481 (bibtex-search-entries): Fix interactive call.
21483 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21486 Fontise bytecomp Error lines more correctly (bug#2490).
21487 Fix suggested by Johan Bockgård.
21489 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21491 * dired-x.el (dired-guess-default): Use `delete-dups'.
21493 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21495 * dired.el (dired-mark-prompt):
21496 * dired-aux.el (dired-read-shell-command): Doc fix.
21498 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21500 * mail/sendmail.el (sendmail-query-once):
21501 Use `customize-save-variable' unconditionally, now that it works under
21504 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21506 * cus-edit.el (custom-file): Take an optional no-error variable.
21507 (customize-save-variable): Set the variable, and give a warning if
21508 running under "emacs -q".
21510 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21512 * loadhist.el (unload-feature-special-hooks):
21513 Add `auto-coding-functions', `fill-nobreak-predicate' and
21514 `find-directory-functions' (bug#5327).
21516 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21518 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21520 * cus-edit.el (custom-guess-name-alist): -alist variables should
21521 use the `alist' type (bug#3120). Suggested by Drew Adams.
21523 * printing.el: Add documentation to all the `pr-toggle-' commands.
21525 2011-07-11 Leo Liu <sdl.web@gmail.com>
21527 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21528 backends where it makes sense (bug#2623).
21530 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21532 * dired-x.el (dired-guess-default): Remove duplicate shell command
21533 entries (bug#2028).
21534 (dired-guess-default): Fix grammar in doc string (bug#2028).
21535 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21537 * subr.el (remove-duplicates): New conveniency function.
21539 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21541 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21544 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21546 * window.el (display-buffer-normalize-default): Don't invert
21547 meaning of even-window-heights. Reported by Eli Zaretskii
21550 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21552 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21554 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21556 * window.el (display-buffer): Fix arguments to
21557 display-buffer-reuse-window in last change.
21559 * faces.el (link): Use a less saturated blue on light backgrounds.
21561 * startup.el (fancy-startup-text, fancy-about-text)
21562 (fancy-startup-tail): Use font-lock faces, for background safety.
21564 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21566 * emulation/viper-cmd.el (viper-change-state-to-vi):
21567 Limit triggering of abbrev expansion (Bug#9038).
21569 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21571 * window.el (display-buffer-default-specifiers): Remove.
21572 (display-buffer-macro-specifiers): Remove default specifiers.
21573 (display-buffer-alist): Default to nil.
21574 (display-buffer-reuse-window): New optional argument other-window.
21575 (display-buffer-pop-up-window): Allow splitting internal
21576 windows. Check whether a live window was created.
21577 (display-buffer-other-window-means-other-frame)
21578 (display-buffer-normalize-arguments): Rename to
21579 display-buffer-normalize-argument and rewrite. Set the
21580 other-window specifier.
21581 (display-buffer-normalize-special): New function.
21582 (display-buffer-normalize-options): Rename to
21583 display-buffer-normalize-default and rewrite.
21584 (display-buffer-normalize-options-inhibit): Remove.
21585 (display-buffer-normalize-specifiers): Rewrite.
21586 (display-buffer): Process other-window specifier and call
21587 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21589 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21590 (display-buffer-alist-set): Don't handle 'unset default values.
21591 (display-buffer-in-window, display-buffer-alist-set):
21592 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21593 <tassilo@member.fsf.org>.
21595 2011-07-09 Leo Liu <sdl.web@gmail.com>
21597 * register.el (insert-register): Restore accidental change on
21598 2011-06-26. (Bug#9028)
21600 2011-07-09 Glenn Morris <rgm@gnu.org>
21602 * subr.el (remq): Handle the empty list. (Bug#9024)
21604 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21606 * mail/sendmail.el (send-mail-function): No longer delay custom
21608 * custom.el (custom-initialize-delay): Doc fix.
21610 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21612 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21614 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21616 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21617 human-friendly prompt.
21619 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21621 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21622 provided by a particular plugin.
21624 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21626 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21627 save customizations (with "emacs -Q"), just set the variable
21628 instead of erroring out.
21630 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21632 2011-07-08 Juri Linkov <juri@jurta.org>
21634 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21635 (archive-zip-update-case): Use 7z if found by `executable-find'.
21636 The order of searching the available programs is the same as in
21637 `archive-zip-extract' (bug#8968).
21639 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21641 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21642 (menu-bar-options-menu): Tweak descriptions.
21644 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21646 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21647 menu items into verb phrases (bug#1421). Also refill to fit under
21650 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21652 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21653 (Info-read-node-name): Doc fix (Bug#1084).
21655 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21656 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21657 (end-of-sexp, beginning-of-sexp)
21658 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21659 (forward-symbol, forward-same-syntax, word-at-point)
21660 (sentence-at-point): Doc fix (Bug#1144).
21662 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21664 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21665 should cover it (bug#1281).
21667 * cus-edit.el (custom-show): Mark as obsolete.
21669 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21670 negotiation fails, then possibly try again with a non-encrypted
21671 connection (bug#9017).
21673 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21676 2011-07-07 Richard Stallman <rms@gnu.org>
21678 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21679 property, and handle its changed format.
21680 Look for the correct line number.
21681 Use file's line contents (but not past first =) to find
21682 correct line in message.
21684 2011-07-07 Kenichi Handa <handa@m17n.org>
21686 * international/characters.el (build-unicode-category-table):
21688 (unicode-category-table): Set it by unicode-property-table-internal.
21690 * international/mule-cmds.el (char-code-property-alist): Move to
21692 (get-char-code-property): Call unicode-property-table-internal to
21693 load a file. Call get-unicode-property-internal where necessary.
21694 (put-char-code-property): Call unicode-property-table-internal to
21695 load a file. Call put-unicode-property-internal where necessary.
21696 put-unicode-property-internal where necessary.
21697 (char-code-property-description):
21698 Call unicode-property-table-internal to load a file.
21700 * international/charprop.el:
21701 * international/uni-bidi.el:
21702 * international/uni-category.el:
21703 * international/uni-combining.el:
21704 * international/uni-comment.el:
21705 * international/uni-decimal.el:
21706 * international/uni-decomposition.el:
21707 * international/uni-digit.el:
21708 * international/uni-lowercase.el:
21709 * international/uni-mirrored.el:
21710 * international/uni-name.el:
21711 * international/uni-numeric.el:
21712 * international/uni-old-name.el:
21713 * international/uni-titlecase.el:
21714 * international/uni-uppercase.el: Regenerate.
21716 * loadup.el: Load international/charprop.el before
21717 international/characters.
21719 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21721 * window.el (next-buffer, previous-buffer): Signal an error if
21722 called from a minibuffer window.
21724 * bindings.el: Revert 2011-07-04 change.
21726 2011-07-06 Richard Stallman <rms@gnu.org>
21728 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21729 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21730 Treat markers like ints.
21731 (rmail-mime-entity): Doc fix.
21733 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21735 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21736 defcustom again for backwards compatibility.
21738 * simple.el (shell-command-on-region): Fill.
21740 * dired-aux.el (dired-kill-line): Add a doc string.
21742 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21743 to "\\sw\\|\\s_" (bug#358).
21745 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21746 (dired-unmark-backward): Ditto.
21747 (dired-flag-backup-files): Ditto.
21749 * dired-x.el (dired-mark-sexp): Ditto.
21751 2011-07-06 Richard Stallman <rms@gnu.org>
21753 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21754 (rmail-mime-entity): New arg TRUNCATED.
21755 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21757 (rmail-mime-save): Warn if entity is truncated.
21758 (rmail-mime-toggle-hidden): Likewise, for showing.
21759 (rmail-mime-process-multipart): Record when an entity is truncated.
21761 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21762 if ENTITY is a string.
21764 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21766 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21767 of faces when `M-C-x'-ing their definitions (bug#8378).
21768 Also clean up the code slightly.
21770 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21771 because that makes the colors go away.
21773 * mail/sendmail.el (send-mail-function): Change the default to
21774 `sendmail-query-once'.
21775 (sendmail-query-once): Add an autoload cookie.
21777 * net/network-stream.el (network-stream-open-starttls): Try using
21778 a plain connection even if the server offered STARTTLS, and we
21779 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21780 capability. This should make smtpmail.el work in slightly more
21783 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21785 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21787 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21789 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21791 * progmodes/sql.el: Version 3.0
21792 (sql-product-alist): Add product :completion-object,
21793 :completion-column, and :statement attributes.
21794 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21795 (sql-mode-syntax-table): Mark all punctuation.
21796 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21798 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21799 (sql-mode-oracle-font-lock-keywords): Improve.
21800 (sql-oracle-show-reserved-words): New function for development.
21801 (sql-product-font-lock): Simplify for source code buffers.
21802 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21804 (sql-highlight-product): Set product specific syntax table.
21805 (sql-mode-map): Add statement movement functions.
21806 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21808 (sql-statement-regexp, sql-beginning-of-statement)
21809 (sql-end-of-statement, sql-signum): New functions.
21810 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21811 (sql-show-sqli-buffer): Bug fix.
21812 (sql-interactive-mode): Store connection data as buffer local.
21813 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21814 with sql-interactive-mode.
21815 (sql-save-connection): Save buffer local settings.
21816 (sql-connection-menu-filter): Change menu entry name.
21817 (sql-product-interactive): Bug fix.
21818 (sql-preoutput-hold): New variable.
21819 (sql-interactive-remove-continuation-prompt): Bug fixes.
21820 (sql-debug-redirect): New variable.
21821 (sql-str-literal): New function.
21822 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21824 (sql-oracle-save-settings, sql-oracle-restore-settings)
21825 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21826 (sql-completion-object, sql-completion-column)
21827 (sql-completion-sqlbuf): New variables.
21828 (sql-build-completions-1, sql-build-completions)
21829 (sql-try-completion): New functions.
21830 (sql-read-table-name): Use them.
21831 (sql-contains-names): New buffer local variable.
21832 (sql-list-all, sql-list-table): Use it.
21833 (sql-oracle-completion-types): New variable.
21834 (sql-oracle-completion-object, sql-sqlite-completion-object)
21835 (sql-postgres-completion-object): New functions.
21837 2011-07-06 Glenn Morris <rgm@gnu.org>
21839 * window.el (pop-to-buffer): Doc fix.
21841 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21843 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21845 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21847 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21849 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21851 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21853 * button.el (button): Inherit from link face. Suggested by Dan
21856 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21858 * progmodes/gdb-mi.el: Fit in 80 columns.
21859 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21862 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21863 if imenu is simply not configured (bug#8941).
21865 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21867 * allout.el (allout-post-undo-hook): New allout outline-change
21868 event hook to signal undo activity.
21869 (allout-post-command-business): Run allout-post-undo-hook if an
21870 undo just occurred.
21871 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21872 * allout-widgets.el (allout-widgets-after-undo-function):
21873 Ensure the integrity of the current item's decoration after it has been
21874 in the vicinity of an undo.
21875 (allout-widgets-mode): Include allout-widgets-after-undo-function
21876 on the new allout-post-undo-hook.
21878 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21880 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21881 Let define-derived-mode define it.
21882 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21883 cycles of abbrev-table inheritance (bug#8998).
21885 2011-07-05 Roland Winkler <winkler@gnu.org>
21887 * textmodes/bibtex.el: Add support for biblatex.
21888 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21889 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21890 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21891 (bibtex-entry-alist, bibtex-field-alist): New variables.
21892 (bibtex-entry-field-alist): Obsolete alias for
21893 bibtex-BibTeX-entry-alist.
21894 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21895 (bibtex-set-dialect): New command.
21896 (bibtex-entry-type, bibtex-entry-head)
21897 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21898 Bind via bibtex-set-dialect.
21899 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21900 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21901 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21902 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21903 Define via bibtex-set-dialect.
21904 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21905 Obey bibtex-no-opt-remove-re.
21906 (bibtex-vec-push, bibtex-vec-incr): New functions.
21907 (bibtex-format-entry, bibtex-field-list)
21908 (bibtex-print-help-message, bibtex-validate)
21909 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21911 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21913 * progmodes/compile.el (compilation-goto-locus):
21914 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21915 * bs.el (bs-cycle-next, bs-cycle-previous):
21916 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21917 * bindings.el (mode-line-other-buffer):
21918 * autoinsert.el (auto-insert):
21919 * arc-mode.el (archive-extract):
21920 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21922 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21924 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21925 Fix check of `emacs-lock-unlockable-modes'.
21926 Coerce true values of `emacs-lock--try-unlocking' to t.
21928 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21930 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21931 * emacs-lock.el: New file.
21933 2011-07-05 Julien Danjou <julien@danjou.info>
21935 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21936 than `boundp' to check if face is set.
21938 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21940 * register.el (registerv-make):
21941 * window.el (window-min-height): Fix typos in docstrings.
21943 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21945 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21948 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21950 * server.el (server-execute): Catch quit and call
21951 `server-return-error' to pass the error back to emacsclient and
21952 close the connection (bug#8942).
21954 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21956 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21957 insecure exception for current topic. Also note that auto-saves
21958 are handled differently.
21960 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21961 State variables for tracking auto-save inhibition situation.
21963 (allout-write-contents-hook-handler): Rename from
21964 'allout-write-file-hook-handler', and describe how it depends on
21965 write-contents-functions sensitivity to non-nil value to prevent
21968 (allout-auto-save-hook-handler): Remove. auto-save does not check
21969 this in individual buffers, only in the starting buffer, so this
21970 is not the right way for us to inhibit auto-save in a buffer
21971 according to its condition.
21973 (allout-mode): Use new allout-write-contents-hook-handler, and
21974 only with write-contents-functions. Remove auto-save provisions -
21975 they're implemented elsewhere.
21977 (allout-before-change-handler): If undo is in progress, note that
21978 for attention of allout-post-command-business.
21980 (allout-post-command-business): If the command we're following was
21981 an undo, check for change in the status of encrypted items and
21982 adjust auto-save inhibitions accordingly.
21984 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21985 according to whether there are or aren't any plain-text topics
21986 pending encryption.
21988 (allout-inhibit-auto-save-info-for-decryption):
21989 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21990 if there are plain-text topics pending encryption.
21992 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21993 buffer-saved-size and some allout state to not inhibit auto-saves
21994 if there are no longer any plain-text topics pending encryption.
21996 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21997 No longer provide for exemption of the current topic.
21999 2011-07-04 Juri Linkov <juri@jurta.org>
22001 Add 7z operations to delete and save changed members (bug#8968).
22002 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22004 (archive-7z-write-file-member): New function.
22005 (archive-7z-summarize): Fix the number of dashes in the
22008 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22010 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22013 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22015 * bindings.el: Ignore next-buffer and previous-buffer in
22016 minibuffer-local-map.
22018 * font-lock.el (font-lock-builtin-face): Change light background
22019 color to dark slate blue (Bug#6693).
22021 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22023 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22025 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22027 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22029 Add switch-to-buffer.
22031 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22033 * isearch.el (isearch-search-fun-function): Clarify further the
22034 meaning of the function returned.
22036 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22038 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22040 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22041 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22043 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22044 `tramp-default-remote-path' does not exist.
22045 (tramp-send-command-and-read): New optional argument NOERROR.
22046 (tramp-open-connection-setup-interactive-shell)
22047 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22048 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22049 (tramp-process-sentinel): Flush also process' connection property.
22050 (tramp-sh-handle-start-file-process): Do not set process
22051 sentinel. It is done now ...
22052 (tramp-maybe-open-connection): ... here. (Bug#8929)
22054 2011-07-04 MON KEY <monkey@sandpframing.com>
22056 * play/animate.el (animate-string): Doc fixes and allow changing
22057 the buffer name (bug#5417).
22059 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22061 * play/animate.el (animation-buffer-name): Rename from *animate*.
22063 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22065 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22066 This is simpler and helps future-proof the code.
22067 (timer-until): Use time-subtract and float-time.
22068 (timer--time-less-p): Use time-less-p.
22070 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22072 * type-break.el (timep): Use the value of `float-time' to avoid a
22073 byte-compiler warning.
22075 * server.el (server-eval-and-print): Return any result, even nil.
22077 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22079 * type-break.el: Accept time formats that the builtins accept.
22080 (timep, type-break-time-difference): Accept any format that
22081 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22082 This is simpler and helps future-proof the code.
22083 (type-break-time-difference): Round rather than ignoring
22084 subseconds components.
22086 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22088 * info.el (Info-apropos-matches): Make non-interactive, since it
22089 doesn't seem to do anything useful as a command (bug#8829).
22091 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22093 * frame.el (frame-background-mode, frame-set-background-mode):
22094 Move from faces.el.
22095 (frame-default-terminal-background): New function.
22097 * custom.el (custom-push-theme): Don't record faces in `changed'
22098 theme; this doesn't work correctly for per-frame face settings.
22099 (disable-theme): Use face-set-after-frame-default to reset faces.
22100 (custom--frame-color-default): New function.
22102 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22104 * dired.el (dired-flagging-regexp): Remove unused variable
22107 2011-03-29 Kevin Ryde <user42@zip.com.au>
22109 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22110 `perl-Test2' extend to match possible "fail #N" rep count
22113 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22115 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22116 `smtpmail-via-smtp' now returns the error instead of nil.
22118 * isearch.el (isearch-search-fun-function): Clarify the doc string
22121 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22123 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22124 unnecessary spaces (bug#8987).
22126 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22128 * net/network-stream.el (open-network-stream): Use the
22129 :end-of-capability command thoughout.
22131 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22133 * net/network-stream.el (open-network-stream): Add the
22134 :end-of-capability command parameter, used by pop3.el.
22136 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22138 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22140 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22141 for list)" (bug#6475).
22143 * files.el (file-expand-wildcards): Ignore non-readable
22144 sub-directories while trying to find matches instead of signaling
22145 an error (bug#6297).
22147 * man.el (Man-reference-regexp): Allow matching possible
22148 word-wrapped references (bug#6289).
22150 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22151 for consistency with the other vc buffers (bug#6197).
22152 (vc-checkin): Ditto.
22154 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22156 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22158 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22160 * custom.el (defcustom): Clarify that :set is only used in the
22161 Customize user interface (bug#6089).
22163 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22164 associated with a file, refuse to run instead of erroring out
22167 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22168 the doc string, since it appears that using `fill-column' always
22169 controls the width (bug#7845).
22171 * simple.el (shell-command-on-region): Say where the error output
22172 went if `shell-command-default-error-buffer' is set (bug#6857).
22174 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22176 * allout.el (allout-yank-processing): Adjust cursor position for
22177 backwards-deleted space.
22179 (allout-rebullet-heading): Register changes with
22180 allout-exposure-changed-hook, so the modified topic is properly
22183 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22185 * minibuffer.el (completion-in-region): Document PREDICATE
22188 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22189 of keyword/argument pairs (bug#6904).
22191 * replace.el (multi-occur):
22192 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22194 2011-07-02 Drew Adams <drew.adams@oracle.com>
22196 * dired.el (dired-mark-if): Make the message about whether it's
22197 marking or unmarking clearer (bug#8523).
22199 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22201 * disp-table.el (display-table-print-array): New function.
22202 (describe-display-table): Use it to print the vectors more pretty
22205 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22207 * window.el (window-state-get-1): Don't assign clone numbers.
22208 Add clone-of item to list of window parameters.
22209 (window-state-put-2): Don't process clone numbers.
22210 (display-buffer-alist): Fix doc-string.
22212 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22214 * subr.el (remq): Don't allocate if it's not needed.
22215 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22216 (keymap--merge-bindings): New functions.
22217 (keymap-canonicalize): Use them to refine the canonicalization.
22218 * minibuffer.el (minibuffer-local-completion-map)
22219 (minibuffer-local-must-match-map): Move initialization from C.
22220 (minibuffer-local-filename-completion-map): Move initialization from C;
22221 don't inherit from anything here.
22222 (minibuffer-local-filename-must-match-map): Make obsolete.
22223 (completing-read-default): Use make-composed-keymap to combine
22224 minibuffer-local-filename-completion-map with either
22225 minibuffer-local-must-match-map or
22226 minibuffer-local-filename-completion-map.
22228 2011-07-01 Glenn Morris <rgm@gnu.org>
22230 * type-break.el (type-break-time-sum): Use dolist.
22232 * textmodes/flyspell.el (flyspell-word-search-backward):
22233 Replace CL function.
22235 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22237 * mouse.el (mouse--strip-first-event): New function.
22238 (function-key-map): Use it to map fringe clicks to normal clicks
22241 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22242 (vc-bzr-revision-completion-table): Add support for annotate and date.
22244 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22245 inherit from parent.
22247 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22249 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22250 (dired-show-file-type): Doc fixup (bug#8818).
22252 * dired.el (dired-mode): Fix up the doc string as suggested by
22253 Drew Adams (bug#8817).
22255 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22256 cookie, since the manual says that it should be possible to add
22257 this function to `find-file-hook' (bug#8709).
22259 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22261 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22262 here. Noted Ted Zlatanov as the maintainer.
22263 (cfengine-common-settings, cfengine-common-syntax): New functions
22264 to set up common things between `cfengine-mode' and
22266 (cfengine3-mode): New mode.
22267 (cfengine3-defuns cfengine3-defuns-regex
22268 (cfengine3-class-selector-regex cfengine3-category-regex)
22269 (cfengine3-vartypes cfengine3-font-lock-keywords)
22270 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22271 (cfengine3-indent-line): Add from cfengine3.el.
22273 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22275 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22277 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22279 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22281 * window.el (same-window-buffer-names, same-window-regexps)
22282 (same-window-p, special-display-frame-alist)
22283 (special-display-popup-frame, special-display-function)
22284 (special-display-buffer-names, special-display-regexps)
22285 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22286 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22287 (split-window-preferred-function, split-height-threshold)
22288 (split-width-threshold, even-window-heights)
22289 (display-buffer-mark-dedicated, window-splittable-p)
22290 (split-window-sensibly, window-safely-shrinkable-p):
22292 (display-buffer): Don't spread args with function specifier
22293 because special-display-popup-frame won't like it.
22295 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22297 Time-stamp simplifications and fixes.
22298 These improve accuracy slightly, and future-proof the code
22299 against some potential changes to current-time format.
22301 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22302 by using time-since and float-time.
22304 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22305 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22306 + NNN microseconds".
22308 * type-break.el (type-break-time-sum): Rewrite using time-add.
22310 * play/hanoi.el (hanoi-current-time-float): Remove.
22311 All uses replaced by float-time.
22313 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22314 This yields a more-accurate answer.
22315 (rng-time-to-float): Remove; no longer needed.
22317 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22319 * calendar/timeclock.el (timeclock-seconds-to-time):
22320 Defalias to seconds-to-time, since they're the same thing.
22322 * emacs-lisp/elp.el (elp-elapsed-time):
22323 * emacs-lisp/benchmark.el (benchmark-elapse):
22324 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22326 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22328 * window.el (bury-buffer): Don't iconify the only frame.
22329 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22330 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22332 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22334 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22335 Add mouse-yank-primary.
22337 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22339 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22341 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22343 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22344 (find-library-name): Use it to find relative load names when provided
22345 absolute file name (bug#8803).
22347 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22349 * textmodes/flyspell.el (flyspell-word): Consider words that
22350 differ only in case as potential doublons (bug#5687).
22352 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22353 Remove two rather uninteresting debugging-like messages to make
22354 debbugs.el more silent.
22356 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22357 a password-like phrase.
22359 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22361 * progmodes/cc-guess.el: New file.
22363 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22365 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22366 derived from `c-basic-common-init'.
22368 * progmodes/cc-mode.el (top-level): Require cc-guess.
22369 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22371 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22373 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22375 2011-06-30 Alan Mackenzie <acm@muc.de>
22377 * progmodes/cc-engine.el (c-guess-continued-construct):
22378 Correct the handling of template-args-cont, particularly for when font
22379 lock is disabled. Name this case as "CASE G".
22381 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22383 * allout.el (allout-yank-processing): Fix injection of extra space
22384 between bullet and non-whitespace character in first topic when
22385 pasting, ensuring that the actual spacing in the pasted topic
22386 following the bullet char is preserved. This extra space was
22387 causing pasted encrypted topics to get a decrypted status even
22388 when the content was actually still encrypted. Now the decryption
22389 status from before the paste is preserved.
22391 (allout-flag-region): Set all allout overlays so they evaporate
22392 when reduced to zero length (evanescent), to prevent overlay
22395 2011-06-30 Glenn Morris <rgm@gnu.org>
22397 * w32-fns.el (w32-charset-info-alist): Declare.
22399 * find-dired.el (find-grep-options): Simplify.
22401 * term/ns-win.el (ns-set-resource): Declare.
22403 * ses.el (row, col): Declare dynamic variables honestly.
22405 * textmodes/reftex-parse.el (index-tags): Declare.
22407 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22409 * cus-edit.el (customize-push-and-save): New function.
22411 * files.el (hack-local-variables-confirm): Use it.
22413 * custom.el (load-theme): New arg NO-CONFIRM.
22414 Use customize-push-and-save (Bug#8720).
22415 (custom-enabled-themes): Doc fix.
22417 * cus-theme.el (customize-create-theme)
22418 (custom-theme-merge-theme): Callers to load-theme changed.
22420 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22422 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22423 short URLs have at least one dot in them (bug #7614).
22425 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22426 nil, because using a pty is apparently too slow (bug #895).
22428 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22430 * mail/sendmail.el (sendmail-query-once): New function.
22431 (sendmail-query-once-function): New variable.
22433 2011-06-29 Glenn Morris <rgm@gnu.org>
22435 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22437 * ses.el (top-level): Require cl when compiling.
22438 (ses-set-localvars): Fix error statement.
22439 Call it at compile time to silence a storm of warnings.
22441 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22443 * window.el (normalize-live-buffer): Rename to
22444 window-normalize-buffer.
22445 (normalize-live-frame): Rename to window-normalize-frame.
22446 (normalize-any-window): Rename to window-normalize-any-window.
22447 (normalize-live-window): Rename to window-normalize-live-window.
22448 (make-window-atom): Rename to window-make-atom.
22449 (window-resize-reset): Rename to window--resize-reset.
22450 (window-resize-reset-1): Rename to window--resize-reset-1.
22451 (resize-mini-window): Rename to window--resize-mini-window.
22452 (resize-subwindows-skip-p): Rename to
22453 window--resize-subwindows-skip-p.
22454 (resize-subwindows-normal): Rename to
22455 window--resize-subwindows-normal.
22456 (resize-subwindows): Rename to window--resize-subwindows.
22457 (resize-other-windows): Rename to window--resize-siblings.
22458 (resize-this-window): Rename to window--resize-this-window.
22459 (resize-root-window): Rename to window--resize-root-window.
22460 (resize-root-window-vertically): Rename to
22461 window--resize-root-window-vertically.
22462 (normalize-buffer-to-display): Rename to
22463 window-normalize-buffer-to-display.
22464 (normalize-buffer-to-switch-to): Rename to
22465 window-normalize-buffer-to-switch-to.
22466 Correspondingly update all callers of the functions listed
22468 (display-buffer-alist, display-buffer-normalize-arguments)
22469 (display-buffer-normalize-options, display-buffer)
22470 (display-buffer-alist-set): Use "function" instead of
22473 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22475 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22476 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22477 debbugs.gnu.org. Mention acknowledgment email.
22479 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22481 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22482 buffer multibyteness, since it shouldn't matter.
22484 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22486 * window.el (display-buffer-in-side-window): Handle dedicated
22487 windows as in display-buffer-reuse-window.
22488 (display-buffer-normalize-alist): Use value of override
22490 (display-buffer-normalize-specifiers): Use value of
22491 other-window-means-other-frame specifier.
22492 (display-buffer-alist): Rewrite some texts in widgets.
22493 (display-buffer): Spread arguments when calling function
22494 specified by fun-with-args.
22496 2011-06-28 Deniz Dogan <deniz@dogan.se>
22498 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22501 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22502 selectors (Bug#5732).
22503 (css-proprietary-nmstart-re): Use `regexp-opt'.
22505 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22507 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22508 (eshell-ls-date-format): New defcustom.
22509 (eshell-ls-file): Use it.
22511 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22513 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22515 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22517 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22518 (ange-ftp-make-tmp-name): New arg.
22519 (ange-ftp-file-local-copy): Use it.
22521 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22523 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22524 no-conversion (Bug#8870).
22526 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22528 * window.el (window-right, window-left, window-child)
22529 (window-child-count, window-last-child)
22530 (window-iso-combination-p, walk-window-tree-1)
22531 (window-atom-check-1, window-tree-1, delete-window)
22532 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22533 new naming conventions - window-vchild, window-hchild,
22534 window-next and window-prev are now called window-top-child,
22535 window-left-child, window-next-sibling and window-prev-sibling
22537 (resize-window-reset): Rename to window-resize-reset.
22538 (resize-window-reset-1): Rename to window-resize-reset-1.
22539 (resize-window): Rename to window-resize.
22540 (window-min-height, window-min-width)
22541 (resize-mini-window, resize-this-window, resize-root-window)
22542 (resize-root-window-vertically, adjust-window-trailing-edge)
22543 (enlarge-window, shrink-window, maximize-window)
22544 (minimize-window, delete-window, quit-restore-window)
22545 (split-window, balance-windows, balance-windows-area-adjust)
22546 (balance-windows-area, window-state-put-2)
22547 (display-buffer-even-window-sizes, display-buffer-set-height)
22548 (display-buffer-set-width, set-window-text-height)
22549 (fit-window-to-buffer): Rename all "resize-window" prefixed
22550 calls to use the "window-resize" prefix convention.
22551 (display-buffer-alist): Fix symbol for label specifier.
22552 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22553 corresponding specifier.
22554 Reported by Juanma Barranquero <lekktu@gmail.com>.
22556 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22558 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22560 (ses-call-printer): Does not pass an empty string to formatter when the
22561 cell is empty to keep from barking printer Calc math-format-value.
22563 2011-06-27 Richard Stallman <rms@gnu.org>
22565 * battery.el (battery-mode-line-limit): New variable.
22566 (battery-update): Handle it.
22568 * mail/rmailmm.el (rmail-mime-process-multipart):
22569 Handle truncated messages.
22571 2011-06-27 Glenn Morris <rgm@gnu.org>
22573 * progmodes/flymake.el (flymake-err-line-patterns):
22574 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22576 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22578 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22579 (ses--clean-!, ses--clean-_): New functions.
22580 (ses-range): Add configurability of readout order, and conversion
22583 * ses.el (ses-repair-cell-reference-all): New function.
22584 (ses-cell-symbol): Set macro as safe, so that it can be used in
22587 * ses.el: Update cycle detection algorithm.
22588 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22589 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22590 (ses-set-localvars): New function.
22591 (ses-make-cell): Add property-list as a cell element.
22592 (ses-cell-property-get-fun, ses-cell-property-get)
22593 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22594 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22596 (ses-cell-property-set, ses-cell-property-pop)
22597 (ses-cell-property-get-handle): New macro.
22598 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22599 New aliases, used for code readability.
22600 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22602 (ses-self-reference-early-detection): New defcustom.
22603 (ses-formula-references): Robustify against self-referring cells.
22604 (ses-mode): Use ses-set-localvars.
22605 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22606 before lauching the update processing.
22607 (ses-initialize-Dijkstra-attempt): New function.
22608 (ses-recalculate-cell): Update for cycle detection based on
22609 Dijkstra algorithm.
22611 * ses.el: Fix commenting and indenting convention.
22613 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22615 * bs.el (bs-cycle-next): Complete last change.
22617 2011-06-27 Drew Adams <drew.adams@oracle.com>
22619 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22621 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22623 * net/network-stream.el (network-stream-open-starttls):
22624 Don't re-get capabilities unless we've reestablished connection.
22625 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22627 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22628 to binary to possibly avoid line encoding issues on Windows (among
22631 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22633 * net/network-stream.el (open-network-stream): Return an :error
22634 saying what the problem was, if possible.
22636 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22639 * net/network-stream.el (network-stream-open-starttls): If we
22640 wanted to use STARTTLS, and the server offered it, but we weren't
22641 able to because we had no STARTTLS support, then close the connection.
22642 (open-network-stream): Return an :error element, if present.
22644 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22646 * hl-line.el (hl-line-sticky-flag): Doc fix.
22647 (global-hl-line-sticky-flag): New option (Bug#8323).
22648 (global-hl-line-highlight): Obey it.
22650 * vc/vc.el (vc-revert-show-diff): Default to t.
22652 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22654 * allout-widgets.el (allout-widgets-post-command-business):
22655 Stop decorating intermediate isearch matches. They're not being
22656 undecorated when an isearch is continued past, and isearch
22657 automatically collapses them. This leads to "widget leaks", where
22658 decorated items accumulate in collapsed areas. Lines with lots of
22659 hidden widgets can slow down cursor travel, substantially.
22660 Too much complicated machinery would be needed to ensure undecoration,
22661 so we're doing without this nicety.
22663 (allout-widgets-tally-string): Don't try to do a hash-table-count
22664 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22665 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22666 *Messages* when allout-widgets-maintain-tally is t.
22668 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22670 * window.el (display-buffer-normalize-argument): Rename to
22671 display-buffer-normalize-arguments. Handle special meaning of
22672 LABEL argument. Respect special-display-function when popping up
22673 a new frame. Fix code searching for a window showing the buffer
22675 (display-buffer-normalize-specifiers):
22676 Call display-buffer-normalize-arguments.
22677 (display-buffer-in-window): Don't undedicate the window if its
22678 buffer remains the same.
22679 Reported by Drew Adams <drew.adams@oracle.com>.
22680 (display-buffer-alist): Add choice for same-window macro
22682 (display-buffer): Mention special meaning of LABEL argument in
22683 doc-string. Fix quoting. Don't pop up a new frame even as
22686 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22688 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22689 avoid deleting the current window in some cases (bug#8911).
22691 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22693 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22696 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22698 * net/network-stream.el (network-stream-open-starttls):
22699 Use built-in TLS support if `gnutls-available-p' is true.
22700 (network-stream-open-tls): Ditto.
22702 2011-06-26 Leo Liu <sdl.web@gmail.com>
22704 * register.el (registerv): New struct.
22705 (registerv-make): New function.
22706 (jump-to-register, describe-register-1, insert-register):
22707 Support the jump-func, print-func and insert-func slot of a registerv
22710 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22712 * vc/vc.el (vc-revert-show-diff): New defcustom.
22713 (vc-diff-internal): New arg specifying diff buffer.
22714 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22715 reuse an existing *vc-diff* buffer (Bug#8927).
22717 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22719 2011-06-26 Glenn Morris <rgm@gnu.org>
22721 * progmodes/f90.el (f90-critical-indent): New option.
22722 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22723 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22724 (f90-mode): Doc fix.
22725 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22726 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22727 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22728 (f90-match-end): Handle block, critical.
22730 2011-06-25 Glenn Morris <rgm@gnu.org>
22732 * calendar/diary-lib.el (diary-included-files): Doc fix.
22733 (diary-include-files): New function, extracted from
22734 diary-include-other-diary-files and diary-mark-included-diary-files.
22735 (diary-include-other-diary-files, diary-mark-included-diary-files):
22736 Just call diary-include-files.
22737 (diary-mark-entries): Reset diary-included-files on first call.
22739 * calendar/diary-lib.el (diary-mark-entries)
22740 (diary-mark-included-diary-files):
22741 Visit included diary-files in temp buffers.
22743 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22744 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22745 (f90-start-block-re, f90-imenu-generic-expression)
22746 (f90-looking-at-program-block-start, f90-no-block-limit):
22747 Add support for submodules.
22749 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22750 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22752 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22754 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22755 buffer-file-type before setting its value, to avoid disastrous
22756 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22758 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22760 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22762 * ses.el (ses-unload-function):
22763 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22765 * proced.el (proced-unload-function):
22766 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22768 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22770 * server.el (server-create-window-system-frame): Add parameters arg.
22771 (server-process-filter): Doc fix. Handle frame-parameters.
22773 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22775 Fix bug#8730, bug#8781.
22777 * loadhist.el (unload--set-major-mode): New function.
22778 (unload-feature): Use it.
22780 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22781 (python-unload-function): New function.
22783 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22785 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22787 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22789 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22790 the candidates list.
22792 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22794 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22796 2011-06-23 Richard Stallman <rms@gnu.org>
22798 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22799 (rmail-variables): Set next-error-move-function.
22800 (rmail-what-message): Take argument POS.
22801 (rmail-next-error-move): New function.
22803 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22805 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22806 messages for adjacent non-terminals.
22808 2011-06-23 Richard Stallman <rms@gnu.org>
22810 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22811 (rmail-show-message-1): Preserve buffer modified flag.
22812 (rmail-start-mail): Don't specify use of rmail-mail-return;
22813 that's done by mail-bury now.
22814 (rmail-mail-return): Handle arg NEWBUF.
22816 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22818 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22821 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22823 * window.el (get-lru-window, get-mru-window)
22824 (get-largest-window): Never return a minibuffer window.
22825 (display-buffer-pop-up-window): Fix a bug that could lead to
22826 reusing the minibuffer window.
22827 (display-buffer): Pass original specifier argument to
22828 display-buffer-function instead of the normalized one.
22829 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22831 2011-06-22 Leo Liu <sdl.web@gmail.com>
22833 * minibuffer.el (completing-read-function)
22834 (completing-read-default): Move from minibuf.c.
22836 2011-06-22 Richard Stallman <rms@gnu.org>
22838 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22839 to Rmail even if not started by a special Rmail command.
22841 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22842 Copy the buffer currently showing just one message.
22844 2011-06-22 Roland Winkler <winkler@gnu.org>
22846 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22847 (bibtex-clean-entry): First delete the old key so that a
22848 customized algorithm for generating the new key does not get
22849 confused by the old key.
22850 (bibtex-url): Obey regexp of first step.
22851 (bibtex-search-entries): Do not use add-to-list with local
22854 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22856 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22857 stored a user name, then query for the password first, instead of
22858 waiting for SMTP to give an error message and the trying again.
22860 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22862 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22863 BUFFER in call-process.
22865 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22867 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22869 (smtpmail-try-auth-methods): Require user name and password from
22872 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22874 * window.el (display-buffer-default-specifiers)
22875 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22876 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22877 (split-window): Normalize SIDE argument (Bug#8916).
22879 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22880 (special-display-frame-alist, special-display-popup-frame):
22881 Remove duplicate declarations. These are now in window.el.
22883 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22885 * mail/smtpmail.el (smtpmail-via-smtp):
22886 Set :use-starttls-if-possible so that we always use STARTTLS if the
22887 server supports it. SMTP servers that support STARTTLS commonly
22890 * net/network-stream.el (network-stream-open-starttls): Support
22891 upgrading to STARTTLS always, even if we don't have built-in support.
22892 (open-network-stream): Add the :always-query-capabilities keyword.
22894 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22895 upgrades with `open-network-stream', and rely solely on
22896 auth-source for all credentials. Big changes throughout the file,
22898 (smtpmail-auth-credentials): Remove.
22899 (smtpmail-starttls-credentials): Remove.
22900 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22903 * net/network-stream.el (network-stream-open-starttls):
22904 Provide support for client certificates both for external and built-in
22906 (auth-source): Require.
22907 (open-network-stream): Document the :client-certificate keyword.
22908 (network-stream-certificate): Change cert-cert to cert and
22911 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22913 * net/tramp-cache.el (top): Don't load the persistency file when
22914 "emacs -Q" has been called.
22916 2011-06-21 Tim Harper <timcharper@gmail.com>
22918 * term/ns-win.el (ns-initialize-window-system):
22919 Set application-specific `ApplePressAndHoldEnabled' system
22920 resource to NO as it is not yet supported by the NS port.
22922 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22924 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22925 (list-dynamic-libraries): ...not here.
22927 2011-06-21 Leo Liu <sdl.web@gmail.com>
22929 * subr.el (sha1): Implement sha1 using secure-hash.
22931 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22933 * window.el (display-buffer-alist): In default value do not
22934 enforce searching a window on any but the selected frame.
22935 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22936 (display-buffer-select-window): Remove function.
22937 (display-buffer-in-window): When a window on another frame gets
22938 reused, do not select it any more but just raise its frame if
22939 necessary (Bug#8851) and (Bug#8856).
22940 (display-buffer-normalize-options): Handle pop-up-frames related
22941 options more faithfully.
22942 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22943 window if it is on another frame.
22944 (display-buffer-alist, display-buffer-default-specifiers):
22945 Don't make new frame unsplittable by default.
22946 (display-buffer-normalize-argument): Fix doc-string typo and use
22947 'same-frame-other-window instead of 'other-window when associating
22948 with display-buffer-macro-specifiers.
22950 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22952 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22954 (5x5-mode-map, 5x5-mode-menu): Bind them.
22955 (5x5-draw-grid): Tweak the solver's rendering.
22957 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22959 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22960 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22962 2011-06-21 Drew Adams <drew.adams@oracle.com>
22964 * menu-bar.el: Use function variable instead of switch-to-buffer.
22965 (menu-bar-select-buffer-function): New variable.
22966 (menu-bar-update-buffers): Use it (bug#8876).
22968 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22970 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22973 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22975 * x-dnd.el (x-dnd-version-from-flags)
22976 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22977 and long as number (Bug#8899).
22978 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22980 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22982 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22983 (completion-try-completion, completion-all-completions): Compute the
22984 metadata argument if it's missing; make it optional (bug#8795).
22986 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22987 (widget-complete): Use new :completion-function property.
22988 (widget-completions-at-point): New function.
22989 (default): Use :completion-function instead of :complete.
22990 (widget-default-completions): Rename from widget-default-complete;
22992 (widget-string-complete, widget-file-complete, widget-color-complete):
22994 (file, symbol, function, variable, coding-system, color):
22995 * international/mule-cmds.el (default-input-method, charset)
22996 (language-info-custom-alist):
22997 * cus-edit.el (face): Use new property :completions.
22999 * progmodes/pascal.el (pascal-completions-at-point): New function.
23000 (pascal-mode): Use it.
23001 (pascal-mode-map): Use completion-at-point.
23002 (pascal-toggle-completions): Make obsolete.
23003 (pascal-complete-word, pascal-show-completions):
23004 * progmodes/octave-mod.el (octave-complete-symbol):
23005 Redefine as obsolete alias.
23006 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23007 Signal absence of completion info for old Octave,
23008 (inferior-octave-complete): Redefine as obsolete alias.
23009 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23010 (meta-completions-at-point): Rename from meta-complete-symbol and
23011 adapt it for use on completion-at-point-functions.
23012 (meta-common-mode): Use it.
23013 (meta-looking-at-backward, meta-match-buffer): Remove.
23014 (meta-complete-symbol): Redefine as obsolete alias.
23015 (meta-common-mode-map): Use completion-at-point.
23016 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23017 (makefile-mode-map): Use completion-at-point.
23018 (makefile-completions-at-point): Rename from makefile-complete and
23019 adapt it for use on completion-at-point-functions.
23020 (makefile-mode): Use it.
23021 (makefile-complete): Redefine as obsolete alias.
23023 2011-06-20 Deniz Dogan <deniz@dogan.se>
23025 * net/rcirc.el: Delete trailing whitespaces once and for all.
23027 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23029 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23031 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23033 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23035 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23037 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23039 * window.el (display-buffer-other-window-means-other-frame):
23040 Call display-buffer-normalize-alist.
23041 (display-buffer-normalize-specifiers-1): Rename to
23042 display-buffer-normalize-argument. New argument other-frame.
23044 (display-buffer-normalize-specifiers-2): Rename to
23045 display-buffer-normalize-options.
23046 (display-buffer-normalize-alist-1): New function.
23047 (display-buffer-normalize-specifiers-3): Rename to
23048 display-buffer-normalize-alist.
23049 Call display-buffer-normalize-alist-1.
23050 (display-buffer-normalize-options-inhibit): New variable.
23051 (display-buffer-normalize-specifiers): Rewrite calling
23052 display-buffer-normalize-alist,
23053 display-buffer-normalize-argument, and
23054 display-buffer-normalize-options. Don't call the latter if
23055 display-buffer-normalize-options-inhibit is non-nil.
23056 (frame-auto-delete): New option.
23057 (window-deletable-p): Use frame-auto-delete.
23058 (window-list-no-nils, window-state-ignored-parameters)
23059 (window-state-get-1, window-state-get, window-state-put-list)
23060 (window-state-put-1, window-state-put-2, window-state-put):
23062 (display-buffer-normalize-options): Move special-display-p group
23063 after pop-up-frame group (Bug#8851) and (Bug#8856).
23065 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23067 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23069 (rx-submatch-n): New function.
23072 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23075 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23077 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23079 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23080 anytime existing face settings are present (Bug#8889).
23082 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23083 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23084 Remove unused argument.
23086 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23088 * window.el (display-buffer-default-specifiers):
23089 Remove pop-up-frame. Add pop-up-window-min-height,
23090 pop-up-window-min-width, and another reuse-window specifier
23091 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23092 (display-buffer-normalize-specifiers-2):
23093 Handle split-height-threshold and split-width-threshold also when
23094 pop-up-windows is unset. Add a reuse-window specifier for the
23095 case popping up a new window fails.
23096 (special-display-popup-frame): Remove double quoting.
23097 (display-buffer-normalize-specifiers-1): Fix thinko.
23099 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23101 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23102 according to comint-completion-addsuffix.
23104 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23105 (pcomplete-suffix-list): Mark as obsolete.
23106 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23107 pcomplete-seen in the closure.
23108 (pcomplete-comint-setup): Setup completion-at-point as well.
23109 (pcomplete--entries): New function.
23110 (pcomplete--env-regexp): New var.
23111 (pcomplete-entries): Rewrite to work with partial-completion and
23112 without relying on pcomplete-suffix-list.
23113 (pcomplete-pare-list): Remove, unused.
23115 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23117 * window.el (display-buffer-alist): Set pop-up-window-min-height
23118 and pop-up-window-min-width in default value. Reported by
23119 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23120 other-window-means-other-frame.
23121 (display-buffer-macro-specifiers): Comment out entry for
23122 other-window specifier.
23123 (display-buffer-other-window-means-other-frame): New function.
23124 (display-buffer-normalize-specifiers-1): New arguments
23125 buffer-name and label. Treat other-window case specially.
23126 (display-buffer-normalize-specifiers-2): Treat other-window case
23128 (display-buffer-normalize-specifiers-3): New function.
23129 (display-buffer-normalize-specifiers):
23130 Call display-buffer-normalize-specifiers-3.
23132 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23134 * window.el (same-window-p): Fix two typos introduced when
23135 adding with-no-warnings.
23136 (display-buffer-normalize-specifiers-1): Don't check
23137 pop-up-frames for 'unset initialization.
23138 (display-buffer-normalize-specifiers-2): Major rewrite using
23139 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23140 (pop-up-frames, display-buffer-reuse-frames)
23141 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23142 Suggested by David Engster <deng@randomsample.de>.
23143 (even-window-heights): Initialize to 'unset.
23144 (display-buffer-alist-set): Handle new 'unset initializations.
23145 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23148 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23150 * window.el (display-buffer-normalize-specifiers-1):
23151 Respect current value of pop-up-frames for most reasonable values of
23152 second argument of display-buffer (Bug#8865).
23153 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23154 (switch-to-buffer-other-window-same-frame)
23155 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23157 (display-buffer): Don't check noninteractive when calling
23158 display-buffer-pop-up-frame.
23159 (display-buffer-pop-up-frame): Never pop up a frame in
23160 noninteractive mode (Bug#8857).
23161 (enlarge-window, shrink-window): Don't report an error when the
23162 window can't be resized as requested (Bug#8862).
23164 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23166 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23168 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23170 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23172 2011-06-15 Alan Mackenzie <acm@muc.de>
23174 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23175 for declarators, disable knr checking to speed up for normal files.
23176 2: Refactor, replacing a sequence of nested if forms by a cond form.
23178 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23180 * net/network-stream.el (open-network-stream): Add the keyword
23181 :always-query-capabilities for the case where you want to force a
23182 `plain' network connection, but the protocol still requires the
23183 capabilitiy command (i.e., SMTP and EHLO).
23185 * subr.el (process-live-p): Rename from `process-alive-p' for
23186 consistency with other `-live-p' functions.
23188 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23190 * window.el (same-window-buffer-names, same-window-regexps)
23191 (special-display-frame-alist, special-display-popup-frame)
23192 (special-display-function, special-display-buffer-names)
23193 (special-display-regexps, pop-up-frame-alist)
23194 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23195 (pop-up-windows, split-window-preferred-function)
23196 (split-height-threshold, split-width-threshold, even-window-heights)
23197 (display-buffer-mark-dedicated): Don't encourage the use of
23198 display-buffer-alist from Elisp code.
23200 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23202 * progmodes/python.el (python-mode): Derive from prog-mode.
23203 * progmodes/ps-mode.el (ps-mode):
23204 * progmodes/mixal-mode.el (mixal-mode):
23205 * progmodes/cfengine.el (cfengine-mode):
23206 * progmodes/ld-script.el (ld-script-mode): Likewise.
23208 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23210 * window.el (display-buffer-alist): Trim default value to avoid
23211 popping up a new frame (Bug#8857) or reusing an arbitrary window
23213 (display-buffer): Do not fall back on popping up a new frame in
23214 batch mode (Bug#8857).
23216 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23218 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23219 (custom-theme-summary): New function.
23220 (customize-themes): Use it.
23222 2011-06-13 Glenn Morris <rgm@gnu.org>
23224 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23226 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23228 * help.el (help-window): Remove variable.
23229 (help-window-point-marker, temp-buffer-max-height)
23230 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23231 (help-print-return-message): Don't set help-window.
23232 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23233 (help-window-setup-finish): Remove.
23234 (help-window-display-message, help-window-setup)
23235 (with-help-window): Major rewrite based on new
23236 display-buffer-window variable.
23238 * help-mode.el (help-mode-finish): Remove help-window related
23241 * view.el (view-exits-all-viewing-windows): Remove reference to
23242 view-return-to-alist in doc-string.
23243 (view-return-to-alist): Make obsolete.
23244 (view-buffer): Call pop-to-buffer-same-window and remove
23246 (view-buffer-other-window): Call pop-to-buffer-other-window and
23247 simplify code. Ignore second argument.
23248 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23249 simplify code. Ignore second argument.
23250 (view-return-to-alist-update): Make obsolete.
23251 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23252 Rewrite using quit-restore window parameters.
23253 (view-mode-exit): Rename second argument to EXIT-ONLY.
23254 Rewrite using quit-restore-window.
23255 (View-exit, View-exit-and-edit, View-leave, View-quit)
23256 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23257 appropriate arguments.
23258 (view-end-message): Use quit-restore window parameter.
23260 * window.el (display-buffer-function): Rewrite doc-string.
23261 (display-buffer-window, display-buffer-alist): New variables.
23262 (display-buffer-split-specifiers)
23263 (display-buffer-side-specifiers)
23264 (display-buffer-macro-specifiers): New constants.
23265 (display-buffer-even-window-sizes, display-buffer-set-height)
23266 (display-buffer-set-width, display-buffer-select-window)
23267 (display-buffer-in-window, display-buffer-reuse-window)
23268 (display-buffer-split-window-1, display-buffer-split-window)
23269 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23270 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23271 (display-buffer-in-side-window, normalize-buffer-to-display)
23272 (display-buffer-normalize-specifiers-1)
23273 (display-buffer-normalize-specifiers-2)
23274 (display-buffer-normalize-specifiers, display-buffer-frame):
23276 (display-buffer): Major rewrite.
23277 (display-buffer-other-window, display-buffer-other-frame)
23278 (pop-to-buffer, switch-to-buffer-other-window)
23279 (switch-to-buffer-other-frame): Rewrite.
23280 (display-buffer-same-window, display-buffer-same-frame)
23281 (display-buffer-same-frame-other-window)
23282 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23283 (pop-to-buffer-other-window)
23284 (pop-to-buffer-same-frame-other-window)
23285 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23286 (switch-to-buffer-other-window-same-frame): New functions.
23287 (same-window-p, special-display-p): Rewrite disabling warnings.
23289 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23290 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23292 (same-window-buffer-names, same-window-regexps)
23293 (special-display-frame-alist, special-display-popup-frame)
23294 (special-display-function, special-display-buffer-names)
23295 (special-display-regexps, pop-up-frame-alist)
23296 (pop-up-frame-function, split-window-preferred-function)
23297 (split-height-threshold, split-width-threshold)
23298 (even-window-heights): Make obsolete.
23300 2011-06-12 Glenn Morris <rgm@gnu.org>
23302 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23303 Misc simplifications.
23305 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23307 * window.el (window-safely-shrinkable-p): Restore function which
23308 was inadvertently removed in change from 2011-06-11. Declare as
23311 * calendar/calendar.el (calendar-generate-window):
23312 Use window-iso-combined-p instead of combination of one-window-p and
23313 window-safely-shrinkable-p.
23315 2011-06-12 Glenn Morris <rgm@gnu.org>
23317 * progmodes/fortran.el (fortran-mode-syntax-table):
23318 * progmodes/f90.el (f90-mode-syntax-table):
23319 Set % to punctuation. (Bug#8820)
23320 (f90-find-tag-default): Remove, no longer needed.
23322 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23324 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23326 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23328 * image.el (image-animated-p): Return animation delay in seconds.
23329 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23330 (image-animate-timeout): Remove DELAY argument. Don't assume
23331 every subimage has the same delay; get it from image-animated-p.
23332 (image-animate): Caller changed.
23334 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23336 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23337 to ignored backtrace functions.
23339 2011-06-11 Glenn Morris <rgm@gnu.org>
23341 * calendar/appt.el (appt-disp-window-function): Doc fix.
23342 (appt-check): Handle overlapping appointments. (Bug#8337)
23344 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23346 * window.el (window-tree-1, window-tree): New functions, moving
23347 the latter to window.el.
23348 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23349 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23350 (bw-refresh-edges): Remove.
23351 (balance-windows-1, balance-windows-2): New functions.
23352 (balance-windows): Rewrite in terms of window tree functions,
23353 balance-windows-1 and balance-windows-2.
23354 (bw-adjust-window): Remove.
23355 (balance-windows-area-adjust): New function with functionality of
23356 bw-adjust-window but using resize-window.
23357 (set-window-text-height): Rewrite doc-string.
23358 Use normalize-live-window and resize-window.
23359 (enlarge-window-horizontally, shrink-window-horizontally):
23360 Rename argument to DELTA.
23361 (window-buffer-height): New function.
23362 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23363 Rewrite using new window resize routines.
23364 (kill-buffer-and-window, mouse-autoselect-window-select):
23365 Use ignore-errors instead of condition-case.
23366 (quit-window): Call delete-frame instead of delete-windows-on
23367 for the only buffer on frame.
23369 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23371 * loadup.el (top-level): Load window before files for the sake
23372 of replace-buffer-in-windows.
23374 * files.el (read-buffer-to-switch)
23375 (switch-to-buffer-other-window)
23376 (switch-to-buffer-other-frame, display-buffer-other-frame):
23379 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23380 (previous-buffer): Move to window.el.
23382 * bindings.el (unbury-buffer): Move to window.el.
23384 * window.el (delete-other-windows-vertically): Move after
23385 definition of delete-other-windows.
23386 (other-window, delete-windows-on, replace-buffer-in-windows):
23387 Move here from window.c.
23388 (record-window-buffer, unrecord-window-buffer)
23389 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23390 (switch-to-next-buffer): New functions.
23391 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23392 from simple.el. Call switch-to-next-buffer.
23393 (previous-buffer): Move here from simple.el.
23394 Call switch-to-prev-buffer.
23395 (bury-buffer): Move here from buffer.c. Switch to previous
23396 buffer when window cannot be deleted.
23397 (unbury-buffer): Move here from bindings.el.
23398 (ctl-x-map): Move binding for other-window from window.c to
23400 (read-buffer-to-switch, switch-to-buffer-other-window)
23401 (switch-to-buffer-other-frame): Move here from files.el.
23402 (normalize-buffer-to-switch-to): New functions.
23403 (switch-to-buffer): Move here from buffer.c.
23404 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23406 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23408 * window.el (window-min-height, window-min-width): Move here
23409 from window.c. Add defcustoms and rewrite doc-strings.
23410 (resize-mini-window, resize-window): New functions.
23411 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23412 Move here from window.c.
23413 (maximize-window, minimize-window): New functions.
23414 (delete-window, delete-other-windows, split-window): Move here
23416 (window-split-min-size): New function.
23417 (split-window-keep-point): Mention split-window-above-each-other
23418 instead of split-window-vertically.
23419 (split-window-above-each-other, split-window-vertically):
23420 Rename split-window-vertically to split-window-above-each-other
23421 and provide defalias for old definition.
23422 (split-window-side-by-side, split-window-horizontally):
23423 Rename split-window-horizontally to split-window-side-by-side
23424 and provide defalias for the old definition.
23425 (ctl-x-map): Move bindings for delete-window,
23426 delete-other-windows and enlarge-window here from window.c.
23427 Replace bindings for split-window-vertically and
23428 split-window-horizontally by bindings for
23429 split-window-above-each-other and split-window-side-by-side.
23431 * cus-start.el (all): Remove entries for window-min-height and
23432 window-min-width. Add entries for window-splits and
23435 2011-06-09 Glenn Morris <rgm@gnu.org>
23437 * calendar/appt.el (appt-mode-line): New function.
23438 (appt-check, appt-disp-window): Use it.
23440 * files.el (hack-one-local-variable-eval-safep):
23441 Allow minor-modes with explicit +/-1 arguments.
23443 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23445 * term/xterm.el (xterm): Add defgroup.
23446 (xterm-extra-capabilities): Add defcustom to supply known xterm
23447 capabilities, skip querying them, or query them (default).
23448 (terminal-init-xterm): Use it.
23449 (terminal-init-xterm-modify-other-keys): New function to set up
23450 modifyOtherKeys support to simplify `terminal-init-xterm'.
23452 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23454 * window.el (resize-window-reset, resize-window-reset-1)
23455 (resize-subwindows-skip-p, resize-subwindows-normal)
23456 (resize-subwindows, resize-other-windows, resize-this-window)
23457 (resize-root-window, resize-root-window-vertically)
23458 (window-deletable-p, window-or-subwindow-p)
23459 (frame-root-window-p): New functions.
23461 2011-06-09 Glenn Morris <rgm@gnu.org>
23463 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23464 (ange-ftp-get-files): Use it.
23466 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23468 * mail/sendmail.el (mail-recover-1, mail-recover):
23469 * files.el (recover-file, recover-session):
23470 Handle dired-listing-switches not being just a single short option.
23472 2011-06-09 Glenn Morris <rgm@gnu.org>
23474 * calendar/appt.el (appt-display-message, appt-disp-window):
23475 Handle lists of appointments.
23477 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23479 * window.el (one-window-p): Move down in code.
23480 Rewrite doc-string.
23481 (window-current-scroll-bars): Rewrite doc-string.
23482 Normalize live window argument.
23483 (walk-windows, get-window-with-predicate, count-windows):
23484 Rewrite doc-string. Use window-list-1.
23485 (window-in-direction-2, window-in-direction, get-mru-window):
23488 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23490 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23491 Doc fix (Bug#8713).
23493 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23495 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23497 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23499 * loadhist.el (unload-feature-special-hooks):
23500 Add `comint-output-filter-functions'.
23502 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23504 * calendar/appt.el (appt-check): Move some initializations into the let.
23506 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23508 * window.el (window-height): Defalias to window-total-height.
23509 (window-width): Defalias to window-body-width.
23511 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23513 * image-mode.el (image-toggle-animation): New command.
23514 (image-mode-map): Bind it to RET.
23515 (image-mode): Update message.
23516 (image-toggle-display-image): Avoid a spurious cache flush.
23517 (image-transform-rotation): Doc fix.
23518 (image-transform-properties): Return quickly in the normal case.
23519 (image-animate-loop): Rename from image-animate-max-time.
23521 * image.el (image-animate-max-time): Move to image-mode.el.
23522 (create-animated-image): Remove unnecessary function.
23523 (image-animate): Rename from image-animate-start. New arg.
23524 (image-animate-stop): Remove; just use image-animate-timer.
23525 (image-animate-timer): Use car-safe.
23526 (image-animate-timeout): Rename argument.
23528 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23530 * window.el (get-lru-window, get-largest-window): Move here from
23531 window.c. Rename first argument to ALL-FRAMES.
23532 Rephrase doc-strings.
23533 (get-buffer-window-list): Rewrite using window-list-1.
23534 Rephrase doc-string.
23535 (window-safe-min-height, window-safe-min-width): New constants.
23536 (window-size-ignore, window-min-size, window-min-size-1)
23537 (window-sizable, window-sizable-p, window-size-fixed-1)
23538 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23539 (window-max-delta-1, window-max-delta, window-resizable)
23540 (window-resizable-p, window-total-height, window-total-width)
23541 (window-body-width): New functions.
23542 (window-full-height-p, window-full-width-p): Rewrite using
23544 (window-body-height): Rewrite using window-body-size.
23546 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23548 * window.el (window-right, window-left, window-child)
23549 (window-child-count, window-last-child, window-any-p)
23550 (normalize-live-buffer, normalize-live-frame)
23551 (normalize-any-window, normalize-live-window)
23552 (window-iso-combination-p, window-iso-combined-p)
23553 (window-iso-combinations)
23554 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23555 (windows-with-parameter, window-with-parameter)
23556 (window-atom-root, make-window-atom, window-atom-check-1)
23557 (window-atom-check, window-side-check, window-check):
23559 (ignore-window-parameters, window-sides, window-sides-vertical)
23560 (window-sides-slots): New variables.
23561 (window-size-fixed): Move down in code. Minor doc-string fix.
23563 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23565 * comint.el (comint-dynamic-complete-as-filename)
23566 (comint-dynamic-complete-filename): Correctly call
23567 completion-in-region.
23569 2011-06-05 Deniz Dogan <deniz@dogan.se>
23571 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23574 2011-06-05 Deniz Dogan <deniz@dogan.se>
23576 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23577 (rcirc): Use it to prompt for encryption.
23579 2011-06-05 Roland Winkler <winkler@gnu.org>
23581 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23582 (bibtex-search-entries): New command bound to C-c C-a.
23583 (bibtex-display-entries): New function.
23585 2011-06-05 Roland Winkler <winkler@gnu.org>
23587 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23588 (bibtex-insert-kill): After yanking insert newline if necessary.
23589 (bibtex-initialize): Call bibtex-string-files-init only once.
23590 (bibtex-mode): Do not call easy-menu-add.
23591 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23592 (bibtex-yank): Set arg properly if nil.
23594 2011-06-05 Roland Winkler <winkler@gnu.org>
23596 * textmodes/bibtex.el (bibtex-search-entry-globally):
23598 (bibtex-search-entry): Use it.
23600 2011-06-05 Roland Winkler <winkler@gnu.org>
23602 * textmodes/bibtex.el (bibtex-entry-format): New option
23604 (bibtex-format-entry, bibtex-reformat): Honor this option.
23605 (bibtex-parse-entry): Return fields in proper order.
23607 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23609 * doc-view.el (doc-view-remove-if): Move computation of result out
23610 of `dolist' to silence misleading lexical-binding warning.
23612 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23614 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23615 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23617 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23619 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23622 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23624 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23625 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23626 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23627 (tramp-parse-putty):
23628 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23629 (tramp-completion-function-alist-ssh)
23630 (tramp-completion-function-alist-telnet)
23631 (tramp-completion-function-alist-su)
23632 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23635 * net/tramp-ftp.el:
23637 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23638 load "tramp.el" `tramp-set-completion-function'.
23640 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23642 * shell.el: Require and use pcomplete.
23643 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23644 (shell-completion-vars): Set pcomplete-default-completion-function.
23646 2011-06-04 Deniz Dogan <deniz@dogan.se>
23648 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23651 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23653 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23655 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23657 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23658 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23659 * vc/log-view.el (log-view-beginning-of-defun):
23660 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23661 (smerge-refine-forward, smerge-refine-chopup-region):
23662 Silence warning for unused `dotimes' counter variables.
23664 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23666 * net/tramp.el (tramp-with-progress-reporter): Rename from
23667 with-progress-reporter. Use `declare'.
23668 * net/tramp-smb.el:
23670 * net/tramp-gvfs.el: Update all uses.
23672 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23674 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23675 buffer isn't killed before making it current.
23677 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23679 Silence various byte-compiler warnings.
23680 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23681 `access-type' and new obsolescence format.
23682 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23684 (byte-compile-check-variable): New `access-type' argument.
23685 Only warn if the access-type is obsolete.
23686 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23687 (byte-compile-variable-set): Adjust callers.
23688 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23689 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23690 setting it as obsolete.
23691 * simple.el (minibuffer-completing-symbol):
23692 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23693 access as obsolete.
23694 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23696 * international/quail.el (quail-mouse-choose-completion): Remove unused
23697 code referring to obsolete var.
23698 (quail-choose-completion-string): Remove.
23699 * server.el (server-clients-with, server-kill-buffer-query-function)
23700 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23701 * proced.el (proced-send-signal):
23702 * emacs-lisp/lisp.el (lisp-complete-symbol):
23703 Replace completion-annotate-function with completion-extra-properties.
23705 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23707 * simple.el (goto-line): Use read-number.
23708 (overriding-map-is-bound): Remove.
23709 (saved-overriding-map): Change default.
23710 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23711 Take the map as argument.
23712 (universal-argument, negative-argument, digit-argument): Use it.
23713 (restore-overriding-map): Adjust.
23714 (do-auto-fill): Use fill-forward-paragraph.
23715 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23717 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23718 (minibuffer-inactive-mode): New major mode.
23719 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23720 the *Messages* buffer" hack.
23721 (mouse-popup-menubar): Don't burp if the event is a normal key.
23723 Miscellaneous tweaks.
23724 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23725 lexical scoping as in subr.el's dolist and dotimes.
23726 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23727 Silence compiler warning.
23728 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23729 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23730 * international/ccl.el (ccl-compile): Trivial simplification.
23731 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23732 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23733 `printflag' argument.
23734 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23735 Purecopy the whole obsolescence data.
23737 2011-06-01 Leo Liu <sdl.web@gmail.com>
23739 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23740 improve doc-string as suggested by Marco Pessotto
23741 <melmothx@gmail.com>.
23742 (rcirc-print): Fix last change.
23744 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23746 * minibuffer.el (complete-with-action): Return nil for the metadata and
23747 boundaries of non-functional tables.
23748 (completion-table-dynamic): Return nil for the metadata.
23749 (completion-table-with-terminator): Add default case, using
23750 complete-with-action.
23751 (completion--metadata): New function.
23752 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23753 to try and avoid pathological performance problems.
23754 (completion--embedded-envvar-table): Return `category' metadata.
23756 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23758 * subr.el (process-alive-p): New tiny convenience function.
23760 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23762 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23763 content but also its previous major mode.
23765 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23767 * emacs-lisp/debug.el (debug): Restore the previous content of the
23768 *Backtrace* buffer when we exit with C-M-c.
23770 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23772 * minibuffer.el: Add metadata method to completion tables.
23773 (completion-category-overrides): New defcustom.
23774 (completion-metadata, completion--field-metadata)
23775 (completion-metadata-get, completion--styles)
23776 (completion--cycle-threshold): New functions.
23777 (completion-try-completion, completion-all-completions):
23778 Add `metadata' argument to choose completion-styles.
23779 (completion--do-completion): Use metadata to choose cycling.
23780 (completion-all-sorted-completions): Use metadata for sorting.
23781 Remove :completion-cycle-penalty which is not needed any more.
23782 (completion--try-word-completion): Add `metadata' argument.
23783 (minibuffer-completion-help): Check metadata for annotation function
23785 (completion-file-name-table): Return `category' metadata.
23786 (minibuffer-completing-file-name): Make obsolete.
23787 * simple.el (minibuffer-completing-symbol): Make obsolete.
23788 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23789 completion-try-completion.
23791 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23793 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23795 2011-05-30 Leo Liu <sdl.web@gmail.com>
23797 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23798 (rcirc-print): Decode all incoming messages (bug#8744).
23799 (rcirc-decode-coding-system): Allow value nil for automatic coding
23802 2011-06-01 Glenn Morris <rgm@gnu.org>
23804 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23806 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23808 * image.el (image-animate-max-time): Allow nil and t values.
23810 (create-animated-image): Doc fix.
23811 (image-animate-start): Remove second arg; just use
23812 image-animate-max-time.
23813 (image-animate-timeout): Doc fix. Args changed.
23815 * image-mode.el (image-toggle-display-image): Ensure that the
23816 image spec passed to the animate timer is the same object as in
23817 the buffer's display property (Bug#6981).
23818 (image-transform-properties): Doc fix.
23820 * image.el (image-animate-max-time): Default to nil.
23822 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23824 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23825 entire buffer list (Bug#8184).
23827 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23829 * image.el (imagemagick-types-inhibit)
23830 (imagemagick-register-types): Doc fix.
23832 2011-05-29 Deniz Dogan <deniz@dogan.se>
23834 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23837 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23839 * select.el: Don't perform clipboard-manager saving in hooks;
23840 leave the hooks empty.
23842 2011-05-28 Leo Liu <sdl.web@gmail.com>
23844 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23845 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23846 (occur-edit-mode): New major mode (Bug#8463).
23847 (occur-after-change-function): New function.
23848 (occur-engine): Give Occur tags a read-only property.
23850 2011-05-28 Kevin Ryde <user42@zip.com.au>
23852 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23854 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23856 * bindings.el (help-echo): Make the initial non-indicator dash
23857 empty on graphical terminals (Bug#7295).
23859 * files.el (auto-mode-alist): Move config rule after the
23860 in-stripping one (Bug#8547).
23862 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23864 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23865 setting (Bug#8740).
23867 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23869 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23870 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23873 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23875 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23877 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23879 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23880 (hs-hide-block-at-point, hs-find-block-beginning)
23881 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23884 2011-05-28 Glenn Morris <rgm@gnu.org>
23886 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23888 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23890 * help-fns.el (describe-function-1): If the function is a derived
23891 major mode, print the parent mode.
23893 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23894 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23896 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23898 * minibuffer.el (completion--capf-wrapper): Check applicability before
23899 returning non-nil for non-exclusive completion data.
23900 * progmodes/etags.el (tags-completion-at-point-function):
23901 * info-look.el (info-lookup-completions-at-point): Mark as
23903 (info-complete): Adjust accordingly.
23905 * info-look.el: Convert to lexical-binding and completion-at-point.
23906 (info-lookup-completions-at-point): New function.
23907 (info-complete): Use it and completion-in-region.
23909 2011-05-28 Drew Adams <drew.adams@oracle.com>
23911 * isearch.el: Let M-e start with point at the first mismatched char.
23912 (isearch-fail-pos): New function.
23913 (isearch-edit-string): Use it.
23915 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23917 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23919 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23921 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23922 traversal functions for avl-trees.
23923 (avl-tree--stack): New struct.
23924 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23925 (avl-tree-enter): Add optional `updatefun' arg.
23926 (avl-tree--do-enter): Add optional `updatefun' arg.
23927 Change return value.
23928 (avl-tree-delete): Add optional `test' and `nilflag' args.
23929 (avl-tree--do-delete): Add `test' and `nilflag' args.
23930 Change return value.
23931 (avl-tree-member): Add optional `nilflag'
23932 (avl-tree-member-p): New function.
23933 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23934 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23935 (avl-tree-stack-empty-p): New functions.
23937 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23938 avl-tree--del-balance1 and make it work both ways.
23939 (avl-tree--del-balance2): Remove.
23940 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23941 make it work both ways.
23942 (avl-tree--enter-balance2): Remove.
23943 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23945 (avl-tree--mapc, avl-tree-map): Add direction argument.
23947 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23949 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23951 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23953 * select.el: Support clipboard managers with built-in function
23954 x-clipboard-manager-save, via delete-frame-functions and
23956 (xselect-convert-to-targets): Add MULTIPLE target to list.
23957 (xselect-convert-to-save-targets): New function.
23959 2011-05-27 Kenichi Handa <handa@m17n.org>
23961 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23962 let-binding rfc2047-encode-encoded-words to nil.
23964 2011-05-27 Glenn Morris <rgm@gnu.org>
23966 * mail/emacsbug.el: Don't require url-util.
23968 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23970 * files.el (set-auto-mode):
23971 Also respect mode: entries at the end of the file. (Bug#8586)
23973 2011-05-26 Glenn Morris <rgm@gnu.org>
23975 * files.el (hack-local-variables-prop-line, hack-local-variables):
23976 Downcase mode names, as seems to be traditional.
23977 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23979 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23980 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23982 2011-05-25 Julien Danjou <julien@danjou.info>
23984 * textmodes/rst.el (rst-define-level-faces): Do not define face
23985 symbol if it is already defined.
23987 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23989 * play/5x5.el (5x5-new-game, 5x5-randomize):
23990 Reset 5x5-solver-output to nil when a new grid is cast.
23991 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23992 these debugging traces, as defmacro breaks the compiled code.
23994 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23996 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23998 2011-05-24 Leo Liu <sdl.web@gmail.com>
24000 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24001 (vc-bzr-sha1): Adapt.
24003 * sha1.el: Remove. Function `sha1' is now builtin.
24005 * bindings.el: Provide sha1 feature.
24007 2011-05-24 Kenichi Handa <handa@m17n.org>
24009 * mail/sendmail.el: Require `rfc2047'.
24010 (mail-insert-from-field): Do not perform RFC2047 encoding.
24011 (mail-encode-header): New function.
24012 (sendmail-send-it): Set buffer-file-coding-system of the work
24013 buffer to the return value of select-message-coding-system.
24014 Call mail-encode-header.
24016 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24018 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24020 * mail/supercite.el (sc-default-cite-frame):
24021 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24023 2011-05-24 Glenn Morris <rgm@gnu.org>
24025 * progmodes/python.el (brm-menu): Declare.
24027 * emulation/viper.el (viper-set-hooks): Declare.
24029 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24030 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24031 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24032 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24033 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24034 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24036 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24038 Add an :exit-function for completion-at-point.
24040 * minibuffer.el (completion--done): New fun.
24041 (completion--do-completion): Use it. New arg `expect-exact'.
24042 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24043 since completion--do-completion does it for us now.
24044 (minibuffer-force-complete): Use completion--done and
24045 completion--replace. Handle sole-completion case with more care.
24046 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24047 (completion-extra-properties): New var.
24048 (completion-annotate-function): Make obsolete.
24049 (minibuffer-completion-help): Adjust accordingly.
24050 Use completion-list-insert-choice-function.
24051 (completion-at-point, completion-help-at-point):
24052 Bind completion-extra-properties.
24053 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24054 * simple.el (completion-list-insert-choice-function): New var.
24055 (completion-setup-function): Preserve it.
24056 (choose-completion): Pay attention to it, shuffle the code a bit.
24057 (choose-completion-string): New arg `insert-function'.
24059 * textmodes/bibtex.el: Convert to lexical binding.
24060 (bibtex-mode-map): Use completion-at-point.
24061 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24062 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24063 (bibtex-complete): Define as obsolete alias.
24064 (bibtex-complete-internal): Remove.
24065 (bibtex-format-entry): Remove unused sub-group in regexp.
24066 * shell.el (shell--command-completion-data)
24067 (shell-environment-variable-completion):
24068 * pcomplete.el (pcomplete-completions-at-point):
24069 * comint.el (comint--complete-file-name-data): Use :exit-function
24070 instead of completion-table-with-terminator so it also works for
24073 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24075 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24077 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24080 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24082 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24084 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24085 customization variable and implement: If non-nil, auto-fill will
24086 be inhibited while on topic's header line.
24088 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24090 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24091 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24092 always have a solution in grid size = 5 cases.
24093 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24094 (5x5-solver-output, 5x5-log-buffer): New vars.
24095 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24096 Make these variables buffer local to achieve 5x5 multi-session-ness.
24097 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24098 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24099 (5x5-solve-suggest): New funs.
24100 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24101 randomize a grid so that we ensure that there is always a solution.
24102 (5x5-make-random-grid): Allow other movement than flipping.
24104 2011-05-23 Kevin Ryde <user42@zip.com.au>
24106 * emacs-lisp/advice.el (ad-read-advised-function):
24107 Use `function-called-at-point' as the default, if it has
24108 advice and passes PREDICATE.
24110 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24112 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24113 byte-compile-lambda if it's actually a lambda.
24115 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24116 Fix function quoting. Use backquote better.
24118 2011-05-22 Yuanle Song <sylecn@gmail.com>
24120 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24121 matching (Bug#8516).
24123 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24125 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24126 different face (Bug#8178).
24128 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24130 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24131 defface (Bug#8144).
24133 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24135 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24136 funcall as well (bug#8712). Warn when performing those conversions.
24137 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24139 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24141 2011-05-22 Glenn Morris <rgm@gnu.org>
24143 * files.el (hack-local-variables-prop-line): Small simplifications.
24144 (hack-local-variables, hack-local-variables-prop-line):
24145 If MODE-ONLY, return the mode, rather than just `t'.
24147 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24149 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24151 2011-05-21 Glenn Morris <rgm@gnu.org>
24153 * files.el (hack-local-variables-prop-line, hack-local-variables):
24154 If only interested in the mode, don't bother doing the other stuff.
24156 * image-mode.el (image-after-revert-hook):
24157 Redraw all frames on which the image is visible. (Bug#8567)
24159 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24161 * wid-edit.el (widget-checklist-match-inline):
24162 Fix 2011-04-19 change. (Bug#8649)
24164 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24166 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24167 Also allow singlespace after single-letter capitals followed by a dot.
24169 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24170 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24172 2011-05-20 Nix <nix@esperi.org.uk>
24174 * files.el (basic-save-buffer-2):
24175 Fix handling of break-hardlink-on-save with non-existent files.
24177 2011-05-19 Deniz Dogan <deniz@dogan.se>
24179 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24180 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24182 2011-05-19 Glenn Morris <rgm@gnu.org>
24184 * progmodes/f90.el (f90-type-def-re):
24185 Handle "type, bind(c)". (Bug#8691)
24187 * emacs-lisp/autoload.el (batch-update-autoloads):
24188 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24190 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24192 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24193 property for the correct connection in case of multihops.
24195 2011-05-18 Glenn Morris <rgm@gnu.org>
24197 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24198 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24200 Rationalize calendar handling of day and month abbrev-arrays.
24201 * calendar/calendar.el (calendar-customized-p): New function.
24202 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24203 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24205 (calendar-abbrev-length, calendar-day-abbrev-array)
24206 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24207 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24208 Elements may no longer be nil.
24209 (calendar-day-name, calendar-month-name):
24210 Update for changed nature of abbrev arrays.
24211 * calendar/diary-lib.el (diary-name-pattern):
24212 Update for changed nature of abbrev arrays.
24213 (diary-mark-entries-1): Update calendar-make-alist calls.
24214 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24215 * calendar/cal-html.el (cal-html-day-abbrev-array):
24216 Simply inherit from calendar-day-abbrev-array.
24218 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24220 * progmodes/grep.el (grep-mode): Disable default
24221 compilation-directory-matcher setting (bug#8684).
24223 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24225 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24226 instead of "head" and "tail". There were problems with SunOS 5.9,
24227 and it performs better.
24229 2011-05-17 Glenn Morris <rgm@gnu.org>
24231 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24233 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24234 Replace obsolete function.
24236 * shell.el (pcomplete-parse-arguments-function): Declare.
24238 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24239 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24240 (appt-check): Doc fixes.
24241 (appt-disp-window-function, appt-delete-window-function):
24242 Remove needless special case in custom :type.
24243 (appt-display-count): Default to 0, not nil.
24244 (appt-check): Reset appt-display-count to 0, not nil.
24246 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24248 * progmodes/python.el (python-font-lock-keywords):
24249 Add the Python 3.X keyword "nonlocal" (bug#8639).
24251 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24253 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24255 2011-05-16 Kevin Ryde <user42@zip.com.au>
24257 * info-look.el (makefile-automake-mode): New setups, looking in
24258 automake manual, then makefile-mode.
24259 (makefile-mode): Remove automake manual, have it just in
24260 makefile-automake-mode since there's various things different or
24261 not relevant to plain make.
24262 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24263 believe a hypothetical automake-mode would go to makefile-mode,
24264 not the other way around.
24266 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24268 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24269 hunk-end tags (Bug#8672).
24271 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24272 vc-annotate-show-diff-revision-at-line (Bug#8671).
24274 2011-05-14 Glenn Morris <rgm@gnu.org>
24276 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24277 in the middle of an existing one with multiple authors. (Bug#8645)
24278 (change-log-font-lock-keywords): Also handle multiple author lines
24279 with leading tabs. (Bug#8644)
24281 * calendar/appt.el (appt-check): Rename some local variables.
24282 Some simplification/reordering.
24284 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24285 (feedmail-sendmail-f-doesnt-sell-me-out)
24286 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24287 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24288 (feedmail-queue-runner-message-sender): Set :version.
24289 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24290 (bbdb-dwim-net-address, vm-mail): Declare.
24291 (feedmail-binmail-gnulinuxish-template):
24292 Rename from feedmail-binmail-linuxish-template.
24293 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24294 Use insert-buffer-substring.
24296 2011-05-14 Bill Carpenter <bill@carpenter.org>
24298 * mail/feedmail.el (feedmail-patch-level): Increase.
24299 (feedmail-debug): New custom group.
24300 (feedmail-confirm-outgoing-timeout)
24301 (feedmail-sendmail-f-doesnt-sell-me-out)
24302 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24303 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24304 (feedmail-sender-line, feedmail-from-line)
24305 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24306 (feedmail-spray-this-address)
24307 (feedmail-spray-address-fiddle-plex-list)
24308 (feedmail-queue-use-send-time-for-date)
24309 (feedmail-queue-use-send-time-for-message-id)
24310 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24311 (feedmail-buffer-eating-function):
24313 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24314 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24315 (feedmail-message-action-scroll-down): New functions.
24316 (feedmail-queue-directory, feedmail-queue-draft-directory):
24317 Use expand-file-name.
24318 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24319 Remove C-v help entry.
24320 (feedmail-queue-buffer-file-name): New variable.
24321 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24322 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24323 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24324 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24325 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24326 (feedmail-message-action-toggle-spray)
24327 (feedmail-run-the-queue-no-prompts)
24328 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24329 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24330 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24331 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24332 (feedmail-envelope-deducer, feedmail-fiddle-from)
24333 (feedmail-fiddle-sender, feedmail-default-date-generator)
24334 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24335 (feedmail-fiddle-spray-address)
24336 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24337 (feedmail-fiddle-list-of-fiddle-plexes)
24338 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24339 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24340 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24341 Change default. Doc fix.
24342 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24343 (feedmail-binmail-linuxish-template): New constant.
24344 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24345 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24346 (feedmail-send-it): Add debug call.
24347 Use feedmail-queue-buffer-file-name, and
24348 feedmail-send-it-immediately-wrapper.
24349 (feedmail-message-action-send): Add debug call.
24350 Use feedmail-send-it-immediately-wrapper.
24351 (feedmail-queue-express-to-queue): Add debug call.
24352 Run feedmail-queue-express-hook.
24353 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24354 (feedmail-message-action-help-blat):
24355 Rename from feedmail-queue-send-edit-prompt-help-first.
24356 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24357 Check line-endings. Handle errors better.
24358 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24359 Doc fix. Add debug call.
24360 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24361 Use feedmail-queue-send-edit-prompt-inner.
24362 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24363 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24364 from feedmail-queue-send-edit-prompt.
24365 (feedmail-queue-send-edit-prompt-help)
24366 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24367 (feedmail-tidy-up-slug): Add debug call.
24368 Respect feedmail-queue-slug-suspect-regexp.
24369 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24370 (feedmail-dump-message-to-queue): Add debug call.
24371 Expand queue-directory.
24372 (feedmail-dump-message-to-queue): Change message slightly.
24373 Use feedmail-say-chatter.
24374 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24375 (feedmail-send-it-immediately-wrapper): New function.
24376 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24377 Insert empty string rather than newline. Handle full-frame case.
24378 Use catch/throw. Use feedmail-say-chatter.
24379 (feedmail-fiddle-from): Try mail-host-address.
24380 (feedmail-default-message-id-generator): Doc fix.
24381 Bind system-time-locale. Handle missing end.
24382 (feedmail-fiddle-x-mailer): Add debug call.
24383 Handle feedmail-x-mailer-line being nil.
24384 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24385 Add debug call. Use buffer-substring-no-properties.
24386 (feedmail-say-debug, feedmail-say-chatter): New functions.
24387 (feedmail-find-eoh): Give an explicit error.
24389 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24391 * net/newst-treeview.el (newsticker-treeview-face): Change default
24392 family from helvetica to sans.
24393 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24394 etc/images/newsticker.
24396 * net/newst-reader.el (newsticker-feed-face): Change default
24397 family from helvetica to sans.
24399 * net/newst-plainview.el (newsticker-new-item-face)
24400 (newsticker-old-item-face, newsticker-immortal-item-face)
24401 (newsticker-obsolete-item-face, newsticker-date-face)
24402 (newsticker-statistics-face): Change default family from
24404 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24405 etc/images/newsticker.
24407 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24408 (newsticker--process-auto-mark-filter-match): Tell user about
24411 2011-05-13 Didier Verna <didier@xemacs.org>
24413 Common Lisp indentation improvements on defmethod and lambda-lists.
24414 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24416 (lisp-lambda-list-keyword-parameter-indentation)
24417 (lisp-lambda-list-keyword-parameter-alignment)
24418 (lisp-lambda-list-keyword-alignment): New customizable user options.
24419 (lisp-indent-defun-method): Improve docstring.
24420 (extended-loop-p): Fix comment.
24421 (lisp-indent-lambda-list-keywords-regexp): New variable.
24422 (lisp-indent-lambda-list): New function.
24423 (lisp-indent-259): Use it.
24424 (lisp-indent-defmethod): Support for more than one
24425 method qualifier and properly indent methods lambda-lists.
24426 (defgeneric): Provide a missing common-lisp-indent-function property.
24428 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24430 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24431 bounds for the empty string (bug#8667).
24433 2011-05-13 Glenn Morris <rgm@gnu.org>
24435 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24437 * mail/sendmail.el (sendmail-program): Try executable-find first.
24438 (sendmail-send-it): `sendmail-program' cannot be unbound.
24440 * calendar/appt.el (appt-make-list): Simplify.
24441 (appt-time-msg-list): Doc fix.
24442 (appt-check): Change mode-line message at the time of the appointment.
24444 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24446 * progmodes/ld-script.el (ld-script-keywords)
24447 (ld-script-builtins): Update keywords list.
24449 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24451 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24453 * shell.el (shell-completion-vars): New function.
24455 * simple.el (read-shell-command): Use it.
24456 (blink-matching-open): No need for " [...]" in minibuffer-message.
24458 2011-05-12 Glenn Morris <rgm@gnu.org>
24460 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24461 (appt-check): Simplify.
24463 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24465 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24466 literal "/dev/null".
24468 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24470 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24473 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24475 * progmodes/which-func.el (which-function):
24476 Use add-log-current-defun instead of add-log-current-defun-function,
24477 which might not be defined (Bug#8260).
24479 2011-05-12 Glenn Morris <rgm@gnu.org>
24481 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24482 Let byte-compile-initial-macro-environment always take precedence.
24484 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24486 * net/rcirc.el: Add support for SSL/TLS connections.
24487 (rcirc-server-alist): New field `encryption'.
24488 (rcirc): Check `encryption' settings.
24489 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24490 Merge make-local-variable into `set'.
24491 (rcirc--connection-open-p): New function.
24492 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24493 the process is not a network process (e.g. running gnutls-cli).
24494 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24495 Make rcirc-(en|de)code-coding-system local here.
24496 (rcirc-mode): Merge make-local-variable into `set'.
24497 (rcirc-parent-buffer): Make permanent buffer-local.
24498 (rcirc-multiline-minor-mode): Don't do it here.
24499 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24500 there's no server buffer.
24502 2011-05-11 Glenn Morris <rgm@gnu.org>
24504 * newcomment.el (comment-kill): Prefix "unused" local.
24506 * term/w32console.el (get-screen-color): Declare.
24508 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24509 Handle symbol elements of byte-compile-initial-macro-environment.
24511 2011-05-10 Leo Liu <sdl.web@gmail.com>
24513 * bookmark.el (bookmark-bmenu-mode-map):
24514 Bind bookmark-bmenu-search to `/'.
24516 * mail/footnote.el: Convert to utf-8 encoding.
24517 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24518 (Footnote-unicode): New function.
24519 (footnote-style-alist): Add unicode style to the list.
24520 (footnote-style): Doc fix.
24522 2011-05-10 Jim Meyering <meyering@redhat.com>
24524 Fix doubled-word typos.
24525 * international/quail.el (quail-insert-kbd-layout): and and -> and
24526 * kermit.el: and and -> and
24527 * net/ldap.el (ldap-search-internal): to to -> to
24528 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24529 * progmodes/js.el (js-mode): and and -> and
24530 * textmodes/artist.el (artist-move-to-xy): at at -> at
24531 (artist-draw-region-trim-line-endings): if if -> if
24532 And Safetyc -> Safety.
24533 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24535 2011-05-10 Glenn Morris <rgm@gnu.org>
24536 Stefan Monnier <monnier@iro.umontreal.ca>
24538 * files.el (hack-one-local-variable-eval-safep):
24539 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24541 2011-05-10 Glenn Morris <rgm@gnu.org>
24543 * calendar/diary-lib.el (diary-list-entries-hook)
24544 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24545 (diary-nongregorian-marking-hook, diary-list-entries)
24546 (diary-include-other-diary-files, diary-mark-entries)
24547 (diary-mark-included-diary-files): Doc fixes.
24549 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24551 * misc.el: Require tabulated-list.el during compilation.
24553 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24555 * progmodes/compile.el (compilation-start):
24556 Run compilation-filter-hook for the async case too.
24557 (compilation-filter-hook): Doc fix.
24559 2011-05-09 Deniz Dogan <deniz@dogan.se>
24561 * wdired.el: Remove outdated installation comment. Fix usage
24564 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24566 * misc.el: Implement new command `list-dynamic-libraries'.
24567 (list-dynamic-libraries--loaded-only-p): New variable.
24568 (list-dynamic-libraries--refresh): New function.
24569 (list-dynamic-libraries): New command.
24571 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24574 Fix the ant regexp to handle end-line and end-column info from jikes.
24575 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24576 higher priority to avoid clobbering by gnu.
24578 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24580 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24581 if the face has existing theme settings (Bug#8454).
24583 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24585 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24586 Only match variables declared via `my' or `our' (Bug#8261).
24588 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24589 special file names `.' and `..' (Bug#8259).
24591 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24593 * progmodes/grep.el (grep-mode-font-lock-keywords):
24594 Remove buffer-changing entries.
24595 (grep-filter): New function.
24596 (grep-mode): Add it to compilation-filter-hook.
24598 * progmodes/compile.el (compilation-filter-hook)
24599 (compilation-filter-start): New defvars.
24600 (compilation-filter): Call compilation-filter-hook prior to
24601 updating the process mark.
24603 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24605 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24607 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24609 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24610 mailclient-send-it even if window-system is nil. (Bug#8595)
24612 * term/w32console.el (terminal-init-w32console):
24613 Call get-screen-color and use its output to set the frame
24614 background-mode. (Bug#8597)
24616 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24618 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24619 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24621 (defgeneric, eieio--defmethod): Use them.
24622 (eieio-defgeneric): Remove.
24623 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24625 2011-05-07 Glenn Morris <rgm@gnu.org>
24627 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24628 Use let rather than let*.
24629 (timeclock-find-discrep): Remove unused local.
24631 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24633 * calendar/appt.el (appt-time-msg-list): Doc fix.
24635 2011-05-06 Noah Friedman <friedman@splode.com>
24637 * apropos.el (apropos-print-doc): Only use
24638 emacs-lisp-docstring-fill-column when it is bound to an integer,
24639 per that variable's documentation.
24641 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24643 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24644 and warnings are not silently discarded (e.g. use -d instead of -P).
24646 2011-05-06 Glenn Morris <rgm@gnu.org>
24648 * calendar/appt.el (appt-message-warning-time): Doc fix.
24649 (appt-warning-time-regexp): New option.
24650 (appt-make-list): Respect appt-message-warning-time.
24652 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24654 (diary-add-to-list): Strip comments from the displayed string.
24655 (diary-mode): Set comment-start and comment-end.
24657 * vc/diff-mode.el (smerge-refine-subst): Declare.
24658 (diff-refine-hunk): Don't require smerge-mode when compiling.
24660 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24662 * simple.el (list-processes): Return nil as the docstring says.
24664 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24666 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24668 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24669 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24670 determining of binary transfer. (Bug#7383)
24672 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24675 Fix port computation bug. (Bug#8618)
24677 2011-05-05 Glenn Morris <rgm@gnu.org>
24679 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24681 * simple.el (shell-dynamic-complete-functions)
24682 (comint-dynamic-complete-functions): Declare.
24684 * net/network-stream.el (gnutls-negotiate):
24685 * simple.el (tabulated-list-print): Fix declarations.
24687 * progmodes/gud.el (syntax-symbol, syntax-point):
24688 Remove unnecessary and incorrect declarations.
24690 * emacs-lisp/check-declare.el (check-declare-scan):
24691 Handle byte-compile-initial-macro-environment in bytecomp.el.
24693 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24695 Fix earlier half-done eieio-defmethod change (bug#8338).
24696 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24697 Streamline and change calling convention.
24698 (defmethod): Adjust accordingly and simplify.
24699 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24700 new eieio--defmethod.
24701 (slot-boundp): Minor CSE simplification.
24703 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24705 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24706 (glasses-make-readable): Use glasses-separate-capital-groups.
24708 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24710 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24711 (warning-series): Doc fix.
24712 (display-warning): Don't try to create the buffer if we just found it.
24714 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24716 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24717 (autoload-find-generated-file): New function.
24718 (generate-file-autoloads): Bind generated-autoload-file to
24720 (update-file-autoloads, update-directory-autoloads):
24721 Use autoload-find-generated-file. If called interactively, prompt for
24722 output file (Bug#7989).
24723 (batch-update-autoloads): Doc fix.
24725 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24727 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24729 2011-05-04 Glenn Morris <rgm@gnu.org>
24731 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24732 function, so it follows changes in calendar-date-style.
24733 (diary-fancy-date-matcher): New function.
24734 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24735 (diary-fancy-font-lock-fontify-region-function):
24736 Use diary-fancy-date-pattern as a function.
24738 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24739 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24741 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24743 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24744 instead of positional arguments. Allow :keylist and :crlfiles
24746 (open-gnutls-stream): Call it.
24748 * net/network-stream.el (network-stream-open-starttls): Adjust to
24749 call `gnutls-negotiate' with :process and :hostname arguments.
24751 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24753 * minibuffer.el (completion--message): New function.
24754 (completion--do-completion, minibuffer-complete)
24755 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24756 (completion--do-completion): Don't ignore completion-auto-help when in
24759 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24760 internal encoding (e.g. tibetan zero is not whitespace).
24761 (global-whitespace-mode): Prefer save-current-buffer.
24762 (whitespace-trailing-regexp): Remove useless save-match-data.
24763 (whitespace-empty-at-bob-regexp): Minor simplification.
24765 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24767 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24769 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24771 * textmodes/ispell.el (ispell-add-per-file-word-list):
24772 Use `concat' to create string for insertion.
24774 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24776 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24777 Avoid open-line which runs post-self-insert-hook.
24778 (bibtex-fill-entry): Remove unused `end' var.
24780 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24782 * textmodes/ispell.el (ispell-add-per-file-word-list):
24783 Protect against `nil' value of `comment-start' (Bug#8579).
24785 2011-05-03 Leo Liu <sdl.web@gmail.com>
24787 * isearch.el (isearch-yank-pop): New command.
24788 (isearch-mode-map): Bind it to `M-y'.
24789 (isearch-forward): Mention it.
24791 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24793 * simple.el (minibuffer-complete-shell-command): Remove.
24794 (minibuffer-local-shell-command-map): Use completion-at-point.
24795 (read-shell-command): Setup completion vars here instead.
24796 (read-expression-map): Bind TAB to symbol completion.
24798 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24799 error directly rather via storing it into `results'.
24801 2011-05-02 Leo Liu <sdl.web@gmail.com>
24803 * vc/diff.el: Fix description.
24805 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24807 * server.el (server-eval-at): New function.
24809 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24811 * net/network-stream.el (open-network-stream): Take a :nowait
24812 parameter and pass it on to `make-network-process'.
24813 (network-stream-open-plain): Ditto.
24815 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24817 * faces.el (face-spec-set-match-display): Don't match toolkit
24818 options on terminal frames.
24820 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24822 * progmodes/pascal.el: Use lexical binding.
24823 (pascal-mode-map): Remove author preferences.
24825 * pcomplete.el (pcomplete-std-complete): Don't abuse
24826 completion-at-point.
24828 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24830 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24831 removing code that has been dead since 1991 or so.
24833 * startup.el (command-line): When warning about "_emacs", use a
24834 delayed warning to allow the user to filter it out.
24836 2011-04-28 Deniz Dogan <deniz@dogan.se>
24838 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24839 user has not joined.
24841 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24843 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24844 aren't any completions at point.
24846 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24848 * subr.el (display-delayed-warnings): New function.
24849 (delayed-warnings-hook): New variable.
24851 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24853 * minibuffer.el (completion-at-point, completion-help-at-point):
24854 Don't presume that a given completion-at-point-function will always
24855 use the same calling convention.
24857 * pcomplete.el (pcomplete-completions-at-point):
24858 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24859 pcomplete-seen is non-nil.
24860 (pcomplete-comint-setup): Also recognize the new comint/shell
24861 completion functions.
24862 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24863 pcomplete-seen is non-nil.
24865 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24867 * calendar/icalendar.el (diary-lib): Add require statement.
24868 (icalendar--create-uid): Read out a uid from a text-property on
24869 the first character in the entry. This allows for code to add its
24870 own uid to the entry.
24871 (icalendar--convert-float-to-ical): Add export of
24872 `diary-float'-entries save for those with the optional DAY
24875 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24877 * subr.el (shell-quote-argument): Use alternate escaping strategy
24878 when we spot a variable reference in a string.
24880 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24882 * cus-start.el (all): Define customization for debug-on-event.
24884 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24886 * subr.el (shell-quote-argument): Escape correctly under Windows.
24888 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24890 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24892 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24894 * net/tramp.el (tramp-process-actions): Add POS argument.
24895 Delete region between POS and (pos).
24897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24898 Use `nil' position in `tramp-process-actions' call.
24899 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24901 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24902 position in `tramp-process-actions' call.
24904 * net/trampver.el: Update release number.
24906 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24908 * custom.el (defcustom): Obey lexical-binding.
24910 Fix octave-inf completion problems reported by Alexander Klimov.
24911 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24912 Inherit from octave-mode-syntax-table.
24913 (inferior-octave-mode): Set info-lookup-mode.
24914 (inferior-octave-completion-at-point): New function.
24915 (inferior-octave-complete): Use it and completion-in-region.
24916 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24917 comint-filename-completion.
24918 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24919 symbol elements which shouldn't be word elements.
24920 (octave-font-lock-keywords, octave-beginning-of-defun)
24921 (octave-function-header-regexp): Adjust regexps accordingly.
24922 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24924 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24926 * net/gnutls.el (gnutls-errorp): Declare before first use.
24928 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24930 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24931 verify-error, and verify-hostname-error parameters. Check whether
24932 default trustfile exists before going to use it. Add missing
24933 argument to gnutls-message-maybe call. Return value.
24934 Reported by Claudio Bley <claudio.bley@gmail.com>.
24935 (open-gnutls-stream): Add usage example.
24937 * net/network-stream.el (network-stream-open-starttls): Give host
24938 parameter to `gnutls-negotiate'.
24939 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24940 * subr.el (shell-quote-argument): Escape correctly under Windows.
24942 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24944 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24945 Use correct match group (bug#8438).
24947 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24949 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24950 (package-menu--generate): New arg specifying packages to show.
24951 (package-menu-refresh, package-menu-execute, list-packages):
24953 (package-show-package-list): New function, replacing deleted
24954 package--list-packages (renamed because it is non-internal).
24956 * finder.el (finder-list-matches): Use package-show-package-list
24957 instead of deleted package--list-packages.
24959 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24960 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24961 (vc-annotate-mode-map): Bind it to RET.
24963 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24965 * progmodes/etags.el (next-file): Don't use set-buffer to change
24966 buffers (Bug#8478).
24968 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24970 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24972 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24973 (apropos-accumulator): Doc fix.
24974 (apropos-function, apropos-macro, apropos-command)
24975 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24976 (apropos-plist): Add face property.
24977 (apropos-symbols-internal): Fix indentation.
24978 (apropos-print): Simplify help, and recognize apropos-multi-type.
24979 (apropos-print-doc): Use button-type-get to extract the button's
24980 face property. Fill docstring (Bug#8352).
24982 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24984 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24986 * play/mpuz.el (mpuz-silent): Doc fix.
24987 (mpuz-mode-map): Use mapc.
24988 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24989 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24990 Fix typos in docstrings.
24992 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24993 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24995 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24997 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24999 * minibuffer.el (completion--do-completion): Avoid the "Next char
25000 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25002 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25003 mouse-2 into unread-command-events, it is interpreted correctly.
25005 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25006 (image-toggle-display): Doc fix.
25008 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25010 * textmodes/page.el (what-page): Use line-number-at-pos to
25011 calculate line number (Bug#6825).
25013 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25015 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25016 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25017 Pass argument NO-DEFAULT to `find-tag-interactive'.
25019 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25021 Lexical-binding cleanup.
25023 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25024 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25025 * progmodes/ada-prj.el (ada-prj-initialize-values)
25026 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25027 (ada-prj-show-value):
25028 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25029 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25030 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25031 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25032 * progmodes/bug-reference.el (bug-reference-push-button):
25033 * progmodes/fortran.el (fortran-line-length):
25034 * progmodes/glasses.el (glasses-change):
25035 * progmodes/octave-mod.el (octave-fill-paragraph):
25036 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25037 (python-pdbtrack-grub-for-buffer, python-sentinel):
25038 * progmodes/sql.el (sql-save-connection):
25039 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25040 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25041 Mark unused parameters.
25043 * progmodes/compile.el (compilation--flush-directory-cache)
25044 (compilation--flush-parse, compile-internal): Mark unused parameters.
25045 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25046 (compilation-next-error-function): Remove unused variable `timestamp'.
25048 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25049 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25051 * progmodes/dcl-mode.el (dcl-end-of-command):
25052 Remove unused variable `start'.
25053 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25054 (dcl-option-value-basic, dcl-option-value-offset)
25055 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25056 Mark unused parameters.
25057 (dcl-save-local-variable): Remove unused variable `val'.
25060 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25061 Mark unused parameters.
25062 (delphi-ignore-changes): Move before first use.
25063 (delphi-charset-token-at): Remove unused variable `start'.
25064 (delphi-else-start): Remove unused variable `if-count'.
25065 (delphi-comment-block-start, delphi-comment-block-end):
25066 Remove unused variable `kind'.
25067 (delphi-indent-line): Remove unused variable `new-point'.
25069 * progmodes/ebrowse.el (ebrowse-files-list)
25070 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25071 Mark unused parameters. Don't quote `lambda'.
25072 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25073 Don't quote `lambda'.
25074 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25075 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25076 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25077 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25078 Use `ignore-errors'.
25079 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25080 (ebrowse-view/find-file-and-search-pattern)
25081 (ebrowse-view/find-member-declaration/definition):
25082 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25083 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25084 Rename parameter PREFIX-ARG to PREFIX.
25085 (ebrowse-tags-read-name): Remove unused variables `start' and
25087 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25090 * progmodes/etags.el (local-find-tag-hook): Declare.
25091 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25092 Mark unused parameters.
25094 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25095 (executable-interpret): Mark unused parameter.
25097 * progmodes/flymake.el (flymake-process-sentinel)
25098 (flymake-after-change-function)
25099 (flymake-create-temp-with-folder-structure)
25100 (flymake-get-include-dirs-dot): Mark unused parameters.
25101 (flymake-safe-delete-directory): Remove unused variable `err'.
25103 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25104 (speedbar-timer-fn, speedbar-line-text)
25105 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25106 (speedbar-center-buffer-smartly): Declare functions.
25107 (gdb-find-watch-expression): Remove unused variable `array'.
25108 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25109 (gdb-starting): Mark unused parameters.
25110 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25111 (gdb-table-string): Remove unused variable `res'.
25112 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25113 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25114 (gdb-display-buffer): Remove unused variable `cur-size'.
25116 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25117 allow lexical-binding compilation.
25118 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25119 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25120 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25121 Mark unused parameters.
25122 (gud-gdb-marker-filter): Remove unused variable `match'.
25123 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25124 lambda expressions and funcall them, instead of using `fset'.
25126 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25127 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25129 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25130 variable `header-beg'; use `let'.
25132 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25133 `restart', `last-sexp' and `at-do'.
25135 * progmodes/js.el (js--debug): Mark unused parameter.
25136 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25137 (js--splice-into-items): Remove unused variable `item'.
25138 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25140 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25141 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25142 (makefile-complete): Remove unused variable `try'.
25143 (makefile-fill-paragraph, makefile-match-function-end):
25144 Mark unused parameters.
25146 * progmodes/octave-inf.el (inferior-octave-complete):
25147 Remove unused variable `proc'.
25148 (inferior-octave-output-digest): Mark unused parameter.
25150 * progmodes/perl-mode.el (perl-calculate-indent):
25151 Remove unused variable `err'.
25153 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25154 (prolog-indent-line): Mark unused parameters.
25155 (prolog-indent-line): Remove unused variable `beg'.
25157 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25158 (reporter-dont-compact-list): Declare.
25160 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25161 Remove unused variable `char'.
25162 (sh-debug): Mark unused parameter.
25163 (sh-get-indent-info): Remove unused variable `start'.
25164 (sh-calculate-indent): Remove unused variable `var'.
25166 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25167 (simula-electric-keyword): Remove unused variable `null'.
25168 (simula-search-backward, simula-search-forward): Remove unused
25169 variables `begin' and `end'.
25171 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25172 Remove unused variable `pos'.
25173 (vera-electric-tab, vera-comment-uncomment-region):
25174 Mark unused parameters.
25175 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25177 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25179 * emacs-lisp/package.el (package--builtins, package-alist)
25180 (package-load-descriptor, package-built-in-p, package-activate)
25181 (define-package, package-installed-p)
25182 (package-compute-transaction, package-buffer-info)
25183 (package--push): Doc fix. Distinguish more clearly between
25184 version strings and version lists.
25186 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25188 Lexical-binding cleanup.
25190 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25191 (5x5-make-mutate-best):
25192 * play/fortune.el (fortune-in-buffer):
25193 * play/gomoku.el (gomoku-init-display):
25194 * play/solitaire.el (solitaire, solitaire-do-check):
25195 * play/tetris.el (tetris-default-update-speed-function):
25196 Mark unused parameters.
25198 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25199 (bubbles--shift): Remove unused variable `char-org'.
25200 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25201 (bubbles--show-images): Remove unused variable `char'.
25203 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25204 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25205 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25206 (decipher-analyze-buffer): Use ?\s.
25207 (decipher-make-checkpoint): Remove unused variable `mapping'.
25209 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25211 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25212 Remove unused variable `result'; use `let'.
25214 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25215 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25216 (gametree-children-shown-p, gametree-compute-reduced-score):
25217 Use `ignore-errors'.
25219 * play/handwrite.el (ps-lpr-switches): Declare.
25220 (handwrite): Remove unused variables `pmin' and `lastp'.
25222 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25224 * play/landmark.el (landmark-init-display)
25225 (landmark-update-naught-weights): Mark unused parameters.
25226 (landmark-y): Remove unused variable `noise'. Simplify.
25227 (landmark-human-plays): Remove unused variable `score'.
25229 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25230 (mpuz-try-proposal): Remove unused variable `game'.
25232 * play/zone.el (life-patterns): Declare.
25234 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25236 * vc/vc.el (ediff-vc-internal): Declare function.
25238 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25240 * shell.el: Use lexical-binding and std completion UI.
25241 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25242 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25243 comint-preoutput-filter-functions rather than on
25244 comint-output-filter-functions.
25245 (shell-command-completion, shell--command-completion-data)
25246 (shell-filename-completion, shell-environment-variable-completion)
25247 (shell-c-a-p-replace-by-expanded-directory): New functions.
25248 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25249 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25250 (shell-dynamic-complete-environment-variable): Use them.
25251 (shell-dynamic-complete-as-environment-variable)
25252 (shell-dynamic-complete-as-command): Remove.
25253 (shell-match-partial-variable): Match past point.
25254 * comint.el: Clean up use of completion-at-point-functions.
25255 (comint-completion-at-point): New function.
25256 (comint-mode): Use it completion-at-point-functions.
25257 (comint-dynamic-complete): Make it obsolete.
25258 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25259 (comint-c-a-p-replace-by-expanded-history): New function.
25260 (comint-dynamic-complete-functions)
25261 (comint-replace-by-expanded-history): Use it.
25262 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25263 termination strings. Try harder to avoid second try-completion.
25264 (completion-in-region-mode-map): Disable bindings that don't work yet.
25266 * comint.el: Use lexical-binding. Require CL.
25267 (comint-dynamic-complete-functions): Use comint-filename-completion.
25268 (comint-completion-addsuffix): Tweak custom type.
25269 (comint-filename-completion, comint--common-suffix)
25270 (comint--common-quoted-suffix, comint--table-subvert)
25271 (comint--complete-file-name-data): New functions.
25272 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25273 (comint-dynamic-list-filename-completions): Use them.
25274 (comint-dynamic-simple-complete): Make obsolete.
25276 * minibuffer.el (completion-in-region-mode):
25277 Keep completion-in-region-mode--predicate global.
25278 (completion-in-region--postch):
25279 Assume completion-in-region-mode--predicate is not null.
25281 * progmodes/flymake.el (flymake-start-syntax-check-process):
25282 Obey `dir'. Simplify.
25284 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25285 we're in VC after all.
25287 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25289 * vc/vc.el (vc-diff-build-argument-list-internal)
25290 (vc-version-ediff, vc-ediff): New commands.
25291 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25293 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25295 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25298 * obsolete/erc-hecomplete.el: Make obsolete.
25299 * obsolete/: Standardize obsolescence info in the header.
25301 2011-04-20 Glenn Morris <rgm@gnu.org>
25303 * calendar/solar.el (solar-horizontal-coordinates):
25304 Use the longitude argument rather than `calendar-longitude'.
25305 (solar-date-next-longitude): Remove unused locals.
25307 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25309 * whitespace.el: New version 13.2.1.
25311 2011-04-20 felix <EmacsWiki> (tiny change)
25313 * whitespace.el (global-whitespace-mode): Keep highlight when
25314 switching between major modes on a file.
25316 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25318 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25319 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25320 multi-line comments as well.
25322 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25324 Lexical-binding cleanup.
25326 * arc-mode.el (archive-mode-revert):
25327 * cmuscheme.el (scheme-interactively-start-process):
25328 * custom.el (custom-initialize-delay):
25329 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25330 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25331 * emacs-lock.el (emacs-lock-clear-sentinel):
25332 * ezimage.el (defezimage):
25333 * follow.el (follow-avoid-tail-recenter):
25334 * fringe.el (set-fringe-mode-1):
25335 * generic-x.el (bat-generic-mode-compile):
25336 * help-mode.el (help-info-variable, help-do-xref)
25337 (help-mode-revert-buffer):
25338 * help.el (view-emacs-todo):
25339 * iswitchb.el (iswitchb-completion-help):
25340 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25341 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25342 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25343 * locate.el (locate-update):
25344 * longlines.el (longlines-encode-region)
25345 (longlines-after-change-function):
25346 * outline.el (outline-isearch-open-invisible):
25347 * ps-def.el (declare-function, charset-dimension, char-width)
25349 * ps-mule.el (ps-mule-plot-string):
25350 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25351 (recentf-edit-list-select, recentf-edit-list-validate)
25352 (recentf-open-files-action):
25353 * rect.el (delete-whitespace-rectangle-line)
25354 (rectangle-number-line-callback):
25355 * register.el (window-configuration-to-register)
25356 (frame-configuration-to-register):
25357 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25358 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25359 (xselect-convert-to-targets, xselect-convert-to-delete)
25360 (xselect-convert-to-filename, xselect-convert-to-charpos)
25361 (xselect-convert-to-lineno, xselect-convert-to-colno)
25362 (xselect-convert-to-os, xselect-convert-to-host)
25363 (xselect-convert-to-user, xselect-convert-to-class)
25364 (xselect-convert-to-name, xselect-convert-to-integer)
25365 (xselect-convert-to-atom, xselect-convert-to-identity):
25366 * subr.el (declare, ignore, process-kill-without-query)
25367 (text-clone-maintain):
25368 * terminal.el (te-get-char, te-tic-sentinel):
25369 * tool-bar.el (tool-bar-make-keymap):
25370 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25371 * type-break.el (type-break-mode, type-break-noninteractive-query):
25372 * view.el (View-back-to-mark):
25373 * wid-browse.el (widget-browse-action, widget-browse-widget)
25374 (widget-browse-widgets, widget-browse-sexp):
25375 * widget.el (define-widget-keywords):
25376 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25377 Mark unused parameters.
25379 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25380 (align-areas): Remove unused variable `look'.
25381 (align-region): Remove unused variables `real-end' and `pos-list'.
25383 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25385 * bindings.el (mode-line-modified, mode-line-remote):
25386 Mark unused parameters.
25387 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25389 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25390 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25392 * comint.el (comint-history-isearch-pop-state)
25393 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25394 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25395 (comint-substitute-in-file-name): Doc fix.
25397 * completion.el (cmpl-statistics-block): Mark unused parameter.
25398 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25399 (save-completions-to-file, load-completions-from-file):
25400 Remove unused local variable `e'.
25402 * composite.el (compose-chars): Remove unused variable `len'.
25403 (lgstring-insert-glyph): Remove unused variable `g'.
25404 (compose-glyph-string): Remove unused variables `ascent',
25405 `descent', `lbearing' and `rbearing'.
25406 (compose-glyph-string-relative): Remove unused variables
25407 `lbearing', `rbearing' and `wadjust'.
25408 (compose-gstring-for-graphic): Remove unused variables `header',
25409 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25410 (compose-gstring-for-terminal): Remove unused variables `header'
25411 and `nchars'. Use `let', not `let*'.
25413 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25414 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25415 (Custom-buffer-done, custom-buffer-create-internal)
25416 (custom-browse-visibility-action, custom-browse-group-tag-action)
25417 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25418 (widget-magic-mouse-down-action, custom-toggle-parent)
25419 (custom-add-parent-links, custom-toggle-hide-variable)
25420 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25421 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25422 (custom-face-menu-create, custom-variable-menu-create, get)
25423 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25424 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25425 (customize-apropos): Remove unused variable `tests'.
25426 (custom-group-value-create): Remove unused variable `hidden-p'.
25427 (sort-fold-case): Declare.
25429 * cus-theme.el (custom-reset-standard-faces-list)
25430 (custom-reset-standard-variables-list): Declare.
25431 (customize-create-theme, custom-theme-revert, custom-theme-write)
25432 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25433 Mark unused parameters.
25435 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25437 * delim-col.el (delimit-columns-max): Move defvar before first use.
25439 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25440 (describe-char): Don't quote `lambda'. Mark unused parameter.
25442 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25443 (auto-insert): Declare.
25444 (desktop-restore-file-buffer): Rename desktop-* parameters;
25446 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25447 (desktop-buffer): Rename desktop-* parameters.
25449 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25450 (dframe-reposition-frame-xemacs, dframe-help-echo)
25451 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25452 Mark unused parameters.
25454 * dired-aux.el (backup-extract-version-start, overwrite-query)
25455 (overwrite-backup-query, rename-regexp-query)
25456 (rename-non-directory-query): Declare.
25457 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25458 (dired-add-entry): Remove unused variable `orig-file-name'.
25459 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25460 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25461 `dired-copy-preserve-time' directly.
25462 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25463 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25465 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25466 (dired-virtual-revert, dired-make-relative-symlink):
25467 Mark unused parameters.
25468 (manual-program): Declare.
25469 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25470 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25471 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25473 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25475 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25477 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25480 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25482 * electric.el (Electric-command-loop): Rename parameter
25483 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25485 * expand.el (expand-in-literal): Remove unused variable `here'.
25487 * facemenu.el (facemenu-add-new-color):
25488 Remove unused variable `docstring'.
25490 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25491 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25492 (face-attr-construct): Mark unused parameter. Doc fix.
25493 (read-color): Remove unused variable `hex-string'.
25495 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25496 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25497 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25498 (display-buffer-other-frame): Remove unused variable `old-window'.
25499 (kill-buffer-hook): Declare.
25500 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25501 Mark unused parameters.
25502 (after-find-file): Pass 1 to `auto-save-mode', not t.
25504 * files-x.el (auto-insert): Declare.
25505 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25507 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25508 variable `buf'. Mark unused parameter.
25509 (find-lisp-insert-directory): Mark unused parameter.
25511 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25512 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25513 (format-common-tail): Remove, unused.
25514 (format-deannotate-region): Remove unused variable `loc'.
25515 (format-annotate-region): Remove unused variable `p'.
25516 (format-annotate-single-property-change): Remove unused variables
25517 `default' and `tail'.
25519 * forms.el (read-file-filter): Declare.
25520 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25522 * frame.el (frame-creation-function-alist): Mark unused parameter.
25523 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25525 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25526 Remove unused parameters.
25527 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25528 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25530 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25531 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25532 (hfy-prepare-tag-map): Mark unused parameters.
25533 (htmlfontify-buffer): Use `called-interactively-p'.
25535 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25536 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25537 (ibuffer-do-occur): Mark unused parameters.
25538 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25539 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25541 * ibuffer.el: Don't quote `lambda'.
25542 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25543 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25544 Mark unused parameters.
25546 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25547 (ido-completing-read): Mark unused parameters.
25548 (ido-copy-current-word): Mark unused parameters;
25549 remove unused variable `name'.
25550 (ido-sort-merged-list): Remove unused parameter `dirs'.
25552 * ielm.el (ielm-input-sender): Mark unused parameter.
25553 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25554 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25555 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25556 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25557 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25559 * image-dired.el (image-dired-display-thumbs): Remove unused
25560 variables `curr-file' and `count'.
25561 (image-dired-remove-tag): Remove unused variable `start'.
25562 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25563 variable `curr-file'
25564 (image-dired-rotate-original): Remove unused variable `temp-file'.
25565 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25566 Remove unused variable `file'.
25567 (image-dired-gallery-generate): Remove unused variable `curr'.
25568 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25570 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25572 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25574 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25576 * isearch.el (minibuffer-history-symbol): Declare.
25577 (isearch-edit-string): Remove unused variable `err'.
25578 (isearch-message-prefix, isearch-message-suffix):
25579 Mark unused parameters.
25581 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25583 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25585 * makesum.el (double-column): Remove unused variable `cnt'.
25587 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25588 (ido-ignore-item-temp-list): Declare.
25590 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25591 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25592 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25593 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25596 * mouse-sel.el (mouse-extend-internal):
25597 Remove unused variable `orig-window-frame'.
25599 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25600 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25601 Move declarations before first use.
25602 (pcomplete-opt): Mark unused parameters; doc fix.
25604 * proced.el (proced-revert): Mark unused parameter.
25605 (proced-send-signal): Remove unused variable `err'.
25607 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25608 Rename parameter PREFIX-ARG to ARG.
25609 (ps-basic-plot-string, ps-basic-plot-whitespace):
25610 Mark unused parameters.
25612 * replace.el (replace-count): Define.
25613 (occur-revert-function): Mark unused parameters.
25614 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25615 (isearch-case-fold-search, isearch-string): Declare.
25616 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25617 bind `case-fold-search'. Remove unused variables `beg' and `end',
25619 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25620 COUNT and bind `replace-count'.
25621 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25624 * savehist.el (print-readably, print-string-length): Declare.
25626 * shadowfile.el (shadow-expand-cluster-in-file-name):
25627 Remove unused variable `cluster'.
25628 (shadow-copy-file): Remove unused variable `i'.
25629 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25630 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25631 (shadow-define-literal-group, shadow-define-regexp-group)
25632 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25634 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25635 (shell): Use `called-interactively-p'.
25636 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25638 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25639 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25640 (delete-backward-char): Remove unused variable `ocol'.
25641 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25642 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25643 (event-apply-hyper-modifier, event-apply-shift-modifier)
25644 (event-apply-control-modifier, event-apply-meta-modifier):
25645 Mark unused parameters.
25646 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25647 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25649 * speedbar.el (speedbar-ignored-directory-expressions)
25650 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25651 (speedbar-find-file, speedbar-dir-follow)
25652 (speedbar-directory-buttons-follow, speedbar-tag-find)
25653 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25654 (speedbar-buffers-line-directory, speedbar-buffer-click):
25655 Mark unused parameters.
25656 (speedbar-tag-file): Remove unused variable `mode'.
25657 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25659 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25661 * talk.el (talk): Remove unused variable `display'.
25663 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25664 (tar-write-region-annotate): Mark unused parameter.
25666 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25667 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25668 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25669 warning by another.
25671 * time-stamp.el (time-stamp-string-preprocess):
25672 Remove unused variable `require-padding'.
25674 * tree-widget.el (widget-glyph-enable): Declare.
25675 (tree-widget-action): Mark unused parameter.
25677 * w32-fns.el (x-get-selection): Mark unused parameter.
25678 (autoload-make-program, generated-autoload-file): Declare.
25680 * wdired.el (wdired-revert): Mark unused parameters.
25681 (wdired-xcase-word): Remove unused variable `err'.
25683 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25684 (whitespace-help-scroll): Remove unused variable `data-help'.
25686 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25687 (widget-image-insert, widget-after-change, default)
25688 (widget-default-format-handler, widget-default-notify)
25689 (widget-default-prompt-value, widget-info-link-action)
25690 (widget-url-link-action, widget-function-link-action)
25691 (widget-variable-link-action, widget-file-link-action)
25692 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25693 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25694 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25695 (widget-insert-button-action, widget-delete-button-action, visibility)
25696 (widget-documentation-link-action, widget-documentation-string-action)
25697 (widget-const-prompt-value, widget-regexp-match, symbol)
25698 (widget-coding-system-prompt-value)
25699 (widget-key-sequence-value-to-external, sexp)
25700 (widget-sexp-value-to-internal, character, vector, cons)
25701 (widget-choice-prompt-value, widget-boolean-prompt-value)
25702 (widget-color--choose-action): Mark unused parameters.
25703 (widget-item-match-inline, widget-choice-match-inline)
25704 (widget-checklist-match, widget-checklist-match-inline)
25705 (widget-group-match): Rename parameter VALUES to VALS.
25706 (widget-field-value-set): Remove unused variable `size'.
25707 (widget-color-action): Remove unused variables `value' and `start'.
25709 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25710 variable `dir'. Doc fix.
25711 (windmove-find-other-window): Don't pass it.
25713 * window.el (count-windows): Mark unused parameter.
25714 (bw-adjust-window): Remove unused variable `err'.
25716 * woman.el (woman-file-name): Remove unused variable `default'.
25717 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25718 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25719 (global-font-lock-mode): Declare.
25720 (woman-decode-region): Mark unused parameter.
25721 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25723 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25724 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25725 (x-dnd-handle-moz-url): Remove unused variable `title'.
25726 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25728 * xml.el (xml-parse-tag, xml-parse-attlist):
25729 Remove unused variable `pos'.
25731 2011-04-19 Glenn Morris <rgm@gnu.org>
25733 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25734 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25735 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25736 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25737 * calendar/cal-html.el (cal-html-insert-minical):
25738 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25739 (calendar-mark-date-pattern):
25740 Prefix "unused" locals.
25742 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25743 optional argument `style'.
25745 * calendar/appt.el (appt-make-list):
25746 * calendar/cal-china.el (calendar-chinese-date-string):
25747 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25748 (diary-hebrew-yahrzeit):
25749 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25750 * calendar/calendar.el (calendar-generate-window):
25751 * calendar/time-date.el (time-to-days):
25752 Remove unused local variables.
25754 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25756 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25757 glyphless-char-display table.
25758 (tabulated-list-glyphless-char-display): New var.
25760 2011-04-18 Sam Steingold <sds@gnu.org>
25762 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25763 to acknowledgments.
25765 2011-04-17 Glenn Morris <rgm@gnu.org>
25767 * calendar/diary-lib.el (diary-sexp-entry):
25768 * calendar/holidays.el (holiday-sexp):
25769 Set debug-on-error rather than the removed stack-trace-on-error.
25771 2011-04-16 Glenn Morris <rgm@gnu.org>
25773 * progmodes/f90.el: Use lexical-binding.
25774 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25776 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25778 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25779 (mail-mode): Setup mailalias completion here instead.
25780 * mail/mailalias.el: Use lexical-binding.
25781 (pattern, mailalias-done): Declare dynamic.
25782 (mail-completion-at-point-function): New function, from mail-complete.
25783 (mail-complete): Use it.
25784 (mail-completion-expand): New function.
25785 (mail-get-names): Use it.
25786 (mail-directory, mail-directory-process, mail-directory-stream):
25787 Don't use `pattern' for lexically bound arg.
25789 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25791 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25792 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25793 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25795 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25796 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25797 (byte-interactive-p): Define them again, for use when inlining
25800 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25802 * loadup.el: Use `string-to-number', not `string-to-int'.
25804 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25806 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25807 gud-gdb-complete-command.
25808 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25809 (gud-gdb-completion-at-point): New function.
25810 (gud-gdb-completions): Remove.
25812 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25814 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25815 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25816 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25817 whether `executable-find' is bound.
25819 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25821 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25823 * minibuffer.el (completion-in-region-mode-predicate)
25824 (completion-in-region-mode--predicate): New vars.
25825 (completion-in-region, completion-in-region--postch)
25826 (completion-in-region-mode): Use them.
25827 (completion--capf-wrapper): Also return the hook function.
25828 (completion-at-point, completion-help-at-point):
25829 Adjust and provide a predicate.
25831 Preserve arg names for advice of subr and lexical functions (bug#8457).
25832 * help-fns.el (help-function-arglist): Consolidate the subr and
25833 new-byte-code cases. Add argument `preserve-names' to extract names
25834 from the docstring when needed.
25835 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25836 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25837 (ad-arglist): Use help-function-arglist's new arg.
25838 (ad-definition-type): Use cond.
25840 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25842 * autorevert.el (auto-revert-handler):
25843 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25844 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25845 Don't quote lambda.
25847 * image-mode.el (image-transform-set-scale):
25848 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25850 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25852 * net/network-stream.el (network-stream-open-starttls): Only do
25853 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25854 Upgrades via gnutls-cli are too slow to be done opportunistically.
25856 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25858 * dframe.el (dframe-current-frame): Remove spurious quote.
25860 2011-04-12 Glenn Morris <rgm@gnu.org>
25862 * calendar/cal-tex.el (cal-tex-end-document):
25863 Try to automatically use latin1 input if needed.
25865 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25866 Don't try to cons a mark onto an empty element.
25868 2011-04-11 Leo Liu <sdl.web@gmail.com>
25870 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25872 (ido-kill-buffer-at-head): Support killing virtual buffers.
25874 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25876 * minibuffer.el (completion-show-inline-help): New var.
25877 (completion--do-completion, minibuffer-complete)
25878 (minibuffer-force-complete, minibuffer-complete-word):
25879 Inhibit minibuffer messages if completion-show-inline-help is nil.
25881 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25882 to avoid interference from inline help (Bug#5849).
25884 2011-04-10 Leo Liu <sdl.web@gmail.com>
25886 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25889 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25891 * image-mode.el (image-toggle-display-image): Signal an error if
25893 (image-transform-mode, image-transform-resize)
25894 (image-transform-set-rotation): Doc fix.
25895 (image-transform-set-resize): Delete.
25896 (image-transform-set-scale, image-transform-fit-to-height)
25897 (image-transform-fit-to-width): Handle image-toggle-display-image
25898 and image-transform-resize directly.
25900 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25902 * doc-view.el (doc-view-fit-width-to-window)
25903 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25904 New functions for fitting the shown image to the Emacs window size.
25905 (doc-view-mode-map): Add bindings for the new functions.
25907 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25909 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25910 Fix typo in docstring.
25912 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25914 * files.el (file-size-human-readable): Produce one digit after
25915 decimal, like "ls -lh" does.
25917 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25918 the file size representation.
25920 * simple.el (list-processes): If async subprocesses are not
25921 available, error out with a clear error message.
25923 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25925 * help.el (help-form-show): New function, to be called from C.
25926 Put help-form output in a buffer named differently than *Help*.
25928 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25930 * files.el (file-size-human-readable): New function.
25932 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25933 computing the representation inline. Don't require `cl'.
25935 2011-04-08 Glenn Morris <rgm@gnu.org>
25937 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25939 * net/browse-url.el (browse-url-firefox):
25940 Test system-type, not system-configuration.
25942 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25943 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25944 Use log-edit-empty-buffer-p. (Bug#7598)
25946 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25947 (rlogin-mode-map): Initialize in the defvar.
25948 (rlogin): Use ignore-errors.
25950 * replace.el (occur-mode-map): Some fixes for menu items.
25952 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25954 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25956 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25958 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25959 issuing unused warnings.
25961 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25964 * simple.el: Lisp reimplement of list-processes. Based on an
25965 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25966 (process-menu-mode): New major mode.
25967 (list-processes--refresh, list-processes):
25968 (process-menu-visit-buffer): New functions.
25970 * files.el (save-buffers-kill-emacs): Don't assume any return
25971 value of list-processes, which is undocumented anyway.
25973 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25975 * emacs-lisp/tabulated-list.el: New file.
25977 * emacs-lisp/package.el: Use Tabulated List mode.
25978 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25979 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25980 table format using Tabulated List mode variables.
25981 (package--push): New macro, replacing package-list-maybe-add.
25982 (package-menu--generate): Use package--push. Renamed from
25983 package--generate-package-list.
25984 (package-menu-refresh, list-packages): Use it.
25985 (package-menu--print-info): Rename from package-print-package.
25986 Return insertion data instead of inserting it directly.
25987 (package-menu-describe-package, package-menu-execute):
25988 Use tabulated-list-get-id.
25989 (package-menu-mark-delete, package-menu-mark-install)
25990 (package-menu-mark-unmark, package-menu-backup-unmark)
25991 (package-menu-mark-obsolete-for-deletion):
25992 Use tabulated-list-put-tag.
25993 (package--list-packages, package-menu-revert)
25994 (package-menu-get-package, package-menu-get-version)
25995 (package-menu-sort-by-column): Functions deleted.
25996 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25997 (package-menu--status-predicate, package-menu--version-predicate)
25998 (package-menu--name-predicate)
25999 (package-menu--description-predicate): Handle arguments in the
26000 Tabulated List format.
26001 (package-list-packages-no-fetch): Call list-packages.
26003 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26005 * files.el (after-find-file-from-revert-buffer): Remove variable.
26006 (after-find-file): Don't bind it.
26007 (revert-buffer-in-progress-p): New variable.
26008 (revert-buffer): Bind it.
26009 Pass nil for `after-find-file-from-revert-buffer'.
26011 * saveplace.el (save-place-find-file-hook): Use new variable
26012 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26014 2011-04-06 Glenn Morris <rgm@gnu.org>
26016 * Makefile.in (AUTOGEN_VCS): New variable.
26017 (autoloads): Use $AUTOGEN_VCS.
26019 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26020 * calendar/calendar.el (calendar-mode-map):
26021 Check for toolkit scroll bars. (Bug#8305)
26023 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26025 * minibuffer.el (completion-in-region--postch)
26026 (completion-in-region-mode): Remove unnecessary messages.
26028 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26030 * font-lock.el (font-lock-refresh-defaults):
26031 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26032 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26034 * info.el (Info-directory-list, Info-read-node-name-2)
26035 (Info-split-parameter-string): Doc fixes.
26036 (Info-virtual-nodes): Reflow docstring.
26037 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26038 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26039 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26040 Fix typos in docstrings.
26041 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26042 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26043 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26044 (Info-restore-desktop-buffer): Mark unused parameters.
26045 (Info-directory-find-file, Info-directory-find-node)
26046 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26047 (Info-virtual-index-find-node, Info-apropos-find-file)
26048 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26049 Mark unused parameters; fix typos in docstrings.
26050 (Info-virtual-index): Remove unused local variable `nodename'.
26052 2011-04-05 Deniz Dogan <deniz@dogan.se>
26054 * net/rcirc.el: Update my e-mail address.
26055 (rcirc-mode-map): Remove M-o binding.
26057 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26059 * startup.el (command-line): Save the cursor's theme-face
26060 directly, instead of using face-override-spec.
26062 * custom.el (load-theme): Minor optimization in assigning faces.
26064 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26066 * help-fns.el (describe-variable): Complete all variables having
26067 documentation, including keywords.
26068 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26070 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26072 Convert to lexical-binding.
26074 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26075 (bs--get-marked-string, bs--get-modified-string)
26076 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26077 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26078 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26080 * ehelp.el (electric-help-execute-extended)
26081 (electric-help-ctrl-x-prefix):
26082 * hexl.el (hexl-revert-buffer-function):
26083 * linum.el (linum-after-change, linum-after-scroll):
26084 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26086 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26088 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26095 * epg.el: Use lexical binding.
26097 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26099 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26101 * textmodes/flyspell.el (flyspell-word): Recognize default
26102 dictionary case for flyspell-mark-duplications-exceptions.
26103 Use regexp matching for languages.
26104 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26105 default dictionary (Bug#7926).
26107 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26109 * emacs-lisp/package.el (package--with-work-buffer):
26110 Recognize https URLs.
26112 * net/network-stream.el: Move from gnus/proto-stream.el.
26113 Change prefix to network-stream throughout.
26114 (open-protocol-stream): Merge into open-network-stream, leaving
26115 open-protocol-stream as an alias. Handle nil BUFFER args.
26117 * subr.el (open-network-stream): Move to net/network-stream.el.
26119 2011-04-02 Glenn Morris <rgm@gnu.org>
26121 * find-dired.el (find-exec-terminator): New option.
26122 (find-ls-option): Test for -ls support.
26123 (find-ls-subdir-switches): Test for -b in find-ls-option.
26124 (find-dired, find-grep-dired): Doc fixes.
26125 (find-dired): Use find-exec-terminator.
26127 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26128 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26129 (find-name-arg): Remove purecopy.
26131 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26132 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26133 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26134 accordingly. Don't add the null-device if not needed.
26136 * files.el (save-some-buffers): Doc fix.
26138 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26140 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26142 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26144 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26145 Use `dolist' rather than `mapcar'.
26147 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26149 Add lexical binding.
26151 * subr.el (apply-partially): Use new closures rather than CL.
26152 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26153 (dolist, dotimes): Use slightly different expansion for lexical code.
26154 (functionp): Move to C.
26155 (letrec): New macro.
26156 (with-wrapper-hook): Use it and apply-partially instead of CL.
26157 (eval-after-load): Preserve lexical-binding.
26158 (save-window-excursion, with-output-to-temp-buffer): Turn them
26161 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26163 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26165 (help-add-fundoc-usage): Don't add `Not documented'.
26166 (help-function-arglist): Handle closures, subroutines, and new
26167 byte-code-functions.
26168 (help-make-usage): Remove leading underscores.
26169 (describe-function-1): Handle closures.
26170 (describe-variable): Use special-variable-p for completion.
26172 * files.el (lexical-binding): Declare safe.
26174 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26175 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26176 (pcase): Add `let' pattern.
26177 Change memoization so it actually works.
26178 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26179 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26182 * emacs-lisp/macroexp.el: Use lexical binding.
26183 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26184 Don't convert ' to #' without checking that it's indeed quoting
26187 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26188 Use eval-sexp-add-defvars.
26189 (eval-sexp-add-defvars): New fun.
26191 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26193 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26195 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26196 than the internal `byte-compile-lambda'.
26197 (defmethod): Don't hide code under quotes.
26198 (eieio-defmethod): New `code' argument.
26200 * emacs-lisp/eieio-comp.el: Remove.
26202 * emacs-lisp/edebug.el (edebug-eval-defun)
26203 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26204 (edebug-toggle): Avoid `eval'.
26206 * emacs-lisp/disass.el (disassemble-internal): Handle new
26208 (disassemble-1): Handle new byte codes.
26210 * emacs-lisp/cl.el (pushnew): Silence warning.
26212 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26213 (cl-byte-compile-throw): Remove.
26214 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26216 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26219 * emacs-lisp/cconv.el: New file.
26221 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26222 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26223 (byte-compile-initial-macro-environment):
26224 Handle declare-function here.
26225 (byte-compile--lexical-environment): New var.
26226 (byte-stack-ref, byte-stack-set, byte-discardN)
26227 (byte-discardN-preserve-tos): New lap codes.
26228 (byte-interactive-p): Don't use any more.
26229 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26231 (byte-compile-lapcode): Use them and handle new lap codes.
26232 (byte-compile-obsolete): Remove.
26233 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26234 (byte-compile-arglist-warn): Check late def of inlinable funs.
26235 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26236 since they should have been expanded by now.
26237 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26238 (byte-compile-from-buffer): Remove unused second arg.
26239 (byte-compile-preprocess): New function.
26240 (byte-compile-toplevel-file-form): New function to distinguish
26241 file-form calls from outside from file-form calls from hunk-handlers.
26242 (byte-compile-file-form): Simplify.
26243 (byte-compile-file-form-defsubst): Remove.
26244 (byte-compile-file-form-defmumble): Simplify now that
26245 byte-compile-lambda always returns a byte-code-function.
26246 (byte-compile): Preprocess.
26247 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26248 Remove, not used any more.
26249 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26250 (byte-compile-make-args-desc): New funs.
26251 (byte-compile-lambda): Handle lexical functions. Always return
26252 a byte-code-function.
26253 (byte-compile-reserved-constants): New var, to make up room for
26254 closed-over variables.
26255 (byte-compile-constants-vector): Obey it.
26256 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26257 (byte-compile-macroexpand-declare-function): New function.
26258 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26259 byte-code-functions.
26260 (byte-compile-form): Check obsolescence here.
26261 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26262 (byte-compile-variable-ref): Remove.
26263 (byte-compile-dynamic-variable-op): New fun.
26264 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26265 (byte-compile-variable-set): New funs.
26266 (byte-compile-discard): Add 2 args.
26267 (byte-compile-stack-ref, byte-compile-stack-set)
26268 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26269 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26270 macroexpand-all instead.
26271 (byte-compile-quote-form): Remove.
26272 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26273 (byte-compile-bind, byte-compile-unbind): New funs.
26274 (byte-compile-let): Handle let* and lexical binding.
26275 (byte-compile-let*): Remove.
26276 (byte-compile-catch, byte-compile-unwind-protect)
26277 (byte-compile-track-mouse, byte-compile-condition-case):
26278 Handle a new :fun-body form, used for lexical scoping.
26279 (byte-compile-save-window-excursion)
26280 (byte-compile-with-output-to-temp-buffer): Remove.
26281 (byte-compile-defun): Simplify.
26282 (byte-compile-stack-adjustment): New fun.
26283 (byte-compile-out): Use it.
26284 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26286 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26289 * emacs-lisp/byte-opt.el: Use lexical binding.
26290 (byte-inline-lapcode): Remove (to bytecomp).
26291 (byte-compile-inline-expand): Pay attention to inlining to/from
26292 lexically bound code.
26293 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26295 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26296 any more and don't call compiler-macros.
26297 (byte-compile-splice-in-already-compiled-code): Remove.
26298 (byte-code): Don't inline any more.
26299 (disassemble-offset): Receive `bytes' as argument rather than via
26301 (byte-compile-tag-number): Declare before first use.
26302 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26303 `return' even if make-spliceable.
26304 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26305 obsolete interactive-p.
26306 (byte-optimize-lapcode): Optimize new lap-codes.
26307 Don't trip up on new form of `byte-constant' lap code.
26309 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26311 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26313 * custom.el (custom-initialize-default, custom-declare-variable):
26316 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26318 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26319 (COMPILE_FIRST): Add macroexp and cconv.
26320 * makefile.w32-in: Mirror changes in Makefile.in.
26322 * vc/cvs-status.el:
26326 * vc/smerge-mode.el:
26327 * textmodes/bibtex-style.el:
26328 * textmodes/css-mode.el:
26336 * emacs-lisp/smie.el:
26339 * abbrev.el: Use lexical binding.
26341 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26343 * info.el (info-display-manual): New function.
26345 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26347 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26349 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26351 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26352 an entry for that server in rcirc-authinfo. (Bug#8385)
26354 2011-03-31 Glenn Morris <rgm@gnu.org>
26356 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26358 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26360 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26362 * progmodes/python.el (python-default-interpreter)
26363 (python-python-command-args, python-jython-command-args)
26364 (python-which-shell, python-which-args, python-which-bufname)
26365 (python-file-queue, python-comint-output-filter-function)
26366 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26367 variables and functions.
26369 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26371 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26372 (completion-in-region-mode): New minor mode.
26373 (completion-in-region): Use it.
26374 (completion-in-region--data, completion-in-region-mode-map): New vars.
26375 (completion-in-region--postch): New function.
26376 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26378 (completion--capf-wrapper): New function.
26379 (completion-at-point): Use it to track well-behavedness of
26381 (completion-help-at-point): New command.
26383 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26385 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26386 syntax class to search for whitespace on a single line
26387 (Message-ID: <4D938140.4030905@redhat.com>).
26389 2011-03-30 Leo Liu <sdl.web@gmail.com>
26391 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26393 (edit-abbrevs-map): Bind them here.
26394 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26396 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26398 * allout.el (allout-hide-by-annotation, allout-flag-region):
26399 Reduce possibility of overlay leakage by making them volatile.
26401 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26402 hash is not shared between buffers. Mode initialization is
26403 responsible for giving it a useful starting value.
26404 (allout-item-span): Reduce possibility of overlay leakage by
26405 making them volatile.
26406 (allout-widgets-count-buttons-in-region): Add diagnostic function
26407 for tracking down button overlay leaks.
26409 2011-03-29 Leo Liu <sdl.web@gmail.com>
26411 * ido.el (ido-read-internal): Use the default history var
26412 minibuffer-history if no HISTORY is specified.
26414 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26416 * net/imap.el (imap-shell-open, imap-process-connection-type):
26417 Use imap-process-connection-type for 'shell' streams as well as
26418 Kerberos, SSL, other subprocesses.
26420 2011-03-28 Leo Liu <sdl.web@gmail.com>
26422 * abbrev.el (abbrev-table-empty-p): New function.
26423 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26424 nonempty ones. (Bug#5937)
26426 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26428 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26430 2011-03-27 Leo Liu <sdl.web@gmail.com>
26432 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26433 for foreground and background colors.
26434 (ansi-color-make-color-map): Adapt.
26436 2011-03-25 Leo Liu <sdl.web@gmail.com>
26438 * midnight.el (midnight-time-float): Remove. Note it calculates
26439 the microsecond component incorrectly and seconds-to-time does the
26441 Remove redundant (require 'timer).
26443 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26444 (ido-completions): Remove unused arguments. (Bug#8329)
26446 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26448 * minibuffer.el (completion--flush-all-sorted-completions):
26449 Remove itself from hook.
26450 (completion-at-point): Let the functions perform the completion
26451 immediately and return nil or t.
26452 * comint.el (comint-dynamic-complete-functions): Now identical to
26453 completion-at-point-functions.
26454 (comint-dynamic-list-input-ring): Remove unused var `index'.
26455 (comint--match-partial-filename, comint--unquote&expand-filename):
26456 New funs, split from comint-match-partial-filename.
26457 (comint-dynamic-complete): Use completion-at-point.
26458 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26460 2011-03-24 Drew Adams <drew.adams@oracle.com>
26462 * thingatpt.el: Support `defun'.
26464 2011-03-23 Leo Liu <sdl.web@gmail.com>
26466 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26468 * help-mode.el (help-mode-finish): Tweak regexp.
26470 2011-03-23 Glenn Morris <rgm@gnu.org>
26472 * eshell/esh-opt.el (eshell-eval-using-options):
26473 Do not bind unused local variable `eshell-option-stub'.
26475 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26477 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26479 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26480 keymap variable in `with-no-warnings' to avoid a warning when the
26481 keymap has been already `defconst'ed.
26483 2011-03-22 Leo Liu <sdl.web@gmail.com>
26485 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26486 encode all chars in abbrevs; otherwise use emacs-mule or
26487 utf-8-emacs. (Bug#8308)
26489 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26491 * simple.el (backward-delete-char-untabify):
26492 Avoid warning about using `delete-backward-char'.
26494 * image.el (image-type-file-name-regexps): Make it variable.
26495 `imagemagick-register-types' modifies it, and the user may want
26496 to add new extensions for known image types.
26497 (imagemagick-register-types): Throw error if not using ImageMagick.
26499 2011-03-22 Leo Liu <sdl.web@gmail.com>
26501 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26502 located before rcirc-prompt-end-marker.
26503 (rcirc-complete): Error if point is not after rcirc prompt.
26504 Handle the case when table is nil.
26505 (rcirc-user-authenticated): Define to fix compiler warning.
26507 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26509 * custom.el (custom--inhibit-theme-enable): Make it affect only
26510 custom-theme-set-variables and custom-theme-set-faces.
26511 (provide-theme): Ignore custom--inhibit-theme-enable.
26512 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26513 (custom-enabling-themes): Delete variable.
26514 (enable-theme): Accept only loaded themes as arguments.
26515 Ignore the special custom-enabled-themes variable.
26516 (custom-enabled-themes): Forbid themes from setting this.
26517 Eliminate use of custom-enabling-themes.
26518 (custom-push-theme): Quote "changed" custom var entry.
26520 2011-03-21 Leo Liu <sdl.web@gmail.com>
26522 * ido.el (ido-read-internal): Add ido-selected to history instead
26525 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26527 * subr.el (deferred-action-list, deferred-action-function):
26530 2011-03-21 Leo Liu <sdl.web@gmail.com>
26532 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26533 change on 2011-02-13 (bug#8309).
26535 * minibuffer.el (read-file-name-function): Change default value.
26536 (read-file-name--defaults): Rename from read-file-name-defaults.
26537 (read-file-name-default): Rename from read-file-name.
26538 (read-file-name): Call read-file-name-function.
26540 2011-03-21 Glenn Morris <rgm@gnu.org>
26542 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26545 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26547 * cus-theme.el: Add missing provide statement.
26548 (customize-create-theme): Extract theme value correctly.
26549 (custom-theme-visit-theme): Autoload.
26550 (customize-create-theme): Prompt before inserting default faces.
26552 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26554 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26555 units and musical notes.
26557 2011-03-20 Leo Liu <sdl.web@gmail.com>
26559 * ido.el (ido-read-internal): Use completing-read-default.
26560 (ido-completing-read): Fix compatibility with completing-read.
26562 2011-03-20 Christian Ohler <ohler@gnu.org>
26564 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26565 (ert-delete-all-tests): Use `called-interactively-p' rather than
26567 (ert--make-xrefs-region): Respect END.
26569 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26571 * dired-aux.el (dired-create-directory): Signal an error if the
26572 directory already exists (Bug#8246).
26574 * facemenu.el (list-colors-display): Call list-faces-display
26575 inside with-help-window.
26576 (list-colors-print): Use display property to align the final
26577 column, instead of checking window-width.
26579 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26581 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26582 windows-nt systems.
26583 (emerge-protect-metachars): Quote correctly for ms-dos and
26584 windows-nt systems.
26586 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26588 * info.el (info-initialize): Replace all uses of `:' with
26589 path-separator for compatibility with non-Unix systems.
26590 Cache quoting of path-separator. (Bug#8258)
26592 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26594 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26595 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26596 (mouse-avoidance-mode): Fix typos in docstrings.
26598 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26600 * startup.el (package-subdirectory-regexp): Move from package.el.
26601 Omit \\` and \\', and let callers add them.
26603 * emacs-lisp/package.el (package-strip-version)
26604 (package-load-all-descriptors): Add \\` and \\' to
26605 package-subdirectory-regexp before using it.
26606 (package-untar-buffer): New arg DIR; ensure that file untars only
26607 into this expected directory. Remove superfluous delete-region.
26608 (package-unpack): Caller changed.
26609 (package-tar-file-info): Use package-subdirectory-regexp.
26611 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26613 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26614 diff-mode-shared-map (bug#8284).
26615 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26617 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26619 * calendar/time-date.el (format-seconds): Use assoc instead of
26620 assoc-string, since assoc-string doesn't exist in XEmacs.
26622 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26624 * custom.el (custom-known-themes): Reflow docstring.
26625 (custom-theme-load-path): Fix typo in docstring.
26626 (load-theme): Fix typo in error message.
26627 (custom-available-themes, custom-variable-theme-value):
26628 Use `let', not `let*'.
26630 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26632 * calc/README: Mention inclusion of musical notes.
26634 * calc/calc-units.el (calc-lu-quant): Rename from
26635 `calc-logunits-quantity'.
26636 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26637 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26638 (calc-db): Rename from `calc-dblevel'.
26639 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26640 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26641 (calc-np): Rename from `calc-nplevel'.
26642 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26643 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26644 (calc-lu-plus): Rename from `calc-logunits-add'.
26645 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26646 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26647 (calc-lu-minus): Rename from `calc-logunits-sub'.
26648 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26649 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26650 (calc-lu-times): Rename from `calc-logunits-mul'.
26651 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26652 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26653 (calc-lu-divide): Rename from `calc-logunits-div'.
26654 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26655 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26657 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26658 functions being autoloaded.
26660 * calc/calc.el (calc-lu-power-reference): Rename from
26661 `calc-logunits-power-reference'.
26662 (calc-lu-field-reference): Rename from
26663 `calc-logunits-field-reference'.
26665 * calc/calc-help.el (calc-l-prefix-help):
26666 Mention musical note functions.
26668 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26670 * minibuffer.el (completion-all-sorted-completions):
26671 Use :completion-cycle-penalty text property if present.
26673 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26675 * allout.el (allout-yank-processing): Adjust for new rebulleting
26676 regime so bullet being yanked is used without prompting the user
26679 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26681 * startup.el (command-line): Warn the user that _emacs is deprecated.
26683 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26685 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26686 (delphi-verbose, delphi-comment-face, delphi-string-face)
26687 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26688 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26689 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26690 (delphi-new-comment-line, delphi-font-lock-defaults)
26691 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26692 Fix typos in docstrings.
26694 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26696 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26697 Invert the roles of character and string values for INSTEAD, so a
26698 string is used for the more common case of a defaulting prompt.
26700 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26702 * progmodes/ruby-mode.el (ruby-backward-sexp):
26703 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26704 * play/gamegrid.el (gamegrid-make-face):
26705 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26706 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26707 * notifications.el (notifications-notify):
26708 * net/xesam.el (xesam-search-engines):
26709 * net/quickurl.el (quickurl-list-insert):
26710 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26712 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26714 * startup.el (command-line): Update package subdirectory regexp.
26716 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26718 * allout.el (allout-abbreviate-flattened-numbering)
26719 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26721 * subr.el (read-char-choice): Only show the cursor after the prompt,
26722 not after the answer.
26724 2011-03-15 Kevin Ryde <user42@zip.com.au>
26726 * help-fns.el (variable-at-point): Skip leading quotes, if any
26729 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26731 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26734 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26736 * shell.el (shell): When called interactively, offer to change the
26737 shell file name on remote hosts.
26739 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26741 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26742 integration for LDAP parameters. The host, base, user or binddn,
26743 and secret tokens can be specified in a netrc file, for instance.
26744 This is optional because an `auth-source' parameter must be
26745 specified in the search attributes.
26747 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26749 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26751 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26753 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26754 into declaration. Remove redundant and harmful binding.
26756 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26758 * files.el (file-ownership-preserved-p): Pass `integer' as an
26759 explicit 2nd argument to `file-attributes'. If the file's owner
26760 is the Administrators group on Windows, and the current user is
26761 Administrator, consider that a match.
26763 * server.el (server-ensure-safe-dir): Consider server directory
26764 safe on MS-Windows if its owner is the Administrators group while
26765 the current Emacs user is Administrator. Use `=' to compare
26766 numerical UIDs, since they could be integers or floats.
26768 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26770 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26772 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26774 Sync with Tramp 2.2.1.
26776 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26778 * net/trampver.el: Update release number.
26780 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26782 * progmodes/compile.el (compilation--previous-directory): Fix up
26783 various nil/dead-marker mismatches (bug#8014).
26784 (compilation-directory-properties, compilation-error-properties):
26785 Don't call it at a position past the one we're about to change.
26787 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26788 Disable obsolescence warnings in the file that declares it.
26790 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26792 * allout-widgets.el (allout-widgets-tally):
26793 Initialize allout-widgets-tally as a hash table rather than nil to
26794 prevent mode-line redisplay warnings. Also, clarify the module
26795 description and fix a comment typo.
26797 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26799 * help-fns.el (describe-variable): Don't complete keywords.
26800 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26802 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26804 * emacs-lisp/package.el (package-version-join): Impose a standard
26805 string representation for pre/alpha/beta version lists.
26806 (package-unpack-single): Standardize the directory name by passing
26807 it through package-version-join.
26808 (package-strip-rcs-id): Accept any version string that does not
26809 signal an error in version-to-list.
26811 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26813 * simple.el (delete-trailing-whitespace): Return nil for the
26814 benefit of `write-file-functions'.
26816 2011-03-10 Glenn Morris <rgm@gnu.org>
26818 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26820 * vc/vc-git.el (vc-git-program): New option.
26821 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26822 (vc-git--call): Use it.
26824 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26826 * cus-edit.el (Custom-newline): If no button at point, look
26827 for a subgroup button at start-of-line. (Bug#2298)
26829 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26831 2011-03-10 Julien Danjou <julien@danjou.info>
26833 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26834 `cursor-type' is nil.
26836 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26838 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26840 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26842 * allout.el: Change so yank of distinctive-bullet items
26843 preserves the existing header prefix, rebulleting it if necessary,
26844 rather than replacing it. This is necessary for proper operation
26845 of cooperative addons like allout-widgets.
26846 (allout-make-topic-prefix, allout-rebullet-heading):
26847 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26848 value as alternate bullet to be used, instead of prompting the user
26849 for a bullet character.
26851 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26853 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26854 Do not use `tramp-file-name-port', because this returns also
26855 `tramp-default-port'.
26857 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26859 * net/rcirc.el (rcirc-handler-001): Remove useless
26860 with-rcirc-process-buffer.
26861 (rcirc-check-auth-status): Swap arguments to string-match.
26863 2011-03-09 Glenn Morris <rgm@gnu.org>
26865 * shell.el (shell-mode):
26866 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26868 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26869 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26871 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26873 * emacs-lisp/package.el (package-refresh-contents)
26874 (package-menu-execute): Use condition-case-no-debug.
26876 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26878 * simple.el (shell-command-to-string): Use `process-file'.
26880 * emacs-lisp/package.el (package-tar-file-info): Handle also
26883 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26884 Use `equal' for upload base check.
26886 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26888 * textmodes/texinfo.el (texinfo-environments):
26889 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26891 2011-03-08 Glenn Morris <rgm@gnu.org>
26893 * cus-start.el (cursor-in-non-selected-windows):
26894 Fix :set quoting oddness. (Bug#8192)
26896 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26897 in some setf expressions. (Bug#2159)
26899 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26901 * custom.el (custom-available-themes): Return themes in
26902 alphabetical order.
26904 See ChangeLog.15 for earlier changes.
26906 ;; Local Variables:
26910 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26912 This file is part of GNU Emacs.
26914 GNU Emacs is free software: you can redistribute it and/or modify
26915 it under the terms of the GNU General Public License as published by
26916 the Free Software Foundation, either version 3 of the License, or
26917 (at your option) any later version.
26919 GNU Emacs is distributed in the hope that it will be useful,
26920 but WITHOUT ANY WARRANTY; without even the implied warranty of
26921 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26922 GNU General Public License for more details.
26924 You should have received a copy of the GNU General Public License
26925 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.