1 2012-09-23 Chong Yidong <cyd@gnu.org>
3 * image.el (image-type-available-p): Adapt to init-image-library
6 2012-09-22 Juri Linkov <juri@jurta.org>
8 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9 `dired-toggle-read-only'. (Bug#12462)
11 2012-09-22 Martin Rudalics <rudalics@gmx.at>
13 * subr.el (temp-output-buffer-show): New function.
14 (with-output-to-temp-buffer): Call temp-output-buffer-show
15 instead of internal-temp-output-buffer-show.
17 2012-09-22 Chong Yidong <cyd@gnu.org>
19 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
22 * repeat.el (repeat): Doc fix (Bug#12348).
24 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
27 * simple.el (shell-command-on-region): Doc fix.
28 (read-only-mode): Doc fix.
30 2012-09-22 Eli Zaretskii <eliz@gnu.org>
32 * emacs-lisp/timer.el (run-with-idle-timer)
33 (timer-activate-when-idle): Warn against reinvoking an idle timer
34 from within its own timer action. (Bug#12447)
36 2012-09-22 Martin Rudalics <rudalics@gmx.at>
38 * cus-start.el (window-combination-limit): Add new optional
40 * window.el (temp-buffer-window-show)
41 (window--try-to-split-window): Handle new values of
42 window-combination-limit (Bug#1806).
43 (split-window): Test window-combination-limit for t instead of
45 (display-buffer-at-bottom): New buffer display action function.
46 * help.el (temp-buffer-resize-regexps): New option.
47 (temp-buffer-resize-mode): Rewrite doc-string.
48 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
49 Don't resize reused window. Suggested by Glenn Morris.
51 2012-09-22 Stefan Merten <smerten@oekonux.de>
53 * rst.el: Revamp section title faces.
54 (rst-official-version)
55 (rst-package-emacs-version-alist): Sync with official version
57 (rst-faces-defaults, rst-set-level-default)
58 (rst-level-face-max, rst-level-face-base-color)
59 (rst-level-face-base-light, rst-level-face-format-light)
60 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
61 (rst-adornment-faces-alist): Match new setup.
62 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
63 (rst-level-5, rst-level-6): New faces.
65 2012-09-22 Chong Yidong <cyd@gnu.org>
67 * simple.el (undo): Handle indirect buffers (Bug#8207).
69 2012-09-21 Leo Liu <sdl.web@gmail.com>
71 IDO: Disable match re-ordering for buffer switching.
72 * ido.el (ido-buffer-disable-smart-matches): New variable.
73 (ido-set-matches-1): Use it. (Bug#2042)
75 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
77 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
78 Fix 2011-05-17 change. (Bug#12418)
80 2012-09-21 Leo Liu <sdl.web@gmail.com>
82 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
84 2012-09-21 Glenn Morris <rgm@gnu.org>
86 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
87 Be more robust about locating simple.el.
89 2012-09-21 Glenn Morris <rgm@gnu.org>
91 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
93 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
95 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
97 2012-09-20 Juri Linkov <juri@jurta.org>
99 * replace.el (query-replace-read-from): Use `read-regexp' instead
100 of `read-from-minibuffer' when `regexp-flag' is non-nil.
101 (occur-read-primary-args): Use `read-regexp' instead of
103 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
104 `read-from-minibuffer'.
105 * isearch.el (isearch-occur): Use `read-regexp' instead of
107 * dired.el (dired-read-regexp): Use `read-regexp' instead of
108 `read-from-minibuffer'.
109 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
110 of `read-string'. (Bug#7567)
112 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
113 and allow accepting a list of strings prepended to a list of
114 standard default values. Doc fix. (Bug#12321)
116 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
118 * replace.el (read-regexp): Don't add ": " when PROMPT already
119 ends with a colon and space. (Bug#12321)
121 2012-09-20 Tassilo Horn <tsdh@gnu.org>
123 * doc-view.el (doc-view-display): Better fix for the cl-assertion
126 2012-09-20 Stefan Merten <smerten@oekonux.de>
128 * rst.el: Integrate support for `imenu' and `which-function'.
129 Fixes feature request bug#11711.
130 (rst-mode): Create `imenu-create-index-function'.
131 (rst-get-stripped-line): Delete after refactoring.
132 (rst-section-tree, rst-section-tree-rec)
133 (rst-section-tree-point): Refactor and document properly.
134 (rst-imenu-find-adornments-for-position)
135 (rst-imenu-convert-cell, rst-imenu-create-index): New
138 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
140 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
141 (macroexp--expand-all): Use it.
142 (macroexp--funcall-and-return): Remove by folding it into its sole
143 caller (macroexp--warn-and-return).
144 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
145 Use macroexp--obsolete-warning.
147 * calc/calc.el: Fix last change by removing the whole chunk, since it
148 was only needed back when Calc was not bundled.
150 2012-09-20 Martin Rudalics <rudalics@gmx.at>
152 * emacs-lisp/debug.el (debug): Restore assignment to
153 debugger-old-buffer removed on 2012-09-08.
155 2012-09-20 Juri Linkov <juri@jurta.org>
157 * dired-aux.el (dired-diff): Remove (require 'diff) since
158 `diff-latest-backup-file' is now autoloaded.
160 2012-09-20 Chong Yidong <cyd@gnu.org>
162 * vc/diff.el (diff-latest-backup-file): Autoload.
164 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
166 * calc/calc.el: Remove redundant autoload shape check.
167 (sel-mode): Don't defvar.
168 (calc-get-stack-element): Add `sel-mode' arg instead.
169 (calc-top, calc-top-list): Pass it this additional argument.
170 * calc/calc-store.el (calc-store-map):
171 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
172 (calc-map-equation, calc-outer-product, calc-inner-product):
173 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
175 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
177 2012-09-19 Juri Linkov <juri@jurta.org>
179 * dired-aux.el (dired-diff): Add (require 'diff) because
180 `diff-latest-backup-file' is not autoloaded.
181 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
182 of `dired-get-filename' to t to not report error when there is
183 no default file on the current line.
185 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
187 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
188 macroexp--eval-if-compile.
189 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
190 (macroexp--expand-all): Use them (bug#12371).
192 * doc-view.el (doc-view-guess-paper-size)
193 (doc-view-scale-bounding-box): Fix unbound `caddr'.
195 2012-09-19 Tassilo Horn <tsdh@gnu.org>
197 New feature: set optimal slice from BoundingBox information.
198 * doc-view.el (doc-view-mode-map): Add keybinding.
199 (doc-view-menu): Add menu entry.
200 (doc-view-set-slice): Adapt docstring.
201 (doc-view-get-bounding-box, doc-view-guess-paper-size)
202 (doc-view-scale-bounding-box)
203 (doc-view-set-slice-from-bounding-box): New functions.
204 (doc-view-paper-sizes): New defvar.
206 2012-09-19 Glenn Morris <rgm@gnu.org>
208 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
209 (byte-compile-log-warning): Autoload. (Bug#12371)
211 * calendar/calendar.el (calendar-american-month-header)
212 (calendar-european-month-header, calendar-iso-month-header)
213 (calendar-month-header): New options.
214 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
215 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
217 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
219 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
221 2012-09-18 Juri Linkov <juri@jurta.org>
223 * dired-aux.el (dired-diff): Restore original functionality of
224 getting the default value, but keep new feature of using the
225 latest existing backup file (`diff-latest-backup-file').
227 2012-09-18 Juri Linkov <juri@jurta.org>
229 * dired.el (dired-mark): If the region is active in Transient Mark
230 mode, mark all files in the active region. Doc fix.
231 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
234 2012-09-18 Juri Linkov <juri@jurta.org>
236 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
237 attributes for M-n are pulled from the file at point.
238 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
239 Suggested by Drew Adams. (Bug#10624)
241 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
243 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
244 whitespace after "end".
245 (ruby-do-end-to-brace): Collapse block to one line if it fits
248 2012-09-18 Martin Rudalics <rudalics@gmx.at>
250 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
252 (debug): Don't remove debugger window when debugger is expected
255 2012-09-18 Chong Yidong <cyd@gnu.org>
257 * custom.el (defface): Doc fix.
259 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
261 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
263 * progmodes/compile.el (compilation-start): Use compilation-always-kill
264 to initialize query-on-exit; then test that instead (bug#12288).
266 2012-09-17 Stefan Merten <smerten@oekonux.de>
268 * rst.el: Add support for `testcover'.
269 (rst-defcustom-testcover, rst-testcover-add-compose)
270 (rst-testcover-add-1value): New functions.
271 (rst-portable-mark-active-p): Replace by `use-region-p'.
272 (rst-update-section, rst-classify-adornment)
273 (rst-find-title-line): Mark `1value' forms.
274 (rst-classify-adornment): Remove superfluous form.
275 (rst-update-section, rst-get-adornments-around)
276 (rst-adornment-complete-p, rst-get-next-adornment)
277 (rst-adjust, rst-promote-region)
278 (rst-display-adornments-hierarchy, rst-straighten-adornments)
279 (rst-find-pfx-in-region, rst-section-tree-rec)
280 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
281 (rst-toc-node, rst-toc, rst-forward-section)
282 (rst-iterate-leftmost-paragraphs)
283 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
284 (rst-bullet-list-region)
285 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
286 (rst-compile-find-conf, rst-compile)
287 (rst-repeat-last-character): Fix style.
289 2012-09-17 Chong Yidong <cyd@gnu.org>
291 * comint.el (comint--complete-file-name-data): Don't add a space
292 if the status is `sole'; that adds a gratuitous space in the
293 completion-cycling case (Bug#12092).
295 * pcomplete.el (pcomplete-completions-at-point): Likewise.
297 2012-09-17 Richard Stallman <rms@gnu.org>
299 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
300 only in the mime-shown mode, not in raw mode.
301 (rmail-mime): Toggle off mime by displaying the message without
302 mime processing. (Bug#12305)
304 * mail/rmail.el (rmail-retry-failure):
305 Turn off mime processing first. (Bug#12037)
307 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
309 2012-09-17 Chong Yidong <cyd@gnu.org>
311 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
312 (shell-dynamic-complete-functions): Convert to defcustom.
313 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
315 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
316 * comint.el (comint-prompt-read-only):
317 * custom.el (defcustom):
318 * hi-lock.el (hi-lock-mode):
319 * ibuffer.el (ibuffer-formats):
320 * ielm.el (ielm-prompt-read-only):
321 * novice.el (disable-command):
322 * saveplace.el (toggle-save-place):
323 * speedbar.el (speedbar-supported-extension-expressions):
324 * startup.el (auto-save-list-file-prefix, init-file-user)
325 (after-init-hook, inhibit-startup-echo-area-message):
326 * strokes.el (strokes-help):
327 * time-stamp.el (time-stamp):
328 * calendar/calendar.el (calendar, diary-file):
329 * calendar/diary-lib.el (diary-mail-entries, diary)
330 (diary-list-entries-hook):
331 * calendar/holidays.el (holidays, calendar-holidays):
332 * calendar/lunar.el (lunar-phases):
333 * calendar/solar.el (sunrise-sunset):
334 * emulation/edt.el (edt-load-keys):
335 * emulation/viper.el (viper-mode):
336 * eshell/em-alias.el (eshell-command-aliases-list):
337 * eshell/esh-util.el (eshell-convert-numeric-arguments):
338 * international/ogonek.el (ogonek-information):
339 * net/tramp-cmds.el (tramp-bug):
340 * net/quickurl.el (quickurl-reread-hook-postfix):
341 * play/decipher.el (decipher-font-lock-keywords):
342 * progmodes/cc-styles.el (c-set-style):
343 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
344 * progmodes/inf-lisp.el (inferior-lisp-prompt):
345 * progmodes/octave-mod.el (octave-mode):
346 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
347 * progmodes/verilog-mode.el (verilog-read-defines):
348 * textmodes/two-column.el (2C-mode): Likewise.
350 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
352 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
353 that holds many addresses.
355 2012-09-16 Chong Yidong <cyd@gnu.org>
357 * align.el (align-areas): Call the indication function with
358 positions instead of markers for arguments (Bug#12343).
360 * files.el (parse-colon-path): Use split-string (Bug#12351).
362 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
363 (display-buffer-function): Mark as obsolete.
365 * progmodes/compile.el (compilation-parse-errors): Accept list
366 values similar to font-lock-keywords (Bug#12136).
367 Suggested by Oleksandr Manzyuk.
368 (compilation-error-regexp-alist): Doc fix.
370 2012-09-15 Glenn Morris <rgm@gnu.org>
372 * version.el (emacs-bzr-version-bzr): New function.
373 (emacs-bzr-get-version): Add optional EXTERNAL argument.
375 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
376 checkouts, check the parent dirstate matches the branch.
377 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
380 * version.el (emacs-bzr-version): Doc fix.
381 (emacs-bzr-version-dirstate): New function.
382 (emacs-bzr-get-version): For lightweight checkouts, if the parent
383 is local try and check that it matches the branch. If not, just
384 use dirstate information. (Bug#12441)
386 2012-09-14 Juri Linkov <juri@jurta.org>
388 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
391 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
393 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
395 * emacs-lisp/edebug.el: Miscellaneous cleanup.
396 Remove obsolete byte-compiler hack that tried to silence some warnings.
397 (edebug-submit-bug-report): Remove.
398 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
399 Remove aliases, use the un-prefixed name instead.
400 (edebug-pop-to-buffer): Consider other frames.
401 (edebug-original-read):: Make it more obvious that it's always defined.
402 (edebug--make-form-data-entry, edebug--form-data-name)
403 (edebug--form-data-begin, edebug--form-data-end): Rename from the
404 single-dashed name, and implement with cl-defstruct.
405 (edebug-set-form-data-entry): Use the standard accessors.
406 (edebug-make-top-form-data-entry): Use push.
407 (edebug-no-match): Drop useless `funcall'.
408 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
410 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
411 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
412 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
413 (easy-menu-define, with-custom-print): Remove redundant specs.
414 (edebug-outside-overriding-local-map)
415 (edebug-outside-overriding-terminal-local-map): Remove, unused.
416 (edebug--display): Bind unread-command-events directly to nil rather
417 than binding it to unread-command-events and later setting it to nil.
418 (edebug--display): Kill edebug-eval-buffer here...
419 (edebug--recursive-edit): ...rather than here.
420 Bind standard-output and standard-input.
421 (edebug-eval): Check cl-macroexpand-all is fboundp.
422 (edebug-temp-display-freq-count): Fix last change.
424 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
425 * subr.el (noreturn, 1value): Add `debug' spec.
426 * emacs-lisp/advice.el: Require cl-lib.
427 (ad-copy-tree): Remove, use copy-tree instead.
428 (ad-dolist): Remove use dolist or cl-dolist instead.
429 (ad-do-return): Remove, use cl-return instead.
430 (defadvice): Add `debug' spec.
432 2012-09-13 Juri Linkov <juri@jurta.org>
434 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
437 2012-09-13 Glenn Morris <rgm@gnu.org>
439 * calc/calc.el (math-compose-expr):
440 * calc/calc-ext.el (math-compose-expr):
441 * progmodes/cc-defs.el (cl-macroexpand-all):
442 * progmodes/cc-langs.el (delete-duplicates, mapcan)
443 (cl-macroexpand-all): Update declarations.
445 * vc/vc.el: No need to require ediff.
446 (ediff-load-version-control): Declare.
447 (ediff-vc-internal): Fix declaration.
448 (vc-version-ediff): Require ediff.
450 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
452 Use a more backwards-compatible timer format (Bug#12430).
453 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
454 being right after USECS, as that better supports old code that
455 inadvisedly looked directly at the timer vector.
457 2012-09-13 Kenichi Handa <handa@gnu.org>
459 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
460 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
461 `coding-priority' property of these language environment.
463 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
465 Fix glitches caused by addition of psec to timers (Bug#12430).
466 * image.el (image-animate-timer):
467 * time.el (display-time-world-timer):
468 Use timer--function and timer--args rather than raw access to
471 2012-09-13 Glenn Morris <rgm@gnu.org>
473 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
474 If not compiling a file, try using load-file-name.
476 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
478 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
480 (edebug-update-eval-list): Use `push'.
482 * emacs-lisp/edebug.el: Use lexical-binding.
483 Remove the "edebug-" prefix from non-dynamically-scoped variables.
484 Mark unused args with underscore.
485 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
486 (edebug-form-data): Use defvar-local.
487 (edebug-make-before-and-after-form, edebug-make-after-form):
489 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
490 Not dynamically scoped any more.
491 (edebug--enter-trace): Add arguments `function' and `args'.
492 Rename from edebug-enter-trace.
493 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
494 (edebug--update-coverage): Add `after-index' and `value' args.
495 Rename from edebug-update-coverage.
496 (edebug-slow-after): Call it accordingly.
497 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
498 edebug-recursive-edit.
499 (edebug--display): Call it accordingly. Add args `value',
500 `offset-index', and `arg-mode'. Rename from edebug-display.
501 (edebug-debugger, edebug): Call it accordingly.
502 (edebug-eval-display-list): Use dolist.
504 2012-09-12 Juri Linkov <juri@jurta.org>
506 * info.el (Info-search): Don't check for isearch-mode and
507 isearch-regexp before let-binding search-spaces-regexp to
508 Info-search-whitespace-regexp.
509 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
510 search-whitespace-regexp if isearch-lax-whitespace or
511 isearch-regexp-lax-whitespace is non-nil.
512 (Info-mode): Don't set local variable search-whitespace-regexp.
513 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
515 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
517 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
518 (debugger-env-macro): Remove support for unread-command-char.
520 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
521 the temporary map re-appearing on emulation-mode-map-alists.
523 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
526 * ehelp.el (with-electric-help): Accept functions in
527 electric-help-form-to-execute.
528 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
529 And replace unread-command-char -> unread-command-events.
531 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
533 Sync with Tramp 2.2.6.
535 * net/tramp.el (tramp-accept-process-output): Don't use
536 JUST-THIS-ONE in the XEmacs case.
538 * net/trampver.el: Update release number.
540 2012-09-12 Martin Rudalics <rudalics@gmx.at>
542 * emacs-lisp/debug.el (debugger-previous-window-height):
544 (debug): When debugger-jumping-flag is non-nil try to restore
545 height of debugger window. (Bug#8789)
547 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
549 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
550 overriding-local-map and pre/post-command-hook here.
551 (edebug-recursive-edit): Do it here instead (bug#12345).
552 (edebug-outside-unread-command-char): Remove all uses of
555 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
556 inhibit-debugger is bound instead.
558 2012-09-11 Bastien Guerry <bzg@gnu.org>
560 * subr.el (set-temporary-overlay-map): Add a docstring.
563 2012-09-11 Bastien Guerry <bzg@gnu.org>
565 * minibuffer.el (completion-table-subvert): Fix docstring.
568 2012-09-11 Bastien Guerry <bzg@gnu.org>
570 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
572 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
574 * progmodes/sql.el: Version 3.1
575 (sql-db2-escape-newlines): New variable.
576 (sql-escape-newlines-filter): Use it.
578 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
580 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
582 2012-09-10 Dan Nicolaescu <dann@gnu.org>
584 * vc/diff-mode.el (diff-mode-menu):
585 Bind diff-remove-trailing-whitespace.
587 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
589 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
590 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
591 (emacs-lisp-byte-code-mode): New functions.
592 (eval-sexp-add-defvars): Don't skip defvars in column >0.
593 (eval-defun-2): Remove bogus interactive spec.
594 (lisp-indent-line): Remove redundant whole-exp code, now done in
595 indent-according-to-mode.
596 (save-match-data): Remove redundant indent data.
598 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
601 2012-09-09 Juri Linkov <juri@jurta.org>
603 * replace.el (replace-regexp-lax-whitespace): New defcustom.
604 (replace-lax-whitespace, query-replace-regexp)
605 (query-replace-regexp-eval, replace-regexp): Doc fix.
606 (perform-replace, replace-highlight): Let-bind
607 isearch-lax-whitespace to replace-lax-whitespace and
608 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
610 * isearch.el (isearch-query-replace): Let-bind
611 replace-lax-whitespace to isearch-lax-whitespace and
612 replace-regexp-lax-whitespace to
613 isearch-regexp-lax-whitespace. (Bug#10885)
615 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
617 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
619 2012-09-09 Alan Mackenzie <acm@muc.de>
621 * progmodes/cc-engine.el (c-state-cache-init):
622 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
623 (c-record-parse-state-state):
624 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
626 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
628 * register.el (register-separator): Rename from
629 separator-register. All uses changed. Doc fix.
630 (register): Fix version.
632 2012-09-09 Chong Yidong <cyd@gnu.org>
634 * replace.el (query-replace-map): Bind four new symbols for
635 requesting window scrolling.
637 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
638 query-replace-map (Bug#8948).
640 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
642 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
643 since they are now in query-replace-map.
645 * window.el (scroll-other-window-down): Make the arg optional.
647 2012-09-09 Chong Yidong <cyd@gnu.org>
649 * files.el (hack-local-variables-confirm): Use quit-window to kill
650 the *Local Variables* buffer.
652 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
654 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
655 not just expect to be at its beginning. Adjust callees.
656 Succeed when do-end block has no space before the pipe character.
657 (ruby-brace-to-do-end): When the original block is one-liner,
658 convert to multiline. Reindent the result.
660 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
662 * register.el (register): New group.
663 (register-separator): New user option.
664 (increment-register): Route it to `append-to-register', if
665 register contains text. Implication is that `C-x r +' can now be
666 used for appending to a text register (bug#12217).
667 (append-to-register, prepend-to-register): Add separator based on
670 2012-09-08 Alan Mackenzie <acm@muc.de>
672 AWK Mode: make auto-newline work when there's "==" in the pattern.
673 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
675 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
676 Test more rigorously for "=" token.
678 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
680 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
681 Only fail when reached LIMIT.
683 2012-09-08 Chong Yidong <cyd@gnu.org>
685 * dired.el (dired-mode-map): Don't bind M-=.
687 * dired-aux.el (dired-diff): Use backup file as default.
689 2012-09-08 Drew Adams <drew.adams@oracle.com>
691 * subr.el (add-to-history): Fix delete usage (Bug#12314).
693 2012-09-08 Chong Yidong <cyd@gnu.org>
695 * subr.el (syntax-after, syntax-class): Doc fix.
697 2012-09-08 Martin Rudalics <rudalics@gmx.at>
699 * window.el (display-buffer-in-previous-window): New buffer
700 display action function.
702 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
703 (debugger-previous-window): New variable.
704 (debug): Rewrite using display-buffer-in-previous-window,
705 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
707 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
709 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
711 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
713 * progmodes/python.el (python-shell-send-string):
714 When default-directory is remote, create temp file on remote
716 (python-shell-send-file): When file is remote, pass local view of
717 file paths to remote Python interpreter. (Bug#12340)
719 2012-09-07 Chong Yidong <cyd@gnu.org>
721 * window.el (switch-to-buffer): Doc fix (Bug#12181).
723 * files.el (after-find-file): Don't fail on a read-only buffer if
724 require-final-newline is `visit' or `visit-save' (Bug#11156).
726 * subr.el (read-char-choice): Allow quitting via ESC ESC.
728 * userlock.el (ask-user-about-supersession-threat):
729 Use read-char-choice (Bug#12093).
731 2012-09-07 Chong Yidong <cyd@gnu.org>
733 * subr.el (buffer-narrowed-p): New function.
735 * ses.el (ses-widen):
736 * simple.el (count-words--buffer-message):
737 * net/browse-url.el (browse-url-of-buffer): Use it
739 * simple.el (count-words-region): Don't signal an error if there
740 is a non-nil prefix arg and the mark is not set.
742 * help.el (describe-key-briefly): Allow the message to be seen
743 when invoked from the minibuffer (Bug#7014).
745 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
747 * progmodes/ruby-mode.el (ruby-end-of-defun)
748 (ruby-beginning-of-defun): Simplify, allow indentation before
749 block beginning and end keywords.
750 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
751 (ruby-end-of-defun): Expect that the point is at the beginning of
754 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
756 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
758 (cl--make-usage-args): Strip _ from argument names.
760 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
762 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
763 obsolete alias speedbar-key-map.
764 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
765 (vhdl-index-menu-init): Don't use obsolete variable
766 font-lock-maximum-size.
768 2012-09-06 Chong Yidong <cyd@gnu.org>
770 * frame.el (window-system-version): Mark as obsolete.
772 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
773 of obsolete variable speedbar-key-map.
775 2012-09-06 Juri Linkov <juri@jurta.org>
777 * replace.el (replace-lax-whitespace): New defcustom.
778 (query-replace, query-replace-regexp, query-replace-regexp-eval)
779 (replace-string, replace-regexp): Mention it in docstrings.
780 (perform-replace, replace-highlight): Let-bind
781 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
782 to the values of replace-lax-whitespace and regexp-flag.
783 Don't let-bind search-whitespace-regexp. (Bug#10885)
785 * isearch.el (isearch-query-replace): Let-bind
786 replace-lax-whitespace instead of let-binding
787 replace-search-function and replace-re-search-function.
788 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
789 and isearch-regexp-lax-whitespace to lazy-highlight variables.
790 (isearch-toggle-symbol): Set isearch-regexp to nil
791 in isearch-word mode (like in isearch-toggle-word).
793 2012-09-06 Juri Linkov <juri@jurta.org>
795 * replace.el (replace-search-function)
796 (replace-re-search-function): Set default values to nil.
797 (perform-replace): Let-bind isearch-related variables based on
798 replace-related values, call `isearch-search-fun' and let-bind
799 the result to `search-function'. Remove code that sets
800 `search-function' and `search-string' separately for
802 (replace-highlight): Add new argument `delimited-flag' and
803 rename other arguments to the names used in `perform-replace'.
804 Let-bind `isearch-word' to the argument `delimited-flag'.
805 (Bug#10885, bug#10887)
807 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
809 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
810 ruby-beginning-of-indent, simplify, allow all keywords to have
811 indentation before them.
812 (ruby-beginning-of-indent): Adjust for above. Search until the
813 found point is not inside a string or comment.
814 (ruby-font-lock-keywords): Allow symbols to start with "@"
815 character, give them higher priority than variables.
816 (ruby-syntax-propertize-function)
817 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
818 matchers. Expression expansions are not comments when inside a
819 string, and there comment syntax status is irrelevant.
820 (ruby-match-expression-expansion): New function. Check that
821 expression expansion is inside a string, and it's not escaped.
822 (ruby-font-lock-keywords): Use it.
824 2012-09-05 Martin Rudalics <rudalics@gmx.at>
826 * help.el (temp-buffer-max-height): New default value.
827 (temp-buffer-resize-frames): New option.
828 (resize-temp-buffer-window): Optionally resize frame.
830 * window.el (fit-frame-to-buffer-bottom-margin): New option.
831 (fit-frame-to-buffer): New function.
833 2012-09-05 Glenn Morris <rgm@gnu.org>
835 * emulation/cua-rect.el (cua--init-rectangles):
836 * textmodes/picture.el (picture-mode-map):
837 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
838 like forward-char and backward-char. (Bug#12317)
840 2012-09-05 Leo Liu <sdl.web@gmail.com>
842 * progmodes/flymake.el (flymake-warning-re): New variable.
843 (flymake-parse-line): Use it.
845 2012-09-05 Glenn Morris <rgm@gnu.org>
847 * calendar/holidays.el (holiday-christian-holidays):
848 Rename an entry. (Bug#12289)
850 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
852 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
855 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
857 * loadup.el: Load macroexp. Remove hack.
858 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
859 (macroexp--expand-all): Use it to get better warnings.
860 (macroexp--backtrace, macroexp--trim-backtrace-frame)
861 (internal-macroexpand-for-load): New functions.
862 (macroexp--pending-eager-loads): New var.
863 (emacs-startup-hook): New hack to replace one in loadup.el.
864 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
865 (cl--compiler-macro-cXXr): Move to top, before they can be used.
866 (cl-psetf): Simplify.
867 (cl-defstruct): Add indent rule.
869 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
871 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
872 over `user-mail-address' for the SMTP MAIL FROM envelope.
873 (smtpmail-via-smtp): Ditto.
875 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
877 * progmodes/ruby-mode.el: Clean up keybindings.
878 (ruby-mode-map): Don't bind ruby-electric-brace,
879 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
880 backward-kill-word, reindent-then-newline-and-indent.
881 (ruby-mark-defun): Remove.
882 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
883 (ruby-mode): Set local beginning-of-defun-function and
884 end-of-defun-function values.
886 2012-09-03 Martin Rudalics <rudalics@gmx.at>
888 * window.el (temp-buffer-window-setup-hook)
889 (temp-buffer-window-show-hook): New hooks.
890 (temp-buffer-window-setup, temp-buffer-window-show)
891 (with-temp-buffer-window): New functions.
892 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
893 (special-display-popup-frame): Make sure the window used shows BUFFER.
895 * help.el (temp-buffer-resize-mode): Fix doc-string.
896 (resize-temp-buffer-window): New optional argument WINDOW.
898 * files.el (recover-file, save-buffers-kill-emacs):
899 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
901 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
903 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
904 remote definition of `default-directory', ensure we can connect.
906 2012-09-02 Juri Linkov <juri@jurta.org>
908 Toggle whitespace matching mode with M-s SPC.
909 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
911 * isearch.el (search-whitespace-regexp): Doc fix.
912 Remove cons cell customization.
913 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
914 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
916 (isearch-forward, isearch-forward-regexp): Doc fix.
917 (isearch-toggle-lax-whitespace): New command.
918 (search-forward-lax-whitespace, search-backward-lax-whitespace)
919 (re-search-forward-lax-whitespace)
920 (re-search-backward-lax-whitespace): New functions.
921 (isearch-whitespace-regexp): Remove function.
922 (isearch-query-replace): Let-bind replace-search-function and
923 replace-re-search-function.
924 (isearch-occur): Let-bind search-spaces-regexp according to the
925 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
926 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
927 condition for C-q SPC.
928 (isearch-search-fun-default): Use new functions mentioned above.
929 (isearch-search-forward, isearch-search-backward): Remove functions.
930 (isearch-search): Don't let-bind search-spaces-regexp.
931 (isearch-lazy-highlight-space-regexp): Remove variable.
932 (isearch-lazy-highlight-lax-whitespace)
933 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
934 (isearch-lazy-highlight-new-loop): Use them.
935 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
937 2012-09-02 Chong Yidong <cyd@gnu.org>
939 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
941 2012-09-02 Glenn Morris <rgm@gnu.org>
943 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
945 2012-09-01 Glenn Morris <rgm@gnu.org>
947 * term.el: Tidy up menu definitions.
948 (term-mode-map): Use easymenu for In/Out, Complete menus.
949 (term-pager-break-map): Initialize in the defvar.
950 (term-terminal-menu, term-signals-menu): Define with easymenu.
951 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
952 (term-pager-menu): New, extracted from term-process-pager.
953 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
954 (term-update-mode-line): Propertize line/char and page items.
955 (term-process-pager): Move keymap initialization elsewhere.
957 2012-09-01 Martin Rudalics <rudalics@gmx.at>
959 * window.el (switch-to-prev-buffer): Handle additional values of
960 BURY-OR-KILL argument. Don't switch in minibuffer window.
961 (switch-to-next-buffer): Don't switch in minibuffer window.
962 (quit-restore-window): New function based on quit-window.
963 Handle additional values of former KILL argument.
964 (quit-window): Call quit-restore-window with appropriate
965 interpretation of KILL argument.
966 (display-buffer-below-selected): New buffer display action
969 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
971 * minibuffer.el (completion-at-point-functions): Complete docstring
974 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
976 Better seed support for (random).
977 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
978 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
979 * play/mpuz.el, play/tetris.el, play/zone.el:
980 * calc/calc-comb.el (math-init-random-base):
981 * play/blackbox.el (bb-init-board):
982 * play/life.el (life):
983 * server.el (server-use-tcp):
984 * type-break.el (type-break):
985 Remove unnecessary call to (random t).
986 * net/sasl.el (sasl-unique-id-function):
987 Change (random t) to (random), now that the latter is more random.
988 * play/life.el (life-initialized): Remove no-longer-needed var.
990 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
992 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
993 Consider frame's buffer predicate when choosing the buffer.
996 2012-08-30 Richard Stallman <rms@gnu.org>
998 * simple.el (special-mode-map): Delete binding for `z'.
1000 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1002 * progmodes/compile.el (compilation-always-kill): Doc fix.
1004 2012-08-30 Chong Yidong <cyd@gnu.org>
1006 * window.el (display-buffer-reuse-frames): Make the obsolescence
1007 message more informative.
1009 2012-08-30 Glenn Morris <rgm@gnu.org>
1011 * paren.el (show-paren-delay):
1012 Add a :set function. Doc fix. (Bug#12297)
1014 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1016 * progmodes/compile.el (compilation-always-kill): New var.
1017 (compilation-start): Use it.
1019 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1022 * files.el (read-only-mode): Move to simple.el.
1024 * files.el (read-only-mode): New minor mode.
1025 (toggle-read-only): Use it and mark obsolete.
1026 (find-file--read-only):
1027 * vc/vc.el (vc-next-action, vc-checkout):
1028 * vc/vc-cvs.el (vc-cvs-checkout):
1029 * obsolete/vc-mcvs.el (vc-mcvs-update):
1030 * ffap.el (ffap--toggle-read-only): Update callers.
1032 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1034 * eshell/esh-ext.el (eshell-external-command): Do not examine
1035 remote shell scripts.
1036 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1038 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1041 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1043 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1045 2012-08-28 Leo Liu <sdl.web@gmail.com>
1047 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1048 completion-at-point. (Bug#12220)
1050 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1052 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1054 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1057 be buffer-local; add delete-trailing-whitespace (bug#12259).
1059 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1061 * progmodes/hideif.el (hif-compress-define-list):
1062 Fix typo. (Bug#11951)
1064 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1066 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1067 buffer local setting.
1069 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1070 rcirc-encode-coding-system.
1072 2012-08-28 Leo Liu <sdl.web@gmail.com>
1074 * net/rcirc.el (rcirc-split-message): New function.
1075 (rcirc-send-message): Use it. (Bug#12051)
1077 2012-08-28 Juri Linkov <juri@jurta.org>
1079 * info.el (Info-fontify-node): Hide empty lines at the end of
1080 the node. (Bug#12272)
1082 2012-08-27 Drew Adams <drew.adams@oracle.com>
1084 * dired.el (dired-pop-to-buffer): Make window start at beginning
1085 of buffer (Bug#12281).
1087 2012-08-26 Chong Yidong <cyd@gnu.org>
1089 * window.el (special-display-regexps, special-display-frame-alist)
1090 (special-display-buffer-names, special-display-function)
1091 (display-buffer-reuse-frames): Mark as obsolete.
1093 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1095 * help.el (help-print-return-message): Don't treat
1096 display-buffer-reuse-frames specially.
1098 2012-08-26 Chong Yidong <cyd@gnu.org>
1100 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1101 New variable, replacing gdb-frame-parameters.
1102 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1103 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1104 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1105 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1106 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1107 the functions directly with gdb-display-buffer-other-frame-action.
1108 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1109 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1110 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1111 (gdb-display-registers-buffer): Define directly.
1112 (def-gdb-display-buffer): Macro deleted.
1113 (gdb-display-buffer): Remove second and third args, callers don't
1114 use them. Defer to the default display-buffer behavior, apart
1115 from making windows dedicated.
1116 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1118 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1120 * window.el (display-buffer-pop-up-frame): Handle a
1121 pop-up-frame-parameters alist entry.
1122 (display-buffer): Document it.
1124 2012-08-26 Chong Yidong <cyd@gnu.org>
1126 * isearch.el (search-whitespace-regexp): Make string and nil
1127 values apply to both ordinary and regexp search. Allow a cons
1128 cell value to distinguish between the two.
1129 (isearch-whitespace-regexp, isearch-search-forward)
1130 (isearch-search-backward): New functions.
1131 (isearch-occur, isearch-search-fun-default, isearch-search)
1132 (isearch-lazy-highlight-new-loop): Use them.
1133 (isearch-forward, isearch-forward-regexp): Doc fix.
1135 2012-08-26 Chong Yidong <cyd@gnu.org>
1137 * faces.el (help-argument-name): Always inherit from italic
1140 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1142 * window.el (window--even-window-heights): Even heights when
1143 WINDOW and the selected window form a vertical combination.
1144 (display-buffer-use-some-window): Provide that window used gets
1145 sized back by quit-window. (Bug#11880) and (Bug#12091)
1147 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1149 Fix file time stamp problem with bzr and CVS (Bug#12001).
1150 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1151 in the file's time stamp, since the version control system loses
1154 2012-08-22 Juri Linkov <juri@jurta.org>
1156 * info.el (Info-fontify-node): Hide the suffix of the
1157 Info file name in the header line. (Bug#12187)
1159 2012-08-22 Glenn Morris <rgm@gnu.org>
1161 * calendar/cal-tex.el (cal-tex-weekly-common):
1162 Restore leading blank page.
1164 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1166 * misc.el (forward-to-word, backward-to-word): Activate or extend
1167 the region under `shift-select-mode'. (Bug#12231)
1169 2012-08-22 Bastien Guerry <bzg@gnu.org>
1171 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1172 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1173 gives details on why the space is never needed.
1175 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1177 * window.el (walk-window-tree, window-with-parameter):
1178 New optional argument MINIBUF to control whether these functions
1179 should run on the minibuffer window.
1180 (window-at-side-list): Don't operate on minibuffer window.
1181 (window-in-direction): Simplify and rewrite doc-string.
1182 (window--size-ignore): Rename to window--size-ignore-p.
1184 (display-buffer-in-atom-window, window--major-non-side-window)
1185 (window--major-side-window, display-buffer-in-major-side-window)
1186 (delete-side-window, display-buffer-in-side-window):
1188 (window--side-check, window-deletable-p, delete-window)
1189 (delete-other-windows, split-window): Handle side windows and
1190 atomic windows appropriately.
1191 (window--display-buffer): Call display-buffer-record-window also
1192 when the window buffer did not change.
1194 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1196 * help-fns.el (help-fns--key-bindings):
1197 Abbreviate non-symbol remap targets. (Bug#12174)
1199 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1201 * dired.el (dired-mark-remembered): Don't clobber point.
1204 2012-08-22 Glenn Morris <rgm@gnu.org>
1206 * progmodes/bug-reference.el (bug-reference): New custom group.
1207 (bug-reference-bug-regexp): Make it a defcustom.
1209 2012-08-22 Daiki Ueno <ueno@unixuser.org>
1211 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1212 (js-paren-indent-offset, js-square-indent-offset)
1213 (js-curly-indent-offset): Add :safe (Bug#12257).
1215 2012-08-22 Edward O'Connor <hober0@gmail.com>
1217 * json.el (json-key-format): Add error properties.
1218 (json-encode-key): New function.
1219 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1220 Use json-encode-key.
1222 2012-08-22 Glenn Morris <rgm@gnu.org>
1224 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1225 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1226 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1227 Update for above change.
1229 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1231 * cus-face.el (custom-face-attributes): Fix customize type for the
1232 :underline attribute. (Bug#11805)
1234 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1236 * window.el (window-point-1, set-window-point-1): Remove.
1237 (window-in-direction, record-window-buffer)
1238 (set-window-buffer-start-and-point, split-window-below)
1239 (window--state-get-1, display-buffer-record-window):
1240 Replace calls to window-point-1 and set-window-point-1 by calls to
1241 window-point and set-window-point respectively.
1243 2012-08-21 Glenn Morris <rgm@gnu.org>
1245 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1246 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1249 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1250 (cal-tex-shortday): New function.
1251 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1252 (cal-tex-cursor-filofax-daily): Use the above.
1254 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1256 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1257 (cal-tex-cursor-filofax-week): Use them.
1259 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1261 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1262 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1264 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1265 (cal-tex-end-document): Don't rely on buffer name.
1267 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1269 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1270 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1271 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1274 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1275 (cal-tex-cursor-week, cal-tex-cursor-week2)
1276 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1277 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1278 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1279 (cal-tex-insert-preamble, cal-tex-b-document)
1280 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1281 Improve cal-tex-cmd usage.
1283 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1284 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1285 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1286 (cal-tex-weekly-paper): New function.
1287 (cal-tex-cursor-week, cal-tex-cursor-week2)
1288 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1289 (cal-tex-cursor-day): Use it.
1291 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1292 (cal-tex-cursor-filofax-week): Remove leading blank page.
1294 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1295 Add autoload cookie. For now at least, don't use color, since
1296 no other cal-tex function does.
1298 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1299 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1300 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1302 2012-08-21 Juri Linkov <juri@jurta.org>
1304 * info.el (Info-file-attributes): New variable.
1305 (info-insert-file-contents): Add file attributes to
1306 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1307 `Info-toc-nodes' when previous modtime of the Info file is less
1309 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1310 of info.el. (Bug#12230)
1312 2012-08-20 Glenn Morris <rgm@gnu.org>
1314 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1315 * calendar/holidays.el (calendar-holiday-list):
1316 Report errors with display-warning rather than beep'n'sleep.
1318 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
1320 * net/tramp.el (tramp-accept-process-output): Accept only output
1321 from PROC. Otherwise, process filters and sentinels might be
1322 confused. (Bug#12145)
1324 2012-08-20 Chong Yidong <cyd@gnu.org>
1326 * descr-text.el (describe-text-properties-1): Use overlays-in to
1327 report on empty overlays (Bug#3322).
1329 2012-08-20 Glenn Morris <rgm@gnu.org>
1331 * mail/rmailout.el (rmail-output-read-file-name):
1332 Trap and report errors in rmail-output-file-alist elements.
1334 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1335 since most non-font-lock faces are not also variables).
1337 2012-08-20 Edward Reingold <reingold@iit.edu>
1339 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1340 New function. (Bug12160)
1342 2012-08-19 Glenn Morris <rgm@gnu.org>
1344 * mail/rmailout.el (rmail-output-read-file-name):
1345 Fix previous change (when the alist is nil or does not match).
1347 2012-08-19 Chong Yidong <cyd@gnu.org>
1349 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1352 2012-08-18 Chong Yidong <cyd@gnu.org>
1354 * simple.el (yank-handled-properties): New defcustom.
1355 (yank-excluded-properties): Add font-lock-face and category.
1358 * subr.el (remove-yank-excluded-properties):
1359 Obey yank-handled-properties. The special handling of font-lock-face
1360 and category is now done this way, instead of being hard-coded.
1361 (insert-for-yank-1): Remove font-lock-face handling.
1362 (yank-handle-font-lock-face-property)
1363 (yank-handle-category-property): New function.
1365 2012-08-17 Glenn Morris <rgm@gnu.org>
1367 * mail/rmailout.el (rmail-output-read-file-name):
1368 Check rmail-output-file-alist against the full message body
1369 in the correct rmail buffer. (Bug#12214)
1371 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
1373 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1374 Eliminate superfluous prompt. (Bug#12203)
1376 2012-08-17 Chong Yidong <cyd@gnu.org>
1378 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1379 font spec, set the font directly (Bug#3228).
1381 2012-08-17 Martin Rudalics <rudalics@gmx.at>
1383 * window.el (delete-window): Fix last fix.
1385 2012-08-16 Martin Rudalics <rudalics@gmx.at>
1387 * window.el (window-valid-p): Move to window.c.
1388 (window-child, window-child-count, window-last-child)
1389 (window-normalize-window, window-combined-p)
1390 (window-combinations, window-atom-root, window-min-size)
1391 (window-sizable, window-sizable-p, window-size-fixed-p)
1392 (window-min-delta, window-max-delta, window--resizable)
1393 (window--resizable-p, window-resizable, window-total-size)
1394 (window-full-height-p, window-full-width-p, window-body-size)
1395 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1396 (minimize-window, window-deletable-p, delete-window)
1397 (delete-other-windows, set-window-buffer-start-and-point)
1398 (next-buffer, previous-buffer, split-window, balance-windows-2)
1399 (set-window-text-height, window-buffer-height)
1400 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1401 (truncated-partial-width-window-p): Minor code adjustments.
1402 In doc-strings state whether the argument window has to denote a
1403 live, valid or any window.
1405 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1407 * progmodes/subword.el (subword-forward-function)
1408 (subword-backward-function, subword-forward-regexp)
1409 (subword-backward-regexp): New variables.
1410 (subword-forward, subword-forward-internal, subword-backward-internal):
1411 Use new variables, eg so that different "word" definitions
1412 can be easily used. (Bug#11411)
1414 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1417 for composite selectors.
1418 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1419 operation just because we can't find a previous revision.
1421 2012-08-15 Chong Yidong <cyd@gnu.org>
1423 * frame.el (set-frame-font): Accept font objects.
1425 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1429 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1431 * man.el (Man-overstrike-face, Man-underline-face)
1432 (Man-reverse-face): Remove variables.
1433 (Man-overstrike, Man-underline, Man-reverse): New faces.
1434 (Man-fontify-manpage): Use them instead of the variables.
1435 (Man-cleanup-manpage): Comment change.
1436 (Man-ansi-color-map): New variable.
1437 (Man-fontify-manpage): Use it.
1438 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1440 Implement ANSI SGR parameters 22-27 (bug#12146).
1441 * ansi-color.el (ansi-colors): Doc fix.
1442 (ansi-color-context, ansi-color-context-region): Doc fix.
1443 (ansi-color--find-face): New function.
1444 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1445 Rename the local variable `face' to `codes' since it is now a list of
1446 ansi codes. Doc fix.
1447 (ansi-color-get-face): Remove.
1448 (ansi-color-parse-sequence): New function, derived from
1449 ansi-color-get-face.
1450 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1453 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * subr.el (read-passwd): Allow use from a minibuffer.
1457 2012-08-14 Eli Zaretskii <eliz@gnu.org>
1459 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1460 inside comments and strings as identifiers.
1462 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1463 expression to evaluate. This allows to evaluate expressions with
1464 embedded whitespace.
1465 (gud-tooltip-tips): Add a blank before the newline in the
1466 message-box text, for the benefit of message-box emulation on
1469 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1470 messages from GDB, pop them up in a tooltip to give feedback to
1472 (gdb-tooltip-print-1): Quote the expression to evaluate.
1473 This allows to evaluate expressions with embedded whitespace.
1474 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1475 if the TTY name is nil or empty (which happens when communicating
1476 with the inferior via pipes, e.g. on MS-Windows).
1477 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1478 don't send that to the GUD buffer.
1480 2012-08-14 Glenn Morris <rgm@gnu.org>
1482 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1483 Optimize away setq-default with no args, as for setq. (Bug#12195)
1485 2012-08-14 Chong Yidong <cyd@gnu.org>
1487 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1489 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1492 2012-08-14 Glenn Morris <rgm@gnu.org>
1494 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1496 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1498 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1499 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1500 Use cached shell name.
1502 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1504 * progmodes/python.el (python-shell-send-string):
1505 (python-shell-send-setup-code): Do not use `format' with `message'.
1507 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1509 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1510 (ruby-percent-literal-beg-re): New constant.
1511 (ruby-syntax-general-delimiters-goto-beg): Rename to
1512 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1513 (ruby-syntax-propertize-general-delimiters): Rename to
1514 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1515 popular term. Adjust comments everywhere.
1516 (ruby-syntax-propertize-percent-literal): Only propertize when not
1517 inside a simple string or comment. When the literal is unclosed,
1518 leave the text after it unpropertized.
1519 (ruby-syntax-methods-before-regexp): New constant.
1520 (ruby-syntax-propertize-function): Use it to recognize regexps.
1521 Don't look at the text after regexp, just use the whitelist.
1523 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1525 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1526 non-nil always load the compiled file if it exists. (Bug#12197)
1528 2012-08-14 Chong Yidong <cyd@gnu.org>
1530 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1531 (hi-lock-set-pattern): When deciding whether to use font lock or
1532 overlays, look at font-lock-mode instead of font-lock-fontified
1534 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1535 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1537 2012-08-14 Daiki Ueno <ueno@unixuser.org>
1539 * subr.el (internal--after-with-selected-window): Fix typo
1542 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1544 Use `completion-table-dynamic' for completion functions.
1545 * progmodes/python.el
1546 (python-shell-completion--do-completion-at-point)
1547 (python-shell-completion--get-completions):
1549 (python-shell-completion-complete-at-point): New function.
1550 (python-completion-complete-at-point): Use it.
1552 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
1554 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1555 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1557 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * subr.el (function-get): Refine `autoload' arg so it can also
1560 autoload functions for gv.el (bug#12191).
1561 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1564 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1565 Prefer pcase-let over destructuring-bind.
1566 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1567 Also, remove whitespace as we go, rather than after accumulating the
1570 * subr.el (internal--before-with-selected-window)
1571 (internal--after-with-selected-window): Fix typo seleted->selected.
1572 (with-selected-window): Adjust callers.
1573 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1575 2012-08-13 Bastien Guerry <bzg@gnu.org>
1577 * window.el (special-display-popup-frame): Minor docstring
1578 enhancement. (Bug#12172)
1580 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1582 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1584 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1587 * files.el (hack-local-variables-filter): Remove useless eval.
1589 2012-08-13 Martin Rudalics <rudalics@gmx.at>
1591 * subr.el (with-selected-window): Fix last change.
1593 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1595 * subr.el (internal--before-with-seleted-window)
1596 (internal--after-with-seleted-window): New functions.
1597 (with-selected-window): Use them, to replace dependency on
1600 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1602 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1603 binding for `newline'.
1604 (ruby-move-to-block): When moving backward, stop at block opening,
1606 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1607 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1608 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1609 `ruby-toggle-block'.
1611 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * ibuffer.el (ibuffer-do-toggle-read-only):
1614 * dired.el (dired-toggle-read-only):
1615 * buff-menu.el (Buffer-menu-toggle-read-only):
1616 * bindings.el (mode-line-toggle-read-only):
1617 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1619 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1621 * descr-text.el (describe-char): Put the overlays over the
1622 "displayed as" character.
1624 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1626 * calc/calc-units.el (math-default-units-table): Give an
1628 (math-put-default-units): Add options to put composite units and
1629 unit systems in the default units table.
1630 (calc-convert-units): Send composite units to
1631 `math-put-default-units' when appropriate.
1633 2012-08-11 Glenn Morris <rgm@gnu.org>
1635 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1637 * tutorial.el (help-with-tutorial):
1638 * emacs-lisp/copyright.el (copyright-update-directory):
1639 * emacs-lisp/autoload.el (autoload-find-generated-file)
1640 (autoload-find-file): Disable local eval: (for insurance).
1642 * files.el (hack-local-variables-filter): If an eval: form is not
1643 known to be safe, and enable-local-variables is :safe, then ignore
1644 the form totally, as is done for non-eval forms. (Bug#12155)
1645 This is CVE-2012-3479.
1647 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1650 (rx-form): Simplify.
1652 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1654 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1655 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1656 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1657 (ruby-syntax-propertize-function): Adjust for changes in
1658 `ruby-syntax-propertize-heredoc'.
1660 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1662 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1663 binding (use `M-;' instead).
1664 (ruby-singleton-class-p): New function.
1665 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
1667 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1671 2012-08-10 Chong Yidong <cyd@gnu.org>
1673 * progmodes/python.el (python-shell-get-process-name): Don't mess
1674 with same-window-buffer-names.
1676 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1677 (eshell-remove-from-window-buffer-names): Make obsolete.
1678 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1679 (eshell): Just use pop-to-buffer-same-window instead.
1681 2012-08-10 Chong Yidong <cyd@gnu.org>
1683 * bindings.el: Bind M-= back to count-words-region.
1685 * simple.el (count-words-region): Accept a prefix arg for acting
1686 on the entire buffer.
1687 (count-words--buffer-message): New helper function.
1689 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1692 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1693 (event-start, event-end): Use posn-at-point to return a more
1695 (posnp): New function.
1696 * mouse.el (popup-menu-normalize-position): Use it.
1698 2012-08-10 Masatake YAMATO <yamato@redhat.com>
1700 * mouse.el (popup-menu-normalize-position): New function.
1701 (popup-menu): Use `popup-menu-normalize-position' to normalize
1702 the form for POSITION argument.
1704 * term/x-win.el (x-menu-bar-open):
1705 Use the value returend from (posn-at-point) as position
1706 passed to `popup-menu'.
1708 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1710 * calc/calccomp.el (math-compose-expr): Add extra argument
1711 indicating that parentheses should be put around products in
1712 denominators. Give multiplication precedence over division during
1715 2012-08-09 Chong Yidong <cyd@gnu.org>
1717 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1718 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1719 (Man-untabify-command, manual-program): Convert to defcustom
1722 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1724 * descr-text.el (describe-char): Don't insert extra newlines
1727 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1728 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1730 * align.el (align-region): Delete temporary markers (Bug#10047).
1731 Plus some code cleanups.
1733 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1735 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1736 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1737 (python-shell-internal-last-output): Use make-local-variable
1738 instead of make-variable-buffer-local.
1740 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1742 * progmodes/python.el: Enhancements to forward-sexp.
1743 (python-nav-forward-sexp): Rename from
1744 python-nav-forward-sexp-function.
1745 (python-nav--forward-sexp, python-nav--backward-sexp):
1748 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1750 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1751 modes and simplification modes.
1753 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * delsel.el (delete-selection-pre-hook): Don't propagate the
1756 file-supersession signals (bug#12161).
1758 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1760 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1761 (cl-map-extents): Add compatibility aliases (bug#12135).
1763 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
1765 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1766 tests by `ignore-error'.
1767 (tramp-find-shell): Open also a new shell, when cache is already
1768 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1770 2012-08-08 Juri Linkov <juri@jurta.org>
1772 * bookmark.el: Add `defaults' property to the bookmark record.
1773 (bookmark-current-buffer): Doc fix.
1774 (bookmark-make-record): Add `defaults' property with default values
1775 to the bookmark record.
1776 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1777 with `bookmark-insert-current-bookmark'.
1778 (bookmark-set): Get `defaults' property from the bookmark record
1779 and use it in `read-from-minibuffer'.
1780 (bookmark-insert-current-bookmark): Remove function.
1782 * info.el (Info-bookmark-make-record): Add `defaults' property
1783 with values of canonical Info node name, the current Info file
1784 name and the current Info node name. (Bug#12107)
1786 2012-08-08 Juri Linkov <juri@jurta.org>
1788 * files.el (basic-save-buffer): Use `buffer-name' as the default
1789 of `read-file-name' when buffer is not visiting a file (bug#12128).
1791 2012-08-08 Juri Linkov <juri@jurta.org>
1793 * info.el (Info-isearch-search): Doc fix.
1794 (Info-search): Change search-failed message from "initial node" to
1795 "end of node" (bug#12078).
1796 (Info-isearch-search): Change `isearch-string-state' to
1797 `isearch--state-string'.
1799 2012-08-08 Glenn Morris <rgm@gnu.org>
1801 * language/persian.el: Remove file.
1802 * language/misc-lang.el: Move unique part of persian.el here.
1803 * loadup.el: Remove language/persian.
1805 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1807 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1809 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1811 * progmodes/python.el Fixed defsubst warning.
1812 (python-syntax-context) Rename from python-info-ppss-context.
1813 (python-syntax-context-type): Rename from
1814 python-info-ppss-context-type.
1815 (python-syntax-comment-or-string-p): Rename from
1816 python-info-ppss-comment-or-string-p.
1818 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1820 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1822 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1824 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1825 a defcustom that is quoted with backquote.
1827 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1828 Fix handling of interactive spec when the body uses return.
1829 (math-do-arg-check, math-define-function-body): Use backquote forms.
1830 * calc/calc-ext.el (math-defcache): Likewise.
1831 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1832 * allout.el (allout-new-exposure): Likewise.
1833 * calc/calcalg2.el (math-tracing-integral): Likewise.
1834 * info.el (Info-last-menu-item): Likewise.
1835 * emulation/vip.el (vip-loop): Likewise.
1836 * textmodes/artist.el (artist-funcall): Likewise.
1837 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1838 Construct menu-item directly.
1840 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1843 2012-08-07 Chong Yidong <cyd@gnu.org>
1845 * simple.el (deactivate-mark): Preserve text properties when
1846 saving the primary selection (Bug#8384).
1848 2012-08-07 Kevin Ryde <user42@zip.com.au>
1850 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1851 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1852 and continue processing (Bug#12110).
1854 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1856 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1857 syntax-propertize-function (bug#10095).
1859 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1862 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1863 describe-function-1.
1864 (describe-function-1): Use them. Move compiler macro after sig.
1865 (help-fns--compiler-macro): Use function-get. Assume we're already in
1866 standard-output. Adjust layout to new call order.
1868 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1869 re-binding a symbol that has a symbol-macro (bug#12119).
1871 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1873 * language/persian.el: New file. (Bug#11812)
1874 * loadup.el: Add language/persian.el.
1876 2012-08-06 Chong Yidong <cyd@gnu.org>
1878 * window.el (window--maybe-raise-frame): New function.
1879 (window--display-buffer): Split off from here.
1880 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1881 (display-buffer-pop-up-window, display-buffer-use-some-window):
1882 Obey an inhibit-switch-frame action alist entry.
1883 (display-buffer): Update doc.
1885 * replace.el (occur-after-change-function): Avoid losing focus by
1886 using the inhibit-switch-frame display parameter (Bug#12139).
1888 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1890 Make internal shell process buffer names start with space.
1891 * progmodes/python.el (python-shell-make-comint): Add optional
1893 (run-python-internal): Use it.
1894 (python-shell-internal-get-or-create-process): Check for new
1895 internal buffer names.
1897 2012-08-06 Glenn Morris <rgm@gnu.org>
1899 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1900 Do less getting and setting of environment variables.
1902 2012-08-05 Chong Yidong <cyd@gnu.org>
1904 * proced.el (proced): Add substitution string to docstring to
1905 trigger autoloading of the proced library on C-h f (Bug#1768).
1907 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1908 Don't show defvars which have no second argument (Bug#8638).
1910 * imenu.el (imenu-generic-expression): Move documentation here
1911 from imenu--generic-function.
1912 (imenu--generic-function): Refer to imenu-generic-expression.
1914 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
1916 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1917 indentation declaration.
1918 (viper-loop): Add indentation declaration (Bug#7025).
1920 2012-08-05 Chong Yidong <cyd@gnu.org>
1922 * help-fns.el (describe-variable): Add hyperlink for
1923 directory-local variables files. Improve buffer-local and
1924 permanent-local reporting; suggested by MON KEY (Bug#6644).
1926 * help-mode.el (help-dir-local-var-def): New button type.
1928 * files.el (kill-buffer-hook): Provide a defvar.
1930 2012-08-05 Glenn Morris <rgm@gnu.org>
1932 * eshell/esh-ext.el (eshell/addpath):
1933 Also update eshell-path-env. (Bug#12013)
1935 2012-08-05 Chong Yidong <cyd@gnu.org>
1937 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1939 * fringe.el (fringe-styles): Add docstring.
1940 (fringe--check-mode): New function.
1941 (set-fringe-mode, set-fringe-style): Use it.
1942 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1944 * files.el (set-auto-mode): Fix invalid setq call.
1946 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1948 * isearch.el: Misc simplification; use defstruct.
1949 (isearch-mode-map): Dense maps now work like sparse ones.
1950 (isearch--state): New defstruct.
1951 (isearch-string-state, isearch-message-state, isearch-point-state)
1952 (isearch-success-state, isearch-forward-state)
1953 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1954 (isearch-wrapped-state, isearch-barrier-state)
1955 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1956 replaced by defstruct's accessors.
1957 (isearch--set-state): Rename from isearch-top-state and change
1959 (isearch-push-state): Use new isearch--get-state.
1960 (isearch-toggle-word): Disable regexp when enabling word.
1961 (isearch-message-prefix): Remove unused arg _c-q-hack.
1962 (isearch-message-suffix): Remove unused arg _ellipsis.
1964 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1966 * simple.el (list-processes--refresh): For a server use :host or
1967 :local as the address.
1968 (list-processes): Doc fix.
1970 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
1972 * lisp/mpc.el: Support password in host argument.
1973 (mpc--proc-connect): Parse and use new password element.
1974 Set mpc-proc variable instead of returning process.
1975 (mpc-proc): Adjust accordingly.
1977 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1979 * whitespace.el (whitespace-display-mappings): Use Unicode
1980 codepoints, instead of emacs-mule codepoints. See
1981 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1984 * files.el (file-truename): Don't skip symlink-chasing part on
1985 windows-nt. Incorporate the resolution of 8+3 short aliases on
1986 Windows into the loop that recursively chases symlinks.
1987 Compare directory and its parent case-insensitively on MS-Windows and
1990 2012-08-03 Chong Yidong <cyd@gnu.org>
1992 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1994 * sort.el (sort-regexp-fields): Doc fix.
1996 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1998 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1999 labels regex position point at the expected place.
2001 2012-08-03 MON KEY <monkey@sandpframing.com>
2003 * net/imap.el (imap-interactive-login, imap-authenticate)
2004 (imap-mailbox-lsub, imap-mailbox-list)
2005 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2006 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2007 (imap-parse-response): Doc fix.
2009 2012-08-03 João Távora <joaotavora@gmail.com>
2011 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2012 if sexp scanning does not move point (Bug#5734).
2014 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2016 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2017 Add listings, minted, and ctable packages.
2018 (reftex-label-alist-builtin): Move listings, minted, and ctable
2019 entries before LaTeX.
2020 (reftex-label-alist): Docfix.
2022 2012-08-02 Bastien Guerry <bzg@gnu.org>
2024 * replace.el (occur): Fix docstring (bug#12122).
2026 2012-08-02 Glenn Morris <rgm@gnu.org>
2028 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2030 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2032 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2033 * international/mule-cmds.el: Create
2034 inactivate-current-input-method-function as an obsolete alias for
2035 deactivate-current-input-method-function. See Katsumi Yamaoka in
2036 <http://bugs.gnu.org/10150#46>.
2038 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2040 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2043 2012-08-01 Glenn Morris <rgm@gnu.org>
2045 * progmodes/autoconf.el (autoconf-definition-regexp):
2046 Add AH_TEMPLATE, adjust submatch numbering.
2047 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2048 (autoconf-current-defun-function): Update for above change.
2049 (autoconf-current-defun-function): First skip to end of current word.
2051 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2053 * calendar/cal-html.el (cal-html-insert-agenda-days):
2054 Fix typo. (Bug#12018)
2056 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2058 Shell processes: enhancements to startup and CEDET compatibility.
2059 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2060 (python-shell-make-comint): accept-process-output at startup.
2061 (run-python-internal): Set inferior-python-mode-hook to nil.
2062 (python-shell-internal-get-or-create-process): call sit-for.
2063 (python-preoutput-result): Add obsolete alias.
2064 (python-shell-internal-send-string): Use it.
2065 (python-shell-send-setup-code): Remove call to
2066 accept-process-output.
2068 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2070 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2073 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2075 * calc-mode.el (calc-basic-simplification-mode): Rename from
2076 `calc-limited-simplification-mode'.
2077 (calc-alg-simplification-mode): New function.
2078 (calc-set-simplify-mode): Adjust message.
2080 * calc.el (calc-set-mode-line): Adjust mode line display for
2081 basic simplification mode.
2083 * calc-help.el (calc-m-prefix-help): Update help message.
2085 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2086 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2088 2012-07-31 Bastien Guerry <bzg@gnu.org>
2090 * man.el (man): Fix comment. (bug#12101)
2092 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2094 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2095 Don't return a non-nil value when no suitable buffer was found.
2097 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2099 * progmodes/python.el (run-python-internal): Disable font lock for
2102 2012-07-30 Stefan Merten <smerten@oekonux.de>
2104 * rst.el: Silence `checkdoc-ispell'.
2105 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2106 (rst-official-version, rst-official-cvs-rev)
2107 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2108 (rst-mode-map): New key binding.
2110 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2112 Update .PHONY listings in makefiles.
2113 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2114 autoloads, update-subdirs, updates, bzr-update, update-authors,
2115 compile-onefile, compile-calc, backup-compiled-files,
2116 compile-after-backup, compile-one-process, mh-autoloads,
2117 bootstrap-clean, distclean, maintainer-clean.
2119 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2121 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2122 (calc-set-mode-line): Don't display "AlgSimp ".
2124 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2125 (calc-lim-simplify-mode): New function.
2126 (calc-set-simplify-mode): Default to 'alg.
2127 (calc-default-simplify-mode): Make algebraic simplifications
2130 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2131 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2133 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2134 indicate new simplification modes.
2136 * calc/README: Mention new default simplification mode.
2138 * calc/calc.el (math-normalize-error): New variable.
2139 (math-normalize): Set `math-normalize-error' to t
2140 when there's an error.
2142 * calc/calc-alg.el (math-simplify): Don't simplify when
2143 `math-normalize' returns an error.
2145 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2147 * international/mule-cmds.el (set-locale-environment): Revert last
2148 change, since display-graphic-p returns nil when this function is
2149 called during startup. Instead...
2151 * term/w32console.el (terminal-init-w32console): ...setup the
2152 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2154 2012-07-29 Juri Linkov <juri@jurta.org>
2156 * simple.el (goto-line): Don't display default line number in the
2157 prompt because it should be displayed by `read-number' (bug#9952).
2158 Add the current line number to the defaults of `goto-line' to
2159 allow its easier modification by users with `M-n' (bug#9201).
2161 * subr.el (read-number): Support multiple default values like in
2162 other minibuffer reading functions. Replace `read' with
2163 `string-to-number' for consistency with `number-to-string'.
2165 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2167 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2168 * emulation/viper-init.el (viper-deactivate-input-method-action):
2169 Rename from viper-inactivate-input-method-action.
2170 (viper-deactivate-input-method):
2171 Rename from viper-inactivate-input-method.
2172 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2173 * international/mule-cmds.el (deactivate-input-method):
2174 Rename from inactivate-input-method.
2175 Also run input-method-deactivate-hook.
2176 (deactivate-current-input-method-function):
2177 Rename from inactivate-current-input-method-function.
2178 (input-method-deactivate-hook): New hook.
2179 (input-method-inactivate-hook): Mark obsolete.
2180 (inactivate-input-method): Mark obsolete.
2182 * international/quail.el (quail-activate):
2183 Also run quail-deactivate-hook.
2184 (quail-deactivate): Rename from quail-inactivate.
2185 * international/robin.el (robin-activate):
2186 Also run robin-deactivate-hook.
2187 (robin-deactivate): Rename from robin-inactivate.
2189 2012-07-29 Chong Yidong <cyd@gnu.org>
2191 * simple.el (indicate-copied-region): New function.
2192 (kill-ring-save): Split off from here.
2194 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2195 (kill-rectangle): Set deactivate-mark to t on read-only error.
2197 * register.el (copy-to-register, copy-rectangle-to-register):
2198 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2199 (append-to-register, prepend-to-register):
2200 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2202 * simple.el (async-shell-command-buffer): New defcustom.
2203 (shell-command): Use it. (Bug#4719)
2205 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2207 * international/mule-cmds.el (set-locale-environment): In a
2208 console session on MS-Windows, set up keyboard and terminal
2209 encoding from the OEM codepage, not the ANSI codepage.
2212 2012-07-28 Chong Yidong <cyd@gnu.org>
2214 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2217 2012-07-28 Leo Liu <sdl.web@gmail.com>
2219 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2220 the alist (bug#12029).
2222 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2224 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2225 (compile-always, compile-first)
2226 ($(lisp)/calendar/cal-loaddefs.el)
2227 ($(lisp)/calendar/diary-loaddefs.el)
2228 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2229 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2230 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2231 instead of on update-subdirs.
2232 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2234 2012-07-28 Chong Yidong <cyd@gnu.org>
2236 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2237 directory if vc-deduce-backend returns nil (Bug#7350).
2239 * simple.el (delete-trailing-lines): New option.
2240 (delete-trailing-whitespace): Obey it (Bug#11879).
2242 2012-07-28 David Engster <deng@randomsample.de>
2244 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2245 Explanation of new 'symbol-qnames feature in doc-strings.
2246 (xml-maybe-do-ns): Return expanded names as plain symbols if
2247 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2248 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2250 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2252 Consistent completion in inferior python with emacs -nw.
2253 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2254 binding in inferior-python-mode-map with "\t".
2255 (python-shell-completion-complete-at-point)
2256 (python-completion-complete-at-point): Remove interactive spec.
2258 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2260 * calc/calccomp.el (math-compose-expr): Undo previous change.
2262 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2264 * progmodes/python.el (python-mode-map): Add keybinding for
2266 (python-shell-make-comint): Fix pop-to-buffer call.
2267 (run-python): Autoload. New arg SHOW.
2268 (python-shell-get-or-create-process): Do not pop python process
2271 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2273 * notifications.el (notifications-on-action-signal)
2274 (notifications-on-closed-signal): Use also the bus address for the map.
2275 (notifications-notify, notifications-close-notification)
2276 (notifications-get-capabilities): Add optional argument BUS.
2278 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2280 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2281 Add support for the lstlisting and minted environments, and for the
2283 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2284 labels written in keyvals syntax.
2286 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2288 * calc/calccomp.el (math-compose-expr): Use parentheses when
2289 there is a product in the denominator of a fraction.
2291 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2293 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2294 ($(lisp)/calendar/diary-loaddefs.el)
2295 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2296 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2297 Fixes failures in parallel bootstrap because subdirs.el is being
2298 rewritten while the autoload files are built at the same time,
2299 which needs to load subdirs.el.
2301 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2303 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2304 (mouse-drag-line): Don't exit tracking when a switch-frame or
2305 switch-window event occurs (Bug#12006).
2307 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * mouse.el (popup-menu): Fix last change.
2311 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2313 Autoload from Lisp with more care. Follow aliases when looking for
2314 function properties.
2315 * subr.el (autoloadp): New function.
2316 (symbol-file): Use it.
2317 (function-get): New function.
2318 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2320 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2321 (lisp-indent-function):
2322 * emacs-lisp/gv.el (gv-get):
2323 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2324 * emacs-lisp/byte-opt.el (byte-optimize-form):
2325 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2326 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2328 * emacs-lisp/cl.el: Don't propagate function properties any more.
2330 * speedbar.el (speedbar-add-localized-speedbar-support):
2331 * emacs-lisp/disass.el (disassemble-internal):
2332 * desktop.el (desktop-load-file):
2333 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2334 (describe-function-1):
2335 * emacs-lisp/find-func.el (find-function-noselect):
2336 * emacs-lisp/elp.el (elp-instrument-function):
2337 * emacs-lisp/advice.el (ad-has-proper-definition):
2338 * apropos.el (apropos-safe-documentation, apropos-macrop):
2339 * emacs-lisp/debug.el (debug-on-entry):
2340 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2341 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2342 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2344 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2346 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2347 function, not an obsolete variable (Bug#12046).
2349 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2351 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2353 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2355 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2356 window only if it is still live (Bug#12034).
2358 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2360 * subr.el (redirect-frame-focus): Add advertised calling
2361 convention (Bug#12030).
2363 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2365 Prefer typical American spelling for "acknowledgment".
2366 * vc/add-log.el (change-log-acknowledgment): Rename from
2367 change-log-acknowledgement, with an alias for the old name.
2369 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2371 * calc-alg.el (math-simplify-divide): Don't cross multiply
2372 in an equation when the lhs is a variable.
2374 2012-07-24 Julien Danjou <julien@danjou.info>
2376 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2379 2012-07-23 Eli Zaretskii <eliz@gnu.org>
2381 * startup.el (command-line): Don't display an empty user name in
2382 the error message about non-existent home directory, when
2383 init-file-user was set to an empty string. See
2384 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2385 for the details and context.
2387 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2389 * ses.el (ses-cell-formula-aset): New macro.
2390 (ses-cell-references-aset): New macro.
2391 (ses-cell-p): New function.
2392 (ses-rename-cell): Do no longer rely on complex operations like
2393 ses-cell-set-formula or ses-set-cell to change the cell and handle
2394 the undo at the same time, but rather use lower level new macros
2395 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2396 the undo directly. Refresh the mode line.
2398 2012-07-21 Leo Liu <sdl.web@gmail.com>
2400 * progmodes/cc-cmds.el (c-defun-name):
2401 Use match-string-no-properties instead for consistency.
2403 2012-07-20 Leo Liu <sdl.web@gmail.com>
2405 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2408 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2410 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2413 * progmodes/bug-reference.el, misearch.el: Provide themselves
2416 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2417 of narrowed buffer (bug#11966).
2419 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2421 * ses.el (ses-rename-cell): Set new name also in reference list of
2422 cells of which the renamed cell depends.
2424 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2426 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2427 to check whether menu-bar is shown or not. If not shown,
2428 show the menu-bar as a popup menu instead of using tmm.
2429 * mouse.el (popup-menu): Accept `point' as `position' argument.
2431 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2433 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2434 up inside string symbol literal (bug#11923).
2436 2012-07-20 Eli Zaretskii <eliz@gnu.org>
2438 * startup.el (fancy-startup-text): Read the whole tutorial, not
2439 just its first 256 bytes. Prevents gibberish in display of the
2442 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2444 Drop idle buffer compaction due to an absence of the
2446 * compact.el: Remove.
2448 2012-07-19 Sam Steingold <sds@gnu.org>
2450 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2451 vc-bzr-pull & vc-bzr-merge-branch.
2452 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2453 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2454 for consistency with compilation-error-regexp-alist.
2455 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2456 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2457 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2458 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2460 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2462 * emacs-lisp/chart.el: Use lexical-binding.
2463 (chart-emacs-storage): Don't hardcode the list of entries.
2465 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2467 Next round of tweaks caused by Fgarbage_collect changes.
2468 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2470 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2472 Compact buffers when idle.
2473 * compact.el: New file.
2475 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2477 * subr.el (eventp): Presume that if it looks vaguely like an event,
2478 it's an event (bug#10190).
2480 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2482 Enhancements to ppss related code (thanks Stefan).
2483 * progmodes/python.el (python-indent-context)
2484 (python-indent-calculate-indentation, python-indent-dedent-line)
2485 (python-indent-electric-colon, python-nav-forward-block)
2486 (python-mode-abbrev-table)
2487 (python-info-assignment-continuation-line-p): Simplify checks
2489 (python-info-continuation-line-p): Cleanup.
2490 (python-info-ppss-context): Do not catch 'quote.
2491 (python-info-ppss-context-type)
2492 (python-info-ppss-comment-or-string-p): Simplify.
2494 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2496 * progmodes/python.el: Enhancements to eldoc support.
2497 (python-info-current-symbol): New function.
2498 (python-eldoc-at-point): Use python-info-current-symbol.
2499 (python-info-current-defun): Fix cornercase on first defun scan.
2500 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2501 and signal error when no inferior python process is available.
2503 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2505 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2506 assume it's always t.
2507 (vc-git-registered): Remove caching, the function is only called
2509 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2511 2012-07-18 Chong Yidong <cyd@gnu.org>
2513 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2515 * simple.el (count-words): Report on narrowing (Bug#9959).
2517 * bindings.el: Bind M-= to count-words.
2519 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2521 2012-07-18 Masatake YAMATO <yamato@redhat.com>
2523 * progmodes/sh-script.el (sh-imenu-generic-expression):
2524 Capture a function with `function' keyword and without parentheses
2525 like "function FOO" (bug#11856).
2527 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2529 * window.el (split-window-sensibly): Make WINDOW argument
2532 2012-07-18 Chong Yidong <cyd@gnu.org>
2534 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2536 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2537 and make C-x 8 RET exit isearch (Bug#11439).
2539 * international/iso-transl.el: Move isearch-mode-map key
2540 definitions to isearch.el.
2542 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2545 (eieio-defclass): Use gv-define-setter when possible.
2547 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2549 Reflect recent changes in Fgarbage_collect.
2550 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2551 reflect new format of data returned by Fgarbage_collect.
2553 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2555 New utility functions + python-info-ppss-context fix (Bug#11910).
2556 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2557 (python-info-ppss-comment-or-string-p): New functions.
2558 (python-info-ppss-context): Small fix for string check.
2560 2012-07-17 Juri Linkov <juri@jurta.org>
2562 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2563 (dired-do-async-shell-command): Don't add `*' at the end of the
2564 command (Bug#11815).
2565 (dired-do-shell-command): Doc fix.
2566 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2567 Join the individual commands using either "&" or ";" as the
2568 separator depending on the values of these trailing characters.
2569 At the end re-add the trailing "&". (Bug#10598)
2571 * simple.el (async-shell-command): Sync the interactive spec with
2572 `shell-command'. Doc fix.
2573 (shell-command): Doc fix.
2575 2012-07-17 Juri Linkov <juri@jurta.org>
2577 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2579 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2581 Final renames and doc fixes for movement commands (bug#11899).
2582 * progmodes/python.el (python-nav-beginning-of-statement):
2583 Rename from python-nav-statement-start.
2584 (python-nav-end-of-statement): Rename from
2585 python-nav-statement-end.
2586 (python-nav-beginning-of-block): Rename from
2587 python-nav-block-start.
2588 (python-nav-end-of-block): Rename from python-nav-block-end.
2590 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2592 * progmodes/python.el (python-shell-send-string-no-output):
2593 Allow accept-process-output to quit, keeping shell process ready for
2594 future interactions (Bug#11868).
2596 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2598 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2600 * emacs-lisp/elint.el (elint-find-args-in-code):
2601 Use help-function-arglist, so as to handle lexical byte-code.
2603 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2606 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2608 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2609 Avoid spuriously marking the buffer as modified because of c-is-sws.
2611 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2612 as not-a-comment (bug#11946).
2614 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2615 for uninterned vars.
2617 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2618 Use read-event since we don't really want to read chars but bytes.
2620 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2621 $$..$$ but also $..$ using regexps (bug#11953).
2622 Use tex-verbatim for \url and \path.
2623 (tex-font-lock-keywords): Define as defconst like the others.
2624 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2626 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2628 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2629 alias for insert-char.
2631 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2633 * progmodes/python.el: Simplified imenu implementation.
2634 (python-nav-jump-to-defun): Remove command.
2635 (python-mode-map): Use `imenu' instead.
2636 (python-nav-list-defun-positions-cache)
2637 (python-imenu-include-defun-type, python-imenu-make-tree)
2638 (python-imenu-subtree-root-label, python-imenu-index-alist):
2640 (python-nav-list-defun-positions, python-nav-read-defun)
2641 (python-imenu-tree-assoc, python-imenu-make-element-tree)
2642 (python-imenu-make-tree, python-imenu-create-index):
2644 (python-mode): Update to interact with imenu by setting
2645 `imenu-extract-index-name-function' only.
2647 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2649 * progmodes/python.el: Enhancements to navigation commands.
2650 (python-nav-backward-sentence)
2651 (python-nav-forward-sentence): Remove.
2652 (python-nav-backward-statement, python-nav-forward-statement)
2653 (python-nav-statement-start, python-nav-statement-end)
2654 (python-nav-backward-block, python-nav-forward-block)
2655 (python-nav-block-start, python-nav-block-end)
2656 (python-nav-forward-sexp-function)
2657 (python-info-current-line-comment-p)
2658 (python-info-current-line-empty-p): New functions.
2659 (python-indent-context): Use `python-nav-statement-start'.
2661 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
2663 * eshell/em-ls.el (eshell/ls): Use `apply'.
2665 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2666 multi-hops, instead of Tramp internals.
2668 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2670 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2671 when F1 and F2 are located on different hosts.
2673 2012-07-14 Chong Yidong <cyd@gnu.org>
2675 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2676 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2677 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2678 (xterm-mouse--read-event-sequence-1000)
2679 (xterm-mouse--read-event-sequence-1006): New functions. For old
2680 mouse protocol, handle M-mouse-X events correctly.
2681 (xterm-mouse-event): New arg specifying mouse protocol.
2682 (turn-on-xterm-mouse-tracking-on-terminal)
2683 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2684 sequence to toggle extended coordinates on newer XTerms.
2685 This appears to be harmless on terminals which do not support this.
2687 2012-07-14 Leo Liu <sdl.web@gmail.com>
2689 Add fringe bitmap indicators for flymake. (Bug#11253)
2690 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2691 (flymake-make-overlay): New arg BITMAP.
2692 (flymake-error-bitmap, flymake-warning-bitmap)
2693 (flymake-fringe-indicator-position): New user variables.
2695 * fringe.el: New bitmap exclamation-mark.
2697 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2699 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2702 2012-07-14 Chong Yidong <cyd@gnu.org>
2704 * electric.el (electric-pair-post-self-insert-function): Fix pair
2705 insertion in empty-region case (Bug#11520).
2707 2012-07-14 Chong Yidong <cyd@gnu.org>
2709 * bindings.el: Consolidate ctl-x-r-map bindings.
2710 Bind copy-rectangle-as-kill to C-x r w.
2712 * rect.el, register.el: Move bindings to bindings.el.
2714 2012-07-14 Reuben Thomas <rrt@sc3d.org>
2716 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2718 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2720 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2722 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
2724 * bindings.el (top): Use `mapc' instead of `mapcar'.
2726 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2728 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
2730 * progmodes/sql.el (sql-comint): Suppress the check for program on
2731 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2734 2012-07-13 Chong Yidong <cyd@gnu.org>
2736 * bindings.el: Assign a non-nil permanent-local property to
2737 per-buffer variables which lack a default value (Bug#11930).
2739 * help-fns.el (describe-variable): In the "automatically becomes
2740 local" notice, take note of permanent-local variables.
2742 2012-07-13 Chong Yidong <cyd@gnu.org>
2744 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2745 to allow printing the message when called from Lisp.
2747 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2748 Remove toggle-read-only.
2750 * bs.el (bs-toggle-readonly):
2751 * buff-menu.el (Buffer-menu-toggle-read-only):
2752 Remove with-no-warnings around toggle-read-only.
2754 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2755 Remove with-no-warnings around toggle-read-only.
2756 (ffap-read-only, ffap-read-only-other-window)
2757 (ffap-read-only-other-frame): Callers changed.
2759 * help-mode.el: Don't require view package.
2760 (help-mode-finish): Set buffer-read-only instead of calling
2763 * bindings.el (mode-line-toggle-read-only):
2764 * dired.el (dired-toggle-read-only):
2765 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2766 with non-nil second arg.
2768 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2769 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2772 2012-07-12 Eli Zaretskii <eliz@gnu.org>
2774 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2777 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2779 More CL cleanups and reduction of use of cl.el.
2780 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2781 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2782 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2783 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2784 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2785 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2786 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2787 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2788 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2789 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2790 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2791 * eshell/em-cmpl.el, eshell/em-banner.el:
2792 * calendar/parse-time.el: Use cl-lib.
2793 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2794 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2795 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2796 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2797 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2798 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2799 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2800 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2801 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2802 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2803 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2804 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2805 `lambda' rather than with `quote'.
2806 (eshell-do-opt): Adjust accordingly.
2807 (eshell-process-option): Simplify.
2808 * eshell/esh-var.el:
2809 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2810 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2811 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2812 to `pcase--dontcare'.
2813 * emacs-lisp/cl.el (labels): Mark obsolete.
2814 (cl--letf, letf): Move to cl-lib.
2815 (cl--letf*, letf*): Remove.
2816 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2817 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2818 (cl-progv): Rewrite.
2819 (cl--letf, cl-letf): Move from cl.el.
2820 (cl-letf*): New macro.
2821 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2823 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
2825 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2827 2012-07-11 Chong Yidong <cyd@gnu.org>
2829 * vc/log-edit.el (log-edit-vc-backend): New variable.
2830 (log-edit): Doc fix.
2832 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2833 argument of log-edit to set up all local variables.
2834 (vc-start-logentry): New optional arg specifying VC backend.
2836 * vc/vc.el (vc-checkin): Use it.
2837 (vc-deduce-fileset): Handle Log Edit buffers.
2838 (vc-diff): Make first argument optional too.
2840 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2842 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
2844 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2845 command, just in case. The function is not needed anymore.
2846 (eshell-external-command): Do not call `eshell-remote-command'.
2848 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2850 Reduce use of (require 'cl).
2851 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2852 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2853 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2854 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2855 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2856 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2857 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2858 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2859 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2860 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2861 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2862 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2863 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2864 (byte-compile-unfold-bcf, byte-compile-check-variable):
2865 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2866 (byte-compile-nilconstp):
2867 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2868 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2870 * emacs-lisp/gv.el (cond): Make it a valid place.
2871 (if): Simplify slightly.
2873 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2874 (pcase--self-quoting-p): New function.
2875 (pcase--u1): Use it.
2877 2012-07-10 Glenn Morris <rgm@gnu.org>
2879 * emacs-lisp/authors.el (authors-fixed-entries):
2880 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2882 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2884 Rename configure.in to configure.ac (Bug#11603).
2885 * emacs-lisp/authors.el (authors-canonical-file-name):
2886 * progmodes/autoconf.el (autoconf-mode):
2887 Prefer configure.ac to configure.in.
2889 2012-07-08 Chong Yidong <cyd@gnu.org>
2891 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2892 Implement the mouse-1-click-follows-link handling properly.
2894 * info.el (Info-link-keymap): Use follow-link mechanism for
2895 header-line links (Bug#374).
2897 * simple.el (deactivate-mark): Do not set the primary selection
2898 if another program has acquired it (Bug#11772).
2900 2012-07-07 Kevin Ryde <user42@zip.com.au>
2902 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2903 (woman-decode-region): Replace escaped-escapes without destroying
2904 bold or underline (Bug#11552).
2905 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2907 2012-07-07 Chong Yidong <cyd@gnu.org>
2909 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2910 (interprogram-cut-function, interprogram-paste-function):
2911 Mention that we typically mean the clipboard.
2913 2012-07-06 Glenn Morris <rgm@gnu.org>
2915 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2917 * files.el (toggle-read-only): Restrict message to interactive use.
2919 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2921 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2923 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2925 2012-07-06 Glenn Morris <rgm@gnu.org>
2927 * Makefile.in (compile-one-process): Rename from "recompile".
2929 * Makefile.in (bzr-update): "compile" is the same as "recompile
2930 autoloads", but parallelizable, so use that instead.
2932 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2934 * window.el (quit-window): Always restore window height when
2935 it's saved in quit-restore parameter (Bug#11810).
2937 2012-07-06 Glenn Morris <rgm@gnu.org>
2939 * simple.el (kill-whole-line): Doc tweak.
2941 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2943 * files.el (file-relative-name): Compare file names
2944 case-insensitively if on MS-Windows or MS-DOS, or if
2945 read-file-name-completion-ignore-case is non-nil. Don't use
2946 case-fold-search for this purpose. (Bug#11827)
2948 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2950 * calendar/cal-dst.el (calendar-current-time-zone):
2951 Return calendar-current-time-zone-cache if non-nil.
2953 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2954 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2956 * calendar/cal-dst.el (calendar-current-time-zone):
2957 Return calendar-current-time-zone-cache if non-nil.
2959 2012-07-06 Glenn Morris <rgm@gnu.org>
2961 * Makefile.in (cvs-update): Remove old alias.
2963 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2965 Sync with Tramp 2.2.6-pre.
2967 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2968 compatible declaration.
2970 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2971 Protect `list-load-path-shadows' call.
2973 * net/tramp-compat.el (top): Require packages, which aren't
2974 autoloaded anymore for XEmacs. Protect call of
2975 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2976 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2977 it hurts at least for SXEmacs.
2978 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2979 standard-value for `temporary-file-directory'.
2981 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2982 Redirect stderr to /dev/null.
2983 (tramp-sh-handle-write-region): uid and gid can be floats.
2984 Reported by Russell Sim <russell.sim@gmail.com>.
2985 (tramp-sh-handle-vc-registered): Hide errors.
2986 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2987 and `start-file-process'.
2988 (tramp-maybe-open-connection): Check also whether `non-essential'
2991 2012-07-04 Chong Yidong <cyd@gnu.org>
2993 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2994 (xml-parse-tag): Likewise, and avoid changing entity tables.
2995 (xml-syntax-table): Define from scratch, making sure not to give
2996 x2000 and other Unicode spaces whitespace syntax, since those are
2998 (xml-parse-fragment): Delete unused function.
2999 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3000 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3001 (xml-entity-ref, xml-pe-reference-re)
3002 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3003 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3004 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3005 (xml-entity-value-re): Use syntax references in regexps where
3006 possible; no need to define inside a let-binding.
3007 (xml-parse-dtd): Use xml-pe-reference-re.
3008 (xml-entity-or-char-ref-re): New defconst.
3009 (xml-parse-string, xml-substitute-special): Use it.
3011 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3014 (find-file--read-only): New function.
3015 (find-file-read-only, find-file-read-only-other-window)
3016 (find-file-read-only-other-frame): Use it.
3017 (insert-file-contents-literally): Don't `fset'.
3018 (get-free-disk-space): Use locate-dominating-file.
3020 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3021 function is already compiled.
3023 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3025 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3027 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3028 files on the same host.
3030 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3032 * help-fns.el (describe-function-1): Only call
3033 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3035 2012-07-03 Chong Yidong <cyd@gnu.org>
3037 * xml.el: Protect parser against XML bombs.
3038 (xml-entity-expansion-limit): New variable.
3039 (xml-parse-string, xml-substitute-special): Use it.
3040 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3042 2012-07-03 Glenn Morris <rgm@gnu.org>
3044 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3045 Allow linking to specific messages in debbugs reports (eg 123#5).
3047 2012-07-02 Chong Yidong <cyd@gnu.org>
3049 * xml.el: Fix entity and character reference expansion, allowing
3050 them to expand into markup as per XML spec.
3051 (xml-default-ns): New variable.
3052 (xml-entity-alist): Use XML spec definitions for lt and amp.
3053 (xml-parse-region): Make first two arguments optional.
3054 Discard text properties.
3055 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3056 All callers changed.
3057 (xml-parse-tag): Call xml-parse-tag-1. For backward
3058 compatibility, this function should not modify buffer contents.
3059 (xml-parse-tag-1): Fix opening-tag regexp.
3060 (xml-parse-string): Rewrite, handling entity and character
3061 references properly.
3062 (xml--entity-replacement-text): Signal an error if a parameter
3063 entity is undefined.
3065 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3067 * comint.el (comint-output-filter): Filter out repeated prompts.
3069 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3070 and file-name-absolute-p.
3071 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3074 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3077 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3078 Rename from byte-compile--refiy-function. All uses changed.
3080 2012-07-01 Chong Yidong <cyd@gnu.org>
3082 * xml.el (xml--parse-buffer): New function. Move most of
3083 xml-parse-region here.
3084 (xml-parse-region): Copy region into a temporary buffer, since
3085 parameter entity substitution requires changing buffer contents.
3086 Use xml--parse-buffer.
3087 (xml-parse-file): Use xml--parse-buffer.
3088 (xml-parse-dtd): Make parameter entity substitution work right.
3089 Use proper regexps for ELEMENT declarations (Bug#7172).
3091 2012-06-30 Glenn Morris <rgm@gnu.org>
3093 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3095 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3096 Remove outdated and unnecessary dbus declarations.
3098 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3100 * emacs-lisp/timer.el (timer-until): Subtract results of
3101 float-time, instead of taking float-time of the result of
3102 time-subtract, since float-time signals an error for negative time
3105 2012-06-30 Chong Yidong <cyd@gnu.org>
3107 * xml.el (xml-*-re): Convert defvars into defconsts, and
3108 eval-and-compile them so eval-and-compile works on derivatives.
3109 (xml--entity-replacement-text): Use eval-and-comple.
3111 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3113 * vc/vc-git.el (vc-git-registered): Use cache property
3115 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3116 `vc-git-working-revision' in order to benefit from the cache.
3117 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3119 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3121 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3122 removed (likely outside Emacs). (Bug#11757)
3124 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * emacs-lisp/cl-lib.el: Require macroexp.
3128 2012-06-30 Chong Yidong <cyd@gnu.org>
3130 * xml.el: Implement XML parameter entities.
3131 (xml-parameter-entity-alist): New variable.
3132 (xml-parse-region, xml-parse-fragment): Preserve previous values
3133 of xml-entity-alist and xml-parameter-entity-alist, so that
3134 repeated calls on different documents do not change them.
3135 (xml-parse-tag): Fix doctype regexp.
3136 (xml--entity-replacement-text): New function.
3137 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3138 properly requires url retrieval which is unimplemented.
3139 (xml-escape-string): Doc fix.
3141 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3143 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3145 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3147 * fringe.el (fringe-mode): Doc fix.
3149 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3151 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3153 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3154 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3156 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3158 * calendar/cal-dst.el (calendar-current-time-zone):
3159 Return calendar-current-time-zone-cache if non-nil.
3161 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3163 * progmodes/which-func.el (which-func-format):
3164 Add mouse-face. (Bug#11698)
3166 2012-06-29 Leo Liu <sdl.web@gmail.com>
3168 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3170 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * minibuffer.el (minibuffer-confirm-exit-commands):
3173 Add completion-at-point (bug#11725).
3175 2012-06-29 Glenn Morris <rgm@gnu.org>
3177 * progmodes/f90.el (f90-font-lock-keywords-2):
3178 Add some preprocessor elements. (Bug#10499)
3180 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3183 Use syntax-propertize (bug#11739).
3185 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3187 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3189 2012-06-28 Julien Danjou <julien@danjou.info>
3191 * term.el (term-handle-colors-array): Use a set of new faces to
3192 color the terminal. Also uses :inverse-video property.
3193 (term-default-fg-color): Set to nil by default, deprecate in favor
3195 (term-default-bg-color): Set to nil by default, deprecate in favor
3197 (term-current-face): Use `term-face' by default.
3198 (term-bold-attribute): Variable deleted.
3200 2012-06-28 Glenn Morris <rgm@gnu.org>
3202 * simple.el (completion-list-mode-finish):
3203 Don't use toggle-read-only. (Since completion-list-mode has
3204 a special mode-class, it wasn't doing anything extra anyway.)
3206 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3208 Make inlining of other-mode interpreted functions work (bug#11799).
3209 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3210 (byte-compile): Use it to fix compilation of lexical-binding closures.
3211 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3212 function, if needed.
3214 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3216 * help-mode.el (help-make-xrefs): Don't just withstand
3217 cyclic-variable-indirection but any error in documentation-property.
3219 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3221 * bindings.el (bindings--define-key): New function.
3222 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3223 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3224 * bindings.el: Use it to purecopy define-key bindings.
3226 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3228 * emacs-lisp/cl.el (flet): Mark obsolete.
3229 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3230 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3231 * progmodes/js.el (js-c-fill-paragraph):
3232 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3233 (ebrowse-switch-member-buffer-to-derived-class):
3234 * play/5x5.el (5x5-solver): Use cl-flet.
3236 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3237 (cl--symbol-function): New macro.
3238 (cl--letf, cl--letf*): Use it.
3240 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3241 Strip "toggle-" if any.
3243 2012-06-27 Glenn Morris <rgm@gnu.org>
3245 * info.el (Info-default-directory-list): Move here from paths.el.
3246 * paths.el: Remove file, which is now empty.
3247 * loadup.el: No longer load "paths".
3249 * custom.el (custom-initialize-delay): Doc fix.
3251 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3252 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3253 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3254 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3255 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3256 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3257 * eshell/eshell.el (eshell-defgroup): Remove alias.
3259 2012-06-27 Chong Yidong <cyd@gnu.org>
3261 * help.el (help-enable-auto-load): New variable.
3263 * help-fns.el (help-fns--autoloaded-p): New function.
3264 (describe-function-1): Refer to a function as "autoloaded" if it
3265 was autoloaded at any time in the past. Perform autoloading if
3266 help-enable-auto-load is non-nil.
3268 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3270 * makefile.w32-in (compile, compile-always): Depend on
3271 update-subdirs, not on subdirs.el. Otherwise, several different
3272 sub-targets of 'bootstrap' running in parallel could
3273 simultaneously write to subdirs.el, producing a garbled file.
3275 2012-06-26 Sam Steingold <sds@gnu.org>
3277 * files.el (file-name-base): New convenience function.
3278 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3279 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3280 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3281 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3282 * textmodes/ispell.el, textmodes/reftex-ref.el:
3283 * textmodes/tex-mode.el: Use it.
3284 Did not touch cedet and org because they are maintained elsewhere.
3286 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3288 * calendar/calendar.el (calendar-exit): Don't try to delete or
3289 iconify last frame. See:
3290 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3292 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3294 * server.el (server-process-filter): Remember dir in the
3295 process's `server-client-directory' properties.
3297 2012-06-24 Chong Yidong <cyd@gnu.org>
3299 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3302 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3304 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3306 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * help-fns.el (describe-variable): Don't croak when doc is not found.
3309 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3310 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3311 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3312 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3313 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3315 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3317 2012-06-23 Chong Yidong <cyd@gnu.org>
3319 * info.el (Info-mouse-follow-link): Accept symbol values of
3320 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
3321 (Info-fontify-node): Use Info-link-keymap for all navigation
3322 buttons, with link-args property to perform the desired action.
3323 (Info-link-keymap): Doc fix.
3324 (Info-next-link-keymap, Info-prev-link-keymap)
3325 (Info-up-link-keymap): Delete now-unused keymaps.
3327 2012-06-23 Chong Yidong <cyd@gnu.org>
3329 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3331 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3334 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3336 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3341 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3342 the requote function doesn't work properly (bug#11714).
3344 2012-06-23 Glenn Morris <rgm@gnu.org>
3346 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3348 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3350 Further GV/CL cleanups.
3351 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3353 (gv--defun-declaration): New function.
3354 (defun-declarations-alist): Use it.
3355 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3356 (gv-place): Autoload.
3357 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3358 original definition of dotimes and dolist.
3359 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3360 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3361 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3362 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3363 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3364 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3365 to the function's definition.
3366 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3370 * env.el: Don't use CL.
3372 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3374 Support higher-resolution time stamps (Bug#9000).
3376 * calendar/time-date.el (with-decoded-time-value): New arg
3377 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3378 (encode-time-value): New optional arg PICO. New type 3.
3379 (time-to-seconds) [!float-time]: Support the new picoseconds
3380 component if it's used.
3381 (seconds-to-time, time-subtract, time-add):
3382 Support ps-resolution time stamps as well.
3384 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3385 (timerp): Timer vectors now have length 9, not 8.
3386 (timer--time): Support new-style (4-part) time stamps.
3387 (timer-next-integral-multiple-of-time): Time stamps now have
3388 picosecond resolution, so take a bit more care about rounding.
3389 (timer-relative-time, timer-inc-time): New optional arg psecs.
3390 (timer-set-time-with-usecs): Set psecs to 0.
3391 (timer--activate): Check psecs component, too.
3393 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3395 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3397 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3398 Move the non-essential binding to the post/pre-command-hook where it is
3399 more obviously correct.
3401 * subr.el (read-passwd): Don't use a history at all.
3402 * savehist.el (savehist-save): Remove password saved accidentally
3403 because of the above bug.
3405 2012-06-22 Bastien Guerry <bzg@gnu.org>
3407 * files.el (toggle-read-only): Display a message telling whether
3408 the buffer is read-only or not (bug#11726).
3410 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3412 * emacs-lisp/gv.el: New file.
3413 * subr.el (push, pop): Extend to generalized variables.
3414 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3415 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3416 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3417 gv-define-simple-setter, and gv-define-expander.
3418 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3419 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3420 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3421 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3422 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3424 (cl-defstruct): Don't define setf-method any more.
3425 * emacs-lisp/cl.el (flet): Don't autoload.
3426 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3427 (define-setf-expander, defsetf, define-modify-macro)
3428 (cl-struct-setf-expander): Move from cl-lib.el.
3429 * emacs-lisp/syntax.el:
3430 * emacs-lisp/ewoc.el:
3431 * emacs-lisp/smie.el:
3432 * emacs-lisp/cconv.el:
3433 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3434 (timer--time): Use gv-define-simple-setter.
3435 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3436 to avoid coding-system problems in subr.el. Adjust all users.
3437 (macroexp--maxsize, macroexp-small-p): New functions.
3438 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3439 * scroll-bar.el (scroll-bar-mode):
3440 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3441 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3442 * winner.el (winner-configuration, winner-make-point-alist)
3443 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3444 * files.el (locate-file-completion-table): Avoid list*.
3446 2012-06-22 Chong Yidong <cyd@gnu.org>
3448 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3449 (dired-create-files): Doc fix (Bug#11329).
3450 (dired-do-copy): Doc fix (Bug#11334).
3451 (dired-mark-read-string): Doc fix (Bug#11553).
3453 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3454 Doc fix (Bug#11326).
3455 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3456 (dired-dwim-target): Doc fix.
3458 * wdired.el (wdired-mode): Doc fix.
3460 2012-06-22 Glenn Morris <rgm@gnu.org>
3462 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3463 (pcmpl-rpm-cache-stamp-file): New constant.
3464 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3465 (pcmpl-rpm-packages): Optionally cache list of packages.
3467 * pcmpl-rpm.el (pcmpl-rpm): New group.
3468 (pcmpl-rpm-query-options): New option.
3469 (pcmpl-rpm-packages): No need to inline it.
3470 Use pcmpl-rpm-query-options.
3472 * calendar/calendar.el (calendar-in-read-only-buffer):
3473 Avoid some needless mode changes.
3475 2012-06-21 Chong Yidong <cyd@gnu.org>
3477 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3478 (desktop-path): Remove . from the default value (Bug#10977).
3479 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3481 2012-06-20 Chong Yidong <cyd@gnu.org>
3483 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3485 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3487 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3490 2012-06-20 Chong Yidong <cyd@gnu.org>
3492 * term.el (term-window-width): Handle the case of a missing right
3494 (term-check-size): Use window-text-height (Bug#5445).
3495 (term-mode): Use define-derived-mode. Minor cleanups.
3496 Set font-lock-defaults (Bug#7692).
3497 (term-move-columns, term-insert-char, term-emulate-terminal)
3498 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3500 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
3502 * net/ange-ftp.el (ange-ftp-get-passwd):
3503 Bind `enable-recursive-minibuffers'.
3504 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3506 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3508 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3510 2012-06-19 Glenn Morris <rgm@gnu.org>
3512 * progmodes/python.el (python-mode): Derive from prog-mode.
3514 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3516 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3517 (edt-user-menu-bar-update-buffers): New functions.
3518 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3520 2012-06-19 Chong Yidong <cyd@gnu.org>
3522 * subr.el (with-selected-window): Preserve the selected window's
3523 terminal's top-frame (Bug#4702).
3525 * window.el (save-selected-window): Likewise.
3527 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * progmodes/python.el (python-rx-constituents): Move backquote.
3530 (python-skeleton-define, python-define-auxiliary-skeleton):
3533 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
3535 * minibuffer.el (read-file-name-default): Revert the patch from
3538 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3540 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3541 (pcase--u1, pcase--q1): Don't use apply-partially.
3543 2012-06-18 Glenn Morris <rgm@gnu.org>
3545 * progmodes/python.el (python-proc, python-buffer)
3546 (python-send-receive, python-send-string): Fix obsolete versions.
3548 2012-06-18 Martin Rudalics <rudalics@gmx.at>
3550 * window.el (special-display-p): Completely remove stringp
3551 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3553 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
3555 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3557 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3559 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3560 * net/tramp-sh.el (tramp-maybe-open-connection):
3561 Throw if `non-essential' is non-nil.
3563 2012-06-17 Martin Rudalics <rudalics@gmx.at>
3565 * window.el (special-display-p): Signal an error if BUFFER-NAME
3566 is not a string (Bug#11713).
3568 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3570 * progmodes/python.el (python-info-beginning-of-backslash):
3571 Rename from python-info-beginning-of-backlash, as a spelling fix.
3573 2012-06-17 Chong Yidong <cyd@gnu.org>
3575 * term.el (term-emulate-terminal): If term-check-size is called,
3576 move point to the process mark without resetting point (Bug#4635).
3578 2012-06-17 Glenn Morris <rgm@gnu.org>
3580 * international/mule-cmds.el (mule-menu-keymap)
3581 (set-language-environment, set-locale-environment): Doc tweaks.
3583 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3585 * cus-face.el (custom-face-attributes): Add wave-style underline
3587 * faces.el (set-face-attribute): Update docstring to describe
3588 wave-style underline attribute.
3590 2012-06-16 Chong Yidong <cyd@gnu.org>
3592 * term/xterm.el (terminal-init-xterm): Discard input before
3593 querying background mode (Bug#10959).
3595 2012-06-16 Stefan Merten <smerten@oekonux.de>
3597 * textmodes/rst.el: Added and corrected some comments.
3598 (rst-re-alist-def): Improve symbol syntax.
3599 (rst-mode-syntax-table): Correct syntax entries.
3600 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3601 (rst-official-version, rst-official-cvs-rev): Update version
3604 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
3606 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3607 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3609 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3611 * progmodes/python.el: New python.el merge.
3612 (python-guess-indent): Obsolete var.
3613 (python-indent-guess-indent-offset): New defcustom.
3614 (python-indent): Obsolete var.
3615 (python-indent-offset): New defcustom.
3616 (python-python-command, python-jython-command): Delete var.
3617 (python-shell-interpreter): New defcustom.
3618 (python-pdbtrack-do-tracking-p): Delete var.
3619 (python-pdbtrack-activate): New defcustom.
3620 (python-use-skeletons): Obsolete var.
3621 (python-skeleton-autoinsert): New defcustom.
3622 (inferior-python-filter-regexp, python-continuation-offset)
3623 (python-honour-comment-indentation, python-indent-string-contents)
3624 (python-jython-packages, python-mode-hook)
3625 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3626 (python-shell-prompt-alist)
3627 (python-source-modes): Delete defcustoms.
3628 (python-check-buffer-name, python-eldoc-setup-code)
3629 (python-eldoc-string-code, python-ffap-setup-code)
3630 (python-ffap-string-code, python-fill-comment-function)
3631 (python-fill-decorator-function, python-fill-paren-function)
3632 (python-fill-string-function, python-imenu-include-defun-type)
3633 (python-imenu-make-tree, python-imenu-subtree-root-label)
3634 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3635 (python-shell-compilation-regexp-alist)
3636 (python-shell-completion-module-string-code)
3637 (python-shell-completion-pdb-string-code)
3638 (python-shell-completion-setup-code)
3639 (python-shell-completion-string-code)
3640 (python-shell-enable-font-lock, python-shell-exec-path)
3641 (python-shell-extra-pythonpaths)
3642 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3643 (python-shell-process-environment)
3644 (python-shell-prompt-block-regexp)
3645 (python-shell-prompt-output-regexp)
3646 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3647 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3648 (python-shell-virtualenv-path): New defcustoms.
3649 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3650 (inferior-python-mode-syntax-table, python--prompt-regexp)
3651 (python-buffer, python-command python-python-command)
3652 (python-default-template, python-imports, python-indent-index)
3653 (python-indent-list, python-indent-list-length)
3654 (python-mode-running, python-pdbtrack-is-tracking-p)
3655 (python-preoutput-continuation, python-preoutput-leftover)
3656 (python-preoutput-result, python-preoutput-skip-next-prompt)
3657 (python-prev-dir/file, python-recursing)
3658 (python-saved-check-command, python-version-checked)
3659 (python-which-func-length-limit)
3660 (view-return-to-alist): Delete vars.
3661 (python-check-custom-command, python-dotty-syntax-table)
3662 (python-imenu-index-alist, python-indent-current-level)
3663 (python-indent-dedenters, python-indent-levels)
3664 (python-nav-beginning-of-defun-regexp)
3665 (python-nav-list-defun-positions-cache)
3666 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3667 (python-shell-internal-buffer)
3668 (python-skeleton-available): New vars.
3669 (def-python-skeleton): Delete macro.
3670 (python-skeleton-define): New macro.
3671 (python-define-auxiliary-skeleton, python-rx): New macros.
3672 (python-insert-class): Delete command.
3673 (python-skeleton-class): New command.
3674 (python-insert-def): Delete command.
3675 (python-skeleton-def): New command.
3676 (python-insert-for): Delete command.
3677 (python-skeleton-for): New command.
3678 (python-insert-if): Delete command.
3679 (python-skeleton-if): New command.
3680 (python-insert-try/except, python-insert-try/finally): Delete commands.
3681 (python-skeleton-try): New command.
3682 (python-insert-while): Delete command.
3683 (python-skeleton-while): New command.
3684 (python-backspace): Delete command.
3685 (python-indent-dedent-line-backspace): New command.
3686 (python-electric-colon): Delete command.
3687 (python-indent-electric-colon): New command.
3688 (python-guess-indent): Delete command.
3689 (python-indent-guess-indent-offset): New command.
3690 (python-shift-left): Delete command.
3691 (python-indent-shift-left): New command.
3692 (python-shift-right): Delete command.
3693 (python-indent-shift-right): New command.
3694 (python-find-function): Delete command.
3695 (python-nav-jump-to-defun): New command.
3696 (python-next-statement): Delete command.
3697 (python-nav-forward-sentence): New command.
3698 (python-previous-statement): Delete command.
3699 (python-nav-backward-sentence): New command.
3700 (python-fill-paragraph): Delete command.
3701 (python-fill-paragraph-function): New command.
3702 (python-send-buffer): Delete command.
3703 (python-shell-send-buffer): New command.
3704 (python-send-defun): Delete command.
3705 (python-shell-send-defun): New command.
3706 (python-send-region, python-send-region-and-go): Delete commands.
3707 (python-shell-send-region)
3708 (python-shell-switch-to-shell): New commands.
3709 (python-send-string): Delete command.
3710 (python-shell-send-string): New command.
3711 (python-switch-to-python): Delete command.
3712 (python-shell-switch-to-shell): New command.
3713 (python-describe-symbol): Delete command.
3714 (python-eldoc-at-point): New command.
3715 (python--set-prompt-regexp, python-args-to-list)
3716 (python-after-info-look, python-check-version)
3717 (python-check-comint-prompt, python-find-imports)
3718 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3719 (python-unload-function, python-expand-template)
3720 (python-maybe-jython, python-preoutput-filter)
3721 (python-pdbtrack-get-source-buffer)
3722 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3723 (python-pdbtrack-toggle-stack-tracking)
3724 (python-pdbtrack-track-stack-file, python-initial-text)
3725 (python-first-word, python-comment-line-p, python-send-command)
3726 (python-setup-brm, python-sentinel, python-set-proc)
3727 (python-skip-out, python-input-filter, python-outdent-p)
3728 (python-outline-level, python-backslash-continuation-line-p)
3729 (python-end-of-block, python-end-of-statement, python-mark-block)
3730 (python-beginning-of-block, python-beginning-of-statement)
3731 (python-blank-line-p, python-beginning-of-string)
3732 (python-open-block-statement-p): Delete functions.
3733 (python-indent-line, python-indent-line-1): Delete functions.
3734 (python-indent-line): New function.
3735 (python-indentation-levels): Delete function.
3736 (python-indent-calculate-levels): New function.
3737 (python-proc): Delete function.
3738 (python-shell-get-process): New function.
3739 (python-send-receive): Delete function.
3740 (python-shell-send-string-no-output): New function.
3741 (python-module-path): Delete function.
3742 (python-ffap-module-path): New function.
3743 (python-completion-at-point)
3744 (python-symbol-completions): Delete functions.
3745 (python-completion-complete-at-point): New function.
3746 (python-load-file): Delete function.
3747 (python-shell-send-file): New function.
3748 (python-calculate-indentation): Delete function.
3749 (python-indent-calculate-indentation): New function.
3750 (python-skip-comments/blanks): Delete function.
3751 (python-util-forward-comment): New function.
3752 (python-continuation-line-p): Delete function.
3753 (python-info-continuation-line-p): New function.
3754 (python-which-func, python-current-defun): Delete function.
3755 (python-info-current-defun): New function.
3756 (python-beginning-of-defun): Delete function.
3757 (python-nav-beginning-of-defun): New function.
3758 (python-close-block-statement-p)
3759 (python-block-end-p): Delete function.
3760 (python-info-closing-block): New function.
3761 (python-comint-output-filter-function)
3762 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3763 (python-fill-comment, python-fill-decorator, python-fill-paren)
3764 (python-fill-string, python-imenu-make-element-tree)
3765 (python-imenu-make-tree, python-imenu-tree-assoc)
3766 (python-indent-context, python-indent-dedent-line)
3767 (python-indent-line-function)
3768 (python-indent-post-self-insert-function)
3769 (python-indent-toggle-levels)
3770 (python-info-assignment-continuation-line-p)
3771 (python-info-beginning-of-backlash)
3772 (python-info-block-continuation-line-p)
3773 (python-info-closing-block-message)
3774 (python-info-line-ends-backslash-p)
3775 (python-info-looking-at-beginning-of-defun)
3776 (python-info-ppss-context, python-info-ppss-context-type)
3777 (python-nav-list-defun-positions, python-nav-read-defun)
3778 (python-nav-sentence-end, python-nav-sentence-start)
3779 (python-pdbtrack-comint-output-filter-function)
3780 (python-pdbtrack-set-tracked-buffer)
3781 (python-shell-calculate-exec-path)
3782 (python-shell-calculate-process-environment)
3783 (python-shell-completion--do-completion-at-point)
3784 (python-shell-completion--get-completions)
3785 (python-shell-completion-complete-at-point)
3786 (python-shell-completion-complete-or-indent)
3787 (python-shell-get-or-create-process)
3788 (python-shell-get-process-name)
3789 (python-shell-internal-get-or-create-process)
3790 (python-shell-internal-get-process-name)
3791 (python-shell-internal-send-string, python-shell-make-comint)
3792 (python-shell-parse-command, python-shell-send-setup-code)
3793 (python-skeleton-add-menu-items)
3794 (python-util-clone-local-variables, python-util-position)
3795 (run-python-internal, python-indentation-levels)
3796 (python-nav-beginning-of-defun)
3797 (python-completion-complete-at-point): New functions.
3798 (run-python): Change arguments. New API requirements.
3800 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3805 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3806 (macroexp--expand-all): Use it.
3808 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3809 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3810 Use `cl-function' instead.
3812 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
3814 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3815 Suggested by Stefan Monnier while discussing bug#11657.
3817 2012-06-14 Sam Steingold <sds@gnu.org>
3819 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3821 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3823 * play/doctor.el (doctor-doc): Remove parameter and use
3824 doctor-sent instead of sent.
3825 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3827 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * files.el: Require cl-lib.
3830 (file-name-non-special): Replace case -> cl-case.
3832 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3834 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3835 mapping from #' to function*.
3837 2012-06-13 Chong Yidong <cyd@gnu.org>
3839 * mouse.el (mouse-drag-track): Do not set the mark if the user
3840 releases the mouse without selecting anything (Bug#11588).
3842 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3845 as well (bug#11646).
3847 * loadup.el: Count byte-code functions as well.
3849 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3850 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3852 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3853 (bug#11649). Add cl-defun and cl-defmacro.
3855 2012-06-13 Drew Adams <drew.adams@oracle.com>
3857 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3860 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3862 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3863 Otherwise, it blocks in batch mode.
3865 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3867 * help-mode.el (bookmark-make-record-default): Declare.
3869 2012-06-13 Chong Yidong <cyd@gnu.org>
3871 * emacs-lisp/package.el (list-packages): Compute a list of
3872 packages that are newly-available since the last list-packages
3874 (package-menu--new-package-list): New var.
3875 (package-menu--generate, package-menu--print-info)
3876 (package-menu--status-predicate, package-menu-mark-install):
3877 Handle new status label "new".
3879 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3881 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3882 conversion to backquotes.
3884 2012-06-12 Chong Yidong <cyd@gnu.org>
3886 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3887 Rename from gud-inhibit-global-bindings.
3889 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3891 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3892 hook from nxml-glyph-set-hook.
3894 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3897 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3899 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3900 Convert to defcustom.
3902 2012-06-12 Drew Adams <drew.adams@oracle.com>
3904 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3906 (help-mode): Use them.
3908 2012-06-11 Glenn Morris <rgm@gnu.org>
3910 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3911 Use preprocessor face for directives.
3912 (fortran-directive-re): Doc fix.
3914 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3917 conversion to backquotes (bug#11652).
3919 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3920 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3921 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3922 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3923 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3924 (cl-ninth, cl-tenth): Mark them as inlinable.
3925 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3926 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3927 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3928 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3929 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3930 (cl-list*, cl-adjoin): Don't put an autoload manually.
3931 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3932 (cl--compiler-macro-list*): Add autoload cookie.
3933 (cl--compiler-macro-cXXr): New function.
3935 * help-fns.el (help-fns--compiler-macro): New function extracted from
3936 describe-function-1; follow aliases and use `compiler-macro' property.
3937 (describe-function-1): Use it.
3939 2012-06-11 Chong Yidong <cyd@gnu.org>
3941 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3942 is uninstalled, if imagemagick is installed.
3944 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * emacs-lisp/cl-lib.el: Use lexical-binding.
3947 (cl-map-extents, cl-maclisp-member): Remove.
3948 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3949 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3950 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3951 * emacs-lisp/cl-extra.el: Use lexical-binding.
3952 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3953 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3954 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3955 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3956 * emacs-lisp/cl-seq.el: Use lexical-binding.
3957 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3958 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3959 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3960 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3961 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3964 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3966 Sync with Tramp 2.2.6-pre.
3968 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3969 `print-length' and `print-level' to nil, in order to avoid
3970 truncation. Reported by Christopher Schmidt
3971 <christopher@ristopher.com>.
3973 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3975 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3977 (tramp-compat-copy-directory): Add optional argument
3978 COPY-CONTENTS. It is not handled yet.
3980 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3981 (tramp-ftp-file-name-p): Simplify.
3983 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3984 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3987 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3988 (tramp-methods): Do not use `tramp-password-end-of-line'.
3989 (tramp-completion-function-alist-putty): Handle UNIX case.
3990 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3991 (tramp-do-file-attributes-with-stat)
3992 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3993 gid as real numbers. They could run out of integer range on cygwin.
3994 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3995 (tramp-sh-handle-expand-file-name): Handle hops.
3996 (tramp-open-connection-setup-interactive-shell):
3997 Use `tramp-cleanup'. Move check for busyboxes ...
3998 (tramp-find-shell): ... here. Simplify implementation.
3999 Set "remote-shell" property also for alternative shells.
4000 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4001 If failing, a regular file would be written otherwise.
4002 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4003 (tramp-find-inline-encoding): Cache the coding commands in the
4004 process cache. Apply test command on the remote side, if defined.
4005 (tramp-find-inline-compress): Cache the compress commands in the
4007 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4008 when requested. Handle hops.
4009 (tramp-current-connection): New defvar.
4010 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4011 Throw `suppress', if there was a failed connection shortly before.
4012 Handle user interrupt. (Bug#10187)
4013 (tramp-get-inline-compress, tramp-get-inline-coding):
4014 Read connection properties from the process cache.
4016 * net/tramp-smb.el (tramp-smb-server-version)
4017 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4019 (tramp-smb-prompt): Extend for powershell prompt.
4020 (tramp-smb-file-name-handler-alist): Add handlers for
4021 `process-file', `shell-command' and `start-file-process'.
4022 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4023 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4024 (tramp-smb-file-name-p): Simplify.
4025 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4026 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4027 (tramp-smb-shell-quote-argument): New defuns.
4028 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4029 Implement using "tar". By this, time-stamps are preserved.
4030 (tramp-smb-handle-copy-file): Handle also the case of directories.
4031 (tramp-smb-do-file-attributes-with-stat)
4032 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4033 Use `tramp-get-connection-buffer').
4034 (tramp-smb-handle-rename-file): Use "rename", when source and
4035 target are on the same share.
4036 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4037 Use `tramp-smb-server-version'.
4038 (tramp-smb-wait-for-output): Remove prompt.
4040 * net/tramp.el (top): Require 'cl.
4041 (tramp-methods, tramp-rsh-end-of-line):
4042 Remove `tramp-password-end-of-line' from docstring.
4043 (tramp-save-ad-hoc-proxies): New defcustom.
4044 (tramp-completion-function-alist): Adapt docstring.
4045 (tramp-default-password-end-of-line): Remove defcustom.
4046 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4047 (tramp-user-regexp, tramp-file-name-regexp-unified)
4048 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4049 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4050 (tramp-remote-file-name-spec-regexp): New defconst.
4051 (tramp-file-name-structure): Extend structure for hops.
4052 (tramp-get-method-parameter): Move up.
4053 (tramp-file-name-p, tramp-dissect-file-name)
4054 (with-parsed-tramp-file-name): Handle hops.
4055 (tramp-file-name-hop): New defun.
4056 (tramp-make-tramp-file-name): New optional arg HOP.
4057 (tramp-message-show-progress-reporter-message): New defvar.
4058 (tramp-with-progress-reporter): Use it. We cannot use
4059 `tramp-message-show-message' here, because this suppresses also
4061 (tramp-error-with-buffer): Suppress buffer view, if
4062 `tramp-message-show-message' is nil.
4063 Use `tramp-get-connection-buffer'.
4064 (tramp-cleanup): New defun.
4065 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4066 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4068 (tramp-completion-handle-file-name-all-completions): Handle hops.
4069 Fix an error when called from ido.
4070 (tramp-completion-dissect-file-name): Use better local variable
4071 name. Add hop to the vector.
4072 (tramp-handle-insert-file-contents): Use progress-reporter for the
4074 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4076 (tramp-check-for-regexp): Simplify search.
4077 (tramp-enter-password): Remove it. Move implementation ...
4078 (tramp-action-password): ... here.
4079 (tramp-mode-string-to-int, tramp-local-host-p)
4080 (tramp-make-tramp-temp-file, tramp-read-passwd)
4081 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4082 Set tramp-autoload cookie.
4084 * net/trampver.el: Update release number.
4086 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4087 Michael Albinus <michael.albinus@gmx.de>
4089 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4090 (tramp-parse-group, tramp-parse-file)
4091 (tramp-parse-shostkeys-sknownhosts): New defuns.
4092 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4093 (tramp-parse-shosts-group, tramp-parse-sconfig)
4094 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4095 (tramp-parse-sknownhosts, tramp-parse-hosts)
4096 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4098 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4099 (tramp-parse-putty-group): Don't narrow.
4100 (tramp-parse-putty): Make a loop.
4101 (tramp-file-name-handler): Catch the `suppress' signal.
4103 2012-06-11 Chong Yidong <cyd@gnu.org>
4105 * image.el (imagemagick-register-types): Put the ImageMagick entry
4106 at the end of image-type-file-name-regexps.
4108 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4110 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4111 (pcase, pcase-let*, pcase-dolist): Use them.
4113 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * emacs-lisp/pcase.el (pcase--let*): New function.
4116 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4117 (pcase--expand): Use macroexp-let².
4119 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4121 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4122 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4123 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4124 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4125 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4126 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4128 2012-06-10 Glenn Morris <rgm@gnu.org>
4130 * mail/rmail.el (rmail-yank-current-message): Leave point at
4131 correct position. (Bug#11660)
4133 2012-06-10 Chong Yidong <cyd@gnu.org>
4135 * allout-widgets.el: Fix code header.
4137 2012-06-10 Chong Yidong <cyd@gnu.org>
4139 * cus-edit.el (customize-changed-options-previous-release):
4142 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4144 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4146 2012-06-09 Chong Yidong <cyd@gnu.org>
4148 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4150 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4152 * window.el (special-display-popup-frame): Don't use
4153 window--display-buffer (Bug#11651).
4155 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4157 Fix parallel builds: make sure loaddefs.el is not being written
4158 while Lisp files are compiled.
4159 (compile): Don't depend on 'mh-autoloads'.
4160 (compile-CMD, compile-SH): Depend on 'autoloads'.
4161 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4163 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4165 2012-06-09 Chong Yidong <cyd@gnu.org>
4167 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4168 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4169 Doc fixes (Bug#11225).
4171 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4174 a function if there's a clear indication that it has a compiler-macro.
4175 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4176 (macro-declarations-alist): Add arglist to declaration functions.
4177 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4178 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4179 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4180 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4181 Also add autoload to find the compiler macro.
4182 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4183 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4184 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4185 (cl--compiler-macro-get): New functions, replacing calls to
4186 cl-define-compiler-macro.
4187 (cl-typep) [compiler-macro]: Use macroexp-let².
4189 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4191 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4192 string properly, fixes Bug#11473.
4194 2012-06-08 Chong Yidong <cyd@gnu.org>
4196 * faces.el (set-face-attribute): Doc fix.
4197 (modify-face): Don't use :bold and :italic.
4198 (error, warning, success): Tweak definitions.
4200 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4201 (custom-modified, custom-set, custom-changed, custom-themed)
4202 (custom-saved, custom-button, custom-button-mouse)
4203 (custom-button-pressed, custom-state, custom-comment-tag)
4204 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4205 (custom-group-subtitle): Use new-style face specs.
4206 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4207 (custom-set-face, custom-changed-face, custom-saved-face)
4208 (custom-button-face, custom-button-pressed-face)
4209 (custom-documentation-face, custom-state-face)
4210 (custom-comment-face, custom-comment-tag-face)
4211 (custom-variable-tag-face, custom-variable-button-face)
4212 (custom-face-tag-face, custom-group-tag-face-1)
4213 (custom-group-tag-face): Remove obsolete face alias.
4215 * epa.el (epa-validity-high, epa-validity-medium)
4216 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4217 (epa-field-name, epa-field-body):
4218 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4219 (font-lock-keyword-face, font-lock-builtin-face)
4220 (font-lock-function-name-face, font-lock-variable-name-face)
4221 (font-lock-type-face, font-lock-constant-face):
4222 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4223 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4224 * speedbar.el (speedbar-button-face, speedbar-file-face)
4225 (speedbar-directory-face, speedbar-tag-face)
4226 (speedbar-selected-face, speedbar-highlight-face)
4227 (speedbar-separator-face):
4228 * whitespace.el (whitespace-newline, whitespace-space)
4229 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4230 (whitespace-line, whitespace-space-before-tab)
4231 (whitespace-space-after-tab, whitespace-indentation)
4233 * emulation/cua-base.el (cua-global-mark):
4234 * eshell/em-prompt.el (eshell-prompt):
4235 * net/newst-plainview.el (newsticker-new-item-face)
4236 (newsticker-old-item-face, newsticker-immortal-item-face)
4237 (newsticker-obsolete-item-face, newsticker-date-face)
4238 (newsticker-statistics-face, newsticker-default-face):
4239 * net/newst-reader.el (newsticker-feed-face)
4240 (newsticker-extra-face, newsticker-enclosure-face):
4241 * net/newst-treeview.el (newsticker-treeview-face)
4242 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4243 (newsticker-treeview-immortal-face)
4244 (newsticker-treeview-obsolete-face)
4245 (newsticker-treeview-selection-face):
4246 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4247 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4248 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4249 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4250 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4251 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4252 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4254 * progmodes/vera-mode.el (vera-font-lock-number)
4255 (vera-font-lock-function, vera-font-lock-interface):
4256 * textmodes/table.el (table-cell): Use new-style face specs, and
4257 don't use the old :bold and :italic attributes.
4259 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4260 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4261 (ebrowse-member-class, ebrowse-progress): Likewise.
4262 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4263 (ebrowse-file-name-face, ebrowse-default-face)
4264 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4265 (ebrowse-progress-face): Remove obsolete faces.
4267 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4268 Inherit from error and warning faces respectively.
4270 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4272 (flyspell-incorrect-face, flyspell-duplicate-face):
4273 Remove obsolete aliases.
4275 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4277 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4280 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * startup.el (argv, argi): Make lexically scoped.
4283 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4284 * emacs-lisp/cl-macs.el: Use lexical-binding.
4285 Rename cl-bind-* to cl--bind-*.
4286 * files.el: Don't require `cl' since it doesn't use it.
4287 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4289 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4291 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4292 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4293 instead of calling external sort utility.
4294 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4296 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4298 * descr-text.el (describe-char): Mention how to insert the
4299 character, if the current input method doesn't support it.
4300 See the discussion in this thread for the details:
4301 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4303 2012-06-08 Sam Steingold <sds@gnu.org>
4305 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4306 XF86Back to previous-buffer.
4307 (minibuffer-local-map): Bind them to next-history-element and
4308 previous-history-element respectively.
4309 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4310 help-go-back respectively.
4311 * info.el (Info-mode-map): Bind them to Info-history-forward and
4312 Info-history-back respectively.
4313 These are the keys next to Up on the ThinkPad keyboard.
4315 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4317 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4318 * emacs-lisp/cl-macs.el: Provide itself.
4319 (cl--labels-convert-cache): New var.
4320 (cl--labels-convert): New function.
4321 (cl-flet, cl-labels): New implementation with new semantics, relying on
4323 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4324 (cl-closure-vars, cl--function-convert-cache)
4325 (cl--function-convert): Move from cl-macs.el.
4326 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4327 rename by removing the "cl-" prefix.
4328 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4330 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4333 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4334 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4335 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4336 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4337 (cl-hash-table-count): Add old compatibility aliases.
4339 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4340 Use macroexpand-all-environment instead.
4341 (cl--old-macroexpand): New var.
4342 (cl--sm-macroexpand): New function.
4343 (cl-symbol-macrolet): Use it during macro expansion.
4344 (cl--function-convert-cache): New var.
4345 (cl--function-convert): New function, extracted from
4347 (cl-lexical-let): Use it.
4349 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4350 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4351 (cl-member): Remove old alias.
4353 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4354 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4355 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4356 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4357 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4358 (cl-macroexpand-cmacs): Remove var.
4359 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4360 Use macroexpand-all instead.
4362 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4365 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4366 (macroexp-copyable-p): New functions and macros.
4367 * emacs-lisp/edebug.el (edebug-unwrap):
4368 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4369 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4370 (pcase--let*): Remove.
4371 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4372 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4373 macroexp-const-p instead.
4374 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4376 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4377 instead of "cl-" for internal definitions. Use macroexp-const-p.
4378 (cl-old-bc-file-form): Remove var.
4379 (cl-const-exprs-p): Remove fun.
4380 (cl-labels, cl-macrolet): Use backquote.
4381 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4382 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4383 (cl-define-setf-expander): Rename from cl-define-setf-method.
4384 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4386 * international/mule-cmds.el: Don't require CL.
4387 (view-hello-file): Don't use `letf'.
4389 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * tmm.el (tmm-prompt): Use string-prefix-p.
4392 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4393 (tmm-add-prompt): Use minibuffer-completion-help.
4394 (tmm-delete-map): Remove.
4396 * subr.el (kbd): Make it its own function.
4398 2012-06-07 Stefan Merten <smerten@oekonux.de>
4400 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4401 Silence compiler warnings. Fix versions.
4402 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4403 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4404 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4405 (rst-package-emacs-version-alist): Correct Emacs version to
4406 represent major merge with upstream.
4407 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4409 2012-06-06 Glenn Morris <rgm@gnu.org>
4411 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4412 Only print environment variables if set.
4414 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4416 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4417 (macroexp--cons): Rename from maybe-cons.
4418 (macroexp--accumulate): Rename from macroexp-accumulate.
4419 (macroexp--all-forms): Rename from macroexpand-all-forms.
4420 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4421 (macroexp--expand-all): Rename from macroexpand-all-1.
4423 2012-06-06 Sam Steingold <sds@gnu.org>
4425 * calendar/calendar.el (calendar-in-read-only-buffer):
4426 Call `special-mode' to enable the standard read-only keybindings.
4428 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4431 with "loading" messages (bug#11635).
4433 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
4435 * files.el (enable-remote-dir-locals): New option.
4436 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4438 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4439 Ensure, that the temp directory is local.
4441 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4442 `temporary-file-directory'.
4444 * progmodes/python.el (python-send-region): Ensure, that the
4445 temporary file is created also in the remote case.
4447 2012-06-06 Glenn Morris <rgm@gnu.org>
4449 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4450 (vc-rcs-update-changelog): Use it.
4452 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4454 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4455 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4456 (vc-sccs-diff): Replace use of the external vcdiff script.
4458 2012-06-05 Glenn Morris <rgm@gnu.org>
4460 * ledit.el: Move to obsolete/.
4462 2012-06-05 Sam Steingold <sds@gnu.org>
4464 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4467 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * emacs-lisp/cust-print.el: Move to obsolete.
4471 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4472 compiler-macro expansion.
4474 Add native compiler-macro support.
4475 * emacs-lisp/macroexp.el (macroexpand-all-1):
4476 Support compiler-macros directly. Properly follow aliases and apply
4477 the compiler macros more thoroughly.
4478 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4479 macroexpand now properly follows aliases.
4480 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4481 (cl-compiler-macroexpand): Use new prop.
4482 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4484 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4486 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4488 * window.el (get-lru-window, get-mru-window, get-largest-window):
4489 New argument NOT-SELECTED to avoid picking the selected window.
4490 (window--display-buffer-1, window--display-buffer-2): Replace by
4491 new function window--display-buffer
4492 (display-buffer-same-window, display-buffer-reuse-window)
4493 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4494 Use window--display-buffer.
4495 (display-buffer-use-some-window): Remove temporary dedication
4496 hack by calling get-lru-window and get-largest-window with
4497 NOT-SELECTED argument non-nil. Call window--display-buffer.
4499 2012-06-05 Glenn Morris <rgm@gnu.org>
4501 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4502 Replace external vcdiff script.
4504 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4508 2012-06-04 Chong Yidong <cyd@gnu.org>
4510 * image.el (imagemagick-types-inhibit): Revert last change.
4512 (imagemagick-enabled-types): Remove CIN and EPS*.
4514 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * emacs-lisp/cl-lib.el: Rename from cl.el.
4517 * emacs-lisp/cl.el: New compatibility file.
4518 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4519 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4520 to obey the "cl-" prefix.
4521 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4523 2012-06-03 Glenn Morris <rgm@gnu.org>
4525 * emacs-lisp/authors.el (authors-aliases): Addition.
4527 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4530 2012-06-03 Stefan Merten <smerten@oekonux.de>
4532 * textmodes/rst.el: Add comments.
4533 (rst-transition, rst-adornment): New faces.
4534 (rst-adornment-faces-alist): Make default safe to reevaluate.
4536 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4537 Improve customization tags.
4538 (rst-define-level-faces): Clarify meaning.
4540 2012-06-03 Chong Yidong <cyd@gnu.org>
4542 * progmodes/compile.el (compilation-mode-line-fail)
4543 (compilation-mode-line-run, compilation-mode-line-exit):
4545 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4547 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4549 * progmodes/which-func.el (which-func-update-ediff-windows):
4550 New function. Use it in ediff-select-hook (Bug#11478).
4552 2012-06-03 Chong Yidong <cyd@gnu.org>
4554 * bindings.el: Remove explicit help text from format-mode-line.
4555 It is now supplied by mode-line-default-help-echo.
4556 (mode-line-front-space, mode-line-end-spaces)
4557 (mode-line-misc-info): New variables.
4558 (mode-line-modes, mode-line-position): Move the default value to
4559 the variable definition.
4560 (mode-line-default-help-echo): New defcustom.
4561 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4562 (mode-line-modified-help-echo): New functions.
4563 (mode-line-mule-info, mode-line-modified): Use them.
4564 (mode-line-eol-desc, propertized-buffer-identification):
4565 Consistency fixes for help text.
4566 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4567 set-buffer-file-coding-system (Bug#289).
4568 (mode-line-mule-info-help-echo): Update help text.
4570 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * simple.el (execute-extended-command): Set real-this-command
4575 2012-06-02 Chong Yidong <cyd@gnu.org>
4577 Remove incorrect uses of "modeline" in comments, docstrings, and
4578 function/variable names (Bug#10329).
4580 * cus-edit.el (mode-line):
4581 * dframe.el (dframe-mouse-hscroll):
4582 * emacs-lisp/re-builder.el:
4583 * emacs-lisp/easy-mmode.el (define-minor-mode):
4584 * frame.el (set-frame-name):
4585 * help.el (lookup-minor-mode-from-indicator):
4586 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4587 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4588 (c-toggle-hungry-state):
4589 * progmodes/antlr-mode.el (antlr-language-alist):
4590 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4591 * progmodes/vhdl-mode.el (vhdl-mode):
4592 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4593 * term/ns-win.el (ns-face-at-pos):
4594 * term/sup-mouse.el (sup-mouse-report):
4595 * textmodes/flyspell.el (flyspell-mode-line-string):
4596 * textmodes/ispell.el (ispell-highlight-face):
4597 * textmodes/reftex-global.el:
4598 * vc/vc-arch.el (vc-arch-mode-line-string):
4599 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4600 * vc/vc-git.el (vc-git-mode-line-string):
4601 * vc/vc-hooks.el (vc-display-status)
4602 (vc-default-mode-line-string):
4603 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4605 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4607 * dired.el (dired-sort-set-mode-line): Rename from
4608 dired-sort-set-modeline. All callers changed.
4610 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4611 eshell-status-in-modeline.
4613 * foldout.el (foldout-mode-line-string): Rename from
4614 foldout-modeline-string. All callers changed.
4615 (foldout-update-mode-line): Rename from foldout-update-modeline.
4617 * subr.el (redraw-modeline): Make into obsolete alias.
4619 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4620 timeclock-modeline-display. Make old name an alias.
4621 (timeclock-update-mode-line): Likewise. All callers changed.
4622 (timeclock-mode-line-display): No need to check before using
4624 (timeclock-relative, timeclock-day-over-hook)
4625 (timeclock-use-elapsed, timeclock-mode-string)
4626 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4628 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4629 crisp-mode-modeline-string.
4631 * play/solitaire.el (solitaire-build-mode-line): Rename from
4632 solitaire-build-modeline. All callers changed.
4634 * play/zone.el (zone-hiding-mode-line): Rename from
4635 zone-hiding-modeline. All callers changed.
4636 (zone): Remove unusued `modeline-hidden-level' property.
4638 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4639 xscheme-modeline-initialize. All callers changed.
4641 * strokes.el (strokes-lighter): Rename from
4642 strokes-modeline-string.
4644 * textmodes/sgml-mode.el (html-face-tag-alist)
4645 (html-tag-face-alist): Use mode-line face instead of obsolete
4648 2012-06-02 Stefan Merten <smerten@oekonux.de>
4650 * textmodes/rst.el: Always require `cl'.
4651 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4653 2012-06-02 Chong Yidong <cyd@gnu.org>
4655 * image.el (imagemagick-enabled-types): Rename from
4656 imagemagick-types-enable. Add many more types.
4657 (imagemagick-types-inhibit): Change default to nil.
4658 (imagemagick-filter-types): Caller changed.
4660 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4662 * emacs-lisp/cl-macs.el: Use backquotes.
4663 (cl-transform-function-property): Use eval-and-compile rather than
4665 (defstruct): Use declare-function instead of with-no-warnings.
4667 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4668 (byte-compile-output-docform): Re-add the print-circle bindings.
4669 (byte-compile-fix-header): Use #$ just because it's shorter.
4670 (byte-compile-output-file-form): Remove defun/defmacro.
4672 2012-06-01 Martin Rudalics <rudalics@gmx.at>
4674 * simple.el (choose-completion): Remove now obsolete binding for
4677 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
4679 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4680 in order to avoid "Stack overflow in regexp matcher".
4682 2012-05-31 Glenn Morris <rgm@gnu.org>
4684 * image.el: For clarity, call imagemagick-register-types at
4685 top-level, rather than relying on a custom :initialize.
4686 (imagemagick-types-enable): New option. (Bug#11557)
4687 (imagemagick-filter-types): New function. (Bug#7406)
4688 (imagemagick-register-types): Use imagemagick-filter-types.
4689 If disabling support, remove elements altogether rather
4690 than using an impossible regexp.
4691 (imagemagick-types-inhibit): Give it the default init function.
4693 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4695 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4696 Handle arbitrary file name lengths (Bug#11585).
4698 2012-05-31 Martin Rudalics <rudalics@gmx.at>
4700 * desktop.el (desktop-read): Clear previous and next buffers for
4701 all windows and bury *Messages* buffer (bug#11556).
4703 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4705 Add `declare' for `defun'. Align `defmacro's with it.
4706 * emacs-lisp/easy-mmode.el (define-minor-mode)
4707 (define-globalized-minor-mode): Don't autoload the var definitions.
4708 * emacs-lisp/byte-run.el: Use lexical-binding.
4709 (defun-declarations-alist, macro-declarations-alist): New vars.
4710 (defmacro, defun): Use them.
4711 (make-obsolete, define-obsolete-function-alias)
4712 (make-obsolete-variable, define-obsolete-variable-alias):
4714 (macro-declaration-function): Mark obsolete.
4715 * emacs-lisp/autoload.el: Use lexical-binding.
4716 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4718 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4720 * textmodes/ispell.el (ispell-with-no-warnings):
4722 (ispell-kill-ispell, ispell-change-dictionary):
4723 Use `called-interactively-p' for Emacs instead of obsolete
4726 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4729 (macro-declaration-function): Move var from C code.
4730 (macro-declaration-function): Define function with defalias.
4731 * emacs-lisp/macroexp.el (macroexpand-all-1):
4732 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4733 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4734 defun/defmacro any more.
4735 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4736 Provide fallback for unknown arglist.
4737 (byte-compile-arglist-warn): Change calling convention.
4738 (byte-compile-output-file-form): Move print-vars binding.
4739 (byte-compile-output-docform): Simplify accordingly.
4740 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4741 (byte-compile-defmacro-declaration): Remove.
4742 (byte-compile-file-form-defmumble): Generalize to defalias.
4743 (byte-compile-output-as-comment): Return byte-positions.
4744 Simplify callers accordingly.
4745 (byte-compile-lambda): Use `assert'.
4746 (byte-compile-defun, byte-compile-defmacro): Remove.
4747 (byte-compile-file-form-defalias):
4748 Use byte-compile-file-form-defmumble.
4749 (byte-compile-defalias-warn): Remove.
4751 2012-05-29 Stefan Merten <smerten@oekonux.de>
4753 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4754 possible. Fix authors. Improve comments. Improve loading of `cl'.
4756 (rst-mode-abbrev-table): Merge definition.
4757 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4758 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4760 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
4762 * calendar/icalendar.el
4763 (icalendar-export-region): Export UID properly.
4765 2012-05-29 Leo Liu <sdl.web@gmail.com>
4766 * calendar/icalendar.el (icalendar-import-format):
4767 Add `icalendar-import-format-uid' (Bug#11525).
4768 (icalendar-import-format-uid): New.
4769 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4772 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4775 different alternative patterns.
4776 (pcase-codegen): Be more careful to preserve identity.
4777 (pcase--u1): Don't forget to mark vars as used.
4779 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4780 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4781 (byte-compile-from-buffer): ...rather than here.
4783 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4784 functions from byte-compile-function-environment.
4786 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
4788 * window.el (window-deletable-p): Avoid deleting the root window
4789 of a frame with an active minibuffer.
4791 2012-05-29 Martin Rudalics <rudalics@gmx.at>
4793 * simple.el (choose-completion): Use quit-window (Bug#11567).
4795 2012-05-29 Chong Yidong <cyd@gnu.org>
4797 * whitespace.el (whitespace-cleanup): Fix usage of
4798 whitespace-empty-at-bob-regexp (Bug#11492).
4800 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4802 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4805 2012-05-29 Juri Linkov <juri@jurta.org>
4807 * isearch.el (isearch-mode-map): Bind `M-s _' to
4808 `isearch-toggle-symbol'. Bind `M-s c' to
4809 `isearch-toggle-case-fold'.
4810 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4811 (isearch-forward): Add `M-s _' to the docstring.
4812 (isearch-forward-symbol, isearch-toggle-case-fold)
4813 (isearch-symbol-regexp): New functions. (Bug#11381)
4815 2012-05-29 Juri Linkov <juri@jurta.org>
4817 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4818 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4819 a function, call it to get the regexp.
4820 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4821 property `isearch-message-prefix' instead of the string "word ".
4822 (isearch-search-fun-default): For the case of `isearch-word',
4823 return a lambda that calls re-search-forward/re-search-backward
4824 with a regexp returned by `word-search-regexp' or by the function
4827 2012-05-29 Juri Linkov <juri@jurta.org>
4829 * isearch.el (isearch-search-fun-default): New function.
4830 (isearch-search-fun): Move default part to the new function
4831 `isearch-search-fun-default'.
4832 (isearch-search-fun-function): Set the default value to
4833 `isearch-search-fun-default'. (Bug#11381)
4835 * comint.el (comint-history-isearch-end):
4836 Use `isearch-search-fun-default'.
4837 (comint-history-isearch-search): Use `isearch-search-fun-default'
4838 and remove spacial case for `isearch-word'.
4839 (comint-history-isearch-wrap): Remove spacial case for
4842 * hexl.el (hexl-isearch-search-function):
4843 Use `isearch-search-fun-default'.
4845 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4846 Use `word-search-regexp' for `isearch-word'.
4848 * misearch.el (multi-isearch-search-fun):
4849 Use `isearch-search-fun-default'.
4851 * simple.el (minibuffer-history-isearch-search):
4852 Use `isearch-search-fun-default' and remove spacial case for
4854 (minibuffer-history-isearch-wrap): Remove spacial case for
4857 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4858 Remove spacial case for `isearch-word'.
4859 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4861 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4863 Decrease XEmacs incompatibilities.
4864 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4866 (flyspell-delete-region-overlays): Use alternative definition for
4868 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4869 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4870 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4871 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4872 `define-obsolete-face-alias' under XEmacs, but old method.
4874 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4875 `with-no-warnings' definition or Emacs alias.
4876 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4877 (ispell-word): Do not use `region-p' if XEmacs.
4879 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4881 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4882 Check for `ispell-dictionary-base-alist' instead of full
4883 `ispell-dictionary-alist'.
4884 (ispell-init-process): Show spellchecker when starting new Ispell
4887 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4889 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4890 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4892 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4894 * version.el (motif-version-string, gtk-version-string)
4895 (ns-version-string): Declare.
4897 2012-05-27 Juri Linkov <juri@jurta.org>
4899 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4900 after the `eval-defun-1' specialcaseing
4901 like in `edebug-eval-defun' (bug#10181).
4903 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4904 like in `eval-defun-1'.
4906 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4908 * mail/sendmail.el (mail-yank-region):
4909 Recognize rmail-yank-current-message in addition to insert-buffer.
4910 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4911 a *mail* buffer created through rmail-start-mail with sendmail as
4914 2012-05-27 Chong Yidong <cyd@gnu.org>
4916 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4917 Default to 256 (Bug#11267).
4919 * help.el (describe-mode): Doc fix.
4921 2012-05-26 Glenn Morris <rgm@gnu.org>
4923 * w32-fns.el (w32-init-info): Remove.
4924 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4926 * info.el (info-initialize): For self-contained NS builds, put the
4927 included info/ directory at the front. (Bug#2791)
4929 * paths.el (Info-default-directory-list): Make it a defcustom,
4930 mainly so that we can use custom-initialize-delay.
4932 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4934 * subr.el (buffer-has-markers-at): Mark obsolete.
4936 * subr.el (lambda): Use declare.
4938 * emacs-lisp/lisp-mode.el (lambda):
4939 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4941 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4943 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4945 2012-05-26 Glenn Morris <rgm@gnu.org>
4947 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4949 2012-05-25 Glenn Morris <rgm@gnu.org>
4951 * paths.el: Remove no-byte-compile.
4952 * loadup.el: No need to load paths.el uncompiled.
4954 * image.el (imagemagick-types-inhibit): Doc fix.
4956 * version.el: Remove no-byte-compile and associated formatting.
4957 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4958 is ancient code from when there was an "inc-vers.el".
4960 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4962 * progmodes/gdb-mi.el: Minor style changes.
4963 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4964 Turn into minor modes.
4965 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4966 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4967 (gdb-shell): Remove unneeded let-binding.
4968 (gdb-get-many-fields): Eliminate O(n²) behavior.
4970 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4972 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4973 platforms that don't link in fontset.c.
4975 2012-05-25 Juri Linkov <juri@jurta.org>
4977 Use the same diff color scheme as in modern VCSes (bug#10181).
4979 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4980 to avoid confusion with `diff-added' that now uses green colors.
4981 (diff-removed): Use shades of red.
4982 (diff-added): Use shades of green.
4983 (diff-changed): Leave just the yellow color.
4984 (diff-use-changed-face): New variable.
4985 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4986 how to highlight context diff changes.
4987 (diff-refine-change): Use shades of yellow.
4988 (diff-refine-removed): New face that uses shades of red.
4989 (diff-refine-added): New face that uses shades of green.
4990 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4991 `diff-refine-removed' in the call to `smerge-refine-subst'
4992 depending on the value of `diff-use-changed-face'.
4994 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4995 (smerge-other): Use shades of green.
4996 (smerge-base): Use shades of yellow.
4997 (smerge-refined-change): Empty face.
4998 (smerge-refined-removed): New face that uses shades of red.
4999 (smerge-refined-added): New face that uses shades of green.
5000 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5001 args `props-r' and `props-a', and use them. Doc fix.
5002 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5003 on its value use different faces `smerge-refined-change',
5004 `smerge-refined-removed', `smerge-refined-added' in the call to
5005 `smerge-refine-subst'.
5007 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5008 Add face condition `min-colors 88' with shades of red.
5009 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5010 `min-colors 88' with shades of green.
5011 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5012 `min-colors 88' with shades of yellow.
5014 2012-05-24 Glenn Morris <rgm@gnu.org>
5016 * paths.el (prune-directory-list, remote-shell-program): Move to...
5017 * files.el (prune-directory-list, remote-shell-program): ...here.
5018 For the latter, delay initialization, prefer ssh, just search PATH.
5020 * paths.el (term-file-prefix): Move to faces.el (the only user).
5021 * faces.el (term-file-prefix): Move here, make it a defcustom.
5023 * paths.el (news-directory, news-path, news-inews-program):
5024 Move to gnus/nnspool.el.
5026 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5028 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5029 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5030 Make the latter a defcustom, with a delayed initialization.
5032 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5033 These were deleted from Gnus itself late 2010.
5035 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5037 * progmodes/which-func.el (which-func-ff-hook):
5038 Check against user-error, not error.
5040 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5041 cl-specs.el, which no longer exists.
5043 2012-05-22 Glenn Morris <rgm@gnu.org>
5045 * info.el (info-emacs-bug): New command.
5046 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5047 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5049 2012-05-21 Glenn Morris <rgm@gnu.org>
5051 * makefile.w32-in (update-subdirs-SH):
5052 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5054 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5059 Simplify Maven regexp, and make sure the file can't start with a space
5062 2012-05-21 Glenn Morris <rgm@gnu.org>
5064 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5065 Scrap superfluous subshells.
5067 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5070 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5072 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5074 * calc/calc.el (calc-ensure-consistent-units): New variable.
5076 * calc/calc-units.el (math-consistent-units-p)
5077 (math-check-unit-consistency): New functions.
5078 (calc-quick-units, calc-convert-units):
5079 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5081 (calc-extract-units): Fix typo.
5083 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5085 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5087 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5088 (flyspell-default-deplacement-commands): Don't spell check after
5089 repeated window/frame switches (e.g. triggered by mouse-movement).
5090 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5091 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5092 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5093 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5095 (flyspell-get-casechars, flyspell-get-not-casechars):
5096 Simplify; Don't bother removing a ] just to add it back.
5097 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5099 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5101 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5103 (math-function-table): Add support for more C functions.
5105 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5107 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5108 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5109 Protect delay handling for otherchars against empty otherchars.
5111 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5114 their respective macro declarations.
5115 * skeleton.el (define-skeleton):
5116 * progmodes/compile.el (define-compilation-mode):
5117 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5118 (define-ibuffer-filter):
5119 * emacs-lisp/generic.el (define-generic-mode):
5120 * emacs-lisp/easy-mmode.el (define-minor-mode)
5121 (define-globalized-minor-mode):
5122 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5123 * emacs-lisp/byte-run.el (defsubst):
5124 * custom.el (deftheme): Add doc-string metadata.
5126 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5130 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5132 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5134 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5135 * emacs-lisp/cl-macs.el: Idem.
5136 * emacs-lisp/cl-specs.el: Remove.
5138 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5140 Minor renaming of internal CL functions and variables.
5141 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5142 (cl--position): Rename from cl-position.
5143 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5144 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5145 (cl--random-state): Rename from *random-state*.
5147 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5149 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5150 parens around the arg list (bug#11499).
5152 2012-05-17 Juri Linkov <juri@jurta.org>
5154 * isearch.el (word-search-regexp, word-search-backward)
5155 (word-search-forward, word-search-backward-lax)
5156 (word-search-forward-lax): Move functions from search.c
5157 (bug#10145, bug#11381).
5159 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5161 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5162 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5163 Delay for otherchars as for normal word components.
5165 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5167 * minibuffer.el (completion--sifn-requote): Fix last change.
5168 (minibuffer-local-must-match-filename-map):
5169 Move define-obsolete-variable-alias before its var.
5171 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5173 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5175 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5177 (completion--string-equal-p): New function.
5178 (completion--twq-all): Use it to get better assertion failure data.
5180 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5181 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5182 (shell--requote-argument): New functions.
5183 (shell-completion-vars): Use them.
5184 (shell--parse-pcomplete-arguments): Rename from
5185 shell-parse-pcomplete-arguments.
5186 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5187 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5188 Obey comint-file-name-quote-list.
5190 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5191 (smie-indent-keyword): Use it.
5193 2012-05-14 Stefan Merten <smerten@oekonux.de>
5195 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5197 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5199 * net/rlogin.el (rlogin-mode-map): Fix last change.
5201 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5203 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5204 the following \r\n using a single `process-send-string', since the
5205 Lotus SMTP server refuses to accept any commands if they are sent
5206 with two `process-send-string's (Bug#11444).
5208 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5210 * shell.el (shell-parse-pcomplete-arguments):
5211 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5213 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5215 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5216 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5217 (image-transform-width, image-transform-fit-width): New functions.
5218 (image-transform-properties): Use them.
5219 (image-transform-check-size): New function.
5220 (image-toggle-display-image): Use it (for testing).
5221 (image-transform-set-rotation): Reduce angle mod 360.
5222 Delete obsolete comment.
5224 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5226 * image-mode.el: Fix scaling (bug#11399).
5227 (image-transform-resize): Doc fix.
5228 (image-transform-properties): Default scale is 1 and height should
5231 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5233 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5234 than hard-coding `car', to fix misbehavior when moving forward.
5236 2012-05-13 Chong Yidong <cyd@gnu.org>
5238 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5239 (tabulated-list-entries, tabulated-list-padding)
5240 (tabulated-list-sort-key): Make permanent-local.
5242 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5243 (electric-buffer-list): Put electric buffer menu
5244 command descriptions in this docstring, instead of the docstring
5245 of electric-buffer-menu-mode. Code cleanups.
5246 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5247 Electric-buffer-menu-mode.
5248 (electric-buffer-update-highlight): Minor code cleanup.
5250 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5252 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5255 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5257 Move define-obsolete-variable-alias before the var's definition.
5258 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5259 * tooltip.el (tooltip-hook):
5260 * textmodes/reftex-toc.el (reftex-toc-map):
5261 * textmodes/reftex-sel.el (reftex-select-label-map)
5262 (reftex-select-bib-map):
5263 * textmodes/reftex-index.el (reftex-index-map)
5264 (reftex-index-phrases-map):
5265 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5266 * progmodes/meta-mode.el (meta-mode-map):
5267 * novice.el (disabled-command-hook):
5268 * loadhist.el (unload-hook-features-list):
5269 * frame.el (blink-cursor):
5270 * files.el (find-file-not-found-hooks, write-file-hooks)
5271 (write-contents-hooks):
5272 * emulation/tpu-edt.el (GOLD-map):
5273 * emacs-lock.el (emacs-lock-from-exiting):
5274 * emacs-lisp/generic.el (generic-font-lock-defaults):
5275 * emacs-lisp/chart.el (chart-map):
5276 * dos-fns.el (register-name-alist):
5277 * dired-x.el (dired-omit-files-p):
5278 * desktop.el (desktop-enable):
5279 * cus-edit.el (custom-mode-hook):
5280 * buff-menu.el (buffer-menu-mode-hook):
5281 * bookmark.el (bookmark-read-annotation-text-func)
5282 (bookmark-exit-hooks):
5283 * allout.el (allout-mode-deactivate-hook)
5284 (allout-exposure-change-hook, allout-structure-added-hook)
5285 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5286 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5287 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5288 comes before the corresponding variable's definition.
5290 2012-05-12 Chong Yidong <cyd@gnu.org>
5292 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5293 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5294 (Buffer-menu-mode-map): Bind it.
5295 (Buffer-menu--pretty-name): Add a mouse-face property.
5297 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5299 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5300 (prolog-upper-case-string, prolog-lower-case-string)
5301 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5302 (prolog-use-smie, prolog-smie-grammar): New vars.
5303 (prolog-smie-forward-token, prolog-smie-backward-token)
5304 (prolog-smie-rules): New funs.
5305 (prolog-comment-indent): Remove.
5306 (prolog-mode-variables): Use default comment indentation instead.
5308 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5309 (prolog-mode): Don't call them any more.
5310 (prolog-electric-colon, prolog-electric-dash)
5311 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5313 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5315 * minibuffer.el (completion--twq-all): Again, allow case differences.
5317 * term.el: Move keymap initialization code to be more idiomatic.
5318 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5319 (term-terminal-menu): Move initialization into declaration.
5320 (term-escape-char): Let the user set it in her .emacs.
5322 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5323 Provide SMIE-based indentation (not enabled by default yet).
5324 (sh-mode-map): Don't bind electric keys.
5325 Use electric-pair-mode instead of skeleton-pair.
5326 (sh-assignment-regexp): Fit within 80 columns.
5327 (sh-indent-supported): Specify actual shell name instead of boolean.
5328 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5329 (sh-maybe-here-document): Use it. Make obsolete.
5330 (sh-electric-here-document-mode) New minor mode.
5331 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5332 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5333 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5334 (sh-smie-rc-grammar, sh-use-smie): New vars.
5335 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5336 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5337 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5338 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5339 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5340 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5341 (sh-set-shell): Use smie-setup if requested.
5343 * term.el (term-set-escape-char): Properly set term-escape-char.
5344 See http://stackoverflow.com/questions/10524656.
5346 2012-05-10 Chong Yidong <cyd@gnu.org>
5348 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5349 Use url-generic-parse-url, and handle host names and Windows
5351 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5352 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5353 URL schemes to work on.
5354 (ffap--toggle-read-only): New function.
5355 (ffap-read-only, ffap-read-only-other-window)
5356 (ffap-read-only-other-frame): Use it.
5357 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5358 necessary for ffap-url-unwrap-remote.
5360 2012-05-10 Dave Abrahams <dave@boostpro.com>
5362 * cus-start.el (create-lockfiles): Add it.
5364 2012-05-09 Chong Yidong <cyd@gnu.org>
5366 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5367 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5369 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5373 2012-05-09 Chong Yidong <cyd@gnu.org>
5375 * ansi-color.el (ansi-color-process-output): Check for validity of
5376 comint-last-output-start before using it. This avoids a bad
5377 interaction with gdb-mi's input/output buffer.
5379 2012-05-09 Glenn Morris <rgm@gnu.org>
5381 * files.el (dir-locals-read-from-file):
5382 Mention dir-locals in any error message.
5384 2012-05-09 Chong Yidong <cyd@gnu.org>
5386 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5387 package (Bug#11410).
5389 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5390 variables into description.
5392 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5395 shell-delimiter-argument-list (bug#11348).
5396 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5398 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
5400 * textmodes/rst.el: Silence byte-compiler warnings.
5401 (rst-re-alist, rst-reset-section-caches): Move around.
5402 (rst-re): Use `characterp', not `char-valid-p'.
5403 (font-lock-beg, font-lock-end): Declare.
5405 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5406 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5408 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5410 2012-05-08 Glenn Morris <rgm@gnu.org>
5412 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5414 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * vc/log-edit.el: Add GNU coding standards highlighting.
5417 (log-edit-font-lock-gnu-style)
5418 (log-edit-font-lock-gnu-keywords): New vars.
5419 (log-edit-font-lock-keywords): New fun.
5420 (log-edit-mode): Don't fold case in font-lock.
5421 (log-edit-font-lock-keywords): Do not assume case-folding.
5423 * imenu.el: Misc cleanup. Make docstrings out of comments.
5424 Use lexical-binding.
5425 (imenu--index-alist, imenu--last-menubar-index-alist)
5426 (imenu-menubar-modified-tick): Use defvar-local.
5427 (imenu--split-menu): Remove unused var.
5428 (imenu--cleanup-seen): Declare as global.
5429 (imenu--cleanup): Use dolist.
5431 * subr.el (defvar-local): Add debug spec and doc-string position.
5433 2012-05-08 Glenn Morris <rgm@gnu.org>
5435 * language/burmese.el, language/cham.el, language/czech.el:
5436 * language/english.el, language/georgian.el, language/greek.el:
5437 * language/japanese.el, language/khmer.el, language/korean.el:
5438 * language/lao.el, language/misc-lang.el, language/romanian.el:
5439 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5440 * language/thai.el, language/utf-8-lang.el:
5441 Remove no-byte-compile setting.
5443 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5445 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5447 * progmodes/make-mode.el (makefile-browse):
5448 Remove unnecessary interactive. (Bug#11324)
5450 2012-05-07 Glenn Morris <rgm@gnu.org>
5452 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5454 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5456 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * loadup.el: Preload newcomment.el.
5459 * newcomment.el: Move autoload-only code to toplevel.
5461 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5462 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5463 Handle new :right-align column property.
5464 (tabulated-list-print-col): Idem, plus use `display' text-property to
5465 try and preserve alignment for variable pitch fonts.
5467 2012-05-07 Chong Yidong <cyd@gnu.org>
5469 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5470 (tabulated-list-use-header-line): New var.
5471 (tabulated-list-init-header): Use it.
5472 (tabulated-list-print-fake-header): New function.
5473 (tabulated-list-print): Use it.
5474 (tabulated-list-sort-button-map): Add non-header-line commands.
5475 (tabulated-list-init-header): Add column name property to basic
5477 (tabulated-list-col-sort): Handle non-header-line button case.
5478 (tabulated-list--sort-by-column-name): Fix a corner case.
5480 * buff-menu.el (list-buffers--refresh):
5481 Handle Buffer-menu-use-header-line.
5483 2012-05-06 Chong Yidong <cyd@gnu.org>
5485 * buff-menu.el: Convert to Tabulated List mode.
5486 (Buffer-menu-buffer+size-width): Make obsolete.
5487 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5488 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5489 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5490 documentation into docstring of buffer-menu.
5491 (Buffer-menu-toggle-files-only): Add an informative message.
5492 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5493 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5494 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5495 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5496 (Buffer-menu-execute, Buffer-menu-select)
5497 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5498 (Buffer-menu-bury): Use Tabulated List machinery.
5499 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5500 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5502 (list-buffers--refresh): New function.
5503 (list-buffers-noselect): Use it.
5504 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5505 (Buffer-menu--pretty-file-name): New helper functions.
5507 * loadup.el: Preload tabulated-list.
5509 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5510 tabulated-list-sort-column.
5511 (tabulated-list-init-header): Add the initial aligning space even
5512 if tabulated-list-padding is zero.
5514 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5516 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5517 whose cdr is not a cons cell correctly (bug#11038).
5519 2012-05-06 Chong Yidong <cyd@gnu.org>
5521 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5522 Accept additional plist in column descriptors.
5523 (tabulated-list-init-header): Obey it.
5524 (tabulated-list-get-entry): New function.
5525 (tabulated-list-put-tag): Use it. Use string-width instead of
5527 (tabulated-list--column-number): New function.
5528 (tabulated-list-print): Use it.
5529 (tabulated-list-print-col): New function.
5530 Set `tabulated-list-column-name' property on each column's text.
5531 (tabulated-list-print-entry): Use it.
5532 (tabulated-list-delete-entry, tabulated-list-set-col):
5534 (tabulated-list-sort-column): New command (Bug#11337).
5536 * buff-menu.el (list-buffers): Move C-x C-b binding from
5537 buff-menu.el to bindings.el.
5539 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5540 :advertised-binding feature.
5542 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5544 * progmodes/compile.el (compilation-internal-error-properties):
5545 Calculate start position correctly when end-col is set but
5546 end-line is not (Bug#11382).
5548 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5550 * man.el (Man-unindent): Use text-property-default-nonsticky to
5551 prevent untabify from inheriting face properties (Bug#11408).
5553 2012-05-05 Stefan Merten <smerten@oekonux.de>
5555 * textmodes/rst.el: Major merge with upstream development up to
5556 Docutils SVN r7399 / rst.el V1.2.1.
5558 Clarify maintainership and authors.
5560 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5561 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5562 (rst-official-version, rst-official-cvs-rev, rst-version)
5563 (rst-package-emacs-version-alist): New functions and variables
5564 for version information.
5566 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5567 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5568 (rst-mode-syntax-table, rst-mode): New and corrected functions
5569 and variables representing reStructuredText features.
5571 (rst-re): New function for reStructuredText regexes. Use in
5574 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5575 (rst-mode-map): Rebind keys.
5577 (rst-mode-lazy, rst-font-lock-keywords)
5578 (rst-font-lock-extend-region)
5579 (rst-font-lock-extend-region-internal)
5580 (rst-font-lock-extend-region-extend)
5581 (rst-font-lock-find-unindented-line-limit)
5582 (rst-font-lock-find-unindented-line-match)
5583 (rst-adornment-level, rst-font-lock-adornment-level)
5584 (rst-font-lock-adornment-match)
5585 (rst-font-lock-handle-adornment-pre-match-form)
5586 (rst-font-lock-handle-adornment-matcher): Major revision of
5587 font-locking. Integrate with other code. Use `jit-lock-mode'.
5589 (rst-preferred-adornments, rst-adjust-hook)
5590 (rst-new-adornment-down, rst-preferred-bullets)
5591 (rst-preferred-bullets, rst-indent, rst-indent-width)
5592 (rst-indent-field, rst-indent-literal-normal)
5593 (rst-indent-literal-minimized, rst-indent-comment): Change,
5594 extend and improve customization.
5596 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5597 (rst-normalize-cursor-position, rst-get-decoration)
5598 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5599 (rst-rstrip, rst-toc-insert-find-delete-contents)
5600 (rst-shift-fill-region, rst-compute-bullet-tabs)
5601 (rst-debug-print-tabs, rst-debug-mark-found)
5602 (rst-shift-region-guts, rst-shift-region-right)
5603 (rst-shift-region-left, rst-use-char-classes)
5604 (rst-font-lock-keywords-function)
5605 (rst-font-lock-indentation-point)
5606 (rst-font-lock-find-unindented-line-begin)
5607 (rst-font-lock-find-unindented-line-end)
5608 (rst-font-lock-find-unindented-line)
5609 (rst-font-lock-adornment-point, rst-font-lock-level)
5610 (rst-adornment-level-alist): Remove functions and variables.
5612 (rst-compare-adornments, rst-get-adornment-match)
5613 (rst-suggest-new-adornment, rst-get-adornments-around)
5614 (rst-adornment-complete-p, rst-get-next-adornment)
5615 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5616 (rst-straighten-adornments): Standardize function names to
5617 use "adornment" instead of "decoration". Correct callers.
5618 Similar standardizing in many places.
5620 (rst-update-section, rst-adjust, rst-promote-region)
5621 (rst-enumerate-region, rst-bullet-list-region)
5622 (rst-repeat-last-character): Correct use of `interactive'.
5624 (rst-classify-adornment, rst-find-all-adornments)
5625 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5626 (rst-find-leftmost-column, rst-repeat-last-character):
5629 (rst-find-title-line, rst-reset-section-caches)
5630 (rst-get-adornments-around, rst-adjust-adornment-work)
5631 (rst-arabic-to-roman, rst-roman-to-arabic)
5632 (rst-insert-list-pos, rst-insert-list-new-item)
5633 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5636 (rst-all-sections, rst-section-hierarchy)
5637 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5640 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5641 configuration instead of only buffer. Change where necessary.
5643 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5644 (rst-shift-region, rst-adaptive-fill): New functions for
5645 indentation and filling.
5647 (rst-comment-line-break, rst-comment-indent)
5648 (rst-comment-insert-comment, rst-comment-region)
5649 (rst-uncomment-region): New functions for handling comments.
5651 (rst-compile): Quote shell arguments.
5653 (rst-compile-pdf-preview, rst-compile-slides-preview):
5654 Delete temporary files after use.
5656 2012-05-05 Glenn Morris <rgm@gnu.org>
5658 * calendar/cal-html.el: Optionally include holidays in the output.
5659 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5660 (cal-html-holidays): New option.
5661 (cal-html-css-default): Add holiday entry.
5662 (holiday-in-range): Autoload it.
5663 (cal-html-htmlify-entry): Add optional class argument.
5664 (cal-html-htmlify-list): Add optional holidays argument.
5665 (cal-html-insert-agenda-days): Include holidays in the output.
5666 (cal-html-one-month): Maybe include holidays.
5668 * calendar/holidays.el (holiday-in-range):
5669 Move here from cal-tex-list-holidays.
5670 * calendar/cal-tex.el (cal-tex-list-holidays):
5671 Make it an obsolete alias for holiday-in-range. Update all callers.
5673 2012-05-05 Chong Yidong <cyd@gnu.org>
5675 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5678 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5680 * files.el (file-auto-mode-skip): New var.
5681 (set-auto-mode-1): Use it.
5683 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5685 * repeat.el: Use lexical-binding.
5686 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5687 (repeat-undo-count): Remove.
5689 * progmodes/octave-mod.el (octave-abbrev-start):
5690 * progmodes/f90.el (f90-abbrev-start):
5691 * face-remap.el (text-scale-adjust):
5692 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5694 * emacs-lisp/pcase.el (pcase--let*): New function.
5695 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5697 (pcase--split-pred): Be more clever about ruling out overlap between
5698 a predicate and some constant pattern.
5699 (pcase--q1): Use `null' instead of (eq foo nil).
5701 * subr.el (setq-local, defvar-local): New macros.
5702 (kbd): Redefine as an alias.
5703 (with-selected-window): Leave unrelated frames alone.
5704 (set-temporary-overlay-map): New function.
5706 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5708 * subr.el (user-error): New function.
5709 * window.el (switch-to-buffer):
5710 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5711 (smerge-match-conflict):
5712 * simple.el (previous-matching-history-element)
5713 (next-matching-history-element, goto-history-element, undo-more)
5715 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5716 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5717 (next-file, tags-loop-scan, list-tags, complete-tag):
5718 * progmodes/compile.el (compilation-loop):
5719 * mouse.el (mouse-minibuffer-check):
5720 * man.el (Man-bgproc-sentinel, Man-goto-page):
5721 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5722 (Info-history-forward, Info-follow-reference, Info-menu)
5723 (Info-extract-menu-item, Info-extract-menu-counting)
5724 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5725 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5726 (Info-next-reference, Info-prev-reference, Info-index)
5727 (Info-index-next, Info-follow-nearest-node)
5728 (Info-copy-current-node-name):
5729 * imenu.el (imenu--make-index-alist)
5730 (imenu-default-create-index-function, imenu-add-to-menubar):
5731 * files.el (basic-save-buffer, recover-file):
5732 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5733 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5734 (checkdoc-message-text, checkdoc-defun):
5735 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5736 * cus-edit.el (customize-changed-options, customize-rogue)
5737 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5738 (custom-variable-mark-to-reset-standard)
5739 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5741 * completion.el (check-completion-length):
5742 * comint.el (comint-search-arg)
5743 (comint-previous-matching-input-string-position)
5744 (comint-previous-matching-input)
5745 (comint-replace-by-expanded-history-before-point, comint-send-input)
5746 (comint-copy-old-input, comint-backward-matching-input)
5747 (comint-goto-process-mark, comint-set-process-mark):
5748 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5749 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5751 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5753 * dabbrev.el (dabbrev--ignore-case-p): New function.
5754 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5757 * files.el (automount-dir-prefix): Mark as obsolete.
5759 2012-05-04 Glenn Morris <rgm@gnu.org>
5761 * patcomp.el, play/bruce.el: Move to obsolete/.
5763 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5765 Fix minor Y10k bugs.
5766 * arc-mode.el (archive-unixdate):
5767 * autoinsert.el (auto-insert-alist):
5768 * calc/calc-forms.el (math-this-year):
5769 * emacs-lisp/copyright.el (copyright-current-year)
5770 (copyright-update-year, copyright):
5771 * tar-mode.el (tar-clip-time-string):
5772 * time.el (display-time-update):
5773 Don't assume years have 4 digits.
5775 2012-05-04 Chong Yidong <cyd@gnu.org>
5777 * dos-w32.el (file-name-buffer-file-type-alist)
5778 (direct-print-region-use-command-dot-com):
5779 * ffap.el (ffap-menu-regexp):
5780 * find-file.el (ff-special-constructs):
5781 * follow.el (follow-debug):
5782 * forms.el (forms--debug):
5783 * iswitchb.el (iswitchb-all-frames):
5784 * ido.el (ido-all-frames):
5785 * emacs-lisp/timer.el (timer-max-repeats):
5786 * mail/feedmail.el (feedmail-mail-send-hook)
5787 (feedmail-mail-send-hook-queued):
5788 * mail/footnote.el (footnote-signature-separator):
5789 * mail/mailabbrev.el (mail-alias-separator-string)
5790 (mail-abbrev-mode-regexp):
5791 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5792 * progmodes/idlwave.el (idlwave-libinfo-file)
5793 (idlwave-default-completion-case-is-down)
5794 (idlwave-library-routines): Convert defvars to defcustoms.
5796 * mail/rmail.el (rmail-decode-mime-charset):
5797 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5798 (idlwave-shell-fix-inserted-breaks)
5799 (idlwave-shell-activate-alt-keybindings)
5800 (idlwave-shell-use-breakpoint-glyph):
5801 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5803 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5807 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5809 * progmodes/verilog-mode.el (font-lock-keywords):
5810 Fix mis-highligting auto. Reported by Craig Barner.
5811 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5812 defines from global name space. Reported by Dan Dever.
5813 (verilog-auto-reset, verilog-auto-reset-widths)
5814 (verilog-auto-tieoff): Support using unbased numbers for
5815 AUTORESET and AUTOTIEOFF.
5816 (verilog-submit-bug-report): Update variable list.
5817 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5818 parenthesis from not matching. Reported by Michael Rytting.
5819 (verilog-auto-template-lint): Fix hash error when linting modules
5820 with no used templates.
5821 (verilog-warn, verilog-warn-error)
5822 (verilog-warn-fatal): When non-interactive report multiple
5823 warnings before exiting. Suggested by Brad Dobbie.
5824 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5825 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5826 to report unused template errors. Reported by Brad Dobbie.
5827 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5828 nets, bug438. Reported by Vns Blore.
5829 (verilog-auto-inout-module, verilog-auto-reg)
5830 (verilog-read-decls, verilog-read-sub-decls-sig)
5831 (verilog-signals-edit-wire-reg, verilog-signals-with):
5832 Fix passing of Verilog data types in ANSI input/output ports
5833 such as "output logic" into the AUTOs. Special case "wire" and
5834 "reg" for backwards compatibility presuming Verilog 2001.
5835 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5836 (verilog-preprocess): Fix replication of preprocess output.
5837 Reported by Brad Dobbie.
5838 (verilog-auto-inst-interfaced-ports):
5839 Create verilog-auto-inst-interfaced-ports, bug429.
5840 Reported by Julian Gorfajn.
5841 (verilog-after-save-font-hook)
5842 (verilog-before-save-font-hook): New variable.
5843 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5844 (verilog-save-font-mods): Wrap disabling fontification, reported
5846 (verilog-do-indent, verilog-pretty-declarations-auto)
5847 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5848 Reported by Pierre-David Pfister.
5849 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5850 of class declarations, bug292. Reported by Kevin Heilman.
5851 (verilog-read-decls): Fix 'parameter type' not appearing in
5852 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5853 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5854 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5855 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5856 Reported by David Kravitz.
5858 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5860 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5861 assignment with tests in ifs and for loops.
5862 (verilog-extended-complete-re, verilog-complete-reg): Change so
5863 that DPI inport functions don't look like fuction declarations.
5864 (verilog-pretty-expr): Don't line up assignment
5865 operations to the test and increment in if and for loops
5866 (verilog-extended-complete-re, verilog-complete-reg): Change so
5867 that DPI inport functions don't look like fuction declarations.
5869 2012-05-03 Kenichi Handa <handa@m17n.org>
5871 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5872 decoding, and show a warning message without signaling an error
5875 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5877 * emacs-lisp/bytecomp.el
5878 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5879 since cconv.el might have introduced :fun-body, internal-make-closure,
5880 and friends for bytecomp to handle (bug#11391).
5881 * custom.el (defcustom): Avoid ((λ ..) ..).
5883 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5885 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5887 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5889 * notifications.el (dbus-debug):
5890 * term/linux.el (gpm-mouse-enable):
5891 * term/screen.el (xterm-register-default-colors): Declare.
5893 2012-05-02 Chong Yidong <cyd@gnu.org>
5895 * cus-start.el (gc-cons-percentage, exec-suffixes)
5896 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5897 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5898 (make-cursor-line-fully-visible, void-text-area-pointer)
5899 (font-list-limit): Add customization data.
5901 * allout.el (allout-exposure-change-functions)
5902 (allout-structure-added-functions)
5903 (allout-structure-deleted-functions)
5904 (allout-structure-shifted-functions): Rename abnormal hooks from
5905 *-hook, and convert to defcustoms.
5906 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5907 Convert to defcustoms.
5908 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5910 * allout-widgets.el: Hook callers changed.
5912 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5914 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5915 the yanked message in preference to the default value of
5916 buffer-file-coding-system.
5918 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5920 * window.el (display-buffer--action-function-custom-type):
5923 2012-05-02 Alan Mackenzie <acm@muc.de>
5925 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5927 2012-05-01 Glenn Morris <rgm@gnu.org>
5929 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5931 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5933 * cus-edit.el (custom-variable-documentation): Simplify with format.
5935 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5936 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * simple.el (suggest-key-bindings, execute-extended-command):
5939 Move from keyboard.c.
5941 2012-05-01 Chong Yidong <cyd@gnu.org>
5943 * follow.el: Eliminate advice.
5944 (set-process-filter, process-filter, sit-for): Advice deleted.
5945 (follow-mode-off-hook): Obsolete hook removed.
5946 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5948 (follow-auto): Use a :set function.
5949 (follow-mode): Rewritten. Don't advise process filters.
5950 (follow-switch-to-current-buffer-all, follow-scroll-up)
5951 (follow-scroll-down): Assume follow-mode is bound.
5952 (follow-comint-scroll-to-bottom)
5953 (follow-align-compilation-windows): New functions.
5954 (follow--window-sorter): New function.
5955 (follow-all-followers): Use it to explicitly sort windows by their
5956 positions; don't make assumptions about next-window order.
5957 (follow-windows-start-end, follow-delete-other-windows-and-split)
5958 (follow-calc-win-start): Doc fix.
5959 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5960 vertical-motion unnecessarily.
5961 (follow-adjust-window): New function.
5962 (follow-post-command-hook): Use it.
5963 (follow-call-set-process-filter, follow-call-process-filter)
5964 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5965 (follow-stop-intercept-process-output, follow-generic-filter):
5967 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5968 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5969 New functions, replacing advice on scroll-bar-* commands.
5970 (follow-mwheel-scroll): New function (Bug#4112).
5972 * comint.el (comint-adjust-point): New function.
5973 (comint-postoutput-scroll-to-bottom): Use it.
5974 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5976 2012-05-01 Glenn Morris <rgm@gnu.org>
5978 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5979 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5980 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5981 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5982 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5983 Remove no-byte-compile setting.
5985 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5988 all-completions code to not return a number in the last cdr.
5990 2012-04-30 Leo Liu <sdl.web@gmail.com>
5992 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5995 2012-04-29 Chong Yidong <cyd@gnu.org>
5997 * follow.el (follow-calc-win-end): Rewrite to handle partial
5998 screen lines correctly (Bug#8390).
5999 (follow-avoid-tail-recenter): Minor cleanup.
6001 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6003 Avoid the obsolete `assoc' package.
6004 * speedbar.el (speedbar-refresh): Avoid adelete.
6005 (speedbar-file-lists): Simplify and avoid aput.
6006 * man.el (Man--sections, Man--refpages): New vars, replacing
6007 Man-sections-alist and Man-refpages-alist.
6008 (Man-build-section-alist, Man-build-references-alist):
6009 Use them; avoid aput.
6010 (Man--last-section, Man--last-refpage): New vars.
6011 (Man-follow-manual-reference): Use them.
6012 Use the `default' arg of completing-read.
6013 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6015 2012-04-27 Chong Yidong <cyd@gnu.org>
6017 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6019 * startup.el (x-apply-session-resources): New function.
6021 * term/ns-win.el (ns-initialize-window-system):
6022 * term/w32-win.el (w32-initialize-window-system):
6023 * term/x-win.el (x-initialize-window-system): Use it to properly
6024 set menu-bar-mode and other vars from X resources, even if the
6025 initial frame is not a window-system frame (Bug#2299).
6027 * subr.el (read-key): Avoid running filter function when setting
6028 up temporary tool bar entries (Bug#9922).
6030 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6032 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6035 2012-04-27 Chong Yidong <cyd@gnu.org>
6037 * select.el (xselect--encode-string): New function, split from
6038 xselect-convert-to-string.
6039 (xselect-convert-to-string): Use it.
6040 (xselect-convert-to-filename, xselect-convert-to-os)
6041 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6042 returned strings are properly encoded (Bug#11315).
6044 2012-04-27 Chong Yidong <cyd@gnu.org>
6046 * simple.el (delete-active-region): Move to killing custom group.
6048 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6050 * progmodes/which-func.el (which-func-current): Quote %
6051 characters for mode-line processing.
6053 2012-04-27 Chong Yidong <cyd@gnu.org>
6055 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6056 reaching eob (Bug#11286).
6058 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6060 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6061 (gdb): Make it buffer-local and init to zero.
6062 (gdb-control-commands-regexp): New variable.
6063 (gdb-send): Don't wrap in "-interpreter-exec console" if
6064 gdb-control-level is positive. Increment gdb-control-level
6065 whenever the command matches gdb-control-commands-regexp, and
6066 decrement it each time the command is "end". (Bug#11279)
6068 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6070 * window.el (adjust-window-trailing-edge, enlarge-window)
6071 (shrink-window, window-resize):
6072 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6073 windows (Bug#11276).
6075 2012-04-27 Chong Yidong <cyd@gnu.org>
6077 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6078 fix "missing prefix" warning. All callers changed.
6080 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6082 * emacs-lisp/assoc.el: Move to obsolete/.
6084 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6088 * term/ns-win.el (ns-define-service):
6089 * progmodes/pascal.el (pascal-goto-defun):
6090 * progmodes/js.el (js--read-tab):
6091 * progmodes/etags.el (tags-lazy-completion-table):
6092 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6093 * emacs-lisp/ewoc.el (ewoc--wrap):
6094 * emacs-lisp/assoc.el (aput, adelete, amake):
6095 * doc-view.el (doc-view-convert-current-doc):
6096 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6098 2012-04-26 Chong Yidong <cyd@gnu.org>
6100 * image.el (image-type-from-buffer): Only return supported image
6103 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6104 value, for symmetry with diff-end-of-hunk.
6105 (diff-split-hunk, diff-find-source-location)
6106 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6107 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6108 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6109 compute the relevant hunk or file properly (Bug#6005).
6110 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6112 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * vc/vc.el: Replace lexical-let by lexical-binding.
6122 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6123 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6124 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6126 2012-04-26 Chong Yidong <cyd@gnu.org>
6128 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6129 (diff-mode-shared-map): Bind it to / and [remap undo].
6131 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6132 (ediff-window-setup-function): Use it as the default, to set up
6133 windows based on whether the current frame is graphical (Bug#2138).
6134 (ediff-choose-window-setup-function-automatically): Make obsolete.
6136 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6138 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6140 * ffap.el: Remove old code for obsolete package.
6141 (ffap-complete-as-file-p): Remove.
6143 Use completion-table-with-quoting for comint and pcomplete.
6144 * comint.el (comint--unquote&requote-argument)
6145 (comint--unquote-argument, comint--requote-argument): New functions.
6146 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6147 (comint-quote-filename): Use regexp-opt-charset.
6148 (comint--common-suffix, comint--common-quoted-suffix)
6149 (comint--table-subvert): Remove.
6150 (comint-unquote-function, comint-requote-function): New vars.
6151 (comint--complete-file-name-data): Use them with
6152 completion-table-with-quoting.
6153 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6154 * pcomplete.el (pcomplete-arg-quote-list)
6155 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6156 (pcomplete-unquote-argument-function): Default to non-nil.
6157 (pcomplete-unquote-argument): Simplify.
6158 (pcomplete--common-quoted-suffix): Remove.
6159 (pcomplete-requote-argument-function): New var.
6160 (pcomplete--common-suffix): New function.
6161 (pcomplete-completions-at-point): Use completion-table-with-quoting
6162 and completion-table-subvert.
6164 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6165 (minibuffer--double-dollars): Preserve properties.
6166 (completion--sifn-requote): New function.
6167 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6169 * minibuffer.el: Add support for completion of quoted/escaped data.
6170 (completion-table-with-quoting, completion-table-subvert): New funs.
6171 (completion--twq-try, completion--twq-all): New functions.
6172 (completion--nth-completion): New function.
6173 (completion-try-completion, completion-all-completions): Use it.
6175 2012-04-25 Leo Liu <sdl.web@gmail.com>
6177 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6178 Use compilation-message if available to find real filename.
6180 2012-04-25 Chong Yidong <cyd@gnu.org>
6182 * vc/diff-mode.el (diff-setup-whitespace): New function.
6183 (diff-mode): Use it.
6185 * vc/diff.el (diff-sentinel):
6186 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6187 Whitespace mode variables based on diff style (Bug#8612).
6189 2012-04-25 Leo Liu <sdl.web@gmail.com>
6191 * progmodes/python.el (python-send-region): Add suffix .py to the
6194 * files.el (auto-mode-alist): Use javascript-mode instead.
6196 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6198 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6200 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6201 (soap-resolve-references-for-array-type): Hack to prevent self
6202 references, see Bug#9.
6203 (soap-parse-envelope): Report the contents of the 'detail' node
6204 when receiving a fault reply.
6205 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6207 * net/soap-inspect.el (soap-sample-value-for-simple-type)
6208 (soap-inspect-simple-type): New function.
6210 * net/soap-client.el (soap-simple-type): New struct.
6211 (soap-default-xsd-types, soap-default-soapenc-types)
6212 (soap-decode-basic-type, soap-encode-basic-type):
6213 support unsignedInt and double basic types.
6214 (soap-resolve-references-for-simple-type)
6215 (soap-parse-simple-type, soap-encode-simple-type): New function.
6216 (soap-parse-schema): Parse xsd:simpleType declarations.
6218 * net/soap-client.el (soap-default-xsd-types)
6219 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6220 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6221 the local name of "soapenc:Array".
6222 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6223 decoding integer, byte and anyURI xsd types.
6225 2012-04-25 Chong Yidong <cyd@gnu.org>
6227 * cus-edit.el (custom-buffer-create-internal): Update header text.
6229 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6231 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6232 settings on 'system-type', not on 'window-system'. On MS-Windows,
6233 set interactive-mode on in GDB.
6235 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6238 (ruby-syntax-propertize-regexp): Remove.
6239 (ruby-syntax-propertize-function): Split regexp into chunks.
6240 Match following code directly.
6242 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6244 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6245 (ruby-syntax-propertize-regexp): New function.
6246 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6247 by a special keyword.
6249 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6250 (ruby-syntax-general-delimiters-goto-beg)
6251 (ruby-syntax-propertize-general-delimiters): New functions.
6252 (ruby-syntax-propertize-function): Use them to handle GDL.
6253 (ruby-font-lock-keywords): Move old handling of GDL...
6254 (ruby-font-lock-syntactic-keywords): .. to here.
6255 (ruby-calculate-indent): Adjust indentation for GDL.
6257 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6259 * notifications.el (top): Remove unneeded declarations.
6260 (notifications-specification-version): Change to "1.2".
6261 (notifications-interface, notifications-notify-method)
6262 (notifications-close-notification-method): Fix docstring.
6263 (notifications-get-capabilities-method): New defconst.
6264 (notifications-notify): Add :action-items, :resident and
6265 :transient hints. Change "image_data" to "image-data" and
6266 "image_path" to "image-path".
6267 (notifications-get-capabilities): New defun.
6269 2012-04-24 Leo Liu <sdl.web@gmail.com>
6271 * progmodes/python.el: Move hideshow setup to the end.
6273 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6275 * window.el (handle-select-window): Clear echo area since this is
6276 no more done by read_char (Bug#11304).
6278 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6281 and `/ M' to filter-derived-mode.
6282 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6283 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6284 (ibuffer-mark-by-mode): Use default rather than initial-input.
6285 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6287 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6289 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6290 (ibuffer-filter-by-derived-mode): New filter.
6291 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6293 2012-04-23 Andreas Politz <politza@fh-trier.de>
6295 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6297 2012-04-23 Chong Yidong <cyd@gnu.org>
6299 * cus-edit.el (customize-apropos, customize-apropos-options):
6300 Disable matching of non-option variables (Bug#11176).
6301 (customize-option, customize-option-other-window)
6302 (customize-changed-options): Doc fix.
6303 (customize-apropos-options, customize-apropos-faces)
6304 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6306 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6307 Fix word list splitting (Bug#11132).
6308 (apropos-symbol, apropos-keybinding, apropos-label)
6309 (apropos-property, apropos-function-button)
6310 (apropos-variable-button, apropos-misc-button): New faces.
6311 (apropos-symbol-face, apropos-keybinding-face)
6312 (apropos-label-face, apropos-property-face, apropos-match-face):
6313 Variables removed (Bug#8396).
6314 (apropos-library-button, apropos-format-plist, apropos-print)
6315 (apropos-print-doc, apropos-describe-plist): Callers changed.
6317 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
6319 * net/xesam.el (xesam-mode-map): Use let-bound map in
6320 initialization. (Bug#11292)
6322 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6324 Preserve ispell session localwords when switching back to
6327 * textmodes/ispell.el (ispell-buffer-session-localwords):
6328 New buffer-local variable to hold buffer session localwords.
6329 (ispell-kill-ispell): Add option 'clear to delete session
6331 (ispell-command-loop, ispell-change-dictionary)
6332 (ispell-buffer-local-words): Preserve session localwords when
6335 * textmodes/flyspell.el (flyspell-process-localwords)
6336 (flyspell-do-correct): Preserve session localwords when needed.
6338 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6340 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6341 using obsolete `translation-table-for-input'.
6342 (ispell-word, ispell-process-line, ispell-complete-word):
6343 Use plain `insert' instead of removed `ispell-insert-word'.
6345 2012-04-22 Chong Yidong <cyd@gnu.org>
6347 * cus-edit.el (custom-variable-menu)
6348 (custom-variable-reset-saved, custom-face-menu)
6349 (custom-face-reset-saved): If there is no saved value, make the
6350 "reset-saved" operation bring back the default (Bug#9509).
6351 (custom-face-state): Properly detect themed faces.
6353 * faces.el (face-spec-set): Stop supporting deprecated form of
6356 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
6358 Move functions from C to Lisp. Make non-blocking method calls
6359 the default. Implement further D-Bus standard interfaces.
6361 * net/dbus.el (dbus-message-internal): Declare function.
6362 Remove unneeded function declarations.
6363 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6364 (dbus-message-type-method-return, dbus-message-type-error)
6365 (dbus-message-type-signal): Declare variables. Remove local
6367 (dbus-interface-dbus, dbus-interface-peer)
6368 (dbus-interface-introspectable, dbus-interface-properties)
6369 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6371 (dbus-interface-objectmanager): New defconst.
6372 (dbus-call-method, dbus-call-method-asynchronously)
6373 (dbus-send-signal, dbus-method-return-internal)
6374 (dbus-method-error-internal, dbus-register-service)
6375 (dbus-register-signal, dbus-register-method): New defuns, moved
6377 (dbus-call-method-handler, dbus-setenv)
6378 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6380 (dbus-call-method-non-blocking): Make it an obsolete function.
6381 (dbus-unregister-object, dbus-unregister-service)
6382 (dbus-handle-event, dbus-register-property)
6383 (dbus-property-handler): Obey the new structure of
6384 `bus-registered-objects'.
6385 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6386 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6387 Use `dbus-call-method'.
6389 2012-04-22 Chong Yidong <cyd@gnu.org>
6391 * cus-edit.el (custom-commands, custom-reset-menu)
6392 (Custom-reset-standard): Tweak labels.
6393 (custom-reset-button-menu): Change default to t.
6394 (custom-buffer-create-internal): For the custom-reset-button-menu
6395 case, put the revert button first.
6396 (custom-group-subtitle): New face.
6397 (custom-group-value-create): Align docstring to a specific column.
6399 * wid-edit.el (widget-documentation-link-add): Don't handle
6400 indentation in this function.
6401 (widget-documentation-string-indent-to): New function.
6402 (widget-documentation-string-value-create): Use it.
6404 * autorevert.el (auto-revert):
6405 * epg-config.el (epg):
6406 * ibuffer.el (ibuffer):
6409 * eshell/eshell.el (eshell):
6410 * net/ange-ftp.el (ange-ftp):
6411 * progmodes/ebnf2ps.el (postscript):
6412 * progmodes/flymake.el (flymake):
6413 * progmodes/prolog.el (prolog):
6414 * progmodes/verilog-mode.el (verilog-mode):
6415 * progmodes/which-func.el (which-func):
6416 * term/xterm.el (xterm):
6417 * textmodes/picture.el (picture):
6418 * textmodes/tildify.el (tildify):
6419 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6420 customization buffers.
6422 2012-04-22 Alan Mackenzie <acm@muc.de>
6424 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6425 Adding a ) can hide the resulting (..) from searches. Fix it.
6426 Bound the backward search to the position of the existing (.
6428 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
6430 * progmodes/verilog-mode.el (verilog-mode): Check whether
6431 which-func-modes is t before adding verilog-mode.
6432 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6434 2012-04-21 Leo Liu <sdl.web@gmail.com>
6436 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6438 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6440 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6441 filling of the last column of a table (Bug#5635).
6442 (woman-find-next-control-line): New arg, specifying an additional
6443 regexp component for the control line.
6444 (woman2-roff-buffer): Use it.
6445 (woman-break-table): New function.
6446 (woman2-TS): Use it.
6448 2012-04-21 Chong Yidong <cyd@gnu.org>
6450 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6451 (woman-horizontal-escapes, woman-negative-vertical-space)
6452 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6453 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6455 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * minibuffer.el (completion-file-name-table): Complete user names.
6459 2012-04-20 Leo Liu <sdl.web@gmail.com>
6461 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6464 2012-04-20 Chong Yidong <cyd@gnu.org>
6466 * server.el (server-execute): Respect initial-buffer-choice if it
6467 is a string and there are no files to open (Bug#2825).
6468 (server-create-window-system-frame, server-create-tty-frame):
6469 Don't switch buffers here.
6470 (server-process-filter): Only try to open a window system frame if
6471 compiled with graphical support (Bug#8314).
6473 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6475 * battery.el (battery-echo-area-format): Display remaining time
6476 for sysfs backend too (Bug#11269).
6477 (battery-linux-sysfs): Fix conditional for the charge.
6479 2012-04-20 Chong Yidong <cyd@gnu.org>
6481 * progmodes/gdb-mi.el (gdb): Revert previous change.
6482 (gdb-inferior-io--init-proc): New function.
6483 (gdb-init-1): Use it.
6484 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6485 responsible for allocating a new pty and hooking it to gdb when
6486 the old pty gets an EIO due to process exit.
6487 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6488 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6489 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6491 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6493 * window.el (window-min-size, window-sizable, window-min-delta)
6494 (window-max-delta, window--resizable, window-resizable)
6495 (window-total-size, window-full-height-p, window-full-width-p)
6496 (window-in-direction, window--resize-mini-window, window-resize)
6497 (window--resize-child-windows-normal)
6498 (window--resize-child-windows, window--resize-siblings)
6499 (window--resize-this-window, adjust-window-trailing-edge)
6500 (enlarge-window, shrink-window): Doc fixes.
6502 2012-04-20 Chong Yidong <cyd@gnu.org>
6504 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6505 New function to call delete-process on the gdb-inferior buffer's pty.
6506 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6507 pty process (Bug#11273).
6508 (gdb-update): New arg to suppress talking to the gdb process.
6509 (gdb-done-or-error): Use it.
6510 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6511 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6512 sentinel not being called.
6514 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6516 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6518 2012-04-20 Glenn Morris <rgm@gnu.org>
6520 * net/network-stream.el (open-network-stream): Doc fix.
6522 2012-04-20 Chong Yidong <cyd@gnu.org>
6524 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6526 2012-04-20 Alan Mackenzie <acm@muc.de>
6528 Ensure searching for keywords is case sensitive.
6530 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6531 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6532 (c-defun-name, c-mark-function, c-cpp-define-name)
6533 (c-comment-indent, c-scan-conditionals, c-indent-defun)
6534 (c-context-line-break): Bind case-fold-search to nil.
6536 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6537 Bind case-fold-search to nil.
6539 2012-04-20 Chong Yidong <cyd@gnu.org>
6541 * mail/sendmail.el (mail-bury): Call return action with the right
6542 Rmail buffer (Bug#11242).
6544 * server.el (server-process-filter): Handle corner case where both
6545 tty and nowait options are present (Bug#11102).
6547 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6549 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6550 (top level): Put into the executable the ident-style '$Id:' tag on
6553 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6555 * electric.el (electric-indent-post-self-insert-function): Check that
6556 electric-indent-mode is enabled in current buffer.
6558 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6560 * imenu.el (imenu-progress-message): Restore; it is "used" in
6561 erc/erc-imenu.el and net/snmp-mode.el.
6563 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6565 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6566 (mouse-avoidance-nudge-mouse): Remove unused binding.
6568 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6570 * descr-text.el (describe-char):
6571 * progmodes/python.el (python-describe-symbol):
6572 Don't call `toggle-read-only', set `buffer-read-only'.
6574 * imenu.el (imenu-default-goto-function): Mark unused args.
6575 (imenu-progress-message): Remove obsolete macro; all callers changed.
6577 * subr.el (keymap-canonicalize): Remove unused binding.
6578 (read-passwd): Mark unused arg.
6580 * tutorial.el (tutorial--display-changes): Remove unused binding.
6581 (tutorial--save-tutorial-to): Remove unused variable.
6583 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6584 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6585 (package-generate-autoloads, package-menu--generate)
6586 (package-menu--find-upgrades): Remove unused bindings.
6588 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6589 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6590 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6591 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6592 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6593 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6594 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6595 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6596 (cua-delete-char-rectangle): Mark unused args.
6597 (cua-align-rectangle): Remove unused binding.
6599 * mail/rmail.el (compilation--message->loc)
6600 (epa--find-coding-system-for-mime-charset): Declare.
6602 * net/dbus.el (dbus-register-service): Declare.
6603 (dbus-name-owner-changed-handler): Remove unused binding.
6605 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6606 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6607 (nxml-scan-backward-within): Mark unused arg.
6608 (nxml-dynamic-markup-word): Remove unused binding.
6610 * mouse.el (mouse-menu-major-mode-map):
6611 * emacs-lisp/authors.el (authors-scan-change-log)
6612 (authors-add-to-author-list):
6613 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6614 * emacs-lisp/smie.el (smie-auto-fill):
6615 * mail/sendmail.el (mail-bury):
6616 * mail/unrmail.el (unrmail):
6617 * net/tls.el (open-tls-stream):
6618 * textmodes/picture.el (picture-mouse-set-point):
6619 Remove unused bindings.
6621 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
6623 * net/tramp.el (tramp-action-password): Let-bind
6624 `enable-recursive-minibuffers' to t.
6626 2012-04-18 Sam Steingold <sds@gnu.org>
6628 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6629 instead of 'string to accommodate values like [f11].
6630 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6631 * progmodes/gdb-mi.el: Likewise.
6633 2012-04-18 Leo Liu <sdl.web@gmail.com>
6635 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6637 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6640 2012-04-18 Chong Yidong <cyd@gnu.org>
6642 * simple.el (line-move): Use forward-line if in batch mode
6645 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6647 * files.el (after-find-file): Do not try to add a final newline if
6648 the buffer is read-only (Bug#11156).
6650 2012-04-17 Richard Stallman <rms@gnu.org>
6652 * mail/rmail.el (rmail-start-mail):
6653 Pass (rmail-mail-return...) for the return-action.
6654 Pass (rmail-yank-current-message...) for the yank-action.
6655 (rmail-yank-current-message): New function.
6656 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6657 (rmail-reply): Likewise.
6658 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6660 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
6661 buffer, not the last. Reject temp buffers. Use the rmail-mode
6664 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
6666 * server.el (server-ensure-safe-dir): Simplify.
6668 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * emacs-lisp/smie.el: Provide smarter auto-filling.
6671 (smie-auto-fill): New function.
6672 (smie-setup): Use it.
6674 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6676 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
6678 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6679 (comment-indent): Use it.
6681 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
6683 * ses.el: The overall change is to add cell renaming, that is
6684 setting fancy names for cell symbols other than name matching
6685 "\\`[A-Z]+[0-9]+\\'" regexp .
6686 (ses-localvars): Add ses--renamed-cell-symb-list.
6687 (ses-create-cell-variable): New defun.
6688 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6689 (ses-relocate-formula): Relocate formulas only for cells the
6690 symbols of which are not renamed, i.e. symbols whose names do not
6691 match regexp "\\`[A-Z]+[0-9]+\\'".
6692 (ses-relocate-all): Relocate values only for cells the symbols of
6693 which are not renamed.
6694 (ses-load): Create cells variables as the (ses-cell ...) are read,
6695 in order to check row col consistency with cell symbol name only
6696 for cells that are not renamed.
6697 (ses-replace-name-in-formula): New defun.
6698 (ses-rename-cell): New defun.
6700 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6702 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6703 New option (bug#11118).
6704 (perl-calculate-indent): Respect it.
6706 2012-04-17 Glenn Morris <rgm@gnu.org>
6708 * dired-aux.el (dired-mark-read-string): Doc fix.
6710 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6712 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6713 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6715 2012-04-17 Glenn Morris <rgm@gnu.org>
6717 * mouse.el (mouse-drag-track):
6718 * speedbar.el (speedbar-frame-mode):
6719 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6721 2012-04-16 Leo Liu <sdl.web@gmail.com>
6723 * progmodes/python.el: Trivial cleanup.
6725 2012-04-16 Glenn Morris <rgm@gnu.org>
6727 * vc/vc.el (vc-string-prefix-p):
6728 * vc/pcvs-util.el (cvs-string-prefix-p):
6729 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6730 * mpc.el (mpc-string-prefix-p):
6731 Make all of these into obsolete aliases for string-prefix-p.
6733 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6735 * textmodes/two-column.el: Move custom options to the start.
6736 (frame-width): Remove compat definition.
6737 (2C-associate-buffer, 2C-dissociate):
6738 Use with-current-buffer rather than save-excursion.
6739 (2C-dissociate): Force a mode-line update.
6740 (2C-autoscroll): Use ignore-errors.
6742 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6745 * emacs-lisp/cl-extra.el (*random-state*):
6746 Remove unnecessary declaration.
6748 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6750 * play/cookie1.el (cookie-snarf):
6751 Give an explicit error if input file cannot be read.
6753 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6755 * progmodes/perl-mode.el (c-macro-expand):
6756 Remove unnecessary autoload (it is in loaddefs.el).
6758 * textmodes/picture.el (picture-desired-column)
6759 (picture-update-desired-column): Convert comments to doc-strings.
6760 (picture-substitute): Remove function.
6761 (picture-mode-map): Initialize in the defvar.
6763 * woman.el: Remove eval-after-load for tar-mode.
6764 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6765 (woman-tar-extract-file): Autoload it.
6767 * frame.el (automatic-hscrolling): Make this alias obsolete.
6769 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6771 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6772 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6773 (ispell-dictionary-base-alist): Revert to original XEmacs
6774 friendly version for default. [:alpha:] will be added in
6775 `ispell-set-spellchecker-params' if needed.
6777 2012-04-16 Chong Yidong <cyd@gnu.org>
6779 * image.el (imagemagick--file-regexp): New variable.
6780 (imagemagick-register-types): Use it.
6781 (imagemagick-types-inhibit): Add :set function. Allow new value
6782 of t to inhibit all types.
6784 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6785 so we can preload it.
6787 * loadup.el (fboundp): Preload regexp-opt, needed by
6788 imagemagick-register-types.
6790 2012-04-15 Chong Yidong <cyd@gnu.org>
6792 * frame.el (scrolling): Remove nearly unused customization group.
6794 * scroll-all.el (scroll-all-mode): Move to windows group.
6796 2012-04-15 Chong Yidong <cyd@gnu.org>
6798 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6800 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6802 Avoid the use of ((lambda ...) ...) in lexical-binding code.
6803 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6805 2012-04-15 Glenn Morris <rgm@gnu.org>
6807 * simple.el (process-file-side-effects): Doc fix.
6809 2012-04-15 Glenn Morris <rgm@gnu.org>
6811 * international/mule-cmds.el (set-language-environment): Doc fix.
6813 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6815 * server.el (server-auth-key, server-generate-key): Doc fixes.
6816 (server-get-auth-key): Doc fix. Use `string-match-p'.
6817 (server-start): Reflow docstring.
6819 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6821 * server.el (server-generate-key): `called-interactively-p'
6822 requires a parameter.
6824 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
6826 * server.el (server-auth-key): New variable.
6827 (server-generate-key, server-get-auth-key): New function.
6828 (server-start): Use the new variable and functions to allow
6829 setting a permanent server key (bug#9423).
6831 2012-04-14 Leo Liu <sdl.web@gmail.com>
6833 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6835 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6838 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6839 Emacs uses American spelling.
6841 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6843 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6844 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6845 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6846 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6848 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6850 * progmodes/which-func.el (which-func-modes): Change default.
6852 2012-04-14 Kim F. Storm <storm@cua.dk>
6854 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6855 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6857 2012-04-14 Chong Yidong <cyd@gnu.org>
6859 * custom.el (custom-theme-set-variables): Doc fix.
6861 2012-04-14 Glenn Morris <rgm@gnu.org>
6863 * international/mule.el (set-auto-coding-for-load): Doc fix.
6865 2012-04-14 Alan Mackenzie <acm@muc.de>
6867 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6868 imenu work again for Objective C Mode. Correct the *-index values,
6869 these having been disturbed by a previous change in 2011-08.
6871 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6872 Correct two search limits.
6874 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6876 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6878 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6880 * international/characters.el: Fix sorting.
6882 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6884 * international/characters.el: Add more missing Latin case pairs.
6886 2012-04-14 Glenn Morris <rgm@gnu.org>
6888 * files.el (dir-locals-set-class-variables): Doc fix.
6890 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6892 * international/characters.el: Add set-case-syntax-pair call for
6893 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6894 counterpart. (Bug#11209)
6896 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6898 2012-04-14 Glenn Morris <rgm@gnu.org>
6900 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6902 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6904 * textmodes/ispell.el (ispell-dictionary-base-alist):
6905 Add data for Hebrew.
6907 2012-04-14 Chong Yidong <cyd@gnu.org>
6909 * net/rcirc.el (rcirc-cmd-quit):
6910 Revert 2012-03-18 change (Bug#11192).
6912 2012-04-14 Glenn Morris <rgm@gnu.org>
6914 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6916 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6918 * minibuffer.el (completion-in-region-mode-map):
6919 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6921 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6923 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6925 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6927 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6928 to allow `C-M-f' and `C-M-b' to move to the nearest path
6929 separator (bug#9511).
6931 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6933 * avoid.el: Require cl when compiling. And also move the
6934 `provide' to the end.
6936 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6938 * avoid.el (mouse-avoidance-banish-position): New variable.
6939 (mouse-avoidance-banish-destination): Use it (bug#10165).
6941 2012-04-13 Leo Liu <sdl.web@gmail.com>
6943 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6945 2012-04-13 Ken Brown <kbrown@cornell.edu>
6947 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6948 this is no longer needed now that cygstart understands file:// URLs.
6949 (browse-url-filename-alist): For the same reason, don't modify
6950 file:// URLs on Cygwin.
6952 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6954 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6955 the region on shift if the binding is already shifted (bug#11221).
6957 2012-04-12 Glenn Morris <rgm@gnu.org>
6959 * mail/mailpost.el: Move to obsolete/.
6961 2012-04-12 Drew Adams <drew.adams@oracle.com>
6963 * imenu.el (imenu--generic-function): Ignore invisible definitions
6966 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6968 * hexl.el (hexl-bits): New variable.
6969 (hexl-options): Mention the variable in the doc string.
6970 (hexl-rulerise, hexl-line-displen): New functions.
6971 (hexl-mode): Mention the new variable.
6972 (hexl-mode, hexl-current-address, hexl-current-address):
6974 (hexl-ascii-start-column): New function.
6975 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6976 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6978 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6980 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6981 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6982 the encoding, as expected by hunspell.
6984 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6986 * battery.el (battery--linux-sysfs-regexp): New const.
6987 (battery-status-function): Use it. Remove yeeloong special case.
6988 (battery-yeeloong-sysfs): Remove.
6989 (battery-echo-area-format): Remove yeeloong special case.
6991 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6994 Reported by Noah Friedman.
6996 * subr.el (read-passwd): Use read-string.
6998 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7000 * vcursor.el (vcursor-move): Increase the priority of the overlay
7003 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7005 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7006 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7008 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7010 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7011 define-minor-mode (bug#10760).
7013 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7015 * progmodes/grep.el (rgrep): Tweak the find command line so
7016 that directories matching `grep-find-ignored-files' won't be
7019 2012-04-11 Chong Yidong <cyd@gnu.org>
7021 * startup.el (command-line): Remove support for long-obsolete
7022 variable font-lock-face-attributes.
7024 2012-04-11 Glenn Morris <rgm@gnu.org>
7026 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7028 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7030 * window.el (window--state-get-1): Obey window-point-insertion-type.
7032 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7034 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7035 to previous function when point is on the first character of a
7036 function. Take care of that in `narrow-to-defun' (bug#6157).
7038 2012-04-11 Glenn Morris <rgm@gnu.org>
7040 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7041 not just file-errors.
7043 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7044 (vc-bzr-sha1): Use internal sha1.
7046 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7048 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7050 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7052 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7053 that start in the middle of the line (bug#10496).
7055 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7057 * battery.el (battery-linux-proc-acpi): Only one battery is
7058 discharged at a time, but that seems to confuse battery.el when
7059 computing `rate-type' for the battery not being discharged
7062 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7066 * international/quail.el: Use dolist and simplify.
7067 (quail-define-package, quail-update-keyboard-layout)
7068 (quail-define-rules): Use dolist.
7069 (quail-insert-kbd-layout, quail-get-translation): CSE.
7071 * tmm.el: Use dolist, remove left over hook.
7072 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7074 (calendar-load-hook): Don't mess with it.
7076 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7077 Use derived-mode-p. Run the diff asynchronously.
7079 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7081 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7083 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7085 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7086 (list-dynamic-libraries--loaded): New function.
7087 (list-dynamic-libraries--refresh): Use it.
7089 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7091 * progmodes/python.el (python-fill-paragraph):
7092 Make python-fill-region in a multiline string work when font-lock is
7093 disabled (bug#7018).
7095 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7097 * language/european.el (cp775): Add oem/legacy (en)coding on
7098 DOS/MS Windows for the Baltic languages. There are still plenty
7099 of texts written in this encoding/codepage (bug#6519).
7101 2012-04-10 Glenn Morris <rgm@gnu.org>
7103 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7104 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7106 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7108 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7109 next-line "n" and previous-line "p" in order to make recentf more
7110 consistent with ibuffer, dired or org-mode (bug#9387).
7112 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7114 * image.el (put-image): Return the overlay created instead of the
7115 optional input string (bug#7834). Note that this may break code
7116 that is (for some reason or other) depending on `put-image'
7117 returning the string.
7119 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7121 * simple.el (zap-to-char): Allow zapping using input methods
7124 * textmodes/fill.el (fill-region): Leave point and mark where they
7125 were before filling (bug#5399).
7127 2012-04-09 Glenn Morris <rgm@gnu.org>
7129 * version.el (emacs-bzr-get-version):
7130 Handle lightweight checkouts of local branches.
7132 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7134 * international/characters.el: Recover lost case pairs. (Bug#11209)
7136 2012-04-09 Chong Yidong <cyd@gnu.org>
7138 * custom.el (custom-variable-p): Return nil for non-symbol
7139 arguments instead of signaling an error.
7140 (user-variable-p): Obsolete alias for custom-variable-p.
7142 * apropos.el (apropos-variable):
7143 * files-x.el (read-file-local-variable):
7144 * simple.el (set-variable):
7145 * woman.el (woman-mini-help):
7146 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7148 2012-04-09 Glenn Morris <rgm@gnu.org>
7150 * startup.el (normal-top-level): Don't look for leim-list.el
7151 in places where it will not be found. (Bug#910)
7153 * international/mule-cmds.el (set-default-coding-systems):
7154 * files.el (normal-mode):
7155 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7156 This function was removed with ucs-tables.el in 2008.
7158 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7160 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7161 ispell-encoding8-command to "-i", without a trailing space.
7162 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7163 separate command-line arguments, to specify the encoding, since
7164 that's how hunspell expects it.
7166 2012-04-08 Glenn Morris <rgm@gnu.org>
7168 * loadup.el: Load bindings before cus-start.
7169 This reduces somewhat the number of "rogue" settings in emacs -Q.
7171 2012-04-07 Glenn Morris <rgm@gnu.org>
7173 * version.el (emacs-bzr-get-version): New function.
7174 (emacs-bzr-version): New variable.
7175 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7176 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7178 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7180 * international/uni-bidi.el, international/uni-category.el:
7181 * international/uni-combining.el, international/uni-decimal.el:
7182 * international/uni-decomposition.el, international/uni-digit.el:
7183 * international/uni-lowercase.el, international/uni-mirrored.el:
7184 * international/uni-name.el, international/uni-numeric.el:
7185 * international/uni-titlecase.el, international/uni-uppercase.el:
7186 Update for Unicode 6.1.
7188 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7190 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7192 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7194 * window.el (shrink-window): Mention the `window-min-height'
7195 variable in the doc string.
7197 2012-04-05 Bastien Guerry <bzg@altern.org>
7199 * color.el (color-lighten-name): Fix typo.
7201 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * server.el (server--on-display-p): New function.
7204 (server--on-display-p): Use it.
7206 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7208 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7211 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7213 * comint.el (comint--common-quoted-suffix): Check string boundary
7214 before comparing (bug#11158).
7215 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7217 2012-04-04 Chong Yidong <cyd@gnu.org>
7219 * minibuffer.el (completion-extra-properties): Doc fix.
7221 * subr.el (delayed-warnings-hook): Doc fix.
7223 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7225 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7226 selection (Bug#11159).
7227 (epa-insert-keys): Inform that the default public key will be
7228 exported if no key is selected.
7230 2012-04-04 Richard Stallman <rms@gnu.org>
7232 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7234 2012-04-03 Chong Yidong <cyd@gnu.org>
7236 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7237 mail-insert-file, not its obsolete alias mail-attach-file.
7239 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7241 * notifications.el (notifications-notify): Fix docstring.
7243 2012-04-02 Glenn Morris <rgm@gnu.org>
7245 * emacs-lisp/authors.el (authors-aliases): Another addition.
7247 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7249 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7250 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7251 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7253 2012-04-01 Chong Yidong <cyd@gnu.org>
7255 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7256 Handle root directory properly.
7257 (copy-directory): Caller changed.
7259 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7260 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7262 2012-03-31 Glenn Morris <rgm@gnu.org>
7264 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7266 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7268 * calendar/calendar.el (calendar-window-list)
7269 (calendar-hide-window): Restore. (Bug#11140)
7270 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7272 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7274 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7276 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7277 Check if file is a symlink (Bug#10489).
7279 * files.el (copy-directory): Likewise.
7281 2012-03-30 Chong Yidong <cyd@gnu.org>
7283 * image.el (imagemagick-types-inhibit)
7284 (imagemagick-register-types): Doc fix.
7286 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7288 * textmodes/ispell.el (ispell-get-extended-character-mode):
7289 Disable extended-char-mode for hunspell. hunspell does not support it
7290 and treats ~word as ordinary words in pipe mode.
7292 2012-03-30 Glenn Morris <rgm@gnu.org>
7294 * tutorial.el (help-with-tutorial): Ensure local variables don't
7295 happen to make the buffer read-only. (Bug#11127)
7297 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7299 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7300 (perl-calculate-indent): Return `noindent' in strings.
7302 2012-03-28 Sam Steingold <sds@gnu.org>
7304 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7305 instead of the broken adhockery which does not prevent calendar
7306 buffers from being displayed at random after exit.
7307 (calendar-window-list, calendar-hide-window): Remove the broken
7310 2012-03-28 Glenn Morris <rgm@gnu.org>
7312 * replace.el (query-replace-map): Doc fix.
7314 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7316 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7317 contents. (Bug#11109)
7319 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7323 (avl-tree--check, avl-tree--check-node): New funs.
7325 2012-03-27 Martin Rudalics <rudalics@gmx.at>
7327 * window.el (switch-to-visible-buffer): New option.
7328 (switch-to-prev-buffer, switch-to-next-buffer):
7329 Observe switch-to-visible-buffer. Make sure that checking for a window
7330 showing a buffer already is done on the same frame.
7332 2012-03-27 Glenn Morris <rgm@gnu.org>
7334 * startup.el (mail-host-address): Doc fix.
7336 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7341 2012-03-26 Ami Fischman <ami@fischman.org>
7343 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7345 2012-03-26 Glenn Morris <rgm@gnu.org>
7347 * files.el (save-buffers-kill-emacs): Doc fix.
7349 * startup.el (normal-top-level, command-line, command-line-1):
7350 Give them doc strings.
7352 2012-03-25 Eli Zaretskii <eliz@gnu.org>
7354 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7355 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7357 2012-03-25 Chong Yidong <cyd@gnu.org>
7359 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7360 theme if it was previously enabled before (Bug#11031).
7362 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7363 spec with custom-face-get-current-spec if its :shown-value is not
7364 determined yet (Bug#9337).
7365 (customize-create-theme, custom-theme-revert): Doc fixes.
7367 * button.el (button-at): Minor addition to docstring.
7369 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
7371 * vc/vc.el (vc-merge): Fix a prompt.
7373 2012-03-24 Chong Yidong <cyd@gnu.org>
7375 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7378 * button.el (button-at): Minor addition to docstring.
7380 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7382 * newcomment.el (comment-choose-indent): No space after BOL.
7384 2012-03-22 Sam Steingold <sds@gnu.org>
7386 * window.el (switch-to-prev-buffer): Revert last patch because the
7387 bug turned out to be an advertised feature (Elisp manual 28.14).
7389 2012-03-22 Glenn Morris <rgm@gnu.org>
7391 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7392 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7394 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7396 * net/network-stream.el (network-stream-open-starttls): Make error
7397 message under Windows be less misleading.
7399 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7401 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7402 understands (bug#9942).
7404 2012-03-22 Chong Yidong <cyd@gnu.org>
7406 * simple.el (end-of-visible-line): Handle return value of
7407 next-single-property-change properly (Bug#9371).
7409 2012-03-22 Kenichi Handa <handa@m17n.org>
7411 * international/quail.el (quail-insert-kbd-layout): Fix previous
7412 change. To avoid unwanted bidi reordering, use
7413 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7415 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7417 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7418 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7419 (ruby-beginning-of-indent): Be more careful with the difference
7420 between word-boundary and symbol boundary.
7421 (ruby-mode-syntax-table): Make : a symbol constituent.
7423 2012-03-21 Andreas Politz <politza@fh-trier.de>
7425 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7427 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7429 * progmodes/etags.el (tags-completion-at-point-function):
7432 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7434 2012-03-21 Sam Steingold <sds@gnu.org>
7436 * progmodes/etags.el (tags-completion-at-point-function):
7437 Avoid the error when point is inside the pattern.
7439 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7441 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7444 2012-03-21 Drew Adams <drew.adams@oracle.com>
7446 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7448 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7450 * ido.el (ido-set-current-directory, ido-read-internal)
7451 (ido-choose-completion-string, ido-completion-help): Handle nil
7452 value of ido-completion-buffer (Bug#11008).
7454 2012-03-21 Sam Steingold <sds@gnu.org>
7456 * window.el (switch-to-prev-buffer): Do not switch to a visible
7457 window previous buffer, just like with the frame previous buffers.
7459 2012-03-21 Chong Yidong <cyd@gnu.org>
7461 * faces.el (make-face, make-empty-face, copy-face):
7462 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7465 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7467 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7468 (widget-complete): Remove broken use of it.
7470 2012-03-20 Chong Yidong <cyd@gnu.org>
7472 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7473 Use string-width and truncate-string-width to handle arbitrary
7476 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7478 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7479 to draw rectangles, not squares. (Regression introduced by revno
7480 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7482 2012-03-18 Chong Yidong <cyd@gnu.org>
7484 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7485 it is not yet defined (for temacs).
7487 2012-03-18 Leo Liu <sdl.web@gmail.com>
7489 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7491 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7493 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7494 (ispell-choices-win-default-height, ispell-silently-savep)
7495 (ispell-dictionary-alist, ispell-encoding8-command)
7496 (ispell-check-version, ispell-aspell-find-dictionary)
7497 (ispell-valid-dictionary-list, ispell-words-keyword)
7498 (ispell-get-word, ispell-internal-change-dictionary)
7499 (ispell-region, ispell-skip-region-list)
7500 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7501 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7502 (ispell-message-text-end, ispell-message)
7503 (ispell-buffer-local-parsing): Doc fix.
7505 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
7507 * htmlfontify.el: Add support for code block fontification for ODT
7509 (hfy-optimisations): Define new option
7511 (hfy-fontify-buffer): Honor above setting.
7512 (hfy-begin-span, hfy-end-span): New routines factored out form
7513 `hfy-fontify-buffer'.
7514 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7515 that permit insertion of custom tags.
7516 (hfy-fontify-buffer): Use above handlers.
7517 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7518 (hfy-face-to-css): Re-defined to be a variable.
7519 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
7520 over multiple runs. This is made possible by having the caller let
7521 bind a special variable `hfy-user-sheet-assoc'.
7522 (htmlfontify-string): New defun.
7523 (hfy-compile-face-map): Make sure that the last char in the
7524 buffer is correctly fontified.
7525 (hfy-face-resolve-face): Whitespace only change.
7527 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7529 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7532 2012-03-16 Leo Liu <sdl.web@gmail.com>
7534 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7536 2012-03-16 Alan Mackenzie <acm@muc.de>
7538 Further optimise the handling of large macros.
7540 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7541 limit to a call of `c-literal-limits'.
7542 (c-determine-+ve-limit): New function.
7543 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7544 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7545 In CASE 5B, restrict a search limit to 500.
7546 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7548 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7549 Restrict macro bounds to +-500 from after-change's BEG END.
7551 2012-03-16 Leo Liu <sdl.web@gmail.com>
7553 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7555 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7557 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7558 `special-mode' setting of `buffer-read-only'. (Bug#11010)
7560 2012-03-16 Glenn Morris <rgm@gnu.org>
7562 * view.el (view-buffer, view-buffer-other-window)
7563 (view-buffer-other-frame): Doc fixes re special mode-class.
7565 * subr.el (eval-after-load): If named feature is provided not from
7566 a file, run after-load forms. (Bug#10946)
7568 * calendar/calendar.el (calendar-insert-at-column):
7569 Handle non-unit-width characters a bit better. (Bug#10978)
7571 2012-03-15 Chong Yidong <cyd@gnu.org>
7573 * emacs-lisp/ring.el (ring-extend): New function.
7574 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7576 * comint.el (comint-read-input-ring)
7577 (comint-add-to-input-history): Grow comint-input-ring lazily.
7579 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7581 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7582 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7584 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7585 (imenu-add-to-menubar): Don't add a redundant index.
7586 (imenu-update-menubar): Handle a dynamically composed keymap.
7588 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7590 * mail/sendmail.el (mail-encode-header):
7591 Bind rfc2047-encode-encoded-words to nil.
7593 2012-03-13 Glenn Morris <rgm@gnu.org>
7595 * calendar/calendar.el (calendar-string-spread):
7596 Handle non-unit-width characters a bit better. (Bug#10978)
7598 2012-03-13 Leo Liu <sdl.web@gmail.com>
7600 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7601 directory and file as argument (Bug#10822).
7603 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7605 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7606 For dynamically generated code, follow $PC.
7607 (gdb-disassembly-handler-custom): Handle no function name case.
7609 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7611 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7612 * emulation/ws-mode.el (ws-query-replace):
7613 * sort.el (sort-regexp-fields):
7614 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7616 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7618 * dabbrev.el: Fix cycle completion order (bug#10963).
7619 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7620 (dabbrev-completion): Don't use an obarray; provide
7621 a cycle-sort-function.
7623 2012-03-12 Leo Liu <sdl.web@gmail.com>
7625 * simple.el (kill-new): Use equal-including-properties for comparison.
7626 (kill-do-not-save-duplicates): Doc fix.
7628 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * dabbrev.el: Fix cycle completion (bug#10963).
7631 Use lexical binding and wrap to 80 columns.
7632 (dabbrev-completion): Delay computing the list of completions.
7634 2012-03-12 Kenichi Handa <handa@m17n.org>
7636 * international/quail.el (quail-insert-kbd-layout): Surround each
7637 row by LRO and PDF instead of inserting many LRMs. Pad the left
7638 and right of each non-spacing marks. Insert invisible space
7639 between lower and upper characters to prevent composition.
7641 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * minibuffer.el (minibuffer-complete): Don't get confused when the
7644 function is run twice via different commands (bug#10958).
7645 (complete-with-action): Fix docstring.
7647 2012-03-12 Chong Yidong <cyd@gnu.org>
7649 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7650 (nxml-completion-at-point-function): New function.
7651 (nxml-mode): Use it.
7652 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7654 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7655 Load generated autoloads file before byte compiling (Bug#10970).
7656 (package--make-autoloads-and-compile): New helper fun.
7658 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7660 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7662 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
7664 * autorevert.el (auto-revert-handler): Ensure, that
7665 file-readable-p is applied only for local files or in
7666 auto-revert-tail-mode.
7668 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7670 * server.el (server-eval-at): Handle non-tcp connections.
7671 Decode result string.
7673 * server.el (server-msg-size): New constant.
7674 (server-reply-print): New function.
7675 (server-eval-and-print): Use it.
7676 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7679 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7681 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7684 2012-03-11 Chong Yidong <cyd@gnu.org>
7686 * simple.el (goto-line): Doc fix (Bug#9938).
7688 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7690 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7691 when finished (Bug#10963).
7693 2012-03-11 Martin Rudalics <rudalics@gmx.at>
7695 * window.el (split-window-below): Fix bug in case where
7696 split-window-keep-point is nil (Bug#10971).
7698 2012-03-11 Juri Linkov <juri@jurta.org>
7700 * replace.el (replace-highlight): Set isearch-word to nil
7701 unconditionally. (Bug#10887)
7703 2012-03-10 Eli Zaretskii <eliz@gnu.org>
7705 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7706 mairix-replace-illegal-chars; all callers changed. Don't remove
7707 ^, ~, and = characters: they are meaningful in mairix search specs.
7708 (mairix-widget-create-query): Add usage information about mairix
7709 search forms: negating words, searching for substrings, etc.
7711 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7713 * international/fontset.el (font-encoding-alist): Add an entry for
7716 2012-03-10 Richard Stallman <rms@gnu.org>
7718 * mail/sendmail.el (mail-encode-header):
7719 Set rfc2047-encode-encoded-words.
7721 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7723 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7724 view buffer means not swapped.
7725 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7726 (rmail-write-region-annotate): Error if real text has disappeared.
7728 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7730 2012-03-10 Chong Yidong <cyd@gnu.org>
7732 * emulation/cua-rect.el (cua--init-rectangles):
7733 * emulation/cua-base.el (cua--init-keymaps):
7734 Add delete-forward-char to remappings (Bug#9666).
7736 2012-03-10 Martin Rudalics <rudalics@gmx.at>
7738 * speedbar.el (speedbar-unhighlight-one-tag-line):
7739 Avoid unhighlighting due to frame switching (Bug#10275).
7741 2012-03-10 Chong Yidong <cyd@gnu.org>
7743 * minibuffer.el (completion-in-region, completion-help-at-point):
7744 Give the completion field overlay a high priority (Bug#6830).
7746 * dired.el (dired-goto-file): Recognize absolute file name
7747 listings (Bug#7126).
7748 (dired-goto-file-1): New helper function.
7749 (dired-toggle-read-only): Inhibit warnings.
7751 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
7753 * net/dbus.el (dbus-property-handler): Return empty array if
7754 there are no properties.
7756 2012-03-09 Leo Liu <sdl.web@gmail.com>
7758 * savehist.el (savehist-printable): Stricter check for string
7761 2012-03-09 Eli Zaretskii <eliz@gnu.org>
7763 * mail/smtpmail.el (smtpmail-send-it):
7764 Bind coding-system-for-write to *-unix, so that FCC files are kept in
7767 2012-03-09 Glenn Morris <rgm@gnu.org>
7769 * files.el (dir-locals-find-file):
7770 Don't check result is regular, readable.
7771 (dir-locals-read-from-file): Demote errors.
7773 2012-03-08 Eli Zaretskii <eliz@gnu.org>
7775 * international/quail.el (quail-insert-kbd-layout):
7776 Insert invisible LRM characters before each character in a keyboard
7777 layout cell, to prevent their reordering by bidi display engine.
7778 For details, see the discussion in
7779 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7781 2012-03-08 Alan Mackenzie <acm@muc.de>
7783 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7784 the starting position; make it extend the marked region when
7785 invoked repeatedly - all under appropriate circumstances.
7786 Fixes bugs #5525, #10906.
7788 2012-03-08 Glenn Morris <rgm@gnu.org>
7790 * files.el (locate-dominating-file, dir-locals-find-file):
7791 Undo 2012-03-06 change.
7793 2012-03-07 Eli Zaretskii <eliz@gnu.org>
7795 * international/quail.el (quail-help):
7796 Force bidi-paragraph-direction be left-to-right. See discussion in
7797 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7800 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
7802 Avoid superfluous registering of signals. (Bug#10807)
7804 * notifications.el (notifications-on-action-object)
7805 (notifications-on-close-object): New defvars.
7806 (notifications-on-action-signal, notifications-on-closed-signal):
7807 Unregister the signal if not needed any longer.
7808 (notifications-notify): Register `notifications-action-signal' or
7809 `notifications-closed-signal', if :on-action or :on-close has been
7812 2012-03-07 Chong Yidong <cyd@gnu.org>
7814 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7817 2012-03-06 Glenn Morris <rgm@gnu.org>
7819 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7820 (x-disown-selection-internal, x-get-selection-internal):
7821 Doc fix (add arglist signatures). (Bug#10783)
7823 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7825 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7826 Handle breakpoints with no "type".
7828 2012-03-06 Glenn Morris <rgm@gnu.org>
7830 * files.el (locate-dominating-file): Add optional predicate argument.
7831 (dir-locals-find-file): Make use of above change.
7833 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7835 * info.el (Info-insert-dir): Also try "dir.gz".
7837 2012-03-06 Glenn Morris <rgm@gnu.org>
7839 * files.el (dir-locals-find-file):
7840 Ignore non-readable or non-regular files. (Bug#10928)
7842 * files.el (locate-dominating-file): Doc fix.
7844 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7846 * calendar/calendar.el (calendar-set-mode-line):
7847 `getenv' returns a string. (Bug#10951)
7849 2012-03-05 Leo Liu <sdl.web@gmail.com>
7851 * simple.el (backward-delete-char-untabify): Constrain point to
7854 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7856 2012-03-05 Chong Yidong <cyd@gnu.org>
7858 * simple.el (count-words): If called from Lisp, return the word
7859 count, for symmetry with `count-lines'. Arglist changed.
7860 (count-words--message): Args changed. Consolidate counting code
7861 from count-words and count-words-region.
7862 (count-words-region): Caller changed.
7863 (count-lines-region): Make it an obsolete alias.
7865 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7867 * saveplace.el (save-place-to-alist)
7868 (save-place-ignore-files-regexp): Allow value nil to disable this
7871 2012-03-04 Chong Yidong <cyd@gnu.org>
7873 * faces.el (face-spec-reset-face): For the default face, reset the
7874 attributes to default values (Bug#10748).
7876 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7879 previous patch: Check `message-send-mail-function', and not the
7880 default function (bug#10897).
7882 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7884 * notifications.el (notifications-on-action-signal)
7885 (notifications-on-closed-signal): Check for unique service name of
7886 incoming event. Fix error in removing entry.
7887 (top): Register for signals with wildcard service name.
7888 (notifications-notify): Use daemon unique service name for map entries.
7890 2012-03-04 Chong Yidong <cyd@gnu.org>
7892 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7894 2012-03-04 Glenn Morris <rgm@gnu.org>
7896 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7897 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7898 (expand-abbrev, define-abbrev-table): Doc fixes.
7900 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7902 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7903 `message-default-send-mail-function' and not `send-mail-function'
7904 when doing the prompting for `sendmail-query-once' before sending
7905 in Message buffers (bug#10897).
7907 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7908 This is inconsistent with all the other stream functions, which leave
7909 the setting up to the higher levels (if so wanted) (bug#10931).
7911 2012-03-02 Alan Mackenzie <acm@muc.de>
7913 Depessimize the handling of very large macros.
7915 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7916 (c-macro-cache-syntactic): New variables to implement a one
7917 element macro cache.
7918 (c-invalidate-macro-cache): New function.
7919 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7920 Adapt to use the new cache.
7921 (c-state-safe-place): Use better the cache of safe positions.
7922 (c-state-semi-nonlit-pos-cache)
7923 (c-state-semi-nonlit-pos-cache-limit):
7924 New variables for...
7925 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7926 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7927 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7928 Use c-state-semi-safe-place.
7930 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7931 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7933 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7935 * jka-compr.el (jka-compr-call-process):
7936 Apply `file-accessible-directory-p' only when the default directory is
7939 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7941 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7942 access of FILE2, if FILE1 does not exist.
7944 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7945 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7947 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7948 Add "PAGER=" to `process-environment'.
7950 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7952 * progmodes/sql.el: Bug fix
7953 (sql-get-login-ext): Save login values in globals.
7954 (sql-get-login): Use new version of `sql-get-login-ext'.
7955 (sql-interactive-mode): Set global `sql-connection' to nil.
7956 (sql-connect): Set global values for connection.
7957 (sql-product-interactive): Save global values as buffer local.
7959 2012-02-29 Leo Liu <sdl.web@gmail.com>
7961 * abbrev.el (define-abbrevs): Reset sys to nil.
7963 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7965 * files.el (file-equal-p): Rename from `files-equal-p'.
7966 Return nil when one or both files don't exist.
7967 (file-subdir-of-p): Now only top directory must exists,
7968 return nil if it doesn't.
7969 (copy-directory): No need to test with `file-subdir-of-p' after
7971 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7974 2012-02-28 Glenn Morris <rgm@gnu.org>
7976 * shell.el (shell-mode):
7977 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7978 * play/landmark.el (landmark-font-lock-face-O):
7979 * play/handwrite.el (handwrite):
7980 * play/gomoku.el (gomoku-O):
7981 * net/browse-url.el (browse-url-browser-display):
7982 * international/mule.el (define-charset):
7983 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7984 * filesets.el (filesets-find-file-delay):
7985 * eshell/em-xtra.el (eshell-xtra):
7986 * eshell/em-unix.el (eshell-grep):
7987 * emulation/viper.el (viper-mode):
7988 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7989 * emacs-lisp/easymenu.el (easy-menu-define):
7990 * calendar/timeclock.el (timeclock-use-display-time):
7992 * bookmark.el (bookmark-save-flag):
7993 Doc fix (standardize possessive apostrophe usage).
7995 2012-02-27 Chong Yidong <cyd@gnu.org>
7997 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7998 Fix key-binding lookup for ESC key (Bug#9146).
8000 * font-lock.el (font-lock-specified-p): Rename from
8001 font-lock-spec-present. Callers changed.
8003 2012-02-27 Daniel Hackney <dan@haxney.org>
8005 * emacs-lisp/package.el (package-compute-transaction):
8006 Handle holding a package version to t in package-load-list.
8008 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8010 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8011 (tramp-get-inode, tramp-get-device): Use cached values.
8013 2012-02-26 Alan Mackenzie <acm@muc.de>
8015 Check there is a font-lock specification before doing initial
8018 * font-core.el (font-lock-mode): Move the conditional from
8019 :after-hook to font-lock-initial-fontify.
8020 (font-lock-default-function): Move the check for a specification
8021 to font-lock-spec-present.
8023 * font-lock.el (font-lock-initial-fontify): Call ...
8024 (font-lock-spec-present): New function.
8026 2012-02-26 Jim Blandy <jimb@red-bean.com>
8028 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8029 (gdb-send): Apply it to the operand of the '-interpreter-exec
8030 console' command, so that we can pass arguments with (say) quotes
8031 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8033 2012-02-26 Chong Yidong <cyd@gnu.org>
8035 * help-fns.el (describe-function-1): Clarify description of
8036 remapping (Bug#10844).
8038 * files.el (files-equal-p): Doc fix.
8039 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8040 and quit the loop once a mismatch is found.
8042 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8044 * bs.el (bs--show-with-configuration): Don't throw an error
8045 if the window cannot be split; otherwise, subsequent calls to
8046 bs-show fail, restoring a stale window config. (Bug#10882)
8048 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8050 * term/ns-win.el (global-map): Bind ns-drag-file to
8051 ns-find-file (Bug#5855, Bug#10050).
8053 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8055 * calendar/parse-time.el (parse-time-string): Allow extractor to
8058 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8060 * net/tramp.el (tramp-file-name-for-operation):
8061 Add `files-equal-p' and `file-subdir-of-p'.
8063 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8064 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8065 Add COPY-CONTENTS argument.
8067 2012-02-25 Chong Yidong <cyd@gnu.org>
8069 Add custom groups for VC backends, for consistency with vc-bzr.
8071 * vc/vc-arch.el (vc-arch):
8072 * vc/vc-cvs.el (vc-cvs):
8073 * vc/vc-git.el (vc-git):
8074 * vc/vc-hg.el (vc-hg):
8075 * vc/vc-mtn.el (vc-mtn):
8076 * vc/vc-rcs.el (vc-rcs):
8077 * vc/vc-sccs.el (vc-sccs):
8078 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8079 All relevant defcustoms reassigned.
8081 2012-02-25 Chong Yidong <cyd@gnu.org>
8083 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8085 * term/x-win.el (x-initialize-window-system): Reduce default for
8086 x-selection-timeout to 5 seconds (Bug#8869).
8088 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8090 * files.el (files-equal-p, file-subdir-of-p): New functions.
8091 (copy-directory): Error when trying to copy a directory on itself.
8092 Add missing copy-contents arg to tramp handler.
8093 * dired-aux.el (dired-copy-file-recursive): Same.
8094 (dired-create-files): Modify destination when source is equal to
8095 dest when copying files.
8096 Return also when dest is a subdir of source. (Bug#10489)
8098 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8100 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8103 2012-02-23 Alan Mackenzie <acm@muc.de>
8105 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8106 parameter "after-hook:" to allow the expansion to run code after
8107 the execution of the mode hooks.
8109 * font-lock.el (font-lock-initial-fontify): New function extracted
8110 from font-lock-mode-internal.
8112 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8115 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8118 (completion--cache-all-sorted-completions): New function.
8119 (completion-all-sorted-completions): Use it.
8120 (completion--do-completion, minibuffer-force-complete):
8121 Use it to re-instate the flush hook.
8123 * icomplete.el (icomplete-completions): Replace last fix with a better
8126 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8128 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8129 when it might call us back infinitely (bug#10797).
8131 2012-02-23 Glenn Morris <rgm@gnu.org>
8133 * minibuffer.el (completion-category-overrides): Doc fix.
8135 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8138 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8140 2012-02-23 Glenn Morris <rgm@gnu.org>
8142 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8143 (authors-obsolete-files-regexps, authors-ignored-files)
8144 (authors-ambiguous-files, authors-renamed-files-alist):
8147 2012-02-23 Juri Linkov <juri@jurta.org>
8149 * isearch.el (isearch-occur): Sync interactive spec with occur's
8150 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8152 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8154 2012-02-22 Juri Linkov <juri@jurta.org>
8156 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8157 (ucs-insert): Doc fix. Check for hex digits in the string.
8158 Don't display `nil' in the error message. (Bug#10857)
8160 2012-02-22 Alan Mackenzie <acm@muc.de>
8162 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8164 2012-02-22 Glenn Morris <rgm@gnu.org>
8166 * ffap.el (ffap-c-path):
8167 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8169 2012-02-22 Chong Yidong <cyd@gnu.org>
8171 * custom.el (load-theme): Doc fix.
8173 2012-02-22 Glenn Morris <rgm@gnu.org>
8175 * dired-x.el (dired-guess-shell-alist-default):
8176 Remove escape sequences from nroff output. (Bug#172)
8178 2012-02-21 Glenn Morris <rgm@gnu.org>
8180 * vc/emerge.el (emerge-defvar-local):
8181 Set `permanent-local' property rather than unused `preserved'.
8183 * textmodes/picture.el (picture-delete-char): New alias.
8184 (picture-mode-map): Use it. (Bug#10860)
8185 (picture-mode): Doc fix.
8187 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8189 * newcomment.el (uncomment-region-default): Remove unused binding.
8191 2012-02-21 Glenn Morris <rgm@gnu.org>
8193 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8194 (picture-self-insert, picture-tab-chars): Doc fix.
8195 (picture-mode-map): Fix C-a, C-e.
8197 2012-02-20 Glenn Morris <rgm@gnu.org>
8199 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8201 2012-02-20 Leo Liu <sdl.web@gmail.com>
8203 * icomplete.el (icomplete-completions): Check FROM arg before
8204 passing to substring (Bug#10850).
8206 2012-02-19 Chong Yidong <cyd@gnu.org>
8208 * comint.el: Require ansi-color.
8209 (comint-output-filter-functions): Add ansi-color-process-output.
8211 * ansi-color.el: Don't set comint-output-filter-functions; it is
8212 now in the initial value defined in comint.el.
8213 (ansi-color-apply-face-function): New variable.
8214 (ansi-color-apply-on-region): Use it.
8215 (ansi-color-apply-overlay-face): New function.
8217 * shell.el (shell): No need to require ansi-color.
8218 (shell-mode): Use ansi-color-apply-face-function to highlight
8219 color escapes using font-lock-face property (Bug#10835).
8221 2012-02-19 Chong Yidong <cyd@gnu.org>
8223 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8224 mode-line formats (Bug#10839).
8226 2012-02-18 Glenn Morris <rgm@gnu.org>
8228 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8230 * mail/undigest.el (unforward-rmail-message): Doc fix.
8232 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8234 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8236 * international/characters.el (script-list): Sync with the latest
8237 Unicode Character Database.
8239 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8241 * international/titdic-cnv.el: Remove duplicate coding tag.
8242 * language/cham.el: Likewise.
8243 * language/tai-viet.el: Likewise.
8245 2012-02-18 Glenn Morris <rgm@gnu.org>
8247 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8248 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8249 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8250 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8251 * calendar/holidays.el (holiday-bahai-holidays)
8252 (calendar-holidays, list-holidays):
8253 Use utf-8 Bahá'í in doc-strings, menus, etc.
8255 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8257 * saveplace.el (save-place-ignore-files-regexp): New variable
8258 allowing for excluding files from saving their location of point.
8259 The default value matches the temporary commit message editing
8260 files from Git, SVN, Bazaar, and Mercurial.
8261 (save-place-to-alist): Use it.
8263 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8264 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * newcomment.el (uncomment-region-default): Don't leave extra space
8267 when an arg is provided (bug#8150).
8269 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8271 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8273 2012-02-17 Glenn Morris <rgm@gnu.org>
8275 * net/socks.el: Require network-stream. (Bug#10599)
8277 2012-02-17 Kenichi Handa <handa@m17n.org>
8279 * international/charprop.el:
8280 * international/uni-name.el:
8281 * international/uni-old-name.el:
8282 * international/uni-comment.el: Regenerate.
8284 2012-02-16 Glenn Morris <rgm@gnu.org>
8286 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8287 Interactively in calendar buffer, give an error if not on a date.
8289 2012-02-15 Glenn Morris <rgm@gnu.org>
8291 * shell.el (shell-delimiter-argument-list):
8292 Revert 2011-02-17 change. (Bug#8027)
8294 2012-02-15 Chong Yidong <cyd@gnu.org>
8296 * minibuffer.el (completion-at-point-functions): Doc fix.
8298 * custom.el (defcustom): Doc fix; note use of defvar.
8300 2012-02-15 Glenn Morris <rgm@gnu.org>
8302 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8305 2012-02-14 Glenn Morris <rgm@gnu.org>
8307 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8309 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8311 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8312 way the ports list is computed.
8313 (smtpmail-query-smtp-server): Prompt the user for a port number if
8314 we can't connect to any of the standard ports (bug#10810).
8316 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8318 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8320 2012-02-13 Glenn Morris <rgm@gnu.org>
8322 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8324 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8326 * net/gnutls.el (gnutls-trustfiles): New variable.
8327 (gnutls-negotiate): Use it.
8329 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8331 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8332 does its stuff if Gnus is running.
8334 2012-02-13 Alan Mackenzie <acm@muc.de>
8336 Fix a loop in c-set-fl-decl-start.
8338 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8339 c-backward-syntactic-ws actually moves backwards.
8341 2012-02-13 Leo Liu <sdl.web@gmail.com>
8343 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8344 beginning so that all \C-o chars are removed.
8346 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8348 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8350 2012-02-12 Alan Mackenzie <acm@muc.de>
8352 Fix infinite loop with long macros.
8353 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8355 2012-02-12 Chong Yidong <cyd@gnu.org>
8357 * window.el (display-buffer): Doc fix (Bug#10785).
8359 2012-02-12 Glenn Morris <rgm@gnu.org>
8361 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8362 (x-disown-selection-internal, x-get-selection-internal):
8363 Sync docs with the xselect.c versions.
8365 * allout-widgets.el: Add missing license notice.
8367 2012-02-11 Glenn Morris <rgm@gnu.org>
8369 * select.el (x-get-selection-internal, x-own-selection-internal)
8370 (x-disown-selection-internal):
8371 * x-dnd.el (x-get-selection-internal): Update declarations.
8373 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8375 * window.el (window-sides-slots):
8376 * tool-bar.el (tool-bar-position):
8377 * term/xterm.el (xterm-extra-capabilities):
8378 * ses.el (ses-self-reference-early-detection):
8379 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8380 (verilog-auto-wire-type)
8381 (verilog-auto-delete-trailing-whitespace)
8382 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8383 (verilog-auto-tieoff-declaration):
8384 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8385 (sql-oracle-statement-starters, sql-oracle-scan-on):
8386 * progmodes/prolog.el (prolog-align-comments-flag)
8387 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8388 (prolog-left-indent-regexp, prolog-paren-indent-p)
8389 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8390 (prolog-types, prolog-mode-specificators)
8391 (prolog-determinism-specificators, prolog-directives)
8392 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8393 (prolog-electric-dot-flag)
8394 (prolog-electric-dot-full-predicate-template)
8395 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8396 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8397 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8398 (prolog-program-switches, prolog-prompt-regexp)
8399 (prolog-debug-on-string, prolog-debug-off-string)
8400 (prolog-trace-on-string, prolog-trace-off-string)
8401 (prolog-zip-on-string, prolog-zip-off-string)
8402 (prolog-use-standard-consult-compile-method-flag)
8403 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8404 (prolog-imenu-max-lines, prolog-info-predicate-index)
8405 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8406 (prolog-char-quote-workaround):
8407 * progmodes/cc-vars.el (c-defun-tactic):
8408 * net/tramp.el (tramp-encoding-command-interactive)
8409 (tramp-local-end-of-line):
8410 * net/soap-client.el (soap-client):
8411 * net/netrc.el (netrc-file):
8412 * net/gnutls.el (gnutls):
8413 * minibuffer.el (completion-category-overrides)
8414 (completion-cycle-threshold)
8415 (completion-pcm-complete-word-inserts-delimiters):
8416 * man.el (Man-name-local-regexp):
8417 * mail/feedmail.el (feedmail-display-full-frame):
8418 * international/characters.el (glyphless-char-display-control):
8419 * eshell/em-ls.el (eshell-ls-date-format):
8420 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8421 (lisp-lambda-list-keyword-parameter-indentation)
8422 (lisp-lambda-list-keyword-parameter-alignment):
8423 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8424 * dired-x.el (dired-omit-verbose):
8425 * cus-theme.el (custom-theme-allow-multiple-selections):
8426 * calc/calc.el (calc-highlight-selections-with-faces)
8427 (calc-lu-field-reference, calc-lu-power-reference)
8428 (calc-note-threshold):
8429 * battery.el (battery-mode-line-limit):
8430 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8431 (archive-7z-update):
8432 * allout.el (allout-prefixed-keybindings)
8433 (allout-unprefixed-keybindings)
8434 (allout-inhibit-auto-fill-on-headline)
8435 (allout-flattened-numbering-abbreviation):
8436 * allout-widgets.el (allout-widgets-auto-activation)
8437 (allout-widgets-icons-dark-subdir)
8438 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8439 (allout-widgets-theme-dark-background)
8440 (allout-widgets-theme-light-background)
8441 (allout-widgets-item-image-properties-emacs)
8442 (allout-widgets-item-image-properties-xemacs)
8443 (allout-widgets-run-unit-tests-on-load)
8444 (allout-widgets-time-decoration-activity)
8445 (allout-widgets-hook-error-post-time)
8446 (allout-widgets-track-decoration):
8447 Add missing :version tags to new defcustoms and defgroups.
8449 * progmodes/sql.el (sql-ansi-statement-starters)
8450 (sql-oracle-statement-starters): Add custom type.
8452 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8453 (prolog-system-version): Give it a type.
8455 2012-02-11 Eli Zaretskii <eliz@gnu.org>
8457 * term/pc-win.el (x-select-text, x-selection-owner-p)
8458 (x-own-selection-internal, x-disown-selection-internal)
8459 (x-get-selection-internal): Sync doc strings and argument lists
8460 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8462 2012-02-11 Leo Liu <sdl.web@gmail.com>
8464 * progmodes/python.el (python-end-of-statement): Fix infinite
8467 2012-02-10 Glenn Morris <rgm@gnu.org>
8469 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8470 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8472 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8474 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8475 about SMTP before checking the From header.
8477 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8478 into own function for reuse by emacsbug.el.
8480 2012-02-10 Leo Liu <sdl.web@gmail.com>
8482 * subr.el (condition-case-unless-debug): Rename from
8483 condition-case-no-debug. All callers changed.
8484 (with-demoted-errors): Fix caller.
8486 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8487 * nxml/rng-valid.el (rng-do-some-validation):
8488 * emacs-lisp/package.el (package-refresh-contents)
8489 (package-menu-execute):
8490 * desktop.el (desktop-create-buffer):
8491 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8493 2012-02-10 Glenn Morris <rgm@gnu.org>
8495 * textmodes/bibtex.el:
8496 Add missing :version tags for new/changed defcustoms.
8498 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8500 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
8502 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8503 (smtpmail-via-smtp): Use it, or fall back on the From address.
8504 (smtpmail-send-it): Ditto.
8506 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8509 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8510 (byte-compile-tmp-var): New const.
8511 (byte-compile-defvar): Use it to minimize .elc size.
8512 Just use `defvar' rather than simulate it (bug#10761).
8514 2012-02-09 Glenn Morris <rgm@gnu.org>
8516 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8518 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8521 * progmodes/compile.el (compilation-error-screen-columns)
8522 (compilation-first-column, compilation-filter-start): Doc fixes.
8524 * vc/log-view.el (log-view-toggle-entry-display):
8525 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8527 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8528 (report-emacs-bug-can-use-xdg-email):
8529 (report-emacs-bug-insert-to-mailer): Doc fixes.
8530 (report-emacs-bug): Message fix.
8532 * net/browse-url.el (browse-url-can-use-xdg-open)
8533 (browse-url-xdg-open): Doc fixes.
8535 * electric.el (electric-indent-mode, electric-pair-mode)
8536 (electric-layout-rules, electric-layout-mode): Doc fixes.
8537 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8539 2012-02-08 Martin Rudalics <rudalics@gmx.at>
8541 * server.el (server-unselect-display): Don't inadvertently kill
8542 the current buffer. (Bug#10729)
8544 2012-02-08 Glenn Morris <rgm@gnu.org>
8546 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8547 (sql-list-table): Doc fixes.
8549 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8550 Comment out (does nothing).
8552 * completion.el (dynamic-completion-mode):
8553 * dirtrack.el (dirtrack-debug-mode):
8554 * electric.el (electric-layout-mode):
8555 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8556 * face-remap.el (text-scale-mode, buffer-face-mode):
8557 * iimage.el (iimage-mode):
8558 * image-mode.el (image-transform-mode):
8559 * minibuffer.el (completion-in-region-mode):
8560 * scroll-lock.el (scroll-lock-mode):
8561 * simple.el (next-error-follow-minor-mode):
8562 * tar-mode.el (tar-subfile-mode):
8563 * tooltip.el (tooltip-mode):
8564 * vcursor.el (vcursor-use-vcursor-map):
8565 * wid-browse.el (widget-minor-mode):
8566 * emulation/tpu-edt.el (tpu-edt-mode):
8567 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8568 * international/iso-ascii.el (iso-ascii-mode):
8569 * language/thai-util.el (thai-word-mode):
8570 * mail/supercite.el (sc-minor-mode):
8571 * net/goto-addr.el (goto-address-mode):
8572 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8573 * progmodes/cwarn.el (cwarn-mode):
8574 * progmodes/flymake.el (flymake-mode):
8575 * progmodes/glasses.el (glasses-mode):
8576 * progmodes/hideshow.el (hs-minor-mode):
8577 * progmodes/pascal.el (pascal-outline-mode):
8578 * textmodes/enriched.el (enriched-mode):
8579 * vc/smerge-mode.el (smerge-mode):
8580 Doc fixes (minor mode argument).
8582 2012-02-07 Eli Zaretskii <eliz@gnu.org>
8584 * ls-lisp.el (ls-lisp-sanitize): New function.
8585 (ls-lisp-insert-directory): Use it to fix or remove any elements
8586 in file-alist with missing attributes. (Bug#4673)
8588 2012-02-07 Alan Mackenzie <acm@muc.de>
8590 Fix spurious recognition of c-in-knr-argdecl.
8592 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8593 putative K&R region.
8595 2012-02-07 Alan Mackenzie <acm@muc.de>
8597 * progmodes/cc-engine.el (c-forward-objc-directive):
8598 Prevent looping in "#pragma mark @implementation".
8600 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
8602 * notifications.el (notifications-on-closed-signal): Make `reason'
8603 optional. (Bug#10744)
8605 2012-02-07 Glenn Morris <rgm@gnu.org>
8607 * emacs-lisp/easy-mmode.el (define-minor-mode):
8608 Doc fixes for the macro and the mode it defines.
8610 * image.el (imagemagick-types-inhibit): Doc fix.
8612 * cus-start.el (imagemagick-render-type): Add it.
8614 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8616 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8617 Set the default at load time, too, so that `font-lock-fontify-buffer'
8618 can be called without setting up the entire mode first. This fixes
8619 a bug in `mm-inline-text' with C MIME parts.
8621 2012-02-06 Chong Yidong <cyd@gnu.org>
8623 * simple.el (list-processes--refresh): Delete exited processes
8626 * comint.el (comint-next-prompt): next-single-char-property-change
8627 and prev-single-char-property-change never return nil (Bug#8657).
8629 * custom.el (defcustom): Doc fix (Bug#9711).
8631 2012-02-05 Chong Yidong <cyd@gnu.org>
8633 * cus-edit.el (custom-variable-reset-backup): Quote the value
8634 before storing it in the customized-value property (Bug#6712).
8635 (custom-display): Add a customization type tag.
8636 (custom-buffer-create-internal): Improve tooltip message.
8638 * wid-edit.el (widget-field-value-get): New optional arg to
8639 suppress trailing whitespace truncation.
8640 (character): Use it (Bug#2689).
8642 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8644 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8645 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8647 2012-02-05 Chong Yidong <cyd@gnu.org>
8649 * cus-edit.el (custom-variable-value-create): For mismatched
8650 types, show the current value (Bug#7600).
8652 * custom.el (defcustom): Doc fix.
8654 2012-02-05 Glenn Morris <rgm@gnu.org>
8656 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8658 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
8660 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8661 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8662 (pp-last-sexp): Use `looking-at-p'.
8664 2012-02-04 Glenn Morris <rgm@gnu.org>
8666 * files.el (revert-buffer):
8667 Doc fix (mention revert-buffer-in-progress-p).
8669 * emacs-lisp/ert-x.el (ert-simulate-command):
8670 Check deferred-action-list (which is obsolete) is bound.
8672 * subr.el (with-wrapper-hook): Doc fixes.
8674 * simple.el (filter-buffer-substring-functions)
8675 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8677 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8679 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8680 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8682 2012-02-04 Leo Liu <sdl.web@gmail.com>
8684 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8686 2012-02-04 Glenn Morris <rgm@gnu.org>
8688 * image.el (image-extension-data): Add obsolete alias.
8690 * isearch.el (isearch-update): Doc fix.
8692 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8694 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8696 2012-02-03 Glenn Morris <rgm@gnu.org>
8698 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8699 (image-animate-timeout): Doc fix.
8701 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8703 2012-02-02 Glenn Morris <rgm@gnu.org>
8705 * server.el (server-auth-dir): Doc fix.
8706 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8708 * subr.el (run-mode-hooks): Doc fix.
8710 2012-02-02 Juri Linkov <juri@jurta.org>
8712 * image-mode.el (image-toggle-display-image): Remove tautological
8713 `major-mode' from the `derived-mode-p' test.
8715 2012-02-02 Kenichi Handa <handa@m17n.org>
8717 * composite.el (compose-region): Cancel previous change.
8719 2012-02-02 Kenichi Handa <handa@m17n.org>
8721 * composite.el (compose-region, compose-string): Signal error for
8722 a null string component (Bug#6988).
8724 2012-02-01 Chong Yidong <cyd@gnu.org>
8726 * view.el (view-buffer-other-window, view-buffer-other-frame):
8727 Handle special modes like view-buffer (Bug#10650).
8728 (view-buffer): Simplify.
8730 * frame.el (set-frame-font): Tweak meaning of third argument.
8732 * dynamic-setting.el (font-setting-change-default-font):
8733 Use set-frame-font (Bug#9982).
8735 2012-02-01 Glenn Morris <rgm@gnu.org>
8737 * progmodes/compile.el (compilation-internal-error-properties):
8738 Respect compilation-first-column in the "*compilation*" buffer.
8740 * emacs-lisp/easy-mmode.el (define-minor-mode):
8741 Relax :variable's test for a named function.
8743 2012-01-31 Alan Mackenzie <acm@muc.de>
8745 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8748 2012-01-31 Chong Yidong <cyd@gnu.org>
8750 * frame.el (set-frame-font): New arg ALL-FRAMES.
8752 * menu-bar.el (menu-set-font): Use set-frame-font.
8754 * faces.el (face-spec-reset-face): Don't apply unspecified
8755 attribute values to the default face.
8757 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
8759 * progmodes/cwarn.el (cwarn): Remove dead link.
8760 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8761 Remove * from defcustom docstrings.
8762 (turn-on-cwarn-mode): Make obsolete.
8763 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8764 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8766 2012-01-31 Glenn Morris <rgm@gnu.org>
8768 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8769 Fix :variable handling of mode a symbol not equal to modefun.
8770 Allow named functions to be used as the cdr of :variable.
8772 2012-01-30 Glenn Morris <rgm@gnu.org>
8774 * emacs-lisp/authors.el (authors-fixed-entries):
8775 Remove reference to deleted file rnewspost.el.
8777 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
8779 * window.el (window-with-parameter): Remove unused variable `windows'.
8780 (window--side-check): Remove unused variable `code'.
8781 (window--resize-siblings): Remove unused variable `first'.
8782 (adjust-window-trailing-edge): Remove unused variable `failed'.
8783 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8784 Use `let', not `let*'.
8785 (balance-windows-2): Remove unused variable `found'.
8786 (window--state-put-2): Remove unused variable `splits'.
8787 (window-state-put): Remove unused variable `selected'.
8788 (same-window-p): Use `string-match-p'.
8789 (display-buffer-assq-regexp): Remove unused variable `value'.
8790 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8791 Mark argument ALIST as ignored.
8792 (pop-to-buffer): Remove unused variable `old-window'.
8794 2012-01-29 Eli Zaretskii <eliz@gnu.org>
8796 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8797 and .lzma compressed files.
8799 2012-01-29 Chong Yidong <cyd@gnu.org>
8801 * frame.el (window-system-default-frame-alist): Doc fix.
8803 * dynamic-setting.el (font-setting-change-default-font): Don't
8804 change the default face if SET-FONT argument is non-nil (Bug#9982).
8806 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8808 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8810 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
8812 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8813 breakpoints in files outside current directory (Bug#6098).
8815 2012-01-29 Chong Yidong <cyd@gnu.org>
8817 * progmodes/python.el: Require ansi-color at top-level.
8819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8820 Define and use in Emacs Lisp mode (Bug#9360).
8821 (lisp-mode-abbrev-table): Add doc.
8822 (lisp-mode-variables): Don't set local-abbrev-table.
8823 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8825 2012-01-28 Roland Winkler <winkler@gnu.org>
8827 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8829 2012-01-28 Roland Winkler <winkler@gnu.org>
8831 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8832 (bibtex-set-dialect): Use it. Either set global values of
8833 dialect-dependent variables or bind these variables buffer-locally
8835 (bibtex-mode): Call bibtex-set-dialect via
8836 hack-local-variables-hook.
8837 (bibtex-dialect): Update docstring.
8838 Add safe-local-variable predicate.
8839 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8841 (bibtex-mode-map): Define menu for each dialect.
8842 (bibtex-entry): Fix docstring.
8844 2012-01-28 Chong Yidong <cyd@gnu.org>
8846 * eshell/esh-arg.el (eshell-quote-argument): New function.
8848 * eshell/esh-ext.el (eshell-invoke-batch-file):
8849 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8850 first arg to eshell-parse-command (Bug#10523).
8852 2012-01-28 Drew Adams <drew.adams@oracle.com>
8854 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8855 `default-directory' is non-nil.
8857 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8859 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8860 line that displays system-configuration-options. (Bug#9924)
8862 2012-01-28 Drew Adams <drew.adams@oracle.com>
8864 * descr-text.el (describe-char): Show information about POS, in
8865 addition to information about the character at POS. Improve and
8866 update the doc string. Change "code point" to "code point in
8867 charset", to avoid confusion with the character's Unicode code
8868 point shown above that. (Bug#10129)
8870 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8872 * descr-text.el (describe-char): Show the raw character, not only
8873 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8874 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8877 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8879 * emacs-lisp/package.el (package-install):
8880 Run package-refresh-contents if there is no archive yet (Bug#9798).
8882 2012-01-28 Chong Yidong <cyd@gnu.org>
8884 * emacs-lisp/package.el (package-maybe-load-descriptor):
8885 New function, split from package-maybe-load-descriptor.
8886 (package-maybe-load-descriptor): Use it.
8887 (package-download-transaction): Fully load required packages
8888 inside the loop, so that `require' calls work (Bug#10593).
8889 (package-install): No need to call package-initialize now.
8891 2012-01-28 Chong Yidong <cyd@gnu.org>
8893 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8895 * tooltip.el (tooltip-mode): Doc fix.
8896 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8898 * frame.el (set-cursor-color): Doc fix (Bug#352).
8900 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8901 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8903 * cus-edit.el (custom-buffer-create-internal): Fix search button
8905 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8907 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8909 * dired.el (dired-mark-files-regexp):
8910 Include any subdirectory components. (Bug#10445)
8912 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8914 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8915 Handle [host]:port syntax. (Bug#10533)
8917 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8919 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8921 2012-01-26 Glenn Morris <rgm@gnu.org>
8923 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8924 * term.el (term-raw-escape-map): Use Control-X-prefix.
8925 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8927 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8929 * window.el (window-state-get, window--state-get-1): Don't deal
8930 with fixed-sizeness of windows. Simplify code.
8932 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8934 * window.el (window--state-get-1, window--state-put-2):
8935 Don't save and restore the mark.
8937 2012-01-25 Chong Yidong <cyd@gnu.org>
8939 * custom.el (custom-variable-p): Doc fix.
8941 2012-01-25 Glenn Morris <rgm@gnu.org>
8943 * dired.el (dired-goto-file): Handle some of the more common
8944 characters that `ls -b' escapes. (Bug#10596)
8946 * progmodes/compile.el (compilation-next-error-function):
8947 Respect compilation-first-column in the "*compilation*" buffer.
8948 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8950 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8952 2012-01-24 Glenn Morris <rgm@gnu.org>
8954 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8956 2012-01-24 Julien Danjou <julien@danjou.info>
8958 * color.el (color-rgb-to-hsl): Fix value computing.
8959 (color-hue-to-rgb): New function.
8960 (color-hsl-to-rgb): New function.
8961 (color-clamp, color-saturate-hsl, color-saturate-name)
8962 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8963 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8965 2012-01-24 Glenn Morris <rgm@gnu.org>
8967 * vc/vc-rcs.el (vc-rcs-create-tag):
8968 * vc/vc-sccs.el (vc-sccs-create-tag):
8969 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8971 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8973 * eshell/esh-util.el (eshell-read-hosts-file):
8974 Skip comment lines. (Bug#10549)
8976 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8978 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8980 * subr.el (display-delayed-warnings): Doc fix.
8981 (collapse-delayed-warnings): New function to collapse identical
8983 (delayed-warnings-hook): Add it.
8985 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8987 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8989 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8990 (tramp-default-user-alist): Don't add "pscp".
8991 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8992 property "login-as", if set. (Bug#10530)
8994 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8996 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8997 "plink1" and "psftp". (Bug#10530)
8999 2012-01-21 Kenichi Handa <handa@m17n.org>
9001 * international/mule-cmds.el (prefer-coding-system): Show a
9002 warning message if the default value of file-name-coding-system
9005 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9007 * windmove.el (windmove-reference-loc):
9008 Fix windmove-reference-loc miscalculation.
9010 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9012 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9015 2012-01-21 Glenn Morris <rgm@gnu.org>
9017 * international/mule.el (auto-coding-alist): Add .tbz.
9019 * files.el (local-enable-local-variables): Doc fix.
9020 (inhibit-local-variables-regexps): Rename from
9021 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9022 Doc fix. Add some extensions from auto-coding-alist.
9023 (inhibit-local-variables-suffixes):
9024 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9025 (inhibit-local-variables-p):
9026 New function, extracted from set-auto-mode-1.
9027 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9028 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9029 (hack-local-variables): Doc fix. Make the mode-only case
9030 respect enable-local-variables and friends.
9031 Respect inhibit-local-variables-regexps for file-locals, but
9032 not for directory-locals.
9033 (set-visited-file-name):
9034 Take account of inhibit-local-variables-regexps.
9035 Whether it applies may change as the file name is changed.
9036 * jka-cmpr-hook.el (jka-compr-install):
9037 * jka-compr.el (jka-compr-uninstall):
9038 Update for inhibit-first-line-modes-suffixes name change.
9040 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9042 * help-macro.el (make-help-screen): Temporarily restore original
9043 binding for minor-mode-map-alist (Bug#10454).
9045 2012-01-19 Julien Danjou <julien@danjou.info>
9047 * color.el (color-name-to-rgb): Use the white color to find the max
9048 color component value and return correctly computed values.
9049 (color-name-to-rgb): Add missing float conversion for max value.
9051 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9053 * window.el (window--state-get-1, window-state-get): Do not use
9054 special state value for window-persistent-parameters.
9055 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9056 (window--state-put-2): Reset all window parameters to nil before
9057 assigning values of persistent parameters.
9059 2012-01-18 Alan Mackenzie <acm@muc.de>
9061 Eliminate sluggishness and hangs in fontification of "semicolon
9064 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9065 Change value 10000 -> 3000.
9066 (c-state-safe-place): Reformulate so it doesn't stack up an
9067 infinite number of wrong entries in c-state-nonlit-pos-cache.
9068 (c-determine-limit-get-base, c-determine-limit): New functions to
9069 determine backward search limits disregarding literals.
9070 (c-find-decl-spots): Amend commenting.
9071 (c-cheap-inside-bracelist-p): New function which detects "={".
9073 * progmodes/cc-fonts.el
9074 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9076 (c-font-lock-declarations): Fix an occurrence of point being
9077 undefined. Check additionally for point being in a bracelist or
9078 near a macro invocation without a semicolon so as to avoid a
9079 fruitless time consuming search for a declarator. Give a more
9080 precise search limit for declarators using the new
9083 2012-01-18 Glenn Morris <rgm@gnu.org>
9085 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9086 (set-auto-mode): Doc fixes.
9088 2012-01-17 Glenn Morris <rgm@gnu.org>
9090 * isearch.el (search-nonincremental-instead): Fix doc typo.
9092 * dired.el (dired-insert-directory): Handle newlines in directory name.
9093 (dired-build-subdir-alist): Unescape newlines in directory name.
9095 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9097 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9098 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9099 (tramp-action-terminal): Use it. (Bug#10530)
9101 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9103 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9105 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9107 * window.el (window-state-ignored-parameters): Remove variable.
9108 (window--state-get-1): Rename argument MARKERS to IGNORE.
9109 Handle persistent window parameters. Make copy of clone-of
9110 parameter only if requested. (Bug#10348)
9111 (window--state-put-2): Install a window parameter only if it has
9112 a non-nil value or an existing parameter shall be overwritten.
9114 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9116 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9118 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9120 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9121 don't pass the (nil) value of `upnode' to string-match.
9123 2012-01-14 Chong Yidong <cyd@gnu.org>
9125 * startup.el (command-line): Fix X resource class for cursorColor.
9126 Fix values recognized by the cursorBlink resource.
9128 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9130 * epg.el (epg--make-temp-file): Avoid permission race condition
9131 when running on old Emacs versions (bug#10403).
9133 2012-01-14 Glenn Morris <rgm@gnu.org>
9135 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9137 2012-01-13 Alan Mackenzie <acm@muc.de>
9139 Fix filling for when filladapt mode is enabled.
9141 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9142 c-mask-paragraph, pass in `fill-paragraph' rather than
9143 `fill-region-as-paragraph'. (This is a reversion of a previous
9145 * progmodes/cc-mode.el (c-basic-common-init):
9146 Make fill-paragraph-handle-comment buffer local and set it to nil.
9148 2012-01-13 Glenn Morris <rgm@gnu.org>
9150 * dired.el (dired-switches-escape-p): New function.
9151 (dired-insert-directory): Use dired-switches-escape-p.
9152 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9154 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9156 2012-01-12 Glenn Morris <rgm@gnu.org>
9158 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9159 changes in adaptive-fill-regexp. (Bug#10276)
9161 2012-01-11 Alan Mackenzie <acm@muc.de>
9163 Fix Emacs bug #10463 - put `widen's around the critical spots.
9165 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9166 widen around each invocation of c-state-pp-to-literal. Remove an
9167 unused let variable.
9169 2012-01-11 Glenn Morris <rgm@gnu.org>
9171 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9174 2012-01-10 Chong Yidong <cyd@gnu.org>
9176 * net/network-stream.el (network-stream-open-starttls):
9177 Avoid emitting a confusing error message when the server gives a bad
9178 response to the capability command.
9180 2012-01-10 Glenn Morris <rgm@gnu.org>
9182 * mail/unrmail.el (unrmail): Tweak previous change.
9184 2012-01-09 Chong Yidong <cyd@gnu.org>
9186 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9188 2012-01-08 Alan Mackenzie <acm@muc.de>
9190 Optimise font locking in long enum definitions.
9192 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9193 arm to a cond form to handle enums.
9194 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9195 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9197 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9199 * files.el (move-file-to-trash): Preserve default file modes on error.
9202 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9204 * faces.el (set-face-attribute): Clarify the meaning of the nil
9207 * subr.el (with-selected-frame): Mention that the selected frame
9208 is restored (bug#9980).
9210 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9213 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9214 (password-read): Don't autoload unused function.
9216 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9218 * progmodes/which-func.el (which-func-mode): Turn into a
9219 non-interactive function and mark as obsolete (bug#10428).
9221 2012-01-06 Chong Yidong <cyd@gnu.org>
9223 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9224 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9225 functions, along with 1 and -1.
9227 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9229 * time.el (display-time-load-average)
9230 (display-time-default-load-average): Doc fixes. See the thread
9232 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9235 2012-01-06 Glenn Morris <rgm@gnu.org>
9237 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9238 has no messages. (Bug#10377)
9240 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9241 than Info-edit. (Bug#10385)
9243 * time.el (display-time-load-average, display-time-next-load-average):
9246 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9247 local setting of buffer-read-only to the input buffer. (Bug#10419)
9249 * calendar/calendar.el (calendar-mode):
9250 Locally set scroll-margin to 0. (Bug#10379)
9252 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9254 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9256 2012-01-05 Glenn Morris <rgm@gnu.org>
9258 * eshell/em-unix.el (diff-no-select): Autoload it.
9259 (eshell/diff): Use diff-no-select. (Bug#10420)
9261 2012-01-05 Chong Yidong <cyd@gnu.org>
9263 * shell.el (shell-dynamic-complete-functions): Revert last change.
9264 (shell-command-completion-function): New function.
9265 (shell-completion-vars): Use it to implement
9266 shell-completion-execonly (Bug#10417).
9268 * custom.el (enable-theme): Don't set custom-safe-themes.
9270 * cus-theme.el (custom-theme-merge-theme):
9271 Ignore custom-enabled-themes and custom-safe-themes.
9273 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9275 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9276 first prompt in `sql-interacive-mode'.
9277 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9279 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9280 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9281 context of original buffer. Invoke `sql-login-hook'.
9283 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9285 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9286 letters in cite-prefix.
9288 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9290 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9292 2012-01-03 Chong Yidong <cyd@gnu.org>
9294 * shell.el (shell-dynamic-complete-functions):
9295 Put pcomplete-completions-at-point, so as to try
9296 comint-filename-completion first (Bug#10417).
9298 2012-01-02 Richard Stallman <rms@gnu.org>
9300 * battery.el (battery-status-function):
9301 Detect when to use battery-yeeloong-sysfs.
9302 (battery-echo-area-format): Add string for Yeeloong.
9303 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9304 (battery-yeeloong-sysfs): New function.
9306 2012-01-02 Chong Yidong <cyd@gnu.org>
9308 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9309 (dirtrack): Merge code for handling relative filenames in prompt
9310 from shell-dir-cookie-watcher.
9311 (dirtrack-debug-message): New arg to avoid excess format calls.
9313 * shell.el (shell-dir-cookie-re): Variable deleted.
9314 (shell-dir-cookie-watcher): Function deleted.
9315 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9318 2012-01-01 Eli Zaretskii <eliz@gnu.org>
9320 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9321 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9324 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9326 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9328 2011-12-31 Eli Zaretskii <eliz@gnu.org>
9330 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9331 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9333 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
9335 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9336 also for alternative shells.
9337 (tramp-open-connection-setup-interactive-shell): Check, whether
9338 the shell is a busybox.
9339 (tramp-send-command): Don't suppress multiple prompts for
9340 busyboxes, it hurts.
9342 2011-12-28 Chong Yidong <cyd@gnu.org>
9344 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9345 (gdb-get-source-file): Move mode line update to
9346 gdb-get-source-file (Bug#10087).
9348 2011-12-25 Chong Yidong <cyd@gnu.org>
9350 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9351 gud-gdb-marker-filter without taking it as an argument.
9352 (gud-gdb-run-command-fetch-lines): Caller changed.
9353 (gud-gdb-completion-function): New variable.
9354 (gud-gdb-completion-at-point): Use it.
9355 (gud-gdb-completions-1): Split from gud-gdb-completions.
9357 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9358 function as separate arguments.
9359 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9360 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9361 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9362 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9363 (gdb-stopped, def-gdb-auto-update-trigger)
9364 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9365 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9367 (gud-gdbmi-completions): New function.
9368 (gdb): Use it for generating the completion table.
9370 2011-12-24 Alan Mackenzie <acm@muc.de>
9372 Introduce a mechanism to widen the region used in context font
9373 locking. Use this to protect declarations from losing their contexts.
9375 * progmodes/cc-langs.el (c-before-font-lock-functions):
9376 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9377 (c-before-context-fontification-functions): New defvar, a list of
9378 functions to be run just before context (etc.) font locking.
9380 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9381 New, functionality extracted from
9382 c-neutralize-syntax-in-and-mark-CPP.
9383 (c-in-after-change-fontification): New variable.
9384 (c-after-change): Set c-in-after-change-fontification.
9385 (c-set-fl-decl-start): Rejig its interface, so it can be called
9386 from both after-change and context fontifying.
9387 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9389 (c-standard-font-lock-fontify-region-function): New variable.
9390 (c-font-lock-fontify-region): New function.
9392 2011-12-24 Juri Linkov <juri@jurta.org>
9394 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9397 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
9399 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9400 existence of source file. (Bug#10325)
9402 2011-12-23 Alan Mackenzie <acm@muc.de>
9404 Fix unstable fontification inside templates.
9406 * progmodes/cc-langs.el (c-before-font-lock-functions):
9407 Newly created from the singular version. The (c c++ objc) entry now
9408 additionally has c-set-fl-decl-start. The other languages (apart
9409 from AWK) have that as a single entry.
9411 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9412 The functionality for "local" declarations has been extracted to
9413 c-set-fl-decl-start.
9415 * progmodes/cc-mode.el (c-common-init, c-after-change):
9416 Changes due to pluralisation of c-before-font-lock-functions.
9417 (c-set-fl-decl-start): New function, extracted from
9418 c-font-lock-enclosing-decls and enhanced.
9420 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
9422 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9424 2011-12-22 Juri Linkov <juri@jurta.org>
9426 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9428 2011-12-22 Chong Yidong <cyd@gnu.org>
9430 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9432 2011-12-21 Drew Adams <drew.adams@oracle.com>
9434 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9436 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9438 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9440 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9442 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9443 highlighting and support. Fix up comments for capitalization.
9444 (cfengine-mode-debug): New var.
9445 (cfengine3-mode): Change the modeline indicator to "CFE3".
9446 (cfengine3-font-lock-keywords): Improve defun highlighting.
9447 (cfengine2-actions): Rename from `cfengine-actions'.
9448 (cfengine2-font-lock-keywords): Rename from
9449 `cfengine-font-lock-keywords'.
9450 (cfengine2-imenu-expression): Rename from
9451 `cfengine-imenu-expression'.
9452 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9453 (cfengine2-beginning-of-defun): Rename from
9454 `cfengine-beginning-of-defun'.
9455 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9456 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9457 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9458 modeline indicator to "CFE2".
9459 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9460 (cfengine-mode-abbrevs): Mark obsolete.
9462 2011-12-21 Chong Yidong <cyd@gnu.org>
9464 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9467 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9469 * window.el (window-normalize-buffer-to-display): Remove.
9470 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9472 2011-12-19 Chong Yidong <cyd@gnu.org>
9474 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9475 Don't signal an error in a predicate function; return non-nil.
9476 (vc-dir-mark-file): Move the error here.
9477 (vc-dir-mark-unmark): If acting on the region, keep going if one
9478 of the entries cannot be marked/unmarked.
9479 (vc-dir-mark-all-files): If current entry is a directory, mark
9480 only child files, as documented.
9482 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9484 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9485 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9488 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9490 * term/ns-win.el (ns-get-selection-internal)
9491 (ns-store-selection-internal): Declare.
9492 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9493 Declare as obsolete.
9494 (ns-get-pasteboard, ns-paste-secondary):
9495 Use ns-get-selection-internal.
9496 (ns-set-pasteboard, ns-copy-including-secondary):
9497 Use ns-store-selection-internal.
9499 2011-12-17 Chong Yidong <cyd@gnu.org>
9501 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9502 (vc-deduce-fileset): Doc fix.
9504 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9506 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9508 2011-12-13 Sam Steingold <sds@gnu.org>
9510 * man.el (Man-getpage-in-background): When running under a
9511 window-system, ignore $MANWIDTH and $COLUMNS.
9513 2011-12-15 Kenichi Handa <handa@m17n.org>
9515 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9516 (setup-ethiopic-environment-internal): Comment out key-binding for
9517 ethio-toggle-punctuation.
9519 2011-12-13 Alan Mackenzie <acm@muc.de>
9521 Add the switch statement to AWK Mode.
9523 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9524 "default" to the keywords regexp.
9526 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9527 expression as the rest.
9528 (c-nonlabel-token-key): Allow string literals for AWK.
9529 Refactor for the other modes.
9531 Large brace-block initialisation makes CC Mode slow: Fix.
9532 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9533 routines. Limit backward searching in c-font-lock-enclosing.decl.
9535 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9536 pp-state and literal type in addition to the limits.
9537 (c-state-safe-place): New defun, extracted from c-state-literal-at.
9538 (c-state-literal-at): Use the above new defun.
9539 (c-slow-in-literal, c-fast-in-literal): Remove.
9540 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9542 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9543 being in a literal. Add a limit for backward searching.
9545 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9548 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9552 2011-12-13 Martin Rudalics <rudalics@gmx.at>
9554 * window.el (delete-other-windows): Use correct frame in call to
9555 window-with-parameter.
9557 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9559 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9560 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9561 (makefile-gmake-statements, makefile-makepp-statements):
9562 Use it and add new makepp keywords.
9563 (makefile-makepp-font-lock-keywords): Add new patterns.
9564 (makefile-match-function-end): Match new [...] and [[...]].
9566 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
9568 * ses.el (ses-call-printer-return, ses-cell-property-get)
9569 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9570 (ses-create-cell-variable, ses-reset-header-string)
9571 (ses-cell-set-formula, ses-repair-cell-reference-all)
9572 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9573 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9574 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9575 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9576 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9577 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9578 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9579 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9580 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9581 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9582 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9583 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9585 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9587 * ses.el: The overall change is to add cell renaming, that is
9588 setting fancy names for cell symbols other than name matching
9589 "\\`[A-Z]+[0-9]+\\'" regexp .
9590 (ses-create-cell-variable): New defun.
9591 (ses-relocate-formula): Relocate formulas only for cells the
9592 symbols of which are not renamed, i.e. symbols whose names do not
9593 match regexp "\\`[A-Z]+[0-9]+\\'".
9594 (ses-relocate-all): Relocate values only for cells the symbols of
9595 which are not renamed.
9596 (ses-load): Create cells variables as the (ses-cell ...) are read,
9597 in order to check row col consistency with cell symbol name only
9598 for cells that are not renamed.
9599 (ses-replace-name-in-formula): New defun.
9600 (ses-rename-cell): New defun.
9602 2011-12-11 Chong Yidong <cyd@gnu.org>
9604 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9605 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9607 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9609 * window.el (other-window): Fix docstring.
9611 2011-12-10 Eli Zaretskii <eliz@gnu.org>
9613 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9614 `from' or `to' address before taking its substring.
9615 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9616 encoded name is chopped in the middle of the encoded string, and
9617 thus displayed encoded.
9619 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
9621 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9623 2011-12-10 Eli Zaretskii <eliz@gnu.org>
9625 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9626 to use texinfo-update-node and commands that call it if the
9627 Texinfo file uses @node lines without next/prev/up pointers.
9628 Correct outdated description about texinfo-master-menu.
9629 (texinfo-all-menus-update, texinfo-master-menu)
9630 (texinfo-update-node, texinfo-every-node-update)
9631 (texinfo-multiple-files-update): Doc fix. Warn against updating
9632 all the @node lines.
9633 (texinfo-master-menu): Only call texinfo-update-node if the prefix
9634 argument is numeric. Explain better in the doc string what the
9635 function really does.
9636 (texinfo-insert-master-menu-list): Improve the error message
9637 displayed if there's no menu in the Top node.
9638 (Bug#2975) See also this thread:
9639 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9641 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9643 * speedbar.el (speedbar-supported-extension-expressions):
9644 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9646 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
9648 * printing.el (pr-mode-alist):
9649 * simple.el (filter-buffer-substring-functions)
9650 (completion-list-insert-choice-function):
9651 * window.el (window-with-parameter, window-atom-root)
9652 (window-sides-slots, window-size-fixed, window-min-delta)
9653 (window-max-delta, window--resize-mini-window)
9654 (window--resize-child-windows-normal, window-tree)
9655 (delete-other-windows, quit-window, split-window)
9656 (display-buffer-record-window, special-display-buffer-names)
9657 (special-display-regexps, special-display-popup-frame)
9658 (same-window-p, split-window-sensibly)
9659 (display-buffer-overriding-action, display-buffer-alist)
9660 (display-buffer-base-action, display-buffer, switch-to-buffer)
9661 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9662 (fit-window-to-buffer, recenter-positions)
9663 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9664 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9665 and remove unneeded backslashes in docstrings.
9667 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9671 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9672 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9674 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9675 when reading the makefile (bug#10116).
9677 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9679 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9682 2011-12-06 Glenn Morris <rgm@gnu.org>
9684 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9686 2011-12-06 Chong Yidong <cyd@gnu.org>
9688 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9690 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
9692 * textmodes/table.el (table-shorten-cell): Fix typo.
9694 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9696 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9698 2011-12-05 Eli Zaretskii <eliz@gnu.org>
9700 * descr-text.el (describe-char): Fix display of strong
9701 right-to-left characters and directional embeddings and overrides.
9703 * simple.el (what-cursor-position): Fix display of codepoints of
9704 strong right-to-left characters.
9706 2011-12-05 Chong Yidong <cyd@gnu.org>
9708 * faces.el (read-color): Doc fix.
9710 2011-12-05 Glenn Morris <rgm@gnu.org>
9712 * align.el (align--set-marker): Add doc-string.
9713 Don't try to move something that is not a marker. (Bug#10216)
9715 2011-12-04 Glenn Morris <rgm@gnu.org>
9717 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9718 overly zealous deletion of trailing whitespace.
9720 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
9722 * server.el (server-delete-client): On Windows, do not try to delete
9724 (server-process-filter): On Windows, treat requests for a tty frame as
9725 if they were for a GUI frame if the running server is in GUI mode.
9727 2011-12-03 Glenn Morris <rgm@gnu.org>
9729 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9731 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9733 * electric.el: Streamline electric-indent's hook.
9734 (electric-indent-chars): Revert to simple list.
9735 (electric-indent-functions): New var.
9736 (electric-indent-post-self-insert-function): Use it.
9738 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9739 there's no inferior buffer (bug#10196).
9740 (prolog-consult-compile): Don't use toggle-read-only.
9742 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
9744 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9745 interrupt. (Bug#10187)
9747 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9749 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9752 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9755 2011-12-02 Juri Linkov <juri@jurta.org>
9757 * info.el (Info-search): Display "end of manual" when Isearch
9758 reaches the end of single-file Info manual. (Bug#9918)
9760 2011-12-02 Eli Zaretskii <eliz@gnu.org>
9762 * isearch.el (isearch-message-prefix): Run the input method part
9763 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9765 2011-12-02 Juri Linkov <juri@jurta.org>
9767 * isearch.el (isearch-occur): Use `word-search-regexp' for
9769 (isearch-search-and-update): Add condition for `isearch-word' and
9770 call `word-search-regexp'. (Bug#10145)
9772 2011-12-01 Glenn Morris <rgm@gnu.org>
9774 * eshell/em-hist.el (eshell-hist-initialize):
9775 Handle eshell-history-size nil and HISTSIZE set or unset.
9776 (eshell-history-file-name, eshell-history-size): Fix custom type.
9778 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9780 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9782 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
9784 * progmodes/verilog-mode.el (verilog-pretty-expr):
9785 Rework verilog-pretty-expr to handle new assignment operators in system
9786 verilog, such as += *= and the like.
9787 (verilog-assignment-operator-re): Regular expression to find the
9788 assigment operator in a verilog assignment.
9789 (verilog-assignment-operation-re): Regular expression to find an
9790 assignment statement for pretty-expr.
9791 (verilog-in-attribute-p): Query returns true if point is in an
9792 attribute context; used to skip these for expression line up from
9794 (verilog-in-parameter-p): Query returns true if point is in an
9795 parameter definition context; used to skip these for expression
9796 line up from pretty-expr.
9797 (verilog-in-parenthesis-p): Query returns true if point is in a
9798 parenthetical expression, specifically ( ) but not [ ] or { };
9799 used by pretty-expr.
9800 (verilog-just-one-space): If there is no space, don't add one.
9801 (verilog-get-lineup-indent-2): Specifically skip just attribute
9802 contexts for expression lineup, rather than skipping all
9803 parenthetical expressions.
9804 (verilog-calculate-indent): Fix comment, and fix indent.
9805 (verilog-do-indent): Indent declarations in lists (suggested by
9807 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9809 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9812 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
9814 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9815 parameters with embedded comments. Reported by Ray Stevens.
9816 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9817 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9818 Reported by Tim Holt.
9819 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9820 instantiated by upper module causing wrong expansion until AUTOed a
9821 second time. Reported by K C Buckenmaier.
9822 (verilog-diff-auto): Fix showing .* as a difference when
9823 `verilog-auto-star-save' off. Reported by Dan Dever.
9824 (verilog-auto-reset, verilog-read-always-signals)
9825 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9826 temporary signals in reset list if
9827 verilog-auto-reset-blocking-in-non is nil, and match assignment
9828 style to each signal's assignment type, bug381.
9829 Reported by Thomas Esposito.
9830 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9831 (verilog-uvm-statement-re): Support UVM indentation and
9832 highlighting, with old OVM keywords only.
9833 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9834 Support AUTOTIEOFF creating non-wire data types.
9835 Suggested by Jonathan Greenlaw.
9836 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9837 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9838 (verilog-inject-sense, verilog-read-inst-pins)
9839 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9840 Fix mismatching parenthesis inside commented out code when deleting
9841 AUTOINST, bug383. Reported by Jonathan Greenlaw.
9842 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9843 non-numeric vector width. Reported by Alex Reed.
9844 (verilog-auto-ascii-enum): Add "onehot" option to work around not
9845 detecting signals with parameter widths. Reported by Alex Reed.
9846 (verilog-auto-delete-trailing-whitespace):
9847 With `verilog-auto-delete-trailing-whitespace' remove trailing
9848 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9849 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9850 Fix verilog-scan-cache corruption when running user AUTO expansion
9851 hooks that call indentation routines.
9852 (verilog-simplify-range-expression): Fix typo ignoring lower case
9854 (verilog-delete-auto): Fix delete-autos to also remove user created
9855 automatics, as long as they start with AUTO.
9856 (verilog-batch-diff-auto, verilog-diff-auto)
9857 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9858 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9859 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9860 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9861 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9862 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9863 is disabled and its cache will get corrupt, causing AUTOS not to
9864 expand. Instead use only -quick functions.
9865 (verilog-scan-region): Fix scanning over escaped quotes.
9866 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9867 (verilog-re-search-backward-quick)
9868 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9869 related functions now ignore strings, to fix misparsing of strings
9870 with magic comments embedded in them.
9871 (verilog-read-auto-template):
9872 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9873 Reported by Brad Dobbie.
9874 (verilog-read-auto-template):
9875 Fix 'verilog-auto-inst-template-numbers' with comments.
9876 Reported by Brad Dobbie.
9877 (verilog-auto-inst, verilog-auto-inst-param)
9878 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9879 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9880 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9881 debugging templates without merge conflicts, bug357.
9882 Reported by Brad Dobbie.
9883 (verilog-read-auto-template):
9884 Fix verilog-auto-inst-template-numbers with multiple templates.
9885 Reported by Brad Dobbie.
9886 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9887 abbrevs so user won't be asked to save.
9888 (verilog-read-auto-lisp-present): Fix to start at beginning of
9889 buffer in case called outside of verilog-auto.
9890 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9891 to "X-2". Reported by Matthew Myers.
9892 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9893 all inputs from module templates. Reported by Leith Johnson.
9894 (verilog-module-inside-filename-p): Fix locating programs as with
9896 (verilog-auto-inst-port): Fix vl-width expressions when using
9897 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9898 (verilog-decls-get-regs, verilog-decls-get-signals,
9899 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9900 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9901 verilog-read-decls): Combine reg and wire structures into one var
9902 structure to represent SystemVerilog concepts.
9903 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9904 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9905 (verilog-auto-wire-type, verilog-insert-definition):
9906 Add verilog-auto-wire-type and AUTOLOGIC to support using
9907 SystemVerilog "logic" keyword instead of "wire"/"reg".
9908 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9909 to declares outputs that also have assignments (presumably in an
9910 ifdef or generate if so there's not a driver conflict).
9911 Reported by Matthew Myers.
9912 (verilog-auto-declare-nettype, verilog-insert-definition):
9913 Add verilog-auto-declare-nettype to fix declarations using
9914 `default_nettype none. Reported by Julian Gorfajn.
9915 (verilog-read-always-signals-recurse, verilog-read-decls)
9916 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9917 malformed end statement, bug325. Reported by Joshua Wise and
9919 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9920 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9921 when expanding .* in interfaces, bug320.
9922 Reported by Pierre-David Pfister.
9923 (verilog-read-module-name): Fix import statements between module
9924 name and open parenthesis, bug317.
9925 Reported by Pierre-David Pfister.
9926 (verilog-simplify-range-expression): Fix simplification of
9927 multiplications inside AUTOWIRE connections, bug303.
9928 (verilog-auto-inst-port): Support parameter expansion in
9929 multidimensional arrays.
9930 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9931 after "assert property". Reported by Julian Gorfajn.
9932 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9933 with multiplication, bug303.
9934 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9935 Reported by Jan Frode Lonnum.
9937 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9939 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9940 (hfy-shell-file-name, hfy-shell):
9941 * international/fontset.el (x-decompose-font-name): Fix typos.
9943 2011-11-29 Ken Brown <kbrown@cornell.edu>
9945 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9946 (gdb-version): Remove defvar.
9947 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9948 (gdb-gud-context-command, gdb-non-stop-handler)
9949 (gdb-current-context-command, gdb-stopped): Use it.
9950 (gdb-init-1): Enable pretty printing here.
9951 (gdb-non-stop-handler): Don't enable pretty-printing here.
9952 Check to see if the target supports non-stop mode; if not, turn off
9953 non-stop mode. Use the following.
9954 (gdb-check-target-async): New defun.
9955 (gud-watch, gdb-stopped): Fix whitespace.
9956 (gdb-get-source-file): Don't try to display the source file if
9957 `gdb-main-file' is nil.
9959 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * align.el: Try to generate fewer markers (bug#10047).
9962 (align--set-marker): New macro.
9963 (align-region): Use it.
9965 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9969 2011-11-29 Chong Yidong <cyd@gnu.org>
9971 * indent.el (indent-for-tab-command, indent-according-to-mode):
9973 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9975 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9977 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9978 aware of remote file names. (Bug#10124)
9980 2011-11-29 Chong Yidong <cyd@gnu.org>
9982 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9984 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * files.el (find-file): Don't use force-same-window (bug#10144).
9987 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9988 use pop-to-buffer if the selected window can't be used.
9989 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9991 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9993 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9996 2011-11-28 Chong Yidong <cyd@gnu.org>
9998 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10000 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10002 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10003 gdb-get-source-file-list on gdb-create-source-file-list.
10005 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10007 * whitespace.el (whitespace-newline): Use a different foreground
10008 color for 16-color light-background displays.
10010 2011-11-24 Chong Yidong <cyd@gnu.org>
10012 * window.el (display-buffer--special-action): Doc fix.
10014 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10016 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10017 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10018 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10019 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10020 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10021 (avl-tree-stack-first):
10022 * emacs-lisp/cconv.el (cconv--analyse-use):
10023 * net/gnutls.el (gnutls-negotiate): Fix typos.
10025 2011-11-24 Glenn Morris <rgm@gnu.org>
10027 * lpr.el (lpr-windows-system, lpr-lp-system):
10028 * mail/binhex.el (binhex-begin-line):
10029 * progmodes/grep.el (grep-history, grep-find-history):
10030 * textmodes/flyspell.el:
10031 * vc/pcvs-defs.el (cvs-global-menu):
10032 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10033 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10034 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10036 * net/tls.el: Fix case of "GnuTLS".
10038 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10040 * version.el (emacs-build-system): Give it a doc-string.
10042 2011-11-24 Juri Linkov <juri@jurta.org>
10044 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10046 2011-11-24 Glenn Morris <rgm@gnu.org>
10048 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10049 if called on a non-mime message just toggle the headers. (Bug#8006)
10051 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10053 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10054 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10055 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10056 (allout-rebullet-heading, allout-open-sibtopic)
10057 (allout-toggle-current-subtree-encryption)
10058 (allout-toggle-subtree-encryption, allout-encrypt-string)
10059 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10060 (allout-distinctive-bullets-string, allout-auto-activation):
10061 * window.el (window-normalize-buffer-to-display):
10062 * progmodes/verilog-mode.el (verilog-batch-indent):
10063 * textmodes/bibtex.el (bibtex-field-braces-opt)
10064 (bibtex-field-strings-opt):
10065 * vc/cvs-status.el (cvs-tree-merge):
10068 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10070 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10071 `non-essential' to t, in order to avoid remote connections.
10073 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10075 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10076 On MS-DOS and MS-Windows, compare with loaddefs.el
10077 case-insensitively.
10079 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10081 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10083 2011-11-23 Glenn Morris <rgm@gnu.org>
10085 * paths.el (rmail-file-name): Reformat the doc-string so that it
10088 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10089 (rmail-auto-file): Ignore case in the "special" field names,
10090 as mail-fetch-field does for all others.
10092 * mail/rmail.el (rmail-forward):
10093 * mail/rmailkwd.el (rmail-set-label):
10094 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10095 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10097 * mail/rmail.el (rmail-current-message): Doc fix.
10099 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10101 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10103 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10105 2011-11-22 Glenn Morris <rgm@gnu.org>
10107 * mail/rmailmm.el (test-rmail-mime-handler)
10108 (test-rmail-mime-bulk-handler)
10109 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10111 2011-11-21 Juri Linkov <juri@jurta.org>
10113 * calc/calc.el (calc-read-key-sequence):
10114 Let-bind `input-method-function' to nil. (Bug#10018)
10116 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10118 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10119 Tell the caller that the next line needs recomputation, even
10120 though it doesn't start a sexp (bug#10094).
10122 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10124 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10126 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10128 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10129 Use force-same-window.
10131 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10133 * descr-text.el (describe-char-unicode-data):
10134 * json.el (json-string-escape):
10135 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10136 (Footnote-unicode, Footnote-style-p):
10137 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10139 2011-11-20 Chong Yidong <cyd@gnu.org>
10141 * window.el (replace-buffer-in-windows): Restore interactive spec.
10143 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10145 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10147 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10148 (byte-compile-global-not-obsolete-vars): New var.
10149 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10151 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10153 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10155 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10156 * progmodes/pascal.el (electric-pascal-equal):
10157 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10158 * xml.el (xml-substitute-special): Fix typos.
10160 2011-11-20 Glenn Morris <rgm@gnu.org>
10162 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10163 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10165 (rmail-decode-mime-charset): Mark as obsolete.
10167 * mail/rmailsum.el (rmail-message-regexp-p-1):
10168 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10169 Before using mime functions, check they are set. (Bug#10077)
10171 2011-11-19 Juri Linkov <juri@jurta.org>
10173 * info.el (Info-finder-find-node): Use `package--builtins' instead
10174 of `package-alist'. Use node names formed by the pattern "Keyword "
10175 and the keyword name.
10177 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10179 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10181 2011-11-19 Juri Linkov <juri@jurta.org>
10183 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10184 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10185 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10186 `old-history', `old-history-forward'. Add let-binding
10187 `window-selected'. Remove calls to `kill-buffer',
10188 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10189 before calling `Info-find-node', so `Info-find-node-2' will reread
10190 the Info file. Restore window positions only when `window-selected'
10193 2011-11-19 Juri Linkov <juri@jurta.org>
10195 * isearch.el (isearch-lazy-highlight-new-loop):
10196 Remove condition `(not isearch-error)'. (Bug#9918)
10198 * misearch.el (multi-isearch-search-fun): Add condition
10199 `(not bound)' to ignore lazy-highlighting search.
10200 Add the search-failed message "end of multi" when the end of
10201 multi-sequence is reached. Uncapitalize the search-failed
10202 message "Repeat for next buffer".
10204 * info.el (Info-search): Add the search-failed message
10205 "end of the manual" when the end of the manual is reached
10208 2011-11-19 Juri Linkov <juri@jurta.org>
10210 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10211 Use non-destructive `remove' instead of `delete' because
10212 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10213 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10215 2011-11-19 Juri Linkov <juri@jurta.org>
10217 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10218 to nil instead of binding `search-ring' and `regexp-search-ring'.
10221 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10223 * simple.el (line-move): Force movement by logical lines for any
10224 hscrolled window, not only when auto-hscroll-mode is on.
10225 (line-move-visual): Update doc string to that effect. (Bug#10076)
10227 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10229 * language/european.el (macintosh): Define as alias for mac-roman.
10231 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10233 * mail/rmailmm.el (rmail-mime-display-header)
10234 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10235 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10236 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10237 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10238 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10240 (rmail-mime-entity-segment): To get past the tagline, move forward
10241 2 more lines, to account for the 2 empty lines that precede and
10242 follow the line with the buttons.
10243 (rmail-mime-update-tagline): Move one more line, to get past the
10244 empty line that follows the buttons in the tagline. (Bug#9520)
10246 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10248 * window.el (window-max-delta-1, window-min-delta-1)
10249 (window-min-size-1, window-state-get-1, window-state-put-1)
10250 (window-state-put-2): Use "window--" prefix.
10252 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10254 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10255 (smie-warning-count): New var.
10256 (smie-set-prec2tab): Use it.
10257 (smie-bnf->prec2): Improve warnings. Add docstring.
10258 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10259 (smie-bnf--set-class): New function.
10260 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10263 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10264 (compilation-error-properties, compilation-move-to-column):
10265 Handle compilation-first-column while in the target buffer.
10267 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10268 Don't hardcode point-min==1.
10270 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10271 (eshell-rewrite-for-command): Remove workaround.
10272 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10273 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10274 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10276 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10278 2011-11-17 Glenn Morris <rgm@gnu.org>
10280 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10281 Ignore buffer-local generated-autoload-file if it is the same
10282 as the global value. (Bug#10049)
10284 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10286 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10287 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10288 (reftex-toc-previous-heading, reftex-toc-max-level)
10289 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10290 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10291 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10292 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10293 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10294 (reftex-toc-rename-label, reftex-toc-visit-location)
10295 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10296 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10297 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10298 leaving "*toc*" only for references to the buffer.
10300 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10302 * window.el (window-resize, delete-window, split-window):
10303 Replace window-splits by window-combination-resize.
10304 * cus-start.el (window-splits): Replace by window-combination-resize.
10306 2011-11-17 Glenn Morris <rgm@gnu.org>
10308 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10309 Make bash entry derive from sh entry, not shell entry.
10311 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
10313 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10316 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10318 * menu-bar.el (menu-bar-file-menu):
10319 * printing.el (pr-ps-utility):
10320 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10321 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10322 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10323 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10324 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10325 (icalendar--convert-cyclic-to-ical)
10326 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10327 (icalendar--convert-ical-to-diary)
10328 (icalendar--convert-recurring-to-diary)
10329 (icalendar--convert-non-recurring-all-day-to-diary)
10330 (icalendar-import-format-sample):
10331 * progmodes/idlw-shell.el (idlwave-shell-mode):
10332 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10333 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10334 (vhdl-ps-print-init): Fix typos.
10336 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10338 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10339 FSF and collapse date sequence, obscure author/maintainer email address
10340 better, remove extra version line, track relocation of author's webpage.
10342 * progmodes/python.el (python-pdbtrack-input-prompt)
10343 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10344 regular python pdb prompts. Adjustments shamelessly taken exactly as
10345 suggested in EmacsWiki page (tiny change):
10346 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10348 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10350 * expand.el (expand-pos, expand-index, expand-point):
10351 Remove redundant info from docstring.
10352 (expand-add-abbrevs): Doc fix.
10353 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10354 (expand-sample-perl-mode-expand-list): Fix typos.
10356 * net/dbus.el (dbus-event-member-name):
10357 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10358 * term/pc-win.el (msdos-create-frame-with-faces):
10359 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10361 2011-11-16 Martin Rudalics <rudalics@gmx.at>
10363 * window.el (split-window, window-state-get-1)
10364 (window-state-put-1, window-state-put-2): Rename occurrences of
10365 window-nest to window-combination-limit.
10366 * cus-start.el (window-nest): Rename to window-combination-limit.
10368 2011-11-16 Chong Yidong <cyd@gnu.org>
10370 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10371 regexp (Bug#10033).
10373 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10376 `completing-read' will remove *Completions* and will preserve
10377 current-buffer for us.
10378 (tmm-add-prompt): Users of *Completions* will always (re)set its
10380 (tmm-old-comp-map): Remove.
10382 2011-11-16 Glenn Morris <rgm@gnu.org>
10384 * mail/rmailedit.el: Require rmailmm when compiling.
10385 (rmail-old-mime-state): New declaration.
10386 (rmail-edit-current-message): If editing a mime message,
10387 edit the "raw" message from the mbox buffer.
10388 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10390 2011-11-15 Glenn Morris <rgm@gnu.org>
10392 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10393 which wasn't being used. Add optional arg to force given state.
10394 (rmail-mime): Add optional arg to force given state.
10396 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10398 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10399 * frame.el (display-mm-dimensions-alist):
10400 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10401 (outline-move-subtree-down):
10402 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10403 (newsticker--treeview-do-get-node):
10404 * net/quickurl.el (quickurl-list-buffer-name):
10405 * progmodes/dcl-mode.el (dcl-mode):
10406 * progmodes/gdb-mi.el (gdb-mapcar*):
10407 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10409 2011-11-15 Glenn Morris <rgm@gnu.org>
10411 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10412 in a boolean sense, so just make it a boolean, and fix the doc.
10413 (rmail-show-mime-function, rmail-mime-feature)
10414 (rmail-require-mime-maybe): Doc fixes.
10415 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10417 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10419 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10421 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10422 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10423 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10424 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10426 2011-11-15 Glenn Morris <rgm@gnu.org>
10428 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10429 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10430 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10431 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10432 (rmail-mime, rmail-show-mime): Doc fixes.
10434 * term/ns-win.el (mode-line-frame-identification):
10435 Leave it alone. (Bug#10051)
10437 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10439 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10440 Handle empty buffers. (Bug#9978)
10442 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
10444 * international/mule.el (define-charset):
10445 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10446 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10447 * progmodes/verilog-mode.el (verilog-backward-token):
10448 * textmodes/ispell.el (lookup-words):
10449 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10451 2011-11-14 Glenn Morris <rgm@gnu.org>
10453 * progmodes/executable.el
10454 (executable-make-buffer-file-executable-if-script-p):
10455 Handle file-modes returning nil.
10457 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10458 message - not necessary, and causes problems. (Bug#9831)
10460 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10462 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10464 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10465 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10466 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10468 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10470 * window.el (window-resize, delete-window): Use window-splits
10471 variable instead of function.
10472 (window-state-get-1, window-state-put-2, window-state-put):
10473 Don't deal with windows' splits status.
10475 2011-11-12 Glenn Morris <rgm@gnu.org>
10477 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10478 (apropos-documentation): Doc fixes.
10480 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10482 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10483 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10485 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10487 * electric.el (electric-indent-post-self-insert-function): Make it
10488 possible for a char to only indent in some circumstances.
10489 (electric-indent-mode): Simplify.
10491 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10493 * window.el (windows-with-parameter): Remove unused function.
10494 (windows-at-side): Rename to window-at-side-list.
10495 (window-check, window-atom-check, window-atom-check-1)
10496 (window-side-check, window-size-ignore, window-size-fixed-1)
10497 (window-in-direction-2): Prefix with "window--".
10498 (window-tree-1): Rename to window--subtree, fix doc-string.
10500 2011-11-11 Glenn Morris <rgm@gnu.org>
10502 * subr.el (eval-after-load): If FILE is already loaded,
10503 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10505 2011-11-10 Glenn Morris <rgm@gnu.org>
10507 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10508 Call svn via vc-svn-command rather than vc-do-command.
10509 (vc-svn-command): Add --non-interactive. (Bug#9993)
10510 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10513 Add toggle-read-only. (Bug#7292)
10514 * files.el (toggle-read-only): Mention that it should only
10515 be used interactively. (Bug#10006)
10517 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10519 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10520 Adjust regexp for OCaml warnings.
10522 * electric.el (electric-pair-post-self-insert-function): Let user
10523 turn it off buffer-locally (bug#9932).
10525 * progmodes/python.el (python-beginning-of-statement):
10526 Rewrite (bug#2703).
10528 * progmodes/compile.el: Better handle TABs (bug#9749).
10529 (compilation-internal-error-properties)
10530 (compilation-next-error-function): Obey the target buffer's
10531 compilation-error-screen-columns.
10533 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
10535 * progmodes/meta-mode.el: Remove obsolete comments.
10536 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10537 Fix typos in docstrings.
10539 2011-11-09 Martin Rudalics <rudalics@gmx.at>
10541 * window.el (window-size-fixed-p): Rewrite doc-string.
10542 (window-resizable-p): Rename to window--resizable-p. Update callers.
10543 (window--resizable): New function. Make all callers of
10544 window-resizable call window--resizable instead.
10545 (window-resizable): Rewrite in terms of window--resizable.
10547 2011-11-08 Glenn Morris <rgm@gnu.org>
10549 * progmodes/delphi.el (delphi-mode-syntax-table):
10550 Let define-derived-mode define a proper syntax table. (Bug#9994)
10552 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * window.el: Stay away from defsubst.
10555 (window-list-no-nils): Remove.
10556 (window-state-get-1, window-state-get): Use backquote instead.
10558 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10560 * emacs-lisp/find-func.el (find-function-read):
10561 Fix incorrect use of default argument in `completing-read'.
10563 2011-11-08 Martin Rudalics <rudalics@gmx.at>
10565 * window.el (display-buffer-function, special-display-function):
10566 Mention display-buffer-record-window but do not mention
10567 help-setup parameter in doc-strings.
10568 (window-min-delta): Fix doc-string typo.
10570 2011-11-08 Chong Yidong <cyd@gnu.org>
10572 * window.el (window-total-height, window-total-width): Doc fix.
10573 (window-body-size): Move from C.
10574 (window-body-height, window-body-width): Move to C.
10576 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * window.el: Make special-display like display-buffer-alist (bug#9532).
10579 (display-buffer--special-action): New function, morphed
10580 from display-buffer--special.
10581 (display-buffer): Use it to handle special-display-buffers at higher
10582 priority (just after display-buffer-alist).
10583 (display-buffer-fallback-action, display-buffer--other-frame-action)
10584 (pop-to-buffer-same-window): Remove display-buffer--special.
10586 2011-11-07 Glenn Morris <rgm@gnu.org>
10588 * calendar/cal-menu.el (cal-menu-set-date-title):
10589 Do nothing if not in a calendar. (Bug#9976)
10591 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10593 * files.el (find-file): Always use selected-window.
10595 2011-11-07 Martin Rudalics <rudalics@gmx.at>
10597 * window.el (window-combinations): Make WINDOW argument
10598 mandatory. Rewrite doc-string.
10599 (walk-window-subtree, window-atom-check, window-min-delta)
10600 (window-max-delta, window--resize-this-window)
10601 (window--resize-root-window-vertically, window-tree)
10602 (balance-windows, window-state-put): Rewrite doc-strings as to
10603 not mention the term "subwindow".
10604 (window--resize-subwindows-skip-p): Rename to
10605 window--resize-child-windows-skip-p.
10606 (window--resize-subwindows-normal): Rename to
10607 window--resize-child-windows-normal.
10608 (window--resize-subwindows): Rename to
10609 window--resize-child-windows.
10610 (window-or-subwindow-p): Rename to window--in-subtree-p.
10612 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10614 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10615 Ensure that mbox format messages end in two newlines (Bug#9974).
10617 2011-11-06 Chong Yidong <cyd@gnu.org>
10619 * window.el (window-combination-p): Function deleted; its
10620 side-effect is not used in any existing code.
10621 (window-combinations, window-combined-p): Call window-*-child
10624 2011-11-05 Chong Yidong <cyd@gnu.org>
10626 * window.el (window-valid-p): Rename from window-any-p.
10627 (window-size-ignore, window-state-get): Callers changed.
10628 (window-normalize-window): Rename from window-normalize-any-window.
10629 New arg LIVE-ONLY, replacing window-normalize-live-window.
10630 (window-normalize-live-window): Delete.
10631 (window-combination-p, window-combined-p, window-combinations)
10632 (walk-window-subtree, window-atom-root, window-min-size)
10633 (window-sizable, window-sizable-p, window-size-fixed-p)
10634 (window-min-delta, window-max-delta, window-resizable)
10635 (window-resizable-p, window-full-height-p, window-full-width-p)
10636 (window-current-scroll-bars, window-point-1, set-window-point-1)
10637 (window-at-side-p, window-in-direction, window-resize)
10638 (adjust-window-trailing-edge, maximize-window, minimize-window)
10639 (window-deletable-p, delete-window, delete-other-windows)
10640 (record-window-buffer, unrecord-window-buffer)
10641 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10642 (quit-window, split-window, window-state-put)
10643 (set-window-text-height, fit-window-to-buffer)
10644 (shrink-window-if-larger-than-buffer): Callers changed.
10646 2011-11-04 Eli Zaretskii <eliz@gnu.org>
10648 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10649 rfc2047-decode-string.
10650 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10653 * window.el (window-body-height, window-body-width): Mention in
10654 the doc string that the return values are in frame's canonical
10657 2011-11-03 Alan Mackenzie <acm@muc.de>
10659 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10660 change in cc-engine.el.
10662 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10664 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10666 2011-11-02 Martin Rudalics <rudalics@gmx.at>
10668 * window.el (quit-window): Call unrecord-window-buffer after
10669 showing another buffer in the window. (Bug#9937)
10670 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10672 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
10674 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10675 Accept status with more than 9 shelves. (Bug#9935)
10676 Reported by Colin D Bennett <colin@gibibit.com>.
10678 2011-11-01 Martin Rudalics <rudalics@gmx.at>
10680 * help.el (with-help-window): Don't reference
10681 temp-buffer-show-specifiers in doc-string.
10683 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10685 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10688 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10690 * whitespace.el: New version 13.2.2.
10691 (whitespace-newline-mode): Disable properly. Reported by Sarah
10694 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
10696 * net/newst-treeview.el: Remove "Time-stamp".
10697 (newsticker--group-manage-orphan-feeds): Do not call
10698 newsticker--treeview-tree-update.
10699 (newsticker-treeview-update, newsticker-treeview):
10700 Call newsticker--treeview-tree-update if necessary.
10702 2011-10-30 Martin Rudalics <rudalics@gmx.at>
10704 * window.el (window-iso-combination-p, window-iso-combined-p)
10705 (window-iso-combinations): Remove "iso-" infix.
10706 Suggested by Chong Yidong.
10707 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10708 (window-max-delta-1, window-resize, window--resize-siblings)
10709 (window--resize-this-window, adjust-window-trailing-edge)
10710 (split-window, balance-windows-1)
10711 (shrink-window-if-larger-than-buffer):
10712 * calendar/calendar.el (calendar-generate-window):
10713 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10715 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10717 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10718 in place (bug#9907).
10719 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10720 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10721 (eshell-structure-basic-command, eshell-rewrite-while-command)
10722 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10723 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10724 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10725 (eshell-do-pipelines-synchronously, eshell-eval-command):
10726 Use backquotes and prefer setq to set.
10727 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10728 (eshell-macrop): Use functionp.
10729 (eshell-do-eval): Handle multiple expressions in `while' body.
10731 2011-10-30 Chong Yidong <cyd@gnu.org>
10733 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10734 instead of set-mark (Bug#9810).
10736 2011-10-30 Chong Yidong <cyd@gnu.org>
10738 * window.el (split-window-below, split-window-right): Rename from
10739 split-window-above-each-other and split-window-side-by-side
10740 respectively. All callers changed.
10741 (split-window-sensibly, split-window-sensibly): Use them.
10742 (split-window-keep-point): Doc fix.
10744 * isearch.el: Add isearch-scroll property to split-window-below
10745 and split-window-right.
10747 * follow.el (follow-mode):
10748 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10749 * progmodes/ada-xref.el (ada-gdb-application):
10750 * emulation/vip.el (vip-buffer-in-two-windows):
10751 * image-dired.el (image-dired-dired-with-window-configuration):
10752 * dired-x.el (dired-do-find-marked-files):
10753 * dired.el (dired-pop-to-buffer):
10754 * bs.el (bs--show-with-configuration):
10755 * vc/emerge.el (emerge-setup-windows):
10756 * textmodes/two-column.el (2C-two-columns):
10757 * textmodes/reftex-toc.el (reftex-toc):
10758 * progmodes/gdb-mi.el (gdb-setup-windows):
10759 * progmodes/fortran.el (fortran-window-create):
10760 * net/newst-treeview.el (newsticker--treeview-window-init):
10761 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10762 * emulation/tpu-edt.el (tpu-gold-map):
10763 * emulation/crisp.el (crisp-mode-map):
10764 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10766 2011-10-29 Chong Yidong <cyd@gnu.org>
10768 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10770 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10772 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10773 forged Ispell output (Bug#7904).
10775 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10777 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10779 * doc-view.el: Avoid ugly errors about not finding nil.
10780 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10781 (doc-view-dvipdf-program, doc-view-unoconv-program)
10782 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10783 Avoid nil or absolute file name as default value.
10784 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10786 2011-10-28 Alan Mackenzie <acm@muc.de>
10788 * progmodes/cc-defs.el (c-version): -> 5.32.2.
10790 2011-10-28 Alan Mackenzie <acm@muc.de>
10792 Amend the handling of c-beginning/end-of-defun in nested declaration
10795 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10796 cc-langs.el. Change it to a defcustom.
10798 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10801 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10802 Prevent "class foo : bar" being spuriously recognized as a label.
10804 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10805 Add parameter `inclusive' (to include enclosing braces in the region).
10806 (c-widen-to-enclosing-decl-scope): New function.
10807 (c-while-widening-to-decl-block): New macro.
10808 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10809 outward for defun boundaries, and correspondingly change symbol
10810 `respect-enclosure' to `go-outward'.
10811 (c-declaration-limits): Change algorithm to report only the "innermost"
10812 defun's boundaries.
10814 2011-10-28 Deniz Dogan <deniz@dogan.se>
10816 * net/rcirc.el (rcirc-mode): Use hard newlines.
10818 2011-10-28 Alan Mackenzie <acm@muc.de>
10820 Amend to indent and fontify macros "which include their own semicolon"
10821 correctly, using the "virtual semicolon" mechanism.
10823 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10825 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10826 Recode to scan one line at a time rather than having \n and \r
10827 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10828 (c-forward-label): Amend for virtual semicolons.
10829 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10831 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10832 of the new C macros.
10834 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10835 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10836 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10837 (c-opt-cpp-macro-define): Make into a full language variable.
10838 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10839 AWK Mode (including \n, \r) removed, no longer needed.
10841 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10842 Invoke c-make-macro-with-semi-re.
10844 * progmodes/cc-vars.el (c-macro-with-semi-re):
10845 (c-macro-names-with-semicolon): New variables.
10846 (c-make-macro-with-semi-re): New function.
10848 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10850 * vc/log-edit.el: Fill empty field rather than adding new one.
10851 (log-edit-add-field): New function.
10852 (log-edit-insert-changelog): Use it.
10854 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10856 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10858 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10860 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10861 (gdb--check-interpreter): New function.
10864 2011-10-27 Glenn Morris <rgm@gnu.org>
10866 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10867 (least-positive-float, least-negative-float)
10868 (least-positive-normalized-float, least-negative-normalized-float)
10869 (float-epsilon, float-negative-epsilon):
10870 Remove unnecessary declarations.
10872 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10873 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10874 (least-positive-float, least-negative-float)
10875 (least-positive-normalized-float, least-negative-normalized-float)
10876 (float-epsilon, float-negative-epsilon): Add doc-strings,
10877 based on those in cl.texi.
10879 * files.el (set-visited-file-name): If the major-mode changed,
10880 reload the local variables. (Bug#9796)
10882 2011-10-27 Chong Yidong <cyd@gnu.org>
10884 * subr.el (change-major-mode-after-body-hook): New hook.
10885 (run-mode-hooks): Run it.
10887 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10888 Use change-major-mode-before-body-hook.
10890 * simple.el (fundamental-mode):
10891 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10892 change introducing fundamental-mode-hook.
10894 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10896 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10898 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10900 * ido.el (ido-file-name-all-completions-1): Do not require
10901 tramp.el explicitly. (Bug#7583)
10903 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * progmodes/octave-mod.el:
10906 * progmodes/octave-inf.el: Update maintainer.
10908 2011-10-26 Chong Yidong <cyd@gnu.org>
10910 * subr.el (with-wrapper-hook): Rewrite doc.
10912 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10914 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10915 filenames "/method:foo:". (Bug#9793)
10917 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10919 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10922 2011-10-24 Glenn Morris <rgm@gnu.org>
10924 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10926 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10928 * notifications.el: Add the requirement of a running D-Bus session
10929 bus to the Commentary.
10931 2011-10-24 Juri Linkov <juri@jurta.org>
10933 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10934 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10937 2011-10-24 Juri Linkov <juri@jurta.org>
10939 * info.el (Info-following-node-name-re): Add newline to the list
10940 of allowed characters for leading space. (Bug#9824)
10942 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10944 * progmodes/octave-inf.el (inferior-octave-mode-map):
10945 Fix C-c C-h binding.
10946 * progmodes/octave-mod.el (octave-help): Remove.
10948 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10950 Sync with Tramp 2.2.3.
10952 * net/tramp-cache.el (top): Pacify byte-compiler using
10953 `init-file-user' and `site-run-file'.
10955 * net/trampver.el: Update release number.
10957 2011-10-23 Chong Yidong <cyd@gnu.org>
10959 * files.el (toggle-read-only): Remove obsolete comment about
10962 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10963 for toggle-read-only. Note that this hasn't called vc-next-action
10964 since 2008-05-02, though it wasn't documented at the time.
10966 * vc/ediff-init.el (ediff-toggle-read-only-function):
10967 Use toggle-read-only.
10969 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10971 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10974 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10975 correct faulty logical expression.
10976 (c-parse-state-state, c-record-parse-state-state):
10977 (c-replay-parse-state-state): New defvar/defuns.
10978 (c-debug-parse-state): Use new functions.
10980 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10982 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10983 last fix. Use window-in-direction correctly.
10985 2011-10-21 Chong Yidong <cyd@gnu.org>
10987 * progmodes/idlwave.el (idlwave-mode):
10988 * progmodes/vera-mode.el (vera-mode): No need to set
10989 require-final-newline; that's done in prog-mode.
10990 Suggested by Stefan Monnier.
10992 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10994 * mouse.el (mouse-drag-window-above)
10995 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10996 (mouse-drag-mode-line-1, mouse-drag-header-line)
10997 (mouse-drag-vertical-line-rightward-window): Remove.
10998 (mouse-drag-line): New function.
10999 (mouse-drag-mode-line, mouse-drag-header-line)
11000 (mouse-drag-vertical-line): Call mouse-drag-line.
11001 * window.el (window-at-side-p, windows-at-side): New functions.
11003 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11005 * tar-mode.el (tar-grind-file-mode):
11006 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11008 2011-10-21 Chong Yidong <cyd@gnu.org>
11010 * progmodes/idlwave.el (idlwave-mode):
11011 * progmodes/vera-mode.el (vera-mode):
11012 Use mode-require-final-newline.
11014 2011-10-20 Glenn Morris <rgm@gnu.org>
11016 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11018 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11020 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11022 2011-10-20 Chong Yidong <cyd@gnu.org>
11024 * emulation/cua-base.el (cua-mode):
11025 * mail/footnote.el (footnote-mode):
11026 * mail/mailabbrev.el (mail-abbrevs-mode):
11027 * net/xesam.el (xesam-minor-mode):
11028 * progmodes/bug-reference.el (bug-reference-mode):
11029 * progmodes/cap-words.el (capitalized-words-mode):
11030 * progmodes/compile.el (compilation-minor-mode)
11031 (compilation-shell-minor-mode):
11032 * progmodes/gud.el (gud-tooltip-mode):
11033 * progmodes/hideif.el (hide-ifdef-mode):
11034 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11035 * progmodes/subword.el (subword-mode):
11036 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11037 * progmodes/which-func.el (which-function-mode):
11038 * term/tvi970.el (tvi970-set-keypad-mode):
11039 * term/vt100.el (vt100-wide-mode):
11040 * textmodes/flyspell.el (flyspell-mode):
11041 * textmodes/ispell.el (ispell-minor-mode):
11042 * textmodes/nroff-mode.el (nroff-electric-mode):
11043 * textmodes/paragraphs.el (use-hard-newlines):
11044 * textmodes/refill.el (refill-mode):
11045 * textmodes/reftex.el (reftex-mode):
11046 * textmodes/rst.el (rst-minor-mode):
11047 * textmodes/sgml-mode.el (html-autoview-mode)
11048 (sgml-electric-tag-pair-mode):
11049 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11050 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11051 * emulation/crisp.el (crisp-mode):
11052 * emacs-lisp/eldoc.el (eldoc-mode):
11053 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11054 minor mode behavior.
11056 2011-10-19 Juri Linkov <juri@jurta.org>
11058 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11059 the list of hard-coded chars with escape-glyph face.
11061 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11063 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11065 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11067 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11070 2011-10-19 Glenn Morris <rgm@gnu.org>
11072 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11073 Ignore ignored files. (Bug#9726)
11075 2011-10-19 Chong Yidong <cyd@gnu.org>
11077 Doc fix for minor modes, stating that an omitted argument enables
11078 the mode unconditionally when called from Lisp.
11080 * abbrev.el (abbrev-mode):
11081 * allout.el (allout-mode):
11082 * autoinsert.el (auto-insert-mode):
11083 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11084 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11085 (global-auto-revert-mode):
11086 * battery.el (display-battery-mode):
11087 * composite.el (global-auto-composition-mode)
11088 (auto-composition-mode):
11089 * delsel.el (delete-selection-mode):
11090 * desktop.el (desktop-save-mode):
11091 * dired-x.el (dired-omit-mode):
11092 * dirtrack.el (dirtrack-mode):
11093 * doc-view.el (doc-view-minor-mode):
11094 * double.el (double-mode):
11095 * electric.el (electric-indent-mode, electric-pair-mode):
11096 * emacs-lock.el (emacs-lock-mode):
11097 * epa-hook.el (auto-encryption-mode):
11098 * follow.el (follow-mode):
11099 * font-core.el (font-lock-mode):
11100 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11101 * help.el (temp-buffer-resize-mode):
11102 * hilit-chg.el (highlight-changes-mode)
11103 (highlight-changes-visible-mode):
11104 * hi-lock.el (hi-lock-mode):
11105 * hl-line.el (hl-line-mode, global-hl-line-mode):
11106 * icomplete.el (icomplete-mode):
11107 * ido.el (ido-everywhere):
11108 * image-file.el (auto-image-file-mode):
11109 * image-mode.el (image-minor-mode):
11110 * iswitchb.el (iswitchb-mode):
11111 * jka-cmpr-hook.el (auto-compression-mode):
11112 * linum.el (linum-mode):
11113 * longlines.el (longlines-mode):
11114 * master.el (master-mode):
11115 * mb-depth.el (minibuffer-depth-indicate-mode):
11116 * menu-bar.el (menu-bar-mode):
11117 * minibuf-eldef.el (minibuffer-electric-default-mode):
11118 * mouse-sel.el (mouse-sel-mode):
11119 * msb.el (msb-mode):
11120 * mwheel.el (mouse-wheel-mode):
11121 * outline.el (outline-minor-mode):
11122 * paren.el (show-paren-mode):
11123 * recentf.el (recentf-mode):
11124 * reveal.el (reveal-mode, global-reveal-mode):
11125 * rfn-eshadow.el (file-name-shadow-mode):
11126 * ruler-mode.el (ruler-mode):
11127 * savehist.el (savehist-mode):
11128 * scroll-all.el (scroll-all-mode):
11129 * scroll-bar.el (scroll-bar-mode):
11130 * server.el (server-mode):
11131 * shell.el (shell-dirtrack-mode):
11132 * simple.el (auto-fill-mode, transient-mark-mode)
11133 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11134 (line-number-mode, column-number-mode, size-indication-mode)
11135 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11136 * strokes.el (strokes-mode):
11137 * time.el (display-time-mode):
11138 * t-mouse.el (gpm-mouse-mode):
11139 * tool-bar.el (tool-bar-mode):
11140 * tooltip.el (tooltip-mode):
11141 * type-break.el (type-break-mode-line-message-mode)
11142 (type-break-query-mode):
11143 * view.el (view-mode):
11144 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11145 (global-whitespace-mode, global-whitespace-newline-mode):
11146 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11148 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11149 Fix autogenerated docstring.
11151 2011-10-19 Juri Linkov <juri@jurta.org>
11153 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11154 by checking environment variables "DESKTOP_SESSION" and
11155 "XDG_CURRENT_DESKTOP". (Bug#9779)
11157 2011-10-19 Juri Linkov <juri@jurta.org>
11159 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11160 (browse-url-chromium-program, browse-url-chromium-arguments):
11162 (browse-url-default-browser): Check for `browse-url-chromium' and
11163 call `browse-url-chromium-program'.
11164 (browse-url-chromium): New command. (Bug#9779)
11166 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11168 * facemenu.el (list-colors-duplicates): On Windows, detect more
11169 duplicates by assuming that only colors matching "^System" are
11170 special "system colors". (Bug#9722)
11172 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11175 to distinguish the author from the committer.
11177 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11179 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11181 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11183 * international/mule.el (sgml-html-meta-auto-coding-function):
11184 Add support for detecting encoding in HTML5 specified only as
11185 <meta charset="UTF-8">. Implementation just makes http-equiv and
11186 content-type parts from HTML4 encoding string optional. (Bug#9716)
11188 2011-10-18 Glenn Morris <rgm@gnu.org>
11190 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11192 2011-10-18 Chong Yidong <cyd@gnu.org>
11194 * faces.el (cursor): Doc fix.
11196 2011-10-17 Chong Yidong <cyd@gnu.org>
11198 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11200 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11202 * dirtrack.el (dirtrack): Support shell buffers with path
11203 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11205 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11207 * json.el: Bump version to 1.3 and note change in History.
11208 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11210 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11212 * comint.el (comint-insert-input, comint-send-input)
11213 (comint-get-old-input-default, comint-backward-matching-input)
11214 (comint-next-prompt): Use nil instead of `input' for field property of
11215 past user input (bug#114).
11217 * minibuffer.el (completion--replace): Inherit surrounding properties
11219 (minibuffer-complete-and-exit): Use it.
11221 * comint.el (comint--table-subvert): Quote the all-completions output
11224 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11226 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11228 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11229 window on right of selected. (Bug#9350) Reword other window
11230 entries and separate them from frame entries.
11232 2011-10-15 Glenn Morris <rgm@gnu.org>
11234 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11237 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11239 * net/network-stream.el (network-stream-open-starttls):
11240 Improve detection of failure due to lack of TLS support.
11242 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11243 putting the input text in front and in bold.
11245 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11247 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11249 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11252 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11253 unread-command-events rather than pushing yet-another event.
11255 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11257 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11258 the explanation of the possible choices. Make the options passed
11259 to completing-read shorter.
11261 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11263 * textmodes/flyspell.el (flyspell-large-region): Make sure
11264 extended character mode is used if defined (Bug#1339).
11266 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11268 * simple.el (what-cursor-position): Fix the display of the
11269 character info for LRE, LRO, RLE, and RLO characters by appending
11272 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11274 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11275 even in case of error; add debug spec; simplify data flow.
11276 (with-timeout-handler): Remove.
11278 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11280 Fix Bug#6019, Bug#9315.
11282 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11283 complete `buffer-file-name', the local file name part could look
11284 remotely (for example on VMS).
11286 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11287 `tramp-run-real-handler'.
11288 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11289 already quoted by '"'.
11291 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11292 Let `file-name-handler-alist' be nil, the local file name part
11293 could look remotely (for example on VMS).
11295 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11297 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11299 (flyspell-post-command-hook): ...to here.
11301 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11303 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11305 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11306 using completion. Protect against "slow" callers.
11307 Remove the "message hack".
11309 2011-10-11 Juri Linkov <juri@jurta.org>
11311 * isearch.el (isearch-lazy-highlight-word): New variable.
11312 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11315 2011-10-11 Glenn Morris <rgm@gnu.org>
11317 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11318 like f90-previous-statement does.
11320 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11322 * eshell/eshell.el (eshell-command): History should be saved
11323 only in interactive use, to avoid error.
11325 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11327 * minibuffer.el (completion-file-name-table): Fix last change,
11328 i.e. ignore normal errors but not the other ones.
11330 2011-10-10 Martin Rudalics <rudalics@gmx.at>
11332 * window.el (special-display-buffer-names)
11333 (special-display-regexps): Remove some remnants of earlier
11334 changes from doc-strings.
11335 (quit-windows-on): New function.
11337 * vc/vc.el (vc-revert, vc-rollback):
11338 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11339 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
11340 (Bug#6183) (Bug#7074) (Bug#7447)
11342 2011-10-09 Martin Rudalics <rudalics@gmx.at>
11344 * window.el (frame-auto-hide-function): Add version tag.
11347 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
11349 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11352 2011-10-09 Leo Liu <sdl.web@gmail.com>
11354 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11357 2011-10-08 Glenn Morris <rgm@gnu.org>
11359 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11360 before the first code statement zero indent. (Bug#9690)
11362 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
11364 * simple.el (count-words-region): Always count in the region.
11365 Report the number of lines and characters too.
11366 (count-words): New command, which counts in the buffer if the
11367 region is inactive, as count-words-region used to.
11368 (count-words--message): New function. Handle plurals.
11369 (count-lines-region): Make it an alias for count-words-region.
11371 * bindings.el (esc-map): Replace count-lines-region with
11372 count-words-region.
11374 2011-10-08 Martin Rudalics <rudalics@gmx.at>
11376 * window.el (window--delete): Delete dedicated frame
11377 unconditionally when argument KILL is non-nil. (Bug#9699)
11378 (switch-to-buffer): Fix doc-string typo.
11380 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11382 * eshell/eshell.el (eshell-command): Avoid using hooks.
11384 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
11386 * bindings.el ([M-left],[M-right]): Bind to left-word and
11387 right-word respectively.
11389 2011-10-07 Glenn Morris <rgm@gnu.org>
11391 * cus-start.el (debug-on-quit): Fix custom type.
11393 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11395 * subr.el (define-key-after): Clarify that the function is not
11396 useful for non-menu keymaps.
11398 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11400 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11402 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11403 in current minibuffer (Fix bug with recursive minibuffers).
11405 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
11407 * progmodes/gdb-mi.el (gdb): Doc fix.
11409 2011-10-05 Martin Rudalics <rudalics@gmx.at>
11411 * window.el (frame-auto-hide-function): New option replacing
11412 frame-auto-delete. Suggested by Stefan Monnier.
11413 (window--delete): Call frame-auto-hide-function instead of
11414 investigating frame-auto-delete.
11415 (window-point-1, set-window-point-1): New functions.
11416 (window-in-direction, record-window-buffer, window-state-get-1)
11417 (display-buffer-record-window): Use window-point-1 instead of
11419 (set-window-buffer-start-and-point): Use set-window-point-1.
11421 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11423 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11425 2011-10-05 Glenn Morris <rgm@gnu.org>
11427 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11428 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11430 2011-10-05 Leo Liu <sdl.web@gmail.com>
11432 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11433 works with buffer object.
11435 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11437 * mpc.el (mpc-tool-bar-map): Add labels.
11439 2011-10-04 Glenn Morris <rgm@gnu.org>
11441 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11443 2011-10-04 Martin Rudalics <rudalics@gmx.at>
11445 * window.el (window--delete): New function.
11446 (frame-auto-delete): Resuscitate option.
11447 (bury-buffer, replace-buffer-in-windows)
11448 (quit-window): Rewrite using window--delete.
11449 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11450 Pass display-buffer-mark-dedicated to window--display-buffer-2
11453 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11455 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11456 returns a list (bug#9554). Add remote file name completion.
11457 * comint.el (comint--table-subvert): Curry and get quote&unquote
11458 functions as arguments.
11459 (comint--complete-file-name-data): Adjust call accordingly.
11460 * pcomplete.el (pcomplete--table-subvert): Remove.
11461 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11463 * minibuffer.el (completion-table-case-fold): Use currying.
11464 (completion--styles-type, completion--cycling-threshold-type):
11466 (completion-styles, completion-category-overrides)
11467 (completion-cycle-threshold): Use them.
11468 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11469 completion-table-case-fold.
11471 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11473 * minibuffer.el (completion-category-overrides): Fix type of styles
11474 and add more user friendly tags (bug#9660).
11476 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11478 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11479 (mule-input-method-string): New widget.
11480 (default-input-method, language-info-custom-alist): Use it.
11482 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * pcomplete.el: Require comint.
11485 (pcomplete--common-suffix): Remove.
11486 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11487 (pcomplete--table-subvert): Sync with comint--table-subvert.
11488 (pcomplete--entries): Use comint-completion-file-name-table.
11489 * comint.el (comint-unquote-filename): Simplify.
11490 (comint-completion-file-name-table): New function (bug#9616).
11491 (comint--complete-file-name-data): Use it.
11493 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11494 (pcmpl-gnu-tar-buffer): Remove.
11495 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11496 around. Make sure pcomplete-suffix-list is only changed temporarily.
11497 Don't look inside the tar's file if it's too large.
11499 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
11501 * cus-edit.el (custom-mode-map):
11502 * epa.el (epa-key-list-mode-map):
11503 * man.el (Man-mode-map):
11504 * startup.el (splash-screen-keymap):
11505 * simple.el (special-mode-map): Use scroll-up-command and
11506 scroll-down-command.
11508 * progmodes/idlw-help.el (idlwave-help-mode-map):
11509 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11510 * net/newst-plainview.el (newsticker-mode-map):
11511 * emulation/ws-mode.el (wordstar-mode-map):
11512 * emulation/vi.el (vi-com-map):
11513 * calc/calc-graph.el (calc-graph-show-dumb):
11514 * term/sun.el (terminal-init-sun):
11515 * term/ns-win.el (global-map):
11516 * progmodes/grep.el (grep-mode-map):
11517 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11518 * mail/rmail.el (rmail-mode-map):
11519 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11521 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11522 custom-safe-themes as special.
11524 2011-10-01 Julien Danjou <julien@danjou.info>
11526 * notifications.el (notifications-notify): Fix docstring.
11528 2011-10-01 Per Starbäck <per@starback.se>
11530 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11532 2011-09-30 Martin Rudalics <rudalics@gmx.at>
11534 * startup.el (command-line-1): Fix last fix by inserting
11535 initial-scratch-message into *scratch* before displaying it.
11536 (Bug#9605) and (Bug#9636)
11538 2011-09-29 Eli Zaretskii <eliz@gnu.org>
11540 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11541 window is hscrolled, move by logical lines. (Bug#9607)
11542 (line-move-visual): Update the doc string to the above effect.
11544 2011-09-29 Martin Rudalics <rudalics@gmx.at>
11546 * window.el (display-buffer-record-window): When WINDOW is the
11547 selected window use `point' instead of `window-point'. (Bug#9626)
11549 * startup.el (command-line-1): Use insert-before-markers when
11550 inserting initial-scratch-message. (Bug#9605)
11552 * help.el (help-window): Remove variable.
11554 2011-09-29 Glenn Morris <rgm@gnu.org>
11556 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11558 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
11560 * descr-text.el (describe-char-categories): Accept category
11561 descriptions more than one line long.
11563 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * simple.el (delete-trailing-whitespace): Fix last change.
11567 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11568 Don't confuse "y => 3" as the beginning of a `y' operation.
11570 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11571 object has more than 4 slots (bug#9613).
11573 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
11575 * subr.el (with-output-to-temp-buffer):
11576 * net/quickurl.el (quickurl, quickurl-browse-url):
11577 Fix typos in docstrings.
11579 2011-09-27 Eli Zaretskii <eliz@gnu.org>
11581 * minibuffer.el (completion-styles)
11582 (completion-category-overrides): Cross reference each other in doc
11585 2011-09-27 Glenn Morris <rgm@gnu.org>
11587 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11588 to split-string. (Bug#9606)
11590 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11592 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11595 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
11597 * emacs-lisp/package.el (list-packages): Fix echo area message.
11599 2011-09-27 Leo Liu <sdl.web@gmail.com>
11601 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11603 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
11605 * net/dbus.el (dbus-unregister-object): Don't release services for
11606 registered signals. (Bug#9581)
11608 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11610 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11611 function that picks between cfengine 2 and 3 support
11612 automatically. Update docs accordingly.
11614 2011-09-22 Kenichi Handa <handa@m17n.org>
11616 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11618 (indian-itrans-v5-table-for-tamil): New variable.
11619 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11621 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11623 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11624 that's true if the current command involved collapsing of text.
11625 It's reset to false at the beginning of the next command.
11626 (allout-post-command-business): Move the cursor to the beginning
11627 of entry if the cursor is hidden and collapsing activity just
11630 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
11632 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11633 tracking (Bug#9541).
11635 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
11637 * net/newst-reader.el (newsticker-html-renderer)
11638 (newsticker-show-news): Automatically load html rendering package
11639 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11640 because w3m-fill-column is let-bound" and the error "Symbol's value
11641 as variable is void: w3m-fill-column".
11643 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
11645 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11646 Release services only if they are defined. (Bug#9581)
11648 2011-09-23 Richard Stallman <rms@gnu.org>
11650 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11651 distinguish start of paragraph from start of its text.
11653 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11655 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11656 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11657 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11659 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11661 * international/mule-diag.el (mule-diag): Insert a newline after
11662 each fontset description.
11664 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * simple.el (delete-trailing-whitespace):
11667 Document last change; simplify.
11669 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11671 * simple.el (delete-trailing-whitespace): Also delete
11672 extra newlines at the end of the buffer.
11674 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11675 (picture-newline): Use forward-line so as to ignore fields.
11677 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11679 * subr.el (with-wrapper-hook): Fix edebug spec.
11681 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11686 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
11688 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11689 Fix nasty bug using wrong cached values.
11691 2011-09-23 Alan Mackenzie <acm@muc.de>
11693 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11695 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
11697 * window.el (pop-to-buffer): Ensure right window is selected if we
11698 chose another frame.
11700 2011-09-22 Eli Zaretskii <eliz@gnu.org>
11702 * simple.el (what-cursor-position): Use get-char-property-change
11703 and next-single-char-property-change, to be able to show display
11704 properties that come from overlays as well as text properties.
11706 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
11708 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11710 * cmuscheme.el (run-scheme, switch-to-scheme):
11711 * cus-edit.el (customize-group, custom-buffer-create)
11712 (customize-browse):
11714 * shell.el (shell):
11715 * mail/sendmail.el (mail):
11716 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11718 2011-09-22 Richard Stallman <rms@gnu.org>
11720 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11721 move back only to line beg, don't move back over blank lines.
11723 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
11725 * files.el (copy-directory): Set directory attributes only in case
11726 they could be retrieved from the source directory. (Bug#9565)
11728 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11730 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11731 (hs-find-block-beginning, hs-hide-level-recursive):
11732 Ignore strings as well as comments. (Bug#9502)
11734 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11736 * progmodes/sql.el (sql-comint-postgres):
11737 Convert port number to a string. (Bug#9566)
11739 2011-09-22 Martin Rudalics <rudalics@gmx.at>
11741 * window.el (quit-window): Undedicate window when switching to
11742 previous buffer. Reported by Thierry Volpiatto
11743 <thierry.volpiatto@gmail.com>.
11744 (special-display-popup-frame): When popping up a new frame reset
11745 its previous buffers to nil. Simplify code.
11747 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
11749 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11750 and process filter, as done also in `shell-command'.
11752 2011-09-21 Martin Rudalics <rudalics@gmx.at>
11754 * window.el (set-window-buffer-start-and-point):
11755 Call set-window-start with NOFORCE argument t.
11756 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11757 (quit-window): Reword doc-string. Handle new format of
11758 quit-restore parameter. Don't delete window if it has a
11759 previous buffer we can show instead of the present one.
11760 (display-buffer-record-window): Rewrite using a new format for
11761 the quit-restore window parameter
11762 (special-display-popup-frame, display-buffer-same-window)
11763 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11764 (display-buffer-pop-up-window, display-buffer-use-some-window):
11765 Adapt symbol passed to display-buffer-record-window.
11766 * help.el (help-window-setup): Handle new format of quit-restore
11769 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11771 * faces.el (face-list): Fix docstring (bug#9564).
11773 * window.el (display-buffer--action-function-custom-type):
11774 Don't include internal functions in the Custom interface.
11776 2011-09-20 Juri Linkov <juri@jurta.org>
11778 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11779 (Info-forward-node, Info-backward-node, Info-next-preorder)
11780 (Info-last-preorder): Use it. (Bug#9528)
11782 2011-09-20 Juri Linkov <juri@jurta.org>
11784 * info.el (Info-last-preorder): Visit last menu item only when
11785 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11787 2011-09-20 Julien Danjou <julien@danjou.info>
11789 * password-cache.el (password-cache-remove): Remove entries even if the
11790 value is nil, so that password with a nil value (negative caching) is
11791 possible to invalidate.
11793 2011-09-20 Lawrence Mitchell <wence@gmx.li>
11795 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11796 all whitespace around breakpoint. (Bug#9553)
11797 (f90-find-breakpoint): Only break at whitespace inside a comment.
11799 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * minibuffer.el (completion-file-name-table): Keep track of errors.
11802 (completion-table-with-predicate): Handle the case where pred1 is nil.
11803 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11805 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11807 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11808 (debugger-return-value): Signal an error if the debugging context does
11809 not await any return value.
11811 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11812 * image-mode.el (image-toggle-display-text)
11813 (image-toggle-display-image): Stay away from evil `intangible'.
11815 2011-09-19 Leo Liu <sdl.web@gmail.com>
11817 * replace.el (occur-revert-arguments): Make it permanent-local.
11818 (occur-mode): Don't call font-lock-defontify.
11820 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
11822 * net/ldap.el (ldap-search-internal): Don't push empty search
11825 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11827 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11829 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
11831 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11832 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11834 2011-09-18 Juri Linkov <juri@jurta.org>
11836 * buff-menu.el (Buffer-menu-mode-map):
11837 * dired.el (dired-mode-map):
11838 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11839 (lisp-interaction-mode-map):
11840 * emacs-lisp/package.el (package-menu-mode-map):
11841 * epa.el (epa-key-list-mode-map):
11842 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11843 (menu-bar-options-menu):
11844 * outline.el (outline-mode-menu-bar-map):
11845 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11846 * vc/vc-dir.el (vc-dir-menu-map):
11847 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11848 Capitalize non-function content words in menu item strings.
11850 * dired.el (dired-mode-map): Add menu item for
11851 `image-dired-dired-toggle-marked-thumbs'.
11853 2011-09-18 Juri Linkov <juri@jurta.org>
11855 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11856 to `isearch-case-fold-search' and restore its original value
11857 after the `isearch-mode' call.
11859 2011-09-18 Juri Linkov <juri@jurta.org>
11861 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11862 because `zgrep' returns 1 for successful matches (bug#9226).
11864 2011-09-18 Juri Linkov <juri@jurta.org>
11866 * info.el (Info-extract-menu-node-name): Check the second match
11867 for empty string (second test-case of bug#9528).
11868 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11869 intermediate nodes to the history (first test-case of bug#9528).
11871 2011-09-18 Juri Linkov <juri@jurta.org>
11873 * info.el (Info-mode-syntax-table): New variable.
11874 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11876 2011-09-18 Juri Linkov <juri@jurta.org>
11878 * info.el (Info-file-supports-index-cookies):
11879 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11880 outputs one more line for long file names (bug#4142).
11882 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11884 * newcomment.el (comment-normalize-vars): If prompting for
11885 comment-start, set comment-start-skip too (Bug#8424).
11887 2011-09-18 Johan Bockgård <bojohan@gnu.org>
11889 * icomplete.el: Fix previous fix of Bug#5849.
11890 (icomplete-mode): Don't set completion-show-inline-help.
11891 (icomplete-minibuffer-setup): Set completion-show-inline-help
11892 locally during icompletion.
11894 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11896 * woman.el (woman2-process-escapes): Don't delete unrecognized
11897 escapes (Bug#7843).
11899 * files.el (inhibit-first-line-modes-regexps): Add image files.
11900 (hack-local-variables-prop-line): Return nil for malformed
11901 prop-lines (Bug#9044).
11903 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11905 * net/tramp.el (top): Don't require 'shell.
11906 (tramp-methods): Fix docstring.
11907 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11908 Return complete remote file name. Handle "smb" case.
11909 Use `tramp-tmpdir', if defined for the respective method.
11910 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11912 * net/tramp-compat.el (top): Require 'shell.
11914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11915 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11916 `tramp-current-host'.
11917 (tramp-get-remote-tmpdir): Remove.
11919 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11920 `tramp-tmpdir' entries.
11921 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11922 (tramp-smb-handle-file-attributes): Ignore errors.
11923 (tramp-smb-wait-for-output): Check also for process end.
11925 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11928 when sending QUIT (bug#9312).
11930 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11932 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11933 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11934 occur-mode-display-occurrence.
11935 (occur-edit-mode): Add usage message.
11936 (occur-cease-edit): New command.
11937 (occur-after-change-function): Use text properties to find the
11938 position of the prefix text.
11939 (occur-engine): Set stickiness of prefix text properties.
11941 2011-09-17 Glenn Morris <rgm@gnu.org>
11943 * progmodes/etags.el (complete-tag):
11944 Fix call to completion-in-region. (Bug#9526)
11946 2011-09-17 Juri Linkov <juri@jurta.org>
11948 * textmodes/ispell.el (ispell-word): Add to the error message
11949 the word, ispell program name and current dictionary (bug#9121).
11950 (ispell-tex-arg-end): Capitalize "error" in the error message.
11952 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11954 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11957 2011-09-17 Juri Linkov <juri@jurta.org>
11959 * window.el (window-safe-min-height, window-safe-min-width):
11960 Fix typos (followup to bug#9522).
11962 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11964 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11966 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11968 * simple.el (line-move): If goal-column is set, move by logical
11969 lines, not by display lines. (Bug#971)
11970 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11971 to reflect the above change.
11973 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11975 * image.el (imagemagick-register-types): Use regexp-opt.
11977 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11979 * window.el (display-buffer-base-action): Rename from
11980 display-buffer-default-action. Make default value empty.
11981 (display-buffer-overriding-action): Convert to defvar.
11982 (display-buffer-fallback-action): New var.
11984 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11986 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11988 (package--add-to-archive-contents): If there is a duplicate entry
11989 with an older version, remove it.
11990 (package-menu-mark-delete, package-menu-mark-install)
11991 (package-menu-mark-unmark): Make unused args optional.
11992 (package-menu-mark-obsolete-for-deletion):
11993 Use package-menu-get-status instead of a regexp search.
11994 (package-menu-get-status): Use tabulated-list-entry.
11995 (package-menu-mark-upgrades): New command.
11996 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11997 (package-menu-execute): Do installation before deletion.
11998 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11999 instead of checking major-mode.
12000 (package-menu--find-upgrades): New function.
12002 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12004 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12005 passwords in the log buffer.
12006 (smtpmail-process-filter): Update the process marker so that the
12007 "broken by peer" status message is inserted in the right place.
12009 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12012 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12013 bibtex-completion-at-point-function.
12014 (bibtex-completion-at-point-function): Use them.
12016 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12018 * mpc.el (mpc-constraints-tag-lookup): New function.
12019 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12020 also to browser "album|playlist".
12022 2011-09-14 Juri Linkov <juri@jurta.org>
12024 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12025 (isearch-edit-string): Use length of `isearch-string' when
12026 `isearch-fail-pos' returns nil.
12027 (isearch-message): Remove duplicate code and call
12028 `isearch-fail-pos' with arg `t'.
12030 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12032 * replace.el (occur-mode-goto-occurrence): Don't force using other
12035 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12037 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12039 * window.el (display-buffer-window): Remove.
12040 (display-buffer-record-window): Use help-setup window parameter
12041 instead of variable display-buffer-window.
12042 (display-buffer-function, special-display-buffer-names)
12043 (special-display-function): Mention help-setup parameter instead
12044 of display-buffer-window in doc-string.
12045 * help.el (help-window-setup): New argument help-window.
12046 Use help-window-setup parameter instead of display-buffer-window.
12047 Reword some messages.
12048 (with-help-window): Pass window used for displaying the buffer
12049 to help-window-setup. Don't set display-buffer-window.
12051 2011-09-13 Glenn Morris <rgm@gnu.org>
12053 * emacs-lisp/debug.el (debugger-make-xrefs):
12054 Preserve point. (Bug#9462)
12056 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12058 * window.el (window-deletable-p): Use next-frame.
12060 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12062 * window.el (window-auto-delete): Remove.
12063 (window-deletable-p): Remove argument FORCE. Don't deal with
12064 dedication and previous buffers.
12065 (switch-to-prev-buffer): Don't delete window.
12066 (delete-windows-on): Delete a window's frame if and only if the
12067 window is dedicated.
12068 (replace-buffer-in-windows): Delete buffer's window or frame if
12069 and only if window is dedicated.
12070 (quit-window): Handle quit-restore as before last change.
12071 (bury-buffer): Delete window only if window-deletable-p returns t.
12073 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12075 * window.el (window-deletable-p): Never delete the last frame on a
12078 2011-09-13 Glenn Morris <rgm@gnu.org>
12080 * help.el (describe-key-briefly): Copy previous standard-output change.
12082 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12084 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12086 2011-09-13 Glenn Morris <rgm@gnu.org>
12088 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12089 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12091 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12093 * dired-aux.el (dired-mark-read-string): Don't return default
12094 value on empty input (Bug#9361).
12095 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12096 Omit initial minibuffer contents.
12097 (dired-do-chmod): Signal an error on empty input.
12098 (dired-mark-read-string): Don't return default on empty input.
12100 * files.el (file-modes-symbolic-to-number): Doc fix.
12102 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12104 * international/mule-cmds.el (ucs-completions): Remove.
12105 (read-char-by-name): Use complete-with-action instead; add metadata.
12107 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12109 * window.el (display-buffer--action-function-custom-type)
12110 (display-buffer--action-custom-type): New vars.
12111 (display-buffer-alist, display-buffer-default-action)
12112 (display-buffer-overriding-action): Add defcustom types.
12114 * frame.el (delete-other-frames): Doc fix (Bug#276).
12116 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12118 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12120 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12122 Change modes that used same-window-* vars to use switch-to-buffer.
12124 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12125 Use switch-to-buffer.
12127 * cus-edit.el (customize-group, custom-buffer-create)
12128 (customize-browse, custom-buffer-create-other-window):
12129 Use switch-to-buffer or switch-to-buffer-other-window.
12131 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12132 (Info-prev, Info-up, Info-speedbar-goto-node)
12133 (info-display-manual): Use switch-to-buffer.
12134 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12136 * mail/sendmail.el (mail): Use switch-to-buffer.
12137 (mail-recover): Use switch-to-buffer-other-window.
12139 * cmuscheme.el (run-scheme, switch-to-scheme):
12141 * shell.el (shell):
12142 * net/rlogin.el (rlogin):
12143 * net/telnet.el (telnet, rsh):
12144 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12146 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12148 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12150 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12152 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12153 so don't mention it (bug#9301).
12154 (dired-sort-toggle-or-edit): Clarify string further.
12156 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12157 match `x', `w32' and `ns', like the manual says (bug#9029).
12159 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12160 (process-kill-buffer-query-function): Mention the buffer name in
12163 * image-mode.el (image-next-line): The line parameter is mandatory
12166 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12167 which can be useful (bug#9301).
12169 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12171 * subr.el (match-string): Mention that the current buffer should
12172 be the same as the search was done in (bug#9282).
12174 * facemenu.el: Disable the remove-* commands if the mark isn't
12177 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12179 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12181 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12183 * replace.el (occur-mode-goto-occurrence)
12184 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12185 and display-buffer.
12187 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12190 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12191 special-display and same-window variables.
12192 (mail-other-window): Use switch-to-buffer-other-window.
12193 (mail-other-frame): USe switch-to-buffer-other-frame.
12195 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12196 Use display-buffer-other-frame.
12197 (gdb-display-gdb-buffer): Use pop-to-buffer.
12199 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12201 * progmodes/python.el: Don't set same-window-buffer-names.
12203 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12205 * window.el (display-buffer-alist): Add *Python*.
12207 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12209 * window.el (display-buffer-alist): Add entry for buffers
12210 previously handled same-window-*.
12211 (display-buffer-alist, display-buffer-default-action)
12212 (display-buffer-overriding-action): Mark as risky.
12213 (display-buffer-alist): Document action function changes.
12214 (display-buffer--same-window-action)
12215 (display-buffer--other-frame-action): New variables.
12216 (switch-to-buffer, display-buffer-other-frame): Use them.
12217 (display-buffer): Rename reuse-frame entry to reusable-frames.
12218 (display-buffer-reuse-selected-window): Function deleted.
12219 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12220 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12221 (display-buffer-special): New function.
12222 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12223 display-buffer-reuse-or-pop-window. Split off special-display
12224 part into display-buffer-special.
12225 (display-buffer-use-some-window): Don't perform any special
12226 pop-up-frames handling.
12227 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12228 (display-buffer--maybe-same-window): Rename from
12229 display-buffer-maybe-same-window.
12231 * info.el: Don't set same-window-regexps.
12232 (info-setup): New function.
12233 (info-other-window, info): Call it.
12235 * cus-edit.el: Don't set same-window-regexps.
12236 (customize-group): New argument.
12237 (customize-group-other-window): Use it.
12238 (customize-face, customize-face-other-window): Likewise.
12239 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12243 * progmodes/gud.el: Don't set same-window-regexps.
12248 * mail/sendmail.el:
12249 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12251 2011-09-10 Juri Linkov <juri@jurta.org>
12253 * isearch.el (isearch-edit-string): Remove obsolete mention of
12254 `C-w' (`isearch-yank-word-or-char') from docstring.
12255 (isearch-query-replace): Fix typo in docstring (bug#9466).
12257 2011-09-10 Juri Linkov <juri@jurta.org>
12259 * paren.el (show-paren-function): Don't show escaped parens.
12260 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12262 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12264 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12265 (mm-default-file-encoding): Remove autoload forms, they are
12266 replaced with autoload cookies in mml.el and mm-encode.el.
12267 (mail-add-attachment): New command.
12268 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12269 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12271 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12273 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12275 * simple.el (count-words-region): Use buffer if there's no region
12278 2011-09-09 Juri Linkov <juri@jurta.org>
12280 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12281 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12282 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12284 2011-09-09 Alan Mackenzie <acm@muc.de>
12286 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12287 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12289 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12291 Fix for Savannah bug#9392.
12292 * simple.el (mail-encode-mml): New defvar.
12294 * mail/rmail.el (mail-encode-mml): Add a defvar.
12295 (rmail-enable-mime-composing): Default to t.
12296 (rmail-forward): Use MIME method of forwarding only if both
12297 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12298 Set mail-encode-mml non-nil if the MIME method was used.
12300 * mail/sendmail.el (mml-to-mime): Add autoload form.
12301 (mail-encode-mml): Add a defvar.
12302 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12304 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12305 message through mml-to-mime, and reset mail-encode-mml to nil.
12307 2011-09-09 Glenn Morris <rgm@gnu.org>
12309 * woman.el (woman-if-body): When processing an .el block,
12310 do not delete the next .el block as well. (Bug#9447)
12311 (woman-special-characters): Add oq, cq, and hy characters.
12313 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12315 * window.el (window-deletable-p): Make sure window is live before
12316 invoking window-prev-buffers.
12318 2011-09-08 Leo Liu <sdl.web@gmail.com>
12320 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12322 2011-09-08 Juri Linkov <juri@jurta.org>
12324 * progmodes/compile.el (compilation-environment): Make it
12325 a defcustom (bug#8340).
12327 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12329 * window.el (frame-auto-delete): Rename to window-auto-delete.
12330 Make it control auto-deletion of windows and/or frames.
12331 (window-deletable-p): New argument FORCE. Rewrite conditions
12332 for deleting window/frame. (Bug#9419)
12333 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12334 Rewrite handling of case when window/frame can be deleted.
12335 (delete-windows-on): Call window-deletable-p with new FORCE
12336 argument t. (Bug#9456)
12338 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
12340 * help-mode.el (help-mode): Restore autoload.
12342 2011-09-07 Juri Linkov <juri@jurta.org>
12344 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12345 `compilation-environment'. Set buffer-local
12346 `compilation-environment' to `thisenv' later after (funcall mode).
12349 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12350 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12351 instead of replacing its value. (Bug#8340)
12353 2011-09-07 Juri Linkov <juri@jurta.org>
12355 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12356 based on text properties put by `grep-filter' instead of matching
12358 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12359 to the value of `grep-error-screen-columns' (bug#9438).
12361 2011-09-07 Juri Linkov <juri@jurta.org>
12363 * simple.el (next-error-highlight, next-error-highlight-no-select):
12364 Doc fix (bug#9432).
12366 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12368 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12369 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12371 2011-09-07 Leo Liu <sdl.web@gmail.com>
12373 * net/rcirc.el (rcirc-mode): Conditionally initialize
12376 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * emacs-lisp/find-func.el (find-function-C-source): Only set
12379 find-function-C-source-directory after checking that we found a source
12380 file there (bug#9440).
12382 2011-09-06 Alan Mackenzie <acm@muc.de>
12384 * isearch.el (isearch-other-meta-char): Wherever a key list is
12385 unread, "unread" the prefix arg, too. This fixes bug #8901.
12387 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12389 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12391 2011-09-05 Juri Linkov <juri@jurta.org>
12393 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12395 2011-09-05 Juri Linkov <juri@jurta.org>
12397 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12398 keeping point where processing of grep matches begins, and
12399 continue to delete remaining escape sequences from the same point.
12400 (grep-filter): Make leading zero optional in "0?1;31m" because
12401 git-grep emits "\033[1;31m" escape sequences unlike expected
12402 "\033[01;31m" as GNU Grep does (bug#9408).
12403 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12405 2011-09-05 Juri Linkov <juri@jurta.org>
12407 * subr.el (y-or-n-p): Capitalize "yes".
12409 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
12411 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12412 `tramp-cache-unload-hook' where appropriate.
12413 (tramp-methods): Rename `tramp-remote-sh' to
12414 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12415 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12417 * net/tramp-sh.el (top): Don't require 'shell.
12418 (tramp-methods): Add `tramp-remote-shell' and
12419 `tramp-remote-shell-args' entries.
12420 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12421 (tramp-sh-handle-shell-command): Remove.
12422 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12423 Use `tramp-remote-shell'.
12425 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
12427 * mail/sendmail.el (sendmail-query-once-function): Delete.
12428 (sendmail-query-once): Save directly to send-mail-function.
12429 Update message-send-mail-function too.
12431 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12433 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12435 * progmodes/python.el (python-mode-map): Use correct function to
12436 start python interpreter from menu-bar (as reported by Geert
12438 (inferior-python-mode-map): Fix typo.
12439 (python-shell-map): Remove.
12441 2011-09-03 Deniz Dogan <deniz@dogan.se>
12443 * net/rcirc.el (rcirc-print): Simplify code for
12444 rcirc-scroll-show-maximum-output. There is no need to walk
12445 through all windows to find the right one.
12447 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12449 * help.el (help-return-method): Doc fix.
12451 2011-09-03 Martin Rudalics <rudalics@gmx.at>
12453 * window.el (window-deletable-p): Don't return a non-nil value
12454 when there's a buffer that was shown in the window before.
12456 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12457 Set window's previous buffers to nil.
12459 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12461 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12462 newline before and after the tag line, so it doesn't interfere
12463 with determining the paragraph direction of bidirectional text.
12465 2011-09-03 Leo Liu <sdl.web@gmail.com>
12467 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12469 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12471 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12472 (pop-to-buffer): Change interactive spec. Pass second argument
12473 directly to display-buffer.
12474 (display-buffer): Fix interactive spec. Use functionp to
12475 distinguish between a function and a list of functions.
12477 * abbrev.el (edit-abbrevs):
12478 * arc-mode.el (archive-extract):
12479 * autoinsert.el (auto-insert):
12480 * bookmark.el (bookmark-bmenu-list):
12481 * files.el (find-file):
12482 * view.el (view-buffer):
12483 * progmodes/compile.el (compilation-goto-locus):
12484 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12486 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12488 * window.el (display-buffer-alist): Doc fix.
12489 (display-buffer): Add docstring. Don't treat
12490 display-buffer-default specially.
12491 (display-buffer-reuse-selected-window)
12492 (display-buffer-same-window, display-buffer-maybe-same-window)
12493 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12494 (display-buffer-pop-up-window)
12495 (display-buffer-reuse-or-pop-window)
12496 (display-buffer-use-some-window): New functions.
12497 (display-buffer-default-action): Use them.
12498 (display-buffer-default): Delete.
12499 (pop-to-buffer-1): Fix choice of actions.
12501 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12503 * minibuffer.el (completion--insert-strings): Don't get confused by
12504 completion entries that end with an LF char.
12506 2011-09-01 Eli Zaretskii <eliz@gnu.org>
12508 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12510 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
12512 * window.el (display-buffer): Restore interactive spec.
12513 (display-buffer-same-window, display-buffer-other-window):
12515 (pop-to-buffer-1): New function. Use the above.
12516 (pop-to-buffer, pop-to-buffer-same-window): Use it.
12517 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12519 * view.el (view-buffer-other-window, view-buffer-other-frame):
12520 Just use pop-to-buffer.
12522 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12524 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12526 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12528 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12530 2011-08-31 Richard Stallman <rms@gnu.org>
12532 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12533 of the separation of rmail-view-buffer from rmail-buffer.
12534 If you say no to "replace original", the decrypt is in the
12535 view buffer. If you say yes, the decrypt goes into the
12538 2011-08-31 Martin Rudalics <rudalics@gmx.at>
12540 * window.el (display-buffer-window): Rewrite doc-string.
12541 (display-buffer-record-window): New function.
12542 (display-buffer-macro-specifiers)
12543 (display-buffer-even-window-sizes, display-buffer-set-height)
12544 (display-buffer-set-width, display-buffer-in-window)
12545 (display-buffer-reuse-window, display-buffer-split-specifiers)
12546 (display-buffer-side-specifiers, display-buffer-split-window-1)
12547 (display-buffer-split-window, display-buffer-split-atom-window)
12548 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12549 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12550 (display-buffer-other-window-means-other-frame)
12551 (display-buffer-normalize-special)
12552 (display-buffer-normalize-default)
12553 (display-buffer-normalize-argument)
12554 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12555 (display-buffer-normalize-specifiers, display-buffer-frame)
12556 (display-buffer-same-window, display-buffer-same-frame)
12557 (display-buffer-other-window)
12558 (display-buffer-same-frame-other-window)
12559 (display-buffer-other-frame, pop-to-buffer-same-window)
12560 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12561 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12562 (switch-to-buffer-same-frame)
12563 (switch-to-buffer-other-window-same-frame)
12564 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12565 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12566 (display-buffer-alist-set): Remove.
12567 (display-buffer-function, special-display-buffer-names)
12568 (special-display-regexps, special-display-function):
12569 In doc-string refer to display-buffer-window and quit-restore
12571 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12572 (special-display-frame-alist, special-display-popup-frame)
12573 (same-window-buffer-names, same-window-regexps, same-window-p)
12574 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12575 (split-window-preferred-function, split-height-threshold)
12576 (split-width-threshold, window-splittable-p)
12577 (split-window-sensibly, window--try-to-split-window)
12578 (window--frame-usable-p, even-window-heights)
12579 (window--even-window-heights, window--display-buffer-1)
12580 (window--display-buffer-2, display-buffer-other-frame):
12581 Restore old Emacs 23 code, order and doc-strings where applicable.
12582 (display-buffer-default, display-buffer-assq-regexp): New functions.
12583 (display-buffer-alist): Rewrite doc-string.
12584 (display-buffer-default-action)
12585 (display-buffer-overriding-action): New variables.
12586 (display-buffer, switch-to-buffer): Rewrite.
12587 (pop-to-buffer): Restore Emacs 23 behavior but use
12588 window-normalize-buffer-to-display.
12589 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12590 Restore Emacs 23 behavior but use
12591 window-normalize-buffer-to-switch-to.
12592 (pop-to-buffer-same-window): Rewrite.
12593 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12594 Rewrite using Emacs 23 options.
12596 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
12598 * net/tramp.el (tramp-root-regexp): Remove.
12599 (tramp-completion-file-name-regexp-unified)
12600 (tramp-completion-file-name-regexp-separate)
12601 (tramp-completion-file-name-regexp-url): Don't use leading volume
12602 letter on w32 systems. (Bug#5303, Bug#9311)
12603 (tramp-drop-volume-letter): Simplify definition.
12604 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12606 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12611 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12613 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12615 2011-08-29 Juri Linkov <juri@jurta.org>
12617 * isearch.el (isearch-done): Don't display message "Mark saved"
12618 when arg `edit' is non-nil to prevent its flicker in the echo area.
12620 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12622 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12623 obsolete packages for deletion.
12625 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12627 * help-mode.el (help-mode-map): Add special-mode-map to parent.
12628 (help-mode): Derive help-mode from special-mode. Don't invoke
12629 view-mode from help-mode.
12630 (help-xref-override-view-map): Remove.
12631 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12632 view-mode is not used anymore.
12634 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12636 * server.el (server-port): Doc fix.
12638 * cus-theme.el (custom-theme-choose-mode): Inherit from
12639 special-mode (Bug#9124).
12640 (custom-theme-choose-mode-map): Add special-mode to parent.
12642 2011-08-28 Alan Mackenzie <acm@muc.de>
12644 * progmodes/cc-fonts.el
12645 (c-make-font-lock-BO-decl-search-function): New function.
12646 (c-basic-matchers-after - "Fontify the clauses after various
12647 keywords"): Extract the three keyword lists for the 3 erroneous
12648 constructs from the list of four, and use the new function above
12649 in place of an old one.
12651 2011-08-28 Deniz Dogan <deniz@dogan.se>
12653 * net/rcirc.el (rcirc-insert-prev-input)
12654 (rcirc-insert-next-input): Remove unused argument.
12656 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12660 2011-08-27 Alan Mackenzie <acm@muc.de>
12662 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12663 handle function pointer parameters properly.
12665 2011-08-27 Martin Rudalics <rudalics@gmx.at>
12667 * window.el (display-buffer-reuse-window): Fix case where
12668 selected window was reused with non-nil OTHER-WINDOW argument.
12671 2011-08-27 Deniz Dogan <deniz@dogan.se>
12673 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12674 oftc's NickServ messages.
12676 2011-08-27 Glenn Morris <rgm@gnu.org>
12678 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12680 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
12682 * emacs-lisp/package.el (package-install): Call package-initialize
12683 if called interactively.
12685 2011-08-26 Leo Liu <sdl.web@gmail.com>
12687 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12689 2011-08-25 Juri Linkov <juri@jurta.org>
12691 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12692 `search-whitespace-regexp' (bug#9364).
12694 2011-08-25 Juri Linkov <juri@jurta.org>
12696 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12697 `regexp-search-ring' to their global values to protect from
12698 updating by `read-from-minibuffer' (bug#9185).
12700 2011-08-25 Juri Linkov <juri@jurta.org>
12702 * textmodes/ispell.el (ispell-command-loop): Add newline
12703 at the end of the "Use option `i'..." line.
12705 2011-08-25 Juri Linkov <juri@jurta.org>
12707 * battery.el (display-battery-mode): If `battery-status-function'
12708 or `battery-mode-line-format' is nil, display the message and set
12709 `display-battery-mode' to nil (bug#9363).
12711 2011-08-25 Eli Zaretskii <eliz@gnu.org>
12713 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12714 bidi-string-mark-left-to-right; they are unnecessary now.
12716 2011-08-25 Deniz Dogan <deniz@dogan.se>
12718 * net/quickurl.el: Documentation typo fixes.
12720 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
12722 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12724 2011-08-25 Glenn Morris <rgm@gnu.org>
12726 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12728 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12729 (smtpmail-via-smtp): Handle nil response from smtp.
12731 2011-08-24 Juri Linkov <juri@jurta.org>
12733 * proced.el (proced-marked): Inherit from `error' instead of
12734 `font-lock-warning-face'.
12736 * ibuffer.el (ibuffer-marked-face): Change default face from
12737 `font-lock-warning-face' to `warning'.
12738 (ibuffer-deletion-face): Change default face from
12739 `font-lock-type-face' to `error'.
12741 * battery.el (battery-update): Use the face `error' instead of
12742 `font-lock-warning-face' (bug#6117).
12744 2011-08-24 Juri Linkov <juri@jurta.org>
12746 * faces.el (success): Change face color from "Green3" to
12747 "ForestGreen" on light background (bug#9353).
12749 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
12751 * window.el (quit-window): Rename from quit-restore-window.
12752 Use same arglist as old quit-window.
12753 (frame-auto-delete): Doc fix.
12755 * view.el (view-mode-exit): Use quit-window.
12757 2011-08-24 Juri Linkov <juri@jurta.org>
12759 * isearch.el (isearch-ring-adjust1): Start visiting previous
12760 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12761 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12762 for empty search string (when the last search string is reused
12763 automatically) to adjust the isearch ring to the last element and
12764 prepare the correct index for further M-p commands (bug#9185).
12766 2011-08-24 Kenichi Handa <handa@m17n.org>
12768 * international/ucs-normalize.el: If decomposition property of
12769 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12771 (nfd, nfkd): Likewise.
12773 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12775 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12776 from process filters aren't reliably transmitted to the surrounding
12777 accept-process-output.
12778 (mpc-proc-check): New function.
12779 (mpc-proc-sync): Use it (bug#8293)
12781 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12783 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12784 Add compatibility functions (bug#9313).
12786 2011-08-23 Eli Zaretskii <eliz@gnu.org>
12788 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12790 * international/uni-bidi.el: Regenerate.
12792 2011-08-23 Kenichi Handa <handa@m17n.org>
12794 * international/charprop.el:
12795 * international/uni-bidi.el:
12796 * international/uni-category.el:
12797 * international/uni-combining.el:
12798 * international/uni-comment.el:
12799 * international/uni-decimal.el:
12800 * international/uni-decomposition.el:
12801 * international/uni-digit.el:
12802 * international/uni-lowercase.el:
12803 * international/uni-mirrored.el:
12804 * international/uni-name.el:
12805 * international/uni-numeric.el:
12806 * international/uni-old-name.el:
12807 * international/uni-titlecase.el:
12808 * international/uni-uppercase.el: Regenerate.
12810 2011-08-23 Martin Rudalics <rudalics@gmx.at>
12812 * help.el (help-window-setup): Fix message displayed when other
12813 window is reused. (Bug#9341)
12815 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12817 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12818 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12820 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12822 * shell.el (shell-parse-pcomplete-arguments): New function.
12823 (shell-completion-vars): Use it instead (bug#9160).
12825 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12827 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12828 strings and comments (bug#9333).
12830 * emacs-lisp/debug.el (debug-arglist): New function.
12831 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12832 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12834 2011-08-22 Juri Linkov <juri@jurta.org>
12836 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12837 Revert regexp that highlights output switches to its old
12838 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12840 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12841 to check for empty output (bug#9226).
12843 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
12845 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12846 symbol-constituent as the default, as that stops font-lock from
12847 working properly (Bug#8843).
12849 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12851 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12852 `coding-system-for-*' around the process open call to avoid
12853 auth-source side effects.
12854 (smtpmail-try-auth-methods): Expand the secret password.
12855 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12858 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12860 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12862 * emacs-lisp/find-func.el (find-function-noselect): New arg
12865 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12866 signal an error for built-in functions (Bug#6664).
12868 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12870 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12871 (smtpmail-try-auth-methods): Use it.
12873 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12875 * font-lock.el (font-lock-fontify-region)
12876 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12877 (font-lock-default-unfontify-buffer)
12878 (font-lock-default-fontify-region)
12879 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12881 * progmodes/compile.el (compilation-error-properties):
12882 Fix confusion between file struct and message struct (Bug#9319).
12883 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12886 * net/browse-url.el (browse-url-firefox): Don't call
12887 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12889 2011-08-20 Glenn Morris <rgm@gnu.org>
12891 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12893 * tutorial.el (tutorial--default-keys): Update some default bindings.
12895 * files.el (hack-local-variables): Fully ignore case for "mode:".
12897 2011-08-20 Alan Mackenzie <acm@muc.de>
12899 Resolve invalid use of a regexp in regexp-opt.
12901 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12902 detection for a java annotation.
12904 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12905 detection for a java annotation.
12907 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12909 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12911 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12913 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12916 2011-08-20 Alan Mackenzie <acm@muc.de>
12918 Fontify CPP expressions correctly when starting in the middle of
12919 such a construct. Mainly for when jit-lock etc. starts a chunk
12922 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12924 (c-make-font-lock-search-form): New function, extracted from
12925 c-make-font-lock-search-function.
12926 (c-make-font-lock-search-function): Use the above function.
12927 (c-make-font-lock-context-search-function): New function.
12928 (c-cpp-matchers): Enhance the preprocessor expression case with
12930 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12931 which takes an expression.
12933 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12935 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12937 * window.el (display-buffer-reuse-window)
12938 (display-buffer-pop-up-window): Don't reuse or split a side
12941 2011-08-19 Glenn Morris <rgm@gnu.org>
12943 * files.el (hack-local-variables-prop-line, hack-local-variables):
12944 Downcase "Mode:". (Bug#9331)
12946 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12948 * international/characters.el: Add L and R categories.
12950 * subr.el (bidi-string-mark-left-to-right): Rename from
12951 string-mark-left-to-right. Use category search.
12953 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12955 2011-08-18 Juri Linkov <juri@jurta.org>
12957 * faces.el (error, warning, success): New faces with definitions
12958 copied from old default values of `font-lock-warning-face',
12959 `compilation-warning', `compilation-info' (bug#6117).
12961 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12963 * progmodes/compile.el (compilation-error): Inherit from `error'.
12964 (compilation-warning): Inherit from `warning'.
12965 (compilation-info): Inherit from `success'.
12967 * dired.el (dired-marked): Inherit from `warning'.
12968 (dired-flagged): Inherit from `error'.
12970 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12972 * mail/smtpmail.el (auth-source): Require to avoid problems with
12973 binding variables (bug#9298). Also clean up some unused
12976 * net/network-stream.el (network-stream-open-starttls):
12977 Support using starttls.el without using gnutls-cli.
12979 2011-08-17 Juri Linkov <juri@jurta.org>
12981 * progmodes/grep.el (rgrep): Handle the case when
12982 `grep-find-command' is a cons cell (bug#9278).
12984 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12986 * window.el (display-buffer-pop-up-frame): Run frame creation
12987 function with BUFFER current (as special-display-popup-frame
12988 does). Reported by Drew Adams.
12990 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12992 * epa-mail.el: Simplify GnuPG group expansion using
12994 (epa-mail-group-alist, epa-mail-group-modtime)
12995 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12996 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12997 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13000 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13002 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13004 2011-08-16 Alan Mackenzie <acm@muc.de>
13006 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13007 Correct, to avoid the inside of macros.
13009 2011-08-16 Richard Stallman <rms@gnu.org>
13011 * epa-mail.el: Handle GnuPG group definitions.
13012 (epa-mail-group-alist, epa-mail-group-modtime)
13013 (epa-mail-gnupg-conf-file): New variables.
13014 (epa-mail-parse-groups, epa-mail-sync-groups)
13015 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13016 (epa-mail-expand-recipients): New functions.
13017 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13019 * mail/rmail.el (rmail-epa-decrypt): New command.
13021 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13022 Don't bind buffer-read-only, just inhibit-read-only.
13023 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13024 (epa-decrypt-armor-in-region): Make error message clearer.
13026 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13028 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13029 and "a2b" to "ab" for `prefix'.
13031 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13033 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13035 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13036 Fourquet (Bug#8804).
13038 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13040 * startup.el (argi): Declare as global variable (bug#9275).
13042 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13044 * subr.el (string-mark-left-to-right): Search the entire string
13045 for RTL script, not just the terminating character. Doc fix.
13047 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13049 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13051 (js--regexp-literal, js-syntax-propertize-function): Remove.
13052 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13053 (js-mode-map): Don't rebind electric keys.
13054 (js-insert-and-indent): Remove.
13055 (js-mode): Setup electric-layout and electric-indent instead.
13057 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13059 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13061 * epa.el (epa-progress-callback-function): Fix the logic of
13062 displaying progress.
13063 * epa-file.el (epa-file-insert-file-contents): Make progress
13064 display more user-friendly.
13065 (epa-file-write-region): Ditto.
13067 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13069 * subr.el (string-mark-left-to-right): New function.
13071 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13072 Use string-mark-left-to-right.
13073 (list-buffers-noselect): Caller changed.
13075 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13076 Use string-mark-left-to-right.
13077 (tabulated-list-print): Recenter after moving point.
13079 2011-08-10 Juri Linkov <juri@jurta.org>
13081 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13082 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13083 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13085 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13087 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13090 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13092 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13093 character. (Bug#6594)
13095 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13097 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13098 (image-dired--with-db-file): New macro.
13099 (image-dired-write-tags, image-dired-remove-tag)
13100 (image-dired-create-gallery-lists, image-dired-write-comments)
13101 (image-dired-get-comment, image-dired-mark-tagged-files)
13102 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13103 (image-dired-gallery-generate): Use insert-file-contents.
13105 * time.el (display-time-world-list, display-time-world-display):
13106 * time-stamp.el (time-stamp-string):
13107 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13108 set-time-zone-rule (Bug#7337).
13110 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13112 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13113 (epg-error-to-string, epg-errors-to-string): New function.
13114 (epg-wait-for-completion): Reverse errors list.
13115 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13116 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13117 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13118 (epg-sign-keys, epg-generate-key-from-file)
13119 (epg-generate-key-from-string): Format errors by using
13120 epg-errors-to-string (bug#9255).
13121 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13123 2011-08-07 Juri Linkov <juri@jurta.org>
13125 * faces.el (list-faces-display): Remove extra angle bracket
13126 from `help-mode-map'.
13128 * info.el (Info-history-toc-nodes): Doc fix.
13130 * longlines.el (longlines-mode): Doc fix.
13132 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13134 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13135 of statements and in a few more cases (bug#9183).
13137 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13139 (cl-transform-lambda): Use them (bug#9239).
13141 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13143 * window.el (display-buffer-same-window)
13144 (display-buffer-same-frame, display-buffer-other-window)
13145 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13146 (pop-to-buffer-other-window)
13147 (pop-to-buffer-same-frame-other-window)
13148 (pop-to-buffer-other-frame): Make them defuns.
13149 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13151 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13153 * subr.el (make-composed-keymap): Move from C. Change calling
13154 convention, and improve docstring to bring attention to a subtle point.
13155 * minibuffer.el (completing-read-default): Adjust accordingly.
13157 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13159 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13160 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13162 * net/trampver.el: Update release number.
13164 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13166 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13169 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13171 * mail/sendmail.el (sendmail-query-once): Restore the current
13172 buffer after querying (bug#9074).
13174 * dired.el (dired-flagged): Use different faces for marked and
13175 flagged files (bug#6117).
13177 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13180 * ido.el (ido-mode): Switch off the message if called
13183 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13184 before 587, since it appears that that's more likely to work for
13187 * cus-edit.el (custom-file): When running under emacs -q, always
13188 refuse to save the customizations, even if the .emacs file doesn't
13191 * info.el: Remove the `Info-beginning-of-buffer' function
13194 * net/network-stream.el (network-stream-open-starttls):
13195 Use `starttls-available-p' to see whether starttls.el can be used.
13197 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13199 * window.el (display-buffer-in-window): Don't set dedicated status
13200 of window here (Bug#9215).
13201 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13202 (display-buffer-pop-up-side-window)
13203 (display-buffer-in-side-window): Set dedicated status of window here.
13205 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13207 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13208 before binding generated-autoload-file.
13210 2011-08-01 Deniz Dogan <deniz@dogan.se>
13212 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13214 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
13216 Sync with Tramp 2.2.2.
13218 * net/trampver.el: Update release number.
13220 2011-07-30 Juri Linkov <juri@jurta.org>
13222 * dired-aux.el (dired-touch-initial): Remove function.
13223 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13224 current time, and `default' to the last modification time of the
13225 current marked file (bug#6887).
13227 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13229 * simple.el (goto-line): Use string-to-number to provide a
13230 numeric argument to read-number (bug#9163).
13232 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13234 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13235 connection process, it could be nil.
13237 2011-07-27 Leo Liu <sdl.web@gmail.com>
13239 Simplify url handling in rcirc-mode.
13241 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13242 (rcirc-browse-url-at-mouse): Remove.
13243 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13245 2011-07-26 Alan Mackenzie <acm@muc.de>
13247 Fontify bitfield declarations properly.
13249 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13250 (c-symbol-chars): Now exported as a lang variable.
13251 (c-not-primitive-type-keywords): New lang variable.
13253 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13254 QT keyword "more" to prevent "more slots: ...." being spuriously
13255 parsed as a bitfield declaration.
13257 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13258 Refactor and enhance to handle bitfield declarations.
13259 (c-punctuation-in): New function.
13260 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13261 declarations properly.
13263 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13265 * calendar/icalendar.el (icalendar--all-events): Take care of
13266 multiple vcalendars in a single file.
13267 (icalendar--convert-float-to-ical): Checkdoc fixes.
13269 2011-07-25 Deniz Dogan <deniz@dogan.se>
13271 * image.el (insert-image): Clarifying docstring.
13273 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13275 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13276 `tramp-send-command-and-check' if there is no error.
13277 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13279 2011-07-22 Alan Mackenzie <acm@muc.de>
13281 Prevent cc-langs.elc being loaded at run time.
13283 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13286 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13287 "(require 'cc-langs)". Quote a form so it will evaluate at
13288 (cc-mode's) compilation time.
13290 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13292 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13293 loading. (Bug#9114)
13295 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13297 * window.el (display-buffer-pop-up-window)
13298 (display-buffer-pop-up-side-window)
13299 (display-buffer-in-side-window): Call display-buffer-set-height
13300 and display-buffer-set-width after setting the new window's
13301 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13303 2011-07-20 Sam Steingold <sds@gnu.org>
13305 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13306 (etags-tags-included-tables): Call `convert-standard-filename' on
13307 the file names contained in TAGS so that windows Emacs can handle
13308 TAGS files created by cygwin ctags.
13310 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13312 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13313 which apparently didn't work.
13315 2011-07-19 Roland Winkler <winkler@gnu.org>
13317 * proced.el (proced-send-signal): For *Marked Processes* buffer
13318 put point at beginning of buffer.
13320 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
13322 * proced.el (proced-format): Make header lines align with the text
13325 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13327 * view.el (view-buffer): Allow running in `special' modes if we're
13328 visiting a file (bug#8615).
13330 2011-07-19 Martin Rudalics <rudalics@gmx.at>
13332 * window.el (display-buffer-alist-of-strings-p)
13333 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13335 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13338 2011-07-18 Alan Mackenzie <acm@muc.de>
13340 Fontify declarators properly when, e.g., a jit-lock chunk begins
13341 inside a declaration.
13343 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13345 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13347 (c-complex-decl-matchers): Insert reference to
13348 c-font-lock-enclosing-decls.
13350 * progmodes/cc-engine.el (c-backward-single-comment):
13351 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13352 to nil around calls to (forward-comment -1).
13354 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13356 * image.el (put-image): Doc typo fix.
13358 * progmodes/etags.el (tags-search): Doc typo fix.
13360 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13361 password if we get errors 550 to 554.
13363 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13365 * net/gnutls.el (gnutls-log-level): Remove.
13367 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13368 indentation character (bug#6380).
13370 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13372 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13373 to clarify what the problem is (bug#4291).
13375 * simple.el (current-kill): Clarify what
13376 `interprogram-paste-function' does (bug#7500).
13377 (auto-fill-mode): Document `auto-fill-function' in relation to
13378 `auto-fill-mode' (bug#2470).
13380 2011-07-16 Lawrence Mitchell <wence@gmx.li>
13382 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13383 method if slot is read-only (bug#9035).
13385 2011-07-16 Martin Rudalics <rudalics@gmx.at>
13387 * frame.el (select-frame-set-input-focus): New argument NORECORD.
13388 * window.el (pop-to-buffer): Select window used even if it was
13389 selected before, see discussion of (Bug#8615), (Bug#6954).
13390 Pass argument NORECORD on to select-frame-set-input-focus.
13392 2011-07-15 Glenn Morris <rgm@gnu.org>
13394 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
13397 2011-07-09 Lawrence Mitchell <wence@gmx.li>
13399 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13400 (gnutls-negotiate): Use it.
13402 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13404 * net/gnutls.el (gnutls-negotiate):
13405 Upcase `gnutls-algorithm-priority'.
13407 2011-07-15 Glenn Morris <rgm@gnu.org>
13409 * jka-compr.el (jka-compr-verbose): Move from here...
13410 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13411 Add missing :version tag.
13412 * info.el: No need to require jka-compr when compiling.
13414 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13416 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13417 (gnutls-negotiate): Use it.
13419 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13421 * info.el (Info-beginning-of-buffer): New command.
13422 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13423 announcing `b' as the key (bug#8325).
13424 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13426 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13428 * international/mule-cmds.el
13429 (describe-specified-language-support): Make the error message
13430 clearer (bug#8905).
13432 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13434 * isearch.el (isearch-barrier): Add a doc string, since it's
13435 mentioned in a function doc string (bug#8678).
13437 2011-07-15 Martin Rudalics <rudalics@gmx.at>
13439 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13440 buffer argument (Bug#9083) and self-identifying label argument.
13442 2011-07-15 Glenn Morris <rgm@gnu.org>
13444 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13446 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13448 * man.el (Man-fontify-manpage): Fix message when formatting the
13449 man page (bug#7929).
13451 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13453 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13454 argument LRM; if non-nil, append an invisible LRM character to the
13456 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13457 last argument non-nil, when formatting buffer names.
13458 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13459 paragraph direction.
13461 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13463 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13464 the man page name (bug#7929).
13466 * image.el (put-image): Mention the `put-image' overlay property
13469 * scroll-bar.el (set-scroll-bar-mode): Mention that
13470 `scroll-bar-mode' lists the values (bug#7772).
13472 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13473 command (bug#7729).
13475 * rect.el (apply-on-rectangle): Return the point after the last
13477 (string-rectangle): Go to the point after the last operation
13480 * printing.el (pr-toggle-region): Clarify the documentation
13481 slightly (bug#7493).
13483 * time.el (display-time-update):
13484 Allow `display-time-mail-function' to return nil (bug#7158).
13485 Fix suggested by Detlev Zundel.
13487 * vc/diff.el (diff): Clarify the order the file names are read
13490 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13491 the doc string (bug#7015).
13493 * font-lock.el (font-lock-maximum-decoration): Mention what
13494 numeric levels mean (bug#6935).
13496 * startup.el (initial-buffer-choice): Don't mention the `none'
13497 selection, which is against policy.
13499 2011-07-14 Martin Rudalics <rudalics@gmx.at>
13501 * window.el (display-buffer-normalize-special):
13502 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13504 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13506 * subr.el (version<, version<=, version=): Mention "-CVS" and
13507 "-12345" alpha version numbers.
13509 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13511 * bindings.el: Add advertised binding for set-mark-command
13514 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13516 * bindings.el (mode-line-other-buffer):
13517 * bookmark.el (bookmark-bmenu-2-window):
13518 * bs.el (bs-cycle-next, bs-cycle-previous):
13519 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13522 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13525 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
13527 * follow.el (follow-debug-message, follow-redisplay):
13528 * jka-cmpr-hook.el (with-auto-compression-mode):
13529 Fix typos in docstrings.
13531 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13533 * subr.el (with-silent-modifications): Clarify somewhat what the
13534 macro inhibits (bug#6525).
13536 * simple.el (eval-expression): Note what it does if called
13537 interactively (bug#6495).
13539 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13541 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13542 Use pop-to-buffer buffer-or-name if it is nil.
13544 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13545 Remove switch-to-buffer.
13547 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13549 * files.el (make-directory): Clarify that an error will be raised
13550 if there's an error (bug#6397).
13552 * startup.el (initial-buffer-choice): Add `none' as a choice
13555 * subr.el (add-hook): Clarify section about buffer-local hooks
13558 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13560 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13562 * tabify.el (untabify): Preserve the current column so that point
13563 doesn't move (bug#6032).
13565 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13567 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13568 Rewrite to avoid awkward possessive "s" (bug#5986).
13570 2011-07-13 Glenn Morris <rgm@gnu.org>
13572 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13573 (dired-insert-directory): Give a message the first time
13574 if ls is found not to support --dired.
13576 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13578 * simple.el (toggle-truncate-lines): Clarify what is toggled
13579 (bug#5580). Text by Drew Adams.
13581 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13583 * simple.el (blink-matching-open): Make the error message from the
13584 last change less verbose.
13586 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13588 * font-lock.el (font-lock-comment-face): Use the high contrast
13589 "yellow" color for font-lock-comment-face on low color terminals
13590 using a dark background color (bug#4221).
13592 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594 * dired.el (dired-insert-set-properties): Make the doc string
13595 reflect what it does now (bug#5325).
13597 * simple.el (blink-matching-open): Say that we were unable to find
13598 the match within the limit, if we're limited (bug#5122).
13600 * international/mule-cmds.el (prefer-coding-system): Add an
13601 example (bug#4869).
13603 * progmodes/etags.el (tags-search): Document `file-list-form'
13606 2011-07-13 Lawrence Mitchell <wence@gmx.li>
13608 * net/browse-url.el (browse-url-default-browser)
13609 (browse-url-browser-function): Make the default browser choice a
13610 bit more logical (bug#4300). Also clean up the doc string.
13612 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13614 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13615 binary endings (bug#4440).
13617 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13619 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13620 which can be pretty annoying (bug#8971).
13622 * jka-compr.el (jka-compr-verbose): New variable, and use
13623 throughout (bug#8971).
13625 * info.el (Info-find-file): Fall back on the installation
13626 directory if we can't find the info node anywhere else.
13628 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13630 * vc/vc.el (vc-revert-file):
13631 Don't set file time-stamp in the past. (Bug#5181)
13633 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13635 * files.el (after-find-file): Give a better error message when
13636 trying to find a symlink that points to a file that doesn't exist
13639 * progmodes/cc-vars.el: Remove (probably) misleading comment
13642 2011-07-12 Johan Bockgård <bojohan@gnu.org>
13644 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13646 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
13648 * mouse-sel.el: Hack restoring functionality, while keeping
13649 compatibility with 2010-07-03 changes to mouse selection.
13650 (mouse-sel-primary-overlay): New var.
13651 (mouse-sel-selection-alist): Use it.
13652 (mouse-sel-mode): Doc fix; remove points that are default features
13655 2011-07-12 Johan Bockgård <bojohan@gnu.org>
13657 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13658 Fix previous fix (bug#2490).
13660 2011-07-12 Roland Winkler <winkler@gnu.org>
13662 * textmodes/bibtex.el (bibtex-initialize):
13663 Use pop-to-buffer-same-window.
13664 (bibtex-search-entries): Fix interactive call.
13666 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13668 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13669 Fontise bytecomp Error lines more correctly (bug#2490).
13670 Fix suggested by Johan Bockgård.
13672 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13674 * dired-x.el (dired-guess-default): Use `delete-dups'.
13676 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
13678 * dired.el (dired-mark-prompt):
13679 * dired-aux.el (dired-read-shell-command): Doc fix.
13681 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13683 * mail/sendmail.el (sendmail-query-once):
13684 Use `customize-save-variable' unconditionally, now that it works under
13687 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13689 * cus-edit.el (custom-file): Take an optional no-error variable.
13690 (customize-save-variable): Set the variable, and give a warning if
13691 running under "emacs -q".
13693 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
13695 * loadhist.el (unload-feature-special-hooks):
13696 Add `auto-coding-functions', `fill-nobreak-predicate' and
13697 `find-directory-functions' (bug#5327).
13699 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13701 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13703 * cus-edit.el (custom-guess-name-alist): -alist variables should
13704 use the `alist' type (bug#3120). Suggested by Drew Adams.
13706 * printing.el: Add documentation to all the `pr-toggle-' commands.
13708 2011-07-11 Leo Liu <sdl.web@gmail.com>
13710 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13711 backends where it makes sense (bug#2623).
13713 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13715 * dired-x.el (dired-guess-default): Remove duplicate shell command
13716 entries (bug#2028).
13717 (dired-guess-default): Fix grammar in doc string (bug#2028).
13718 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13720 * subr.el (remove-duplicates): New conveniency function.
13722 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13724 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13727 2011-07-10 Martin Rudalics <rudalics@gmx.at>
13729 * window.el (display-buffer-normalize-default): Don't invert
13730 meaning of even-window-heights. Reported by Eli Zaretskii
13733 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13735 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13737 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
13739 * window.el (display-buffer): Fix arguments to
13740 display-buffer-reuse-window in last change.
13742 * faces.el (link): Use a less saturated blue on light backgrounds.
13744 * startup.el (fancy-startup-text, fancy-about-text)
13745 (fancy-startup-tail): Use font-lock faces, for background safety.
13747 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13749 * emulation/viper-cmd.el (viper-change-state-to-vi):
13750 Limit triggering of abbrev expansion (Bug#9038).
13752 2011-07-09 Martin Rudalics <rudalics@gmx.at>
13754 * window.el (display-buffer-default-specifiers): Remove.
13755 (display-buffer-macro-specifiers): Remove default specifiers.
13756 (display-buffer-alist): Default to nil.
13757 (display-buffer-reuse-window): New optional argument other-window.
13758 (display-buffer-pop-up-window): Allow splitting internal
13759 windows. Check whether a live window was created.
13760 (display-buffer-other-window-means-other-frame)
13761 (display-buffer-normalize-arguments): Rename to
13762 display-buffer-normalize-argument and rewrite. Set the
13763 other-window specifier.
13764 (display-buffer-normalize-special): New function.
13765 (display-buffer-normalize-options): Rename to
13766 display-buffer-normalize-default and rewrite.
13767 (display-buffer-normalize-options-inhibit): Remove.
13768 (display-buffer-normalize-specifiers): Rewrite.
13769 (display-buffer): Process other-window specifier and call
13770 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13772 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13773 (display-buffer-alist-set): Don't handle 'unset default values.
13774 (display-buffer-in-window, display-buffer-alist-set):
13775 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
13776 <tassilo@member.fsf.org>.
13778 2011-07-09 Leo Liu <sdl.web@gmail.com>
13780 * register.el (insert-register): Restore accidental change on
13781 2011-06-26. (Bug#9028)
13783 2011-07-09 Glenn Morris <rgm@gnu.org>
13785 * subr.el (remq): Handle the empty list. (Bug#9024)
13787 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13789 * mail/sendmail.el (send-mail-function): No longer delay custom
13791 * custom.el (custom-initialize-delay): Doc fix.
13793 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13797 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
13799 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13800 human-friendly prompt.
13802 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13804 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13805 provided by a particular plugin.
13807 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13809 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13810 save customizations (with "emacs -Q"), just set the variable
13811 instead of erroring out.
13813 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13815 2011-07-08 Juri Linkov <juri@jurta.org>
13817 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13818 (archive-zip-update-case): Use 7z if found by `executable-find'.
13819 The order of searching the available programs is the same as in
13820 `archive-zip-extract' (bug#8968).
13822 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13824 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13825 (menu-bar-options-menu): Tweak descriptions.
13827 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13829 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13830 menu items into verb phrases (bug#1421). Also refill to fit under
13833 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13835 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13836 (Info-read-node-name): Doc fix (Bug#1084).
13838 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13839 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13840 (end-of-sexp, beginning-of-sexp)
13841 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13842 (forward-symbol, forward-same-syntax, word-at-point)
13843 (sentence-at-point): Doc fix (Bug#1144).
13845 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13847 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13848 should cover it (bug#1281).
13850 * cus-edit.el (custom-show): Mark as obsolete.
13852 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13853 negotiation fails, then possibly try again with a non-encrypted
13854 connection (bug#9017).
13856 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13859 2011-07-07 Richard Stallman <rms@gnu.org>
13861 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13862 property, and handle its changed format.
13863 Look for the correct line number.
13864 Use file's line contents (but not past first =) to find
13865 correct line in message.
13867 2011-07-07 Kenichi Handa <handa@m17n.org>
13869 * international/characters.el (build-unicode-category-table):
13871 (unicode-category-table): Set it by unicode-property-table-internal.
13873 * international/mule-cmds.el (char-code-property-alist): Move to
13875 (get-char-code-property): Call unicode-property-table-internal to
13876 load a file. Call get-unicode-property-internal where necessary.
13877 (put-char-code-property): Call unicode-property-table-internal to
13878 load a file. Call put-unicode-property-internal where necessary.
13879 put-unicode-property-internal where necessary.
13880 (char-code-property-description):
13881 Call unicode-property-table-internal to load a file.
13883 * international/charprop.el:
13884 * international/uni-bidi.el:
13885 * international/uni-category.el:
13886 * international/uni-combining.el:
13887 * international/uni-comment.el:
13888 * international/uni-decimal.el:
13889 * international/uni-decomposition.el:
13890 * international/uni-digit.el:
13891 * international/uni-lowercase.el:
13892 * international/uni-mirrored.el:
13893 * international/uni-name.el:
13894 * international/uni-numeric.el:
13895 * international/uni-old-name.el:
13896 * international/uni-titlecase.el:
13897 * international/uni-uppercase.el: Regenerate.
13899 * loadup.el: Load international/charprop.el before
13900 international/characters.
13902 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13904 * window.el (next-buffer, previous-buffer): Signal an error if
13905 called from a minibuffer window.
13907 * bindings.el: Revert 2011-07-04 change.
13909 2011-07-06 Richard Stallman <rms@gnu.org>
13911 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13912 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13913 Treat markers like ints.
13914 (rmail-mime-entity): Doc fix.
13916 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13918 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13919 defcustom again for backwards compatibility.
13921 * simple.el (shell-command-on-region): Fill.
13923 * dired-aux.el (dired-kill-line): Add a doc string.
13925 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13926 to "\\sw\\|\\s_" (bug#358).
13928 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13929 (dired-unmark-backward): Ditto.
13930 (dired-flag-backup-files): Ditto.
13932 * dired-x.el (dired-mark-sexp): Ditto.
13934 2011-07-06 Richard Stallman <rms@gnu.org>
13936 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13937 (rmail-mime-entity): New arg TRUNCATED.
13938 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13940 (rmail-mime-save): Warn if entity is truncated.
13941 (rmail-mime-toggle-hidden): Likewise, for showing.
13942 (rmail-mime-process-multipart): Record when an entity is truncated.
13944 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13945 if ENTITY is a string.
13947 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13949 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13950 of faces when `M-C-x'-ing their definitions (bug#8378).
13951 Also clean up the code slightly.
13953 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13954 because that makes the colors go away.
13956 * mail/sendmail.el (send-mail-function): Change the default to
13957 `sendmail-query-once'.
13958 (sendmail-query-once): Add an autoload cookie.
13960 * net/network-stream.el (network-stream-open-starttls): Try using
13961 a plain connection even if the server offered STARTTLS, and we
13962 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13963 capability. This should make smtpmail.el work in slightly more
13966 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13968 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13970 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13972 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13974 * progmodes/sql.el: Version 3.0
13975 (sql-product-alist): Add product :completion-object,
13976 :completion-column, and :statement attributes.
13977 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13978 (sql-mode-syntax-table): Mark all punctuation.
13979 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13981 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13982 (sql-mode-oracle-font-lock-keywords): Improve.
13983 (sql-oracle-show-reserved-words): New function for development.
13984 (sql-product-font-lock): Simplify for source code buffers.
13985 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13987 (sql-highlight-product): Set product specific syntax table.
13988 (sql-mode-map): Add statement movement functions.
13989 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13991 (sql-statement-regexp, sql-beginning-of-statement)
13992 (sql-end-of-statement, sql-signum): New functions.
13993 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13994 (sql-show-sqli-buffer): Bug fix.
13995 (sql-interactive-mode): Store connection data as buffer local.
13996 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13997 with sql-interactive-mode.
13998 (sql-save-connection): Save buffer local settings.
13999 (sql-connection-menu-filter): Change menu entry name.
14000 (sql-product-interactive): Bug fix.
14001 (sql-preoutput-hold): New variable.
14002 (sql-interactive-remove-continuation-prompt): Bug fixes.
14003 (sql-debug-redirect): New variable.
14004 (sql-str-literal): New function.
14005 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14007 (sql-oracle-save-settings, sql-oracle-restore-settings)
14008 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14009 (sql-completion-object, sql-completion-column)
14010 (sql-completion-sqlbuf): New variables.
14011 (sql-build-completions-1, sql-build-completions)
14012 (sql-try-completion): New functions.
14013 (sql-read-table-name): Use them.
14014 (sql-contains-names): New buffer local variable.
14015 (sql-list-all, sql-list-table): Use it.
14016 (sql-oracle-completion-types): New variable.
14017 (sql-oracle-completion-object, sql-sqlite-completion-object)
14018 (sql-postgres-completion-object): New functions.
14020 2011-07-06 Glenn Morris <rgm@gnu.org>
14022 * window.el (pop-to-buffer): Doc fix.
14024 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14026 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14028 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14030 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14032 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14034 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14036 * button.el (button): Inherit from link face. Suggested by Dan
14039 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14041 * progmodes/gdb-mi.el: Fit in 80 columns.
14042 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14045 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14046 if imenu is simply not configured (bug#8941).
14048 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14050 * allout.el (allout-post-undo-hook): New allout outline-change
14051 event hook to signal undo activity.
14052 (allout-post-command-business): Run allout-post-undo-hook if an
14053 undo just occurred.
14054 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14055 * allout-widgets.el (allout-widgets-after-undo-function):
14056 Ensure the integrity of the current item's decoration after it has been
14057 in the vicinity of an undo.
14058 (allout-widgets-mode): Include allout-widgets-after-undo-function
14059 on the new allout-post-undo-hook.
14061 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14063 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14064 Let define-derived-mode define it.
14065 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14066 cycles of abbrev-table inheritance (bug#8998).
14068 2011-07-05 Roland Winkler <winkler@gnu.org>
14070 * textmodes/bibtex.el: Add support for biblatex.
14071 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14072 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14073 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14074 (bibtex-entry-alist, bibtex-field-alist): New variables.
14075 (bibtex-entry-field-alist): Obsolete alias for
14076 bibtex-BibTeX-entry-alist.
14077 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14078 (bibtex-set-dialect): New command.
14079 (bibtex-entry-type, bibtex-entry-head)
14080 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14081 Bind via bibtex-set-dialect.
14082 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14083 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14084 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14085 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14086 Define via bibtex-set-dialect.
14087 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14088 Obey bibtex-no-opt-remove-re.
14089 (bibtex-vec-push, bibtex-vec-incr): New functions.
14090 (bibtex-format-entry, bibtex-field-list)
14091 (bibtex-print-help-message, bibtex-validate)
14092 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14094 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14096 * progmodes/compile.el (compilation-goto-locus):
14097 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14098 * bs.el (bs-cycle-next, bs-cycle-previous):
14099 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14100 * bindings.el (mode-line-other-buffer):
14101 * autoinsert.el (auto-insert):
14102 * arc-mode.el (archive-extract):
14103 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14105 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14107 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14108 Fix check of `emacs-lock-unlockable-modes'.
14109 Coerce true values of `emacs-lock--try-unlocking' to t.
14111 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14113 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14114 * emacs-lock.el: New file.
14116 2011-07-05 Julien Danjou <julien@danjou.info>
14118 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14119 than `boundp' to check if face is set.
14121 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14123 * register.el (registerv-make):
14124 * window.el (window-min-height): Fix typos in docstrings.
14126 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14128 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14131 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14133 * server.el (server-execute): Catch quit and call
14134 `server-return-error' to pass the error back to emacsclient and
14135 close the connection (bug#8942).
14137 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14139 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14140 insecure exception for current topic. Also note that auto-saves
14141 are handled differently.
14143 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14144 State variables for tracking auto-save inhibition situation.
14146 (allout-write-contents-hook-handler): Rename from
14147 'allout-write-file-hook-handler', and describe how it depends on
14148 write-contents-functions sensitivity to non-nil value to prevent
14151 (allout-auto-save-hook-handler): Remove. auto-save does not check
14152 this in individual buffers, only in the starting buffer, so this
14153 is not the right way for us to inhibit auto-save in a buffer
14154 according to its condition.
14156 (allout-mode): Use new allout-write-contents-hook-handler, and
14157 only with write-contents-functions. Remove auto-save provisions -
14158 they're implemented elsewhere.
14160 (allout-before-change-handler): If undo is in progress, note that
14161 for attention of allout-post-command-business.
14163 (allout-post-command-business): If the command we're following was
14164 an undo, check for change in the status of encrypted items and
14165 adjust auto-save inhibitions accordingly.
14167 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14168 according to whether there are or aren't any plain-text topics
14169 pending encryption.
14171 (allout-inhibit-auto-save-info-for-decryption):
14172 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14173 if there are plain-text topics pending encryption.
14175 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14176 buffer-saved-size and some allout state to not inhibit auto-saves
14177 if there are no longer any plain-text topics pending encryption.
14179 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14180 No longer provide for exemption of the current topic.
14182 2011-07-04 Juri Linkov <juri@jurta.org>
14184 Add 7z operations to delete and save changed members (bug#8968).
14185 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14187 (archive-7z-write-file-member): New function.
14188 (archive-7z-summarize): Fix the number of dashes in the
14191 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14193 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14196 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14198 * bindings.el: Ignore next-buffer and previous-buffer in
14199 minibuffer-local-map.
14201 * font-lock.el (font-lock-builtin-face): Change light background
14202 color to dark slate blue (Bug#6693).
14204 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14206 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14208 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14210 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14211 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14212 Add switch-to-buffer.
14214 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14216 * isearch.el (isearch-search-fun-function): Clarify further the
14217 meaning of the function returned.
14219 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14221 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14223 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14224 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14226 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14227 `tramp-default-remote-path' does not exist.
14228 (tramp-send-command-and-read): New optional argument NOERROR.
14229 (tramp-open-connection-setup-interactive-shell)
14230 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14231 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14232 (tramp-process-sentinel): Flush also process' connection property.
14233 (tramp-sh-handle-start-file-process): Do not set process
14234 sentinel. It is done now ...
14235 (tramp-maybe-open-connection): ... here. (Bug#8929)
14237 2011-07-04 MON KEY <monkey@sandpframing.com>
14239 * play/animate.el (animate-string): Doc fixes and allow changing
14240 the buffer name (bug#5417).
14242 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14244 * play/animate.el (animation-buffer-name): Rename from *animate*.
14246 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14248 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14249 This is simpler and helps future-proof the code.
14250 (timer-until): Use time-subtract and float-time.
14251 (timer--time-less-p): Use time-less-p.
14253 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14255 * type-break.el (timep): Use the value of `float-time' to avoid a
14256 byte-compiler warning.
14258 * server.el (server-eval-and-print): Return any result, even nil.
14260 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14262 * type-break.el: Accept time formats that the builtins accept.
14263 (timep, type-break-time-difference): Accept any format that
14264 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14265 This is simpler and helps future-proof the code.
14266 (type-break-time-difference): Round rather than ignoring
14267 subseconds components.
14269 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14271 * info.el (Info-apropos-matches): Make non-interactive, since it
14272 doesn't seem to do anything useful as a command (bug#8829).
14274 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14276 * frame.el (frame-background-mode, frame-set-background-mode):
14277 Move from faces.el.
14278 (frame-default-terminal-background): New function.
14280 * custom.el (custom-push-theme): Don't record faces in `changed'
14281 theme; this doesn't work correctly for per-frame face settings.
14282 (disable-theme): Use face-set-after-frame-default to reset faces.
14283 (custom--frame-color-default): New function.
14285 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14287 * dired.el (dired-flagging-regexp): Remove unused variable
14290 2011-03-29 Kevin Ryde <user42@zip.com.au>
14292 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14293 `perl-Test2' extend to match possible "fail #N" rep count
14296 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14298 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14299 `smtpmail-via-smtp' now returns the error instead of nil.
14301 * isearch.el (isearch-search-fun-function): Clarify the doc string
14304 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14306 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14307 unnecessary spaces (bug#8987).
14309 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14311 * net/network-stream.el (open-network-stream): Use the
14312 :end-of-capability command thoughout.
14314 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14316 * net/network-stream.el (open-network-stream): Add the
14317 :end-of-capability command parameter, used by pop3.el.
14319 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14321 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14323 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14324 for list)" (bug#6475).
14326 * files.el (file-expand-wildcards): Ignore non-readable
14327 sub-directories while trying to find matches instead of signaling
14328 an error (bug#6297).
14330 * man.el (Man-reference-regexp): Allow matching possible
14331 word-wrapped references (bug#6289).
14333 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14334 for consistency with the other vc buffers (bug#6197).
14335 (vc-checkin): Ditto.
14337 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14339 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14341 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14343 * custom.el (defcustom): Clarify that :set is only used in the
14344 Customize user interface (bug#6089).
14346 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14347 associated with a file, refuse to run instead of erroring out
14350 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14351 the doc string, since it appears that using `fill-column' always
14352 controls the width (bug#7845).
14354 * simple.el (shell-command-on-region): Say where the error output
14355 went if `shell-command-default-error-buffer' is set (bug#6857).
14357 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14359 * allout.el (allout-yank-processing): Adjust cursor position for
14360 backwards-deleted space.
14362 (allout-rebullet-heading): Register changes with
14363 allout-exposure-changed-hook, so the modified topic is properly
14366 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14368 * minibuffer.el (completion-in-region): Document PREDICATE
14371 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14372 of keyword/argument pairs (bug#6904).
14374 * replace.el (multi-occur):
14375 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14377 2011-07-02 Drew Adams <drew.adams@oracle.com>
14379 * dired.el (dired-mark-if): Make the message about whether it's
14380 marking or unmarking clearer (bug#8523).
14382 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14384 * disp-table.el (display-table-print-array): New function.
14385 (describe-display-table): Use it to print the vectors more pretty
14388 2011-07-02 Martin Rudalics <rudalics@gmx.at>
14390 * window.el (window-state-get-1): Don't assign clone numbers.
14391 Add clone-of item to list of window parameters.
14392 (window-state-put-2): Don't process clone numbers.
14393 (display-buffer-alist): Fix doc-string.
14395 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14397 * subr.el (remq): Don't allocate if it's not needed.
14398 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14399 (keymap--merge-bindings): New functions.
14400 (keymap-canonicalize): Use them to refine the canonicalization.
14401 * minibuffer.el (minibuffer-local-completion-map)
14402 (minibuffer-local-must-match-map): Move initialization from C.
14403 (minibuffer-local-filename-completion-map): Move initialization from C;
14404 don't inherit from anything here.
14405 (minibuffer-local-filename-must-match-map): Make obsolete.
14406 (completing-read-default): Use make-composed-keymap to combine
14407 minibuffer-local-filename-completion-map with either
14408 minibuffer-local-must-match-map or
14409 minibuffer-local-filename-completion-map.
14411 2011-07-01 Glenn Morris <rgm@gnu.org>
14413 * type-break.el (type-break-time-sum): Use dolist.
14415 * textmodes/flyspell.el (flyspell-word-search-backward):
14416 Replace CL function.
14418 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14420 * mouse.el (mouse--strip-first-event): New function.
14421 (function-key-map): Use it to map fringe clicks to normal clicks
14424 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14425 (vc-bzr-revision-completion-table): Add support for annotate and date.
14427 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14428 inherit from parent.
14430 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14432 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14433 (dired-show-file-type): Doc fixup (bug#8818).
14435 * dired.el (dired-mode): Fix up the doc string as suggested by
14436 Drew Adams (bug#8817).
14438 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14439 cookie, since the manual says that it should be possible to add
14440 this function to `find-file-hook' (bug#8709).
14442 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14444 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14445 here. Noted Ted Zlatanov as the maintainer.
14446 (cfengine-common-settings, cfengine-common-syntax): New functions
14447 to set up common things between `cfengine-mode' and
14449 (cfengine3-mode): New mode.
14450 (cfengine3-defuns cfengine3-defuns-regex
14451 (cfengine3-class-selector-regex cfengine3-category-regex)
14452 (cfengine3-vartypes cfengine3-font-lock-keywords)
14453 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14454 (cfengine3-indent-line): Add from cfengine3.el.
14456 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
14458 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14460 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14462 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14464 * window.el (same-window-buffer-names, same-window-regexps)
14465 (same-window-p, special-display-frame-alist)
14466 (special-display-popup-frame, special-display-function)
14467 (special-display-buffer-names, special-display-regexps)
14468 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14469 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14470 (split-window-preferred-function, split-height-threshold)
14471 (split-width-threshold, even-window-heights)
14472 (display-buffer-mark-dedicated, window-splittable-p)
14473 (split-window-sensibly, window-safely-shrinkable-p):
14475 (display-buffer): Don't spread args with function specifier
14476 because special-display-popup-frame won't like it.
14478 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14480 Time-stamp simplifications and fixes.
14481 These improve accuracy slightly, and future-proof the code
14482 against some potential changes to current-time format.
14484 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14485 by using time-since and float-time.
14487 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14488 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14489 + NNN microseconds".
14491 * type-break.el (type-break-time-sum): Rewrite using time-add.
14493 * play/hanoi.el (hanoi-current-time-float): Remove.
14494 All uses replaced by float-time.
14496 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14497 This yields a more-accurate answer.
14498 (rng-time-to-float): Remove; no longer needed.
14500 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14502 * calendar/timeclock.el (timeclock-seconds-to-time):
14503 Defalias to seconds-to-time, since they're the same thing.
14505 * emacs-lisp/elp.el (elp-elapsed-time):
14506 * emacs-lisp/benchmark.el (benchmark-elapse):
14507 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14509 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14511 * window.el (bury-buffer): Don't iconify the only frame.
14512 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14513 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14515 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
14517 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14518 Add mouse-yank-primary.
14520 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14522 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14524 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14526 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14527 (find-library-name): Use it to find relative load names when provided
14528 absolute file name (bug#8803).
14530 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14532 * textmodes/flyspell.el (flyspell-word): Consider words that
14533 differ only in case as potential doublons (bug#5687).
14535 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14536 Remove two rather uninteresting debugging-like messages to make
14537 debbugs.el more silent.
14539 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14540 a password-like phrase.
14542 2011-06-30 Masatake YAMATO <yamato@redhat.com>
14544 * progmodes/cc-guess.el: New file.
14546 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14548 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14549 derived from `c-basic-common-init'.
14551 * progmodes/cc-mode.el (top-level): Require cc-guess.
14552 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14554 2011-06-30 Lawrence Mitchell <wence@gmx.li>
14556 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14558 2011-06-30 Alan Mackenzie <acm@muc.de>
14560 * progmodes/cc-engine.el (c-guess-continued-construct):
14561 Correct the handling of template-args-cont, particularly for when font
14562 lock is disabled. Name this case as "CASE G".
14564 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14566 * allout.el (allout-yank-processing): Fix injection of extra space
14567 between bullet and non-whitespace character in first topic when
14568 pasting, ensuring that the actual spacing in the pasted topic
14569 following the bullet char is preserved. This extra space was
14570 causing pasted encrypted topics to get a decrypted status even
14571 when the content was actually still encrypted. Now the decryption
14572 status from before the paste is preserved.
14574 (allout-flag-region): Set all allout overlays so they evaporate
14575 when reduced to zero length (evanescent), to prevent overlay
14578 2011-06-30 Glenn Morris <rgm@gnu.org>
14580 * w32-fns.el (w32-charset-info-alist): Declare.
14582 * find-dired.el (find-grep-options): Simplify.
14584 * term/ns-win.el (ns-set-resource): Declare.
14586 * ses.el (row, col): Declare dynamic variables honestly.
14588 * textmodes/reftex-parse.el (index-tags): Declare.
14590 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
14592 * cus-edit.el (customize-push-and-save): New function.
14594 * files.el (hack-local-variables-confirm): Use it.
14596 * custom.el (load-theme): New arg NO-CONFIRM.
14597 Use customize-push-and-save (Bug#8720).
14598 (custom-enabled-themes): Doc fix.
14600 * cus-theme.el (customize-create-theme)
14601 (custom-theme-merge-theme): Callers to load-theme changed.
14603 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14605 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14606 short URLs have at least one dot in them (bug #7614).
14608 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14609 nil, because using a pty is apparently too slow (bug #895).
14611 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14613 * mail/sendmail.el (sendmail-query-once): New function.
14614 (sendmail-query-once-function): New variable.
14616 2011-06-29 Glenn Morris <rgm@gnu.org>
14618 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14620 * ses.el (top-level): Require cl when compiling.
14621 (ses-set-localvars): Fix error statement.
14622 Call it at compile time to silence a storm of warnings.
14624 2011-06-29 Martin Rudalics <rudalics@gmx.at>
14626 * window.el (normalize-live-buffer): Rename to
14627 window-normalize-buffer.
14628 (normalize-live-frame): Rename to window-normalize-frame.
14629 (normalize-any-window): Rename to window-normalize-any-window.
14630 (normalize-live-window): Rename to window-normalize-live-window.
14631 (make-window-atom): Rename to window-make-atom.
14632 (window-resize-reset): Rename to window--resize-reset.
14633 (window-resize-reset-1): Rename to window--resize-reset-1.
14634 (resize-mini-window): Rename to window--resize-mini-window.
14635 (resize-subwindows-skip-p): Rename to
14636 window--resize-subwindows-skip-p.
14637 (resize-subwindows-normal): Rename to
14638 window--resize-subwindows-normal.
14639 (resize-subwindows): Rename to window--resize-subwindows.
14640 (resize-other-windows): Rename to window--resize-siblings.
14641 (resize-this-window): Rename to window--resize-this-window.
14642 (resize-root-window): Rename to window--resize-root-window.
14643 (resize-root-window-vertically): Rename to
14644 window--resize-root-window-vertically.
14645 (normalize-buffer-to-display): Rename to
14646 window-normalize-buffer-to-display.
14647 (normalize-buffer-to-switch-to): Rename to
14648 window-normalize-buffer-to-switch-to.
14649 Correspondingly update all callers of the functions listed
14651 (display-buffer-alist, display-buffer-normalize-arguments)
14652 (display-buffer-normalize-options, display-buffer)
14653 (display-buffer-alist-set): Use "function" instead of
14656 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
14658 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14659 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14660 debbugs.gnu.org. Mention acknowledgment email.
14662 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14664 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14665 buffer multibyteness, since it shouldn't matter.
14667 2011-06-28 Martin Rudalics <rudalics@gmx.at>
14669 * window.el (display-buffer-in-side-window): Handle dedicated
14670 windows as in display-buffer-reuse-window.
14671 (display-buffer-normalize-alist): Use value of override
14673 (display-buffer-normalize-specifiers): Use value of
14674 other-window-means-other-frame specifier.
14675 (display-buffer-alist): Rewrite some texts in widgets.
14676 (display-buffer): Spread arguments when calling function
14677 specified by fun-with-args.
14679 2011-06-28 Deniz Dogan <deniz@dogan.se>
14681 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14684 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14685 selectors (Bug#5732).
14686 (css-proprietary-nmstart-re): Use `regexp-opt'.
14688 2011-06-27 Jari Aalto <jari.aalto@cante.net>
14690 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14691 (eshell-ls-date-format): New defcustom.
14692 (eshell-ls-file): Use it.
14694 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14696 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14698 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14700 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14701 (ange-ftp-make-tmp-name): New arg.
14702 (ange-ftp-file-local-copy): Use it.
14704 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
14706 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14707 no-conversion (Bug#8870).
14709 2011-06-27 Martin Rudalics <rudalics@gmx.at>
14711 * window.el (window-right, window-left, window-child)
14712 (window-child-count, window-last-child)
14713 (window-iso-combination-p, walk-window-tree-1)
14714 (window-atom-check-1, window-tree-1, delete-window)
14715 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14716 new naming conventions - window-vchild, window-hchild,
14717 window-next and window-prev are now called window-top-child,
14718 window-left-child, window-next-sibling and window-prev-sibling
14720 (resize-window-reset): Rename to window-resize-reset.
14721 (resize-window-reset-1): Rename to window-resize-reset-1.
14722 (resize-window): Rename to window-resize.
14723 (window-min-height, window-min-width)
14724 (resize-mini-window, resize-this-window, resize-root-window)
14725 (resize-root-window-vertically, adjust-window-trailing-edge)
14726 (enlarge-window, shrink-window, maximize-window)
14727 (minimize-window, delete-window, quit-restore-window)
14728 (split-window, balance-windows, balance-windows-area-adjust)
14729 (balance-windows-area, window-state-put-2)
14730 (display-buffer-even-window-sizes, display-buffer-set-height)
14731 (display-buffer-set-width, set-window-text-height)
14732 (fit-window-to-buffer): Rename all "resize-window" prefixed
14733 calls to use the "window-resize" prefix convention.
14734 (display-buffer-alist): Fix symbol for label specifier.
14735 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14736 corresponding specifier.
14737 Reported by Juanma Barranquero <lekktu@gmail.com>.
14739 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14741 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14743 (ses-call-printer): Does not pass an empty string to formatter when the
14744 cell is empty to keep from barking printer Calc math-format-value.
14746 2011-06-27 Richard Stallman <rms@gnu.org>
14748 * battery.el (battery-mode-line-limit): New variable.
14749 (battery-update): Handle it.
14751 * mail/rmailmm.el (rmail-mime-process-multipart):
14752 Handle truncated messages.
14754 2011-06-27 Glenn Morris <rgm@gnu.org>
14756 * progmodes/flymake.el (flymake-err-line-patterns):
14757 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14759 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14761 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14762 (ses--clean-!, ses--clean-_): New functions.
14763 (ses-range): Add configurability of readout order, and conversion
14766 * ses.el (ses-repair-cell-reference-all): New function.
14767 (ses-cell-symbol): Set macro as safe, so that it can be used in
14770 * ses.el: Update cycle detection algorithm.
14771 (ses-localvars): Add ses--Dijkstra-attempt-nb and
14772 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14773 (ses-set-localvars): New function.
14774 (ses-make-cell): Add property-list as a cell element.
14775 (ses-cell-property-get-fun, ses-cell-property-get)
14776 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14777 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14779 (ses-cell-property-set, ses-cell-property-pop)
14780 (ses-cell-property-get-handle): New macro.
14781 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14782 New aliases, used for code readability.
14783 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14785 (ses-self-reference-early-detection): New defcustom.
14786 (ses-formula-references): Robustify against self-referring cells.
14787 (ses-mode): Use ses-set-localvars.
14788 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14789 before lauching the update processing.
14790 (ses-initialize-Dijkstra-attempt): New function.
14791 (ses-recalculate-cell): Update for cycle detection based on
14792 Dijkstra algorithm.
14794 * ses.el: Fix commenting and indenting convention.
14796 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14798 * bs.el (bs-cycle-next): Complete last change.
14800 2011-06-27 Drew Adams <drew.adams@oracle.com>
14802 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14804 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14806 * net/network-stream.el (network-stream-open-starttls):
14807 Don't re-get capabilities unless we've reestablished connection.
14808 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14810 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14811 to binary to possibly avoid line encoding issues on Windows (among
14814 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14816 * net/network-stream.el (open-network-stream): Return an :error
14817 saying what the problem was, if possible.
14819 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14822 * net/network-stream.el (network-stream-open-starttls): If we
14823 wanted to use STARTTLS, and the server offered it, but we weren't
14824 able to because we had no STARTTLS support, then close the connection.
14825 (open-network-stream): Return an :error element, if present.
14827 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14829 * hl-line.el (hl-line-sticky-flag): Doc fix.
14830 (global-hl-line-sticky-flag): New option (Bug#8323).
14831 (global-hl-line-highlight): Obey it.
14833 * vc/vc.el (vc-revert-show-diff): Default to t.
14835 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14837 * allout-widgets.el (allout-widgets-post-command-business):
14838 Stop decorating intermediate isearch matches. They're not being
14839 undecorated when an isearch is continued past, and isearch
14840 automatically collapses them. This leads to "widget leaks", where
14841 decorated items accumulate in collapsed areas. Lines with lots of
14842 hidden widgets can slow down cursor travel, substantially.
14843 Too much complicated machinery would be needed to ensure undecoration,
14844 so we're doing without this nicety.
14846 (allout-widgets-tally-string): Don't try to do a hash-table-count
14847 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14848 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14849 *Messages* when allout-widgets-maintain-tally is t.
14851 2011-06-26 Martin Rudalics <rudalics@gmx.at>
14853 * window.el (display-buffer-normalize-argument): Rename to
14854 display-buffer-normalize-arguments. Handle special meaning of
14855 LABEL argument. Respect special-display-function when popping up
14856 a new frame. Fix code searching for a window showing the buffer
14858 (display-buffer-normalize-specifiers):
14859 Call display-buffer-normalize-arguments.
14860 (display-buffer-in-window): Don't undedicate the window if its
14861 buffer remains the same.
14862 Reported by Drew Adams <drew.adams@oracle.com>.
14863 (display-buffer-alist): Add choice for same-window macro
14865 (display-buffer): Mention special meaning of LABEL argument in
14866 doc-string. Fix quoting. Don't pop up a new frame even as
14869 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14871 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14872 avoid deleting the current window in some cases (bug#8911).
14874 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14876 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14879 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14881 * net/network-stream.el (network-stream-open-starttls):
14882 Use built-in TLS support if `gnutls-available-p' is true.
14883 (network-stream-open-tls): Ditto.
14885 2011-06-26 Leo Liu <sdl.web@gmail.com>
14887 * register.el (registerv): New struct.
14888 (registerv-make): New function.
14889 (jump-to-register, describe-register-1, insert-register):
14890 Support the jump-func, print-func and insert-func slot of a registerv
14893 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14895 * vc/vc.el (vc-revert-show-diff): New defcustom.
14896 (vc-diff-internal): New arg specifying diff buffer.
14897 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14898 reuse an existing *vc-diff* buffer (Bug#8927).
14900 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14902 2011-06-26 Glenn Morris <rgm@gnu.org>
14904 * progmodes/f90.el (f90-critical-indent): New option.
14905 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14906 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14907 (f90-mode): Doc fix.
14908 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14909 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14910 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14911 (f90-match-end): Handle block, critical.
14913 2011-06-25 Glenn Morris <rgm@gnu.org>
14915 * calendar/diary-lib.el (diary-included-files): Doc fix.
14916 (diary-include-files): New function, extracted from
14917 diary-include-other-diary-files and diary-mark-included-diary-files.
14918 (diary-include-other-diary-files, diary-mark-included-diary-files):
14919 Just call diary-include-files.
14920 (diary-mark-entries): Reset diary-included-files on first call.
14922 * calendar/diary-lib.el (diary-mark-entries)
14923 (diary-mark-included-diary-files):
14924 Visit included diary-files in temp buffers.
14926 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14927 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14928 (f90-start-block-re, f90-imenu-generic-expression)
14929 (f90-looking-at-program-block-start, f90-no-block-limit):
14930 Add support for submodules.
14932 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14933 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14935 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14937 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14938 buffer-file-type before setting its value, to avoid disastrous
14939 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14941 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14943 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14945 * ses.el (ses-unload-function):
14946 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14948 * proced.el (proced-unload-function):
14949 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14951 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14953 * server.el (server-create-window-system-frame): Add parameters arg.
14954 (server-process-filter): Doc fix. Handle frame-parameters.
14956 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14958 Fix bug#8730, bug#8781.
14960 * loadhist.el (unload--set-major-mode): New function.
14961 (unload-feature): Use it.
14963 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14964 (python-unload-function): New function.
14966 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14968 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14970 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14972 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14973 the candidates list.
14975 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14977 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14979 2011-06-23 Richard Stallman <rms@gnu.org>
14981 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14982 (rmail-variables): Set next-error-move-function.
14983 (rmail-what-message): Take argument POS.
14984 (rmail-next-error-move): New function.
14986 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14988 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14989 messages for adjacent non-terminals.
14991 2011-06-23 Richard Stallman <rms@gnu.org>
14993 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14994 (rmail-show-message-1): Preserve buffer modified flag.
14995 (rmail-start-mail): Don't specify use of rmail-mail-return;
14996 that's done by mail-bury now.
14997 (rmail-mail-return): Handle arg NEWBUF.
14999 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15001 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15004 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15006 * window.el (get-lru-window, get-mru-window)
15007 (get-largest-window): Never return a minibuffer window.
15008 (display-buffer-pop-up-window): Fix a bug that could lead to
15009 reusing the minibuffer window.
15010 (display-buffer): Pass original specifier argument to
15011 display-buffer-function instead of the normalized one.
15012 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15014 2011-06-22 Leo Liu <sdl.web@gmail.com>
15016 * minibuffer.el (completing-read-function)
15017 (completing-read-default): Move from minibuf.c
15019 2011-06-22 Richard Stallman <rms@gnu.org>
15021 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15022 to Rmail even if not started by a special Rmail command.
15024 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15025 Copy the buffer currently showing just one message.
15027 2011-06-22 Roland Winkler <winkler@gnu.org>
15029 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15030 (bibtex-clean-entry): First delete the old key so that a
15031 customized algorithm for generating the new key does not get
15032 confused by the old key.
15033 (bibtex-url): Obey regexp of first step.
15034 (bibtex-search-entries): Do not use add-to-list with local
15037 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15039 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15040 stored a user name, then query for the password first, instead of
15041 waiting for SMTP to give an error message and the trying again.
15043 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15045 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15046 BUFFER in call-process.
15048 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15050 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15052 (smtpmail-try-auth-methods): Require user name and password from
15055 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15057 * window.el (display-buffer-default-specifiers)
15058 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15059 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15060 (split-window): Normalize SIDE argument (Bug#8916).
15062 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15063 (special-display-frame-alist, special-display-popup-frame):
15064 Remove duplicate declarations. These are now in window.el.
15066 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15068 * mail/smtpmail.el (smtpmail-via-smtp):
15069 Set :use-starttls-if-possible so that we always use STARTTLS if the
15070 server supports it. SMTP servers that support STARTTLS commonly
15073 * net/network-stream.el (network-stream-open-starttls): Support
15074 upgrading to STARTTLS always, even if we don't have built-in support.
15075 (open-network-stream): Add the :always-query-capabilities keyword.
15077 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15078 upgrades with `open-network-stream', and rely solely on
15079 auth-source for all credentials. Big changes throughout the file,
15081 (smtpmail-auth-credentials): Remove.
15082 (smtpmail-starttls-credentials): Remove.
15083 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15086 * net/network-stream.el (network-stream-open-starttls):
15087 Provide support for client certificates both for external and built-in
15089 (auth-source): Require.
15090 (open-network-stream): Document the :client-certificate keyword.
15091 (network-stream-certificate): Change cert-cert to cert and
15094 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15096 * net/tramp-cache.el (top): Don't load the persistency file when
15097 "emacs -Q" has been called.
15099 2011-06-21 Tim Harper <timcharper@gmail.com>
15101 * term/ns-win.el (ns-initialize-window-system):
15102 Set application-specific `ApplePressAndHoldEnabled' system
15103 resource to NO as it is not yet supported by the NS port.
15105 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15107 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15108 (list-dynamic-libraries): ...not here.
15110 2011-06-21 Leo Liu <sdl.web@gmail.com>
15112 * subr.el (sha1): Implement sha1 using secure-hash.
15114 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15116 * window.el (display-buffer-alist): In default value do not
15117 enforce searching a window on any but the selected frame.
15118 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15119 (display-buffer-select-window): Remove function.
15120 (display-buffer-in-window): When a window on another frame gets
15121 reused, do not select it any more but just raise its frame if
15122 necessary (Bug#8851) and (Bug#8856).
15123 (display-buffer-normalize-options): Handle pop-up-frames related
15124 options more faithfully.
15125 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15126 window if it is on another frame.
15127 (display-buffer-alist, display-buffer-default-specifiers):
15128 Don't make new frame unsplittable by default.
15129 (display-buffer-normalize-argument): Fix doc-string typo and use
15130 'same-frame-other-window instead of 'other-window when associating
15131 with display-buffer-macro-specifiers.
15133 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15135 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15137 (5x5-mode-map, 5x5-mode-menu): Bind them.
15138 (5x5-draw-grid): Tweak the solver's rendering.
15140 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15142 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15143 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15145 2011-06-21 Drew Adams <drew.adams@oracle.com>
15147 * menu-bar.el: Use function variable instead of switch-to-buffer.
15148 (menu-bar-select-buffer-function): New variable.
15149 (menu-bar-update-buffers): Use it (bug#8876).
15151 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15153 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15156 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15158 * x-dnd.el (x-dnd-version-from-flags)
15159 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15160 and long as number (Bug#8899).
15161 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15163 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15166 (completion-try-completion, completion-all-completions): Compute the
15167 metadata argument if it's missing; make it optional (bug#8795).
15169 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15170 (widget-complete): Use new :completion-function property.
15171 (widget-completions-at-point): New function.
15172 (default): Use :completion-function instead of :complete.
15173 (widget-default-completions): Rename from widget-default-complete;
15175 (widget-string-complete, widget-file-complete, widget-color-complete):
15177 (file, symbol, function, variable, coding-system, color):
15178 * international/mule-cmds.el (default-input-method, charset)
15179 (language-info-custom-alist):
15180 * cus-edit.el (face): Use new property :completions.
15182 * progmodes/pascal.el (pascal-completions-at-point): New function.
15183 (pascal-mode): Use it.
15184 (pascal-mode-map): Use completion-at-point.
15185 (pascal-toggle-completions): Make obsolete.
15186 (pascal-complete-word, pascal-show-completions):
15187 * progmodes/octave-mod.el (octave-complete-symbol):
15188 Redefine as obsolete alias.
15189 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15190 Signal absence of completion info for old Octave,
15191 (inferior-octave-complete): Redefine as obsolete alias.
15192 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15193 (meta-completions-at-point): Rename from meta-complete-symbol and
15194 adapt it for use on completion-at-point-functions.
15195 (meta-common-mode): Use it.
15196 (meta-looking-at-backward, meta-match-buffer): Remove.
15197 (meta-complete-symbol): Redefine as obsolete alias.
15198 (meta-common-mode-map): Use completion-at-point.
15199 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15200 (makefile-mode-map): Use completion-at-point.
15201 (makefile-completions-at-point): Rename from makefile-complete and
15202 adapt it for use on completion-at-point-functions.
15203 (makefile-mode): Use it.
15204 (makefile-complete): Redefine as obsolete alias.
15206 2011-06-20 Deniz Dogan <deniz@dogan.se>
15208 * net/rcirc.el: Delete trailing whitespaces once and for all.
15210 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15212 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15214 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
15216 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15218 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15220 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15222 * window.el (display-buffer-other-window-means-other-frame):
15223 Call display-buffer-normalize-alist.
15224 (display-buffer-normalize-specifiers-1): Rename to
15225 display-buffer-normalize-argument. New argument other-frame.
15227 (display-buffer-normalize-specifiers-2): Rename to
15228 display-buffer-normalize-options.
15229 (display-buffer-normalize-alist-1): New function.
15230 (display-buffer-normalize-specifiers-3): Rename to
15231 display-buffer-normalize-alist.
15232 Call display-buffer-normalize-alist-1.
15233 (display-buffer-normalize-options-inhibit): New variable.
15234 (display-buffer-normalize-specifiers): Rewrite calling
15235 display-buffer-normalize-alist,
15236 display-buffer-normalize-argument, and
15237 display-buffer-normalize-options. Don't call the latter if
15238 display-buffer-normalize-options-inhibit is non-nil.
15239 (frame-auto-delete): New option.
15240 (window-deletable-p): Use frame-auto-delete.
15241 (window-list-no-nils, window-state-ignored-parameters)
15242 (window-state-get-1, window-state-get, window-state-put-list)
15243 (window-state-put-1, window-state-put-2, window-state-put):
15245 (display-buffer-normalize-options): Move special-display-p group
15246 after pop-up-frame group (Bug#8851) and (Bug#8856).
15248 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15250 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15252 (rx-submatch-n): New function.
15255 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15258 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15260 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15262 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15263 anytime existing face settings are present (Bug#8889).
15265 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15266 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15267 Remove unused argument.
15269 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15271 * window.el (display-buffer-default-specifiers):
15272 Remove pop-up-frame. Add pop-up-window-min-height,
15273 pop-up-window-min-width, and another reuse-window specifier
15274 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15275 (display-buffer-normalize-specifiers-2):
15276 Handle split-height-threshold and split-width-threshold also when
15277 pop-up-windows is unset. Add a reuse-window specifier for the
15278 case popping up a new window fails.
15279 (special-display-popup-frame): Remove double quoting.
15280 (display-buffer-normalize-specifiers-1): Fix thinko.
15282 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15284 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15285 according to comint-completion-addsuffix.
15287 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15288 (pcomplete-suffix-list): Mark as obsolete.
15289 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15290 pcomplete-seen in the closure.
15291 (pcomplete-comint-setup): Setup completion-at-point as well.
15292 (pcomplete--entries): New function.
15293 (pcomplete--env-regexp): New var.
15294 (pcomplete-entries): Rewrite to work with partial-completion and
15295 without relying on pcomplete-suffix-list.
15296 (pcomplete-pare-list): Remove, unused.
15298 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15300 * window.el (display-buffer-alist): Set pop-up-window-min-height
15301 and pop-up-window-min-width in default value. Reported by
15302 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15303 other-window-means-other-frame.
15304 (display-buffer-macro-specifiers): Comment out entry for
15305 other-window specifier.
15306 (display-buffer-other-window-means-other-frame): New function.
15307 (display-buffer-normalize-specifiers-1): New arguments
15308 buffer-name and label. Treat other-window case specially.
15309 (display-buffer-normalize-specifiers-2): Treat other-window case
15311 (display-buffer-normalize-specifiers-3): New function.
15312 (display-buffer-normalize-specifiers):
15313 Call display-buffer-normalize-specifiers-3.
15315 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15317 * window.el (same-window-p): Fix two typos introduced when
15318 adding with-no-warnings.
15319 (display-buffer-normalize-specifiers-1): Don't check
15320 pop-up-frames for 'unset initialization.
15321 (display-buffer-normalize-specifiers-2): Major rewrite using
15322 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15323 (pop-up-frames, display-buffer-reuse-frames)
15324 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15325 Suggested by David Engster <deng@randomsample.de>.
15326 (even-window-heights): Initialize to 'unset.
15327 (display-buffer-alist-set): Handle new 'unset initializations.
15328 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15331 2011-06-16 Martin Rudalics <rudalics@gmx.at>
15333 * window.el (display-buffer-normalize-specifiers-1):
15334 Respect current value of pop-up-frames for most reasonable values of
15335 second argument of display-buffer (Bug#8865).
15336 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15337 (switch-to-buffer-other-window-same-frame)
15338 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15340 (display-buffer): Don't check noninteractive when calling
15341 display-buffer-pop-up-frame.
15342 (display-buffer-pop-up-frame): Never pop up a frame in
15343 noninteractive mode (Bug#8857).
15344 (enlarge-window, shrink-window): Don't report an error when the
15345 window can't be resized as requested (Bug#8862).
15347 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15351 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15353 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15355 2011-06-15 Alan Mackenzie <acm@muc.de>
15357 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15358 for declarators, disable knr checking to speed up for normal files.
15359 2: Refactor, replacing a sequence of nested if forms by a cond form.
15361 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15363 * net/network-stream.el (open-network-stream): Add the keyword
15364 :always-query-capabilities for the case where you want to force a
15365 `plain' network connection, but the protocol still requires the
15366 capabilitiy command (i.e., SMTP and EHLO).
15368 * subr.el (process-live-p): Rename from `process-alive-p' for
15369 consistency with other `-live-p' functions.
15371 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15373 * window.el (same-window-buffer-names, same-window-regexps)
15374 (special-display-frame-alist, special-display-popup-frame)
15375 (special-display-function, special-display-buffer-names)
15376 (special-display-regexps, pop-up-frame-alist)
15377 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15378 (pop-up-windows, split-window-preferred-function)
15379 (split-height-threshold, split-width-threshold, even-window-heights)
15380 (display-buffer-mark-dedicated): Don't encourage the use of
15381 display-buffer-alist from Elisp code.
15383 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15385 * progmodes/python.el (python-mode): Derive from prog-mode.
15386 * progmodes/ps-mode.el (ps-mode):
15387 * progmodes/mixal-mode.el (mixal-mode):
15388 * progmodes/cfengine.el (cfengine-mode):
15389 * progmodes/ld-script.el (ld-script-mode): Likewise.
15391 2011-06-15 Martin Rudalics <rudalics@gmx.at>
15393 * window.el (display-buffer-alist): Trim default value to avoid
15394 popping up a new frame (Bug#8857) or reusing an arbitrary window
15396 (display-buffer): Do not fall back on popping up a new frame in
15397 batch mode (Bug#8857).
15399 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
15401 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15402 (custom-theme-summary): New function.
15403 (customize-themes): Use it.
15405 2011-06-13 Glenn Morris <rgm@gnu.org>
15407 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15409 2011-06-13 Martin Rudalics <rudalics@gmx.at>
15411 * help.el (help-window): Remove variable.
15412 (help-window-point-marker, temp-buffer-max-height)
15413 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15414 (help-print-return-message): Don't set help-window.
15415 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15416 (help-window-setup-finish): Remove.
15417 (help-window-display-message, help-window-setup)
15418 (with-help-window): Major rewrite based on new
15419 display-buffer-window variable.
15421 * help-mode.el (help-mode-finish): Remove help-window related
15424 * view.el (view-exits-all-viewing-windows): Remove reference to
15425 view-return-to-alist in doc-string.
15426 (view-return-to-alist): Make obsolete.
15427 (view-buffer): Call pop-to-buffer-same-window and remove
15429 (view-buffer-other-window): Call pop-to-buffer-other-window and
15430 simplify code. Ignore second argument.
15431 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15432 simplify code. Ignore second argument.
15433 (view-return-to-alist-update): Make obsolete.
15434 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15435 Rewrite using quit-restore window parameters.
15436 (view-mode-exit): Rename second argument to EXIT-ONLY.
15437 Rewrite using quit-restore-window.
15438 (View-exit, View-exit-and-edit, View-leave, View-quit)
15439 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15440 appropriate arguments.
15441 (view-end-message): Use quit-restore window parameter.
15443 * window.el (display-buffer-function): Rewrite doc-string.
15444 (display-buffer-window, display-buffer-alist): New variables.
15445 (display-buffer-split-specifiers)
15446 (display-buffer-side-specifiers)
15447 (display-buffer-macro-specifiers): New constants.
15448 (display-buffer-even-window-sizes, display-buffer-set-height)
15449 (display-buffer-set-width, display-buffer-select-window)
15450 (display-buffer-in-window, display-buffer-reuse-window)
15451 (display-buffer-split-window-1, display-buffer-split-window)
15452 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15453 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15454 (display-buffer-in-side-window, normalize-buffer-to-display)
15455 (display-buffer-normalize-specifiers-1)
15456 (display-buffer-normalize-specifiers-2)
15457 (display-buffer-normalize-specifiers, display-buffer-frame):
15459 (display-buffer): Major rewrite.
15460 (display-buffer-other-window, display-buffer-other-frame)
15461 (pop-to-buffer, switch-to-buffer-other-window)
15462 (switch-to-buffer-other-frame): Rewrite.
15463 (display-buffer-same-window, display-buffer-same-frame)
15464 (display-buffer-same-frame-other-window)
15465 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15466 (pop-to-buffer-other-window)
15467 (pop-to-buffer-same-frame-other-window)
15468 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15469 (switch-to-buffer-other-window-same-frame): New functions.
15470 (same-window-p, special-display-p): Rewrite disabling warnings.
15472 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15473 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15475 (same-window-buffer-names, same-window-regexps)
15476 (special-display-frame-alist, special-display-popup-frame)
15477 (special-display-function, special-display-buffer-names)
15478 (special-display-regexps, pop-up-frame-alist)
15479 (pop-up-frame-function, split-window-preferred-function)
15480 (split-height-threshold, split-width-threshold)
15481 (even-window-heights): Make obsolete.
15483 2011-06-12 Glenn Morris <rgm@gnu.org>
15485 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15486 Misc simplifications.
15488 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15490 * window.el (window-safely-shrinkable-p): Restore function which
15491 was inadvertently removed in change from 2011-06-11. Declare as
15494 * calendar/calendar.el (calendar-generate-window):
15495 Use window-iso-combined-p instead of combination of one-window-p and
15496 window-safely-shrinkable-p.
15498 2011-06-12 Glenn Morris <rgm@gnu.org>
15500 * progmodes/fortran.el (fortran-mode-syntax-table):
15501 * progmodes/f90.el (f90-mode-syntax-table):
15502 Set % to punctuation. (Bug#8820)
15503 (f90-find-tag-default): Remove, no longer needed.
15505 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15507 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15509 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
15511 * image.el (image-animated-p): Return animation delay in seconds.
15512 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15513 (image-animate-timeout): Remove DELAY argument. Don't assume
15514 every subimage has the same delay; get it from image-animated-p.
15515 (image-animate): Caller changed.
15517 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
15519 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15520 to ignored backtrace functions.
15522 2011-06-11 Glenn Morris <rgm@gnu.org>
15524 * calendar/appt.el (appt-disp-window-function): Doc fix.
15525 (appt-check): Handle overlapping appointments. (Bug#8337)
15527 2011-06-11 Martin Rudalics <rudalics@gmx.at>
15529 * window.el (window-tree-1, window-tree): New functions, moving
15530 the latter to window.el.
15531 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15532 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15533 (bw-refresh-edges): Remove.
15534 (balance-windows-1, balance-windows-2): New functions.
15535 (balance-windows): Rewrite in terms of window tree functions,
15536 balance-windows-1 and balance-windows-2.
15537 (bw-adjust-window): Remove.
15538 (balance-windows-area-adjust): New function with functionality of
15539 bw-adjust-window but using resize-window.
15540 (set-window-text-height): Rewrite doc-string.
15541 Use normalize-live-window and resize-window.
15542 (enlarge-window-horizontally, shrink-window-horizontally):
15543 Rename argument to DELTA.
15544 (window-buffer-height): New function.
15545 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15546 Rewrite using new window resize routines.
15547 (kill-buffer-and-window, mouse-autoselect-window-select):
15548 Use ignore-errors instead of condition-case.
15549 (quit-window): Call delete-frame instead of delete-windows-on
15550 for the only buffer on frame.
15552 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15554 * loadup.el (top-level): Load window before files for the sake
15555 of replace-buffer-in-windows.
15557 * files.el (read-buffer-to-switch)
15558 (switch-to-buffer-other-window)
15559 (switch-to-buffer-other-frame, display-buffer-other-frame):
15562 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15563 (previous-buffer): Move to window.el.
15565 * bindings.el (unbury-buffer): Move to window.el.
15567 * window.el (delete-other-windows-vertically): Move after
15568 definition of delete-other-windows.
15569 (other-window, delete-windows-on, replace-buffer-in-windows):
15570 Move here from window.c.
15571 (record-window-buffer, unrecord-window-buffer)
15572 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15573 (switch-to-next-buffer): New functions.
15574 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15575 from simple.el. Call switch-to-next-buffer.
15576 (previous-buffer): Move here from simple.el.
15577 Call switch-to-prev-buffer.
15578 (bury-buffer): Move here from buffer.c. Switch to previous
15579 buffer when window cannot be deleted.
15580 (unbury-buffer): Move here from bindings.el.
15581 (ctl-x-map): Move binding for other-window from window.c to
15583 (read-buffer-to-switch, switch-to-buffer-other-window)
15584 (switch-to-buffer-other-frame): Move here from files.el.
15585 (normalize-buffer-to-switch-to): New functions.
15586 (switch-to-buffer): Move here from buffer.c.
15587 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15589 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15591 * window.el (window-min-height, window-min-width): Move here
15592 from window.c. Add defcustoms and rewrite doc-strings.
15593 (resize-mini-window, resize-window): New functions.
15594 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15595 Move here from window.c.
15596 (maximize-window, minimize-window): New functions.
15597 (delete-window, delete-other-windows, split-window): Move here
15599 (window-split-min-size): New function.
15600 (split-window-keep-point): Mention split-window-above-each-other
15601 instead of split-window-vertically.
15602 (split-window-above-each-other, split-window-vertically):
15603 Rename split-window-vertically to split-window-above-each-other
15604 and provide defalias for old definition.
15605 (split-window-side-by-side, split-window-horizontally):
15606 Rename split-window-horizontally to split-window-side-by-side
15607 and provide defalias for the old definition.
15608 (ctl-x-map): Move bindings for delete-window,
15609 delete-other-windows and enlarge-window here from window.c.
15610 Replace bindings for split-window-vertically and
15611 split-window-horizontally by bindings for
15612 split-window-above-each-other and split-window-side-by-side.
15614 * cus-start.el (all): Remove entries for window-min-height and
15615 window-min-width. Add entries for window-splits and
15618 2011-06-09 Glenn Morris <rgm@gnu.org>
15620 * calendar/appt.el (appt-mode-line): New function.
15621 (appt-check, appt-disp-window): Use it.
15623 * files.el (hack-one-local-variable-eval-safep):
15624 Allow minor-modes with explicit +/-1 arguments.
15626 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15628 * term/xterm.el (xterm): Add defgroup.
15629 (xterm-extra-capabilities): Add defcustom to supply known xterm
15630 capabilities, skip querying them, or query them (default).
15631 (terminal-init-xterm): Use it.
15632 (terminal-init-xterm-modify-other-keys): New function to set up
15633 modifyOtherKeys support to simplify `terminal-init-xterm'.
15635 2011-06-09 Martin Rudalics <rudalics@gmx.at>
15637 * window.el (resize-window-reset, resize-window-reset-1)
15638 (resize-subwindows-skip-p, resize-subwindows-normal)
15639 (resize-subwindows, resize-other-windows, resize-this-window)
15640 (resize-root-window, resize-root-window-vertically)
15641 (window-deletable-p, window-or-subwindow-p)
15642 (frame-root-window-p): New functions.
15644 2011-06-09 Glenn Morris <rgm@gnu.org>
15646 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15647 (ange-ftp-get-files): Use it.
15649 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15651 * mail/sendmail.el (mail-recover-1, mail-recover):
15652 * files.el (recover-file, recover-session):
15653 Handle dired-listing-switches not being just a single short option.
15655 2011-06-09 Glenn Morris <rgm@gnu.org>
15657 * calendar/appt.el (appt-display-message, appt-disp-window):
15658 Handle lists of appointments.
15660 2011-06-08 Martin Rudalics <rudalics@gmx.at>
15662 * window.el (one-window-p): Move down in code.
15663 Rewrite doc-string.
15664 (window-current-scroll-bars): Rewrite doc-string.
15665 Normalize live window argument.
15666 (walk-windows, get-window-with-predicate, count-windows):
15667 Rewrite doc-string. Use window-list-1.
15668 (window-in-direction-2, window-in-direction, get-mru-window):
15671 2011-06-08 Reuben Thomas <rrt@sc3d.org>
15673 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15674 Doc fix (Bug#8713).
15676 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
15678 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15680 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
15682 * loadhist.el (unload-feature-special-hooks):
15683 Add `comint-output-filter-functions'.
15685 2011-06-08 Ivan Kanis <gnu@kanis.fr>
15687 * calendar/appt.el (appt-check): Move some initializations into the let.
15689 2011-06-08 Martin Rudalics <rudalics@gmx.at>
15691 * window.el (window-height): Defalias to window-total-height.
15692 (window-width): Defalias to window-body-width.
15694 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
15696 * image-mode.el (image-toggle-animation): New command.
15697 (image-mode-map): Bind it to RET.
15698 (image-mode): Update message.
15699 (image-toggle-display-image): Avoid a spurious cache flush.
15700 (image-transform-rotation): Doc fix.
15701 (image-transform-properties): Return quickly in the normal case.
15702 (image-animate-loop): Rename from image-animate-max-time.
15704 * image.el (image-animate-max-time): Move to image-mode.el.
15705 (create-animated-image): Remove unnecessary function.
15706 (image-animate): Rename from image-animate-start. New arg.
15707 (image-animate-stop): Remove; just use image-animate-timer.
15708 (image-animate-timer): Use car-safe.
15709 (image-animate-timeout): Rename argument.
15711 2011-06-07 Martin Rudalics <rudalics@gmx.at>
15713 * window.el (get-lru-window, get-largest-window): Move here from
15714 window.c. Rename first argument to ALL-FRAMES.
15715 Rephrase doc-strings.
15716 (get-buffer-window-list): Rewrite using window-list-1.
15717 Rephrase doc-string.
15718 (window-safe-min-height, window-safe-min-width): New constants.
15719 (window-size-ignore, window-min-size, window-min-size-1)
15720 (window-sizable, window-sizable-p, window-size-fixed-1)
15721 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15722 (window-max-delta-1, window-max-delta, window-resizable)
15723 (window-resizable-p, window-total-height, window-total-width)
15724 (window-body-width): New functions.
15725 (window-full-height-p, window-full-width-p): Rewrite using
15727 (window-body-height): Rewrite using window-body-size.
15729 2011-06-06 Martin Rudalics <rudalics@gmx.at>
15731 * window.el (window-right, window-left, window-child)
15732 (window-child-count, window-last-child, window-any-p)
15733 (normalize-live-buffer, normalize-live-frame)
15734 (normalize-any-window, normalize-live-window)
15735 (window-iso-combination-p, window-iso-combined-p)
15736 (window-iso-combinations)
15737 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15738 (windows-with-parameter, window-with-parameter)
15739 (window-atom-root, make-window-atom, window-atom-check-1)
15740 (window-atom-check, window-side-check, window-check):
15742 (ignore-window-parameters, window-sides, window-sides-vertical)
15743 (window-sides-slots): New variables.
15744 (window-size-fixed): Move down in code. Minor doc-string fix.
15746 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15748 * comint.el (comint-dynamic-complete-as-filename)
15749 (comint-dynamic-complete-filename): Correctly call
15750 completion-in-region.
15752 2011-06-05 Deniz Dogan <deniz@dogan.se>
15754 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15757 2011-06-05 Deniz Dogan <deniz@dogan.se>
15759 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15760 (rcirc): Use it to prompt for encryption.
15762 2011-06-05 Roland Winkler <winkler@gnu.org>
15764 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15765 (bibtex-search-entries): New command bound to C-c C-a.
15766 (bibtex-display-entries): New function.
15768 2011-06-05 Roland Winkler <winkler@gnu.org>
15770 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15771 (bibtex-insert-kill): After yanking insert newline if necessary.
15772 (bibtex-initialize): Call bibtex-string-files-init only once.
15773 (bibtex-mode): Do not call easy-menu-add.
15774 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15775 (bibtex-yank): Set arg properly if nil.
15777 2011-06-05 Roland Winkler <winkler@gnu.org>
15779 * textmodes/bibtex.el (bibtex-search-entry-globally):
15781 (bibtex-search-entry): Use it.
15783 2011-06-05 Roland Winkler <winkler@gnu.org>
15785 * textmodes/bibtex.el (bibtex-entry-format): New option
15787 (bibtex-format-entry, bibtex-reformat): Honor this option.
15788 (bibtex-parse-entry): Return fields in proper order.
15790 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
15792 * doc-view.el (doc-view-remove-if): Move computation of result out
15793 of `dolist' to silence misleading lexical-binding warning.
15795 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
15797 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15798 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15800 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15802 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15805 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15807 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15808 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15809 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15810 (tramp-parse-putty):
15811 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15812 (tramp-completion-function-alist-ssh)
15813 (tramp-completion-function-alist-telnet)
15814 (tramp-completion-function-alist-su)
15815 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15818 * net/tramp-ftp.el:
15820 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15821 load "tramp.el" `tramp-set-completion-function'.
15823 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15825 * shell.el: Require and use pcomplete.
15826 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15827 (shell-completion-vars): Set pcomplete-default-completion-function.
15829 2011-06-04 Deniz Dogan <deniz@dogan.se>
15831 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15834 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15838 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
15840 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15841 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15842 * vc/log-view.el (log-view-beginning-of-defun):
15843 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15844 (smerge-refine-forward, smerge-refine-chopup-region):
15845 Silence warning for unused `dotimes' counter variables.
15847 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15849 * net/tramp.el (tramp-with-progress-reporter): Rename from
15850 with-progress-reporter. Use `declare'.
15851 * net/tramp-smb.el:
15853 * net/tramp-gvfs.el: Update all uses.
15855 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15857 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15858 buffer isn't killed before making it current.
15860 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15862 Silence various byte-compiler warnings.
15863 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15864 `access-type' and new obsolescence format.
15865 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15867 (byte-compile-check-variable): New `access-type' argument.
15868 Only warn if the access-type is obsolete.
15869 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15870 (byte-compile-variable-set): Adjust callers.
15871 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15872 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15873 setting it as obsolete.
15874 * simple.el (minibuffer-completing-symbol):
15875 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15876 access as obsolete.
15877 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15879 * international/quail.el (quail-mouse-choose-completion): Remove unused
15880 code referring to obsolete var.
15881 (quail-choose-completion-string): Remove.
15882 * server.el (server-clients-with, server-kill-buffer-query-function)
15883 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15884 * proced.el (proced-send-signal):
15885 * emacs-lisp/lisp.el (lisp-complete-symbol):
15886 Replace completion-annotate-function with completion-extra-properties.
15888 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15890 * simple.el (goto-line): Use read-number.
15891 (overriding-map-is-bound): Remove.
15892 (saved-overriding-map): Change default.
15893 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15894 Take the map as argument.
15895 (universal-argument, negative-argument, digit-argument): Use it.
15896 (restore-overriding-map): Adjust.
15897 (do-auto-fill): Use fill-forward-paragraph.
15898 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15900 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15901 (minibuffer-inactive-mode): New major mode.
15902 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15903 the *Messages* buffer" hack.
15904 (mouse-popup-menubar): Don't burp if the event is a normal key.
15906 Miscellaneous tweaks.
15907 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15908 lexical scoping as in subr.el's dolist and dotimes.
15909 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15910 Silence compiler warning.
15911 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15912 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15913 * international/ccl.el (ccl-compile): Trivial simplification.
15914 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15915 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15916 `printflag' argument.
15917 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15918 Purecopy the whole obsolescence data.
15920 2011-06-01 Leo Liu <sdl.web@gmail.com>
15922 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15923 improve doc-string as suggested by Marco Pessotto
15924 <melmothx@gmail.com>.
15925 (rcirc-print): Fix last change.
15927 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15929 * minibuffer.el (complete-with-action): Return nil for the metadata and
15930 boundaries of non-functional tables.
15931 (completion-table-dynamic): Return nil for the metadata.
15932 (completion-table-with-terminator): Add default case, using
15933 complete-with-action.
15934 (completion--metadata): New function.
15935 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15936 to try and avoid pathological performance problems.
15937 (completion--embedded-envvar-table): Return `category' metadata.
15939 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15941 * subr.el (process-alive-p): New tiny convenience function.
15943 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15946 content but also its previous major mode.
15948 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15950 * emacs-lisp/debug.el (debug): Restore the previous content of the
15951 *Backtrace* buffer when we exit with C-M-c.
15953 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15955 * minibuffer.el: Add metadata method to completion tables.
15956 (completion-category-overrides): New defcustom.
15957 (completion-metadata, completion--field-metadata)
15958 (completion-metadata-get, completion--styles)
15959 (completion--cycle-threshold): New functions.
15960 (completion-try-completion, completion-all-completions):
15961 Add `metadata' argument to choose completion-styles.
15962 (completion--do-completion): Use metadata to choose cycling.
15963 (completion-all-sorted-completions): Use metadata for sorting.
15964 Remove :completion-cycle-penalty which is not needed any more.
15965 (completion--try-word-completion): Add `metadata' argument.
15966 (minibuffer-completion-help): Check metadata for annotation function
15968 (completion-file-name-table): Return `category' metadata.
15969 (minibuffer-completing-file-name): Make obsolete.
15970 * simple.el (minibuffer-completing-symbol): Make obsolete.
15971 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15972 completion-try-completion.
15974 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15976 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15978 2011-05-30 Leo Liu <sdl.web@gmail.com>
15980 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15981 (rcirc-print): Decode all incoming messages (bug#8744).
15982 (rcirc-decode-coding-system): Allow value nil for automatic coding
15985 2011-06-01 Glenn Morris <rgm@gnu.org>
15987 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15989 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15991 * image.el (image-animate-max-time): Allow nil and t values.
15993 (create-animated-image): Doc fix.
15994 (image-animate-start): Remove second arg; just use
15995 image-animate-max-time.
15996 (image-animate-timeout): Doc fix. Args changed.
15998 * image-mode.el (image-toggle-display-image): Ensure that the
15999 image spec passed to the animate timer is the same object as in
16000 the buffer's display property (Bug#6981).
16001 (image-transform-properties): Doc fix.
16003 * image.el (image-animate-max-time): Default to nil.
16005 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16007 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16008 entire buffer list (Bug#8184).
16010 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16012 * image.el (imagemagick-types-inhibit)
16013 (imagemagick-register-types): Doc fix.
16015 2011-05-29 Deniz Dogan <deniz@dogan.se>
16017 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16020 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16022 * select.el: Don't perform clipboard-manager saving in hooks;
16023 leave the hooks empty.
16025 2011-05-28 Leo Liu <sdl.web@gmail.com>
16027 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16028 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16029 (occur-edit-mode): New major mode (Bug#8463).
16030 (occur-after-change-function): New function.
16031 (occur-engine): Give Occur tags a read-only property.
16033 2011-05-28 Kevin Ryde <user42@zip.com.au>
16035 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16037 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16039 * bindings.el (help-echo): Make the initial non-indicator dash
16040 empty on graphical terminals (Bug#7295).
16042 * files.el (auto-mode-alist): Move config rule after the
16043 in-stripping one (Bug#8547).
16045 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16047 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16048 setting (Bug#8740).
16050 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16052 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16053 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16056 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16058 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16060 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16062 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16063 (hs-hide-block-at-point, hs-find-block-beginning)
16064 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16067 2011-05-28 Glenn Morris <rgm@gnu.org>
16069 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16071 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16073 * help-fns.el (describe-function-1): If the function is a derived
16074 major mode, print the parent mode.
16076 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16077 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16079 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16081 * minibuffer.el (completion--capf-wrapper): Check applicability before
16082 returning non-nil for non-exclusive completion data.
16083 * progmodes/etags.el (tags-completion-at-point-function):
16084 * info-look.el (info-lookup-completions-at-point): Mark as
16086 (info-complete): Adjust accordingly.
16088 * info-look.el: Convert to lexical-binding and completion-at-point.
16089 (info-lookup-completions-at-point): New function.
16090 (info-complete): Use it and completion-in-region.
16092 2011-05-28 Drew Adams <drew.adams@oracle.com>
16094 * isearch.el: Let M-e start with point at the first mismatched char.
16095 (isearch-fail-pos): New function.
16096 (isearch-edit-string): Use it.
16098 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16100 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16102 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16104 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16105 traversal functions for avl-trees.
16106 (avl-tree--stack): New struct.
16107 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16108 (avl-tree-enter): Add optional `updatefun' arg.
16109 (avl-tree--do-enter): Add optional `updatefun' arg.
16110 Change return value.
16111 (avl-tree-delete): Add optional `test' and `nilflag' args.
16112 (avl-tree--do-delete): Add `test' and `nilflag' args.
16113 Change return value.
16114 (avl-tree-member): Add optional `nilflag'
16115 (avl-tree-member-p): New function.
16116 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16117 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16118 (avl-tree-stack-empty-p): New functions.
16120 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16121 avl-tree--del-balance1 and make it work both ways.
16122 (avl-tree--del-balance2): Remove.
16123 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16124 make it work both ways.
16125 (avl-tree--enter-balance2): Remove.
16126 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16128 (avl-tree--mapc, avl-tree-map): Add direction argument.
16130 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16132 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16134 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16136 * select.el: Support clipboard managers with built-in function
16137 x-clipboard-manager-save, via delete-frame-functions and
16139 (xselect-convert-to-targets): Add MULTIPLE target to list.
16140 (xselect-convert-to-save-targets): New function.
16142 2011-05-27 Kenichi Handa <handa@m17n.org>
16144 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16145 let-binding rfc2047-encode-encoded-words to nil.
16147 2011-05-27 Glenn Morris <rgm@gnu.org>
16149 * mail/emacsbug.el: Don't require url-util.
16151 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16153 * files.el (set-auto-mode):
16154 Also respect mode: entries at the end of the file. (Bug#8586)
16156 2011-05-26 Glenn Morris <rgm@gnu.org>
16158 * files.el (hack-local-variables-prop-line, hack-local-variables):
16159 Downcase mode names, as seems to be traditional.
16160 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16162 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16163 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16165 2011-05-25 Julien Danjou <julien@danjou.info>
16167 * textmodes/rst.el (rst-define-level-faces): Do not define face
16168 symbol if it is already defined.
16170 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16172 * play/5x5.el (5x5-new-game, 5x5-randomize):
16173 Reset 5x5-solver-output to nil when a new grid is cast.
16174 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16175 these debugging traces, as defmacro breaks the compiled code.
16177 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16179 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16181 2011-05-24 Leo Liu <sdl.web@gmail.com>
16183 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16184 (vc-bzr-sha1): Adapt.
16186 * sha1.el: Remove. Function `sha1' is now builtin.
16188 * bindings.el: Provide sha1 feature.
16190 2011-05-24 Kenichi Handa <handa@m17n.org>
16192 * mail/sendmail.el: Require `rfc2047'.
16193 (mail-insert-from-field): Do not perform RFC2047 encoding.
16194 (mail-encode-header): New function.
16195 (sendmail-send-it): Set buffer-file-coding-system of the work
16196 buffer to the return value of select-message-coding-system.
16197 Call mail-encode-header.
16199 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16201 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16203 * mail/supercite.el (sc-default-cite-frame):
16204 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16206 2011-05-24 Glenn Morris <rgm@gnu.org>
16208 * progmodes/python.el (brm-menu): Declare.
16210 * emulation/viper.el (viper-set-hooks): Declare.
16212 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16213 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16214 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16215 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16216 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16217 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16219 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16221 Add an :exit-function for completion-at-point.
16223 * minibuffer.el (completion--done): New fun.
16224 (completion--do-completion): Use it. New arg `expect-exact'.
16225 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16226 since completion--do-completion does it for us now.
16227 (minibuffer-force-complete): Use completion--done and
16228 completion--replace. Handle sole-completion case with more care.
16229 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16230 (completion-extra-properties): New var.
16231 (completion-annotate-function): Make obsolete.
16232 (minibuffer-completion-help): Adjust accordingly.
16233 Use completion-list-insert-choice-function.
16234 (completion-at-point, completion-help-at-point):
16235 Bind completion-extra-properties.
16236 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16237 * simple.el (completion-list-insert-choice-function): New var.
16238 (completion-setup-function): Preserve it.
16239 (choose-completion): Pay attention to it, shuffle the code a bit.
16240 (choose-completion-string): New arg `insert-function'.
16242 * textmodes/bibtex.el: Convert to lexical binding.
16243 (bibtex-mode-map): Use completion-at-point.
16244 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16245 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16246 (bibtex-complete): Define as obsolete alias.
16247 (bibtex-complete-internal): Remove.
16248 (bibtex-format-entry): Remove unused sub-group in regexp.
16249 * shell.el (shell--command-completion-data)
16250 (shell-environment-variable-completion):
16251 * pcomplete.el (pcomplete-completions-at-point):
16252 * comint.el (comint--complete-file-name-data): Use :exit-function
16253 instead of completion-table-with-terminator so it also works for
16256 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16258 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16260 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16263 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16265 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16267 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16268 customization variable and implement: If non-nil, auto-fill will
16269 be inhibited while on topic's header line.
16271 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16273 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16274 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16275 always have a solution in grid size = 5 cases.
16276 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16277 (5x5-solver-output, 5x5-log-buffer): New vars.
16278 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16279 Make these variables buffer local to achieve 5x5 multi-session-ness.
16280 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16281 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16282 (5x5-solve-suggest): New funs.
16283 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16284 randomize a grid so that we ensure that there is always a solution.
16285 (5x5-make-random-grid): Allow other movement than flipping.
16287 2011-05-23 Kevin Ryde <user42@zip.com.au>
16289 * emacs-lisp/advice.el (ad-read-advised-function):
16290 Use `function-called-at-point' as the default, if it has
16291 advice and passes PREDICATE.
16293 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16295 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16296 byte-compile-lambda if it's actually a lambda.
16298 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16299 Fix function quoting. Use backquote better.
16301 2011-05-22 Yuanle Song <sylecn@gmail.com>
16303 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16304 matching (Bug#8516).
16306 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16308 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16309 different face (Bug#8178).
16311 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
16313 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16314 defface (Bug#8144).
16316 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16318 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16319 funcall as well (bug#8712). Warn when performing those conversions.
16320 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16322 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16324 2011-05-22 Glenn Morris <rgm@gnu.org>
16326 * files.el (hack-local-variables-prop-line): Small simplifications.
16327 (hack-local-variables, hack-local-variables-prop-line):
16328 If MODE-ONLY, return the mode, rather than just `t'.
16330 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16332 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16334 2011-05-21 Glenn Morris <rgm@gnu.org>
16336 * files.el (hack-local-variables-prop-line, hack-local-variables):
16337 If only interested in the mode, don't bother doing the other stuff.
16339 * image-mode.el (image-after-revert-hook):
16340 Redraw all frames on which the image is visible. (Bug#8567)
16342 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16344 * wid-edit.el (widget-checklist-match-inline):
16345 Fix 2011-04-19 change. (Bug#8649)
16347 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16349 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16350 Also allow singlespace after single-letter capitals followed by a dot.
16352 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16353 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16355 2011-05-20 Nix <nix@esperi.org.uk>
16357 * files.el (basic-save-buffer-2):
16358 Fix handling of break-hardlink-on-save with non-existent files.
16360 2011-05-19 Deniz Dogan <deniz@dogan.se>
16362 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16363 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16365 2011-05-19 Glenn Morris <rgm@gnu.org>
16367 * progmodes/f90.el (f90-type-def-re):
16368 Handle "type, bind(c)". (Bug#8691)
16370 * emacs-lisp/autoload.el (batch-update-autoloads):
16371 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16373 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
16375 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16376 property for the correct connection in case of multihops.
16378 2011-05-18 Glenn Morris <rgm@gnu.org>
16380 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16381 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16383 Rationalize calendar handling of day and month abbrev-arrays.
16384 * calendar/calendar.el (calendar-customized-p): New function.
16385 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16386 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16388 (calendar-abbrev-length, calendar-day-abbrev-array)
16389 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16390 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16391 Elements may no longer be nil.
16392 (calendar-day-name, calendar-month-name):
16393 Update for changed nature of abbrev arrays.
16394 * calendar/diary-lib.el (diary-name-pattern):
16395 Update for changed nature of abbrev arrays.
16396 (diary-mark-entries-1): Update calendar-make-alist calls.
16397 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16398 * calendar/cal-html.el (cal-html-day-abbrev-array):
16399 Simply inherit from calendar-day-abbrev-array.
16401 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16403 * progmodes/grep.el (grep-mode): Disable default
16404 compilation-directory-matcher setting (bug#8684).
16406 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
16408 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16409 instead of "head" and "tail". There were problems with SunOS 5.9,
16410 and it performs better.
16412 2011-05-17 Glenn Morris <rgm@gnu.org>
16414 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16416 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16417 Replace obsolete function.
16419 * shell.el (pcomplete-parse-arguments-function): Declare.
16421 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16422 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16423 (appt-check): Doc fixes.
16424 (appt-disp-window-function, appt-delete-window-function):
16425 Remove needless special case in custom :type.
16426 (appt-display-count): Default to 0, not nil.
16427 (appt-check): Reset appt-display-count to 0, not nil.
16429 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
16431 * progmodes/python.el (python-font-lock-keywords):
16432 Add the Python 3.X keyword "nonlocal" (bug#8639).
16434 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16436 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16438 2011-05-16 Kevin Ryde <user42@zip.com.au>
16440 * info-look.el (makefile-automake-mode): New setups, looking in
16441 automake manual, then makefile-mode.
16442 (makefile-mode): Remove automake manual, have it just in
16443 makefile-automake-mode since there's various things different or
16444 not relevant to plain make.
16445 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16446 believe a hypothetical automake-mode would go to makefile-mode,
16447 not the other way around.
16449 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
16451 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16452 hunk-end tags (Bug#8672).
16454 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16455 vc-annotate-show-diff-revision-at-line (Bug#8671).
16457 2011-05-14 Glenn Morris <rgm@gnu.org>
16459 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16460 in the middle of an existing one with multiple authors. (Bug#8645)
16461 (change-log-font-lock-keywords): Also handle multiple author lines
16462 with leading tabs. (Bug#8644)
16464 * calendar/appt.el (appt-check): Rename some local variables.
16465 Some simplification/reordering.
16467 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16468 (feedmail-sendmail-f-doesnt-sell-me-out)
16469 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16470 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16471 (feedmail-queue-runner-message-sender): Set :version.
16472 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16473 (bbdb-dwim-net-address, vm-mail): Declare.
16474 (feedmail-binmail-gnulinuxish-template):
16475 Rename from feedmail-binmail-linuxish-template.
16476 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16477 Use insert-buffer-substring.
16479 2011-05-14 Bill Carpenter <bill@carpenter.org>
16481 * mail/feedmail.el (feedmail-patch-level): Increase.
16482 (feedmail-debug): New custom group.
16483 (feedmail-confirm-outgoing-timeout)
16484 (feedmail-sendmail-f-doesnt-sell-me-out)
16485 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16486 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16487 (feedmail-sender-line, feedmail-from-line)
16488 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16489 (feedmail-spray-this-address)
16490 (feedmail-spray-address-fiddle-plex-list)
16491 (feedmail-queue-use-send-time-for-date)
16492 (feedmail-queue-use-send-time-for-message-id)
16493 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16494 (feedmail-buffer-eating-function):
16496 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16497 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16498 (feedmail-message-action-scroll-down): New functions.
16499 (feedmail-queue-directory, feedmail-queue-draft-directory):
16500 Use expand-file-name.
16501 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16502 Remove C-v help entry.
16503 (feedmail-queue-buffer-file-name): New variable.
16504 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16505 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16506 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16507 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16508 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16509 (feedmail-message-action-toggle-spray)
16510 (feedmail-run-the-queue-no-prompts)
16511 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16512 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16513 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16514 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16515 (feedmail-envelope-deducer, feedmail-fiddle-from)
16516 (feedmail-fiddle-sender, feedmail-default-date-generator)
16517 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16518 (feedmail-fiddle-spray-address)
16519 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16520 (feedmail-fiddle-list-of-fiddle-plexes)
16521 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16522 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16523 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16524 Change default. Doc fix.
16525 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16526 (feedmail-binmail-linuxish-template): New constant.
16527 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16528 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16529 (feedmail-send-it): Add debug call.
16530 Use feedmail-queue-buffer-file-name, and
16531 feedmail-send-it-immediately-wrapper.
16532 (feedmail-message-action-send): Add debug call.
16533 Use feedmail-send-it-immediately-wrapper.
16534 (feedmail-queue-express-to-queue): Add debug call.
16535 Run feedmail-queue-express-hook.
16536 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16537 (feedmail-message-action-help-blat):
16538 Rename from feedmail-queue-send-edit-prompt-help-first.
16539 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16540 Check line-endings. Handle errors better.
16541 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16542 Doc fix. Add debug call.
16543 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16544 Use feedmail-queue-send-edit-prompt-inner.
16545 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16546 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16547 from feedmail-queue-send-edit-prompt.
16548 (feedmail-queue-send-edit-prompt-help)
16549 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16550 (feedmail-tidy-up-slug): Add debug call.
16551 Respect feedmail-queue-slug-suspect-regexp.
16552 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16553 (feedmail-dump-message-to-queue): Add debug call.
16554 Expand queue-directory.
16555 (feedmail-dump-message-to-queue): Change message slightly.
16556 Use feedmail-say-chatter.
16557 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16558 (feedmail-send-it-immediately-wrapper): New function.
16559 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16560 Insert empty string rather than newline. Handle full-frame case.
16561 Use catch/throw. Use feedmail-say-chatter.
16562 (feedmail-fiddle-from): Try mail-host-address.
16563 (feedmail-default-message-id-generator): Doc fix.
16564 Bind system-time-locale. Handle missing end.
16565 (feedmail-fiddle-x-mailer): Add debug call.
16566 Handle feedmail-x-mailer-line being nil.
16567 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16568 Add debug call. Use buffer-substring-no-properties.
16569 (feedmail-say-debug, feedmail-say-chatter): New functions.
16570 (feedmail-find-eoh): Give an explicit error.
16572 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
16574 * net/newst-treeview.el (newsticker-treeview-face): Change default
16575 family from helvetica to sans.
16576 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16577 etc/images/newsticker.
16579 * net/newst-reader.el (newsticker-feed-face): Change default
16580 family from helvetica to sans.
16582 * net/newst-plainview.el (newsticker-new-item-face)
16583 (newsticker-old-item-face, newsticker-immortal-item-face)
16584 (newsticker-obsolete-item-face, newsticker-date-face)
16585 (newsticker-statistics-face): Change default family from
16587 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16588 etc/images/newsticker.
16590 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16591 (newsticker--process-auto-mark-filter-match): Tell user about
16594 2011-05-13 Didier Verna <didier@xemacs.org>
16596 Common Lisp indentation improvements on defmethod and lambda-lists.
16597 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16599 (lisp-lambda-list-keyword-parameter-indentation)
16600 (lisp-lambda-list-keyword-parameter-alignment)
16601 (lisp-lambda-list-keyword-alignment): New customizable user options.
16602 (lisp-indent-defun-method): Improve docstring.
16603 (extended-loop-p): Fix comment.
16604 (lisp-indent-lambda-list-keywords-regexp): New variable.
16605 (lisp-indent-lambda-list): New function.
16606 (lisp-indent-259): Use it.
16607 (lisp-indent-defmethod): Support for more than one
16608 method qualifier and properly indent methods lambda-lists.
16609 (defgeneric): Provide a missing common-lisp-indent-function property.
16611 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16613 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16614 bounds for the empty string (bug#8667).
16616 2011-05-13 Glenn Morris <rgm@gnu.org>
16618 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16620 * mail/sendmail.el (sendmail-program): Try executable-find first.
16621 (sendmail-send-it): `sendmail-program' cannot be unbound.
16623 * calendar/appt.el (appt-make-list): Simplify.
16624 (appt-time-msg-list): Doc fix.
16625 (appt-check): Change mode-line message at the time of the appointment.
16627 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16629 * progmodes/ld-script.el (ld-script-keywords)
16630 (ld-script-builtins): Update keywords list.
16632 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16634 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16636 * shell.el (shell-completion-vars): New function.
16638 * simple.el (read-shell-command): Use it.
16639 (blink-matching-open): No need for " [...]" in minibuffer-message.
16641 2011-05-12 Glenn Morris <rgm@gnu.org>
16643 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16644 (appt-check): Simplify.
16646 2011-05-12 Eli Zaretskii <eliz@gnu.org>
16648 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16649 literal "/dev/null".
16651 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16653 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16656 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
16658 * progmodes/which-func.el (which-function):
16659 Use add-log-current-defun instead of add-log-current-defun-function,
16660 which might not be defined (Bug#8260).
16662 2011-05-12 Glenn Morris <rgm@gnu.org>
16664 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16665 Let byte-compile-initial-macro-environment always take precedence.
16667 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16669 * net/rcirc.el: Add support for SSL/TLS connections.
16670 (rcirc-server-alist): New field `encryption'.
16671 (rcirc): Check `encryption' settings.
16672 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16673 Merge make-local-variable into `set'.
16674 (rcirc--connection-open-p): New function.
16675 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16676 the process is not a network process (e.g. running gnutls-cli).
16677 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16678 Make rcirc-(en|de)code-coding-system local here.
16679 (rcirc-mode): Merge make-local-variable into `set'.
16680 (rcirc-parent-buffer): Make permanent buffer-local.
16681 (rcirc-multiline-minor-mode): Don't do it here.
16682 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16683 there's no server buffer.
16685 2011-05-11 Glenn Morris <rgm@gnu.org>
16687 * newcomment.el (comment-kill): Prefix "unused" local.
16689 * term/w32console.el (get-screen-color): Declare.
16691 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16692 Handle symbol elements of byte-compile-initial-macro-environment.
16694 2011-05-10 Leo Liu <sdl.web@gmail.com>
16696 * bookmark.el (bookmark-bmenu-mode-map):
16697 Bind bookmark-bmenu-search to `/'.
16699 * mail/footnote.el: Convert to utf-8 encoding.
16700 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16701 (Footnote-unicode): New function.
16702 (footnote-style-alist): Add unicode style to the list.
16703 (footnote-style): Doc fix.
16705 2011-05-10 Jim Meyering <meyering@redhat.com>
16707 Fix doubled-word typos.
16708 * international/quail.el (quail-insert-kbd-layout): and and -> and
16709 * kermit.el: and and -> and
16710 * net/ldap.el (ldap-search-internal): to to -> to
16711 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16712 * progmodes/js.el (js-mode): and and -> and
16713 * textmodes/artist.el (artist-move-to-xy): at at -> at
16714 (artist-draw-region-trim-line-endings): if if -> if
16715 And Safetyc -> Safety.
16716 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16718 2011-05-10 Glenn Morris <rgm@gnu.org>
16719 Stefan Monnier <monnier@iro.umontreal.ca>
16721 * files.el (hack-one-local-variable-eval-safep):
16722 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16724 2011-05-10 Glenn Morris <rgm@gnu.org>
16726 * calendar/diary-lib.el (diary-list-entries-hook)
16727 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16728 (diary-nongregorian-marking-hook, diary-list-entries)
16729 (diary-include-other-diary-files, diary-mark-entries)
16730 (diary-mark-included-diary-files): Doc fixes.
16732 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16734 * misc.el: Require tabulated-list.el during compilation.
16736 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16738 * progmodes/compile.el (compilation-start):
16739 Run compilation-filter-hook for the async case too.
16740 (compilation-filter-hook): Doc fix.
16742 2011-05-09 Deniz Dogan <deniz@dogan.se>
16744 * wdired.el: Remove outdated installation comment. Fix usage
16747 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16749 * misc.el: Implement new command `list-dynamic-libraries'.
16750 (list-dynamic-libraries--loaded-only-p): New variable.
16751 (list-dynamic-libraries--refresh): New function.
16752 (list-dynamic-libraries): New command.
16754 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16757 Fix the ant regexp to handle end-line and end-column info from jikes.
16758 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16759 higher priority to avoid clobbering by gnu.
16761 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16763 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16764 if the face has existing theme settings (Bug#8454).
16766 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16768 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16769 Only match variables declared via `my' or `our' (Bug#8261).
16771 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16772 special file names `.' and `..' (Bug#8259).
16774 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16776 * progmodes/grep.el (grep-mode-font-lock-keywords):
16777 Remove buffer-changing entries.
16778 (grep-filter): New function.
16779 (grep-mode): Add it to compilation-filter-hook.
16781 * progmodes/compile.el (compilation-filter-hook)
16782 (compilation-filter-start): New defvars.
16783 (compilation-filter): Call compilation-filter-hook prior to
16784 updating the process mark.
16786 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16788 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16790 2011-05-07 Eli Zaretskii <eliz@gnu.org>
16792 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16793 mailclient-send-it even if window-system is nil. (Bug#8595)
16795 * term/w32console.el (terminal-init-w32console):
16796 Call get-screen-color and use its output to set the frame
16797 background-mode. (Bug#8597)
16799 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16801 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16802 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16804 (defgeneric, eieio--defmethod): Use them.
16805 (eieio-defgeneric): Remove.
16806 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16808 2011-05-07 Glenn Morris <rgm@gnu.org>
16810 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16811 Use let rather than let*.
16812 (timeclock-find-discrep): Remove unused local.
16814 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16816 * calendar/appt.el (appt-time-msg-list): Doc fix.
16818 2011-05-06 Noah Friedman <friedman@splode.com>
16820 * apropos.el (apropos-print-doc): Only use
16821 emacs-lisp-docstring-fill-column when it is bound to an integer,
16822 per that variable's documentation.
16824 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16826 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16827 and warnings are not silently discarded (e.g. use -d instead of -P).
16829 2011-05-06 Glenn Morris <rgm@gnu.org>
16831 * calendar/appt.el (appt-message-warning-time): Doc fix.
16832 (appt-warning-time-regexp): New option.
16833 (appt-make-list): Respect appt-message-warning-time.
16835 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16837 (diary-add-to-list): Strip comments from the displayed string.
16838 (diary-mode): Set comment-start and comment-end.
16840 * vc/diff-mode.el (smerge-refine-subst): Declare.
16841 (diff-refine-hunk): Don't require smerge-mode when compiling.
16843 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
16845 * simple.el (list-processes): Return nil as the docstring says.
16847 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16849 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16851 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16852 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16853 determining of binary transfer. (Bug#7383)
16855 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16857 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16858 Fix port computation bug. (Bug#8618)
16860 2011-05-05 Glenn Morris <rgm@gnu.org>
16862 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16864 * simple.el (shell-dynamic-complete-functions)
16865 (comint-dynamic-complete-functions): Declare.
16867 * net/network-stream.el (gnutls-negotiate):
16868 * simple.el (tabulated-list-print): Fix declarations.
16870 * progmodes/gud.el (syntax-symbol, syntax-point):
16871 Remove unnecessary and incorrect declarations.
16873 * emacs-lisp/check-declare.el (check-declare-scan):
16874 Handle byte-compile-initial-macro-environment in bytecomp.el
16876 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16878 Fix earlier half-done eieio-defmethod change (bug#8338).
16879 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16880 Streamline and change calling convention.
16881 (defmethod): Adjust accordingly and simplify.
16882 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16883 new eieio--defmethod.
16884 (slot-boundp): Minor CSE simplification.
16886 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16888 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16889 (glasses-make-readable): Use glasses-separate-capital-groups.
16891 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16893 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16894 (warning-series): Doc fix.
16895 (display-warning): Don't try to create the buffer if we just found it.
16897 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16899 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16900 (autoload-find-generated-file): New function.
16901 (generate-file-autoloads): Bind generated-autoload-file to
16903 (update-file-autoloads, update-directory-autoloads):
16904 Use autoload-find-generated-file. If called interactively, prompt for
16905 output file (Bug#7989).
16906 (batch-update-autoloads): Doc fix.
16908 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16910 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16912 2011-05-04 Glenn Morris <rgm@gnu.org>
16914 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16915 function, so it follows changes in calendar-date-style.
16916 (diary-fancy-date-matcher): New function.
16917 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16918 (diary-fancy-font-lock-fontify-region-function):
16919 Use diary-fancy-date-pattern as a function.
16921 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16922 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16924 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16926 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16927 instead of positional arguments. Allow :keylist and :crlfiles
16929 (open-gnutls-stream): Call it.
16931 * net/network-stream.el (network-stream-open-starttls): Adjust to
16932 call `gnutls-negotiate' with :process and :hostname arguments.
16934 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16936 * minibuffer.el (completion--message): New function.
16937 (completion--do-completion, minibuffer-complete)
16938 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16939 (completion--do-completion): Don't ignore completion-auto-help when in
16942 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16943 internal encoding (e.g. tibetan zero is not whitespace).
16944 (global-whitespace-mode): Prefer save-current-buffer.
16945 (whitespace-trailing-regexp): Remove useless save-match-data.
16946 (whitespace-empty-at-bob-regexp): Minor simplification.
16948 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16950 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16952 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16954 * textmodes/ispell.el (ispell-add-per-file-word-list):
16955 Use `concat' to create string for insertion.
16957 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16959 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16960 Avoid open-line which runs post-self-insert-hook.
16961 (bibtex-fill-entry): Remove unused `end' var.
16963 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16965 * textmodes/ispell.el (ispell-add-per-file-word-list):
16966 Protect against `nil' value of `comment-start' (Bug#8579).
16968 2011-05-03 Leo Liu <sdl.web@gmail.com>
16970 * isearch.el (isearch-yank-pop): New command.
16971 (isearch-mode-map): Bind it to `M-y'.
16972 (isearch-forward): Mention it.
16974 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16976 * simple.el (minibuffer-complete-shell-command): Remove.
16977 (minibuffer-local-shell-command-map): Use completion-at-point.
16978 (read-shell-command): Setup completion vars here instead.
16979 (read-expression-map): Bind TAB to symbol completion.
16981 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16982 error directly rather via storing it into `results'.
16984 2011-05-02 Leo Liu <sdl.web@gmail.com>
16986 * vc/diff.el: Fix description.
16988 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16990 * server.el (server-eval-at): New function.
16992 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16994 * net/network-stream.el (open-network-stream): Take a :nowait
16995 parameter and pass it on to `make-network-process'.
16996 (network-stream-open-plain): Ditto.
16998 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17000 * faces.el (face-spec-set-match-display): Don't match toolkit
17001 options on terminal frames.
17003 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17005 * progmodes/pascal.el: Use lexical binding.
17006 (pascal-mode-map): Remove author preferences.
17008 * pcomplete.el (pcomplete-std-complete): Don't abuse
17009 completion-at-point.
17011 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17013 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17014 removing code that has been dead since 1991 or so.
17016 * startup.el (command-line): When warning about "_emacs", use a
17017 delayed warning to allow the user to filter it out.
17019 2011-04-28 Deniz Dogan <deniz@dogan.se>
17021 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17022 user has not joined.
17024 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17026 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17027 aren't any completions at point.
17029 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17031 * subr.el (display-delayed-warnings): New function.
17032 (delayed-warnings-hook): New variable.
17034 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17036 * minibuffer.el (completion-at-point, completion-help-at-point):
17037 Don't presume that a given completion-at-point-function will always
17038 use the same calling convention.
17040 * pcomplete.el (pcomplete-completions-at-point):
17041 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17042 pcomplete-seen is non-nil.
17043 (pcomplete-comint-setup): Also recognize the new comint/shell
17044 completion functions.
17045 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17046 pcomplete-seen is non-nil.
17048 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17050 * calendar/icalendar.el (diary-lib): Add require statement.
17051 (icalendar--create-uid): Read out a uid from a text-property on
17052 the first character in the entry. This allows for code to add its
17053 own uid to the entry.
17054 (icalendar--convert-float-to-ical): Add export of
17055 `diary-float'-entries save for those with the optional DAY
17058 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17060 * subr.el (shell-quote-argument): Use alternate escaping strategy
17061 when we spot a variable reference in a string.
17063 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17065 * cus-start.el (all): Define customization for debug-on-event.
17067 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17069 * subr.el (shell-quote-argument): Escape correctly under Windows.
17071 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17073 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17075 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17077 * net/tramp.el (tramp-process-actions): Add POS argument.
17078 Delete region between POS and (pos).
17080 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17081 Use `nil' position in `tramp-process-actions' call.
17082 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17085 position in `tramp-process-actions' call.
17087 * net/trampver.el: Update release number.
17089 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17091 * custom.el (defcustom): Obey lexical-binding.
17093 Fix octave-inf completion problems reported by Alexander Klimov.
17094 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17095 Inherit from octave-mode-syntax-table.
17096 (inferior-octave-mode): Set info-lookup-mode.
17097 (inferior-octave-completion-at-point): New function.
17098 (inferior-octave-complete): Use it and completion-in-region.
17099 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17100 comint-filename-completion.
17101 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17102 symbol elements which shouldn't be word elements.
17103 (octave-font-lock-keywords, octave-beginning-of-defun)
17104 (octave-function-header-regexp): Adjust regexps accordingly.
17105 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17107 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17109 * net/gnutls.el (gnutls-errorp): Declare before first use.
17111 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17113 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17114 verify-error, and verify-hostname-error parameters. Check whether
17115 default trustfile exists before going to use it. Add missing
17116 argument to gnutls-message-maybe call. Return value.
17117 Reported by Claudio Bley <claudio.bley@gmail.com>.
17118 (open-gnutls-stream): Add usage example.
17120 * net/network-stream.el (network-stream-open-starttls): Give host
17121 parameter to `gnutls-negotiate'.
17122 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17123 * subr.el (shell-quote-argument): Escape correctly under Windows.
17125 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17127 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17128 Use correct match group (bug#8438).
17130 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17132 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17133 (package-menu--generate): New arg specifying packages to show.
17134 (package-menu-refresh, package-menu-execute, list-packages):
17136 (package-show-package-list): New function, replacing deleted
17137 package--list-packages (renamed because it is non-internal).
17139 * finder.el (finder-list-matches): Use package-show-package-list
17140 instead of deleted package--list-packages.
17142 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17143 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17144 (vc-annotate-mode-map): Bind it to RET.
17146 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17148 * progmodes/etags.el (next-file): Don't use set-buffer to change
17149 buffers (Bug#8478).
17151 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17153 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17155 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17156 (apropos-accumulator): Doc fix.
17157 (apropos-function, apropos-macro, apropos-command)
17158 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17159 (apropos-plist): Add face property.
17160 (apropos-symbols-internal): Fix indentation.
17161 (apropos-print): Simplify help, and recognize apropos-multi-type.
17162 (apropos-print-doc): Use button-type-get to extract the button's
17163 face property. Fill docstring (Bug#8352).
17165 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17167 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17169 * play/mpuz.el (mpuz-silent): Doc fix.
17170 (mpuz-mode-map): Use mapc.
17171 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17172 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17173 Fix typos in docstrings.
17175 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17176 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17178 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17180 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17182 * minibuffer.el (completion--do-completion): Avoid the "Next char
17183 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17185 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17186 mouse-2 into unread-command-events, it is interpreted correctly.
17188 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17189 (image-toggle-display): Doc fix.
17191 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17193 * textmodes/page.el (what-page): Use line-number-at-pos to
17194 calculate line number (Bug#6825).
17196 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17198 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17199 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17200 Pass argument NO-DEFAULT to `find-tag-interactive'.
17202 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17204 Lexical-binding cleanup.
17206 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17207 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17208 * progmodes/ada-prj.el (ada-prj-initialize-values)
17209 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17210 (ada-prj-show-value):
17211 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17212 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17213 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17214 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17215 * progmodes/bug-reference.el (bug-reference-push-button):
17216 * progmodes/fortran.el (fortran-line-length):
17217 * progmodes/glasses.el (glasses-change):
17218 * progmodes/octave-mod.el (octave-fill-paragraph):
17219 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17220 (python-pdbtrack-grub-for-buffer, python-sentinel):
17221 * progmodes/sql.el (sql-save-connection):
17222 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17223 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17224 Mark unused parameters.
17226 * progmodes/compile.el (compilation--flush-directory-cache)
17227 (compilation--flush-parse, compile-internal): Mark unused parameters.
17228 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17229 (compilation-next-error-function): Remove unused variable `timestamp'.
17231 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17232 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17234 * progmodes/dcl-mode.el (dcl-end-of-command):
17235 Remove unused variable `start'.
17236 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17237 (dcl-option-value-basic, dcl-option-value-offset)
17238 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17239 Mark unused parameters.
17240 (dcl-save-local-variable): Remove unused variable `val'.
17243 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17244 Mark unused parameters.
17245 (delphi-ignore-changes): Move before first use.
17246 (delphi-charset-token-at): Remove unused variable `start'.
17247 (delphi-else-start): Remove unused variable `if-count'.
17248 (delphi-comment-block-start, delphi-comment-block-end):
17249 Remove unused variable `kind'.
17250 (delphi-indent-line): Remove unused variable `new-point'.
17252 * progmodes/ebrowse.el (ebrowse-files-list)
17253 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17254 Mark unused parameters. Don't quote `lambda'.
17255 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17256 Don't quote `lambda'.
17257 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17258 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17259 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17260 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17261 Use `ignore-errors'.
17262 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17263 (ebrowse-view/find-file-and-search-pattern)
17264 (ebrowse-view/find-member-declaration/definition):
17265 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17266 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17267 Rename parameter PREFIX-ARG to PREFIX.
17268 (ebrowse-tags-read-name): Remove unused variables `start' and
17270 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17273 * progmodes/etags.el (local-find-tag-hook): Declare.
17274 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17275 Mark unused parameters.
17277 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17278 (executable-interpret): Mark unused parameter.
17280 * progmodes/flymake.el (flymake-process-sentinel)
17281 (flymake-after-change-function)
17282 (flymake-create-temp-with-folder-structure)
17283 (flymake-get-include-dirs-dot): Mark unused parameters.
17284 (flymake-safe-delete-directory): Remove unused variable `err'.
17286 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17287 (speedbar-timer-fn, speedbar-line-text)
17288 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17289 (speedbar-center-buffer-smartly): Declare functions.
17290 (gdb-find-watch-expression): Remove unused variable `array'.
17291 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17292 (gdb-starting): Mark unused parameters.
17293 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17294 (gdb-table-string): Remove unused variable `res'.
17295 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17296 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17297 (gdb-display-buffer): Remove unused variable `cur-size'.
17299 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17300 allow lexical-binding compilation.
17301 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17302 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17303 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17304 Mark unused parameters.
17305 (gud-gdb-marker-filter): Remove unused variable `match'.
17306 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17307 lambda expressions and funcall them, instead of using `fset'.
17309 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17310 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17312 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17313 variable `header-beg'; use `let'.
17315 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17316 `restart', `last-sexp' and `at-do'.
17318 * progmodes/js.el (js--debug): Mark unused parameter.
17319 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17320 (js--splice-into-items): Remove unused variable `item'.
17321 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17323 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17324 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17325 (makefile-complete): Remove unused variable `try'.
17326 (makefile-fill-paragraph, makefile-match-function-end):
17327 Mark unused parameters.
17329 * progmodes/octave-inf.el (inferior-octave-complete):
17330 Remove unused variable `proc'.
17331 (inferior-octave-output-digest): Mark unused parameter.
17333 * progmodes/perl-mode.el (perl-calculate-indent):
17334 Remove unused variable `err'.
17336 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17337 (prolog-indent-line): Mark unused parameters.
17338 (prolog-indent-line): Remove unused variable `beg'.
17340 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17341 (reporter-dont-compact-list): Declare.
17343 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17344 Remove unused variable `char'.
17345 (sh-debug): Mark unused parameter.
17346 (sh-get-indent-info): Remove unused variable `start'.
17347 (sh-calculate-indent): Remove unused variable `var'.
17349 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17350 (simula-electric-keyword): Remove unused variable `null'.
17351 (simula-search-backward, simula-search-forward): Remove unused
17352 variables `begin' and `end'.
17354 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17355 Remove unused variable `pos'.
17356 (vera-electric-tab, vera-comment-uncomment-region):
17357 Mark unused parameters.
17358 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17360 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
17362 * emacs-lisp/package.el (package--builtins, package-alist)
17363 (package-load-descriptor, package-built-in-p, package-activate)
17364 (define-package, package-installed-p)
17365 (package-compute-transaction, package-buffer-info)
17366 (package--push): Doc fix. Distinguish more clearly between
17367 version strings and version lists.
17369 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
17371 Lexical-binding cleanup.
17373 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17374 (5x5-make-mutate-best):
17375 * play/fortune.el (fortune-in-buffer):
17376 * play/gomoku.el (gomoku-init-display):
17377 * play/solitaire.el (solitaire, solitaire-do-check):
17378 * play/tetris.el (tetris-default-update-speed-function):
17379 Mark unused parameters.
17381 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17382 (bubbles--shift): Remove unused variable `char-org'.
17383 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17384 (bubbles--show-images): Remove unused variable `char'.
17386 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17387 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17388 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17389 (decipher-analyze-buffer): Use ?\s.
17390 (decipher-make-checkpoint): Remove unused variable `mapping'.
17392 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17394 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17395 Remove unused variable `result'; use `let'.
17397 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17398 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17399 (gametree-children-shown-p, gametree-compute-reduced-score):
17400 Use `ignore-errors'.
17402 * play/handwrite.el (ps-lpr-switches): Declare.
17403 (handwrite): Remove unused variables `pmin' and `lastp'.
17405 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17407 * play/landmark.el (landmark-init-display)
17408 (landmark-update-naught-weights): Mark unused parameters.
17409 (landmark-y): Remove unused variable `noise'. Simplify.
17410 (landmark-human-plays): Remove unused variable `score'.
17412 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17413 (mpuz-try-proposal): Remove unused variable `game'.
17415 * play/zone.el (life-patterns): Declare.
17417 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
17419 * vc/vc.el (ediff-vc-internal): Declare function.
17421 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17423 * shell.el: Use lexical-binding and std completion UI.
17424 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17425 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17426 comint-preoutput-filter-functions rather than on
17427 comint-output-filter-functions.
17428 (shell-command-completion, shell--command-completion-data)
17429 (shell-filename-completion, shell-environment-variable-completion)
17430 (shell-c-a-p-replace-by-expanded-directory): New functions.
17431 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17432 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17433 (shell-dynamic-complete-environment-variable): Use them.
17434 (shell-dynamic-complete-as-environment-variable)
17435 (shell-dynamic-complete-as-command): Remove.
17436 (shell-match-partial-variable): Match past point.
17437 * comint.el: Clean up use of completion-at-point-functions.
17438 (comint-completion-at-point): New function.
17439 (comint-mode): Use it completion-at-point-functions.
17440 (comint-dynamic-complete): Make it obsolete.
17441 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17442 (comint-c-a-p-replace-by-expanded-history): New function.
17443 (comint-dynamic-complete-functions)
17444 (comint-replace-by-expanded-history): Use it.
17445 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17446 termination strings. Try harder to avoid second try-completion.
17447 (completion-in-region-mode-map): Disable bindings that don't work yet.
17449 * comint.el: Use lexical-binding. Require CL.
17450 (comint-dynamic-complete-functions): Use comint-filename-completion.
17451 (comint-completion-addsuffix): Tweak custom type.
17452 (comint-filename-completion, comint--common-suffix)
17453 (comint--common-quoted-suffix, comint--table-subvert)
17454 (comint--complete-file-name-data): New functions.
17455 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17456 (comint-dynamic-list-filename-completions): Use them.
17457 (comint-dynamic-simple-complete): Make obsolete.
17459 * minibuffer.el (completion-in-region-mode):
17460 Keep completion-in-region-mode--predicate global.
17461 (completion-in-region--postch):
17462 Assume completion-in-region-mode--predicate is not null.
17464 * progmodes/flymake.el (flymake-start-syntax-check-process):
17465 Obey `dir'. Simplify.
17467 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17468 we're in VC after all.
17470 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17472 * vc/vc.el (vc-diff-build-argument-list-internal)
17473 (vc-version-ediff, vc-ediff): New commands.
17474 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17476 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17478 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17481 * obsolete/erc-hecomplete.el: Make obsolete.
17482 * obsolete/: Standardize obsolescence info in the header.
17484 2011-04-20 Glenn Morris <rgm@gnu.org>
17486 * calendar/solar.el (solar-horizontal-coordinates):
17487 Use the longitude argument rather than `calendar-longitude'.
17488 (solar-date-next-longitude): Remove unused locals.
17490 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17492 * whitespace.el: New version 13.2.1.
17494 2011-04-20 felix <EmacsWiki> (tiny change)
17496 * whitespace.el (global-whitespace-mode): Keep highlight when
17497 switching between major modes on a file.
17499 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17501 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17502 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17503 multi-line comments as well.
17505 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
17507 Lexical-binding cleanup.
17509 * arc-mode.el (archive-mode-revert):
17510 * cmuscheme.el (scheme-interactively-start-process):
17511 * custom.el (custom-initialize-delay):
17512 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17513 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17514 * emacs-lock.el (emacs-lock-clear-sentinel):
17515 * ezimage.el (defezimage):
17516 * follow.el (follow-avoid-tail-recenter):
17517 * fringe.el (set-fringe-mode-1):
17518 * generic-x.el (bat-generic-mode-compile):
17519 * help-mode.el (help-info-variable, help-do-xref)
17520 (help-mode-revert-buffer):
17521 * help.el (view-emacs-todo):
17522 * iswitchb.el (iswitchb-completion-help):
17523 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17524 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17525 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17526 * locate.el (locate-update):
17527 * longlines.el (longlines-encode-region)
17528 (longlines-after-change-function):
17529 * outline.el (outline-isearch-open-invisible):
17530 * ps-def.el (declare-function, charset-dimension, char-width)
17532 * ps-mule.el (ps-mule-plot-string):
17533 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17534 (recentf-edit-list-select, recentf-edit-list-validate)
17535 (recentf-open-files-action):
17536 * rect.el (delete-whitespace-rectangle-line)
17537 (rectangle-number-line-callback):
17538 * register.el (window-configuration-to-register)
17539 (frame-configuration-to-register):
17540 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17541 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17542 (xselect-convert-to-targets, xselect-convert-to-delete)
17543 (xselect-convert-to-filename, xselect-convert-to-charpos)
17544 (xselect-convert-to-lineno, xselect-convert-to-colno)
17545 (xselect-convert-to-os, xselect-convert-to-host)
17546 (xselect-convert-to-user, xselect-convert-to-class)
17547 (xselect-convert-to-name, xselect-convert-to-integer)
17548 (xselect-convert-to-atom, xselect-convert-to-identity):
17549 * subr.el (declare, ignore, process-kill-without-query)
17550 (text-clone-maintain):
17551 * terminal.el (te-get-char, te-tic-sentinel):
17552 * tool-bar.el (tool-bar-make-keymap):
17553 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17554 * type-break.el (type-break-mode, type-break-noninteractive-query):
17555 * view.el (View-back-to-mark):
17556 * wid-browse.el (widget-browse-action, widget-browse-widget)
17557 (widget-browse-widgets, widget-browse-sexp):
17558 * widget.el (define-widget-keywords):
17559 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17560 Mark unused parameters.
17562 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17563 (align-areas): Remove unused variable `look'.
17564 (align-region): Remove unused variables `real-end' and `pos-list'.
17566 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17568 * bindings.el (mode-line-modified, mode-line-remote):
17569 Mark unused parameters.
17570 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17572 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17573 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17575 * comint.el (comint-history-isearch-pop-state)
17576 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17577 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17578 (comint-substitute-in-file-name): Doc fix.
17580 * completion.el (cmpl-statistics-block): Mark unused parameter.
17581 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17582 (save-completions-to-file, load-completions-from-file):
17583 Remove unused local variable `e'.
17585 * composite.el (compose-chars): Remove unused variable `len'.
17586 (lgstring-insert-glyph): Remove unused variable `g'.
17587 (compose-glyph-string): Remove unused variables `ascent',
17588 `descent', `lbearing' and `rbearing'.
17589 (compose-glyph-string-relative): Remove unused variables
17590 `lbearing', `rbearing' and `wadjust'.
17591 (compose-gstring-for-graphic): Remove unused variables `header',
17592 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17593 (compose-gstring-for-terminal): Remove unused variables `header'
17594 and `nchars'. Use `let', not `let*'.
17596 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17597 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17598 (Custom-buffer-done, custom-buffer-create-internal)
17599 (custom-browse-visibility-action, custom-browse-group-tag-action)
17600 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17601 (widget-magic-mouse-down-action, custom-toggle-parent)
17602 (custom-add-parent-links, custom-toggle-hide-variable)
17603 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17604 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17605 (custom-face-menu-create, custom-variable-menu-create, get)
17606 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17607 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17608 (customize-apropos): Remove unused variable `tests'.
17609 (custom-group-value-create): Remove unused variable `hidden-p'.
17610 (sort-fold-case): Declare.
17612 * cus-theme.el (custom-reset-standard-faces-list)
17613 (custom-reset-standard-variables-list): Declare.
17614 (customize-create-theme, custom-theme-revert, custom-theme-write)
17615 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17616 Mark unused parameters.
17618 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17620 * delim-col.el (delimit-columns-max): Move defvar before first use.
17622 * descr-text.el (describe-char-categories): Don't quote `lambda'.
17623 (describe-char): Don't quote `lambda'. Mark unused parameter.
17625 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17626 (auto-insert): Declare.
17627 (desktop-restore-file-buffer): Rename desktop-* parameters;
17629 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17630 (desktop-buffer): Rename desktop-* parameters.
17632 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17633 (dframe-reposition-frame-xemacs, dframe-help-echo)
17634 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17635 Mark unused parameters.
17637 * dired-aux.el (backup-extract-version-start, overwrite-query)
17638 (overwrite-backup-query, rename-regexp-query)
17639 (rename-non-directory-query): Declare.
17640 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17641 (dired-add-entry): Remove unused variable `orig-file-name'.
17642 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17643 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17644 `dired-copy-preserve-time' directly.
17645 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17646 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17648 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17649 (dired-virtual-revert, dired-make-relative-symlink):
17650 Mark unused parameters.
17651 (manual-program): Declare.
17652 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17653 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17654 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17656 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17658 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17660 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17663 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17665 * electric.el (Electric-command-loop): Rename parameter
17666 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17668 * expand.el (expand-in-literal): Remove unused variable `here'.
17670 * facemenu.el (facemenu-add-new-color):
17671 Remove unused variable `docstring'.
17673 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17674 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17675 (face-attr-construct): Mark unused parameter. Doc fix.
17676 (read-color): Remove unused variable `hex-string'.
17678 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17679 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17680 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17681 (display-buffer-other-frame): Remove unused variable `old-window'.
17682 (kill-buffer-hook): Declare.
17683 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17684 Mark unused parameters.
17685 (after-find-file): Pass 1 to `auto-save-mode', not t.
17687 * files-x.el (auto-insert): Declare.
17688 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17690 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17691 variable `buf'. Mark unused parameter.
17692 (find-lisp-insert-directory): Mark unused parameter.
17694 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17695 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17696 (format-common-tail): Remove, unused.
17697 (format-deannotate-region): Remove unused variable `loc'.
17698 (format-annotate-region): Remove unused variable `p'.
17699 (format-annotate-single-property-change): Remove unused variables
17700 `default' and `tail'.
17702 * forms.el (read-file-filter): Declare.
17703 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17705 * frame.el (frame-creation-function-alist): Mark unused parameter.
17706 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17708 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17709 Remove unused parameters.
17710 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17711 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17713 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17714 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17715 (hfy-prepare-tag-map): Mark unused parameters.
17716 (htmlfontify-buffer): Use `called-interactively-p'.
17718 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17719 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17720 (ibuffer-do-occur): Mark unused parameters.
17721 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17722 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17724 * ibuffer.el: Don't quote `lambda'.
17725 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17726 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17727 Mark unused parameters.
17729 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17730 (ido-completing-read): Mark unused parameters.
17731 (ido-copy-current-word): Mark unused parameters;
17732 remove unused variable `name'.
17733 (ido-sort-merged-list): Remove unused parameter `dirs'.
17735 * ielm.el (ielm-input-sender): Mark unused parameter.
17736 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17737 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17738 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17739 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17740 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17742 * image-dired.el (image-dired-display-thumbs): Remove unused
17743 variables `curr-file' and `count'.
17744 (image-dired-remove-tag): Remove unused variable `start'.
17745 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17746 variable `curr-file'
17747 (image-dired-rotate-original): Remove unused variable `temp-file'.
17748 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17749 Remove unused variable `file'.
17750 (image-dired-gallery-generate): Remove unused variable `curr'.
17751 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17753 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17755 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17757 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17759 * isearch.el (minibuffer-history-symbol): Declare.
17760 (isearch-edit-string): Remove unused variable `err'.
17761 (isearch-message-prefix, isearch-message-suffix):
17762 Mark unused parameters.
17764 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17766 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17768 * makesum.el (double-column): Remove unused variable `cnt'.
17770 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17771 (ido-ignore-item-temp-list): Declare.
17773 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17774 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17775 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17776 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17779 * mouse-sel.el (mouse-extend-internal):
17780 Remove unused variable `orig-window-frame'.
17782 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17783 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17784 Move declarations before first use.
17785 (pcomplete-opt): Mark unused parameters; doc fix.
17787 * proced.el (proced-revert): Mark unused parameter.
17788 (proced-send-signal): Remove unused variable `err'.
17790 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17791 Rename parameter PREFIX-ARG to ARG.
17792 (ps-basic-plot-string, ps-basic-plot-whitespace):
17793 Mark unused parameters.
17795 * replace.el (replace-count): Define.
17796 (occur-revert-function): Mark unused parameters.
17797 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17798 (isearch-case-fold-search, isearch-string): Declare.
17799 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17800 bind `case-fold-search'. Remove unused variables `beg' and `end',
17802 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17803 COUNT and bind `replace-count'.
17804 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17807 * savehist.el (print-readably, print-string-length): Declare.
17809 * shadowfile.el (shadow-expand-cluster-in-file-name):
17810 Remove unused variable `cluster'.
17811 (shadow-copy-file): Remove unused variable `i'.
17812 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17813 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17814 (shadow-define-literal-group, shadow-define-regexp-group)
17815 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17817 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17818 (shell): Use `called-interactively-p'.
17819 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17821 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17822 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17823 (delete-backward-char): Remove unused variable `ocol'.
17824 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17825 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17826 (event-apply-hyper-modifier, event-apply-shift-modifier)
17827 (event-apply-control-modifier, event-apply-meta-modifier):
17828 Mark unused parameters.
17829 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17830 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17832 * speedbar.el (speedbar-ignored-directory-expressions)
17833 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17834 (speedbar-find-file, speedbar-dir-follow)
17835 (speedbar-directory-buttons-follow, speedbar-tag-find)
17836 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17837 (speedbar-buffers-line-directory, speedbar-buffer-click):
17838 Mark unused parameters.
17839 (speedbar-tag-file): Remove unused variable `mode'.
17840 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17842 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17844 * talk.el (talk): Remove unused variable `display'.
17846 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17847 (tar-write-region-annotate): Mark unused parameter.
17849 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17850 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17851 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17852 warning by another.
17854 * time-stamp.el (time-stamp-string-preprocess):
17855 Remove unused variable `require-padding'.
17857 * tree-widget.el (widget-glyph-enable): Declare.
17858 (tree-widget-action): Mark unused parameter.
17860 * w32-fns.el (x-get-selection): Mark unused parameter.
17861 (autoload-make-program, generated-autoload-file): Declare.
17863 * wdired.el (wdired-revert): Mark unused parameters.
17864 (wdired-xcase-word): Remove unused variable `err'.
17866 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17867 (whitespace-help-scroll): Remove unused variable `data-help'.
17869 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17870 (widget-image-insert, widget-after-change, default)
17871 (widget-default-format-handler, widget-default-notify)
17872 (widget-default-prompt-value, widget-info-link-action)
17873 (widget-url-link-action, widget-function-link-action)
17874 (widget-variable-link-action, widget-file-link-action)
17875 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17876 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17877 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17878 (widget-insert-button-action, widget-delete-button-action, visibility)
17879 (widget-documentation-link-action, widget-documentation-string-action)
17880 (widget-const-prompt-value, widget-regexp-match, symbol)
17881 (widget-coding-system-prompt-value)
17882 (widget-key-sequence-value-to-external, sexp)
17883 (widget-sexp-value-to-internal, character, vector, cons)
17884 (widget-choice-prompt-value, widget-boolean-prompt-value)
17885 (widget-color--choose-action): Mark unused parameters.
17886 (widget-item-match-inline, widget-choice-match-inline)
17887 (widget-checklist-match, widget-checklist-match-inline)
17888 (widget-group-match): Rename parameter VALUES to VALS.
17889 (widget-field-value-set): Remove unused variable `size'.
17890 (widget-color-action): Remove unused variables `value' and `start'.
17892 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17893 variable `dir'. Doc fix.
17894 (windmove-find-other-window): Don't pass it.
17896 * window.el (count-windows): Mark unused parameter.
17897 (bw-adjust-window): Remove unused variable `err'.
17899 * woman.el (woman-file-name): Remove unused variable `default'.
17900 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17901 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17902 (global-font-lock-mode): Declare.
17903 (woman-decode-region): Mark unused parameter.
17904 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17906 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17907 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17908 (x-dnd-handle-moz-url): Remove unused variable `title'.
17909 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17911 * xml.el (xml-parse-tag, xml-parse-attlist):
17912 Remove unused variable `pos'.
17914 2011-04-19 Glenn Morris <rgm@gnu.org>
17916 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17917 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17918 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17919 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17920 * calendar/cal-html.el (cal-html-insert-minical):
17921 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17922 (calendar-mark-date-pattern):
17923 Prefix "unused" locals.
17925 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17926 optional argument `style'.
17928 * calendar/appt.el (appt-make-list):
17929 * calendar/cal-china.el (calendar-chinese-date-string):
17930 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17931 (diary-hebrew-yahrzeit):
17932 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17933 * calendar/calendar.el (calendar-generate-window):
17934 * calendar/time-date.el (time-to-days):
17935 Remove unused local variables.
17937 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17939 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17940 glyphless-char-display table.
17941 (tabulated-list-glyphless-char-display): New var.
17943 2011-04-18 Sam Steingold <sds@gnu.org>
17945 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17946 to acknowledgments.
17948 2011-04-17 Glenn Morris <rgm@gnu.org>
17950 * calendar/diary-lib.el (diary-sexp-entry):
17951 * calendar/holidays.el (holiday-sexp):
17952 Set debug-on-error rather than the removed stack-trace-on-error.
17954 2011-04-16 Glenn Morris <rgm@gnu.org>
17956 * progmodes/f90.el: Use lexical-binding.
17957 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17959 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17961 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17962 (mail-mode): Setup mailalias completion here instead.
17963 * mail/mailalias.el: Use lexical-binding.
17964 (pattern, mailalias-done): Declare dynamic.
17965 (mail-completion-at-point-function): New function, from mail-complete.
17966 (mail-complete): Use it.
17967 (mail-completion-expand): New function.
17968 (mail-get-names): Use it.
17969 (mail-directory, mail-directory-process, mail-directory-stream):
17970 Don't use `pattern' for lexically bound arg.
17972 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17974 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17975 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17976 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17978 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17979 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17980 (byte-interactive-p): Define them again, for use when inlining
17983 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17985 * loadup.el: Use `string-to-number', not `string-to-int'.
17987 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17989 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17990 gud-gdb-complete-command.
17991 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17992 (gud-gdb-completion-at-point): New function.
17993 (gud-gdb-completions): Remove.
17995 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17997 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17998 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17999 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18000 whether `executable-find' is bound.
18002 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18004 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18006 * minibuffer.el (completion-in-region-mode-predicate)
18007 (completion-in-region-mode--predicate): New vars.
18008 (completion-in-region, completion-in-region--postch)
18009 (completion-in-region-mode): Use them.
18010 (completion--capf-wrapper): Also return the hook function.
18011 (completion-at-point, completion-help-at-point):
18012 Adjust and provide a predicate.
18014 Preserve arg names for advice of subr and lexical functions (bug#8457).
18015 * help-fns.el (help-function-arglist): Consolidate the subr and
18016 new-byte-code cases. Add argument `preserve-names' to extract names
18017 from the docstring when needed.
18018 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18019 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18020 (ad-arglist): Use help-function-arglist's new arg.
18021 (ad-definition-type): Use cond.
18023 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18025 * autorevert.el (auto-revert-handler):
18026 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18027 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18028 Don't quote lambda.
18030 * image-mode.el (image-transform-set-scale):
18031 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18033 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18035 * net/network-stream.el (network-stream-open-starttls): Only do
18036 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18037 Upgrades via gnutls-cli are too slow to be done opportunistically.
18039 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18041 * dframe.el (dframe-current-frame): Remove spurious quote.
18043 2011-04-12 Glenn Morris <rgm@gnu.org>
18045 * calendar/cal-tex.el (cal-tex-end-document):
18046 Try to automatically use latin1 input if needed.
18048 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18049 Don't try to cons a mark onto an empty element.
18051 2011-04-11 Leo Liu <sdl.web@gmail.com>
18053 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18055 (ido-kill-buffer-at-head): Support killing virtual buffers.
18057 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18059 * minibuffer.el (completion-show-inline-help): New var.
18060 (completion--do-completion, minibuffer-complete)
18061 (minibuffer-force-complete, minibuffer-complete-word):
18062 Inhibit minibuffer messages if completion-show-inline-help is nil.
18064 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18065 to avoid interference from inline help (Bug#5849).
18067 2011-04-10 Leo Liu <sdl.web@gmail.com>
18069 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18072 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18074 * image-mode.el (image-toggle-display-image): Signal an error if
18076 (image-transform-mode, image-transform-resize)
18077 (image-transform-set-rotation): Doc fix.
18078 (image-transform-set-resize): Delete.
18079 (image-transform-set-scale, image-transform-fit-to-height)
18080 (image-transform-fit-to-width): Handle image-toggle-display-image
18081 and image-transform-resize directly.
18083 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18085 * doc-view.el (doc-view-fit-width-to-window)
18086 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18087 New functions for fitting the shown image to the Emacs window size.
18088 (doc-view-mode-map): Add bindings for the new functions.
18090 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18092 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18093 Fix typo in docstring.
18095 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18097 * files.el (file-size-human-readable): Produce one digit after
18098 decimal, like "ls -lh" does.
18100 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18101 the file size representation.
18103 * simple.el (list-processes): If async subprocesses are not
18104 available, error out with a clear error message.
18106 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18108 * help.el (help-form-show): New function, to be called from C.
18109 Put help-form output in a buffer named differently than *Help*.
18111 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18113 * files.el (file-size-human-readable): New function.
18115 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18116 computing the representation inline. Don't require `cl'.
18118 2011-04-08 Glenn Morris <rgm@gnu.org>
18120 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18122 * net/browse-url.el (browse-url-firefox):
18123 Test system-type, not system-configuration.
18125 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18126 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18127 Use log-edit-empty-buffer-p. (Bug#7598)
18129 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18130 (rlogin-mode-map): Initialize in the defvar.
18131 (rlogin): Use ignore-errors.
18133 * replace.el (occur-mode-map): Some fixes for menu items.
18135 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18137 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18139 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18141 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18142 issuing unused warnings.
18144 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18147 * simple.el: Lisp reimplement of list-processes. Based on an
18148 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18149 (process-menu-mode): New major mode.
18150 (list-processes--refresh, list-processes):
18151 (process-menu-visit-buffer): New functions.
18153 * files.el (save-buffers-kill-emacs): Don't assume any return
18154 value of list-processes, which is undocumented anyway.
18156 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18158 * emacs-lisp/tabulated-list.el: New file.
18160 * emacs-lisp/package.el: Use Tabulated List mode.
18161 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18162 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18163 table format using Tabulated List mode variables.
18164 (package--push): New macro, replacing package-list-maybe-add.
18165 (package-menu--generate): Use package--push. Renamed from
18166 package--generate-package-list.
18167 (package-menu-refresh, list-packages): Use it.
18168 (package-menu--print-info): Rename from package-print-package.
18169 Return insertion data instead of inserting it directly.
18170 (package-menu-describe-package, package-menu-execute):
18171 Use tabulated-list-get-id.
18172 (package-menu-mark-delete, package-menu-mark-install)
18173 (package-menu-mark-unmark, package-menu-backup-unmark)
18174 (package-menu-mark-obsolete-for-deletion):
18175 Use tabulated-list-put-tag.
18176 (package--list-packages, package-menu-revert)
18177 (package-menu-get-package, package-menu-get-version)
18178 (package-menu-sort-by-column): Functions deleted.
18179 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18180 (package-menu--status-predicate, package-menu--version-predicate)
18181 (package-menu--name-predicate)
18182 (package-menu--description-predicate): Handle arguments in the
18183 Tabulated List format.
18184 (package-list-packages-no-fetch): Call list-packages.
18186 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18188 * files.el (after-find-file-from-revert-buffer): Remove variable.
18189 (after-find-file): Don't bind it.
18190 (revert-buffer-in-progress-p): New variable.
18191 (revert-buffer): Bind it.
18192 Pass nil for `after-find-file-from-revert-buffer'.
18194 * saveplace.el (save-place-find-file-hook): Use new variable
18195 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18197 2011-04-06 Glenn Morris <rgm@gnu.org>
18199 * Makefile.in (AUTOGEN_VCS): New variable.
18200 (autoloads): Use $AUTOGEN_VCS.
18202 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18203 * calendar/calendar.el (calendar-mode-map):
18204 Check for toolkit scroll bars. (Bug#8305)
18206 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18208 * minibuffer.el (completion-in-region--postch)
18209 (completion-in-region-mode): Remove unnecessary messages.
18211 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
18213 * font-lock.el (font-lock-refresh-defaults):
18214 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18215 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18217 * info.el (Info-directory-list, Info-read-node-name-2)
18218 (Info-split-parameter-string): Doc fixes.
18219 (Info-virtual-nodes): Reflow docstring.
18220 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18221 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18222 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18223 Fix typos in docstrings.
18224 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18225 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18226 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18227 (Info-restore-desktop-buffer): Mark unused parameters.
18228 (Info-directory-find-file, Info-directory-find-node)
18229 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18230 (Info-virtual-index-find-node, Info-apropos-find-file)
18231 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18232 Mark unused parameters; fix typos in docstrings.
18233 (Info-virtual-index): Remove unused local variable `nodename'.
18235 2011-04-05 Deniz Dogan <deniz@dogan.se>
18237 * net/rcirc.el: Update my e-mail address.
18238 (rcirc-mode-map): Remove M-o binding.
18240 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18242 * startup.el (command-line): Save the cursor's theme-face
18243 directly, instead of using face-override-spec.
18245 * custom.el (load-theme): Minor optimization in assigning faces.
18247 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18249 * help-fns.el (describe-variable): Complete all variables having
18250 documentation, including keywords.
18251 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18253 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18255 Convert to lexical-binding.
18257 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18258 (bs--get-marked-string, bs--get-modified-string)
18259 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18260 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18261 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18263 * ehelp.el (electric-help-execute-extended)
18264 (electric-help-ctrl-x-prefix):
18265 * hexl.el (hexl-revert-buffer-function):
18266 * linum.el (linum-after-change, linum-after-scroll):
18267 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18269 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18271 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18278 * epg.el: Use lexical binding.
18280 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18282 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18284 * textmodes/flyspell.el (flyspell-word): Recognize default
18285 dictionary case for flyspell-mark-duplications-exceptions.
18286 Use regexp matching for languages.
18287 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18288 default dictionary (Bug#7926).
18290 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18292 * emacs-lisp/package.el (package--with-work-buffer):
18293 Recognize https URLs.
18295 * net/network-stream.el: Move from gnus/proto-stream.el.
18296 Change prefix to network-stream throughout.
18297 (open-protocol-stream): Merge into open-network-stream, leaving
18298 open-protocol-stream as an alias. Handle nil BUFFER args.
18300 * subr.el (open-network-stream): Move to net/network-stream.el.
18302 2011-04-02 Glenn Morris <rgm@gnu.org>
18304 * find-dired.el (find-exec-terminator): New option.
18305 (find-ls-option): Test for -ls support.
18306 (find-ls-subdir-switches): Test for -b in find-ls-option.
18307 (find-dired, find-grep-dired): Doc fixes.
18308 (find-dired): Use find-exec-terminator.
18310 * find-dired.el (find-ls-option, find-ls-subdir-switches)
18311 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18312 (find-name-arg): Remove purecopy.
18314 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18315 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18316 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18317 accordingly. Don't add the null-device if not needed.
18319 * files.el (save-some-buffers): Doc fix.
18321 2011-04-02 Eli Zaretskii <eliz@gnu.org>
18323 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18325 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
18327 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18328 Use `dolist' rather than `mapcar'.
18330 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18332 Add lexical binding.
18334 * subr.el (apply-partially): Use new closures rather than CL.
18335 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18336 (dolist, dotimes): Use slightly different expansion for lexical code.
18337 (functionp): Move to C.
18338 (letrec): New macro.
18339 (with-wrapper-hook): Use it and apply-partially instead of CL.
18340 (eval-after-load): Preserve lexical-binding.
18341 (save-window-excursion, with-output-to-temp-buffer): Turn them
18344 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18346 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18348 (help-add-fundoc-usage): Don't add `Not documented'.
18349 (help-function-arglist): Handle closures, subroutines, and new
18350 byte-code-functions.
18351 (help-make-usage): Remove leading underscores.
18352 (describe-function-1): Handle closures.
18353 (describe-variable): Use special-variable-p for completion.
18355 * files.el (lexical-binding): Declare safe.
18357 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18358 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18359 (pcase): Add `let' pattern.
18360 Change memoization so it actually works.
18361 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18362 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18365 * emacs-lisp/macroexp.el: Use lexical binding.
18366 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18367 Don't convert ' to #' without checking that it's indeed quoting
18370 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18371 Use eval-sexp-add-defvars.
18372 (eval-sexp-add-defvars): New fun.
18374 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18376 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18378 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18379 than the internal `byte-compile-lambda'.
18380 (defmethod): Don't hide code under quotes.
18381 (eieio-defmethod): New `code' argument.
18383 * emacs-lisp/eieio-comp.el: Remove.
18385 * emacs-lisp/edebug.el (edebug-eval-defun)
18386 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18387 (edebug-toggle): Avoid `eval'.
18389 * emacs-lisp/disass.el (disassemble-internal): Handle new
18391 (disassemble-1): Handle new byte codes.
18393 * emacs-lisp/cl.el (pushnew): Silence warning.
18395 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18396 (cl-byte-compile-throw): Remove.
18397 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18399 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18402 * emacs-lisp/cconv.el: New file.
18404 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18405 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18406 (byte-compile-initial-macro-environment):
18407 Handle declare-function here.
18408 (byte-compile--lexical-environment): New var.
18409 (byte-stack-ref, byte-stack-set, byte-discardN)
18410 (byte-discardN-preserve-tos): New lap codes.
18411 (byte-interactive-p): Don't use any more.
18412 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18414 (byte-compile-lapcode): Use them and handle new lap codes.
18415 (byte-compile-obsolete): Remove.
18416 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18417 (byte-compile-arglist-warn): Check late def of inlinable funs.
18418 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18419 since they should have been expanded by now.
18420 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18421 (byte-compile-from-buffer): Remove unused second arg.
18422 (byte-compile-preprocess): New function.
18423 (byte-compile-toplevel-file-form): New function to distinguish
18424 file-form calls from outside from file-form calls from hunk-handlers.
18425 (byte-compile-file-form): Simplify.
18426 (byte-compile-file-form-defsubst): Remove.
18427 (byte-compile-file-form-defmumble): Simplify now that
18428 byte-compile-lambda always returns a byte-code-function.
18429 (byte-compile): Preprocess.
18430 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18431 Remove, not used any more.
18432 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18433 (byte-compile-make-args-desc): New funs.
18434 (byte-compile-lambda): Handle lexical functions. Always return
18435 a byte-code-function.
18436 (byte-compile-reserved-constants): New var, to make up room for
18437 closed-over variables.
18438 (byte-compile-constants-vector): Obey it.
18439 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18440 (byte-compile-macroexpand-declare-function): New function.
18441 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18442 byte-code-functions.
18443 (byte-compile-form): Check obsolescence here.
18444 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18445 (byte-compile-variable-ref): Remove.
18446 (byte-compile-dynamic-variable-op): New fun.
18447 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18448 (byte-compile-variable-set): New funs.
18449 (byte-compile-discard): Add 2 args.
18450 (byte-compile-stack-ref, byte-compile-stack-set)
18451 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18452 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18453 macroexpand-all instead.
18454 (byte-compile-quote-form): Remove.
18455 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18456 (byte-compile-bind, byte-compile-unbind): New funs.
18457 (byte-compile-let): Handle let* and lexical binding.
18458 (byte-compile-let*): Remove.
18459 (byte-compile-catch, byte-compile-unwind-protect)
18460 (byte-compile-track-mouse, byte-compile-condition-case):
18461 Handle a new :fun-body form, used for lexical scoping.
18462 (byte-compile-save-window-excursion)
18463 (byte-compile-with-output-to-temp-buffer): Remove.
18464 (byte-compile-defun): Simplify.
18465 (byte-compile-stack-adjustment): New fun.
18466 (byte-compile-out): Use it.
18467 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18469 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18472 * emacs-lisp/byte-opt.el: Use lexical binding.
18473 (byte-inline-lapcode): Remove (to bytecomp).
18474 (byte-compile-inline-expand): Pay attention to inlining to/from
18475 lexically bound code.
18476 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18478 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18479 any more and don't call compiler-macros.
18480 (byte-compile-splice-in-already-compiled-code): Remove.
18481 (byte-code): Don't inline any more.
18482 (disassemble-offset): Receive `bytes' as argument rather than via
18484 (byte-compile-tag-number): Declare before first use.
18485 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18486 `return' even if make-spliceable.
18487 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18488 obsolete interactive-p.
18489 (byte-optimize-lapcode): Optimize new lap-codes.
18490 Don't trip up on new form of `byte-constant' lap code.
18492 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18494 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18496 * custom.el (custom-initialize-default, custom-declare-variable):
18499 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18501 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18502 (COMPILE_FIRST): Add macroexp and cconv.
18503 * makefile.w32-in: Mirror changes in Makefile.in.
18505 * vc/cvs-status.el:
18509 * vc/smerge-mode.el:
18510 * textmodes/bibtex-style.el:
18511 * textmodes/css-mode.el:
18519 * emacs-lisp/smie.el:
18522 * abbrev.el: Use lexical binding.
18524 2011-04-01 Eli Zaretskii <eliz@gnu.org>
18526 * info.el (info-display-manual): New function.
18528 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18530 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18532 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18534 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18535 an entry for that server in rcirc-authinfo. (Bug#8385)
18537 2011-03-31 Glenn Morris <rgm@gnu.org>
18539 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18541 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18543 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18545 * progmodes/python.el (python-default-interpreter)
18546 (python-python-command-args, python-jython-command-args)
18547 (python-which-shell, python-which-args, python-which-bufname)
18548 (python-file-queue, python-comint-output-filter-function)
18549 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18550 variables and functions.
18552 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18554 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18555 (completion-in-region-mode): New minor mode.
18556 (completion-in-region): Use it.
18557 (completion-in-region--data, completion-in-region-mode-map): New vars.
18558 (completion-in-region--postch): New function.
18559 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18561 (completion--capf-wrapper): New function.
18562 (completion-at-point): Use it to track well-behavedness of
18564 (completion-help-at-point): New command.
18566 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18568 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18569 syntax class to search for whitespace on a single line
18570 (Message-ID: <4D938140.4030905@redhat.com>).
18572 2011-03-30 Leo Liu <sdl.web@gmail.com>
18574 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18576 (edit-abbrevs-map): Bind them here.
18577 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18579 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18581 * allout.el (allout-hide-by-annotation, allout-flag-region):
18582 Reduce possibility of overlay leakage by making them volatile.
18584 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18585 hash is not shared between buffers. Mode initialization is
18586 responsible for giving it a useful starting value.
18587 (allout-item-span): Reduce possibility of overlay leakage by
18588 making them volatile.
18589 (allout-widgets-count-buttons-in-region): Add diagnostic function
18590 for tracking down button overlay leaks.
18592 2011-03-29 Leo Liu <sdl.web@gmail.com>
18594 * ido.el (ido-read-internal): Use the default history var
18595 minibuffer-history if no HISTORY is specified.
18597 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18599 * net/imap.el (imap-shell-open, imap-process-connection-type):
18600 Use imap-process-connection-type for 'shell' streams as well as
18601 Kerberos, SSL, other subprocesses.
18603 2011-03-28 Leo Liu <sdl.web@gmail.com>
18605 * abbrev.el (abbrev-table-empty-p): New function.
18606 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18607 nonempty ones. (Bug#5937)
18609 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18611 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18613 2011-03-27 Leo Liu <sdl.web@gmail.com>
18615 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18616 for foreground and background colors.
18617 (ansi-color-make-color-map): Adapt.
18619 2011-03-25 Leo Liu <sdl.web@gmail.com>
18621 * midnight.el (midnight-time-float): Remove. Note it calculates
18622 the microsecond component incorrectly and seconds-to-time does the
18624 Remove redundant (require 'timer).
18626 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18627 (ido-completions): Remove unused arguments. (Bug#8329)
18629 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18631 * minibuffer.el (completion--flush-all-sorted-completions):
18632 Remove itself from hook.
18633 (completion-at-point): Let the functions perform the completion
18634 immediately and return nil or t.
18635 * comint.el (comint-dynamic-complete-functions): Now identical to
18636 completion-at-point-functions.
18637 (comint-dynamic-list-input-ring): Remove unused var `index'.
18638 (comint--match-partial-filename, comint--unquote&expand-filename):
18639 New funs, split from comint-match-partial-filename.
18640 (comint-dynamic-complete): Use completion-at-point.
18641 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18643 2011-03-24 Drew Adams <drew.adams@oracle.com>
18645 * thingatpt.el: Support `defun'.
18647 2011-03-23 Leo Liu <sdl.web@gmail.com>
18649 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18651 * help-mode.el (help-mode-finish): Tweak regexp.
18653 2011-03-23 Glenn Morris <rgm@gnu.org>
18655 * eshell/esh-opt.el (eshell-eval-using-options):
18656 Do not bind unused local variable `eshell-option-stub'.
18658 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18660 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
18662 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18663 keymap variable in `with-no-warnings' to avoid a warning when the
18664 keymap has been already `defconst'ed.
18666 2011-03-22 Leo Liu <sdl.web@gmail.com>
18668 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18669 encode all chars in abbrevs; otherwise use emacs-mule or
18670 utf-8-emacs. (Bug#8308)
18672 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
18674 * simple.el (backward-delete-char-untabify):
18675 Avoid warning about using `delete-backward-char'.
18677 * image.el (image-type-file-name-regexps): Make it variable.
18678 `imagemagick-register-types' modifies it, and the user may want
18679 to add new extensions for known image types.
18680 (imagemagick-register-types): Throw error if not using ImageMagick.
18682 2011-03-22 Leo Liu <sdl.web@gmail.com>
18684 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18685 located before rcirc-prompt-end-marker.
18686 (rcirc-complete): Error if point is not after rcirc prompt.
18687 Handle the case when table is nil.
18688 (rcirc-user-authenticated): Define to fix compiler warning.
18690 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
18692 * custom.el (custom--inhibit-theme-enable): Make it affect only
18693 custom-theme-set-variables and custom-theme-set-faces.
18694 (provide-theme): Ignore custom--inhibit-theme-enable.
18695 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18696 (custom-enabling-themes): Delete variable.
18697 (enable-theme): Accept only loaded themes as arguments.
18698 Ignore the special custom-enabled-themes variable.
18699 (custom-enabled-themes): Forbid themes from setting this.
18700 Eliminate use of custom-enabling-themes.
18701 (custom-push-theme): Quote "changed" custom var entry.
18703 2011-03-21 Leo Liu <sdl.web@gmail.com>
18705 * ido.el (ido-read-internal): Add ido-selected to history instead
18708 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18710 * subr.el (deferred-action-list, deferred-action-function):
18713 2011-03-21 Leo Liu <sdl.web@gmail.com>
18715 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18716 change on 2011-02-13 (bug#8309).
18718 * minibuffer.el (read-file-name-function): Change default value.
18719 (read-file-name--defaults): Rename from read-file-name-defaults.
18720 (read-file-name-default): Rename from read-file-name.
18721 (read-file-name): Call read-file-name-function.
18723 2011-03-21 Glenn Morris <rgm@gnu.org>
18725 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18728 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
18730 * cus-theme.el: Add missing provide statement.
18731 (customize-create-theme): Extract theme value correctly.
18732 (custom-theme-visit-theme): Autoload.
18733 (customize-create-theme): Prompt before inserting default faces.
18735 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18737 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18738 units and musical notes.
18740 2011-03-20 Leo Liu <sdl.web@gmail.com>
18742 * ido.el (ido-read-internal): Use completing-read-default.
18743 (ido-completing-read): Fix compatibility with completing-read.
18745 2011-03-20 Christian Ohler <ohler@gnu.org>
18747 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18748 (ert-delete-all-tests): Use `called-interactively-p' rather than
18750 (ert--make-xrefs-region): Respect END.
18752 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18754 * dired-aux.el (dired-create-directory): Signal an error if the
18755 directory already exists (Bug#8246).
18757 * facemenu.el (list-colors-display): Call list-faces-display
18758 inside with-help-window.
18759 (list-colors-print): Use display property to align the final
18760 column, instead of checking window-width.
18762 2011-03-19 Eli Zaretskii <eliz@gnu.org>
18764 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18765 windows-nt systems.
18766 (emerge-protect-metachars): Quote correctly for ms-dos and
18767 windows-nt systems.
18769 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
18771 * info.el (info-initialize): Replace all uses of `:' with
18772 path-separator for compatibility with non-Unix systems.
18773 Cache quoting of path-separator. (Bug#8258)
18775 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
18777 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18778 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18779 (mouse-avoidance-mode): Fix typos in docstrings.
18781 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18783 * startup.el (package-subdirectory-regexp): Move from package.el.
18784 Omit \\` and \\', and let callers add them.
18786 * emacs-lisp/package.el (package-strip-version)
18787 (package-load-all-descriptors): Add \\` and \\' to
18788 package-subdirectory-regexp before using it.
18789 (package-untar-buffer): New arg DIR; ensure that file untars only
18790 into this expected directory. Remove superfluous delete-region.
18791 (package-unpack): Caller changed.
18792 (package-tar-file-info): Use package-subdirectory-regexp.
18794 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18796 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18797 diff-mode-shared-map (bug#8284).
18798 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18800 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18802 * calendar/time-date.el (format-seconds): Use assoc instead of
18803 assoc-string, since assoc-string doesn't exist in XEmacs.
18805 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
18807 * custom.el (custom-known-themes): Reflow docstring.
18808 (custom-theme-load-path): Fix typo in docstring.
18809 (load-theme): Fix typo in error message.
18810 (custom-available-themes, custom-variable-theme-value):
18811 Use `let', not `let*'.
18813 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18815 * calc/README: Mention inclusion of musical notes.
18817 * calc/calc-units.el (calc-lu-quant): Rename from
18818 `calc-logunits-quantity'.
18819 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18820 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18821 (calc-db): Rename from `calc-dblevel'.
18822 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18823 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18824 (calc-np): Rename from `calc-nplevel'.
18825 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18826 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18827 (calc-lu-plus): Rename from `calc-logunits-add'.
18828 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18829 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18830 (calc-lu-minus): Rename from `calc-logunits-sub'.
18831 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18832 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18833 (calc-lu-times): Rename from `calc-logunits-mul'.
18834 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18835 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18836 (calc-lu-divide): Rename from `calc-logunits-div'.
18837 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18838 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18840 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18841 functions being autoloaded.
18843 * calc/calc.el (calc-lu-power-reference): Rename from
18844 `calc-logunits-power-reference'.
18845 (calc-lu-field-reference): Rename from
18846 `calc-logunits-field-reference'.
18848 * calc/calc-help.el (calc-l-prefix-help):
18849 Mention musical note functions.
18851 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18853 * minibuffer.el (completion-all-sorted-completions):
18854 Use :completion-cycle-penalty text property if present.
18856 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18858 * allout.el (allout-yank-processing): Adjust for new rebulleting
18859 regime so bullet being yanked is used without prompting the user
18862 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18864 * startup.el (command-line): Warn the user that _emacs is deprecated.
18866 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18868 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18869 (delphi-verbose, delphi-comment-face, delphi-string-face)
18870 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18871 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18872 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18873 (delphi-new-comment-line, delphi-font-lock-defaults)
18874 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18875 Fix typos in docstrings.
18877 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18879 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18880 Invert the roles of character and string values for INSTEAD, so a
18881 string is used for the more common case of a defaulting prompt.
18883 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18885 * progmodes/ruby-mode.el (ruby-backward-sexp):
18886 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18887 * play/gamegrid.el (gamegrid-make-face):
18888 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18889 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18890 * notifications.el (notifications-notify):
18891 * net/xesam.el (xesam-search-engines):
18892 * net/quickurl.el (quickurl-list-insert):
18893 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18895 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18897 * startup.el (command-line): Update package subdirectory regexp.
18899 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18901 * allout.el (allout-abbreviate-flattened-numbering)
18902 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18904 * subr.el (read-char-choice): Only show the cursor after the prompt,
18905 not after the answer.
18907 2011-03-15 Kevin Ryde <user42@zip.com.au>
18909 * help-fns.el (variable-at-point): Skip leading quotes, if any
18912 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18914 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18917 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18919 * shell.el (shell): When called interactively, offer to change the
18920 shell file name on remote hosts.
18922 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18924 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18925 integration for LDAP parameters. The host, base, user or binddn,
18926 and secret tokens can be specified in a netrc file, for instance.
18927 This is optional because an `auth-source' parameter must be
18928 specified in the search attributes.
18930 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18932 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18934 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18936 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18937 into declaration. Remove redundant and harmful binding.
18939 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18941 * files.el (file-ownership-preserved-p): Pass `integer' as an
18942 explicit 2nd argument to `file-attributes'. If the file's owner
18943 is the Administrators group on Windows, and the current user is
18944 Administrator, consider that a match.
18946 * server.el (server-ensure-safe-dir): Consider server directory
18947 safe on MS-Windows if its owner is the Administrators group while
18948 the current Emacs user is Administrator. Use `=' to compare
18949 numerical UIDs, since they could be integers or floats.
18951 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18953 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18955 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18957 Sync with Tramp 2.2.1.
18959 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18961 * net/trampver.el: Update release number.
18963 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18965 * progmodes/compile.el (compilation--previous-directory): Fix up
18966 various nil/dead-marker mismatches (bug#8014).
18967 (compilation-directory-properties, compilation-error-properties):
18968 Don't call it at a position past the one we're about to change.
18970 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18971 Disable obsolescence warnings in the file that declares it.
18973 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18975 * allout-widgets.el (allout-widgets-tally):
18976 Initialize allout-widgets-tally as a hash table rather than nil to
18977 prevent mode-line redisplay warnings. Also, clarify the module
18978 description and fix a comment typo.
18980 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18982 * help-fns.el (describe-variable): Don't complete keywords.
18983 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18985 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18987 * emacs-lisp/package.el (package-version-join): Impose a standard
18988 string representation for pre/alpha/beta version lists.
18989 (package-unpack-single): Standardize the directory name by passing
18990 it through package-version-join.
18991 (package-strip-rcs-id): Accept any version string that does not
18992 signal an error in version-to-list.
18994 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18996 * simple.el (delete-trailing-whitespace): Return nil for the
18997 benefit of `write-file-functions'.
18999 2011-03-10 Glenn Morris <rgm@gnu.org>
19001 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19003 * vc/vc-git.el (vc-git-program): New option.
19004 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19005 (vc-git--call): Use it.
19007 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19009 * cus-edit.el (Custom-newline): If no button at point, look
19010 for a subgroup button at start-of-line. (Bug#2298)
19012 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19014 2011-03-10 Julien Danjou <julien@danjou.info>
19016 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19017 `cursor-type' is nil.
19019 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19021 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19023 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19025 * allout.el: Change so yank of distinctive-bullet items
19026 preserves the existing header prefix, rebulleting it if necessary,
19027 rather than replacing it. This is necessary for proper operation
19028 of cooperative addons like allout-widgets.
19029 (allout-make-topic-prefix, allout-rebullet-heading):
19030 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19031 value as alternate bullet to be used, instead of prompting the user
19032 for a bullet character.
19034 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19037 Do not use `tramp-file-name-port', because this returns also
19038 `tramp-default-port'.
19040 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19042 * net/rcirc.el (rcirc-handler-001): Remove useless
19043 with-rcirc-process-buffer.
19044 (rcirc-check-auth-status): Swap arguments to string-match.
19046 2011-03-09 Glenn Morris <rgm@gnu.org>
19048 * shell.el (shell-mode):
19049 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19051 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19052 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19054 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19056 * emacs-lisp/package.el (package-refresh-contents)
19057 (package-menu-execute): Use condition-case-no-debug.
19059 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19061 * simple.el (shell-command-to-string): Use `process-file'.
19063 * emacs-lisp/package.el (package-tar-file-info): Handle also
19066 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19067 Use `equal' for upload base check.
19069 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19071 * textmodes/texinfo.el (texinfo-environments):
19072 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19074 2011-03-08 Glenn Morris <rgm@gnu.org>
19076 * cus-start.el (cursor-in-non-selected-windows):
19077 Fix :set quoting oddness. (Bug#8192)
19079 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19080 in some setf expressions. (Bug#2159)
19082 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19084 * custom.el (custom-available-themes): Return themes in
19085 alphabetical order.
19087 See ChangeLog.15 for earlier changes.
19089 ;; Local Variables:
19093 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19095 This file is part of GNU Emacs.
19097 GNU Emacs is free software: you can redistribute it and/or modify
19098 it under the terms of the GNU General Public License as published by
19099 the Free Software Foundation, either version 3 of the License, or
19100 (at your option) any later version.
19102 GNU Emacs is distributed in the hope that it will be useful,
19103 but WITHOUT ANY WARRANTY; without even the implied warranty of
19104 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19105 GNU General Public License for more details.
19107 You should have received a copy of the GNU General Public License
19108 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.