1 2013-06-06 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4 (byte-compile-backward-char, byte-compile-backward-word):
5 Handle explicit nil arguments. (Bug#14565)
7 2013-06-05 Alan Mackenzie <acm@muc.de>
9 * isearch.el (isearch-allow-prefix): New user option.
10 (isearch-other-meta-char): Don't exit isearch when a prefix
11 argument is typed whilst `isearch-allow-prefix' is non-nil.
14 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16 * autorevert.el (auto-revert-notify-handler): Use memq.
17 Hide assertion failure.
19 * skeleton.el: Use cl-lib.
20 (skeleton-further-elements): Use defvar-local.
21 (skeleton-insert): Use cl-progv.
23 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
25 * progmodes/prog-mode.el (prog-prettify-symbols)
26 (prog-prettify-install): Update docstrings.
28 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
30 * simple.el: Move all the prog-mode code to prog-mode.el.
31 * progmodes/prog-mode.el: New file.
32 * loadup.el: Add prog-mode.el.
34 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
36 * simple.el (prog-prettify-symbols): Add version.
37 (prog-prettify-install): Add convenience function to prettify symbols.
39 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
40 (perl--augmented-font-lock-keywords-1)
41 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
44 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
45 (cfengine3-mode): Remove unneeded variable and use it.
47 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
48 (lisp--augmented-font-lock-keywords-1)
49 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
50 Remove unneeded variables and use it.
52 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
54 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
55 to point when opening the connection.
56 Suggested by João Távora <joaotavora@gmail.com> in
57 <http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00464.html>.
59 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
61 * subr.el (load-history-regexp, load-history-filename-element)
62 (eval-after-load, after-load-functions, do-after-load-evaluation)
63 (eval-next-after-load, display-delayed-warnings)
64 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
65 definition of save-match-data.
66 (overriding-local-map): Remove accidental obsolescence declaration.
68 * emacs-lisp/edebug.el (edebug-result): Move before first use.
70 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
72 Generalize symbol prettify support to prog-mode and implement it
73 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
74 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
75 (prog--prettify-font-lock-compose-symbol)
76 (prog-prettify-font-lock-symbols-keywords): New variables and
77 functions to support symbol prettification.
78 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
79 (lisp--augmented-font-lock-keywords-1)
80 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
81 (lisp--prettify-symbols-alist): Implement prettify of lambda.
82 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
83 (cfengine3--prettify-symbols-alist, cfengine3-mode):
84 Implement prettify of -> => :: strings.
85 * progmodes/perl-mode.el (perl-prettify-symbols)
86 (perl--font-lock-compose-symbol)
87 (perl--font-lock-symbols-keywords): Move to prog-mode.
88 (perl--prettify-symbols-alist): Prettify -> => :: strings.
89 (perl-font-lock-keywords-1)
90 (perl-font-lock-keywords-2): Remove explicit prettify support.
91 (perl--augmented-font-lock-keywords)
92 (perl--augmented-font-lock-keywords-1)
93 (perl--augmented-font-lock-keywords-2, perl-mode):
94 Implement prettify support.
96 2013-06-05 Leo Liu <sdl.web@gmail.com>
98 Re-implement smie matching block highlight using
99 show-paren-data-function. (Bug#14395)
100 * emacs-lisp/smie.el (smie-matching-block-highlight)
101 (smie--highlight-matching-block-overlay)
102 (smie--highlight-matching-block-lastpos)
103 (smie-highlight-matching-block)
104 (smie-highlight-matching-block-mode): Remove.
105 (smie--matching-block-data-cache): New variable.
106 (smie--matching-block-data): New function.
107 (smie-setup): Use smie--matching-block-data for
108 show-paren-data-function.
110 * progmodes/octave.el (octave-mode-menu): Fix.
111 (octave-find-definition): Skip garbage lines.
113 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
115 Fix compilation error with simultaneous dynamic+lexical scoping.
116 Add warning when a defvar appears after the first let-binding.
117 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
118 (byte-compile-close-variables): Initialize it.
119 (byte-compile--declare-var): New function.
120 (byte-compile-file-form-defvar)
121 (byte-compile-file-form-define-abbrev-table)
122 (byte-compile-file-form-custom-declare-variable): Use it.
123 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
124 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
125 (byte-compile-bind): Handle dynamic bindings that shadow
127 (byte-compile-unbind): Make arg non-optional.
128 (byte-compile-let): Simplify.
129 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
130 (cconv--analyse-function, cconv-analyse-form): Populate it.
131 Protect byte-compile-bound-variables to limit the scope of defvars.
132 (cconv-analyse-form): Add missing rule for (defvar <foo>).
133 Remove unneeded rule for `declare'.
135 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
136 so as to avoid depending on cl-adjoin at run-time.
137 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
139 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
140 (macroexp--warn-and-return): Use it.
142 2013-06-05 Leo Liu <sdl.web@gmail.com>
144 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
146 2013-06-04 Leo Liu <sdl.web@gmail.com>
148 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
149 (compilation-auto-jump): Suppress the "Mark set" message to give
152 2013-06-04 Alan Mackenzie <acm@muc.de>
154 Remove faulty optimisation from indentation calculation.
155 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
156 search limit based on 2000 characters back from indent-point.
158 2013-06-03 Tassilo Horn <tsdh@gnu.org>
160 * eshell/em-term.el (cl-lib): Require `cl-lib'.
162 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
164 * emacs-lisp/lisp.el: Use lexical-binding.
165 (lisp--local-variables-1, lisp--local-variables): New functions.
166 (lisp--local-variables-completion-table): New var.
167 (lisp-completion-at-point): Use it complete let-bound vars.
169 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
172 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
174 * autorevert.el (auto-revert-notify-enabled)
175 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
176 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
177 (auto-revert-notify-handler): Handle also gfilenotify.
179 * subr.el: (file-notify-handle-event): New defun. Replacing ...
180 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
183 2013-06-03 Juri Linkov <juri@jurta.org>
185 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
186 `M-s h .'. (Bug#14427)
188 * hi-lock.el (highlight-symbol-at-point): New alias for the new
189 command `hi-lock-face-symbol-at-point'.
190 (hi-lock-face-symbol-at-point): New command.
191 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
192 (hi-lock-menu): Add `highlight-symbol-at-point'.
193 (hi-lock-mode): Doc fix.
195 * isearch.el (isearch-forward-symbol-at-point): New command.
196 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
197 (isearch-highlight-regexp): Add a regexp which matches
198 words/symbols for word/symbol mode.
200 * subr.el (find-tag-default-bounds): New function with the body
201 mostly moved from `find-tag-default'.
202 (find-tag-default): Move most code to `find-tag-default-bounds',
203 call it and apply `buffer-substring-no-properties' afterwards.
205 2013-06-03 Tassilo Horn <tsdh@gnu.org>
207 * eshell/em-term.el (eshell-term-initialize):
208 Use `cl-intersection' rather than `intersection'.
210 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
212 * vc/log-view.el: Doc fix.
213 (log-view-mode-map): Copy keymap from `special-mode-map'.
215 2013-06-02 Eric Ludlam <zappo@gnu.org>
217 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
218 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
219 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
220 (eieio-unbound, eieio-default-superclass)
221 (eieio--define-field-accessors, method-static, method-before)
222 (method-primary, method-after, method-num-lists)
223 (method-generic-before, method-generic-primary)
224 (method-generic-after, method-num-slots)
225 (eieio-specialized-key-to-generic-key)
226 (eieio--check-type, class-v, class-p)
227 (eieio-class-name, define-obsolete-function-alias)
228 (eieio-class-parents-fast, eieio-class-children-fast)
229 (same-class-fast-p, class-constructor, generic-p)
230 (generic-primary-only-p, generic-primary-only-one-p)
231 (class-option-assoc, class-option, eieio-object-p)
232 (class-abstract-p, class-method-invocation-order)
233 (eieio-defclass-autoload-map, eieio-defclass-autoload)
234 (eieio-class-un-autoload, eieio-defclass)
235 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
236 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
237 (eieio--defgeneric-init-form, eieio-defgeneric-form)
238 (eieio-defgeneric-reset-generic-form)
239 (eieio-defgeneric-form-primary-only)
240 (eieio-defgeneric-reset-generic-form-primary-only)
241 (eieio-defgeneric-form-primary-only-one)
242 (eieio-defgeneric-reset-generic-form-primary-only-one)
243 (eieio-unbind-method-implementations)
244 (eieio--defmethod, eieio--typep)
245 (eieio-perform-slot-validation, eieio-validate-slot-value)
246 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
247 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
248 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
249 (eieio-slot-name-index, eieio-class-slot-name-index)
250 (eieio-set-defaults, eieio-initarg-to-attribute)
251 (eieio-attribute-to-initarg, eieio-c3-candidate)
252 (eieio-c3-merge-lists, eieio-class-precedence-c3)
253 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
254 (eieio-class-precedence-list, eieio-generic-call-methodname)
255 (eieio-generic-call-arglst, eieio-generic-call-key)
256 (eieio-generic-call-next-method-list)
257 (eieio-pre-method-execution-functions, eieio-generic-call)
258 (eieio-generic-call-primary-only, eieiomt-method-list)
259 (eieiomt-optimizing-obarray, eieiomt-install)
260 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
261 (eieio-generic-form, eieio-defmethod, make-obsolete)
262 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
263 (defclass): Remove `eval-and-compile' from macro.
264 (call-next-method, shared-initialize): Instead of using
265 `scoped-class' variable, use new eieio--scoped-class, and
266 eieio--with-scoped-class.
267 (initialize-instance): Rename local variable 'scoped-class' to
268 'this-class' to remove ambiguitity from old global.
270 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
272 (eieio--scoped-class-stack): New variable
273 (eieio--scoped-class): New fcn
274 (eieio--with-scoped-class): New scoping macro.
275 (eieio-defclass): Use pushnew instead of add-to-list.
276 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
277 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
278 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
279 `scoped-class' variable, use new eieio--scoped-class, and
280 eieio--with-scoped-class.
282 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
284 2013-06-02 Tassilo Horn <tsdh@gnu.org>
286 * eshell/esh-ext.el (eshell-external-command): Pass args to
287 `eshell-find-interpreter'.
288 (eshell-find-interpreter): Add new second parameter ARGS.
290 * eshell/em-script.el (eshell-script-initialize): Add second arg
291 to the function added as MATCH to `eshell-interpreter-alist'
293 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
294 the function added as MATCH to `eshell-interpreter-alist'
296 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
297 (eshell-visual-options): New defcustom.
298 (eshell-escape-control-x): Adapt docstring.
299 (eshell-term-initialize): Test `eshell-visual-subcommands' and
300 `eshell-visual-options' in addition to `eshell-visual-commands'.
301 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
303 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
305 * progmodes/python.el (python-indent-block-enders): Add break,
306 continue and raise keywords.
308 2013-06-01 Glenn Morris <rgm@gnu.org>
310 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
312 Plain (f)boundp silences compilation warnings since Emacs 22.1.
313 * progmodes/cc-cmds.el (delete-forward-p):
314 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
315 * progmodes/cc-engine.el (buffer-syntactic-context):
316 * progmodes/cc-fonts.el (face-property-instance):
317 * progmodes/cc-mode.el (set-keymap-parents):
318 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
319 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
320 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
321 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
322 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
324 * progmodes/cc-vars.el (other): Emacs has this widget since
325 at least 21.1, so don't (re)define it.
327 * eshell/em-cmpl.el (eshell-cmpl-initialize):
328 Replace the obsolete alias pcomplete-arg-quote-list.
330 2013-06-01 Leo Liu <sdl.web@gmail.com>
332 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
334 (inferior-octave-minimal-columns)
335 (inferior-octave-last-column-width): New variables.
336 (inferior-octave-track-window-width-change): New function.
337 (inferior-octave-mode): Adjust column width so that Octave output,
338 for example from 'ls', can fit into the window nicely.
340 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
342 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
343 Highlight expansions inside regexp literals.
345 2013-05-31 Glenn Morris <rgm@gnu.org>
347 * obsolete/sym-comp.el (symbol-complete):
348 Replace obsolete completion-annotate-function.
350 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
352 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
354 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
355 New function, checks if point is inside a literal that allows
356 expression expansion.
357 (ruby-syntax-propertize-expansion): Use it.
358 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
361 2013-05-30 Juri Linkov <juri@jurta.org>
363 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
365 (isearch-invisible): New variable.
366 (isearch-forward): Doc fix.
367 (isearch-mode): Set `isearch-invisible'
368 to the value of `search-invisible'.
369 (isearch-toggle-case-fold): Doc fix.
370 (isearch-toggle-invisible): New command.
371 (isearch-query-replace): Let-bind `search-invisible'
372 to the value of `isearch-invisible'.
373 (isearch-search): Use `isearch-invisible' instead of
374 `search-invisible'. Let-bind `search-invisible'
375 to the value of `isearch-invisible'. (Bug#11378)
377 2013-05-30 Juri Linkov <juri@jurta.org>
379 * replace.el (perform-replace): Avoid `isearch-range-invisible'
380 call when `query-flag' is nil and `search-invisible' is non-nil.
383 2013-05-30 Glenn Morris <rgm@gnu.org>
385 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
387 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
388 (cc-require): Suppress spurious "noruntime" warnings.
389 (cc-require-when-compile): Use fboundp, for sake of compiler.
391 * progmodes/cc-mode.el: Move load of cc-vars before that of
392 cc-langs (which in turn loads cc-vars), to quieten compiler.
394 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
396 * paren.el: Simplify the code.
397 (show-paren-mode): Always start the timer.
398 (show-paren--idle-timer): Rename from show-paren-idle-timer.
399 (show-paren--overlay, show-paren--overlay-1): Rename from
400 show-paren-overlay and show-paren-overlay-1, and initialize to an
401 overlay rather than to nil.
402 (show-paren-function): Misc cleanup and simplifications.
404 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
406 * paren.el (show-paren-data-function): New hook.
407 (show-paren--default): New function, extracted from show-paren-function.
408 (show-paren-function): Use show-paren-data-function.
410 2013-05-30 Glenn Morris <rgm@gnu.org>
412 * ielm.el (ielm-map, ielm-complete-symbol):
413 Use completion-at-point rather than obsolete functions.
414 (inferior-emacs-lisp-mode): Doc fix.
415 Set completion-at-point-functions, rather than
416 comint-dynamic-complete-functions.
418 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
419 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
420 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
422 * image.el (image-animated-p): Tweak definition.
424 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
425 (rlogin-process-connection-type): Tweak default. Add set-after.
426 (rlogin-host): Doc fix.
427 (rlogin): Tweak prompt.
428 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
430 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
431 * progmodes/tcl.el (inferior-tcl-mode-map):
432 Use completion-at-point rather than obsolete alias.
434 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
436 * minibuffer.el (read-file-name-completion-ignore-case):
437 Move before completion--in-region, for eager macro expansion.
439 2013-05-29 Juri Linkov <juri@jurta.org>
441 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
442 for total count of matching lines. Add `global-matches' for total
443 count of matches. Rename `matches' to `lines' for count of
444 matching lines. Add `matches' for count of matches.
445 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
446 to `prev-line' for line number of prev match endpt.
447 Increment `matches' for every match. Print the number of
448 matching lines in the header.
449 (occur-context-lines): Rename `lines' to `curr-line'.
450 Rename `prev-lines' to `prev-line'. (Bug#14017)
452 2013-05-29 Juri Linkov <juri@jurta.org>
454 * replace.el (perform-replace): Add `skip-read-only-count',
455 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
456 Increment them for corresponding conditions and report the number
457 of skipped occurrences in the final message. (Bug#11746)
458 (query-replace, query-replace-regexp, query-replace-regexp-eval)
459 (replace-string, replace-regexp): Doc fix.
461 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
463 * emacs-lisp/trace.el (trace--read-args): Provide a default.
465 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
466 prog-mode-map (bug#14504).
468 2013-05-29 Leo Liu <sdl.web@gmail.com>
470 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
471 (octave-help): Small simplification.
473 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
474 off the highlight first.
476 2013-05-29 Glenn Morris <rgm@gnu.org>
478 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
479 Handle idlwave-last-system-routine-info-cons-cell being nil.
481 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
482 (idlwave-write-paths): Simplify via with-temp-buffer.
484 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
485 * emulation/cua-rect.el: Also load cua-base at run time.
487 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
488 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
489 (cperl-imenu-on-info): Require imenu.
491 2013-05-28 Alan Mackenzie <acm@muc.de>
493 Handle "capitalised keywords" correctly.
494 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
496 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
498 * eshell/em-unix.el: Add -r option to cp.
500 2013-05-28 Glenn Morris <rgm@gnu.org>
502 * vc/vc-arch.el (vc-exec-after): Declare.
503 (vc-switches): Autoload.
504 * vc/vc-bzr.el: No need to require vc when compiling.
505 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
506 (vc-resynch-buffer, vc-dir-refresh): Declare.
507 (vc-setup-buffer, vc-switches): Autoload.
508 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
509 (vc-resynch-buffer): Declare.
510 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
511 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
512 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
513 (grep-read-regexp, grep-read-files, grep-expand-template)
514 (vc-dir-refresh): Declare.
515 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
516 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
517 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
518 * vc/vc-mtn.el (vc-exec-after): Declare.
519 (vc-switches): Autoload.
520 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
521 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
522 (vc-file-tree-walk): Declare.
523 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
524 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
525 (vc-tag-precondition, vc-rename-master): Autoload.
526 * vc/vc-svn.el (vc-exec-after): Declare.
527 (vc-switches, vc-setup-buffer): Autoload.
528 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
530 (vc-resynch-buffer): Declare.
532 * obsolete/fast-lock.el (byte-compile-warnings):
533 Don't warn about obsolete features in this obsolete file.
535 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
536 Move definition before use.
538 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
539 (dun-unix-verbs): Remove dun-zippy.
540 (dun-zippy): Remove function.
542 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
544 2013-05-27 Juri Linkov <juri@jurta.org>
546 * replace.el (replace-search): New function with code moved out
547 from `perform-replace'.
548 (replace-highlight, replace-dehighlight): Move function definitions
549 up closer to `replace-search'. (Bug#11746)
551 2013-05-27 Juri Linkov <juri@jurta.org>
553 * replace.el (perform-replace): Ignore invisible matches.
554 In addition to checking `query-replace-skip-read-only', also
555 filter out matches by calling `run-hook-with-args-until-failure'
556 on `isearch-filter-predicates', and also check `search-invisible'
557 for t or call `isearch-range-invisible'.
558 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
560 2013-05-27 Juri Linkov <juri@jurta.org>
562 * isearch.el (isearch-filter-predicates): Rename from
563 `isearch-filter-predicate'. Doc fix. (Bug#11378)
564 (isearch-message-prefix): Display text from the property
565 `isearch-message-prefix' of the currently active filters.
566 (isearch-search): Don't compare `isearch-filter-predicate' with
567 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
568 on `isearch-filter-predicates'. Also check `search-invisible' for t
569 or call `isearch-range-invisible'.
570 (isearch-filter-visible): Make obsolete.
571 (isearch-lazy-highlight-search):
572 Call `run-hook-with-args-until-failure' on
573 `isearch-filter-predicates' and use `isearch-range-invisible'.
575 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
576 `isearch-filter-predicates' instead of `funcall'ing
577 `isearch-filter-predicate'.
578 (Info-mode): Set `Info-isearch-filter' to
579 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
581 * dired-aux.el (dired-isearch-filter-predicate-orig):
583 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
584 (dired-isearch-filenames-end): Add and remove
585 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
586 instead of changing the value of `isearch-filter-predicate'.
587 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
588 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
589 Put property `isearch-message-prefix' to "filename " on
590 `dired-isearch-filter-filenames'.
592 * wdired.el (wdired-change-to-wdired-mode):
593 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
594 locally instead of changing `isearch-filter-predicate'.
595 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
597 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
599 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
600 return the commit hash (Bug#14459). Also set the
601 `vc-git-detached' property.
602 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
603 (vc-git-mode-line-string): Use the same help-echo format whether
604 in detached mode or not, because we know the actual revision now.
605 When in detached mode, shorten the revision to 7 chars.
607 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
609 * emacs-lisp/easy-mmode.el (define-minor-mode):
610 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
611 mode hook and provide a docstring.
613 2013-05-27 Alan Mackenzie <acm@muc.de>
615 Remove spurious syntax-table text properties inserted by C-y.
616 * progmodes/cc-mode.el (c-after-change): Also clear hard
617 syntax-table property with value nil.
619 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
621 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
622 when reading the events; the buffer layout shall not be changed.
624 2013-05-27 Leo Liu <sdl.web@gmail.com>
626 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
628 (inferior-octave-directory-tracker): Automatically re-sync
630 (octave-help): Improve handling of 'See also'.
632 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
634 * doc-view.el: Minor naming convention tweaks.
635 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
637 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
638 even if there's no `display' property yet (bug#14435).
640 2013-05-25 Eli Zaretskii <eliz@gnu.org>
642 * subr.el (unmsys--file-name): Rename from reveal-filename.
644 * Makefile.in (custom-deps, finder-data, autoloads)
645 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
646 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
647 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
649 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
651 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
652 error-completion on the first 2 args of condition-case (bug#14446).
655 2013-05-25 Leo Liu <sdl.web@gmail.com>
657 * comint.el (comint-previous-matching-input): Do not flood the
658 *Messages* buffer with trivial messages.
660 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
662 * progmodes/flymake.el (flymake-nop): Don't return a string.
663 (flymake-set-at): Fix typo.
665 * simple.el (read--expression): New function, extracted from
666 eval-expression. Set completion-at-point-functions (bug#14465).
667 (eval-expression, eval-minibuffer): Use it.
669 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
671 * progmodes/flymake.el (flymake-save-buffer-in-file)
672 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
673 (flymake-selected-frame, flymake-log, flymake-ins-after)
674 (flymake-set-at, flymake-get-buildfile-from-cache)
675 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
676 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
677 Refine the doc string.
678 (flymake-get-file-name-mode-and-masks): Reformat.
679 (flymake-get-real-file-name-function): Fix a minor bug.
681 2013-05-24 Juri Linkov <juri@jurta.org>
683 * progmodes/grep.el (grep-mode-font-lock-keywords):
684 Support =linenumber= format used by git-grep for lines with
685 function names. (Bug#13549)
687 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
689 * progmodes/octave.el (octave-smie-rules): Return nil rather than
690 0 after a semi-colon; it works better for smie-auto-fill.
691 (octave--indent-new-comment-line): New function.
692 (octave-indent-new-comment-line): Use it (indirectly).
693 (octave-mode): Don't disable smie-auto-fill. Use add-function to
694 modify comment-line-break-function.
696 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
697 (smie-setup): Use add-function to set it.
699 2013-05-24 Sam Steingold <sds@gnu.org>
701 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
702 argument (before the `interactive' argument).
704 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
706 * image-mode.el (image-mode-winprops): Add winprops to
707 image-mode-winprops-alist before running
708 image-mode-new-window-functions.
709 * doc-view.el (doc-view-new-window-function): Don't delay
710 doc-view-goto-page via timers (bug#14435).
712 2013-05-24 Tassilo Horn <tsdh@gnu.org>
714 * doc-view.el: Integrate with desktop.el. (Bug#14435)
715 (doc-view-desktop-save-buffer): New function.
716 (doc-view-restore-desktop-buffer): New function.
717 (desktop-buffer-mode-handlers):
718 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
720 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
721 `desktop-save-buffer' function.
723 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
725 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
726 (tramp-gvfs-file-name-handler): Raise a user error when
727 `tramp-gvfs-enabled' is nil.
728 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
729 Do not raise a user error when loading package. (Bug#14447)
731 * net/xesam.el: Move to obsolete/.
733 2013-05-24 Glenn Morris <rgm@gnu.org>
735 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
737 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
739 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
740 (Info-find-node, Man-getpage-in-background): Declare.
742 * mail/unrmail.el (unrmail):
743 Replace obsolete detect-coding-with-priority.
745 * net/socks.el (socks-split-string): Use this rather than split-string.
746 (socks-nslookup-host): Update for above change.
747 (dynamic-choice, s5-dynamic-choice-match)
748 (s5-dynamic-choice-match-inline, s5-widget-value-create):
749 Comment out unused code.
751 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
752 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
753 (gud-tooltip-echo-area): Make obsolete.
754 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
756 * progmodes/js.el (js--optimize-arglist): Declare.
758 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
760 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
761 (ediff-window-C): Declare.
763 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
764 Tweak requires to silence compiler.
766 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
767 (he-search-string, he-tried-table, he-expand-list)
768 (he-init-string, he-string-member, he-substitute-string)
769 (he-reset-string): Declare.
771 * obsolete/options.el (list-options): Use custom-variable-p,
772 rather than obsolete alias.
774 2013-05-23 Sam Steingold <sds@gnu.org>
776 * simple.el (shell-command-on-region): Pass the `replace' argument
777 down to `call-process-region' to comply with the doc as reported on
778 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
780 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
782 * emacs-lisp/smie.el (smie-indent-forward-token)
783 (smie-indent-backward-token): Handle string tokens (bug#14381).
785 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
787 * ielm.el (ielm-menu): New menu.
788 (inferior-emacs-lisp-mode): Set comment-start.
790 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
792 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
793 Fix deactivate action.
795 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
798 * lisp/textmodes/reftex-parse.el
799 (reftex-locate-bibliography-files): Accept options for
800 bibliography commands.
801 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
802 Add addbibresource. Basic Biblatex support.
804 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
806 * net/tramp-gvfs.el (top):
807 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
808 when loading package. (Bug#14447)
810 2013-05-23 Glenn Morris <rgm@gnu.org>
812 * progmodes/js.el: No need to load comint when compiling.
813 (ring-insert, comint-send-string, comint-send-input)
814 (comint-last-input-end, ido-chop): Declare.
816 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
817 * vc/ediff-mult.el: Adjust requires.
818 (ediff-directories-internal, ediff-directory-revisions-internal)
819 (ediff-patch-file-internal): Declare.
820 * vc/ediff-ptch.el: Adjust requires.
821 (ediff-use-last-dir, ediff-buffers-internal): Declare.
822 (ediff-find-file): Autoload.
823 * vc/ediff-util.el: No need to load ediff when compiling.
824 (ediff-regions-internal): Declare.
825 * vc/ediff-wind.el: Adjust requires.
826 (ediff-compute-toolbar-width): Define when compiling.
827 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
828 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
829 (dired-get-filename, dired-get-marked-files)
830 (ediff-last-dir-patch, ediff-patch-default-directory)
831 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
832 (ediff-patch-buffer-internal): Declare.
834 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
835 (ispell-process, ispell-buffer-local-words, lm-summary)
836 (lm-section-start, lm-section-end): Declare.
837 (checkdoc-ispell-init): Simplify.
839 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
840 (he-string-member, he-reset-string, he-substitute-string): Declare.
842 * eshell/em-ls.el: Adjust requires.
843 (eshell-glob-regexp): Declare.
844 * eshell/em-tramp.el: Adjust requires.
845 (eshell-parse-command): Autoload.
846 * eshell/em-xtra.el: Adjust requires.
847 (eshell-parse-command): Autoload.
848 * eshell/esh-ext.el: Adjust requires.
849 (eshell-parse-command, eshell-close-handles): Autoload.
850 * eshell/esh-io.el: Adjust requires.
851 (eshell-output-filter): Autoload.
852 * eshell/esh-util.el: No need to load tramp when compiling.
853 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
855 (eshell-parse-ange-ls): Require ange-ftp and tramp.
856 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
857 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
858 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
859 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
860 * eshell/esh-opt.el, eshell/esh-proc.el:
861 * eshell/esh-var.el: Adjust requires.
862 * eshell/eshell.el: Do not require esh-util twice.
863 (eshell-add-input-to-history): Declare.
864 (eshell-command): Check history module is active before using it.
866 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
868 2013-05-22 Leo Liu <sdl.web@gmail.com>
870 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
872 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
874 * autorevert.el (auto-revert-notify-add-watch)
875 (auto-revert-notify-handler): Add `attrib' for the inotify case,
876 it indicates changes in file modification time.
878 2013-05-22 Glenn Morris <rgm@gnu.org>
880 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
881 Always delete the autoloaded function from the noruntime and
882 unresolved functions lists.
884 * allout.el: No need to load epa, epg, overlay when compiling.
885 (epg-context-set-passphrase-callback, epg-list-keys)
886 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
887 (epg-key-user-id-list): Declare.
889 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
890 (viper-set-parsing-style-toggling-macro)
891 (viper-set-emacs-state-searchstyle-macros):
892 Use called-interactively-p on Emacs.
893 (viper-looking-back): Make it an obsolete alias. Update callers.
894 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
895 Use looking-back rather than viper-looking-back.
896 (viper-tmp-insert-at-eob, viper-enlarge-region)
897 (viper-read-string-with-history, viper-register-to-point)
898 (viper-append-to-register, viper-change-state-to-vi)
899 (viper-backward-char-carefully, viper-forward-char-carefully)
900 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
901 (viper-change-state-to-emacs): Declare.
902 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
903 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
904 * emulation/viper-mous.el: Do not load viper-cmd.
905 (viper-backward-char-carefully, viper-forward-char-carefully)
906 (viper-forward-word, viper-adjust-window): Declare.
908 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
910 * progmodes/idlw-help.el (idlwave-help-fontify):
911 Use called-interactively-p.
913 * term/w32console.el (w32-get-console-codepage)
914 (w32-get-console-output-codepage): Declare.
916 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
917 Remove unnecessary declarations.
918 (dframe-message): Doc fix.
920 * info.el (dframe-select-attached-frame, dframe-current-frame):
923 * speedbar.el (speedbar-message): Make it an obsolete alias.
925 (speedbar-with-attached-buffer)
926 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
927 (speedbar-with-writable): Use backquote.
928 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
929 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
930 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
931 rather than speedbar- aliases.
932 * mail/rmail.el: Load dframe rather than speedbar when compiling.
933 (speedbar-make-specialized-keymap, speedbar-insert-button)
934 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
935 (speedbar-do-function-pointer): Declare.
936 (rmail-speedbar-button, rmail-speedbar-find-file)
937 (rmail-speedbar-move-message):
938 Use dframe-with-attached-buffer rather than speedbar- alias.
939 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
940 (dframe-message, speedbar-make-specialized-keymap)
941 (speedbar-add-expansion-list, speedbar-mode-functions-list)
942 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
943 (speedbar-insert-button, dframe-select-attached-frame)
944 (dframe-maybee-jump-to-attached-frame)
945 (speedbar-change-initial-expansion-list)
946 (speedbar-previously-used-expansion-list-name): Declare.
947 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
948 Use dframe-message, dframe-with-attached-buffer rather than
950 (gud-sentinel): Silence compiler.
951 * progmodes/vhdl-mode.el (speedbar-refresh)
952 (speedbar-do-function-pointer, speedbar-add-supported-extension)
953 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
954 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
955 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
956 (speedbar-file-lists, speedbar-make-tag-line)
957 (speedbar-line-directory, speedbar-goto-this-file)
958 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
959 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
960 (speedbar-make-button, speedbar-reset-scanners)
961 (speedbar-files-item-info, speedbar-line-text)
962 (speedbar-find-file-in-frame, speedbar-set-timer)
963 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
964 (speedbar-with-writable): Do not (re)define it.
965 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
966 rather than speedbar- alias.
968 2013-05-21 Leo Liu <sdl.web@gmail.com>
970 * progmodes/octave.el (octave-mode-menu): Update and re-organize
972 (octave-mode): Tweak fill-nobreak-predicate.
973 (inferior-octave-startup): Check process to avoid infinite loop.
974 (inferior-octave): Pop to buffer first to show abornmal process
977 2013-05-21 Glenn Morris <rgm@gnu.org>
979 * printing.el (pr-menu-bar): Define when compiling.
981 2013-05-21 Leo Liu <sdl.web@gmail.com>
983 * progmodes/octave.el (octave-auto-fill): Remove.
984 (octave-indent-new-comment-line): Improve.
985 (octave-mode): Use auto fill mode through
986 comment-line-break-function and fill-nobreak-predicate
987 (octave-goto-function-definition): Support DEFUN_DLD.
988 (octave-beginning-of-defun): Small Tweak
989 (octave-help): Show parent directory.
991 2013-05-21 Glenn Morris <rgm@gnu.org>
993 * files.el (dired-unmark):
994 * progmodes/gud.el (gdb-input): Update declarations.
996 * calculator.el (electric, ehelp): No need to load when compiling.
997 (Electric-command-loop, electric-describe-mode): Declare.
999 * doc-view.el (doc-view-current-converter-processes): Move before use.
1001 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1002 Move MODE-set-explicitly definition before use.
1004 * international/mule-diag.el (mule-diag):
1005 Don't use obsolete window-system-version.
1007 * mail/feedmail.el (smtpmail): No need to load when compiling.
1008 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1010 * mail/mail-utils.el (rfc822): No need to load when compiling.
1011 (rfc822-addresses): Autoload it.
1012 (mail-strip-quoted-names): Trivial simplification.
1014 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1015 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1017 * net/snmp-mode.el (tempo): Don't duplicate requires.
1019 * progmodes/prolog.el (info): No need to load when compiling.
1020 (comint): Require before shell requires it.
1021 (Info-goto-node): Autoload it.
1022 (Info-follow-nearest-node): Declare.
1023 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1025 * textmodes/artist.el (picture-mode-exit): Declare.
1027 * textmodes/reftex-parse.el (reftex-parse-from-file):
1028 Trivial rewrite so the compiler can parse it better.
1030 2013-05-20 Leo Liu <sdl.web@gmail.com>
1032 * progmodes/octave.el (octave-help-mode-map)
1033 (octave-help-mode-finish-hook): New variables.
1034 (octave-help-mode, octave-help-mode-finish): New functions.
1035 (octave-help): Use octave-help-mode.
1037 2013-05-20 Glenn Morris <rgm@gnu.org>
1039 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1041 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1043 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1044 start at point, so that expansion starting right after opening
1045 slash in a regexp is recognized.
1046 (ruby-syntax-before-regexp-re): New defvar, extracted from
1047 ruby-syntax-propertize-function. Since the value of this regexp
1048 is looked up at runtime now, we should be able to turn
1049 `ruby-syntax-methods-before-regexp' into a defcustom later.
1050 (ruby-syntax-propertize-function): Split regexp matching into two
1051 parts, for opening and closing slashes. That allows us to skip
1052 over string interpolations and support multiline regexps.
1053 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1054 for them, which calls `ruby-syntax-propertize-expansion'.
1055 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1056 call to `ruby-syntax-propertize-function'.
1057 (ruby-syntax-propertize-expansion): Extracted from
1058 `ruby-syntax-propertize-expansions'. Handles one expansion.
1059 (ruby-syntax-propertize-percent-literal): Leave point right after
1060 the percent symbol, so that the expression expansion rule can
1061 propertize the contents.
1062 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1064 (ruby-syntax-propertize-expansions): Remove.
1066 2013-05-18 Juri Linkov <juri@jurta.org>
1068 * man.el (Man-default-man-entry): Remove `-' from the end
1069 of the default value. (Bug#14400)
1071 2013-05-18 Glenn Morris <rgm@gnu.org>
1073 * comint.el (comint-password-prompt-regexp):
1074 Allow "password for XXX" where XXX contains colons (eg https://...).
1076 2013-05-18 Leo Liu <sdl.web@gmail.com>
1078 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1079 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1080 (octave-source-directories): Don't check process.
1081 (octave-source-directories, octave-find-definition): Doc fix.
1083 2013-05-18 Glenn Morris <rgm@gnu.org>
1085 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1086 Remove backspace/delete bindings. (Bug#14392)
1088 * cus-dep.el (custom-make-dependencies): Sort the output.
1089 (custom-versions-load-alist): Convert comment to doc.
1091 2013-05-17 Leo Liu <sdl.web@gmail.com>
1093 * newcomment.el (comment-search-backward): Stricter in finding
1094 comment start. (Bug#14303)
1096 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1097 (octave-comment-start-skip): Properly anchored.
1099 2013-05-17 Leo Liu <sdl.web@gmail.com>
1101 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1102 Clean up when turned off. (Bug#14395)
1103 (smie--highlight-matching-block-overlay): No longer buffer-local.
1104 (smie-highlight-matching-block): Adjust.
1106 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1108 Doc string fix for "nanoseconds" (Bug#14406).
1109 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1110 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1112 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1114 * calc/calc-units.el (math-extract-units): Preserve powers
1117 2013-05-17 Leo Liu <sdl.web@gmail.com>
1119 * subr.el (delete-consecutive-dups): New function.
1120 * ido.el (ido-set-matches-1): Use it.
1121 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1122 * ido.el (ido-remove-consecutive-dups): Remove.
1124 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1127 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1128 regexp-opt's `words'.
1130 2013-05-16 Leo Liu <sdl.web@gmail.com>
1132 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1133 (smie--highlight-matching-block-overlay)
1134 (smie--highlight-matching-block-lastpos)
1135 (smie--highlight-matching-block-timer): New variables.
1136 (smie-highlight-matching-block): New function.
1137 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1138 (smie-setup): Conditionally enable smie-blink-matching-open.
1140 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1142 Sync with upstream verilog-mode r840.
1143 * progmodes/verilog-mode.el (verilog-mode-version)
1144 (verilog-mode-release-date): Update.
1145 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1146 (verilog-sig-tieoff): Fix string error on
1147 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1148 (verilog-read-decls): Fix parameters confusing
1149 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1151 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1153 * subr.el (reveal-filename): New function.
1155 * loadup.el: Compute Emacs executable versions on MS-Windows,
1156 where executables have the .exe extension. Add a hard link
1157 emacs-XX.YY.ZZ.exe on MS-Windows.
1159 * Makefile.in (XARGS_LIMIT): New variable.
1160 (custom-deps, finder-data, autoloads)
1161 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1162 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1163 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1164 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1166 2013-05-16 Leo Liu <sdl.web@gmail.com>
1168 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1169 (octave-mode-menu, octave-mode-map): Remove its uses.
1171 2013-05-16 Reto Zimmermann <reto@gnu.org>
1173 Sync with upstream vhdl mode v3.34.2.
1174 * progmodes/vhdl-mode.el: Use `push' throughout.
1175 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1176 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1177 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1178 (vhdl-actual-generic-name): New option to derive actual generic name.
1179 (vhdl-port-paste-signals): Replace formal by actual generics.
1180 (vhdl-beautify): New name for old group vhdl-align. Update users.
1181 (vhdl-beautify-options): New option.
1182 (vhdl-last-input-event): New compat alias. Use throughout.
1183 (vhdl-goto-line): Replace user level function `goto-line'.
1184 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1185 vhdl-fix-statement-buffer.
1186 (vhdl-create-mode-menu): Add some entries.
1187 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1188 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1189 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1190 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1191 to force statements on one line.
1192 (vhdl-remove-trailing-spaces-region):
1193 New, split from vhdl-remove-trailing-spaces.
1194 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1195 Respect vhdl-beautify-options.
1196 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1197 (vhdl-update-sensitivity-list): Not add with index if exists without.
1198 Not include array index with signal. Ignore keywords in comments.
1199 (vhdl-get-visible-signals): Regexp tweaks.
1200 (vhdl-template-component-inst): Handle empty library.
1201 (vhdl-template-type): Add template for 'enum' type.
1202 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1203 Use vhdl-replace-string.
1204 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1205 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1206 (vhdl-speedbar-initialize): Update for above name change.
1207 (vhdl-compose-wire-components): Fix in handling of constants.
1208 (vhdl-error-regexp-emacs-alist): New variable.
1209 (vhdl-error-regexp-add-emacs): New function;
1210 adds support for new compile.el (Emacs 22+)
1211 (vhdl-generate-makefile-1): Change target order for single lib. units.
1212 Allow use of absolute file names.
1214 2013-05-16 Leo Liu <sdl.web@gmail.com>
1216 * simple.el (prog-indent-sexp): Indent enclosing defun.
1218 2013-05-15 Glenn Morris <rgm@gnu.org>
1220 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1221 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1222 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1223 (whitespace-highlight): Move to whitespace group.
1225 * comint.el (comint-source):
1226 * pcmpl-linux.el (pcmpl-linux):
1227 * shell.el (shell-faces):
1228 * eshell/esh-opt.el (eshell-opt):
1229 * international/ccl.el (ccl): Remove empty custom groups.
1231 * completion.el (dynamic-completion-mode):
1232 * jit-lock.el (jit-lock-debug-mode):
1233 * minibuffer.el (completion-in-region-mode):
1234 * type-break.el (type-break-mode-line-message-mode)
1235 (type-break-query-mode):
1236 * emulation/tpu-edt.el (tpu-edt-mode):
1237 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1238 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1239 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1241 * term/xterm.el (xterm): Change parent group to terminals.
1243 * master.el (master): Remove empty custom group.
1244 (master-mode): Remove unused :group argument.
1245 * textmodes/refill.el (refill): Remove empty custom group.
1246 (refill-mode): Remove unused :group argument.
1248 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1250 * cus-dep.el: Provide a feature.
1251 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1252 Don't mistakenly ignore files whose basenames match a basename
1253 from preloaded-file-list (eg cedet/ede/simple.el).
1254 Add a fallback method for getting :group.
1256 2013-05-15 Juri Linkov <juri@jurta.org>
1258 * isearch.el (isearch-char-by-name): Rename from
1259 `isearch-insert-char-by-name'. Doc fix.
1260 (isearch-forward): Mention `isearch-char-by-name' in
1261 the docstring. (Bug#13348)
1263 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1264 `exit-minibuffer' instead of
1265 `isearch-nonincremental-exit-minibuffer'.
1266 (isearch-edit-string): Remove mention of
1267 `isearch-nonincremental-exit-minibuffer' from docstring.
1268 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1269 (isearch-forward-exit-minibuffer)
1270 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1272 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1274 * loadup.el: Just use unversioned DOC.
1276 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1277 literals as extending to EOB.
1278 (nxml-last-fontify-end): Remove unused variable.
1279 (nxml-after-change1): Use with-silent-modifications.
1280 (nxml-extend-after-change-region): Simplify.
1281 (nxml-extend-after-change-region1): Remove function.
1282 (nxml-after-change1): Don't adjust for dependent regions.
1283 (nxml-fontify-matcher): Simplify.
1284 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1285 (xmltok-add-dependent): Remove function.
1286 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1287 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1288 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1289 unclosed <[[, <?, comment, and other literals as extending to EOB.
1290 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1291 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1293 (rng-do-some-validation-1): Don't mark dependent regions.
1294 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1295 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1296 (nxml-clear-dependent-regions): Remove functions.
1297 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1298 (nxml-ensure-scan-up-to-date):
1299 Don't clear&mark dependent regions.
1301 2013-05-15 Leo Liu <sdl.web@gmail.com>
1303 * progmodes/octave.el (octave-goto-function-definition):
1304 Improve and fix callers.
1306 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1308 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1309 the setter (bug#14387).
1311 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1312 surrounding group (bug#14402).
1314 2013-05-14 Juri Linkov <juri@jurta.org>
1316 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1319 2013-05-14 Glenn Morris <rgm@gnu.org>
1321 * progmodes/f90.el (f90-imenu-generic-expression):
1322 Fix typo in 2013-05-08 change. (Bug#14402)
1324 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1326 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1327 Remove signals for which replies are never received.
1329 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1331 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1332 (gdb-handler-alist, gdb-handler-number): Remove variables.
1333 (gdb-handler-list): New variable.
1334 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1335 (gdb-pending-handler-p, gdb-handle-reply)
1336 (gdb-remove-all-pending-triggers): New functions.
1337 (gdb-discard-unordered-replies): New defcustom.
1338 (gdb-handler): New defstruct.
1339 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1340 instead of gdb-pending-triggers. Update docstring.
1341 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1342 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1343 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1344 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1345 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1346 (gdb-frame-handler): Pending triggers are now automatically managed.
1347 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1349 (gdb-input): Automatically handles pending triggers. Update docstring.
1350 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1351 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1353 (gdb-done-or-error): Now use gdb-handle-reply.
1355 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1357 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1360 2013-05-14 Glenn Morris <rgm@gnu.org>
1362 * subr.el (user-emacs-directory-warning): New option.
1363 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1365 2013-05-14 Leo Liu <sdl.web@gmail.com>
1367 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1369 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1370 (octave-font-lock-texinfo-comment): Fix invalid search bound
1371 error: wrong side of point.
1373 2013-05-14 Glenn Morris <rgm@gnu.org>
1375 * progmodes/flymake.el (flymake-xml-program): New option.
1376 (flymake-xml-init): Use it.
1378 * term/xterm.el: Provide a feature.
1380 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1382 2013-05-13 Glenn Morris <rgm@gnu.org>
1384 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1385 Add compat aliases as a hack workaround. (Bug#14384)
1387 2013-05-13 Leo Liu <sdl.web@gmail.com>
1389 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1391 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1393 (octave-comment-start-skip): Include %!.
1394 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1396 2013-05-12 Leo Liu <sdl.web@gmail.com>
1398 * progmodes/octave.el (inferior-octave-startup): Store the value
1399 of __octave_srcdir__ for octave-source-directories.
1400 (inferior-octave-check-process): New function refactored out of
1401 inferior-octave-send-list-and-digest.
1402 (octave-source-directories)
1403 (octave-find-definition-filename-function): New variables.
1404 (octave-source-directories)
1405 (octave-find-definition-default-filename): New functions.
1406 (octave-find-definition): Improve to find functions implemented in C++.
1408 2013-05-12 Glenn Morris <rgm@gnu.org>
1410 * calendar/diary-lib.el (diary-outlook-format-1):
1411 Don't include dayname in the output. (Bug#14349)
1413 2013-05-11 Glenn Morris <rgm@gnu.org>
1415 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1417 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1418 Treat cc-provide like provide.
1420 2013-05-11 Kevin Ryde <user42@zip.com.au>
1422 * cus-dep.el (custom-make-dependencies):
1423 Use generated-autoload-load-name for the sake of files such
1424 such cedet/semantic/bovine/c.el, where the base file name
1425 is not in load-path. (Bug#5277)
1427 2013-05-11 Glenn Morris <rgm@gnu.org>
1429 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1432 2013-05-11 Leo Liu <sdl.web@gmail.com>
1434 * progmodes/octave.el (octave-indent-comment): Improve.
1435 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1436 (octave-eldoc-function-signatures, octave-eldoc-function):
1438 (octave-mode, inferior-octave-mode): Add eldoc support.
1440 2013-05-11 Richard Stallman <rms@gnu.org>
1442 * epa.el (epa-decrypt-file): Take output file name as argument
1443 and read it using `interactive'.
1445 2013-05-11 Leo Liu <sdl.web@gmail.com>
1447 * progmodes/octave.el (octave-beginning-of-line)
1448 (octave-end-of-line): Check before using up-list because it jumps
1449 out of more syntactic contructs since moving to smie.
1450 (octave-indent-comment): New function.
1451 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1452 (octave-begin-keywords, octave-end-keywords)
1453 (octave-reserved-words, octave-smie-bnf-table)
1454 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1456 2013-05-11 Glenn Morris <rgm@gnu.org>
1458 * faces.el (internal-face-x-get-resource):
1459 * frame.el (ns-display-monitor-attributes-list):
1460 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1462 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1464 * calc/calc-menu.el: Make it loadable in isolation.
1466 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1467 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1468 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1469 (eudc-bbdb-query-internal): Require 'bbdb.
1471 * lpr.el (lpr-headers-switches):
1472 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1474 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1476 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1478 * term.el (term-set-escape-char): Make it idempotent.
1480 2013-05-10 Leo Liu <sdl.web@gmail.com>
1482 * progmodes/octave.el (inferior-octave-completion-table):
1483 No longer a function and all uses changed. Use cache to speed up
1484 completion due to bug#11906.
1485 (octave-beginning-of-defun): Re-write to be more general.
1487 2013-05-10 Glenn Morris <rgm@gnu.org>
1489 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1491 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * comint.el (comint-redirect-send-command-to-process): Use :around
1494 rather than :override for comint-redirect-filter.
1495 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1496 Call it instead of comint-redirect-original-filter-function (which
1497 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1499 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1501 * frame.el (display-monitor-attributes-list): Add NS case.
1502 (ns-display-monitor-attributes-list): Declare.
1504 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1506 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1508 2013-05-09 Glenn Morris <rgm@gnu.org>
1510 * international/fontset.el (vertical-centering-font-regexp):
1513 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1515 * bookmark.el (bookmark-search-delay):
1516 * cus-start.el (vertical-centering-font-regexp):
1517 * ps-mule.el (ps-mule-font-info-database-default):
1518 * ps-print.el (ps-default-fg, ps-default-bg):
1519 * type-break.el (type-break-good-break-interval):
1520 * whitespace.el (whitespace-indentation-regexp)
1521 (whitespace-space-after-tab-regexp):
1522 * emacs-lisp/testcover.el (testcover-1value-functions)
1523 (testcover-noreturn-functions, testcover-progn-functions)
1524 (testcover-prog1-functions):
1525 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1526 * eshell/em-glob.el (eshell-glob-translate-alist):
1527 * play/tetris.el (tetris-tty-colors):
1528 * progmodes/cpp.el (cpp-face-default-list):
1529 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1530 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1531 (idlwave-help-browser-generic-args):
1532 * progmodes/make-mode.el (makefile-special-targets-list):
1533 * progmodes/python.el (python-shell-virtualenv-path):
1534 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1535 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1536 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1537 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1538 * textmodes/reftex-vars.el (reftex-format-label-function):
1539 * textmodes/remember.el (remember-diary-file): Fix custom types.
1541 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1544 2013-05-09 Leo Liu <sdl.web@gmail.com>
1546 * progmodes/octave.el (inferior-octave-completion-at-point):
1547 Restore file completion. (Bug#14300)
1548 (inferior-octave-startup): Fix incorrect highlighting for the
1551 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1553 * progmodes/ruby-mode.el: First cut at SMIE support.
1554 (ruby-use-smie): New var.
1555 (ruby-smie-grammar): New constant.
1556 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1557 (ruby-smie--forward-token, ruby-smie--backward-token)
1558 (ruby-smie-rules): New functions.
1559 (ruby-mode-variables): Setup SMIE if applicable.
1561 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1563 * simple.el (line-move-visual): Signal beginning/end of buffer
1564 only if vertical-motion moved less than it was requested. Avoids
1565 silly incorrect error messages when there are display strings with
1566 multiple newlines at EOL.
1568 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1570 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1571 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1572 (prolog-char-quote-workaround):
1573 * progmodes/cperl-mode.el (cperl-under-as-char):
1574 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1576 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1578 (vhdl-mode-syntax-table-init): Remove.
1580 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1583 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1585 (ld-script-font-lock-keywords):
1586 Change regexps to use things like \_< and \_>.
1588 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1589 Change all regexps to use things like \_< and \_>.
1591 * progmodes/autoconf.el (autoconf-definition-regexp)
1592 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1593 Handle a _ with symbol syntax.
1594 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1596 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1597 Consolidate declaration.
1598 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1600 (ada-create-syntax-table): Remove.
1601 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1602 already has the right syntax nowadays.
1603 (ada-goto-next-word): Don't change the syntax of "_".
1605 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1608 2013-05-08 Sam Steingold <sds@gnu.org>
1610 * thingatpt.el (thing-at-point): Accept optional second argument
1611 NO-PROPERTIES to strip the text properties from the return value.
1612 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1613 to `thing-at-point' instead of stripping the properties ourselves.
1614 Also, when `thing-at-point' fails to find a url, prepend "http://"
1615 to the filename at point on the assumption that the user is
1616 pointing at something like gnu.org/gnu.
1618 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1620 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1621 * faces.el (crm-separator):
1622 Silence byte-compiler.
1624 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1625 (tool-bar-map): Remove unneeded defvars.
1627 2013-05-08 Leo Liu <sdl.web@gmail.com>
1629 Re-work a fix for bug#10994 based on Le Wang's patch.
1630 * ido.el (ido-remove-consecutive-dups): New helper.
1631 (ido-completing-read): Use it.
1632 (ido-chop): Revert fix for bug#10994.
1634 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1636 * cus-edit.el (custom-save-variables):
1637 Pretty-print long values. (Bug#14187)
1639 2013-05-08 Glenn Morris <rgm@gnu.org>
1641 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1642 (m4-mode-syntax-table): Init in the defvar.
1643 (m4-mode-abbrev-table): Let define-derived-mode define it.
1645 2013-05-08 Tom Tromey <tromey@redhat.com>
1647 * progmodes/m4-mode.el (m4-mode-syntax-table):
1648 Do not treat "_" as word constituent. (Bug#14167)
1650 2013-05-07 Glenn Morris <rgm@gnu.org>
1652 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1653 Remove explicit eshell-isearch-cancel-map.
1655 * progmodes/f90.el (f90-smart-end-names): New option.
1656 (f90-smart-end): Doc fix.
1657 (f90-end-block-optional-name): New constant.
1658 (f90-block-match): Respect f90-smart-end-names.
1660 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1662 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1663 about implicit semi-colons (bug#14218).
1665 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1667 * frame.el (display-monitor-attributes-list)
1668 (frame-monitor-attributes): New functions.
1670 2013-05-06 Leo Liu <sdl.web@gmail.com>
1672 * progmodes/octave.el (octave-syntax-propertize-function): Change
1673 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1674 (octave-font-lock-keywords): Use octave-operator-regexp.
1675 (octave-completion-at-point): Rename from
1676 octave-completion-at-point-function.
1677 (inferior-octave-directory-tracker): Robustify.
1678 (octave-text-functions): Remove and fix its uses. No such things
1681 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * emacs-lisp/trace.el (trace--display-buffer): New function.
1684 (trace-make-advice): Use it.
1686 2013-05-06 Juri Linkov <juri@jurta.org>
1688 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1689 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1691 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1692 in the help string. (Bug#12985)
1694 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1696 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1698 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1700 * progmodes/perl-mode.el: Add support for here documents.
1701 (perl-syntax-propertize-function): Match here-doc markers.
1702 (perl-syntax-propertize-special-constructs): Find their end.
1703 (perl-imenu-generic-expression): Use [:alnum:].
1705 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1706 (advice--add-function): Refresh the advice if already present
1709 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1711 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1713 2013-05-06 Glenn Morris <rgm@gnu.org>
1715 * w32-fns.el (w32-charset-info-alist): Declare.
1717 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1718 of its defcustom properties.
1719 (eshell-cmpl-initialize): No need to load pcomplete.
1721 * generic-x.el: No need to require comint when compiling.
1723 * net/eudc-export.el: Make it loadable without bbdb.
1724 (top-level): Use require rather than load-library.
1725 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1726 (eudc-batch-export-records-to-bbdb)
1727 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1730 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1733 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1734 some tweaks, instead.
1736 2013-05-05 Leo Liu <sdl.web@gmail.com>
1738 * progmodes/octave.el (octave-font-lock-keywords)
1739 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1740 (inferior-octave-send-list-and-digest): Improve error message.
1741 (octave-mode, inferior-octave-mode): Use setq-local.
1742 (octave-help): Set info-lookup-mode.
1744 2013-05-05 Richard Stallman <rms@gnu.org>
1746 * vc/compare-w.el (compare-windows-whitespace):
1747 Treat no-break space as whitespace.
1749 * mail/rmailsum.el (rmail-summary-rmail-update):
1750 Detect empty summary and don't change selected message.
1751 (rmail-summary-goto-msg): Likewise.
1753 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1754 Doc fixes, rename args.
1756 2013-05-05 Alan Mackenzie <acm@muc.de>
1758 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1760 2013-05-05 Juri Linkov <juri@jurta.org>
1762 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1763 to not add the length of the summary segment to the return value.
1766 2013-05-05 Leo Liu <sdl.web@gmail.com>
1768 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1769 (inferior-octave-output-filter): Remove.
1770 (octave-send-region, inferior-octave-startup): Fix callers.
1771 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1772 (octave-binary-file-extensions): New user variable.
1773 (octave-find-definition): Confirm if opening binary files.
1774 (octave-help-file): Use octave-find-definition to get the binary
1776 (octave-help): Adjust for octave-help-file change.
1778 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1781 Merge the two entries that handle function definitions.
1782 (pascal--syntax-propertize): New const.
1783 (pascal-mode): Use it. Use setq-local.
1785 2013-05-04 Glenn Morris <rgm@gnu.org>
1787 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1788 (diary-from-outlook): Respect diary-from-outlook-function.
1790 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1792 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1793 Move the declaration from C.
1794 (read-minibuffer, eval-minibuffer): Move from C.
1795 (completion-setup-function): Avoid minibuffer-completion-contents.
1797 2013-05-03 Leo Liu <sdl.web@gmail.com>
1799 * progmodes/octave.el (octave-font-lock-keywords): Do not
1800 dehighlight 'end' in comments or strings.
1801 (octave-completing-read, octave-goto-function-definition):
1803 (octave-help-buffer): New user variable.
1804 (octave-help-file, octave-help-function): New button types.
1805 (octave-help): New command and bind it to C-h ;.
1806 (octave-find-definition): New command and bind it to M-.
1807 (user-error): Alias to error if not defined.
1809 2013-05-02 Leo Liu <sdl.web@gmail.com>
1811 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1813 (octave-font-lock-keywords): Include [ and {.
1815 2013-05-02 Leo Liu <sdl.web@gmail.com>
1817 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1818 (inferior-octave): Remove calling comint-mode and return the buffer.
1819 (inferior-octave-startup): Cosmetic changes.
1821 2013-05-02 Leo Liu <sdl.web@gmail.com>
1823 * progmodes/octave.el (octave-syntax-propertize-function):
1824 Include the case when ' is at line beginning. (Bug#14336)
1826 2013-05-02 Glenn Morris <rgm@gnu.org>
1828 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1829 * desktop.el (vc-dir-mode): Just autoload it here.
1831 2013-05-02 Alan Mackenzie <acm@muc.de>
1833 Eliminate variable c-standard-font-lock-fontify-region-function.
1834 * progmodes/cc-mode.el
1835 (c-standard-font-lock-fontify-region-function): Remove.
1836 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1838 2013-05-01 Leo Liu <sdl.web@gmail.com>
1840 * progmodes/octave.el: Compatible with older emacs-24 releases.
1841 (inferior-octave-has-built-in-variables): Remove. Built-in
1842 variables were removed from Octave in 2007.
1843 (inferior-octave-startup): Fix uses.
1844 (comint-line-beginning-position): Remove compatibility code for
1847 2013-05-01 Juri Linkov <juri@jurta.org>
1849 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1851 2013-05-01 Juri Linkov <juri@jurta.org>
1853 * comint.el (comint-previous-matching-input): Don't print message
1854 "History item: %d" when `isearch-mode' is active.
1855 (comint-history-isearch-message): Print message "History item: %d"
1856 when `comint-input-ring-index' is not empty and this function is
1857 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1859 2013-05-01 Leo Liu <sdl.web@gmail.com>
1861 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1862 definitions. Use completion-at-point to insert keywords.
1863 (octave-abbrev-start): Remove.
1864 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1866 2013-04-30 Leo Liu <sdl.web@gmail.com>
1868 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1871 2013-04-30 Alan Mackenzie <acm@muc.de>
1873 Handle arbitrarily long C++ member initialisation lists.
1874 * progmodes/cc-engine.el (c-back-over-member-initializers):
1876 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1877 (most) member init lists.
1879 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1881 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1884 2013-04-30 Leo Liu <sdl.web@gmail.com>
1886 * progmodes/octave.el (octave-variables): Remove. No builtin
1887 variables any more. All converted to functions.
1888 (octave-font-lock-keywords, octave-completion-at-point-function):
1890 (octave-font-lock-texinfo-comment): New user variable.
1891 (octave-texinfo-font-lock-keywords): New variable for texinfo
1893 (octave-function-comment-block): New face.
1894 (octave-font-lock-texinfo-comment): New function.
1895 (octave-mode): Font lock texinfo comment block.
1897 2013-04-29 Leo Liu <sdl.web@gmail.com>
1899 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1900 indexing expression.
1901 (octave-continuation-string): Do not use \.
1902 (inferior-octave-complete-impossible): Remove.
1903 (inferior-octave-completion-table)
1904 (inferior-octave-completion-at-point): Remove its uses.
1905 (inferior-octave-startup): completion_matches was introduced to
1906 Octave in 1996 so safe to assume it.
1907 (octave-function-file-comment): Improve to follow how Octave does it.
1908 (octave-update-function-file-comment): Tweak.
1910 2013-04-29 Leo Liu <sdl.web@gmail.com>
1912 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1913 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1914 (octave-function-file-comment): Fix typo.
1915 (octave-sync-function-file-names): Use read-char-choice.
1917 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1919 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1920 to t for the less important warnings.
1922 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1924 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1926 2013-04-27 Glenn Morris <rgm@gnu.org>
1928 * vc/log-view.el (log-view-current-entry):
1929 Treat "---" separator lines as part of the following rev. (Bug#14169)
1931 2013-04-27 Juri Linkov <juri@jurta.org>
1933 * subr.el (read-number): Doc fix about using it by interactive
1934 code letter `n'. (Bug#14254)
1936 2013-04-27 Juri Linkov <juri@jurta.org>
1938 * desktop.el (desktop-auto-save-timeout): New option.
1939 (desktop-file-checksum): New variable.
1940 (desktop-save): Add optional arg `auto-save' and don't auto-save
1942 (desktop-auto-save-timer): New variable.
1943 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1944 (after-init-hook): Call `desktop-auto-save-set-timer'.
1945 Suggested by Reuben Thomas <rrt@sc3d.org> in
1946 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1948 2013-04-27 Leo Liu <sdl.web@gmail.com>
1950 * progmodes/octave.el (octave-function-file-p)
1951 (octave-skip-comment-forward, octave-function-file-comment)
1952 (octave-update-function-file-comment): New functions.
1953 (octave-mode-map): Bind C-c ; to
1954 octave-update-function-file-comment.
1955 (octave-mode-menu): Add octave-update-function-file-comment.
1956 (octave-mode, inferior-octave-mode): Fix doc-string.
1957 (octave-insert-defun): Conform to Octave's coding convention.
1960 * files.el (basic-save-buffer): Don't let errors in
1961 before-save-hook prevent saving buffer.
1963 2013-04-20 Roland Winkler <winkler@gnu.org>
1965 * faces.el (read-face-name): Use completing-read if arg multiple
1968 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1970 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1971 displayed, move point to after the totals line.
1972 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1975 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1978 Add current dir to the load-path.
1979 (package-generate-autoloads): Don't rely on
1980 autoload-ensure-default-file.
1982 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1984 * textmodes/remember.el (remember-store-in-files): Document that
1985 the file name format is passed to `format-time-string'.
1987 2013-04-26 Leo Liu <sdl.web@gmail.com>
1989 * progmodes/octave.el (octave-sync-function-file-names): New function.
1990 (octave-mode): Use it in before-save-hook.
1992 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1997 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1998 \n and comment, even if it's not an implicit ; (bug#14218).
2000 2013-04-26 Glenn Morris <rgm@gnu.org>
2002 * subr.el (read-number): Once more use `read' rather than
2003 `string-to-number', to trap non-numeric input. (Bug#14254)
2005 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2007 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2008 Use `syntax-multiline' text property consistently instead of
2009 `font-lock-multiline'. (Bug#14237)
2011 2013-04-26 Glenn Morris <rgm@gnu.org>
2013 * emacs-lisp/shadow.el (list-load-path-shadows):
2014 No longer necessary to check for duplicate simple.el, since
2015 2012-07-07 change to init_lread to not include installation lisp
2016 directories in load-path when running uninstalled. (Bug#14270)
2018 2013-04-26 Leo Liu <sdl.web@gmail.com>
2020 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2021 (octave-mode, inferior-octave-mode): Use setq-local.
2022 (octave-not-in-string-or-comment-p): Rename to
2023 octave-in-string-or-comment-p.
2024 (octave-in-comment-p, octave-in-string-p)
2025 (octave-in-string-or-comment-p): Replace defsubst with defun.
2027 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2029 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2031 2013-04-25 Bastien Guerry <bzg@gnu.org>
2033 * textmodes/remember.el (remember-data-directory)
2034 (remember-directory-file-name-format): Fix custom types.
2036 2013-04-25 Leo Liu <sdl.web@gmail.com>
2038 * progmodes/octave.el (octave-completion-at-point-function):
2039 Make use of inferior octave process.
2040 (octave-initialize-completions): Remove.
2041 (inferior-octave-completion-table): New function.
2042 (inferior-octave-completion-at-point): Use it.
2043 (octave-completion-alist): Remove.
2045 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2048 (opascal-mode-syntax-table): New var.
2049 (opascal-literal-kind, opascal-is-literal-end)
2050 (opascal-literal-token-at): Rewrite.
2051 (opascal--literal-start-re, opascal-font-lock-keywords)
2052 (opascal--syntax-propertize): New constants.
2053 (opascal-font-lock-defaults): Adjust.
2054 (opascal-mode): Use them. Set comment-<foo> variables as well.
2055 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2056 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2057 (delphi-other-face, opascal-other-face): Remove face variables.
2058 (opascal-save-state): Remove macro.
2059 (opascal-fontifying-progress-step): Remove constant.
2060 (opascal--ignore-changes): Remove var.
2061 (opascal-set-token-property, opascal-parse-next-literal)
2062 (opascal-is-stable-literal, opascal-complete-literal)
2063 (opascal-is-literal-start, opascal-face-of)
2064 (opascal-parse-region, opascal-parse-region-until-stable)
2065 (opascal-fontify-region, opascal-after-change)
2066 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2067 (opascal-debug-parse-region, opascal-debug-parse-window)
2068 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2069 (opascal-debug-fontify-buffer): Remove.
2070 (opascal-debug-mode-map): Adjust accordingly.
2072 2013-04-25 Leo Liu <sdl.web@gmail.com>
2074 Merge octave-mod.el and octave-inf.el into octave.el with some
2076 * progmodes/octave.el: New file renamed from octave-mod.el.
2077 * progmodes/octave-inf.el: Merged into octave.el.
2078 * progmodes/octave-mod.el: Renamed to octave.el.
2080 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2082 * textmodes/reftex-vars.el
2083 (reftex-label-ignored-macros-and-environments): New defcustom.
2085 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2087 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2090 (smie-indent-keyword): Improve the check to ensure that the next
2091 comment is really on the same line.
2092 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2094 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2095 semi-colons if the line is not otherwise empty (bug#14218).
2097 2013-04-25 Glenn Morris <rgm@gnu.org>
2099 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2101 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * progmodes/opascal.el (opascal-set-token-property): Rename from
2104 opascal-set-text-properties and only set `token' (bug#14134).
2105 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2106 (opascal-literal-text-properties): Remove.
2107 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2110 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2112 * textmodes/remember.el (remember-handler-functions): Add an
2113 option for a new handler `remember-store-in-files'.
2114 (remember-data-directory, remember-directory-file-name-format):
2116 (remember-store-in-files): New function to store remember notes
2117 as separate files within a directory.
2119 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2121 * progmodes/compile.el (compilation-next-error-function):
2122 Pass "formats" to compilation-find-file (bug#11777).
2124 2013-04-24 Glenn Morris <rgm@gnu.org>
2126 * vc/vc-bzr.el (vc-bzr-print-log):
2127 * vc/vc-hg.el (vc-hg-print-log):
2128 * vc/vc-svn.el (vc-svn-print-log):
2129 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2131 * vc/vc-bzr.el (vc-bzr-print-log):
2132 * vc/vc-cvs.el (vc-cvs-print-log):
2133 * vc/vc-git.el (vc-git-print-log):
2134 * vc/vc-hg.el (vc-hg-print-log):
2135 * vc/vc-mtn.el (vc-mtn-print-log):
2136 * vc/vc-rcs.el (vc-rcs-print-log):
2137 * vc/vc-sccs.el (vc-sccs-print-log):
2138 * vc/vc-svn.el (vc-svn-print-log):
2139 * vc/vc.el (vc-print-log-internal): Doc fixes.
2141 2013-04-23 Glenn Morris <rgm@gnu.org>
2143 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2144 Remove venerable code attempting to avoid substitute-command-keys.
2146 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2148 * textmodes/reftex-vars.el (reftex-label-regexps):
2149 Call `reftex-compile-variables' after changes to this variable.
2151 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2154 Use lexical-binding.
2155 (jit-lock-force-redisplay): Use markers, check buffer's continued
2156 existence and beware narrowed buffers.
2157 (jit-lock-fontify-now): Adjust call accordingly.
2159 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2162 to avoid misleading the user.
2164 2013-04-22 Leo Liu <sdl.web@gmail.com>
2166 * info-look.el: Prefer latex2e.info. (Bug#14240)
2168 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2170 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2172 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2173 * net/tramp.el (tramp-call-process): ... here
2174 (tramp-set-completion-function, tramp-parse-putty):
2175 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2176 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2177 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2178 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2179 (tramp-call-local-coding-command): Use `tramp-call-process'
2180 instead of `tramp-compat-call-process'.
2182 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2183 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2184 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2185 (tramp-find-inline-compress): Improve traces.
2186 (tramp-maybe-send-script): Check for Perl binary.
2187 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2189 2013-04-22 Daiki Ueno <ueno@gnu.org>
2191 * epg.el (epg-context-pinentry-mode): New function.
2192 (epg-context-set-pinentry-mode): New function.
2193 (epg--start): Pass --pinentry-mode option to gpg command.
2195 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2197 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2198 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2199 `completion-at-point'. (Bug#13774)
2201 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2202 default key binding for `describe-distribution' has been moved to
2203 `C-h C-o'. (Bug#13970)
2205 2013-04-21 Glenn Morris <rgm@gnu.org>
2207 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2209 (vc-print-log): Clarify interactive prompt.
2211 2013-04-20 Glenn Morris <rgm@gnu.org>
2213 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2214 No longer include timestamp etc information.
2216 2013-04-20 Roland Winkler <winkler@gnu.org>
2218 * faces.el (read-face-name): Bug fix, return just one face if arg
2219 multiple is nil. (Bug#14209)
2221 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2224 (remove-function): Autoload.
2226 * comint.el (comint-redirect-original-filter-function): Remove.
2227 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2228 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
2229 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2230 * progmodes/prolog.el (prolog-consult-compile):
2231 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2232 Use add/remove-function instead.
2233 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2234 (gud-tooltip-process-output, gud-tooltip-tips):
2235 Use add/remove-function instead.
2236 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2237 (scheme-interaction-mode, exit-scheme-interaction-mode):
2238 Use add/remove-function instead.
2240 * vc/vc-dispatcher.el: Use lexical-binding.
2241 (vc--process-sentinel): Rename from vc-process-sentinel.
2242 Change last arg to be the code to run. Don't use vc-previous-sentinel
2243 and vc-sentinel-commands any more.
2244 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2245 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2247 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2249 * progmodes/sh-script.el (sh-imenu-generic-expression):
2250 Handle function names with a single character. (Bug#14111)
2252 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2254 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2255 for subroutines defined in an eval (bug#14182).
2257 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2259 * bookmark.el (bookmark-completing-read): Improve handling of empty
2262 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2264 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2266 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2268 New faster Imenu implementation (bug#14058).
2269 * progmodes/python.el:
2270 (python-imenu-prev-index-position):
2271 (python-imenu-format-item-label-function)
2272 (python-imenu-format-parent-item-label-function)
2273 (python-imenu-format-parent-item-jump-label-function):
2275 (python-imenu-format-item-label)
2276 (python-imenu-format-parent-item-label)
2277 (python-imenu-format-parent-item-jump-label)
2278 (python-imenu--put-parent, python-imenu--build-tree)
2279 (python-imenu-create-index, python-imenu-create-flat-index)
2280 (python-util-popn): New functions.
2281 (python-mode): Set imenu-create-index-function to
2282 python-imenu-create-index.
2284 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * winner.el (winner-active-region): Use region-active-p, activate-mark
2287 and deactivate-mark (bug#14225).
2289 * simple.el (deactivate-mark): Don't inline it.
2291 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2293 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2295 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2297 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2298 file extensions from the archive-mode entry in order to prefer
2299 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2301 2013-04-18 Leo Liu <sdl.web@gmail.com>
2303 * bindings.el (help-event-list): Add ?\?.
2305 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * subr.el (with-wrapper-hook): Declare obsolete.
2308 * simple.el (filter-buffer-substring-function): New hook.
2309 (filter-buffer-substring): Use it.
2310 (filter-buffer-substring-functions): Mark obsolete.
2311 * minibuffer.el (completion-in-region-function): New hook.
2312 (completion-in-region): Use it.
2313 (completion-in-region-functions): Mark obsolete.
2314 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2315 * abbrev.el (abbrev-expand-function): New hook.
2316 (expand-abbrev): Use it.
2317 (abbrev-expand-functions): Mark obsolete.
2318 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2321 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2323 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2324 and do not care about match data.
2326 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2329 completion tables when completing error conditions and
2330 `declare' arguments.
2331 (lisp-complete-symbol, field-complete): Mark as obsolete.
2332 (check-parens): Unmatched parens are user errors.
2333 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2335 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2337 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2338 command changed buffer (ie. `flyspell-pre-buffer' is not current
2339 buffer), which prevents making decisions based on invalid value of
2340 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2341 cause an error when `flyspell-pre-point' was nil after switching
2343 (flyspell-post-command-hook): No longer needs to change buffers when
2344 checking pre-word. While at it remove unnecessary progn.
2346 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2348 * textmodes/ispell.el (ispell-add-per-file-word-list):
2349 Fix `flyspell-correct-word-before-point' error when accepting
2350 words and `coment-padding' is an integer by using
2351 `comment-normalize-vars' (Bug #14214).
2353 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2355 New defun movement commands.
2356 * progmodes/python.el (python-nav--syntactically)
2357 (python-nav--forward-defun, python-nav-backward-defun)
2358 (python-nav-forward-defun): New functions.
2360 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2362 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2363 (python-syntax-context): Use named compiler-macro for backwards
2364 compatibility with Emacs 24.x.
2366 2013-04-17 Leo Liu <sdl.web@gmail.com>
2368 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2369 octave-hide-process-buffer.
2371 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2376 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2378 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2379 Fix adjustment of offset when receiving incomplete responses from GDB
2382 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2384 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2385 python-mode-abbrev-table.
2386 (python-skeleton-define): Adjust accordingly.
2387 (python-mode-abbrev-table): New table that inherits from it so that
2388 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2390 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2391 (abbrev-symbol): Use it.
2392 (abbrev--before-point): Use it since we already handle inheritance.
2394 2013-04-16 Leo Liu <sdl.web@gmail.com>
2396 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2397 binding to info-lookup-symbol.
2399 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2401 * minibuffer.el (completion--twq-all):
2402 * term/ns-win.el (ns-initialize-window-system):
2403 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2405 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2410 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2412 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2414 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2415 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2417 (ruby-end-of-defun): Remove the unused arg, change the docstring
2418 to reflect that this function is only used as the value of
2419 `end-of-defun-function'.
2420 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2421 to reflect an earlier change that beginning/end-of-defun functions
2422 jump between methods in a class definition, as well as top-level
2425 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2427 * minibuffer.el (minibuffer-complete): Don't just scroll
2428 a *Completions* that's been iconified.
2429 (minibuffer-force-complete): Make sure repetitions do cycle when going
2430 through completion-in-region -> minibuffer-complete.
2432 2013-04-15 Alan Mackenzie <acm@muc.de>
2434 Correct the placement of c-cpp-delimiters when there're #s not at
2437 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2438 place a submatch around the #.
2439 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2440 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2443 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2445 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2446 (advice--member-p): New arg `name'.
2447 (advice--add-function, advice-member-p): Use it (bug#14202).
2449 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2451 Reformulate java imenu-generic-expression.
2452 The old expression contained ill formed regexps.
2454 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2455 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2456 (cc-imenu-java-method-arg-regexp): New defconsts.
2457 (cc-imenu-java-build-type-args-regex): New defun.
2458 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2459 handling of spaces in the regexp.
2461 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2463 * textmodes/ispell.el (ispell-command-loop): Remove
2464 flyspell highlight of a word when ispell accepts it (bug #14178).
2466 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2468 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2469 uses code from the previous `ange-ftp-run-real-handler'.
2470 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2471 only in case that function exist. This is needed for proper
2474 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2476 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2478 * textmodes/reftex.el (reftex-compile-variables): Use it.
2480 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * files.el (normal-mode): Only use default major-mode if no other mode
2485 * emacs-lisp/trace.el (trace-values): New function.
2487 * files.el: Allow : in local variables (bug#14089).
2488 (hack-local-variable-regexp): New var.
2489 (hack-local-variables-prop-line, hack-local-variables): Use it.
2491 2013-04-13 Roland Winkler <winkler@gnu.org>
2493 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2494 data before it gets modified by bibtex-beginning-of-entry.
2496 2013-04-13 Roland Winkler <winkler@gnu.org>
2498 * textmodes/bibtex.el (bibtex-url): Doc fix.
2500 2013-04-13 Roland Winkler <winkler@gnu.org>
2502 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2503 does not visit a BibTeX file, exclude it from the list of buffers
2504 returned by bibtex-initialize.
2506 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2508 * window.el (split-window): Remove interactive form, since as a
2509 command this function is a special case of split-window-below.
2512 2013-04-12 Roland Winkler <winkler@gnu.org>
2514 * faces.el (read-face-name): Do not override value of arg default.
2515 Allow single faces and strings as default values. Remove those
2516 elements from return value that are not faces.
2517 (describe-face): Simplify.
2518 (face-at-point): New optional args thing and multiple so that this
2519 function can provide the same functionality previously provided by
2521 (make-face-bold, make-face-unbold, make-face-italic)
2522 (make-face-unitalic, make-face-bold-italic, invert-face)
2523 (modify-face, read-face-and-attribute): Use face-at-point.
2525 * cus-edit.el (customize-face, customize-face-other-window)
2526 * cus-theme.el (custom-theme-add-face)
2527 * face-remap.el (buffer-face-set)
2528 * facemenu.el (facemenu-set-face): Use face-at-point.
2530 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2532 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2534 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2536 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2537 off leading { and trailing } from field values.
2539 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * emacs-lisp/timer.el (timer--check): New function.
2542 (timer--time, timer-set-function, timer-event-handler): Use it.
2543 (timer-set-idle-time): Simplify.
2544 (timer--activate): CSE.
2545 (timer-event-handler): Give more info in error message.
2546 (internal-timer-start-idle): New function, moved from C.
2548 * mpc.el (mpc-proc): Add `restart' argument.
2549 (mpc-proc-cmd): Use it.
2550 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2551 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2554 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2556 * progmodes/sh-script.el: Implement `sh-mode' own
2557 `add-log-current-defun-function' (bug#14112).
2558 (sh-current-defun-name): New function.
2559 (sh-mode): Use the function.
2561 2013-04-09 Bastien Guerry <bzg@gnu.org>
2563 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2565 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2569 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2572 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2574 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2577 2013-04-07 Leo Liu <sdl.web@gmail.com>
2579 * pcmpl-x.el: New file.
2581 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2583 Do not set x-display-name until X connection is established.
2584 This is needed to prevent from weird situation described at
2585 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2586 * frame.el (make-frame): Set x-display-name after call to
2587 window system initialization function, not before.
2588 * term/x-win.el (x-initialize-window-system): Add optional
2589 display argument and use it.
2590 * term/w32-win.el (w32-initialize-window-system):
2591 * term/ns-win.el (ns-initialize-window-system):
2592 * term/pc-win.el (msdos-initialize-window-system):
2593 Add compatible optional display argument.
2595 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2597 * files.el (normal-backup-enable-predicate): On MS-Windows and
2598 MS-DOS compare truenames of temporary-file-directory and of the
2599 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2600 don't fail comparison by compare-strings. Also, compare file
2601 names case-insensitively on MS-Windows and MS-DOS.
2603 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2606 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2608 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2610 * whitespace.el (whitespace-color-on, whitespace-color-off):
2611 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2613 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2615 * ispell.el (ispell-set-spellchecker-params):
2616 Really set `ispell-args' for all equivs.
2618 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * ido.el (ido-completions): Use extra elements of ido-decorations
2622 (ido-decorations): Update docstring.
2624 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2626 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2627 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2628 nil during initialization, in order not to miss changes since the
2629 file was opened. (Bug#14140)
2631 2013-04-05 Leo Liu <sdl.web@gmail.com>
2633 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2635 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2637 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2639 2013-04-04 Glenn Morris <rgm@gnu.org>
2641 * electric.el (electric-pair-inhibit-predicate): Add :version.
2643 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2646 when a package is required several times (bug#14082).
2648 2013-04-04 Roland Winkler <winkler@gnu.org>
2650 * faces.el (read-face-name): Behave as promised by the docstring.
2651 Assume that arg default is a list of faces.
2652 (describe-face): Call read-face-name with list of default faces.
2654 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2656 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2657 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2658 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2660 (bookmark-exit-hook-internal): Save even if list is empty.
2662 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2664 * emacs-lisp/package.el (package-pinned-packages): New var.
2665 (package--add-to-archive-contents): Obey it (bug#14118).
2668 2013-04-03 Alan Mackenzie <acm@muc.de>
2670 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2671 Also adapt to the new values of element 7 of a parse state.
2673 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2674 parameter `not-in-delimiter'. Handle being inside comment opener.
2675 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2676 character in case we're typing a '*' after a '/'.
2677 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2678 instead by passing the parameter to c-state-pp-to-literal.
2680 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2681 for elt. 7 of a parse state.
2683 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2685 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2686 * international/latin1-disp.el, international/mule-util.el:
2687 * language/cyril-util.el, language/european.el, language/ind-util.el:
2688 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2689 * language/tibetan.el, language/viet-util.el:
2690 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2692 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2694 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2695 (electric-pair-post-self-insert-function): Use it.
2696 (electric-pair-default-inhibit): New function, extracted from
2697 electric-pair-post-self-insert-function.
2699 2013-03-31 Roland Winkler <winkler@gnu.org>
2701 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2703 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2707 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2709 Un-indent after "pass" and "return" statements (Bug#13888)
2710 * progmodes/python.el (python-indent-block-enders): New var.
2711 (python-indent-calculate-indentation): Use it.
2713 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2715 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2716 defun. Defining it as defalias could introduce too eager
2717 byte-compiler optimization. (Bug#14030)
2719 2013-03-30 Chong Yidong <cyd@gnu.org>
2721 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2723 2013-03-30 Leo Liu <sdl.web@gmail.com>
2725 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2726 (kmacro-execute-from-register): Pass the keyboard macro to
2727 kmacro-call-macro or repeating won't work correctly.
2729 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2731 * progmodes/subword.el: Back to using `forward-symbol'.
2733 * subr.el (forward-whitespace, forward-symbol)
2734 (forward-same-syntax): Move from thingatpt.el.
2736 2013-03-29 Leo Liu <sdl.web@gmail.com>
2738 * kmacro.el (kmacro-to-register): New command.
2739 (kmacro-execute-from-register): New function.
2740 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2742 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * mpc.el: Use defvar-local and setq-local.
2745 (mpc--proc-connect): Connection failures are not bugs.
2746 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2747 (mpc-volume-map): Bind to the up-events.
2749 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2751 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2752 instead of `forward-symbol'.
2754 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2757 (edebug--recursive-edit): Use it.
2758 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2759 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2761 2013-03-28 Leo Liu <sdl.web@gmail.com>
2763 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2765 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2767 * facemenu.el (list-colors-callback): New defvar.
2768 (list-colors-redisplay): New function.
2769 (list-colors-display): Install list-colors-redisplay as the
2770 revert-buffer-function. (Bug#14063)
2772 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2774 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2775 and suffixes don't overlap (bug#14061).
2777 * case-table.el: Use lexical-binding.
2778 (case-table-get-table): New function.
2779 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2781 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2783 * progmodes/subword.el: Add `superword-mode' to do word motion
2784 over symbol_words (parallels and leverages `subword-mode' which
2785 does word motion inside MixedCaseWords).
2787 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2789 * eshell/em-unix.el: Move su and sudo to...
2790 * eshell/em-tramp.el: ...Eshell tramp module.
2792 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2794 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2795 Change return value to be a sexp. Delay `get-buffer' to after
2796 restoring the desktop (bug#13951).
2798 2013-03-26 Leo Liu <sdl.web@gmail.com>
2800 * register.el: Move semantic tag handling back to
2801 cedet/semantic/senator.el. (Bug#14052)
2803 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2806 into the prompt either (bug#13963).
2808 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2811 part of "(error-foo)".
2813 2013-03-24 Juri Linkov <juri@jurta.org>
2815 * replace.el (list-matching-lines-prefix-face): New defcustom.
2816 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2817 `occur-engine' if `face-differs-from-default-p' returns t.
2818 (occur-engine): Add `,' inside backquote construct to evaluate
2819 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2820 Pass `prefix-face' to the functions `occur-context-lines' and
2821 `occur-engine-add-prefix'.
2822 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2823 `prefix-face' and propertize the prefix with `prefix-face'.
2826 2013-03-24 Leo Liu <sdl.web@gmail.com>
2828 * nxml/rng-valid.el (rng-validate-while-idle)
2829 (rng-validate-quick-while-idle): Guard against deleted buffer.
2832 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2833 is the last entry in kill-buffer-hook.
2835 * files.el (kill-buffer-hook): Doc fix.
2837 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2839 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2842 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2844 2013-03-23 Leo Liu <sdl.web@gmail.com>
2846 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2849 * nxml/rng-valid.el (rng-validate-mode)
2850 (rng-after-change-function, rng-do-some-validation):
2851 * nxml/rng-maint.el (rng-validate-buffer):
2852 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2853 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2854 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2855 (nxml-extend-after-change-region): Use with-silent-modifications.
2857 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2860 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2861 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2862 timer-idle-list. (Bug#13999)
2864 2013-03-23 Juri Linkov <juri@jurta.org>
2866 * info.el (info-index-match): New face.
2867 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2868 main pattern and add text properties with the new face to matches
2869 in index entries relative to the beginning of the index entry.
2872 2013-03-21 Eric Ludlam <zappo@gnu.org>
2874 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2875 Inhibit read only while inserting objects.
2877 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2879 * progmodes/cfengine.el: Update docs to mention
2880 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2881 symbol motion. Remove "_" from the word syntax.
2883 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2885 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2886 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2888 2013-03-20 Juri Linkov <juri@jurta.org>
2890 * info.el (Info-next-reference-or-link)
2891 (Info-prev-reference-or-link): New functions.
2892 (Info-next-reference, Info-prev-reference): Use them.
2893 (Info-try-follow-nearest-node): Handle footnote navigation.
2894 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2896 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2899 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2901 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2903 Suppress unnecessary non-ASCII chatter during build process.
2904 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2905 (batch-skkdic-convert): Suppress most of the chatter.
2906 It's not needed so much now that machines are faster,
2907 and its non-ASCII component was confusing; see Dmitry Gutov in
2908 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2910 2013-03-20 Leo Liu <sdl.web@gmail.com>
2912 * ido.el (ido-chop): Fix bug#10994.
2914 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2916 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2918 (whitespace-color-on, whitespace-color-off):
2919 Use `font-lock-fontify-buffer' (Bug#13817).
2921 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2924 remapping in mode-line.
2925 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2927 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2929 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2930 value for `whitespace-line' face (Bug#13875).
2931 (whitespace-font-lock-keywords): Change description.
2932 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2933 the constructed keywords instead.
2934 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2936 2013-03-19 Leo Liu <sdl.web@gmail.com>
2938 * progmodes/compile.el (compilation-display-error): New command.
2939 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2942 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2944 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2946 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2948 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2950 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2952 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2954 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2955 * net/tramp-gvfs.el (top):
2956 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2957 (tramp-handle-shell-command): Use it.
2958 (tramp-dissect-file-name): Raise an error when hostname is a
2959 method name, and neither method nor user is specified.
2961 * net/trampver.el: Update release number.
2963 2013-03-18 Leo Liu <sdl.web@gmail.com>
2965 Make sure eldoc can be turned off properly.
2966 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2968 (eldoc-display-message-p): Revert last change.
2969 (eldoc-display-message-no-interference-p)
2970 (eldoc-print-current-symbol-info): Tweak.
2972 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2974 * doc-view.el (doc-view-new-window-function): Check the new window
2975 overlay's display property instead the char property of the
2976 buffer's first char. Use `with-selected-window' instead of
2977 `save-window-excursion' with `select-window'.
2978 (doc-view-document->bitmap): Check the current doc-view overlay's
2979 display property instead the char property of the buffer's first char.
2981 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2983 Automate the build of ja-dic.el (Bug#13984).
2984 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2985 from the input, rather than assume that it's been done for us by the
2986 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2987 the current date into a ja-dic.el comment, as that complicates
2990 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * whitespace.el: Fix double evaluation.
2993 (whitespace-space, whitespace-hspace, whitespace-tab)
2994 (whitespace-newline, whitespace-trailing, whitespace-line)
2995 (whitespace-space-before-tab, whitespace-indentation)
2996 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2998 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2999 (whitespace-color-on): Use a single font-lock-add-keywords call.
3000 Fix double-evaluation of face variables.
3002 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3004 * net/tramp-adb.el (tramp-adb-parse-device-names):
3005 Use `start-process' instead of `call-process'. Otherwise, the
3006 function might be blocked under MS Windows. (Bug#13299)
3008 2013-03-17 Leo Liu <sdl.web@gmail.com>
3010 Extend eldoc to display info in the mode-line. (Bug#13978)
3011 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3012 (eldoc-mode-line-string): New variable.
3013 (eldoc-minibuffer-message): New function.
3014 (eldoc-message-function): New variable.
3015 (eldoc-message): Use it.
3016 (eldoc-display-message-p)
3017 (eldoc-display-message-no-interference-p):
3018 Support eldoc-post-insert-mode.
3020 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3021 (eval-expression): Run it.
3023 2013-03-17 Roland Winkler <winkler@gnu.org>
3025 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3026 strings in the list of return values.
3028 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3030 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3031 radix before checking for HMS forms.
3033 2013-03-16 Leo Liu <sdl.web@gmail.com>
3035 * progmodes/scheme.el: Add indentation and font-locking for λ.
3038 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3041 token before point (bug#13942).
3043 2013-03-16 Leo Liu <sdl.web@gmail.com>
3045 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3047 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3049 * startup.el (command-line-normalize-file-name): Fix handling of
3050 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3051 <xfq.free@gmail.com> in
3052 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3054 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3056 Sync with Tramp 2.2.7.
3058 * net/trampver.el: Update release number.
3060 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3062 * doc-view.el Fix bug#13887.
3063 (doc-view-insert-image): Don't modify overlay associated to
3064 non-live windows, and implement horizontal centering of image in
3065 case it's smaller than the window.
3066 (doc-view-new-window-function): Force redisplay of new windows on
3069 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3071 * saveplace.el (save-place-alist-to-file): Don't sort
3072 `save-place-alist', just pretty-print it (bug#13882).
3074 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3076 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3077 whether `default-file-name-coding-system' is bound. It isn't in
3080 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3083 backquotes for `obsolete' (bug#13929).
3085 * international/mule.el (find-auto-coding): Include file name in
3086 obsolescence warning (bug#13922).
3088 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3090 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3091 for CFEngine 3-specific indentation.
3092 (cfengine3-indent-line): Use it. Fix up category regex.
3093 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3095 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * type-break.el (type-break-file-name):
3098 * textmodes/remember.el (remember-data-file):
3099 * strokes.el (strokes-file):
3100 * shadowfile.el (shadow-initialize):
3101 * saveplace.el (save-place-file):
3102 * ps-bdf.el (bdf-cache-file):
3103 * progmodes/idlwave.el (idlwave-config-directory):
3104 * net/quickurl.el (quickurl-url-file):
3105 * international/kkc.el (kkc-init-file-name):
3106 * ido.el (ido-save-directory-list-file):
3107 * emulation/viper.el (viper-custom-file-name):
3108 * emulation/vip.el (vip-startup-file):
3109 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3110 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3112 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3114 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3115 * language/thai-word.el: Switch to UTF-8.
3117 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3121 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3123 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3124 Use with-current-buffer and don't move point.
3125 (net-utils-run-simple): Remove useless code.
3126 (net-utils-remove-ctl-m): Remove unused custom.
3128 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3130 * international/characters.el (glyphless-set-char-table-range): New fun.
3131 (update-glyphless-char-display): Use it (bug#13744).
3133 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3135 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3136 namespaces in the syntax, indent closer for hanging brace
3137 correctly, allow single-quote delimited 'strings', and make
3138 `cfengine3-mode' the default.
3140 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3142 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3143 Use lexical-binding. Fix up docstring according to conventions.
3144 (gdbmi-debug-mode): New var.
3145 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3146 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3147 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3148 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3149 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3150 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3151 (gdbmi-bnf-incomplete-record-result): New functions.
3152 (gdb-car<): Remove function.
3153 (gdbmi-record-list): Remove variable.
3154 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3155 (gdbmi-bnf-result-state-configs): New const.
3156 (gud-gdbmi-marker-filter): Rewrite.
3157 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3158 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3159 Add `token' argument.
3160 (gdb-done, gdb-error): New functions.
3161 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3163 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * term/xterm.el (xterm--report-background-handler): Don't burp
3167 (xterm--version-handler): Extract from terminal-init-xterm.
3168 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3169 Allow multiple handlers.
3170 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3172 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3173 (xterm--report-background-handler, xterm--query): New functions.
3174 (terminal-init-xterm): Use them.
3176 2013-03-11 Michael R. Mauger <michael@mauger.com>
3178 * progmodes/sql.el Version 3.2
3179 Please note that my address changed to <michael@mauger.com>;
3180 the <mmaug@yahoo.com> address remains active.
3181 (sql-connection-alist): Updates documentation to fix bug#13715.
3182 (sql-connect): Handle missing `sql-connection-alist' correctly.
3183 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3184 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3186 (sql-default-value): New function.
3187 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3188 values were not used.
3189 (sql-rename-buffer): Make sure alternate buffer name has no text
3191 (sql-input-sender, sql-execute-feature): Fetch variable with
3192 `buffer-local-value' rather than `with-current-buffer'.
3193 (sql-*): Use #' function syntax consistently.
3194 (sql-*): Use message/error/user-error consistently.
3196 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3198 * xt-mouse.el (xterm-mouse-event-read): Remove.
3199 (xterm-mouse--read-event-sequence-1000)
3200 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3202 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * term/xterm.el (xterm-function-map): Support format used with
3205 formatOtherKeys=1 (bug#13839).
3207 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3208 (with-no-warnings): Use `declare'.
3210 * whitespace.el (whitespace-enable-predicate): New variable.
3211 (whitespace-enable-predicate): Use it.
3213 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3214 (comint-output-filter, comint-update-fence):
3215 Use with-silent-modifications.
3217 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3219 * replace.el (occur-read-regexp-defaults-function): New var.
3220 (occur-read-regexp-defaults): New defun.
3221 (occur-read-primary-args): Propagate above change (bug#13892).
3223 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3227 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3229 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3231 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3232 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3233 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3235 (tramp-gvfs-file-name-handler-alist) [directory-files]
3236 [directory-files-and-attributes, file-exists-p, file-modes]:
3237 Use Tramp default handler.
3238 [file-acl, file-selinux-context, process-file, set-file-acl]:
3239 [set-file-modes, set-file-selinux-context, shell-command]:
3240 [start-file-process]: Remove handler.
3241 [verify-visited-file-modtime]: New handler.
3242 (tramp-gvfs-dbus-string-to-byte-array)
3243 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3244 calls of `dbus-string-to-byte-array' and
3245 `tramp-gvfs-dbus-byte-array-to-string'.
3246 (tramp-gvfs-handle-copy-file)
3247 (tramp-gvfs-handle-delete-directory)
3248 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3249 (tramp-gvfs-handle-file-directory-p)
3250 (tramp-gvfs-handle-file-executable-p)
3251 (tramp-gvfs-handle-file-name-all-completions)
3252 (tramp-gvfs-handle-file-readable-p)
3253 (tramp-gvfs-handle-file-writable-p)
3254 (tramp-gvfs-handle-insert-directory)
3255 (tramp-gvfs-handle-insert-file-contents)
3256 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3257 (tramp-gvfs-handle-set-visited-file-modtime)
3258 (tramp-gvfs-handle-write-region): Rewrite.
3259 (tramp-gvfs-handle-file-acl)
3260 (tramp-gvfs-handle-file-selinux-context)
3261 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3262 (tramp-gvfs-handle-set-file-modes)
3263 (tramp-gvfs-handle-set-file-selinux-context)
3264 (tramp-gvfs-handle-shell-command)
3265 (tramp-gvfs-handle-start-file-process)
3266 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3267 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3268 over the symlinks. Fix user handling.
3269 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3270 of the D-Bus signals.
3271 (tramp-gvfs-connection-mounted-p): Handle different names of the
3273 (tramp-gvfs-mount-spec-entry): New defun.
3274 (tramp-gvfs-mount-spec): Use it.
3275 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3276 there is a share name. Handle different names of the D-Bus
3277 signals and methods. Set connection properties needed for
3278 `tramp-check-cached-permissions'.
3279 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3282 * net/tramp.el (tramp-backtrace): Move up.
3283 (tramp-error): Dump a backtrace into the debug buffer when
3285 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3286 (tramp-file-mode-permissions, tramp-get-local-uid)
3287 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3290 * net/tramp-sh.el (tramp-file-mode-type-map)
3291 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3292 (tramp-file-mode-permissions, tramp-get-local-uid)
3293 (tramp-get-local-gid): Move to tramp.el.
3295 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3297 Separate mouse-1-click-follows-link from mouse-drag-region.
3298 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3299 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3300 (mouse-drag-line, mouse-drag-track):
3301 Remove mouse-1-click-follows-link code.
3302 (mouse--remap-link-click-p): Remove.
3304 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3306 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3307 (hi-lock-read-regexp-defaults): New defun.
3308 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3309 (hi-lock-face-phrase-buffer): Propagate above change.
3310 Update docstring (bug#13892).
3312 * subr.el (find-tag-default-as-regexp): New defun.
3313 * replace.el (read-regexp): Propagate above change.
3315 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3317 * calc/calc-units.el (calc-convert-units): Fix the way that default
3318 new units are stored.
3320 2013-03-07 Matthias Meulien <orontee@gmail.com>
3322 * bookmark.el: Define a face to highlight bookmark names in
3323 bookmark menu buffers, where the default is a bold face similarly
3324 to buffer names in buffer menu buffers.
3325 (bookmark-menu-bookmark): New face to highlight bookmark names.
3326 (bookmark-insert-location): Remove duplicated text property to
3327 conform to buffer list (see `list-buffers').
3328 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3329 `bookmark-menu-bookmark' to bookmark names.
3331 2013-03-07 Matthias Meulien <orontee@gmail.com>
3332 Karl Fogel <kfogel@red-bean.com>
3334 * bookmark.el: Display the bookmark list header similarly to the
3335 buffer list header (see `list-buffers'), where the default is now
3336 an immovable/immutable header line.
3337 (bookmark-bmenu-use-header-line): New variable.
3338 (bookmark-bmenu-inline-header-height): New name for
3339 `bookmark-bmenu-header-height', to avoid confusion with the code
3340 for the new immovable header. All references changed.
3341 (bookmark-bmenu-set-header): New function.
3342 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3343 Conditionalize header construction accordingly.
3344 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3345 the inline header height.
3346 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3347 Conditionalize the skipping of the inline header height.
3349 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3351 * progmodes/js.el (js--multi-line-declaration-indentation):
3352 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3354 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3356 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3357 Only propertize regexp when not inside a string (Bug#13885).
3359 2013-03-06 Alan Mackenzie <acm@muc.de>
3361 Correct the position of point in some line-up functions.
3362 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3363 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3364 point at column 0 rather than at a random place in the line.
3366 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3368 * net/tramp-compat.el (tramp-compat-delete-directory):
3369 Implement TRASH argument.
3371 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3373 Keep pre-existing highlighting in completion candidates (Bug#13250).
3374 * minibuffer.el (completions-first-difference): State that the
3375 face is "added" in the docstring.
3376 (completions-common-part): Same. And don't inherit from default.
3377 (completion-hilit-commonality): Prepend 'completions-common-part
3378 and 'completion-first-difference faces to the 'face property,
3379 instead of replacing the value(s).
3380 (completion--insert-strings): Same with 'completions-annotations face.
3381 (completion-hilit-commonality): Use 'face instead of
3382 'font-lock-face, because it gets priority if the completion
3383 strings already have 'face set.
3385 2013-03-04 Alan Mackenzie <acm@muc.de>
3387 Replace `last-command-event' by `last-command-char' in XEmacs.
3388 * progmodes/cc-defs.el (c-last-command-char): New macro.
3389 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3390 (c-semi&comma-no-newlines-before-nonblanks)
3391 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3392 in place of `last-command-event'.
3393 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3394 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3395 (c-electric-paren, c-electric-continued-statement): Use the new
3396 macro in place of `last-command-event'.
3398 2013-03-04 Glenn Morris <rgm@gnu.org>
3400 * files.el (inhibit-local-variables-regexps):
3401 Add .diff and .patch. (Bug#13862)
3403 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3405 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3406 whether the "su" command is available on the device.
3408 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3410 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3411 (tramp-adb-handle-process-file): Remove superfluous setting.
3412 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3413 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3414 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3416 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3418 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3419 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3420 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3421 Use dict-key rather than dict-name for the error message.
3423 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3425 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3426 when reverting (bug#13831).
3428 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3430 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3431 Always expand affix-file before storing to protect against changed
3432 `default-directory'.
3433 (ispell-print-if-debug): Make sure message is printed at the end
3434 of the debug buffer.
3436 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3438 * net/tramp.el (tramp-obsolete-methods): New defconst.
3439 (tramp-warned-obsolete-methods): New defvar.
3440 (tramp-find-method): Check for obsolete methods. Map them to a
3441 replacement method if appropriate.
3443 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3445 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3446 "ssh2" and "plink1".
3448 2013-02-28 Dale Sedivec <dale@codefu.org>
3450 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3451 Return valid syntax-table property value when converting
3452 quotes within text from string syntax to punctuation syntax (bug#13844).
3454 2013-02-28 Juri Linkov <juri@jurta.org>
3456 * dired-aux.el (dired-diff): If file at point is a backup file,
3457 use its original as the default value, and reverse the order
3458 of arguments to the `diff' call. Doc fix. (Bug#13772)
3460 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3462 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3463 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3465 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3467 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3469 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3470 Ask hunspell about available and default dictionaries.
3471 (ispell-parse-hunspell-affix-file): Extract relevant info from
3472 hunspell affix file.
3473 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3474 `ispell-dictionary-alist' entry for given dictionary after info
3475 provided by `ispell-parse-hunspell-affix-file'.
3476 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3477 of parsed hunspell dicts and associated affix files.
3478 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3479 of parsed hunspell dicts and associated parameters.
3480 (ispell-set-spellchecker-params):
3481 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3483 (ispell-start-process):
3484 Call `ispell-hunspell-fill-dictionary-entry' for current
3485 dictionary if it is not initialized.
3487 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * imenu.el: Comment nitpicks.
3491 2013-02-28 Sam Steingold <sds@gnu.org>
3493 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3494 See <http://stackoverflow.com/questions/14720205>.
3496 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3498 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3499 (net-utils-mode): Use it.
3500 (net-utils--revert-cmd): New var.
3501 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3502 (traceroute): Use net-utils-run-simple.
3504 2013-02-28 Glenn Morris <rgm@gnu.org>
3506 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3508 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3511 (doc-view-fallback-mode): Remove overlays here.
3512 (doc-view-toggle-display): Instead of here. Don't throw away
3513 image-mode-winprops-alist.
3514 (doc-view-goto-page): Don't mess with hscroll.
3516 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3518 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3519 &optional (bug#13819).
3521 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3523 * net/tramp-adb.el (tramp-adb-parse-device-names)
3524 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3526 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3528 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3529 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3530 defined. POSIX environments fall back to the "C" locale then and
3531 emit a warning, which shall be suppressed.
3533 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3536 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3538 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3540 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3542 2013-02-25 Juri Linkov <juri@jurta.org>
3544 * replace.el (read-regexp): Let-bind `default' to the first
3545 element of `defaults' if it's a list, otherwise it should be
3546 a string or nil. Let-bind `suggestions' to `defaults' if it's
3547 a list, otherwise make a list with the string value. Doc fix.
3550 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3552 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3553 that match "\`\.#", to avoid compiling lock files, even if they
3554 are readable (as they are on MS-Windows).
3556 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3558 * files.el (basic-save-buffer): Remove redundant directory-creation.
3560 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3562 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3563 Add option to force `pi' to remain symbolic.
3564 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3565 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3566 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3567 derivatives, when necessary.
3569 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3571 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3572 (ps-mode-octal-region): Use string-make-unibyte.
3574 2013-02-23 Glenn Morris <rgm@gnu.org>
3576 * emulation/viper-cmd.el (viper-submit-report):
3577 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3578 * progmodes/vera-mode.el (vera-mode-help-address):
3579 * textmodes/artist.el (artist-maintainer-address):
3580 * textmodes/reftex.el (reftex-report-bug):
3581 * vc/ediff-util.el (ediff-submit-report):
3582 Add bug-gnu-emacs to bug report address.
3584 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3585 Remove bug report entries.
3586 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3588 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3589 (byte-compile-file, byte-compile-from-buffer):
3590 Use separate input/output buffers for each level of recursive
3591 byte-compile-file calls. (Bug#13787)
3593 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3595 * net/tramp.el (tramp-methods): Fix docstring.
3596 (tramp-ssh-controlmaster-options): Rename it from
3597 `tramp-ssh-controlmaster-template'. Return a string.
3598 (tramp-default-method): Adapt check for
3599 `tramp-ssh-controlmaster-options'.
3601 * net/tramp-sh.el (tramp-methods):
3602 Replace `tramp-ssh-controlmaster-template' by "%c".
3603 (tramp-do-copy-or-rename-file-out-of-band)
3604 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3605 that it is applied for the first hop only.
3607 2013-02-22 Juri Linkov <juri@jurta.org>
3609 * isearch.el (isearch-lazy-highlight-new-loop):
3610 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3611 to `isearch-other-end' if it is not nil. (Bug#13402)
3613 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3616 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3617 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3618 and `isearch-error' to nil.
3620 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3622 * progmodes/python.el (python-info-current-defun):
3623 Enhance match-data cluttering prevention.
3625 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3627 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3629 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3630 Handle multibyte file names.
3632 2013-02-22 Glenn Morris <rgm@gnu.org>
3634 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3635 (sgml-transformation-function): Give it a :set function.
3636 (sgml-tag): Doc fix.
3638 * cmuscheme.el (scheme-buffer):
3639 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3640 * progmodes/tcl.el (inferior-tcl-buffer):
3641 * textmodes/tex-mode.el (tex-command): Doc fixes.
3643 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3645 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3647 2013-02-21 Bastien Guerry <bzg@gnu.org>
3649 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3651 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3653 * progmodes/python.el (python-info-current-defun):
3654 Enhance match-data cluttering prevention.
3656 2013-02-21 Glenn Morris <rgm@gnu.org>
3658 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3659 loaded while outline-regexp is let bound. (Bug#9584)
3661 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3663 * progmodes/python.el (python-info-current-defun): Fix failed
3664 defun name retrieval because of unwanted match-data cluttering.
3666 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3668 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3669 defconst. Apply independent check for ControlPersist.
3671 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3672 temporarily, via "env".
3674 2013-02-21 Glenn Morris <rgm@gnu.org>
3676 * info.el (Info-enable-edit): Remove.
3677 (Info-edit): Disable it rather than using Info-enable.
3678 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3679 (Info-cease-edit): Make editing of Info files obsolete.
3681 * informat.el (Info-tagify):
3682 Handle buffers not visiting files. (Bug#13763)
3684 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3686 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3688 2013-02-21 Glenn Morris <rgm@gnu.org>
3690 * files.el (basic-save-buffer): Move check for existing parent
3691 directory after hooks. (Bug#13773)
3693 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * simple.el (command-execute): Move from C. Add obsolete check.
3696 (extended-command-history): Move from C.
3698 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3700 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3701 (jka-compr-mode-alist-additions): Handle .txz suffix for
3702 XZ-compressed tar archives (bug#13770).
3704 2013-02-20 Bastien Guerry <bzg@gnu.org>
3706 * outline.el (outline-regexp, outline-heading-end-regexp):
3707 Make variables, not options (bug#13731).
3709 2013-02-20 Glenn Morris <rgm@gnu.org>
3711 * image.el (image-current-frame): Change from variable to function.
3712 (image-show-frame): Rename from image-nth-frame. Update callers.
3713 * image-mode.el (image-multi-frame): New variable.
3714 (image-mode-map, image-mode, image-goto-frame):
3715 Use image-multi-frame rather than image-current-frame.
3716 (image-mode, image-goto-frame): Use image-current-frame as
3717 function rather than as variable.
3719 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3720 * emacs-lisp/cl-macs.el (cl--make-type-test)
3721 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3723 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3725 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3726 (tramp-get-file-property, tramp-set-file-property)
3727 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3728 (tramp-flush-file-property, tramp-flush-directory-property):
3729 Rename argument to KEY.
3730 (tramp-flush-connection-property): Simplify a little bit.
3731 (tramp-connection-property-p): New defun.
3732 (top): Reapply saved values only if there isn't a corresponding
3733 entry in `tramp-connection-properties'.
3735 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3737 * progmodes/python.el (python-indent-context):
3738 Fix python-info-line-ends-backslash-p call.
3739 (python-info-line-ends-backslash-p)
3740 (python-info-beginning-of-backslash): Respect line-number argument.
3741 (python-info-current-line-comment-p):
3742 Fix behavior when not at beginning-of-line.
3743 (python-util-position): Remove function.
3744 (python-util-goto-line): New function.
3746 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3748 * eshell/em-unix.el (eshell/su): Require tramp.
3749 (eshell/sudo): Require tramp. Remove now unnecessary check.
3751 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3752 `tramp-current-connection' in order to avoid an error when several
3753 commands are invoked in a short time in eshell and friends.
3755 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3757 Cleanup some of EIEIO's namespace.
3758 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3759 Use it to define all the class-* and object-* field accessors (renamed
3760 to eieio--class-* and eieio--object-*). Update all uses.
3761 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3762 class-num-slots and object-num-slots.
3763 (eieio--check-type): New macro.
3764 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3765 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3766 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3767 (object-assoc-list-safe): Use it.
3768 (eieio-defclass): Tighten regexp.
3769 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3770 Remove unreachable code.
3771 (object-class-fast): Declare obsolete.
3772 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3773 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3774 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3775 Rename from class-name, object-name, object-set-name-string,
3776 object-class, object-class-name, class-parents, class-children,
3777 class-precedence-list, class-parent; with obsolete alias.
3778 (class-of, class-direct-superclasses, class-direct-subclasses):
3780 (eieio-defmethod): Use `memq'; remove unreachable code.
3781 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3782 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3783 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3785 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3787 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3790 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3792 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3793 Use font-lock-keyword-face for macros and special forms (bug#8345).
3795 2013-02-17 Didier Verna <didier@didierverna.net>
3797 * net/network-stream.el (network-stream-open-starttls):
3798 Check that response to the starttls-command is non-nil. (Bug#13706)
3800 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3803 Don't assume all identifier chars have syntax word.
3804 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3805 Remove bar-not-symbol. Adjust callers.
3806 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3808 2013-02-17 Leo Liu <sdl.web@gmail.com>
3810 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3812 2013-02-17 Glenn Morris <rgm@gnu.org>
3814 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3816 * image-mode.el (image-mode-map): Add image-dired menu entry.
3818 * image-dired.el (tumme): Make this alias obsolete.
3820 2013-02-16 Glenn Morris <rgm@gnu.org>
3822 * image.el (image-animated-types): Remove.
3823 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3824 (image-animated-p): Make obsolete alias.
3825 (image-animate, image-nth-frame, image-animate-timeout):
3826 Use image-multi-frame-p.
3827 (image-animate-timeout): If no delay, use image-default-frame-delay.
3828 * image-mode.el (image-mode, image-toggle-animation):
3829 Use image-multi-frame-p. (Bug#763, bug#10739)
3830 (image-mode): Adjust startup message for a multi-frame image.
3832 * image-mode.el (image-mode-map): Give it a menu.
3834 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3836 * net/tramp-cache.el (tramp-connection-properties): New customer
3838 (tramp-get-connection-property): Use it.
3840 * net/tramp-compat.el (top): Require 'trampver.
3842 * net/tramp-sh.el (tramp-remote-process-environment):
3843 Set tramp-autoload cookie.
3845 2013-02-16 Kevin Ryde <user42@zip.com.au>
3847 * info-look.el (info-lookup-select-mode): If major-mode has no
3848 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3850 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3852 * replace.el (read-regexp): Tighten the regexp that matches tag.
3853 When tag is retrieved with `find-tag-default', use regexp that
3854 matches tag at point. Also update docstring (Bug#13687).
3856 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3858 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3859 add watch for the file, not its parent directory, since w32notify
3860 sets up the watch for the directory internally. (Bug#13725)
3862 2013-02-16 Glenn Morris <rgm@gnu.org>
3864 * image.el (image-default-frame-delay): New variable.
3865 (image-animated-p): Use image-default-frame-delay.
3866 (image-minimum-frame-delay): New constant.
3867 (image-animate-timeout): Use image-minimum-frame-delay.
3869 * image.el (image-nth-frame): New, split from image-animate-timeout.
3870 (image-animate-timeout): Use image-nth-frame.
3871 * image-mode.el (image-goto-frame, image-next-frame)
3872 (image-previous-frame): New commands.
3873 (image-mode-map): Add new frame commands.
3875 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3877 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3878 If col-desc already has help-echo, use it. (Bug#13563)
3880 2013-02-16 Glenn Morris <rgm@gnu.org>
3882 * image.el (image-current-frame): New variable.
3883 (image-animate-timeout): Set image-current-frame.
3884 * image-mode.el (image-mode): For animated images,
3885 display a frame counter via mode-line-process.
3887 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3889 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3893 2013-02-15 Alan Mackenzie <acm@muc.de>
3895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3896 global minor mode has been enabled, call the minor mode function
3897 for a new buffer once only, after the major mode hook, whilst
3898 allowing that hook explicitly to disable the minor mode.
3899 (MODE-disable-in-buffer): New (generated) function.
3900 (disable-MODE): New (generated) buffer local variable.
3902 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3904 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3905 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3906 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3907 `ido-next-match' and `ido-prev-match' resply.
3908 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3909 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3910 `icomplete-backward-completions' (Bug#13708).
3912 2013-02-15 Glenn Morris <rgm@gnu.org>
3914 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3916 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3919 (goto-address-fontify-region): Use them instead of narrowing, so
3920 syntax-ppss has access to the whole buffer.
3922 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3924 * progmodes/python.el: Explain how to restore "cc-mode"-like
3925 forward-sexp movement in header documentation (Bug#13642).
3926 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3927 comments and strings (GH bug 114).
3929 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3931 * progmodes/python.el (python-info-current-defun): Fix current
3932 defun detection (Bug#13618).
3934 2013-02-15 Chong Yidong <cyd@gnu.org>
3936 * xml.el (xml-parse-string): Fix typo in handling of bad character
3939 2013-02-15 Glenn Morris <rgm@gnu.org>
3941 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3943 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3945 * net/tramp.el (tramp-debug-message):
3946 Add `tramp-condition-case-unless-debug'.
3947 (tramp-debug-on-error): New defvar.
3948 (tramp-condition-case-unless-debug): New defun.
3949 (tramp-file-name-handler): Use it.
3951 2013-02-14 Juri Linkov <juri@jurta.org>
3953 * info.el (Info-isearch-filter): Treat non-nil values of
3954 `search-invisible' including its default value `open'
3955 like the value `t' to match hidden text. (Bug#13402)
3957 2013-02-14 Glenn Morris <rgm@gnu.org>
3959 * help-fns.el (find-lisp-object-file-name): Give special treatment
3960 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3962 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3964 * net/quickurl.el (quickurl-save-urls):
3965 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3967 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3969 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3970 depth for unfinished percent literal. Not using it in the caller.
3971 (ruby-move-to-block): Jump over multiline literals of all types,
3972 ignoring code-looking contents inside them.
3973 (ruby-add-log-current-method): Improve performance at the expense
3974 of accuracy. `ruby-block-contains-point' is relatively slow, so
3975 only use it for method and singleton class blocks.
3977 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3979 Use ControlMaster where applicable. (Bug#13677)
3981 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3982 replacing `tramp-detect-ssh-controlmaster'.
3983 (tramp-default-method): Use it.
3985 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3986 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3988 [scpc, rsyncc]: Remove methods.
3989 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3991 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3992 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3994 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * emacs-lisp/package.el (package--initialized): Move before first use.
3998 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4000 * icomplete.el (icomplete-hide-common-prefix): New user option.
4001 (icomplete-first-match): New face.
4002 (icomplete-completions): Correct handling of "complete but not
4003 unique" (Bug#12638).
4005 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4007 * descr-text.el (describe-char): Display the script (bug#13698).
4009 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * tmm.el: Use lexical-binding and current-active-maps.
4012 (tmm-menubar): Use map-keymap and pcase.
4013 (tmm--completion-table): New function.
4014 (tmm-prompt): Use it to fix the menu order.
4015 (tmm-get-keybind): Use current-active-maps.
4017 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4019 Add dired-hide-details-mode. (Bug#6799)
4021 * locate.el (locate-mode): Set parent mode property to dired-mode.
4023 * find-dired.el (find-dired): Call dired-insert-set-properties on
4024 initial information line. Set process mark on end of buffer.
4025 (find-dired-sentinel):
4026 Call dired-insert-set-properties on summary.
4028 * dired.el (dired-hide-details-hide-symlink-targets)
4029 (dired-hide-details-hide-information-lines): New options.
4030 (dired-insert-directory):
4031 Set properties after final treatment of output.
4032 (dired-insert-set-properties):
4033 Set dired-hide-details-* properties.
4034 (dired-mode-map): Bind dired-hide-details-mode.
4035 (dired-mode): Set buffer-invisibility-spec to a list.
4036 (dired-next-line): Skip hidden lines.
4037 (dired-previous-line): Use dired-next-line.
4038 (dired-hide-details-mode): New minor mode.
4039 (dired-hide-details-update-invisibility-spec): New function.
4041 2013-02-13 Glenn Morris <rgm@gnu.org>
4043 * play/yow.el: Move to obsolete/. (Bug#9384)
4045 2013-02-13 Juri Linkov <juri@jurta.org>
4047 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4048 to select `ediff-control-frame' and set input focus correctly on Xfce.
4051 2013-02-13 Juri Linkov <juri@jurta.org>
4053 * image-mode.el (image-mode-map):
4054 * doc-view.el (doc-view-mode-map):
4055 * vc/ediff-util.el (ediff-setup-keymap):
4056 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4058 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4060 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4061 performance. Instead of recalculating indentation fully for each
4062 line, sum up indentation depth based only on visited lines.
4063 (ruby-parse-partial): Increase the depth after "do" even when END
4065 (ruby-parse-partial): When END is in the middle of a percent
4066 literal, increase the depth if the delimiter chars belong to the
4069 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4071 * play/fortune.el (fortune-compile): Also make the compiled file
4072 if it does not exist at all, not just if it is old. (Bug#5338)
4074 2013-02-13 Glenn Morris <rgm@gnu.org>
4076 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4078 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4080 * lisp/emacs-lisp/package.el (package-menu-execute):
4081 Add optional noquery argument. (Bug#13625)
4083 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4085 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4086 if DIR exists and PARENTS is non-nil.
4088 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4090 * progmodes/js.el (js--multi-line-declaration-indentation):
4091 Silence byte-compiler warning.
4093 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4095 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4097 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4098 only if it doesn't exist.
4100 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4103 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4105 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4106 UserInstallation when calling soffice to work around LibreOffice
4109 2013-02-12 Glenn Morris <rgm@gnu.org>
4111 * files.el (basic-save-buffer):
4112 Offer to create a non-existing directory. (Bug#3016)
4114 * calc/calc-graph.el (calc-graph-show-dumb):
4115 * calendar/calendar.el (calendar-mode-map):
4116 * cus-edit.el (custom-mode-map):
4117 * ehelp.el (electric-help-map):
4118 * emulation/vip.el (vip-mode-map):
4119 * epa.el (epa-key-list-mode-map):
4120 * info.el (Info-mode-map):
4121 * mail/rmail.el (rmail-mode-map):
4122 * mail/rmailsum.el (rmail-summary-mode-map):
4123 * man.el (Man-mode-map):
4124 * net/newst-plainview.el (newsticker-mode-map):
4125 * progmodes/cpp.el (cpp-edit-mode-map):
4126 * progmodes/grep.el (grep-mode-map):
4127 * progmodes/idlw-help.el (idlwave-help-mode-map):
4128 * simple.el (special-mode-map):
4129 * startup.el (splash-screen-keymap):
4130 * view.el (view-mode-map):
4131 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4133 2013-02-11 Elias Pipping <pipping@lavabit.com>
4135 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4138 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4142 2013-02-11 Glenn Morris <rgm@gnu.org>
4144 * vc/diff.el (diff-use-labels): New variable.
4145 (diff-no-select): Use --label rather than -L, and first
4146 check that it is supported. (Bug#11067)
4148 * files.el (enable-dir-local-variables): New variable.
4149 (hack-dir-local-variables): Respect enable-dir-local-variables.
4150 * tutorial.el (help-with-tutorial):
4151 Ignore directory-local variables. (Bug#11127)
4153 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4154 (vc-svn-global-switches): ... to here. (Bug#13513)
4156 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4158 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4159 Handle "foo (bar, default: xxx): " prompts.
4161 2013-02-10 Chong Yidong <cyd@gnu.org>
4163 * files.el (basic-save-buffer-1): Do not set
4164 buffer-file-coding-system-explicit (Bug#4533).
4166 * mail/emacsbug.el (report-emacs-bug): Change binding of
4167 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4169 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4171 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4172 * calc/calc-units.el (calc-convert-units): Use new variable.
4174 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4176 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4178 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4181 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4182 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4183 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4184 coding-system-for-write instead.
4186 * jka-compr.el (jka-compr-write-region): Don't bind
4189 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4192 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4193 (insert-file-contents-literally): Remove reference to
4194 file-name-buffer-file-type-alist.
4196 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4198 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4199 (find-buffer-file-type-coding-system): Remove references to
4200 find-buffer-file-type-match, find-buffer-file-type, and
4202 Don't put find-buffer-file-type-coding-system into
4203 file-coding-system-alist.
4204 (find-file-binary, find-file-text): Bind coding-system-for-read
4205 instead of file-name-buffer-file-type-alist.
4207 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4209 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4210 converter (Bug#13622).
4211 (doc-view-unoconv-program): Make obsolete alias.
4212 (doc-view-odf->pdf-converter-program): New variable.
4213 (doc-view-odf->pdf-converter-function): New variable.
4214 (doc-view-mode-p): Use it.
4215 (doc-view-odf->pdf-converter-unoconv):
4216 Rename from `doc-view-odf->pdf-converter-unoconv'.
4217 (doc-view-odf->pdf-converter-soffice): New function.
4218 (doc-view-convert-current-doc):
4219 Use `doc-view-odf->pdf-converter-function'.
4221 2013-02-09 Chong Yidong <cyd@gnu.org>
4223 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4224 view-echo-area-messages (Bug#13340).
4226 * help.el (view-echo-area-messages): Use display-buffer.
4228 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4231 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4234 Eval body right away, now that we do eager macroexpansion (bug#13605).
4236 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4237 (fundamental-mode): Use run-mode-hooks.
4239 * eshell/esh-proc.el (eshell/kill): Fix last change.
4240 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4242 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4244 * eshell/esh-proc.el (eshell/kill): Rewrite.
4246 * eshell/em-ls.el (show-almost-all): Declare.
4247 (eshell-do-ls): Add support for -A argument.
4249 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4251 * icomplete.el (icomplete-forward-completions)
4252 (icomplete-backward-completions): Handle corner case (bug#13602).
4254 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4256 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4257 be nil. Handle this. (Bug#13636)
4259 2013-02-07 Richard Stallman <rms@gnu.org>
4261 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4262 `save-buffer-coding-system'.
4264 2013-02-07 Alan Mackenzie <acm@muc.de>
4266 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4267 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4268 (c-parse-state-get-strategy): Don't return 'BOD any more.
4269 (c-append-lower-brace-pair-to-state-cache):
4270 Extra parameter HERE instead of narrowing.
4271 Widen to top of buffer before searching backwards for a brace pair.
4272 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4273 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4274 Narrow to parameter HERE, in place of being called narrowed.
4275 (c-remove-stale-state-cache): Extra parameter HERE in place of
4276 narrowing. Check there's an open brace in the cache before
4277 searching for its match.
4278 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4279 (c-parse-state-1): Don't narrow here for 'forward strategy,
4280 instead passing extra parameter HERE to several functions.
4281 Remove 'BOD strategy.
4283 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4285 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4286 used to install the package.
4288 2013-02-06 Glenn Morris <rgm@gnu.org>
4290 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4291 if we can't get user input. (Bug#6567)
4293 * startup.el (command-line): If simple.el is missing,
4294 test and warn about for some possible causes.
4296 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4298 * cus-start.el (all): Add ns-use-native-fullscreen.
4300 2013-02-05 Glenn Morris <rgm@gnu.org>
4302 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4304 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4305 Fix directory creation in fallback case.
4307 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4309 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4310 (vc-update-change-log): Use dolist.
4312 2013-02-04 Chong Yidong <cyd@gnu.org>
4314 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4316 (thing-at-point-beginning-of-url-regexp): New var.
4317 (thing-at-point-uri-schemes): Update list of URI schemes.
4318 (thing-at-point-url-regexp): Variable deleted.
4319 (thing-at-point-markedup-url-regexp): Disallow newlines.
4320 (thing-at-point-newsgroup-regexp)
4321 (thing-at-point-newsgroup-heads)
4322 (thing-at-point-default-mail-uri-scheme): New variables.
4323 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4324 method to find the possible bounds of the URI at point.
4325 New optional argument to find ill-formed URIs.
4326 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4327 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4328 the scheme-adding heuristics from ffap-url-at-point.
4329 (thing-at-point--bounds-of-well-formed-url): New function.
4330 Do parens matching to decide whether to include parens in the URI
4333 * ffap.el: Require thingatpt.
4334 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4335 All URI-valid characters are now recognized (Bug#5673).
4336 (ffap-string-at-point): Use use-region-p.
4337 (ffap-url-regexp): Extra character is handled by thing-at-point.
4338 (ffap-string-at-point-mode-alist): Allow parentheses.
4339 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4340 Convert to aliases; code moved to thingatpt.el.
4341 (ffap-gnus-hook): Use setq-local.
4343 2013-02-04 Glenn Morris <rgm@gnu.org>
4345 * emacs-lisp/ert.el (ert--explain-format-atom):
4346 Don't try to print non-characters as characters. (Bug#13543)
4348 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4350 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4351 (tramp-backtrace): New defun.
4352 (tramp-handle-insert-file-contents): Use `visit' when inserting
4355 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4356 Use `remote-file-name-inhibit-cache'.
4358 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4363 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4364 current-load-list (bug#13366).
4366 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4369 Identify g++ template instantiation trace. (Bug#12287)
4370 (compilation-mode-hook, compilation-start-hook)
4371 (compilation-window-height): Simplify docstrings. (Bug#13379)
4373 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4375 * mouse.el (mouse-drag-track): Always deactivate the mark before
4376 running the final event's command since that command is in charge of
4377 activating the mark if needed (bug#13523).
4379 2013-02-02 Juri Linkov <juri@jurta.org>
4381 * replace.el (perform-replace): Move let-bindings of isearch-*
4382 variables deeper to the loop that searches for the next match.
4383 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4384 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4387 * isearch.el (isearch-search-fun-default): Check for null
4388 first element of isearch-cmds as a precaution when it's used
4389 with inactive isearch.
4391 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4393 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4394 error when buffer in question is narrowed so position 1 is out of
4397 2013-02-02 Glenn Morris <rgm@gnu.org>
4399 * textmodes/remember.el (remember-clipboard): Doc fix.
4401 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4403 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4404 properties (bug#13179).
4406 2013-02-02 Juri Linkov <juri@jurta.org>
4408 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4409 instead of hard-coded default face `match'. (Bug#9438)
4411 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4413 * vc/vc-arch.el (vc-arch-registered):
4414 * vc/vc-bzr.el (vc-bzr-registered):
4415 * vc/vc-cvs.el (vc-cvs-registered):
4416 * vc/vc-git.el (vc-git-registered):
4417 * vc/vc-hg.el (vc-hg-registered):
4418 * vc/vc-mtn.el (vc-mtn-registered):
4419 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4422 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4423 prefix argument. (Bug#11656)
4425 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4429 2013-02-01 Glenn Morris <rgm@gnu.org>
4431 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4432 if the backend is known not to support it.
4434 * imenu.el (imenu-default-create-index-function):
4435 Tweak infinite loop test to check for forward motion as well as none.
4437 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4439 * net/soap-client.el (soap-invoke): Encode the string for
4440 `url-request-data' as UTF-8.
4441 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4443 2013-02-01 Glenn Morris <rgm@gnu.org>
4445 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4447 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4449 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4451 * net/tramp.el (tramp-tramp-file-p): Comment check for
4452 `string-as-unibyte'. The function does not exist on XEmacs, and
4453 likely we need another approach.
4455 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4456 `tramp-gw-*' variables are bound.
4458 2013-01-31 Glenn Morris <rgm@gnu.org>
4460 * files.el (basic-save-buffer-2): Choose coding system for
4461 writing the file before backing it up, to reduce delay between
4462 backing up and writing the new version. (Bug#13522)
4464 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4466 * simple.el (cycle-spacing): New command.
4467 (just-one-space): Use it.
4469 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4471 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4472 (opascal-newline-always-indents): Remove custom.
4473 (opascal-tab, opascal-newline): Remove commands.
4474 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4475 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4476 (opascal-save-match-data): Remove, use save-match-data instead.
4477 (opascal-save-state): Use with-silent-modifications.
4479 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4482 2013-01-30 Juri Linkov <juri@jurta.org>
4484 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4485 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4486 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4488 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4490 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4491 column if we're just deleting the backslashes.
4492 (makefile-fill-paragraph): Use eolp.
4494 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4496 * autorevert.el (auto-revert-use-notify): Fix docstring.
4498 2013-01-30 Leo Liu <sdl.web@gmail.com>
4500 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4502 2013-01-30 Glenn Morris <rgm@gnu.org>
4504 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4505 unread-command-events twice in some cases. This tries to implement
4506 the 2012-07-26 changes in a different way. (Bug#13560)
4508 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4510 * progmodes/python.el
4511 (python-pdbtrack-comint-output-filter-function): Enhancements on
4512 stacktrace detection. (thanks @gnovak)
4514 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4517 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4519 (jit-lock-register): Use setq-local.
4521 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4523 * calc-units.el (math-default-units-table): Remove initial value.
4524 (calc-convert-units): Treat expressions where all the units cancel as
4525 if they didn't have units.
4527 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4529 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4530 (tramp-completion-reread-directory-timeout): Fix type.
4531 (tramp-connection-min-time-diff): New defcustom.
4533 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4535 2013-01-30 Glenn Morris <rgm@gnu.org>
4537 * imenu.el (imenu-default-create-index-function):
4538 Put back a version of the infinite loop test removed 2013-01-23.
4540 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4542 * progmodes/python.el (python-shell-parse-command):
4543 Find python-shell-interpreter with modified environment.
4545 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4547 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4549 2013-01-29 Alan Mackenzie <acm@muc.de>
4551 Amend to fontify /regexp/s in actions correctly.
4552 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4553 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4554 are no longer included.
4555 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4556 What used to be these variables without "-line" in the name.
4557 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4558 (c-awk-non-arith-op-bra-re): Now also matches {.
4559 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4560 "return", and "case".
4561 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4563 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4564 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4566 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4568 * autorevert.el (auto-revert-use-notify):
4569 Use `custom-initialize-default' for initialization. (Bug#13583)
4571 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4573 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4574 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4575 in `tramp-file-name-handler'.
4576 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4578 (tramp-compute-multi-hops): Check, whether
4579 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4581 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4583 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4586 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4588 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4589 checks made superfluous by the \_< operator.
4590 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4591 temporarily) broken indentation.
4592 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4593 Highlight nested constants, too. \_< broke that.
4595 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4597 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4600 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4602 * autorevert.el (auto-revert-handler): Notifications which result
4603 from a saved file shall not be taken into account. (Bug#13557)
4605 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4607 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4608 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4609 (lisp-mode): Pass t for it. (Bug#13556)
4611 2013-01-25 Alan Mackenzie <acm@muc.de>
4613 AWK Mode: Fix indentation bug at top level. Bug #12274.
4615 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4616 just before CASE 5D.
4618 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4620 * net/socks.el (socks-nslookup-host): Use string-to-number.
4622 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4624 * autorevert.el (auto-revert-remote-files)
4625 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4626 (auto-revert-notify-enabled, auto-revert-use-notify)
4627 (auto-revert-notify-watch-descriptor-hash-list)
4628 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4629 (auto-revert-notify-event-descriptor)
4630 (auto-revert-notify-event-action)
4631 (auto-revert-notify-event-file-name): Doc fix.
4632 (global-auto-revert-mode): Reorder checks.
4633 (auto-revert-notify-rm-watch): Respect changed values of
4634 `auto-revert-notify-watch-descriptor-hash-list'.
4635 (auto-revert-notify-add-watch): Check for
4636 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4637 `inotify-add-watch'. Watch `default-directory' instead of
4638 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4639 has a changed meaning now. (Bug#13540)
4640 (auto-revert-notify-handler): Change implementation wrt events
4641 returning from a directory.
4642 (auto-revert-handler): Reorder implementation for checks of remote
4644 (auto-revert-buffers): Fix parentheses error.
4646 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4648 * progmodes/python.el: Enhancements to header documentation about
4649 skeletons. (Bug#5716)
4651 * imenu.el (imenu-default-create-index-function): Remove useless
4652 infinite loop check. (Bug#13438)
4654 2013-01-25 Alan Mackenzie <acm@muc.de>
4656 Fix a bug in the state cache mechanism. Refactor this a bit.
4658 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4659 `cache-pos' element from the return value.
4660 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4661 buffer to enable proper searching from beyond HERE. Amend the
4662 test for detecting the sought brace pair. Amend the value written
4663 to the "brace desert cache" when the brace isn't found.
4664 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4665 and several other variables analogously.
4666 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4667 parameter to a locally calculated variable.
4668 (c-parse-state-1): Change the calling conventions to the two
4669 defuns involving `cache-pos'.
4671 2013-01-25 Chong Yidong <cyd@gnu.org>
4673 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4675 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4677 * paren.el (show-paren-function): Make sure to set 'priority and
4678 'face only if the overlay does exist.
4680 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4682 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4684 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4686 (tramp-sh-handle-set-file-acl): Improve error checking.
4688 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4690 * doc-view.el (doc-view-display): Force mode line update until all
4691 document is converted. Suggested by Stefan Monnier (Bug#13164).
4693 2013-01-23 Bastien Guerry <bzg@gnu.org>
4695 * paren.el (show-paren-function): Make sure an overlay exists
4696 before trying to delete it. Also use `pos' as a position only
4697 when it is an integer.
4699 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4701 * play/gametree.el (gametree-break-line-here): Use point-marker.
4703 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4705 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4706 Mark descriptive parts with `display' property.
4708 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4710 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4711 New variable to map standard dict names to hunspell ones.
4712 (ispell-set-spellchecker-params): Make sure specific dict names
4713 are used for standard dicts with hunspell.
4715 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4717 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4718 chars for note (%N) and url (%U).
4719 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4721 2013-01-21 Juri Linkov <juri@jurta.org>
4723 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4724 in addition to existing separate binding `meta f10' in `global-map'.
4727 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4729 Improve XEmacs compatibility.
4731 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4733 * net/tramp-adb.el (top): Require `time-date'.
4734 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4735 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4736 Use `tramp-file-name-handler'.
4737 (tramp-adb-maybe-open-connection):
4738 Use `tramp-compat-set-process-query-on-exit-flag'.
4740 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4741 Use `tramp-compat-funcall'.
4743 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4744 `tramp-compat-funcall'.
4746 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4748 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4749 reimplementation using "adb shell command ..." instead of running
4750 remote shell interactively.
4752 2013-01-20 Glenn Morris <rgm@gnu.org>
4754 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4755 Add native profiler menu entries.
4757 * profiler.el (profiler-running-p): New function.
4758 (profiler-cpu-profile): Use profiler-running-p.
4759 (profiler-report-mode-map): Add some more menu entries.
4761 2013-01-19 Glenn Morris <rgm@gnu.org>
4763 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4764 fixes 2012-12-07 change. (Bug#13499)
4766 2013-01-19 Leo Liu <sdl.web@gmail.com>
4768 * dired.el (dired-get-marked-files): Prune erroneous values due to
4769 last change. (Bug#13152)
4771 2013-01-19 Glenn Morris <rgm@gnu.org>
4773 * progmodes/etags.el (tags-table-check-computed-list):
4774 Preserve point in tags buffer. (Bug#13412)
4776 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4778 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4779 Chong Yidong <cyd@gnu.org>
4781 * image-mode.el (image-next-file, image-previous-file):
4782 New commands (Bug#8453).
4783 (image-mode-map): Bind them to n and p.
4784 (image-mode--images-in-directory): New helper function.
4786 2013-01-19 Chong Yidong <cyd@gnu.org>
4788 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4789 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4790 save and restore the old window configuration.
4792 2013-01-18 Leo Liu <sdl.web@gmail.com>
4794 * progmodes/js.el: Tweak autoload cookie for alias.
4796 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4798 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4799 buffer local, again. This was lost with the fix on 2013-01-12.
4801 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4803 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4804 order to support several eshell buffers in parallel.
4806 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4808 * autorevert.el (auto-revert-use-notify): In the :set function, do
4809 not modify `kill-buffer-hook'.
4810 (auto-revert-notify-rm-watch):
4811 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4812 (auto-revert-notify-add-watch): Do not call
4813 `auto-revert-notify-rm-watch', but add it to a buffer local
4816 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4819 call to `eval' rather than a backquoted lambda.
4821 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4824 to return an explicit nil.
4825 (advice--remove-function): Change accordingly.
4827 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4828 the use of nadvice.el.
4830 * progmodes/which-func.el (which-function): Silence imenu errors
4833 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4835 * progmodes/sql.el (sql-imenu-generic-expression):
4836 (sql-mode-font-lock-object-name): Match schema qualified names.
4837 (sql-connect): Use string keys.
4838 (sql-product-interactive): Wait for interpreter prompt.
4839 (sql-comint-oracle): Set process coding based on NLS_LANG.
4841 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4843 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4844 (sql-interactive-remove-continuation-prompt):
4845 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4847 2013-01-14 Leo Liu <sdl.web@gmail.com>
4849 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4852 2013-01-14 Glenn Morris <rgm@gnu.org>
4854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4855 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4857 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4859 * progmodes/python.el (python-nav-end-of-statement):
4860 Fix cornercase when handling multiline strings.
4862 2013-01-13 Richard Stallman <rms@gnu.org>
4864 * mail/sendmail.el (mail-position-on-field): Add doc string.
4866 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4867 Get current message boundaries and pass them to
4868 message-forward-make-body-mime. Minor style changes.
4870 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4872 * cus-start.el (all): Avoid warnings about
4873 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4875 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4877 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4879 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4881 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4882 (jit-lock--debug-fontifying): New var.
4883 (jit-lock--debug-fontify): New function.
4884 * subr.el (condition-case-unless-debug): Don't prevent catching the
4885 error, just let the debbugger run.
4886 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4887 timer code and don't drop errors silently.
4889 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4891 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4892 `permanent-local' property.
4893 (auto-revert-notify-handler): Use `file-equal-p'.
4895 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4897 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4898 file notification by ACTION. For filtering by file name, compare
4899 only the non-directory part of the file name.
4901 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4903 * autorevert.el: Use cl-lib instead of cl.
4905 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4906 (vc-bzr-checkin): Use it.
4907 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4908 will preserve match-data.
4910 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4912 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4913 (js--declaration-keyword-re): New var.
4914 (js--multi-line-declaration-indentation): New function.
4915 (js--proper-indentation): Use it.
4917 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4919 * calc/calc.el (calc-highlight-selections-with-faces)
4921 * comint.el (comint-history-isearch-message):
4922 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4923 * ffap.el (ffap-string-at-point-region, ffap-next)
4924 (ffap-string-at-point, ffap-string-around)
4925 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4927 * font-lock.el (font-lock-keywords-alist)
4928 (font-lock-removed-keywords-alist):
4929 * help-mode.el (help-xref-symbol-regexp):
4930 * info.el (Info-find-emacs-command-nodes):
4931 * international/mule.el (add-to-coding-system-list):
4932 * isearch.el (isearch-message-function, isearch-fail-pos):
4933 * misearch.el (multi-isearch-next-buffer-function):
4934 * newcomment.el (comment-box):
4935 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4936 (pr-setting-database):
4937 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4938 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4939 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4940 (pike-font-lock-keywords-3):
4941 * progmodes/compile.el (compile):
4942 * progmodes/etags.el (tags-table-files)
4943 (tags-table-files-function, tags-included-tables-function):
4944 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4945 (gdb-restore-windows):
4946 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4947 (ps-n-up-filling-database):
4948 * server.el (server-buffer, server-log):
4949 * simple.el (newline, delete-backward-char, delete-forward-char)
4950 (minibuffer-history-isearch-message, kill-line, track-eol)
4951 (temporary-goal-column):
4952 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4953 (flyspell-default-deplacement-commands):
4954 * textmodes/ispell.el (ispell-accept-output):
4955 * textmodes/sgml-mode.el (html-tag-help):
4956 * vc/compare-w.el (compare-ignore-whitespace)
4957 (compare-ignore-case, compare-windows-dehighlight):
4958 * vc/diff.el (diff):
4959 * whitespace.el (whitespace-point)
4960 (whitespace-font-lock-refontify, whitespace-bob-marker)
4961 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4963 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4965 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4966 (auto-revert-notify-rm-watch): Ignore errors.
4967 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4968 inotify, and '(size last-write-time) for w32notify.
4969 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4970 watch fails - this is a fallback to the file modification check.
4971 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4972 (auto-revert-notify-event-action)
4973 (auto-revert-notify-event-file-name): New defuns.
4974 (auto-revert-notify-handler): Use them. Implement first
4975 plausibility checks.
4976 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4978 2013-01-11 Julien Danjou <julien@danjou.info>
4980 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4981 max are almost equal. Also return the correct value for V which is
4982 already between 0 and 1.
4984 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4986 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4988 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4990 * autorevert.el (auto-revert-notify-rm-watch)
4991 (auto-revert-notify-add-watch): Fix typos in w32notify function
4994 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4996 * autorevert.el (auto-revert-notify-enabled): Move up.
4997 (auto-revert-use-notify): New defcustom.
4998 (auto-revert-mode, global-auto-revert-mode)
4999 (auto-revert-notify-add-watch, auto-revert-handler)
5000 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5001 `auto-revert-notify-enabled'.
5003 2013-01-10 Elias Pipping <pipping@exherbo.org>
5005 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5006 * doc-view.el (doc-view-document->bitmap):
5007 Use doc-view-single-page-converter-function instead of
5008 single-page-converter arg; adjust callers.
5010 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5012 * progmodes/which-func.el (which-function): Understand Semantic's use
5013 of overlays in imenu--index-alist.
5015 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5017 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5018 (Man-man-k-use-anchor): New var.
5019 (Man-parse-man-k): New function.
5020 (Man-completion-table): Use it.
5021 (man): Flush the completion cache between uses.
5023 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5025 * autorevert.el: Add file watch support.
5026 (auto-revert-notify-enabled): New defconst.
5027 (auto-revert-notify-watch-descriptor-hash-list)
5028 (auto-revert-notify-watch-descriptor)
5029 (auto-revert-notify-modified-p): New defvars.
5030 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5031 (auto-revert-notify-handler): New defuns.
5032 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5033 when mode is disabled.
5034 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5035 (auto-revert-buffers): Add file watches for active buffers.
5037 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5039 * cus-start.el (toplevel): Only allow float values for
5040 scroll-up-aggressively and scroll-down-aggressively.
5041 Allow any number for line-spacing.
5043 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5046 (doc-view-pdf->png-converter-function): Use mupdf if available.
5047 (doc-view-djvu->png-converter-function)
5048 (doc-view-ps->png-converter-function): Remove.
5049 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5050 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5051 (doc-view-already-converted-p): Adjust accordingly.
5052 (doc-view-mode-p): Simplify.
5053 (doc-view-enlarge): Use setq-local.
5054 (doc-view-pdf->png-converter-ghostscript)
5055 (doc-view-djvu->png-converter-ddjvu)
5056 (doc-view-pdf->png-converter-mupdf): Rework to call
5057 doc-view-start-process directly.
5058 (doc-view-pdf/ps->png): Simplify accordingly.
5059 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5060 (doc-view-document->bitmap): Rename from doc-view-document->png.
5061 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5062 (doc-view-set-slice-from-bounding-box): Fix completion table.
5063 (doc-view-mode): Use add-hook for after-revert-hook.
5065 2013-01-10 Glenn Morris <rgm@gnu.org>
5067 * emacs-lisp/authors.el (authors-ignored-files)
5068 (authors-valid-file-names, authors-renamed-files-alist):
5069 Add some more entries.
5071 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5074 `t' pseudo-window entry.
5076 2013-01-10 Alan Mackenzie <acm@muc.de>
5078 Fix bugs in the c-parse-state mechanism. Reuse some markers
5079 instead of continually generating new ones.
5081 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5082 (c-state-old-cpp-end-marker): New variables.
5083 (c-append-lower-brace-pair-to-state-cache): Start a backward
5084 search for "}" definitively outside CPP constructs.
5085 (c-remove-stale-state-cache): Inform the caller of a need to
5086 search back for a brace pair in certain circumstances.
5087 (c-state-maybe-marker): New macro.
5088 (c-parse-state): Reuse markers when appropriate.
5090 2013-01-10 Glenn Morris <rgm@gnu.org>
5092 * simple.el (execute-extended-command): Doc fix.
5093 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5095 2013-01-10 Chong Yidong <cyd@gnu.org>
5097 * faces.el (read-face-name): Doc fix.
5099 2013-01-10 Roland Winkler <winkler@gnu.org>
5101 * emacs-lisp/crm.el: Allow any regexp for separators.
5102 (crm-default-separator): All spaces around the default comma separator.
5103 (crm--completion-command): New macro.
5104 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5105 (crm-complete-and-exit): Handle non-single-char separators.
5107 2013-01-09 Elias Pipping <pipping@lavabit.com>
5109 * doc-view.el: Add support for DjVu (bug#13164).
5110 (doc-view-djvu->png-converter-function): New config var.
5111 (doc-view-single-page-converter-function, doc-view--image-type)
5112 (doc-view--image-file-extension): New vars.
5113 (doc-view-mode): Initialize them.
5114 (doc-view-goto-page): Use them.
5115 (doc-view-mode-p): Add support for ddjvu.
5116 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5117 (doc-view-set-up-single-converter): New funs.
5118 (doc-view-pdf/ps->png): Extend for djvu.
5119 (doc-view-document->png): Rename from doc-view-pdf->png.
5120 (doc-view-convert-current-doc): Handle djvu.
5121 (doc-view-insert-image, doc-view-display)
5122 (doc-view-already-converted-p): Don't hardcode png.
5123 (doc-view-set-doc-type): Recognize djvu docs.
5125 2013-01-09 Elias Pipping <pipping@lavabit.com>
5127 * doc-view.el: Add support for mupdf converter (bug#13164).
5128 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5129 (doc-view-ps->png-converter-function): New config vars.
5130 (doc-view-pdf->png-converter-ghostscript)
5131 (doc-view-ps->png-converter-ghostscript)
5132 (doc-view-pdf->png-converter-mupdf): New functions.
5133 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5135 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
5137 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5138 first in session cache: When `tramp-own-remote-path' is in
5139 `tramp-remote-path', the remote path is only set in the session
5142 2013-01-09 Glenn Morris <rgm@gnu.org>
5144 * emacs-lisp/trace.el (trace-function-foreground)
5145 (trace-function-background): Doc fix.
5147 2013-01-09 Juri Linkov <juri@jurta.org>
5149 * international/mule-cmds.el (read-char-by-name): Move let-binding
5150 of completion-ignore-case around completing-read to fix regression
5151 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5152 `string-match-p' using the nil value of `case-fold-search' and
5153 `completion-ignore-case' in `completion-pcm--all-completions'.
5156 2013-01-09 Glenn Morris <rgm@gnu.org>
5158 * progmodes/compile.el (compilation-parse-errors):
5159 Fix typo. (Bug#13369)
5161 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5163 * comint.el (comint-send-input): Check size of buffer before
5164 waiting for process output, in case already accepted. (Bug#13290)
5166 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5169 * net/tramp-adb.el (tramp-adb-get-toolbox):
5170 Fix misspelling of 'unknown'.
5172 2013-01-08 Juri Linkov <juri@jurta.org>
5174 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5175 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5176 Use underline style wave on terminals that support it. (Bug#13000)
5178 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5181 the predicate returns nil.
5183 * simple.el: Use lexical-binding.
5184 (primitive-undo): Use pcase.
5185 (minibuffer-history-isearch-push-state): Use a closure.
5187 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5189 * simple.el (primitive-undo): Move from undo.c.
5191 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5193 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5194 (cvs-mode-remove-handled): Use it (bug#13380).
5196 * emacs-lisp/nadvice.el (advice--tweak): New function.
5197 (advice--remove-function, advice--subst-main): Use it.
5199 * emacs-lisp/advice.el: Update commentary.
5201 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5203 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5204 Remove spurious entry.
5206 2013-01-08 Glenn Morris <rgm@gnu.org>
5208 * net/tramp.el (tramp-default-host-alist): Add :version.
5210 2013-01-08 Juri Linkov <juri@jurta.org>
5212 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5213 single completion. (Bug#12456)
5214 (info--manual-names): Expand node completions into an explicit list
5215 before appending it to another list. Filter out internal buffers
5216 with the leading space in the buffer name. (Bug#10771)
5218 2013-01-08 Juri Linkov <juri@jurta.org>
5220 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5221 that defaults to the Top node.
5222 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5223 the short format (FILENAME) goes to the Top node.
5224 (Info-build-node-completions): Rename arg `file' to `filename'.
5227 2013-01-07 Bastien Guerry <bzg@gnu.org>
5229 * menu-bar.el (menu-bar-search-documentation-menu):
5230 Use `apropos-user-option' and fix the help message.
5232 2013-01-07 Bastien Guerry <bzg@gnu.org>
5234 * apropos.el (apropos-do-all): Update docstring.
5235 (apropos-user-option-button): New face.
5236 (apropos-user-option): Rename from `apropos-variable' and update
5238 (apropos-variable): Rewrite, now show all variables by default.
5239 (apropos-print): Mention "User option" instead of "Variable" when
5240 printing doc for user options. (Bug#13276)
5242 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5244 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5245 Handle filename correctly, when parsing "source -> target" symlink
5247 (tramp-adb-handle-set-file-times): New defun.
5249 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5251 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5252 advice list when the interactive-spec of ad-Advice-* changes.
5254 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5256 * wid-edit.el (widget-default-get): Work for inlined elements.
5259 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5261 * net/tramp.el (tramp-default-host-alist): New defcustom.
5262 (tramp-find-host): Use it.
5263 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5264 `eshell-directory-change-hook'.
5266 * net/tramp-adb.el (top): Add adb specific entry in
5267 `tramp-default-host-alist'.
5268 (tramp-adb-file-name-host): Remove function.
5269 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5270 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5272 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5274 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5276 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5278 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5280 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5281 consist of more than one digit.
5282 (tramp-adb-file-name-handler-alist):
5283 Use `tramp-handle-file-exists-p' consistently.
5284 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5285 (tramp-adb-handle-file-exists-p): Remove function.
5286 (tramp-adb-file-name-host): New defun.
5287 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5289 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5291 2013-01-06 Chong Yidong <cyd@gnu.org>
5293 * vc/vc.el (vc-next-action): Detect buffer modifications
5294 conflicting with locking VCS operation (Bug#11490).
5296 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5298 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5300 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5301 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5303 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5305 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5306 parsing of ls output using regular expression (handle filenames
5307 with spaces). Use virtual device number.
5308 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5311 2013-01-04 Daiki Ueno <ueno@gnu.org>
5313 * epg.el: Silence byte-compiler warnings.
5314 (epg--start): Use delete-char instead of delete-backward-char.
5315 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5317 2013-01-04 Daiki Ueno <ueno@gnu.org>
5319 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5320 Suggested by Eli Zaretskii <eliz@gnu.org>.
5322 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5324 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5325 non-negative integers. Otherwise, the default values are used.
5326 (tramp-convert-file-attributes): Convert uid and gid to integers.
5328 2013-01-04 Glenn Morris <rgm@gnu.org>
5330 * term.el (term-handle-colors-array): Ensure face attributes
5331 are fully specified, not nil. (Bug#13337)
5333 * term.el (term-default-fg-color, term-default-bg-color):
5336 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5337 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5338 rather than 'jka-compr being loaded. (Bug#13338)
5340 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5342 * icomplete.el (icomplete-completions):
5343 Honor icomplete-prospects-height once more following
5344 2012-11-29 changes. (Bug#13224)
5346 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5349 of called-interactively-p as well (bug#13237).
5351 * view.el (view--enable, view--disable): Rename from view-mode-enable
5352 and view-mode-disable and assume it's called from view-mode.
5353 (view-mode-enable, view-mode-disable): Redefine as obsolete
5354 compatibility layer above view-mode.
5355 (view-mode-enter): Call `view-mode'.
5357 * files.el (after-find-file): Call `view-mode'.
5359 * doc-view.el (doc-view-scale-internally): New var.
5360 (doc-view-enlarge, doc-view-insert-image): Obey it.
5362 2013-01-03 Daiki Ueno <ueno@gnu.org>
5364 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5367 2013-01-03 Glenn Morris <rgm@gnu.org>
5369 * mail/rmail.el (rmail-set-header-1): Ignore case.
5370 Handle multi-line headers. (Bug#13330)
5372 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5373 Handle paragraph starting at beginning of buffer.
5375 * subr.el (eval-after-load): Don't purecopy the form, so that it
5376 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5378 * emacs-lisp/byte-run.el (defun): Place cl declarations
5379 after any interactive spec. (Bug#13265)
5381 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5383 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5384 defun. Don't check for DECL if DOCSTRING isn't a string.
5387 2013-01-02 Glenn Morris <rgm@gnu.org>
5389 * eshell/em-cmpl.el (eshell-pcomplete):
5390 More thoroughly imitate pcomplete. (Bug#13293)
5392 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5393 Return nil for empty path elements. (Bug#13296)
5395 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5397 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5398 order to improve efficiency (Based on Daniel Colascione's
5399 <dancol@dancol.org> patch). (Bug#13182)
5401 2013-01-02 Glenn Morris <rgm@gnu.org>
5403 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5405 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5407 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5408 neither DOCSTRING nor DECL was given. (Bug#13316)
5410 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5412 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5414 (tramp-do-copy-or-rename-file): Ignore errors when calling
5415 `set-file-extended-attributes'.
5417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5418 Add handler for `file-acl'.
5419 (tramp-smb-handle-file-acl): New defun.
5421 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5423 * calc/README: Mention ISO 8601 week-numbering dates.
5425 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5427 * view.el (view-mode-enable): New argument run-view-mode-hook.
5428 Run view-mode-hook only when it's non-nil (Bug#13315).
5429 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5432 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5434 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5435 (No device connected, invalid device name). (Bug #13299)
5437 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5439 * window.el (window-resizable--p): Rename to window-resizable-p.
5440 (window-resize-no-error): New function.
5442 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5443 broken in fix from 2012-12-28.
5445 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5447 * subr.el (special-form-p): Don't signal errors on undef aliases.
5449 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5451 * calc/calc-forms.el (math-parse-date): Try using
5452 `math-parse-iso-date' when it looks like it might be needed.
5453 Allow times of 24:00.
5454 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5457 2012-12-30 Glenn Morris <rgm@gnu.org>
5459 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5460 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5461 (rmail-summary-displayed, rmail-summary): Declare.
5462 (mairix-rmail-display): Just require rmail.
5464 2012-12-30 Chong Yidong <cyd@gnu.org>
5466 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5467 check for the tarball contents.
5469 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5471 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5472 tarfile content listings (Bug#13136).
5474 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5476 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5477 Insert the undecoded text of the message being forwarded. (Bug#9521)
5479 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5481 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5482 integers, if they are real numbers. (Bug#13282)
5484 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5485 Return `t' on success.
5487 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5488 Add handler for `set-file-selinux-context'.
5490 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5492 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5493 (tramp-sh-handle-set-file-acl): Return `t' on success.
5495 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5497 * files.el (backup-buffer-copy, basic-save-buffer-2):
5498 If set-file-extended-attributes fails, fall back on set-file-modes
5499 instead of signaling an error. (Bug#13298)
5500 (basic-save-buffer): Likewise.
5502 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5504 * progmodes/python.el: Support other commands triggering
5505 python-indent-line so indentation cycling continues to work.
5506 (python-indent-trigger-commands): New defcustom.
5507 (python-indent-line): Use it.
5509 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5511 * progmodes/python.el (python-shell-send-region): Add blank lines
5512 for non sent code so backtraces remain correct.
5514 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5516 * progmodes/python.el: Remove cl dependency.
5517 (python-syntax-count-quotes): Replace incf call.
5518 (python-fill-string): Replace setf call.
5520 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5522 * info.el (info-other-window): New arg, for consistency with info.
5524 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5526 * mail/rmail.el (rmail-maybe-display-summary):
5527 Rewrite (Bug#13066).
5529 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5531 * epg.el (epg--start): Modify process-environment locally.
5533 2012-12-28 Daiki Ueno <ueno@gnu.org>
5535 * epg.el: Support pinentry-curses.
5536 Suggested by Werner Koch in
5537 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5538 (epg-agent-file, epg-agent-mtime): New variable.
5539 (epg--start): Record the modified time of gpg-agent socket file,
5540 to restore Emacs frame after pinentry-curses termination.
5541 (epg-wait-for-completion): Restore Emacs frame here.
5543 2012-12-27 Juri Linkov <juri@jurta.org>
5545 * info.el (Info-file-completions): New variable.
5546 (Info-read-node-name-1): Complete node names in the Info file
5547 when a file name is given. Call `Info-build-node-completions'
5549 (Info-build-node-completions): Add new arg `file'. When it is
5550 non-nil, visit it in a temporary buffer and cache its completions in
5551 `Info-current-file-completions'. Move most of the function body to
5552 `Info-build-node-completions-1'.
5553 (Info-build-node-completions-1): New function with the body from
5554 `Info-build-node-completions'. (Bug#12456)
5556 2012-12-27 Juri Linkov <juri@jurta.org>
5558 * frame.el (frame-maximization-style): Remove user option.
5559 (cycle-frame-maximized): Remove function.
5560 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5561 (toggle-frame-fullscreen): New command bound to <f11> instead of
5562 `toggle-frame-maximized'.
5563 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5565 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5567 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5569 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5570 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5571 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5572 for `file-accessible-directory-p'. (Bug#13275)
5574 2012-12-27 Sam Steingold <sds@gnu.org>
5576 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5577 continuations, see <http://stackoverflow.com/questions/3582436>.
5579 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5581 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5582 "module" and "def" to have indentation before them.
5583 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5585 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5587 2012-12-27 Alan Mackenzie <acm@muc.de>
5589 Speed up fontification where there's large brace blocks.
5590 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5591 to a call of c-beginning-of-decl-1.
5593 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5595 * comint.el (comint-adjust-window-point): New function.
5596 (comint-postoutput-scroll-to-bottom):
5597 Call comint-adjust-window-point (Bug#13248).
5599 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5601 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5603 (auto-mode-alist): Associate .gemspec files with ruby-mode
5604 (https://bugs.ruby-lang.org/issues/5453).
5606 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5608 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5609 Suppress coloring, if possible (required for BusyBox based systems like
5611 (tramp-adb-handle-file-attributes)
5612 (tramp-adb-handle-insert-directory)
5613 (tramp-adb-handle-file-name-all-completions): Use it.
5614 (tramp-adb-get-toolbox): New defun. Check for remote shell
5615 implementation (BusyBox or Toolbox).
5617 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5619 * startup.el (initial-buffer-choice): Allow function as value
5621 (command-line-1): Handle case where initial-buffer-choice
5622 specifies a function.
5623 * server.el (server-execute): Handle case where
5624 initial-buffer-choice specifies a function.
5626 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5628 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5630 (smtpmail-try-auth-methods): Forget the user name/password if the
5631 login is unsuccessful (bug#12424).
5633 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5635 * notifications.el (notifications-notify): Protect body with
5636 `with-demoted-errors'.
5638 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5639 Check properties of remote device. Restart connection, if there is a
5642 2012-12-21 Chong Yidong <cyd@gnu.org>
5644 * sort.el (sort-subr): Doc fix (Bug#13056).
5646 2012-12-21 Bastien Guerry <bzg@gnu.org>
5648 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5650 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5652 * simple.el (process-file): Overwrite stderr file, if exists.
5654 2012-12-21 Daiki Ueno <ueno@gnu.org>
5656 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5657 (epg-error): Set `error-message' property.
5659 2012-12-21 Chong Yidong <cyd@gnu.org>
5661 * international/mule-cmds.el (read-char-by-name): Signal an error
5662 if the user does not supply a valid character (Bug#13177).
5664 * simple.el (transpose-subr-1): Preserve marker positions by
5665 changing the insertion sequence (Bug#13122).
5667 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5669 * simple.el (kill-region): Deactivate mark even for empty regions
5672 2012-12-21 Chong Yidong <cyd@gnu.org>
5674 * help-fns.el (describe-variable): Make sure we get the right
5675 buffer name (Bug#13105). Suggested by Kelly Dean.
5677 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5679 * comint.el (comint-redirect-previous-input-string): New variable.
5680 (comint-redirect-setup, comint-redirect-cleanup)
5681 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5682 (comint-redirect-preoutput-filter): Fix verbose message.
5684 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5686 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5687 is too long for Tramp. See discussion in
5688 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5690 * progmodes/compile.el (compilation-start): Remove line escape
5693 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5695 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5698 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5700 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5701 following non-comment text (bug#13207).
5702 (lm-header-multiline): Continuation lines need to be indented more than
5704 (lm-homepage): New function.
5705 (lm-with-file): Don't be confused if narrowing is in effect.
5707 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5709 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5710 very beginning of a hunk (e.g. killing the first line).
5712 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5714 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5715 and text properties from returned ACL string.
5716 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5717 for "setfacl" command.
5719 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5721 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5722 `tramp-cleanup-this-connection', when the process has died.
5725 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5727 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5729 2012-12-17 Kevin Ryde <user42@zip.com.au>
5731 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5733 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5735 Add support for preserving ACL entries of files.
5737 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5738 `set-file-acl' handlers.
5740 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5741 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5743 * net/tramp-compat.el (tramp-compat-copy-file):
5744 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5746 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5747 Add `file-acl' and `set-file-acl' handlers.
5748 (tramp-gvfs-handle-copy-file):
5749 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5750 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5753 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5754 Add `file-acl' and `set-file-acl' handlers.
5755 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5756 (tramp-sh-handle-set-file-acl): New defuns.
5757 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5758 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5760 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5761 Add `file-acl' and `set-file-acl' handlers.
5762 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5764 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5766 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5767 use pop-to-buffer with NORECORD argument t. As buffer name, use
5768 *Metahelp* with a leading space (Bug#13190).
5770 2012-12-16 Romain Francoise <romain@orebokech.com>
5772 * files.el (file-extended-attributes)
5773 (set-file-extended-attributes): New functions.
5774 (backup-buffer): Use them to handle both SELinux context and ACL
5776 (backup-buffer-copy): Work with an alist of extended attributes,
5777 rather than an SELinux context.
5778 (basic-save-buffer-2): Ditto.
5780 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5782 * battery.el (battery-bsd-apm): New function.
5784 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5786 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5787 standard date formats.
5789 2012-12-15 Juri Linkov <juri@jurta.org>
5791 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5792 `isearch-insert-char-by-name'.
5793 (with-isearch-suspended): New defmacro with body mostly from
5794 `isearch-edit-string' except the part that sets
5795 `isearch-new-string' and `isearch-new-message'.
5796 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5797 body that sets `isearch-new-string' and `isearch-new-message'.
5798 (isearch-insert-char-by-name): New command.
5799 * international/mule-cmds.el (read-char-by-name): Let-bind
5800 `enable-recursive-minibuffers' to t.
5801 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5803 2012-12-15 Juri Linkov <juri@jurta.org>
5805 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5808 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5810 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5811 the prompt. (Bug#13045)
5813 2012-12-14 Glenn Morris <rgm@gnu.org>
5815 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5816 Try to include filename in non-bytecomp warning. (Bug#13132)
5818 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5820 Fix permissions bugs with setgid directories etc. (Bug#13125)
5821 * files.el (backup-buffer): Don't rely on 9th output of
5822 file-attributes, as it's now a placeholder. Instead, use the new
5823 optional arg of file-ownership-preserved-p.
5824 (file-ownership-preserved-p): New optional arg GROUP.
5825 Fix mishandling of setuid directories that would cause this
5826 function to return t when it should have returned nil.
5827 Document what happens if the file does not exist, and when
5828 it's not known whether the ownership will be preserved.
5829 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5831 (tramp-get-local-gid): Use group-gid for integer, as that's
5832 faster and more reliable.
5834 2012-12-14 Julien Danjou <julien@danjou.info>
5836 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5837 Update keywords list, data type and PL/pgSQL.
5839 2012-12-14 Dave Abrahams <dave@boostpro.com>
5841 * vc/ediff-util.el (ediff-buffer-type): New function.
5842 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5843 rather than taking it as as argument.
5844 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5846 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5848 * json.el: Add pretty-print option (bug#12634).
5849 (json-encoding-separator, json-encoding-default-indentation)
5850 (json--encoding-current-indentation, json-encoding-pretty-print)
5851 (json-encoding-lisp-style-closings): New vars.
5852 (json--with-indentation): New macro.
5853 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5854 (json-encode-array): Use it to obey json-encoding-pretty-print.
5855 (json-pretty-print-buffer, json-pretty-print): New commands.
5857 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5859 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5860 Extract `ruby-syntax-propertize-expansions'.
5861 (ruby-syntax-propertize-expansions): Only change syntax on
5862 certain string delimiters, to punctuation. This way the common
5863 functions like forward-word and thing-at-point still work.
5864 (ruby-match-expression-expansion): Improve readability.
5865 (ruby-block-contains-point): New function.
5866 (ruby-add-log-current-method): Handle several edge cases.
5868 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5870 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5871 unload-feature finishes even when aborting an ongoing edebug session.
5872 Also, do not worry about edebug-mode, unload-feature takes care of it.
5874 2012-12-13 Andreas Schwab <schwab@suse.de>
5876 * net/tls.el (tls-program): Update customize type.
5878 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5880 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5881 (edebug-setup-hook, cl-read-load-hooks): Use it.
5882 (edebug-unload-function): New function. (Bug#13163)
5884 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5886 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5887 Otherwise, there could be errors in autoloading. (Bug#13151)
5889 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5891 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5894 2012-12-13 Alan Mackenzie <acm@muc.de>
5896 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5897 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5898 around `forward-comment' not recognizing ^M as whitespace.
5900 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5902 * progmodes/python.el (python-skeleton-class)
5903 (python-skeleton-def): Do not add space after defun name.
5905 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5907 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5908 (cl--symbol-function): Remove (now that funbound is like nil).
5910 2012-12-12 Glenn Morris <rgm@gnu.org>
5912 * button.el (button--area-button-p): Fix typo.
5914 2012-12-12 Sam Steingold <sds@gnu.org>
5916 * frame.el (frame-maximization-style): New user option.
5917 (toggle-frame-maximized): Toggle frame maximization according to
5918 `frame-maximization-style', bound to <f11>.
5919 (cycle-frame-maximized): Cycle between all maximization styles and
5920 non-maximized frame, bound to shift-<f11>.
5922 2012-12-12 David Cadé <codename68@gmail.com>
5924 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5926 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5928 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5929 (eieio-override-prin1): Don't quote kewords and booleans.
5930 (object-write) <eieio-default-superclass>: Don't put closing parens
5931 on new line, avoid needless empty lines, align values that are objects
5932 with the slot keyword (instead of beginning on the same line).
5933 (eieio-list-prin1): Align value with slot keyword; increase
5934 eieio-print-depth before printing members of the list.
5936 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5939 a display text-property.
5940 (report-emacs-bug-hook): Don't bother deleting it any more.
5942 * hilit-chg.el (highlight-save-buffer-state): Delete.
5943 Use with-silent-modifications instead.
5944 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5946 * button.el: Handle buttons in display text-properties.
5947 (button--area-button-p, button--area-button-string):
5948 Use (STRING . STRING-POS) representation instead of just STRING.
5950 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5952 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5953 subdirectory be skipped.
5955 2012-12-11 Glenn Morris <rgm@gnu.org>
5957 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5959 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5960 Treat preprocessor lines embedded in continuations like comments.
5961 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5963 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5965 * calc/calc.el (calc-standard-date-formats): Add more date
5967 * calc/calc-forms.el (math-parse-iso-date): New function.
5968 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5969 (math-parse-iso-date-validate): Add extra error checking.
5970 (calc-date-notation): Add ability to access new date formats.
5972 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5975 font-lock as well as when there's no text-property.
5977 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5979 * hi-lock.el: Refine the choice of default face.
5980 (hi-lock-keyword->face): New function. Use it wherever we used
5982 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5983 (hi-lock--last-face): Remove var.
5984 (hi-lock--unused-faces): New var to replace it.
5985 (hi-lock-read-face-name): Use/maintain it.
5986 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5987 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5988 if it has another face.
5990 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5992 * subr.el (w32notify-handle-event): New function.
5993 (inotify-handle-event): Doc fix.
5995 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5997 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5999 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6001 * simple.el (just-one-space): Doc fix.
6003 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6005 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6007 2012-12-10 Le Wang <l26wang@gmail.com>
6009 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6010 narrowed buffer (bug#12361).
6012 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6014 * vc/vc-hooks.el (vc-state): Doc fix.
6016 2012-12-10 Glenn Morris <rgm@gnu.org>
6018 * mail/rmail.el (rmail-maybe-display-summary):
6019 Preserve buffer, in case select-window changes it. (Bug#13066)
6021 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6024 cl-load-hook where they belong.
6026 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6028 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6030 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6032 Parallelize byte compilation on MS-Windows.
6033 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6034 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6035 (WINS_BASIC): Define as concatenation of the above.
6036 (compile): Subdivide into 4 separate and independent jobs that can
6038 (compile0-CMD, compile0-SH): New targets for compiling
6039 COMPILE_FIRST files, which are prerequisites for the rest of the
6041 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6042 New targets for parallel compilation with cmd.exe.
6043 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6044 compiling under a Unixy shell.
6046 2012-12-09 Chong Yidong <cyd@gnu.org>
6048 * simple.el (set-mark-default-inactive): Delete this
6049 accidentally-introduced option.
6050 (set-mark-command, exchange-point-and-mark): Remove calls.
6052 2012-12-09 Glenn Morris <rgm@gnu.org>
6054 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6055 Respect a defcustom's :set function, if appropriate. (Bug#109)
6056 (eval-defun): Doc fix.
6058 2012-12-08 Juri Linkov <juri@jurta.org>
6060 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6061 (Info-fontify-node, Info-bookmark-make-record): Remove the
6062 file extension from Info-current-file (Bug#13016).
6064 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6066 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6067 point, still provide some default.
6068 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6069 names, since we don't use it right now. Actually return the list.
6070 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6072 2012-12-07 Chong Yidong <cyd@gnu.org>
6074 * novice.el (disabled-command-function): Remove a spurious help
6075 xref (Bug#13043). Suggested by Kelly Dean.
6077 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6078 syntax is specified (Bug#13025).
6080 * info.el (Info-set-mode-line): Remove the file extension from
6081 Info-current-file if there is one (Bug#13016).
6083 2012-12-07 Glenn Morris <rgm@gnu.org>
6085 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6086 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6087 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6088 and rmail-mime-decoded. (Bug#9841)
6090 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6091 (batch-unrmail, unrmail): Doc fixes.
6092 (unrmail): Respect unrmail-mbox-format.
6093 * mail/rmail.el (rmail-mbox-format): New option.
6094 (rmail-show-message-1): Respect rmail-mbox-format.
6096 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6098 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6100 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6102 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6103 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6104 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6105 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6106 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6107 (cl-progv): Don't rely on dynamic scoping to find the body.
6108 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6109 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6110 (cl-declaim): Use backquotes.
6111 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6112 Use "cl--" prefix for the object's tag.
6114 * ses.el: Use advice-add/remove.
6115 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6116 (copy-region-as-kill, yank): Use advice-add.
6117 (ses-unload-function): Use advice-remove.
6119 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6121 * button.el: Make them work in header-lines (bug#12817).
6122 (button-map): Add bindings for header-line and mode-line use.
6123 (button-get, button-put, button-label): `button' may now be a string.
6124 (button-activate): Don't make it a defsubst.
6125 (button--area-button-p, button--area-button-string): New functions.
6126 (make-text-button): Fix the return value when `beg' was a string.
6127 (push-button): Handle the mode-line case.
6129 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6131 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6132 (sql-signum): Remove. Use `cl-signum' instead.
6133 (sql-read-passwd): Remove; use read-passwd instread.
6134 (sql-get-login-ext): Use read-string.
6135 (sql-get-login): Use dolist and pcase.
6136 (sql--completion-table): Rename from sql-try-completion.
6137 Use complete-with-action.
6138 (sql-mode): Don't change abbrev-all-caps globally.
6139 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6140 (sql-postgres-completion-object): Initialize vars in their `let'.
6141 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6142 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6143 (sql-comint-interbase): Use a single append, without setq.
6144 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6146 * hi-lock.el: Rework the default face and the serialize regexp code.
6147 (hi-lock--auto-select-face-defaults): Remove.
6148 (hi-lock-string-serialize-serial): Remove.
6149 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6151 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6153 (hi-lock-set-pattern): Adjust accordingly.
6154 (hi-lock--regexps-at-point): Simplify accordingly.
6155 (hi-lock--auto-select-face-defaults): Remove.
6156 (hi-lock--last-face): New var to replace it.
6157 (hi-lock-read-face-name): Rewrite (bug#11095).
6158 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6160 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6162 * net/tramp.el (tramp-replace-environment-variables):
6163 Hide compiler warning.
6164 (tramp-file-name-for-operation): Remove `executable-find',
6165 `start-process', `call-process' and `call-process-region'.
6167 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6169 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6172 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6174 2012-12-06 Chong Yidong <cyd@gnu.org>
6176 * ffap.el (ffap-replace-file-component): Fix typo.
6178 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6181 fix open-paren-like token test (bug#12785).
6183 2012-12-06 Glenn Morris <rgm@gnu.org>
6185 * mail/rmailsum.el (rmail-new-summary): Tweak for
6186 rmail-maybe-display-summary changing buffer. (Bug#13066)
6188 2012-12-06 Juri Linkov <juri@jurta.org>
6190 * info.el (Info-fontify-node): Don't hide the last newline.
6193 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6195 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6196 so as to enable message-read-from-minibuffer to expand mail aliases.
6198 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6201 the `intangible' property.
6202 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6204 2012-12-05 Deniz Dogan <deniz@dogan.se>
6206 * net/rcirc.el (rcirc-urls): Update documentation.
6207 (rcirc-condition-filter): New function.
6208 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6209 and exclude consecutive duplicate URLs (Bug#6082).
6211 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6213 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6214 Check return code of copy command.
6216 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6217 Use group `tramp'. Add version.
6219 2012-12-05 Chong Yidong <cyd@gnu.org>
6221 * ffap.el (ffap-url-regexp): Don't require matching at front of
6223 (ffap-url-p): If only a substring matches, return that.
6224 (ffap-url-at-point): Use the return value of ffap-url-p.
6225 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6226 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6227 (ffap-guess-file-name-at-point): Likewise.
6228 (ffap-replace-file-component): Fix typo.
6230 * info.el (info-display-manual): Add existing Info buffers, whose
6231 files may not be in Info-directory-list, to the completion.
6232 (info--manual-names): New helper function.
6234 2012-12-05 Glenn Morris <rgm@gnu.org>
6236 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6237 New functions, for detecting and resolving conflicts. (Bug#10709)
6239 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6241 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6242 (hi-lock-auto-select-face-defaults): New buffer local variable.
6243 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6244 (hi-lock-unface-buffer): Prompt user with useful defaults.
6245 With prefix arg, unhighlight all hi-lock patterns in buffer.
6247 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6249 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6251 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6253 * Makefile.in (TRAMP_SRC):
6254 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6256 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6258 * net/tramp-adb.el: New package.
6260 2012-12-04 Chong Yidong <cyd@gnu.org>
6262 * terminal.el: Move to obsolete/.
6264 * longlines.el: Move to obsolete/.
6266 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6267 Remove code referring to longlines mode.
6269 2012-12-03 Juri Linkov <juri@jurta.org>
6271 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6273 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6275 * textmodes/ispell.el (ispell-init-process)
6276 (ispell-start-process, ispell-internal-change-dictionary):
6277 Make sure personal dictionary name is expanded after initial
6278 `default-directory' value. Use expanded strings for
6279 keep/restart checks and for value (Bug#13019).
6281 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6283 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6285 2012-12-03 Leo Liu <sdl.web@gmail.com>
6287 * files.el (dir-locals-read-from-file): Check file non-empty
6288 before reading. (Bug#13038)
6290 2012-12-03 Glenn Morris <rgm@gnu.org>
6292 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6293 Remove any version extension before checking filename. (Bug#13006)
6294 (jka-compr-compression-info-list): Belated :version bump.
6296 2012-12-03 Chong Yidong <cyd@gnu.org>
6298 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6300 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6301 (buffer-menu): Doc fix (Bug#12294).
6303 2012-12-03 Roland Winkler <winkler@gnu.org>
6305 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6306 of diary-show-all-entries in the diary buffer (Bug#12994).
6308 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6310 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6311 "<STDIN>". This is binary safe.
6313 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6315 * calc/calc-forms.el (math-absolute-from-iso-dt)
6316 (math-date-to-iso-dt, math-parse-iso-date-validate)
6317 (math-iso-dt-to-date): New functions.
6318 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6319 (math-fd-isoweekday): New variables.
6320 (calc-date-notation, math-parse-standard-date, math-format-date)
6321 (math-format-date-part): Add support for more formatting codes.
6323 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6325 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6326 current buffer's file name when called interactively (Bug#12488).
6328 2012-12-02 Juri Linkov <juri@jurta.org>
6330 * info.el (info-display-manual): Don't clobber an existing Info
6331 buffer (Bug#10770). Add completion (Bug#10771).
6333 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6335 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6336 before using it for comparison (Bug#5297).
6338 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6340 * textmodes/css-mode.el (css-current-defun-name): New function.
6343 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6344 (html-mode): Use it.
6346 2012-12-01 Chong Yidong <cyd@gnu.org>
6348 Modularize add-log-current-defun (Bug#2224).
6349 Suggested by Jari Aalto.
6351 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6352 (add-log-current-defun): Move mode-specific code to other files.
6353 (add-log-lisp-like-modes, add-log-c-like-modes)
6354 (add-log-tex-like-modes): Variables deleted.
6356 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6357 (lisp-mode-variables): Use it.
6359 * progmodes/cc-mode.el (c-common-init):
6360 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6361 add-log-current-defun-function.
6363 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6366 * progmodes/perl-mode.el (perl-current-defun-name): New.
6367 (perl-mode): Use it.
6369 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6370 Use lisp-current-defun-name.
6372 * textmodes/tex-mode.el (tex-current-defun-name): New.
6373 (tex-common-initialization): Use it.
6375 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6376 (texinfo-mode): Use it.
6378 2012-12-01 Chong Yidong <cyd@gnu.org>
6380 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6381 * progmodes/autoconf.el (autoconf-mode):
6382 * progmodes/js.el (js-mode):
6383 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6384 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6385 * progmodes/perl-mode.el (perl-mode):
6386 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6387 * textmodes/css-mode.el (css-mode):
6388 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6389 (sgml-tags-invisible, sgml-guess-indent):
6390 * textmodes/tex-mode.el (tex-common-initialization)
6391 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6392 (doctex-mode, plain-tex-mode, latex-mode):
6393 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6395 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6397 * vc/vc-hg.el (vc-hg-next-revision):
6398 Ensure use of default "tip" output format. (Bug#6968)
6400 2012-12-01 Kim F. Storm <storm@cua.dk>
6402 * startup.el (fancy-startup-tail): Add a clickable link
6405 2012-12-01 Chong Yidong <cyd@gnu.org>
6407 * startup.el (fancy-startup-tail): Improve the message about
6408 auto-save files (Bug#2176).
6410 * files.el (recover-session): Improve the descriptive message, and
6411 use substitute-command-keys.
6413 2012-12-01 Glenn Morris <rgm@gnu.org>
6415 * ido.el (ido-file-internal):
6416 Handle other-window, other-frame for dired. (Bug#13036)
6418 2012-11-30 Glenn Morris <rgm@gnu.org>
6420 * icomplete.el (icomplete-separator): Fix :version.
6422 2012-11-30 Chong Yidong <cyd@gnu.org>
6424 * shell.el (shell): For C-u M-x shell, use an inactive shell
6425 buffer as the default (Bug#1975).
6426 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6427 (shell-mode): Use them to reapply ansi colorization if Shell mode
6430 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6432 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6434 2012-11-30 Samuel Bronson <naesten@gmail.com>
6436 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6437 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6439 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6441 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6442 by move-to-column (Bug#3234).
6444 2012-11-30 Chong Yidong <cyd@gnu.org>
6446 * longlines.el (longlines-wrap-line, longlines-encode-region):
6447 Preserve text properties (Bug#1425).
6449 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6451 * vc/vc.el (vc-register): Allow registering a file which is
6452 already registered with a different backend (Bug#10589).
6454 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6455 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * icomplete.el: Change separator; add ido-style commands.
6458 (icomplete-show-key-bindings): Remove custom var.
6459 (icomplete-get-keys): Remove function.
6460 (icomplete-forward-completions, icomplete-backward-completions):
6462 (icomplete-minibuffer-map): New var.
6463 (icomplete-minibuffer-setup): Use it.
6464 (icomplete-exhibit): Don't delay if the list of completions is known.
6465 (icomplete-separator): New custom.
6466 (icomplete-completions): Use it.
6467 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6468 (minibuffer-force-complete-and-exit): New command.
6469 (minibuffer--complete-and-exit): New function extracted from
6470 minibuffer-complete-and-exit.
6471 (minibuffer-complete-and-exit): Use it.
6473 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6474 error message when the file doesn't exist (bug#12974).
6476 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6478 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6480 2012-11-29 Glenn Morris <rgm@gnu.org>
6482 * files.el (hack-dir-local-variables): Warn if try to set
6483 coding via dir-locals, since it doesn't work. (Bug#7169)
6485 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6486 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6487 Set buffer-local value of desktop-save-buffer.
6488 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6490 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6491 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6493 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6494 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6496 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6499 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6501 * calc/calc-forms.el (calc-date-notation): Fix regexp
6502 used to find time codes. Fix symbol for seconds.
6504 2012-11-27 Glenn Morris <rgm@gnu.org>
6506 * emacs-lisp/derived.el (derived-mode-make-docstring):
6507 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6509 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6511 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6512 lexically scoped variables (bug#13005).
6514 2012-11-27 Glenn Morris <rgm@gnu.org>
6516 * vc/vc-hooks.el (vc-mistrust-permissions):
6517 Default to t, to avoid data-loss. (Bug#11490)
6519 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6521 * progmodes/python.el (python-indent-guess-indent-offset):
6522 If indentation is guessed make python-indent-offset buffer-local.
6524 Fix Imenu regression.
6525 * progmodes/python.el (python-nav-beginning-of-defun):
6526 Fix forward movement when statement(s) separates point from defun.
6527 (python-imenu-prev-index-position): New function.
6529 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6531 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6533 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6534 Don't set buffer-file-type. Return nil. (Bug#12989)
6536 2012-11-27 Glenn Morris <rgm@gnu.org>
6538 * hippie-exp.el (hippie-expand-try-functions-list):
6539 Re-autoload it. (Bug#12982)
6541 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6543 * descr-text.el (describe-char-padded-string):
6544 Call internal-char-font only on GUI frames. (Bug#11964)
6546 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6548 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6549 and obsoletion message.
6551 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6554 the constructs to keep outside of the `cl-block' (bug#12977).
6556 2012-11-27 Chong Yidong <cyd@gnu.org>
6558 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6559 keep reading until we get the up-event anyway, in order to process
6560 the up-event for mouse-1-click-follows-link (Bug#12971).
6562 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6564 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6565 base function is not yet defined (bug#12965).
6566 (ad-activate-advised-definition): Use ad-compile-function.
6567 (ad-activate): Use cond.
6569 2012-11-25 Leo Liu <sdl.web@gmail.com>
6571 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6574 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6576 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6577 reftex-section-info-function in order to be compatible with
6578 Texinfo integration.
6580 * textmodes/reftex.el (reftex-section-pre-regexp)
6581 (reftex-section-post-regexp, reftex-section-info-function):
6583 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6584 reftex-section-post-regexp, and reftex-section-info-function in order
6585 to be compatible with Texinfo integration.
6587 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6588 use reftex-section-pre-regexp variable in order to be compatible with
6589 Texinfo integration.
6591 2012-11-25 Chong Yidong <cyd@gnu.org>
6593 * faces.el: Make face-spec-set more analogous to setq.
6594 (face-spec-set): Change the third arg to specify whether this
6595 function is being called via defface, customize, or a third party.
6596 Set the appropriate symbol properties. Clear the override spec if
6597 setting via Custom. Initialize face if necessary. (Bug#4988)
6598 (face-spec-recalc): Allow theme faces to completely replace the
6599 defface spec, in the same way as custom faces (Bug#8454).
6601 * cus-face.el (custom-declare-face): Move face initialization to
6603 (custom-theme-set-faces): Don't initialize the face name here, as
6604 that is now done in face-spec-set.
6606 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6607 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6608 Simplify by using the new arg to face-spec-set.
6610 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6611 reset face-override-spec too, and use custom-declare-face.
6613 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6615 * term/ns-win.el (ns-initialize-window-system): Move creation of
6616 fontsets here (Bug#11964).
6618 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6620 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6623 2012-11-24 Chong Yidong <cyd@gnu.org>
6625 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6628 * custom.el (custom-theme-set-variables): Use a topological sort
6629 for ordering by custom dependencies (Bug#12952).
6630 (custom--sort-vars, custom--sort-vars-1): New functions.
6632 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6634 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6635 lexical-binding (bug#12938).
6637 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6639 * image-mode.el (image-transform-check-size): Use assertions only
6640 for images of type imagemagick.
6642 Otherwise no error, image-transform-fit-to-{width,height} is
6643 silently ignored, as before. Doc fix.
6645 2012-11-24 Chong Yidong <cyd@gnu.org>
6647 * faces.el (color-defined-p): Doc fix (Bug#12853).
6649 2012-11-24 Juri Linkov <juri@jurta.org>
6651 * dired.el (dired-mark): Add optional arg `interactive'.
6652 Check for `use-region-p' if `interactive' is non-nil.
6653 (dired-unmark, dired-flag-file-deletion): Add optional arg
6654 `interactive'. Call `dired-mark' with the arg `interactive'.
6657 * wdired.el: Revert 2012-10-17 change partly and replace it with
6658 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6659 (wdired-finish-edit): Add marks for new file names to
6660 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6661 after `revert-buffer'.
6662 (wdired-do-renames): Remove calls to `dired-remove-file',
6663 `dired-add-file', `dired-add-entry'. (Bug#11795)
6665 2012-11-24 Alan Mackenzie <acm@muc.de>
6667 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6669 Fix bugs in the state cache. Enhance a debugging mechanism.
6670 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6671 "brace at column zero" strategy for C++.
6672 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6673 (c-parse-state-point): New variable.
6674 (c-record-parse-state-state): Record old parse state with
6675 `copy-tree'. Record previous value of point.
6676 (c-debug-parse-state-double-cons): New debugging function.
6677 (c-debug-parse-state): Call the above new function.
6678 (c-toggle-parse-state-debug): Output a confirmatory message.
6680 * progmodes/cc-mode.el (c-before-change, c-after-change):
6681 Call c-invalidate-state-cache from `c-before-change' instead of
6684 2012-11-23 Chong Yidong <cyd@gnu.org>
6686 * find-cmd.el (find-constituents): Add executable, ipath,
6687 readable, samefile, writable, daystart, regextype (Bug#12856).
6689 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6693 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6695 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6696 definition. This fixes a bootstrap failure.
6697 (calc-gregorian-switch): In menu, put dates before regions.
6698 This is easier to follow, lines up better in the menu, and lets us
6699 coalesce regions that switch at the same time. Give country
6700 names, not "Vatican", as that's better for non-expert users.
6701 Use names that are stable between the date of switch and now, e.g.,
6702 Bohemia and Moravia (which existed then and now) and not
6703 Czechoslovakia (which didn't exist then and doesn't exist now).
6704 What is now the U.S. mostly did not switch at the same time as
6705 Britain, so omit the U.S. Correct spelling of "Britain".
6706 Catholic Switzerland was too much of a mess, so omit it.
6708 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6710 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6711 after the variable is changed.
6713 2012-11-21 Daniel Colascione <dancol@dancol.org>
6715 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6716 in SQL declarations for font-lock.
6717 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6719 2012-11-21 Glenn Morris <rgm@gnu.org>
6721 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6722 (face-italic-p): Add optional argument "inherit".
6724 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6725 Remove -p suffix from names, for consistency with other set-face-*.
6726 (set-face-inverse-video): Fix interactive spec.
6727 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6728 * textmodes/table.el (table--update-cell-face):
6729 Use set-face-inverse-video rather than now obsolete alias.
6731 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6733 * simple.el (line-move): Don't call line-move-partial if
6734 scroll-conservatively is in effect. (Bug#12927)
6736 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6738 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6739 Fallback on completion-at-point rather than
6740 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6741 (eshell-cmpl-initialize): Setup completion-at-point.
6743 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6745 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6747 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6749 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6750 are remote, check out-of-band property for both.
6752 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6754 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6757 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6759 More minor time fixes.
6760 * calendar/time-date.el: Commentary fix.
6761 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6762 too much other code depends on (0 0) time stamps.
6763 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6764 Add a couple of FIXME comments.
6766 Minor cleanup for times as lists of four integers.
6767 * files.el (dir-locals-directory-cache):
6768 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6770 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6771 * ps-bdf.el (bdf-file-newer-than-time):
6772 Process four-integers time stamps, not two. Doc fixes.
6774 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * uniquify.el (uniquify-managed): Use defvar-local.
6777 (rename-buffer, create-file-buffer): Advise with advice-add.
6778 (uniquify-unload-function): Unadvise accordingly.
6780 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6781 (trace-buffer): Don't purecopy.
6782 (trace-entry-message, trace-exit-message): Add `context' arg.
6783 (trace--timer): New var.
6784 (trace-make-advice): Adjust for use in nadvice.
6785 Add `context' argument. Delay `display-buffer' via a timer.
6786 (trace-function-internal): Use advice-add.
6787 (trace--read-args): New function.
6788 (trace-function-foreground, trace-function-background): Use it.
6789 (trace-function): Rename to trace-function-foreground and redefine as
6790 an alias to that new name.
6791 (untrace-function, untrace-all): Adjust to the use of nadvice.
6793 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6795 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6797 * subr.el (called-interactively-p-functions): New var.
6798 (internal--called-interactively-p--get-frame): New macro.
6799 (called-interactively-p, interactive-p): Rewrite in Lisp.
6800 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6801 (called-interactively-p-functions): Use it.
6802 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6803 (called-interactively-p-functions): Use it.
6804 * allout.el (allout-called-interactively-p): Don't assume
6805 called-interactively-p is a subr.
6807 2012-11-20 Glenn Morris <rgm@gnu.org>
6809 * profiler.el (profiler-report-mode-map): Add a menu.
6810 No need to bind `q' because we derive from special-mode.
6811 (profiler-report-find-entry): Handle calls from the menu-bar.
6813 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * emacs-lisp/byte-run.el (defun-declarations-alist):
6816 Allow a compiler-macro to be a lambda expression.
6818 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6820 (python-syntax-context): Add compiler-macro.
6821 (python-font-lock-keywords): Simplify with De Morgan.
6823 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6825 * files.el (load-file): Require match in minibuffer selection, as was
6826 the case in Emacs-20 before we changed the spec to allow .elc files
6829 * json.el: Don't require cl since we don't use it.
6830 * color.el: Don't require cl.
6831 (color-complement): `caddr' -> `nth 2'.
6833 * calendar/time-date.el (time-to-seconds): De-obsolete.
6835 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6837 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6839 (math-date-to-julian-dt): Adjust the initial approximation for the
6840 year to deal with the new definition of the DATE.
6842 2012-11-19 Daniel Colascione <dancol@dancol.org>
6844 * term/w32-win.el (cygwin-convert-path-from-windows):
6845 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6847 2012-11-18 Chong Yidong <cyd@gnu.org>
6849 * filecache.el (file-cache--read-list): New function.
6850 (file-cache-add-directory-list, file-cache-add-file-list)
6851 (file-cache-delete-file-list, file-cache-delete-directory-list):
6852 Use it to read a list of files or directories (Bug#12846).
6853 (file-cache-add-file, file-cache-add-directory)
6854 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6855 (file-cache-delete-directory): Print an message.
6857 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6859 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6860 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6862 2012-11-18 Glenn Morris <rgm@gnu.org>
6864 * image.el (insert-image, insert-sliced-image): Doc fix.
6866 2012-11-18 Chong Yidong <cyd@gnu.org>
6868 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6871 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6873 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6874 response when the target file is in a subdirectory (Bug#12757).
6876 2012-11-18 Chong Yidong <cyd@gnu.org>
6878 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6880 2012-11-18 Glenn Morris <rgm@gnu.org>
6882 * emacs-lisp/cl-lib.el (face-underline-p):
6883 Use set-face-underline rather than the alias set-face-underline-p.
6885 * window.el (with-temp-buffer-window): Doc fix.
6886 * subr.el (with-output-to-temp-buffer):
6887 Add doc xref to with-temp-buffer-window.
6889 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6891 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6892 * calc/calc.el (math-format-date-cache): Declare.
6894 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6896 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6897 It also uses January 1, 1 AD as its day number 1.
6898 * calc/calc-forms.el (math-julian-date-beginning)
6899 (math-julian-date-beginning-int): Implement this.
6901 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6903 * descr-text.el (quail-find-key):
6904 * dired.el (desktop-file-name):
6905 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6906 * generic-x.el (comint-mode, comint-exec):
6907 * image-dired.el (widget-forward):
6908 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6909 (speedbar-change-expand-button-char)
6910 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6911 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6912 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6913 (widget-field-action, widget-value-set):
6914 * speedbar.el (imenu--make-index-alist):
6915 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6916 (ring-length, ring-insert):
6917 * vcursor.el (compare-windows-skip-whitespace):
6918 * woman.el (dired-get-filename):
6921 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6923 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6925 * calc/calc.el (calc-gregorian-switch): New variable.
6927 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6928 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6929 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6930 (math-leap-year-p): Add option to distinguish between Julian
6931 and Gregorian calendars.
6932 (math-day-number): Use `math-day-in-year' to do the computations.
6933 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6934 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6935 to do the computations.
6936 (math-date-to-dt): Use `math-date-to-julian-dt' and
6937 `math-date-to-gregorian-dt' to do the computations.
6938 (calcFunc-weekday, math-format-date-part): Use the new version of
6939 the DATE to determine the weekday.
6940 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6943 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6945 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6946 Cygwin; otherwise use 'file:'. (Bug#12914)
6947 (cygwin-convert-path-from-windows): Declare, to avoid
6948 byte-compiler warnings.
6950 2012-11-17 Andreas Politz <politza@fh-trier.de>
6952 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6953 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6954 prefix and negative numeric prefix args (Bug#12795).
6956 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6958 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6959 Don't signal an error with a score that is too low to add to the
6960 list of top scores. (Bug#12779)
6962 2012-11-17 Chong Yidong <cyd@gnu.org>
6964 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6966 * filecache.el (file-cache-add-file): Handle relative file name in
6967 the argument (Bug#12694).
6969 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6971 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6973 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6975 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6977 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6979 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6981 * window.el (enlarge-window, shrink-window): Don't mention return
6982 value in doc-string (Bug#12896).
6983 (window--display-buffer): Don't resize frames - it won't work
6984 with all window managers and defeat pop-up-frame-alist.
6985 (display-buffer-alist): In doc-string explain that CONDITION can
6986 be a function and which arguments are passed to it (Bug#12854).
6987 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6988 expressions (Bug#12854).
6989 (display-buffer): Pass ACTION argument to
6990 display-buffer-assq-regexp.
6992 2012-11-16 Glenn Morris <rgm@gnu.org>
6994 * window.el (fit-frame-to-buffer-bottom-margin)
6995 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6997 * faces.el (face-underline-p): Use face-attribute-specified-or.
6999 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7001 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7003 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7005 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7007 2012-11-16 Glenn Morris <rgm@gnu.org>
7009 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7010 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7012 * faces.el (face-underline-p): Doc fix. Handle :underline being
7013 things other than `t' (a string, a list).
7014 (face-inverse-video-p): Doc fix.
7015 (set-face-underline): Rename it back from set-face-underline-p.
7016 Doc fix. Allow interactive input of values other than t.
7017 (read-face-attribute): Apply formatting to :underline,
7018 since like :box and :stipple it can take list values.
7020 * term.el (ansi-term): Don't let C-x escape-char binding
7021 clobber the more standard C-c binding. (Bug#12842)
7023 * subr.el (set-temporary-overlay-map): Doc fix.
7025 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7027 * window.el (record-window-buffer)
7028 (display-buffer-record-window): When copying the markers to
7029 window-point preserve window-point-insertion-type. (Bug#12588)
7031 2012-11-16 Glenn Morris <rgm@gnu.org>
7033 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7034 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7035 Use new names for hooks rather than obsolete aliases.
7037 2012-11-15 Daniel Colascione <dancol@dancol.org>
7039 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7040 prefix instead of "file:" so that when FILE-NAME begins with "//",
7041 as it does when the target file is on a network share, url-handler
7044 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7047 a preactivated advice from an old advice.el; they're not compatible!
7049 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7051 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7052 Fix string-spec case.
7054 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7056 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7058 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7059 (advice--buffer-local-function-sample): New var.
7060 (advice--set-buffer-local, advice--buffer-local): New functions.
7061 (add-function, remove-function): Use them.
7063 2012-11-15 Drew Adams <drew.adams@oracle.com>
7065 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7067 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7070 potential binding of print-gensym to t, and prettify (back)quotes in
7071 case they appear in args's default values (bug#12884).
7073 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7075 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7076 (advice-eval-interactive-spec): New function.
7077 (advice--make-interactive-form): Support around advice (bug#12844).
7079 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7081 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7082 more strict. Add docstring.
7083 (ruby-expression-expansion-re): Extract from
7084 `ruby-match-expression-expansion'.
7085 (ruby-syntax-propertize-function): After everything else, search
7086 for expansions in string literals, mark their insides as
7087 whitespace syntax and save match data for font-lock.
7088 (ruby-font-lock-keywords): Use the 2nd group from expression
7090 (ruby-match-expression-expansion): Use the match data saved to the
7091 text property in ruby-syntax-propertize-function.
7093 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7098 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7100 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7101 start/end keyword a bit harder. Works with different values of N.
7103 (ruby-end-of-block): Update accordingly.
7105 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * woman.el (woman-file-name): Don't mess with unread-command-events
7110 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7111 Remove out of date self-require hack.
7112 (ad-do-advised-functions): Use simple `dolist'.
7113 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7114 (ad-advice-definition): Redefine as functions.
7115 (ad-advice-classes): Move before first use.
7116 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7117 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
7118 (ad--defalias-fset): Remove functions.
7119 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7120 (ad-get-orig-definition): Rewrite.
7121 (ad-make-advised-definition-docstring): Change base docstring.
7122 (ad-real-orig-definition): Rewrite.
7123 (ad-map-arglists): Change name of called function.
7124 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7125 (ad-make-advised-definition): Simplify.
7126 (ad-assemble-advised-definition): Tweak for new calling context.
7127 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7128 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7129 function and call ad-activate if needed.
7130 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7131 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7132 (ad-compile-function): Compile ad-Advice-*.
7133 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7134 (ad-start-advice, ad-stop-advice): Remove.
7136 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7138 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7139 period before class method names, not after. Remove handling of
7140 one impossible case. Add comments.
7142 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7144 * emacs-lisp/advice.el: Remove support for freezing.
7145 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7146 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7147 Remove support for `freeze'.
7149 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7150 override the default.
7151 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7153 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7156 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7158 (advice--strip-macro): New function.
7159 (advice--defalias-fset): Use them to handle macros.
7160 (advice-add): Use them.
7161 (advice-member-p): Correctly handle macros.
7163 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7165 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7166 Never font-lock the beginning of singleton class as heredoc.
7168 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7172 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7174 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7175 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7176 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7178 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
7180 Fix end-of-defun misbehavior.
7181 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7182 python-beginning-of-defun-function. Handle nested defuns
7184 (python-nav-end-of-defun): Rename from
7185 python-end-of-defun-function. Ensure forward movement.
7186 (python-info-current-defun): Reimplement to work as intended
7187 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7188 parent defuns as soon as possible.
7190 2012-11-13 Glenn Morris <rgm@gnu.org>
7192 * progmodes/flymake.el (flymake-error-bitmap)
7193 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7194 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7196 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7198 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7199 backward, always stop at indentation. Reverts the change from
7200 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7202 2012-11-13 Glenn Morris <rgm@gnu.org>
7204 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7205 Add ibuffer-filter-by-derived-mode.
7207 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7208 the same name shadowing each other.
7210 * window.el (with-temp-buffer-window): Doc tweak.
7212 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7214 * help.el (temp-buffer-max-height):
7215 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7216 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7218 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7220 * emacs-lisp/nadvice.el: New package.
7221 * subr.el (special-form-p): New function.
7222 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7223 (elp-all-instrumented-list): Remove var.
7224 (elp-not-profilable): Remove elp-wrapper.
7225 (elp-profilable-p): Use autoloadp and special-form-p.
7226 (elp--advice-name): New const.
7227 (elp-instrument-function): Use advice-add.
7228 (elp--instrumented-p): New predicate.
7229 (elp-restore-function): Use advice-remove.
7230 (elp-restore-all, elp-reset-all): Use mapatoms.
7231 (elp-set-master): Use elp--instrumented-p.
7232 (elp--make-wrapper): Rename from elp-wrapper, return a function
7233 suitable for advice-add. Use cl-inf.
7234 (elp-results): Use mapatoms+elp--instrumented-p.
7235 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7236 (debug-function-list): Remove var.
7237 (debug): Rename arg, and then let-bind it explicitly inside.
7238 (debugger-setup-buffer): Rename arg.
7239 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7240 (debugger-frame-number): Adjust to new debug-on-entry setup.
7241 (debug--implement-debug-on-entry): Rename from
7242 implement-debug-on-entry, add argument.
7243 (debugger-special-form-p): Remove, use special-form-p instead.
7244 (debug-on-entry): Use advice-add.
7245 (debug--function-list): New function.
7246 (cancel-debug-on-entry): Use it, along with advice-remove.
7247 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7248 (debugger-list-functions): Use debug--function-list instead of
7249 debug-function-list.
7250 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7251 (ad-special-form-p): Remove, use special-form-p instead.
7252 (ad-set-advice-info): Use add-function and remove-function.
7253 (ad--defalias-fset): Adjust accordingly.
7255 2012-11-10 Glenn Morris <rgm@gnu.org>
7257 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7258 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7259 (report-emacs-bug-create-existing-bugs-buffer)
7260 (report-emacs-bug-parse-query-results)
7261 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7263 * term.el (term-default-fg-color, term-default-bg-color):
7264 Make obsolete, rather than just saying "deprecated" in the doc.
7266 * term.el (term): Rename from `term-face'.
7267 (term-current-face, ansi-term-color-vector)
7268 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7271 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7273 * server.el (server-create-window-system-frame): Handle Nextstep
7274 specially (Bug#12780).
7276 2012-11-10 Glenn Morris <rgm@gnu.org>
7278 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7279 Unautoload, and make obsolete. (Bug#7449)
7281 2012-11-10 Chong Yidong <cyd@gnu.org>
7283 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7284 rename from diff-remove-trailing-whitespace (Bug#12831).
7286 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7289 miscompilation of trace.el.
7291 2012-11-10 Glenn Morris <rgm@gnu.org>
7293 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7295 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7300 2012-11-10 Chong Yidong <cyd@gnu.org>
7302 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7303 a defcustom with an appropriate :set function.
7304 (minibuffer-default--in-prompt-regexps): New function.
7306 2012-11-10 Glenn Morris <rgm@gnu.org>
7308 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7309 (define-modify-macro): Doc fixes.
7311 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7312 (gv-define-simple-setter): Update doc of `fix-return'.
7314 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7316 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7317 twice when `fix-return' is set (bug#12813).
7319 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7320 gv-define-simple-setter (bug#12812).
7322 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7325 2012-11-10 Glenn Morris <rgm@gnu.org>
7327 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7329 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7330 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7331 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7332 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7334 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7336 2012-11-10 Leo Liu <sdl.web@gmail.com>
7338 * ido.el (ido-set-matches-1): Improve flex matching performance by
7339 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7341 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7344 (ad--defalias-fset): New function.
7345 (ad-safe-fset): Remove.
7346 (ad-make-freeze-definition): Use cl-letf*.
7348 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7350 * subr.el (dolist): Don't bind VAR in RESULT.
7352 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7353 (fset, documentation): Don't save real def since we don't advise.
7354 (ad-do-advised-functions): Remove problematic `result-form'.
7355 (ad-safe-fset): `ad-real-fset' => `fset'.
7356 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7357 uses CL's dolist internally.
7358 (ad-arglist): Remove unused arg `name'.
7359 (ad-docstring, ad-make-advised-docstring):
7360 `ad-real-documentation' => `documentation'.
7361 (warning-suppress-types): Declare.
7362 (ad-set-arguments): Simple CSE.
7363 (ad-recover-normality): Sanity check.
7365 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7366 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7368 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7370 * ses.el: symbol to coordinate mapping is made by symbol property
7371 `ses-cell'. This means that the same mapping is done for all SES
7372 sheets. That is good enough for cells with standard A1 names, but
7373 not for named cell. So a hash map is added for the latter.
7374 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7375 (ses-sym-rowcol): Use hashmap for named cell.
7376 (ses-is-cell-sym-p): New defun.
7377 (ses-decode-cell-symbol): New defun.
7378 (ses-create-cell-variable): Add cell to hashmap when name is not
7380 (ses-rename-cell): Check that cell new name is not already in
7381 spreadsheet with the use of ses-is-cell-sym-p
7382 (ses-rename-cell): Use hash map for named cells, but accept also
7383 renaming back to A1-like.
7385 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * emacs-lisp/advice.el: Use new dynamic docstrings.
7388 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7389 Use dynamic-docstring-function instead of ad-advice-info.
7390 (ad--make-advised-docstring): New function extracted from
7391 ad-make-advised-docstring.
7392 (ad-make-advised-docstring): Use it.
7393 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7395 (sql-help): Use it with dynamic-docstring-function.
7397 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7399 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7401 * files.el (hack-one-local-variable--obsolete): New function.
7402 (hack-one-local-variable): Use it for obsolete settings.
7404 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7407 * progmodes/js.el (js--filling-paragraph): New var.
7408 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7409 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7412 2012-11-08 Julien Danjou <julien@danjou.info>
7414 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7415 `auto-mode-alist' (Bug#12835).
7417 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7419 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7420 (perl--prettify-symbols-alist): New const.
7421 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7423 (perl-font-lock-keywords-2): Use them.
7424 (perl-electric-noindent-p): New function.
7425 (perl-mode): Use it to set up electric-indent-mode.
7426 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7427 (perl-mode-map): Remove bindings for them.
7428 (perl-imenu-generic-expression, perl-outline-level):
7429 Match functions&packages in column>0.
7431 * env.el (env--substitute-vars-regexp): New const.
7432 (substitute-env-vars): Use it. Add `only-defined' arg.
7433 * net/tramp.el (tramp-replace-environment-variables): Use it.
7435 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7436 Byte-compile *before* eval in eval-and-compile.
7437 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7438 (byte-compile-file-form-autoload): Don't hide actual definition.
7439 (byte-compile-maybe-guarded): Accept `functionp' as well.
7441 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7443 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7445 * notifications.el (notifications-get-server-information-method):
7447 (notifications-get-capabilities): Fix docstring.
7448 (notifications-get-server-information): New defun.
7450 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7452 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7455 * textmodes/ispell.el: Experimental support for support debugging.
7456 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7458 (ispell-print-if-debug): New function to print stuff to
7459 `ispell-debug-buffer' if debugging is enabled.
7460 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7461 show some debugging info.
7462 (ispell-buffer-with-debug): New function that creates a debugging
7463 buffer and calls `ispell-buffer' with debugging enabled.
7465 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7466 comment in autoconf mode. (Bug#12768)
7468 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7470 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7471 frame-first-window, frame-root-window, frame-selected-window,
7472 minibuffer-selected-window, minibuffer-window,
7473 window-absolute-pixel-edges, window-at, window-body-height,
7474 window-body-width, window-display-table, window-combination-limit,
7475 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7476 window-inside-edges, window-inside-pixel-edges, window-left-child,
7477 window-left-column, window-margins, window-next-buffers,
7478 window-next-sibling, window-new-normal, window-new-total,
7479 window-normal-size, window-parameter, window-parameters, window-parent,
7480 window-pixel-edges, window-point, window-prev-buffers,
7481 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7482 window-start, window-text-height, window-top-child, window-top-line,
7483 window-total-height, window-total-width and window-use-time to the list
7484 of functions without side-effects.
7485 (toplevel): Add window-valid-p to the list of error-free functions
7486 without side-effects.
7488 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7490 * textmodes/ispell.el (ispell-program-name):
7491 Update spellchecker parameters when customized.
7493 2012-11-04 Glenn Morris <rgm@gnu.org>
7495 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7497 2012-11-04 Chong Yidong <cyd@gnu.org>
7499 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7500 same-window-* variables.
7502 2012-11-04 Juri Linkov <juri@jurta.org>
7504 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7505 (isearch-describe-key, isearch-describe-mode): Use a display
7506 action instead of binding same-window-* variables (Bug#10040).
7508 2012-11-03 Glenn Morris <rgm@gnu.org>
7510 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7511 Rename handler properties back from cl-- to cl-. (Bug#12788)
7513 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7515 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7517 * term/pc-win.el: Don't load term/internal from here.
7519 * loadup.el: Load term/internal from here.
7521 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7523 * progmodes/python.el (inferior-python-mode): Fix hang in
7524 jit-lock (Bug#12645).
7526 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7528 * window.el (switch-to-visible-buffer)
7529 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7531 2012-11-03 Glenn Morris <rgm@gnu.org>
7533 * emacs-lisp/cl-lib.el (cl--random-time):
7534 Rename from cl-random-time. (Bug#12773)
7535 (cl--gensym-counter, cl--random-state): Update callers.
7536 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7538 2012-11-03 Chong Yidong <cyd@gnu.org>
7540 * cus-start.el: Make cursor-type customizable (Bug#11633).
7542 2012-11-02 Glenn Morris <rgm@gnu.org>
7544 * filecache.el: No need to load find-lisp when compiling.
7545 (find-lisp-find-files): Autoload it.
7546 (file-cache-add-directory-recursively): Don't require find-lisp.
7548 * image.el (image-type-from-file-name): Trivial simplification.
7550 * emacs-lisp/bytecomp.el (byte-compile-eval):
7551 Decouple "noruntime" and "cl-functions" warnings.
7553 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7555 * play/gomoku.el (gomoku-display-statistics): Update mode line
7556 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7558 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7560 * window.el (quit-restore-window): If the window has been
7561 created on an existing frame and ended up as the sole window on
7562 that frame, do not delete it (Bug#12764).
7564 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7566 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7567 Rename from sh--inside-arithmetic-expression, handle more cases
7570 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7571 (sh-font-lock-open-heredoc): Use it (bug#12770).
7573 2012-10-30 Glenn Morris <rgm@gnu.org>
7575 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7577 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7579 2012-10-29 Chong Yidong <cyd@gnu.org>
7581 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7582 function key is stored in a keyboard macro (Bug#4894).
7584 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7586 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7588 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7590 (diff-unified->context, diff-context->unified)
7591 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7593 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7595 * files.el (find-alternate-file): Only ask one question (bug#12487).
7597 2012-10-29 Chong Yidong <cyd@gnu.org>
7599 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7600 Suggested by Dan Nicolaescu (Bug#6326).
7602 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7604 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7606 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7608 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7610 * face-remap.el (face-remap-add-relative): Handle the case where a
7611 face-remapping-alist entry is a cons cell (Bug#12762).
7613 2012-10-29 Kevin Ryde <user42@zip.com.au>
7615 * woman.el (woman-parse-numeric-value): Handle picas correctly
7618 2012-10-29 Glenn Morris <rgm@gnu.org>
7620 * emacs-lisp/cl.el (defsetf): Doc fix.
7622 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7624 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7625 syntax to the matching opener, if any (bug#12547).
7626 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7627 matching open as a "case-(".
7628 (sh-smie-rc-grammar): Add a corresponding rule for it.
7630 2012-10-28 Daniel Hackney <dan@haxney.org>
7632 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7633 "PKGNAME-autoloads.el" in case we created it.
7635 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7638 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7639 (completion--twq-all): Disable too-strict assertions.
7641 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7643 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7645 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7646 text to match the real keybindings.
7648 2012-10-27 Juri Linkov <juri@jurta.org>
7650 * wdired.el (wdired-keep-marker-rename): New defcustom.
7651 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7654 * dired.el (dired-keep-marker-rename): Add reference to
7655 `wdired-keep-marker-rename' in the docstring.
7656 Add default character value ?R to display initially in
7657 Customization UI instead of ?@.
7659 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7661 * window.el (display-buffer): In doc-string describe
7662 window-height and window-width alist entries.
7664 * time.el (display-time-world): Restore fit-window-to-buffer
7667 2012-10-27 Chong Yidong <cyd@gnu.org>
7669 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7671 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7673 * minibuffer.el (completion-category-overrides): New completion
7674 category `bookmark' (bug#11131).
7676 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7679 Silence bogus compiler warnings for ad-do-it.
7681 * bookmark.el (bookmark-completing-read): Set the completion category
7682 to `bookmark' (bug#11131).
7684 2012-10-26 Bastien <bzg@altern.org>
7685 Stefan Monnier <monnier@iro.umontreal.ca>
7687 * face-remap.el: Use lexical-binding.
7688 (text-scale-adjust): Improve docstring. Use itself for the temporary
7689 overlay-map bindings, so as to repeat the "Use..." message each time.
7691 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * emacs-lisp/macroexp.el (macroexp--expand-all):
7694 Obey byte-compile-warning-enabled-p (bug#12486).
7696 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7697 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7699 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7701 * mouse.el (mouse-drag-line): Move last form into preceding when
7704 * help.el (resize-temp-buffer-window): Fix doc-string.
7706 2012-10-25 David Engster <deng@randomsample.de>
7708 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7709 Remove. This feature is already integrated in imenu.
7711 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7712 always loaded. Require `speedbar' unconditionally.
7714 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7718 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7720 * net/ldap.el (ldap-search-internal): The official ldif format starts
7721 with a "version: 1" header (bug#12724).
7723 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7726 2012-10-25 Glenn Morris <rgm@gnu.org>
7728 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7730 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * minibuffer.el (minibuffer-force-complete): Use one more marker
7733 for the temporary-overlay-map command (bug#12619).
7735 2012-10-24 Chong Yidong <cyd@gnu.org>
7737 * time.el (display-time-world-mode): Derive from special-mode.
7738 (display-time-world): Use display-buffer (Bug#12708).
7739 (display-time-world-mode-map): Variable deleted.
7740 (display-time-world-display): Wrap the final delete-char inside
7743 2012-10-24 Chong Yidong <cyd@gnu.org>
7745 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7748 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7750 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7752 * minibuffer.el (completion--all-sorted-completions-location): New var.
7753 (completion--cache-all-sorted-completions)
7754 (completion--flush-all-sorted-completions): Use it.
7755 (completion-in-region, completion-in-region--postch)
7756 (completion-at-point, completion-help-at-point): Use markers in
7757 completion-in-region--data (bug#12619).
7759 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * progmodes/compile.el (compilation-start): Try to handle common
7762 quoting of `cd' argument (bug#12640).
7764 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7767 2012-10-23 Glenn Morris <rgm@gnu.org>
7769 * progmodes/gud.el (gud-menu-map):
7770 Check gdb-active-process is bound. (Bug#12358)
7772 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7774 * repeat.el (repeat): Set real-this-command (bug#12232).
7776 * htmlfontify.el (hfy-post-html-hook):
7777 * filesets.el (filesets-cache-fill-content-hook):
7778 * arc-mode.el (archive-extract-hook):
7779 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7780 * net/rcirc.el (rcirc-sentinel-functions)
7781 (rcirc-receive-message-functions, rcirc-activity-functions)
7782 (rcirc-print-functions):
7783 * net/dbus.el (dbus-event-error-functions):
7784 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7785 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7786 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7787 * term/sun.el (sun-raw-prefix-hooks):
7788 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7790 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7792 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7793 Set `tramp-chunksize' to 1. This improves the performance.
7794 (tramp-smb-wait-for-output): Add timeout to
7795 `tramp-accept-process-output' calls.
7797 2012-10-23 Chong Yidong <cyd@gnu.org>
7799 * faces.el (font-list-limit): Define as an obsolete variable.
7801 * startup.el (command-line):
7802 * cus-start.el: Don't refer to font-list-limit.
7804 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7806 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * subr.el (internal-temp-output-buffer-show): Rename from
7809 temp-output-buffer-show, since previously compiled files expect this name.
7811 2012-10-23 Glenn Morris <rgm@gnu.org>
7813 * image.el (image-type-from-file-name): If multiple types match,
7814 return the first one that is supported. (Bug#9045)
7816 2012-10-22 Glenn Morris <rgm@gnu.org>
7818 * image.el (imagemagick-enabled-types): Doc fix.
7820 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7822 * progmodes/which-func.el (which-func-current): The hash-table may have
7823 an explicit nil (bug#12338).
7825 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7827 * electric.el (electric-pair-delete-selection-self-insert-function):
7828 Rename to electric-pair-will-use-region, return a boolean.
7829 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7831 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7832 (delete-selection-pre-hook): Use use-region-p.
7833 (delete-selection-self-insert-function): Remove.
7834 (self-insert-command): Obey self-insert-uses-region-functions.
7835 (self-insert-iso): Revert to previous setting, since we don't actually
7836 know what that command does.
7837 (delete-selection-self-insert-hooks): Remove.
7839 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7841 * delsel.el (delete-selection-helper): New function, extracted from
7842 delete-selection-pre-hook.
7843 (delete-selection-pre-hook): Use it.
7844 (delete-selection-self-insert-function): New function.
7845 (delete-selection-self-insert-hooks): New hook.
7846 (self-insert-command, self-insert-iso): Use it.
7847 * electric.el (electric-pair-syntax): New function, extracted from
7848 electric-pair-post-self-insert-function.
7849 (electric-pair-post-self-insert-function): Use it.
7850 (electric-pair-delete-selection-self-insert-function): New function.
7851 (electric-pair-mode): Require delsel and setup
7852 delete-selection-self-insert-hooks (bug#11520).
7854 2012-10-20 Chong Yidong <cyd@gnu.org>
7856 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7857 no changes to show (Bug#12586).
7859 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7860 list explicitly (Bug#12571).
7862 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7864 * progmodes/flymake.el (flymake-create-temp-inplace):
7867 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7869 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7871 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7873 * calc/calc-units.el (math-extract-units): Properly extract powers
7876 2012-10-20 Daniel Colascione <dancol@dancol.org>
7878 * frame.el (make-frame): Set x-display-name as we used to in order
7879 to unbreak creating an X11 frame from an Emacs daemon started
7882 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7885 the same completion-field (bug#12221).
7887 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7889 * emacs-lisp/debug.el (debug): Record height of debugger window
7890 also when debugger will be back (Bug#8789).
7892 2012-10-18 Chong Yidong <cyd@gnu.org>
7894 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7895 Convert to defcustom.
7896 (gdb-get-source-file): Don't bind pop-up-windows.
7898 * progmodes/gud.el (gud-display-line): Don't specially re-use
7899 other frames for the gdb-mi case (Bug#12648).
7901 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7903 * emacs-lisp/advice.el: Clean up commentary a bit.
7904 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7905 (byte-code-function-p): Never redefine.
7907 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7909 2012-10-18 Glenn Morris <rgm@gnu.org>
7911 * dired.el (dired-sort-toggle): Some ls implementations only allow
7912 a single option string. (Bug#12666)
7914 * minibuffer.el (completion-cycle-threshold): Doc fix.
7916 2012-10-17 Kenichi Handa <handa@gnu.org>
7918 * international/mule.el (set-keyboard-coding-system):
7919 Recover input meta mode when the new coding system doesn not use 8-bit.
7920 Supply TERMINAL arg to set-input-meta-mode.
7922 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7924 * wdired.el (wdired-old-marks): New variable.
7925 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7926 (wdired-do-renames): Move point with renamed file and don't lose
7927 mark status (Bug#11795).
7929 2012-10-16 Juri Linkov <juri@jurta.org>
7931 * replace.el (query-replace-help): Mention multi-buffer replacement
7932 keys in the Help message. (Bug#12655)
7934 2012-10-15 Chong Yidong <cyd@gnu.org>
7936 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7938 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7940 * window.el (display-buffer): Doc fix.
7942 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7943 Adjust the msft regexp to the output of Studio 2010, and move msft
7944 before edg-1. See the discussion on emacs-devel,
7945 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7948 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7951 (oset): Move uses of object-class-fast macro after its definition.
7953 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7955 2012-10-13 Chong Yidong <cyd@gnu.org>
7957 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7958 enabled, re-enable it (Bug#11963).
7960 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7962 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7963 non-nil, restore window configuration (Bug#12623).
7965 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * help-fns.el (describe-variable, describe-function-1):
7968 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7970 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7972 2012-10-12 Glenn Morris <rgm@gnu.org>
7974 * mail/rmailsum.el (rmail-header-summary):
7975 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7977 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7979 * progmodes/python.el (python-mode-map):
7980 Replace subtitute-key-definition with proper command remapping.
7981 (python-nav--up-list): Fix behavior for blocks on the same level.
7983 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7987 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7988 changes to the format of load-history.
7990 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7991 completion-ignore-case in case that var is buffer-local (bug#12615).
7993 2012-10-11 Kenichi Handa <handa@gnu.org>
7995 * international/eucjp-ms.el: Re-generated.
7997 2012-10-10 Kenichi Handa <handa@gnu.org>
7999 * select.el (xselect--encode-string): If a coding is specified for
8000 selection, and that is compatible with COMPOUND_TEXT, use it.
8002 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8004 * window.el (switch-to-buffer-preserve-window-point): New option.
8006 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8008 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8010 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8011 Don't document nil as a useful value (bug#12583).
8013 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8015 * net/tramp.el (tramp-debug-message):
8016 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8017 (with-tramp-progress-reporter): Rename from
8018 `tramp-with-progress-reporter'.
8019 (with-tramp-file-property, with-tramp-connection-property):
8020 Move from tramp-cache.el, rename from `with-file-property' and
8021 `with-connection-property', respectively.
8023 * net/tramp-cache.el: Remove `with-file-property' and
8024 `with-connection-property'.
8027 * net/tramp-gvfs.el:
8029 * net/tramp-smb.el: Adapt callees.
8031 * net/trampver.el: Update release number.
8033 2012-10-09 Glenn Morris <rgm@gnu.org>
8035 * w32-fns.el (set-message-beep):
8036 * term/w32-win.el (set-message-beep): Update declarations.
8038 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8040 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8041 (mode-line-widen, mode-line-input-method-map)
8042 (mode-line-coding-system-map, mode-line-remote)
8043 (mode-line-unbury-buffer, mode-line-bury-buffer)
8044 (mode-line-next-buffer, mode-line-previous-buffer):
8045 Replace save-selected-window+select-window => with-selected-window.
8047 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8048 * progmodes/cc-vars.el (bq-process): Remove, unused.
8050 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8052 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
8054 Implemented `backward-up-list'-like navigation.
8055 * progmodes/python.el (python-nav-up-list)
8056 (python-nav-backward-up-list): New functions.
8057 (python-mode-map): Define substitute key for backward-up-list to
8058 python-nav-backward-up-list.
8060 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8062 * progmodes/python.el (python-fill-paragraph): Rename from
8063 python-fill-paragraph-function. Fixed fill-paragraph for
8064 decorators (Bug#12605).
8066 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8068 * progmodes/python.el (python-shell-output-filter): Handle extra
8069 carriage return in OSX (Bug#12409).
8071 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8073 Fix shell handling of unbalanced quotes and parens in output.
8074 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8075 (python-syntax-propertize-function): Use it.
8076 (python-shell-output-syntax-table): New var.
8077 (inferior-python-mode): Prevent unbalanced parens/quotes from
8078 previous output mess with current input context.
8080 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8082 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8083 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8085 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8087 * ffap.el (ffap-replace-file-component): Support Tramp file name
8088 syntax, not only ange-ftp's one.
8090 2012-10-08 Glenn Morris <rgm@gnu.org>
8092 * cus-start.el (message-log-max): Set :version.
8094 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8096 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8098 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8099 the minibuffer window (Bug#10851).
8101 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8103 Enhancements on forward-sexp movement.
8104 * progmodes/python.el (python-nav-beginning-of-statement)
8105 (python-nav-end-of-statement): Return point-marker.
8106 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8107 (python-info-current-symbol)
8108 (python-info-statement-starts-block-p): Rename from
8109 python-info-beginning-of-block-p.
8110 (python-info-statement-ends-block-p): Rename from
8111 python-info-end-of-block-p.
8112 (python-info-beginning-of-statement-p)
8113 (python-info-end-of-statement-p)
8114 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8117 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8120 frame-selected-windows.
8122 2012-10-08 Daniel Colascione <dancol@dancol.org>
8124 * battery.el (battery-status-function): Check for
8125 w32-battery-status itself, not system-time windows-nt.
8127 * frame.el: Require cl-lib.
8128 (display-format-alist): New variable mapping frame types to
8129 functions that initialize them.
8130 (window-system-for-display): New function: interprets
8131 display-format-alist.
8132 (make-frame-on-display): Remove existing display-selection logic
8133 and just forward to make-frame, which will now DTRT.
8134 (make-frame): Restructure to use window-system-for-display to
8135 figure out how to create a frame on a given display.
8136 (display-mouse-p): Look for frame-type w32, not a particular
8139 * loadup.el: Load w32 lisp code when we have the w32 feature.
8141 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8142 system-type windows-nt.
8144 * server.el (server-create-window-system-frame): Look for window
8146 (server-proces-filter): Only force a window system when windows-nt
8147 _and_ w32. Explain why.
8149 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8150 of window systems we configure for the mode.
8152 * startup.el (command-line): Mark window system is initialized
8153 after we've done it.
8155 * common-win.el (x-select-text): Look for w32, not windows-nt.
8157 * ns-win.el: Require cl-lib. Add ourselves to
8158 display-format-alist.
8159 (ns-initialize-window-system): Assert we're not initialized twice.
8161 * w32-win.el: Enable lexical binding; require cl-lib; add
8162 ourselves to display-format-alist.
8163 (w32-handle-dropped-file): Convert incoming dropped files from
8164 Windows paths to Cygwin ones before passing them on to the rest of
8166 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8167 (w32-initialize-window-system): Assert we're not initialized twice.
8169 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8170 (x-initialize-window-system): Assert we're not initialized twice.
8172 * w32-common-fns.el: New File.
8173 (w32-version, w32-using-nt, w32-get-clipboard-data)
8174 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8175 (w32-charset-info-alist, x-last-selected, text)
8176 (x-get-selection-value, x-selection-value): Move here.
8178 * w32-fns.el: Require w32-common-fns.
8179 (w32-version, w32-using-nt, w32-get-clipboard-data)
8180 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8181 (w32-charset-info-alist, x-last-selected, text)
8182 (x-get-selection-value, x-selection-value): Move to
8186 (w32-allow-system-shell, w32-system-shells): Define only in
8189 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8191 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8192 (read-passwd): Remove a few more potential sources of leaks.
8194 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8196 * progmodes/python.el (inferior-python-mode)
8197 (python-shell-make-comint): Fix initialization of local
8198 variables copied from parent buffer.
8200 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8202 * term/ns-win.el (ns-read-file-name): Update declaration to match
8204 (ns-respond-to-change-font): Change fontsize separately so we are sure
8205 it is set when font is acted upon.
8207 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8209 Enhancements to indentation.
8210 * progmodes/python.el (python-indent-context): Give priority to
8211 inside-string context. Make comments indentation markers.
8212 (python-indent-region): Do not mess with strings, unless it's the
8213 enclosing set of quotes.
8215 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8217 * window.el (internal--before-save-selected-window)
8218 (internal--after-save-selected-window): New functions extracted from
8219 save-selected-window. Make sure we return the `alist' we construct.
8220 (save-selected-window): Use them.
8222 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8223 Use with-selected-window.
8225 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8226 forms that define macros (bug#12593).
8228 2012-10-07 Kenichi Handa <handa@gnu.org>
8230 * international/mule-conf.el (compound-text-with-extensions):
8231 Add :mime-charset property as x-ctext.
8233 2012-10-07 Stefan Merten <smerten@oekonux.de>
8235 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8236 (rst-indent-literal-normal, rst-indent-literal-minimized)
8237 (rst-indent-comment): Correct :version tag.
8238 (rst-official-cvs-rev): Correct version string.
8240 2012-10-07 Glenn Morris <rgm@gnu.org>
8242 * mail/rmailmm.el (rmail-mime-process-multipart):
8243 Do not confuse a multipart message with an epilogue
8244 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8246 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8248 Fix shell output retrieval and comint-prompt-regexp init.
8249 * progmodes/python.el (inferior-python-mode):
8250 (python-shell-make-comint): Fix initialization of
8251 comint-prompt-regexp from copied file local variables.
8252 (python-shell-fetched-lines): Remove var.
8253 (python-shell-output-filter-in-progress): Rename from
8254 python-shell-fetch-lines-in-progress.
8255 (python-shell-output-filter-buffer): Rename from
8256 python-shell-fetch-lines-string.
8257 (python-shell-fetch-lines-filter): Delete function.
8258 (python-shell-output-filter): New function.
8259 (python-shell-send-string-no-output): Use them.
8261 2012-10-07 Glenn Morris <rgm@gnu.org>
8263 * hi-lock.el (hi-lock-process-phrase):
8264 Try to make it less fragile. (Bug#7161)
8266 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8268 2012-10-06 Glenn Morris <rgm@gnu.org>
8270 * ehelp.el (electric-help-mode): Use help-mode rather than
8271 non-existent mode `help'.
8272 (electric-help-map): Use button-buffer-map. (Bug#10917)
8274 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8275 (reftex-create-bibtex-footer): Fix custom types.
8277 * progmodes/sh-script.el (sh-indent-after-continuation):
8278 Add explicit :group.
8280 * textmodes/rst.el (rst-preferred-decorations)
8281 (rst-shift-basic-offset): Clarify obsolescence versions.
8283 * profiler.el (profiler): Add missing group :version tag.
8284 * avoid.el (mouse-avoidance-banish-position):
8285 * proced.el (proced-renice-command):
8286 * calc/calc.el (calc-ensure-consistent-units):
8287 * calendar/icalendar.el (icalendar-import-format-uid):
8288 * net/tramp.el (tramp-save-ad-hoc-proxies):
8289 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8290 * progmodes/flymake.el (flymake-error-bitmap)
8291 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8292 * progmodes/sh-script.el (sh-indent-after-continuation):
8293 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8294 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8295 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8296 (vhdl-array-index-record-field-in-sensitivity-list)
8297 (vhdl-indent-comment-like-next-code-line):
8298 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8299 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8300 (reftex-cite-key-separator, reftex-create-bibtex-header)
8301 (reftex-create-bibtex-footer):
8302 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8303 (rst-indent-literal-normal, rst-indent-literal-minimized)
8304 (rst-indent-comment): Add missing custom :version tags.
8306 * calendar/timeclock.el (timeclock-modeline-display):
8307 Add missing obsolete alias for renamed user option.
8309 * strokes.el (strokes-modeline-string):
8310 * emulation/crisp.el (crisp-mode-modeline-string):
8311 * eshell/esh-mode.el (eshell-status-in-modeline):
8312 Aliases to defcustoms must come before the defcustom.
8314 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8315 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8316 (cal-tex-cursor-week-monday): Doc fixes.
8317 (cal-tex-cursor-week2-summary): Doc fix.
8318 Rename from cal-tex-cursor-week-at-a-glance.
8320 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8321 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8323 * calendar/calendar.el (calendar-mode-map):
8324 Add cal-tex-cursor-week2-summary.
8326 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8328 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8330 * subr.el (read-passwd-map): New var.
8331 (read-passwd): Use `read-string' again.
8332 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8334 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8336 * register.el (append-to-register, prepend-to-register):
8337 Deactivate mark, as does `copy-to-register' (bug#12389).
8339 2012-10-06 Chong Yidong <cyd@gnu.org>
8341 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8343 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8345 * international/characters.el: Fix simple mistake ((car chars) ->
8346 elt), delete duplicated code.
8348 2012-10-06 Glenn Morris <rgm@gnu.org>
8350 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8352 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8354 * color.el (color-hsl-to-rgb): Fix incorrect results for
8355 small and large hue values. (Bug#12559)
8357 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8359 Enhancements to docstring formatting when filling paragraphs.
8360 * progmodes/python.el (python-fill-docstring-style): Rename from
8361 python-fill-string-style. Added new style.
8362 (python-fill-string): Use new style. Better checks for
8365 2012-10-05 Glenn Morris <rgm@gnu.org>
8367 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8369 * color.el (color-name-to-rgb, color-rgb-to-hex)
8370 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8371 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8372 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8373 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8375 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8377 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8379 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8380 to get the correct size across symlinks.
8382 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8384 2012-10-04 Juri Linkov <juri@jurta.org>
8386 * replace.el (query-replace-interactive): Declare obsolete.
8387 (query-replace-read-from): Add the last incremental search string
8388 to the list of default values accessible via M-n.
8389 (map-query-replace-regexp): Use `read-regexp'.
8390 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8391 (map-query-replace-regexp, replace-string, replace-regexp):
8392 Fix docstrings to replace mentions of `query-replace-interactive'
8393 with alternatives. (Bug#12526)
8395 2012-10-04 Juri Linkov <juri@jurta.org>
8397 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8398 (dired-pop-to-buffer): Declare obsolete.
8399 (dired-mark-pop-up): Doc fix.
8401 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8403 Allow user to set docstring style for fill-paragraph.
8404 * progmodes/python.el
8405 (python-fill-comment-function, python-fill-string-function)
8406 (python-fill-decorator-function, python-fill-paren-function):
8407 Remove :safe for defcustoms.
8408 (python-fill-string-style): New defcustom
8409 (python-fill-paragraph-function): Enhance context detection.
8410 (python-fill-string): Honor python-fill-string-style settings.
8412 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8414 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8415 after setting its buffer (Bug#10805).
8417 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8419 Fix cornercase for string syntax.
8420 * progmodes/python.el (python-syntax-propertize-function):
8421 Simplify and enhance the regexp for unescaped quotes. Now it also
8422 matches quotes in weird situations like the single quote in
8424 (python-syntax-stringify): Simplify num-quotes detecting code.
8426 2012-10-03 Glenn Morris <rgm@gnu.org>
8428 * help-macro.el (three-step-help):
8429 Revert 2012-09-29 change. (Bug#12567)
8431 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8433 * menu-bar.el (kill-this-buffer): Don't do anything when
8434 `menu-frame' is not alive or visible (Bug#8184).
8436 * emacs-lisp/debug.el (debug): When quitting the debugger window
8437 restore current buffer (Bug#12502).
8439 2012-10-02 Chong Yidong <cyd@gnu.org>
8441 * progmodes/hideif.el (hif-lookup, hif-defined):
8442 Handle semantic-c-takeover-hideif.
8444 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8446 Change sampling interval units from ms to ns.
8447 * profiler.el (profiler-sampling-interval): Change units
8448 from ms to ns, multiplying the default by 1000000 so that
8450 (profiler-report-cpu-line-format): Give enough room for
8451 the maximum counters on 64-bit hosts.
8452 (profiler-report-render-calltree-1): Call them "CPU samples",
8453 not "Time (ms)", since they are not milliseconds now (and
8456 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8458 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8459 Fix querying BBDB for entries without a last name (Bug#11580).
8461 2012-10-02 Chong Yidong <cyd@gnu.org>
8463 * emacs-lisp/eieio.el: Restore Version header.
8465 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * vc/diff-mode.el (diff--auto-refine-data): New var.
8468 (diff-hunk): Use it to delay refinement.
8469 (diff-mode): Remove overlays when we turn off font-lock.
8471 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8472 (table-initialize-table-fixed-width-mode)
8473 (table-set-table-fixed-width-mode): Remove functions.
8474 (table-command-list): Move initialization into declaration.
8475 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8476 (table-with-cache-buffer): Use `declare'.
8477 (table-span-cell): Simplify via CSE.
8478 (table-fixed-width-mode): Use define-minor-mode.
8479 (table-call-interactively, table-funcall, table-apply): Remove.
8480 (table-function): New function, to replace them.
8482 * bookmark.el (bookmark-search-pattern): Remove var.
8483 (bookmark-read-search-input): Remove function.
8484 (bookmark-bmenu-search): Reimplement using a minibuffer.
8486 * faces.el (modeline): Remove obsolete face name.
8488 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8489 and give a non-nil default value.
8490 (add-change-log-entry): Simplify accordingly.
8492 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8494 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8495 (vc-git-log-edit-toggle-amend): New function.
8496 (vc-git-log-edit-toggle-signoff): New function.
8497 (vc-git-log-edit-mode): New major mode.
8498 (vc-git-log-edit-mode-map): Keymap for it.
8499 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8501 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8503 (log-edit-toggle-header): New function.
8504 (log-edit-extract-headers): Accept function values in HEADERS alist.
8506 2012-10-01 David Engster <deng@randomsample.de>
8508 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8509 from symbol property and change message to be more consistent with
8511 (eieio-describe-generic): Add filename for each implementation.
8512 Fix indices for generic and normal methods.
8513 (eieio-method-def, eieio-class-def): New buttons.
8514 (eieio-help-find-method-definition)
8515 (eieio-help-find-class-definition): New functions.
8516 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8517 class, constructor and method definitions.
8519 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8520 information in symbol property.
8521 (scoped-class): Remove.
8522 (eieio-slot-name-index, call-next-method): Check if it is bound.
8524 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8526 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8527 (eieio-custom-mode): New major mode.
8528 (eieio-customize-object): Use it.
8530 2012-10-01 Eric Ludlam <zappo@gnu.org>
8532 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8533 specifying the expected class, and whether subclassing is allowed.
8534 (eieio-persistent-convert-list-to-object):
8535 (eieio-persistent-validate/fix-slot-value)
8536 (eieio-persistent-slot-type-is-class-p): New functions.
8537 (eieio-named::slot-missing): Doc fix.
8539 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8540 Stop using unused publd variable.
8542 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8543 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8544 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8545 (eieio-speedbar-handle-click): Do not specify a class for the
8546 method. Fixes method invocation order problems with EDE.
8548 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8551 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8553 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8555 * bookmark.el (bookmark-version-control): Give tags in the
8556 :type choices (Bug#12309), and improve doc string.
8557 (bookmark-write-file): Bind `print-circle' to `t' to allow
8558 circular custom bookmark types. (Bug#12503)
8560 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8562 Revert the FOLLOW-SYMLINKS change for file-attributes.
8563 * files.el (remote-file-name-inhibit-cache, after-find-file):
8564 * time.el (display-time-file-nonempty-p): Undo last change.
8566 * profiler.el (profiler-sampling-interval): Change default back to 1.
8567 See Stefan Monnier in
8568 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8570 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8572 Shell output catching a la gud-gdb.
8573 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8574 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8576 (python-shell-fetch-lines-filter): New function.
8577 (python-shell-send-string-no-output): Use them.
8579 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8581 * profiler.el (profiler-sampling-interval): Rename from
8582 profiler-sample-interval.
8583 (profiler-sampling-interval): Default to 10.
8584 (profiler-find-profile): New command (was profiler-find-log).
8585 (profiler-find-profile-other-window): New command.
8586 (profiler-find-profile-other-frame): New command.
8587 (profiler-profile): Introduce API-level data structure.
8589 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8591 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8592 * files.el (remote-file-name-inhibit-cache):
8593 * time.el (display-time-file-nonempty-p): Use it.
8594 * files.el (after-find-file): Don't chase links before calling
8595 file-exists-p, as file-exists-p already does the right thing.
8597 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8599 Merge from standalone RefTeX repository.
8601 The following ChangeLog entries are shortened versions of the
8602 original ones with file paths adapted. A not so strongly edited
8603 version of the original ChangeLog can be found in the commit log.
8605 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8606 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8607 Correctly handle new value type returned by `reftex-citation'.
8609 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8610 that entries with whitespace at various places are found.
8611 Doc fix. Include entries that are cross-referenced from cited entries.
8612 Include @String definitions in the resulting bib file. Add header
8613 and footer defined in `reftex-create-bibtex-header' and
8614 `reftex-create-bibtex-footer'.
8615 (reftex-do-citation): Make it possible again to insert
8616 non-existent entries. Save match data when asking for optional
8617 arguments. Return all keys, not just the first one.
8618 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8619 all citations in the same line.
8620 (reftex-parse-bibtex-entry): Accept additional optional argument
8621 `raw' and keep quotes or braces if it is non-nil. Match fields
8622 containing hyphens besides word constituents.
8623 (reftex-get-string-refs): New function.
8624 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8625 and ask if it should be reread in case it did.
8626 (reftex-pop-to-bibtex-entry)
8627 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8628 entries with spaces or tabs in front of arguments.
8629 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8630 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8631 Match entries containing numbers and symbol constituents.
8632 (reftex-do-citation, reftex-figure-out-cite-format):
8633 Use `reftex-cite-key-separator'.
8635 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8636 (reftex-mouse-view-crossref): Explain why point is set.
8638 * textmodes/reftex-global.el: Whitespace changes.
8640 * textmodes/reftex-index.el: Move provide statement to end of
8642 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8643 (reftex-index-visit-phrases-buffer): Set marker when visiting
8644 buffer. This allows for returning from the phrases file to the
8645 file one was just editing instead of the file where the last
8646 phrases was added from.
8647 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8648 punctuation syntax as it usually is not used as string quote in
8649 TeX-related modes and may occur unmatched. The change also
8650 prevents fontification of quoted content.
8651 (reftex-index-phrases-mode): Use it.
8653 * textmodes/reftex-parse.el (reftex-parse-from-file):
8654 Move backward one char if a `\' was matched after a section macro.
8655 (reftex-parse-from-file): Use beginning of match instead of end as
8658 * textmodes/reftex-ref.el: Adapt creation of
8659 `reftex-<package>-<macro>' functions to new structure of
8660 `reftex-ref-style-alist'.
8661 (reftex-reference): Use `reftex-ref-style-list' function.
8662 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8663 reference macro if `reftex-ref-macro-prompt' is non-nil.
8664 (reftex-reference): Pass refstyle to `reftex-format-special'.
8665 Determine reference macro by looking at
8666 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8667 Use only one special format function.
8668 (reftex-varioref-vref, reftex-fancyref-fref)
8669 (reftex-fancyref-Fref): Remove definitions. The functions are now
8670 generated from `reftex-ref-style-alist'.
8671 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8673 (reftex-format-special): New function.
8675 * textmodes/reftex-sel.el
8676 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8677 of `reftex-ref-style-alist'. Remove code for testing macro type.
8678 (reftex-select-toggle-varioref)
8679 (reftex-select-toggle-fancyref): Remove.
8680 (reftex-select-cycle-ref-style-internal)
8681 (reftex-select-cycle-ref-style-forward)
8682 (reftex-select-cycle-ref-style-backward): New functions.
8683 (reftex-select-label-map): Use `v' and `V' for general cycling
8684 through reference styles. Add `p' for switching between number
8685 and page reference types.
8687 * textmodes/reftex-toc.el (reftex-re-enlarge):
8688 Call `enlarge-window' only if there is something to do because in Emacs
8689 the horizontal version throws an error even if the parameter is 0.
8691 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8692 (reftex-plug-into-AUCTeX): Doc fix.
8693 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8694 string. Adapt to new name.
8695 (reftex-ref-style-alist): Change structure so that it is not
8696 possible to use multiple different package names within a style.
8697 Remove the symbols for symbols for macro type distinction.
8698 Add characters for macro selection.
8699 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8700 (reftex-create-bibtex-footer): New variables.
8701 (reftex-format-ref-function): Mention third argument of special
8703 (reftex-ref-style-alist, reftex-ref-style-default-list):
8705 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8706 to new implementation. Mark as obsolete. Add compatibility code
8707 for honoring the variable values in case they are set.
8708 (reftex-cite-format-builtin, reftex-bibliography-commands):
8709 Add support for ConTeXt.
8710 (reftex-format-ref-function, reftex-format-cite-function):
8712 (reftex-cite-key-separator): New variable.
8714 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8715 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8716 `reftex-syntax-table' because parens have to retain their paren
8717 syntax in order for parsing of BibTeX entries like @book(...) to
8719 (reftex-in-comment): Do not error out if `comment-start-skip' is
8720 not set. Deal correctly with escaped comment characters.
8721 (reftex-tie-multifile-symbols): Add doc string.
8722 Initialize `reftex-ref-style-list'.
8723 (reftex-untie-multifile-symbols): Add doc string.
8724 (reftex-add-index-macros): Doc fix.
8725 (reftex-ref-style-activate, reftex-ref-style-toggle)
8726 (reftex-ref-style-list): New functions.
8727 (reftex-mode-menu): Use them. Adapt to new structure of
8728 `reftex-ref-style-alist'.
8729 (reftex-select-with-char): Kill the RefTeX Select buffer when
8731 (reftex-remove-if): New function.
8732 (reftex-erase-all-selection-and-index-buffers)
8733 (reftex-mode-menu): Reference styles are now computed from
8734 `reftex-ref-style-alist'. Fix typo.
8735 (reftex-report-bug): New function.
8736 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8737 algorithms with O(n log n). Introduce optional argument SORT (not
8740 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8742 Enhancements for triple-quote string syntax.
8743 * progmodes/python.el (python-syntax-propertize-function):
8744 Match both quote cases in one regexp.
8745 (python-syntax-stringify): Handle matches properly.
8747 2012-09-30 Juri Linkov <juri@jurta.org>
8749 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8750 to nil around the call to `insert' to prevent
8751 directory time modification by lock_file. (Bug#2295)
8752 * tar-mode.el (tar-summarize-buffer): Idem.
8754 2012-09-30 Juri Linkov <juri@jurta.org>
8756 * facemenu.el (list-colors-sort): Add option "Luminance".
8757 (list-colors-sort-key): Implement it.
8759 * vc/diff-mode.el (diff-refine-removed):
8760 * vc/ediff-init.el (ediff-fine-diff-A):
8761 * vc/smerge-mode.el (smerge-refined-removed):
8762 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8764 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8766 * term/ns-win.el (x-file-dialog): New function.
8768 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8770 * ido.el (ido-max-directory-size): Default to nil; the current
8771 default is small for POSIX systems, and impractical on Windows 7
8772 now that lstat returns directory sizes for NTFS.
8774 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8776 In buffer display functions handle window-height/window-width
8777 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8778 * window.el (window--display-buffer): New argument ALIST.
8779 Obey window-height and window-width alist entries.
8780 (window--try-to-split-window): New argument ALIST.
8781 Bind window-combination-limit to t when the window's size shall be
8782 changed and window-combination-limit equals `window-size'.
8783 (display-buffer-in-atom-window)
8784 (display-buffer-in-major-side-window)
8785 (display-buffer-in-side-window, display-buffer-same-window)
8786 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8787 (display-buffer-pop-up-window, display-buffer-below-selected)
8788 (display-buffer-at-bottom, display-buffer-in-previous-window)
8789 (display-buffer-use-some-window): Adjust all callers of
8790 window--display-buffer and window--try-to-split-window.
8791 (fit-frame-to-buffer): New option.
8792 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8794 (display-buffer-in-major-side-window): Evaluate window-height /
8795 window-width alist entries.
8797 * help.el (temp-buffer-resize-frames)
8798 (temp-buffer-resize-regexps): Remove options.
8799 (temp-buffer-resize-mode): Adjust doc-string.
8800 (resize-temp-buffer-window): Don't consult
8801 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8802 temp-buffer-resize-frames.
8804 * dired.el (dired-mark-pop-up):
8805 Call display-buffer-below-selected with a fit-window-to-buffer alist
8808 2012-09-30 Chong Yidong <cyd@gnu.org>
8810 * server.el (server-host): Document the security implications.
8811 (server-auth-key): Doc fix.
8813 * startup.el (initial-buffer-choice): Doc fix.
8815 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8817 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8820 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8822 * help-fns.el (help-fns--obsolete): Fix last change.
8824 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8827 (minor-mode-map-alist): Remove redundant code.
8829 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8830 visited in a buffer.
8831 (cvs-insert-visited-file): New function.
8832 (find-file-hook): Use it.
8834 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8836 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8838 (log-edit-empty-buffer-p): Don't require a space after a header.
8840 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8842 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8844 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8845 a proper minor-mode.
8847 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8849 2012-09-29 Glenn Morris <rgm@gnu.org>
8851 * winner.el (winner-mode): Remove variable (let define-minor-mode
8853 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8855 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8856 (winner-mode): Use define-minor-mode.
8858 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8859 the full definition in loaddefs, rather than duplicating it.
8861 * help-macro.el (three-step-help): No need to autoload defcustom.
8863 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8864 (inferior-lisp-program, inferior-lisp-load-command)
8865 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8866 No need to autoload defcustoms.
8868 * hippie-exp.el (hippie-expand-try-functions-list)
8869 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8870 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8871 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8872 (hippie-expand-only-buffers): No need to autoload defcustoms.
8873 * progmodes/vhdl-mode.el (vhdl-line-expand):
8874 Explicitly load hippie-exp, so it does not get autoloaded
8875 while hippie-expand-try-functions-list is let-bound.
8877 2012-09-28 Glenn Morris <rgm@gnu.org>
8879 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8881 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8882 Only "cl.el" counts as cl these days.
8884 2012-09-28 Juri Linkov <juri@jurta.org>
8886 Display archive errors in the echo area instead of inserting
8889 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8890 to STDERR-TEST that can be a regexp matching a successful output.
8891 Create a temporary file and redirect stderr to it. Search for
8892 STDERR-TEST in the stderr output and display it in the echo area
8893 if no match is found.
8894 (archive-extract-by-file): New function like
8895 `archive-extract-by-stdout' but extracting archives to files
8896 and looking for successful matches in stdout. Function body is
8897 mostly copied from `archive-rar-extract'.
8898 (archive-rar-extract): Use `archive-extract-by-file'.
8899 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8901 2012-09-28 Leo Liu <sdl.web@gmail.com>
8903 * pcomplete.el (pcomplete-show-completions):
8904 Use minibuffer-message to make pcomplete usable in minibuffer.
8906 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8908 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8910 * type-break.el: Use lexical-binding.
8911 (type-break-mode): Use define-minor-mode.
8913 * emacs-lisp/pcase.el (pcase--mark-used): New.
8914 (pcase--u1): Use it (bug#12512).
8916 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8917 in load-history with the right file name.
8919 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8921 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8922 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8923 (doc-view-get-bounding-box): Make bounding box slicing work for
8924 ODF and DVI documents.
8926 2012-09-28 Glenn Morris <rgm@gnu.org>
8928 * type-break.el (type-break-mode, type-break-interval)
8929 (type-break-good-rest-interval, type-break-keystroke-threshold):
8930 No need to autoload.
8931 (type-break-good-rest-interval, type-break-keystroke-threshold):
8934 2012-09-28 Chong Yidong <cyd@gnu.org>
8936 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8939 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8941 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8943 2012-09-27 Glenn Morris <rgm@gnu.org>
8945 * faces.el (x-display-name): Declare (for without-x builds).
8947 * linum.el (linum-format): Don't autoload it. Improve :type.
8949 * progmodes/tcl.el: Don't require outline when compiling.
8950 (outline-regexp, outline-level): Declare.
8951 * textmodes/sgml-mode.el: Don't require outline when compiling.
8952 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8954 * term.el (term-ansi-reset):
8955 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8957 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8958 files for RCS and SCCS. (Bug#9781)
8960 2012-09-27 Chong Yidong <cyd@gnu.org>
8962 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8963 change; value should be t.
8965 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8967 * image-mode.el: Use lexical-binding.
8968 (image-mode-winprops): Use t to stand for the window of
8969 a buffer that's not displayed.
8970 * doc-view.el (doc-view-new-window-function): Handle the new
8972 (doc-view-enlarge): Make it a real nop if the size is not changed.
8973 (doc-view-display): Handle the case where the buffer is not (yet?)
8974 displayed in any window.
8975 (doc-view-saved-settings): New var.
8976 (doc-view-mode): Use it.
8977 (doc-view-fallback-mode): Set it.
8979 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8980 Set lexical-binding.
8981 (minibuffer-eldef-shorten-default): New var.
8982 (minibuffer-default-in-prompt-regexps): Use it for new default.
8983 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8985 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8987 * international/uni-bidi.el:
8988 * international/uni-category.el:
8989 * international/uni-name.el:
8990 * international/uni-numeric.el: Regenerate.
8992 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8993 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * profiler.el: New file.
8997 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9000 (testcover-reinstrument): Simplify with CSE.
9002 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9004 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9006 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9008 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9009 (verilog-auto-input, verilog-auto-insert-lisp)
9010 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9011 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9012 (verilog-auto-unused, verilog-auto-wire)
9013 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9014 newline. Reported by Andrew Jones.
9015 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9016 Reported by Brad Dobbie.
9017 (verilog-batch-delete-trailing-whitespace):
9018 Create verilog-batch-delete-trailing-whitespace.
9019 Reported by Brad Dobbie.
9020 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9021 parameters from another module. Reported by Dan Katz.
9022 (verilog-auto, verilog-auto-assign-modport)
9023 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9024 AUTOINOUTMODPORT for UVM interface module shell generation.
9025 Reported by Brad Dobbie.
9026 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9028 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9029 Reported by Matt Martin.
9031 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9033 * window.el (window--resize-child-windows): When resizing child
9034 windows proportionally, process them in reverse order to
9035 preserve the "when splitting a window the new one gets the odd
9037 (window--resize-root-window-vertically): When resizing the
9038 minibuffer window try to affect only windows at the bottom of the
9041 2012-09-25 Chong Yidong <cyd@gnu.org>
9043 * subr.el (declare): Doc fix.
9045 * help-fns.el (help-fns--obsolete): Handle macros properly.
9047 2012-09-25 Chong Yidong <cyd@gnu.org>
9049 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9050 this function obsolete.
9052 * calendar/cal-x.el (calendar-two-frame-setup)
9053 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9054 * calendar/calendar.el (american-calendar, european-calendar)
9055 (calendar-for-loop):
9056 * comint.el (comint-dynamic-simple-complete)
9057 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9058 * desktop.el (desktop-load-default):
9059 * dired-x.el (dired-omit-here-always)
9060 (dired-hack-local-variables, dired-default-directory):
9061 * emacs-lisp/derived.el (derived-mode-class):
9062 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9063 * emacs-lock.el (toggle-emacs-lock):
9064 * epa.el (epa-display-verify-result):
9065 * epg.el (epg-sign-keys, epg-start-sign-keys)
9066 (epg-passphrase-callback-function):
9067 * eshell/esh-util.el (eshell-for):
9068 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9069 (eshell-add-to-window-buffer-names):
9070 * files.el (locate-file-completion):
9071 * imenu.el (imenu-example--create-c-index)
9072 (imenu-example--create-lisp-index)
9073 (imenu-example--lisp-extract-index-name)
9074 (imenu-example--name-and-position):
9075 * international/mule-cmds.el (princ-list):
9076 * international/mule-diag.el (decode-codepage-char):
9077 * international/mule-util.el (detect-coding-with-priority):
9078 * iswitchb.el (iswitchb-read-buffer):
9079 * mail/mailalias.el (mail-complete):
9080 * mail/sendmail.el (mail-sent-via):
9081 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9082 (mouse-major-mode-menu):
9083 * password-cache.el (password-read-and-add):
9084 * pcomplete.el (pcomplete-parse-comint-arguments):
9085 * progmodes/sh-script.el (sh-maybe-here-document):
9086 * replace.el (query-replace-regexp-eval):
9087 * savehist.el (savehist-load):
9088 * simple.el (choose-completion-delete-max-match):
9089 * term.el (term-dynamic-simple-complete):
9090 * vc/ediff-init.el (ediff-check-version):
9091 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9092 * vc/vc.el (vc-diff-switches-list):
9093 * view.el (view-return-to-alist-update): Likewise.
9095 * subr.el (eval-next-after-load, makehash, insert-string)
9096 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9098 (mode-line-inverse-video): Variable deleted.
9100 * international/mule-util.el (string-to-sequence): Remove.
9102 * calendar/calendar.el (calendar-version):
9103 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9104 (icalendar-convert-diary-to-ical):
9105 * cus-edit.el (custom-mode):
9106 * ansi-color.el (ansi-color-unfontify-region):
9107 * international/latin1-disp.el (latin1-char-displayable-p):
9108 * progmodes/cwarn.el (turn-on-cwarn-mode):
9109 * progmodes/which-func.el (which-func-update-1):
9110 Use define-obsolete-function-alias.
9112 * net/newst-backend.el (newsticker-cache-filename):
9113 * net/newst-treeview.el (newsticker-groups-filename):
9114 Fix incorrect obsolescence declaration.
9116 * allout.el (allout-passphrase-hint-string): Likewise.
9117 (allout-init): Use a declare form to mark obsolete.
9119 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9120 this applies to functions.
9122 * iswitchb.el (iswitchb-read-buffer): Move code of
9123 iswitchb-define-mode-map here, and delete that obsolete function.
9125 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9126 font-lock-reference-face.
9128 2012-09-25 Glenn Morris <rgm@gnu.org>
9130 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9133 * eshell/em-term.el (eshell-term-name):
9134 Default to term-term-name. (Bug#12485)
9136 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9138 * progmodes/python.el (python-shell-send-buffer): Better handling
9139 of "if __name__ == '__main__':" conditionals when sending the buffer.
9141 2012-09-24 Glenn Morris <rgm@gnu.org>
9143 * eshell/esh-cmd.el (eshell-find-alias-function):
9144 Tighten up file-name regexp. (Bug#12499)
9146 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9148 Enhancements for triple-quote string syntax.
9149 * progmodes/python.el (python-quote-syntax): Remove.
9150 (python-syntax-propertize-function): New value.
9151 (python-syntax-count-quotes, python-syntax-stringify):
9154 2012-09-24 Chong Yidong <cyd@gnu.org>
9156 * mail/supercite.el (sc-version): Remove obsolete function.
9157 (sc-describe): Don't mark as obsolete, since it is bound.
9158 (sc-submit-bug-report): Remove.
9160 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9161 (cvs-commit-buffer-require-final-newline): Remove.
9162 (log-edit-require-final-newline)
9163 (log-edit-changelog-full-paragraphs): Default to t.
9165 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9166 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9167 * vc/vc.el (vc-checkout-carefully): Likewise.
9169 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9170 (emerge-version): Remove.
9172 * progmodes/compile.el (compile-internal): Remove.
9173 (compilation-parse-errors-function): Fix typo.
9175 * international/mule.el (set-char-table-default): Remove.
9176 (set-coding-priority, make-coding-system, generic-char-p)
9177 (charset-list, charset-bytes, charset-id): Use declare to mark
9178 functions as obsolete.
9180 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9181 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9182 * vc/vc-hooks.el (vc-default-registered): Don't use
9183 vc-master-templates.
9185 * font-lock.el (font-lock-reference-face):
9186 Use define-obsolete-variable-alias.
9188 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9189 * calendar/calendar.el (calendar-font-lock-keywords):
9190 * calendar/diary-lib.el (diary-font-lock-keywords)
9191 (diary-fancy-font-lock-keywords):
9192 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9193 * textmodes/reftex-index.el (reftex-insert-index):
9194 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9195 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9196 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9197 * progmodes/prolog.el (prolog-font-lock-keywords):
9198 * progmodes/idlwave.el (idlwave-idl-keywords):
9199 * progmodes/ada-mode.el (ada-font-lock-keywords):
9200 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9202 2012-09-24 Glenn Morris <rgm@gnu.org>
9204 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9206 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9208 * progmodes/python.el (python-indent-line): More consistent cursor
9211 2012-09-23 Stefan Merten <smerten@oekonux.de>
9213 * textmodes/rst.el: Fix compiler warning.
9215 2012-09-23 Roland Winkler <winkler@gnu.org>
9217 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9218 Transcribe also LaTeX hyphenation.
9219 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9220 bibtex-reformat-previous-options.
9222 2012-09-23 Roland Winkler <winkler@gnu.org>
9224 * proced.el (proced-renice-command): New variable.
9225 (proced-marked-processes): New function.
9226 (proced-with-processes-buffer): New macro.
9227 (proced-send-signal): Use them.
9228 (proced-renice): New command bound to r.
9230 2012-09-23 Roland Winkler <winkler@gnu.org>
9232 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9233 ibuffer-saved-filter-groups has one element, shortcut the call of
9234 completing-read. (Bug#12331)
9236 2012-09-23 Chong Yidong <cyd@gnu.org>
9238 * bindings.el (mode-line-toggle-read-only):
9239 * bs.el (bs-toggle-readonly):
9240 * buff-menu.el (Buffer-menu-toggle-read-only):
9241 * dired.el (dired-toggle-read-only):
9242 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9244 2012-09-23 Chong Yidong <cyd@gnu.org>
9246 * image.el (image-type-available-p): Adapt to init-image-library
9249 2012-09-22 Juri Linkov <juri@jurta.org>
9251 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9252 `dired-toggle-read-only'. (Bug#12462)
9254 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9256 * subr.el (temp-output-buffer-show): New function.
9257 (with-output-to-temp-buffer): Call temp-output-buffer-show
9258 instead of internal-temp-output-buffer-show.
9260 2012-09-22 Chong Yidong <cyd@gnu.org>
9262 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9265 * repeat.el (repeat): Doc fix (Bug#12348).
9267 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9270 * simple.el (shell-command-on-region): Doc fix.
9271 (read-only-mode): Doc fix.
9273 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9275 * emacs-lisp/timer.el (run-with-idle-timer)
9276 (timer-activate-when-idle): Warn against reinvoking an idle timer
9277 from within its own timer action. (Bug#12447)
9279 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9281 * cus-start.el (window-combination-limit): Add new optional
9283 * window.el (temp-buffer-window-show)
9284 (window--try-to-split-window): Handle new values of
9285 window-combination-limit (Bug#1806).
9286 (split-window): Test window-combination-limit for t instead of
9288 (display-buffer-at-bottom): New buffer display action function.
9289 * help.el (temp-buffer-resize-regexps): New option.
9290 (temp-buffer-resize-mode): Rewrite doc-string.
9291 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9292 Don't resize reused window. Suggested by Glenn Morris.
9294 2012-09-22 Stefan Merten <smerten@oekonux.de>
9296 * textmodes/rst.el: Revamp section title faces.
9297 (rst-official-version)
9298 (rst-package-emacs-version-alist): Sync with official version
9300 (rst-faces-defaults, rst-set-level-default)
9301 (rst-level-face-max, rst-level-face-base-color)
9302 (rst-level-face-base-light, rst-level-face-format-light)
9303 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9304 (rst-adornment-faces-alist): Match new setup.
9305 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9306 (rst-level-5, rst-level-6): New faces.
9308 2012-09-22 Chong Yidong <cyd@gnu.org>
9310 * simple.el (undo): Handle indirect buffers (Bug#8207).
9312 2012-09-21 Leo Liu <sdl.web@gmail.com>
9314 IDO: Disable match re-ordering for buffer switching.
9315 * ido.el (ido-buffer-disable-smart-matches): New variable.
9316 (ido-set-matches-1): Use it. (Bug#2042)
9318 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9320 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9321 Fix 2011-05-17 change. (Bug#12418)
9323 2012-09-21 Leo Liu <sdl.web@gmail.com>
9325 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9327 2012-09-21 Glenn Morris <rgm@gnu.org>
9329 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9330 Be more robust about locating simple.el.
9332 2012-09-21 Glenn Morris <rgm@gnu.org>
9334 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9336 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9338 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9340 2012-09-20 Juri Linkov <juri@jurta.org>
9342 * replace.el (query-replace-read-from): Use `read-regexp' instead
9343 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9344 (occur-read-primary-args): Use `read-regexp' instead of
9346 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9347 `read-from-minibuffer'.
9348 * isearch.el (isearch-occur): Use `read-regexp' instead of
9350 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9351 `read-from-minibuffer'.
9352 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9353 of `read-string'. (Bug#7567)
9355 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9356 and allow accepting a list of strings prepended to a list of
9357 standard default values. Doc fix. (Bug#12321)
9359 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9361 * replace.el (read-regexp): Don't add ": " when PROMPT already
9362 ends with a colon and space. (Bug#12321)
9364 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9366 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9369 2012-09-20 Stefan Merten <smerten@oekonux.de>
9371 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9372 Fixes feature request bug#11711.
9373 (rst-mode): Create `imenu-create-index-function'.
9374 (rst-get-stripped-line): Delete after refactoring.
9375 (rst-section-tree, rst-section-tree-rec)
9376 (rst-section-tree-point): Refactor and document properly.
9377 (rst-imenu-find-adornments-for-position)
9378 (rst-imenu-convert-cell, rst-imenu-create-index):
9381 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9383 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9384 (macroexp--expand-all): Use it.
9385 (macroexp--funcall-and-return): Remove by folding it into its sole
9386 caller (macroexp--warn-and-return).
9387 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9388 Use macroexp--obsolete-warning.
9390 * calc/calc.el: Fix last change by removing the whole chunk, since it
9391 was only needed back when Calc was not bundled.
9393 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9395 * emacs-lisp/debug.el (debug): Restore assignment to
9396 debugger-old-buffer removed on 2012-09-08.
9398 2012-09-20 Juri Linkov <juri@jurta.org>
9400 * dired-aux.el (dired-diff): Remove (require 'diff) since
9401 `diff-latest-backup-file' is now autoloaded.
9403 2012-09-20 Chong Yidong <cyd@gnu.org>
9405 * vc/diff.el (diff-latest-backup-file): Autoload.
9407 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * calc/calc.el: Remove redundant autoload shape check.
9410 (sel-mode): Don't defvar.
9411 (calc-get-stack-element): Add `sel-mode' arg instead.
9412 (calc-top, calc-top-list): Pass it this additional argument.
9413 * calc/calc-store.el (calc-store-map):
9414 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9415 (calc-map-equation, calc-outer-product, calc-inner-product):
9416 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9418 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9420 2012-09-19 Juri Linkov <juri@jurta.org>
9422 * dired-aux.el (dired-diff): Add (require 'diff) because
9423 `diff-latest-backup-file' is not autoloaded.
9424 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9425 of `dired-get-filename' to t to not report error when there is
9426 no default file on the current line.
9428 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9431 macroexp--eval-if-compile.
9432 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9433 (macroexp--expand-all): Use them (bug#12371).
9435 * doc-view.el (doc-view-guess-paper-size)
9436 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9438 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9440 New feature: set optimal slice from BoundingBox information.
9441 * doc-view.el (doc-view-mode-map): Add keybinding.
9442 (doc-view-menu): Add menu entry.
9443 (doc-view-set-slice): Adapt docstring.
9444 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9445 (doc-view-scale-bounding-box)
9446 (doc-view-set-slice-from-bounding-box): New functions.
9447 (doc-view-paper-sizes): New defvar.
9449 2012-09-19 Glenn Morris <rgm@gnu.org>
9451 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9452 (byte-compile-log-warning): Autoload. (Bug#12371)
9454 * calendar/calendar.el (calendar-american-month-header)
9455 (calendar-european-month-header, calendar-iso-month-header)
9456 (calendar-month-header): New options.
9457 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9458 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9460 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9462 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9464 2012-09-18 Juri Linkov <juri@jurta.org>
9466 * dired-aux.el (dired-diff): Restore original functionality of
9467 getting the default value, but keep new feature of using the
9468 latest existing backup file (`diff-latest-backup-file').
9470 2012-09-18 Juri Linkov <juri@jurta.org>
9472 * dired.el (dired-mark): If the region is active in Transient Mark
9473 mode, mark all files in the active region. Doc fix.
9474 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9475 Doc fix. (Bug#10624)
9477 2012-09-18 Juri Linkov <juri@jurta.org>
9479 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9480 attributes for M-n are pulled from the file at point.
9481 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9482 Suggested by Drew Adams. (Bug#10624)
9484 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9486 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9487 whitespace after "end".
9488 (ruby-do-end-to-brace): Collapse block to one line if it fits
9491 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9493 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9495 (debug): Don't remove debugger window when debugger is expected
9498 2012-09-18 Chong Yidong <cyd@gnu.org>
9500 * custom.el (defface): Doc fix.
9502 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9504 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9506 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9507 to initialize query-on-exit; then test that instead (bug#12288).
9509 2012-09-17 Stefan Merten <smerten@oekonux.de>
9511 * textmodes/rst.el: Add support for `testcover'.
9512 (rst-defcustom-testcover, rst-testcover-add-compose)
9513 (rst-testcover-add-1value): New functions.
9514 (rst-portable-mark-active-p): Replace by `use-region-p'.
9515 (rst-update-section, rst-classify-adornment)
9516 (rst-find-title-line): Mark `1value' forms.
9517 (rst-classify-adornment): Remove superfluous form.
9518 (rst-update-section, rst-get-adornments-around)
9519 (rst-adornment-complete-p, rst-get-next-adornment)
9520 (rst-adjust, rst-promote-region)
9521 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9522 (rst-find-pfx-in-region, rst-section-tree-rec)
9523 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9524 (rst-toc-node, rst-toc, rst-forward-section)
9525 (rst-iterate-leftmost-paragraphs)
9526 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9527 (rst-bullet-list-region)
9528 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9529 (rst-compile-find-conf, rst-compile)
9530 (rst-repeat-last-character): Fix style.
9532 2012-09-17 Chong Yidong <cyd@gnu.org>
9534 * comint.el (comint--complete-file-name-data): Don't add a space
9535 if the status is `sole'; that adds a gratuitous space in the
9536 completion-cycling case (Bug#12092).
9538 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9540 2012-09-17 Richard Stallman <rms@gnu.org>
9542 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9543 only in the mime-shown mode, not in raw mode.
9544 (rmail-mime): Toggle off mime by displaying the message without
9545 mime processing. (Bug#12305)
9547 * mail/rmail.el (rmail-retry-failure):
9548 Turn off mime processing first. (Bug#12037)
9550 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9552 2012-09-17 Chong Yidong <cyd@gnu.org>
9554 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9555 (shell-dynamic-complete-functions): Convert to defcustom.
9556 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9558 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9559 * comint.el (comint-prompt-read-only):
9560 * custom.el (defcustom):
9561 * hi-lock.el (hi-lock-mode):
9562 * ibuffer.el (ibuffer-formats):
9563 * ielm.el (ielm-prompt-read-only):
9564 * novice.el (disable-command):
9565 * saveplace.el (toggle-save-place):
9566 * speedbar.el (speedbar-supported-extension-expressions):
9567 * startup.el (auto-save-list-file-prefix, init-file-user)
9568 (after-init-hook, inhibit-startup-echo-area-message):
9569 * strokes.el (strokes-help):
9570 * time-stamp.el (time-stamp):
9571 * calendar/calendar.el (calendar, diary-file):
9572 * calendar/diary-lib.el (diary-mail-entries, diary)
9573 (diary-list-entries-hook):
9574 * calendar/holidays.el (holidays, calendar-holidays):
9575 * calendar/lunar.el (lunar-phases):
9576 * calendar/solar.el (sunrise-sunset):
9577 * emulation/edt.el (edt-load-keys):
9578 * emulation/viper.el (viper-mode):
9579 * eshell/em-alias.el (eshell-command-aliases-list):
9580 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9581 * international/ogonek.el (ogonek-information):
9582 * net/tramp-cmds.el (tramp-bug):
9583 * net/quickurl.el (quickurl-reread-hook-postfix):
9584 * play/decipher.el (decipher-font-lock-keywords):
9585 * progmodes/cc-styles.el (c-set-style):
9586 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9587 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9588 * progmodes/octave-mod.el (octave-mode):
9589 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9590 * progmodes/verilog-mode.el (verilog-read-defines):
9591 * textmodes/two-column.el (2C-mode): Likewise.
9593 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9595 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9596 that holds many addresses.
9598 2012-09-16 Chong Yidong <cyd@gnu.org>
9600 * align.el (align-areas): Call the indication function with
9601 positions instead of markers for arguments (Bug#12343).
9603 * files.el (parse-colon-path): Use split-string (Bug#12351).
9605 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9606 (display-buffer-function): Mark as obsolete.
9608 * progmodes/compile.el (compilation-parse-errors): Accept list
9609 values similar to font-lock-keywords (Bug#12136).
9610 Suggested by Oleksandr Manzyuk.
9611 (compilation-error-regexp-alist): Doc fix.
9613 2012-09-15 Glenn Morris <rgm@gnu.org>
9615 * version.el (emacs-bzr-version-bzr): New function.
9616 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9618 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9619 checkouts, check the parent dirstate matches the branch.
9620 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9623 * version.el (emacs-bzr-version): Doc fix.
9624 (emacs-bzr-version-dirstate): New function.
9625 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9626 is local try and check that it matches the branch. If not, just
9627 use dirstate information. (Bug#12441)
9629 2012-09-14 Juri Linkov <juri@jurta.org>
9631 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9634 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9636 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9638 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9639 Remove obsolete byte-compiler hack that tried to silence some warnings.
9640 (edebug-submit-bug-report): Remove.
9641 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9642 Remove aliases, use the un-prefixed name instead.
9643 (edebug-pop-to-buffer): Consider other frames.
9644 (edebug-original-read):: Make it more obvious that it's always defined.
9645 (edebug--make-form-data-entry, edebug--form-data-name)
9646 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9647 single-dashed name, and implement with cl-defstruct.
9648 (edebug-set-form-data-entry): Use the standard accessors.
9649 (edebug-make-top-form-data-entry): Use push.
9650 (edebug-no-match): Drop useless `funcall'.
9651 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9653 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9654 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9655 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9656 (easy-menu-define, with-custom-print): Remove redundant specs.
9657 (edebug-outside-overriding-local-map)
9658 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9659 (edebug--display): Bind unread-command-events directly to nil rather
9660 than binding it to unread-command-events and later setting it to nil.
9661 (edebug--display): Kill edebug-eval-buffer here...
9662 (edebug--recursive-edit): ...rather than here.
9663 Bind standard-output and standard-input.
9664 (edebug-eval): Check cl-macroexpand-all is fboundp.
9665 (edebug-temp-display-freq-count): Fix last change.
9667 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9668 * subr.el (noreturn, 1value): Add `debug' spec.
9669 * emacs-lisp/advice.el: Require cl-lib.
9670 (ad-copy-tree): Remove, use copy-tree instead.
9671 (ad-dolist): Remove use dolist or cl-dolist instead.
9672 (ad-do-return): Remove, use cl-return instead.
9673 (defadvice): Add `debug' spec.
9675 2012-09-13 Juri Linkov <juri@jurta.org>
9677 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9680 2012-09-13 Glenn Morris <rgm@gnu.org>
9682 * calc/calc.el (math-compose-expr):
9683 * calc/calc-ext.el (math-compose-expr):
9684 * progmodes/cc-defs.el (cl-macroexpand-all):
9685 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9686 (cl-macroexpand-all): Update declarations.
9688 * vc/vc.el: No need to require ediff.
9689 (ediff-load-version-control): Declare.
9690 (ediff-vc-internal): Fix declaration.
9691 (vc-version-ediff): Require ediff.
9693 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9695 Use a more backwards-compatible timer format (Bug#12430).
9696 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9697 being right after USECS, as that better supports old code that
9698 inadvisedly looked directly at the timer vector.
9700 2012-09-13 Kenichi Handa <handa@gnu.org>
9702 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9703 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9704 `coding-priority' property of these language environment.
9706 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9708 Fix glitches caused by addition of psec to timers (Bug#12430).
9709 * image.el (image-animate-timer):
9710 * time.el (display-time-world-timer):
9711 Use timer--function and timer--args rather than raw access to
9714 2012-09-13 Glenn Morris <rgm@gnu.org>
9716 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9717 If not compiling a file, try using load-file-name.
9719 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9721 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9723 (edebug-update-eval-list): Use `push'.
9725 * emacs-lisp/edebug.el: Use lexical-binding.
9726 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9727 Mark unused args with underscore.
9728 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9729 (edebug-form-data): Use defvar-local.
9730 (edebug-make-before-and-after-form, edebug-make-after-form):
9732 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9733 Not dynamically scoped any more.
9734 (edebug--enter-trace): Add arguments `function' and `args'.
9735 Rename from edebug-enter-trace.
9736 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9737 (edebug--update-coverage): Add `after-index' and `value' args.
9738 Rename from edebug-update-coverage.
9739 (edebug-slow-after): Call it accordingly.
9740 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9741 edebug-recursive-edit.
9742 (edebug--display): Call it accordingly. Add args `value',
9743 `offset-index', and `arg-mode'. Rename from edebug-display.
9744 (edebug-debugger, edebug): Call it accordingly.
9745 (edebug-eval-display-list): Use dolist.
9747 2012-09-12 Juri Linkov <juri@jurta.org>
9749 * info.el (Info-search): Don't check for isearch-mode and
9750 isearch-regexp before let-binding search-spaces-regexp to
9751 Info-search-whitespace-regexp.
9752 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9753 search-whitespace-regexp if isearch-lax-whitespace or
9754 isearch-regexp-lax-whitespace is non-nil.
9755 (Info-mode): Don't set local variable search-whitespace-regexp.
9756 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9758 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9760 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9761 (debugger-env-macro): Remove support for unread-command-char.
9763 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9764 the temporary map re-appearing on emulation-mode-map-alists.
9766 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9769 * ehelp.el (with-electric-help): Accept functions in
9770 electric-help-form-to-execute.
9771 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9772 And replace unread-command-char -> unread-command-events.
9774 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9776 Sync with Tramp 2.2.6.
9778 * net/tramp.el (tramp-accept-process-output): Don't use
9779 JUST-THIS-ONE in the XEmacs case.
9781 * net/trampver.el: Update release number.
9783 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9785 * emacs-lisp/debug.el (debugger-previous-window-height):
9787 (debug): When debugger-jumping-flag is non-nil try to restore
9788 height of debugger window. (Bug#8789)
9790 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9792 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9793 overriding-local-map and pre/post-command-hook here.
9794 (edebug-recursive-edit): Do it here instead (bug#12345).
9795 (edebug-outside-unread-command-char): Remove all uses of
9796 unread-command-char.
9798 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9799 inhibit-debugger is bound instead.
9801 2012-09-11 Bastien Guerry <bzg@gnu.org>
9803 * subr.el (set-temporary-overlay-map): Add a docstring.
9806 2012-09-11 Bastien Guerry <bzg@gnu.org>
9808 * minibuffer.el (completion-table-subvert): Fix docstring.
9811 2012-09-11 Bastien Guerry <bzg@gnu.org>
9813 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9815 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9817 * progmodes/sql.el: Version 3.1
9818 (sql-db2-escape-newlines): New variable.
9819 (sql-escape-newlines-filter): Use it.
9821 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9823 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9825 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9827 * vc/diff-mode.el (diff-mode-menu):
9828 Bind diff-remove-trailing-whitespace.
9830 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9832 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9833 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9834 (emacs-lisp-byte-code-mode): New functions.
9835 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9836 (eval-defun-2): Remove bogus interactive spec.
9837 (lisp-indent-line): Remove redundant whole-exp code, now done in
9838 indent-according-to-mode.
9839 (save-match-data): Remove redundant indent data.
9841 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9844 2012-09-09 Juri Linkov <juri@jurta.org>
9846 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9847 (replace-lax-whitespace, query-replace-regexp)
9848 (query-replace-regexp-eval, replace-regexp): Doc fix.
9849 (perform-replace, replace-highlight): Let-bind
9850 isearch-lax-whitespace to replace-lax-whitespace and
9851 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9853 * isearch.el (isearch-query-replace): Let-bind
9854 replace-lax-whitespace to isearch-lax-whitespace and
9855 replace-regexp-lax-whitespace to
9856 isearch-regexp-lax-whitespace. (Bug#10885)
9858 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9862 2012-09-09 Alan Mackenzie <acm@muc.de>
9864 * progmodes/cc-engine.el (c-state-cache-init):
9865 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9866 (c-record-parse-state-state):
9867 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9869 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9871 * register.el (register-separator): Rename from
9872 separator-register. All uses changed. Doc fix.
9873 (register): Fix version.
9875 2012-09-09 Chong Yidong <cyd@gnu.org>
9877 * replace.el (query-replace-map): Bind four new symbols for
9878 requesting window scrolling.
9880 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9881 query-replace-map (Bug#8948).
9883 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9885 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9886 since they are now in query-replace-map.
9888 * window.el (scroll-other-window-down): Make the arg optional.
9890 2012-09-09 Chong Yidong <cyd@gnu.org>
9892 * files.el (hack-local-variables-confirm): Use quit-window to kill
9893 the *Local Variables* buffer.
9895 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9897 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9898 not just expect to be at its beginning. Adjust callees.
9899 Succeed when do-end block has no space before the pipe character.
9900 (ruby-brace-to-do-end): When the original block is one-liner,
9901 convert to multiline. Reindent the result.
9903 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9905 * register.el (register): New group.
9906 (separator-register): New user option.
9907 (increment-register): Route it to `append-to-register', if
9908 register contains text. Implication is that `C-x r +' can now be
9909 used for appending to a text register (bug#12217).
9910 (append-to-register, prepend-to-register): Add separator based on
9911 `separator-register'.
9913 2012-09-08 Alan Mackenzie <acm@muc.de>
9915 AWK Mode: make auto-newline work when there's "==" in the pattern.
9916 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9918 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9919 Test more rigorously for "=" token.
9921 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9923 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9924 Only fail when reached LIMIT.
9926 2012-09-08 Chong Yidong <cyd@gnu.org>
9928 * dired.el (dired-mode-map): Don't bind M-=.
9930 * dired-aux.el (dired-diff): Use backup file as default.
9932 2012-09-08 Drew Adams <drew.adams@oracle.com>
9934 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9936 2012-09-08 Chong Yidong <cyd@gnu.org>
9938 * subr.el (syntax-after, syntax-class): Doc fix.
9940 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9942 * window.el (display-buffer-in-previous-window): New buffer
9943 display action function.
9945 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9946 (debugger-previous-window): New variable.
9947 (debug): Rewrite using display-buffer-in-previous-window,
9948 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9950 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9954 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9956 * progmodes/python.el (python-shell-send-string):
9957 When default-directory is remote, create temp file on remote
9959 (python-shell-send-file): When file is remote, pass local view of
9960 file paths to remote Python interpreter. (Bug#12340)
9962 2012-09-07 Chong Yidong <cyd@gnu.org>
9964 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9966 * files.el (after-find-file): Don't fail on a read-only buffer if
9967 require-final-newline is `visit' or `visit-save' (Bug#11156).
9969 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9971 * userlock.el (ask-user-about-supersession-threat):
9972 Use read-char-choice (Bug#12093).
9974 2012-09-07 Chong Yidong <cyd@gnu.org>
9976 * subr.el (buffer-narrowed-p): New function.
9978 * ses.el (ses-widen):
9979 * simple.el (count-words--buffer-message):
9980 * net/browse-url.el (browse-url-of-buffer): Use it.
9982 * simple.el (count-words-region): Don't signal an error if there
9983 is a non-nil prefix arg and the mark is not set.
9985 * help.el (describe-key-briefly): Allow the message to be seen
9986 when invoked from the minibuffer (Bug#7014).
9988 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9990 * progmodes/ruby-mode.el (ruby-end-of-defun)
9991 (ruby-beginning-of-defun): Simplify, allow indentation before
9992 block beginning and end keywords.
9993 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9994 (ruby-end-of-defun): Expect that the point is at the beginning of
9997 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9999 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10001 (cl--make-usage-args): Strip _ from argument names.
10003 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10005 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10006 obsolete alias speedbar-key-map.
10007 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10008 (vhdl-index-menu-init): Don't use obsolete variable
10009 font-lock-maximum-size.
10011 2012-09-06 Chong Yidong <cyd@gnu.org>
10013 * frame.el (window-system-version): Mark as obsolete.
10015 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10016 of obsolete variable speedbar-key-map.
10018 2012-09-06 Juri Linkov <juri@jurta.org>
10020 * replace.el (replace-lax-whitespace): New defcustom.
10021 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10022 (replace-string, replace-regexp): Mention it in docstrings.
10023 (perform-replace, replace-highlight): Let-bind
10024 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10025 to the values of replace-lax-whitespace and regexp-flag.
10026 Don't let-bind search-whitespace-regexp. (Bug#10885)
10028 * isearch.el (isearch-query-replace): Let-bind
10029 replace-lax-whitespace instead of let-binding
10030 replace-search-function and replace-re-search-function.
10031 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10032 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10033 (isearch-toggle-symbol): Set isearch-regexp to nil
10034 in isearch-word mode (like in isearch-toggle-word).
10036 2012-09-06 Juri Linkov <juri@jurta.org>
10038 * replace.el (replace-search-function)
10039 (replace-re-search-function): Set default values to nil.
10040 (perform-replace): Let-bind isearch-related variables based on
10041 replace-related values, call `isearch-search-fun' and let-bind
10042 the result to `search-function'. Remove code that sets
10043 `search-function' and `search-string' separately for
10045 (replace-highlight): Add new argument `delimited-flag' and
10046 rename other arguments to the names used in `perform-replace'.
10047 Let-bind `isearch-word' to the argument `delimited-flag'.
10048 (Bug#10885, bug#10887)
10050 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10052 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10053 ruby-beginning-of-indent, simplify, allow all keywords to have
10054 indentation before them.
10055 (ruby-beginning-of-indent): Adjust for above. Search until the
10056 found point is not inside a string or comment.
10057 (ruby-font-lock-keywords): Allow symbols to start with "@"
10058 character, give them higher priority than variables.
10059 (ruby-syntax-propertize-function)
10060 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10061 matchers. Expression expansions are not comments when inside a
10062 string, and there comment syntax status is irrelevant.
10063 (ruby-match-expression-expansion): New function. Check that
10064 expression expansion is inside a string, and it's not escaped.
10065 (ruby-font-lock-keywords): Use it.
10067 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10069 * help.el (temp-buffer-max-height): New default value.
10070 (temp-buffer-resize-frames): New option.
10071 (resize-temp-buffer-window): Optionally resize frame.
10073 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10074 (fit-frame-to-buffer): New function.
10076 2012-09-05 Glenn Morris <rgm@gnu.org>
10078 * emulation/cua-rect.el (cua--init-rectangles):
10079 * textmodes/picture.el (picture-mode-map):
10080 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10081 like forward-char and backward-char. (Bug#12317)
10083 2012-09-05 Leo Liu <sdl.web@gmail.com>
10085 * progmodes/flymake.el (flymake-warning-re): New variable.
10086 (flymake-parse-line): Use it.
10088 2012-09-05 Glenn Morris <rgm@gnu.org>
10090 * calendar/holidays.el (holiday-christian-holidays):
10091 Rename an entry. (Bug#12289)
10093 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10098 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * loadup.el: Load macroexp. Remove hack.
10101 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10102 (macroexp--expand-all): Use it to get better warnings.
10103 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10104 (internal-macroexpand-for-load): New functions.
10105 (macroexp--pending-eager-loads): New var.
10106 (emacs-startup-hook): New hack to replace one in loadup.el.
10107 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10108 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10109 (cl-psetf): Simplify.
10110 (cl-defstruct): Add indent rule.
10112 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10114 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10115 over `user-mail-address' for the SMTP MAIL FROM envelope.
10116 (smtpmail-via-smtp): Ditto.
10118 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10120 * progmodes/ruby-mode.el: Clean up keybindings.
10121 (ruby-mode-map): Don't bind ruby-electric-brace,
10122 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10123 backward-kill-word, reindent-then-newline-and-indent.
10124 (ruby-mark-defun): Remove.
10125 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10126 (ruby-mode): Set local beginning-of-defun-function and
10127 end-of-defun-function values.
10129 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10131 * window.el (temp-buffer-window-setup-hook)
10132 (temp-buffer-window-show-hook): New hooks.
10133 (temp-buffer-window-setup, temp-buffer-window-show)
10134 (with-temp-buffer-window): New functions.
10135 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10136 (special-display-popup-frame): Make sure the window used shows BUFFER.
10138 * help.el (temp-buffer-resize-mode): Fix doc-string.
10139 (resize-temp-buffer-window): New optional argument WINDOW.
10141 * files.el (recover-file, save-buffers-kill-emacs):
10142 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10144 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10146 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10147 remote definition of `default-directory', ensure we can connect.
10149 2012-09-02 Juri Linkov <juri@jurta.org>
10151 Toggle whitespace matching mode with M-s SPC.
10152 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10154 * isearch.el (search-whitespace-regexp): Doc fix.
10155 Remove cons cell customization.
10156 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10157 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10159 (isearch-forward, isearch-forward-regexp): Doc fix.
10160 (isearch-toggle-lax-whitespace): New command.
10161 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10162 (re-search-forward-lax-whitespace)
10163 (re-search-backward-lax-whitespace): New functions.
10164 (isearch-whitespace-regexp): Remove function.
10165 (isearch-query-replace): Let-bind replace-search-function and
10166 replace-re-search-function.
10167 (isearch-occur): Let-bind search-spaces-regexp according to the
10168 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10169 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10170 condition for C-q SPC.
10171 (isearch-search-fun-default): Use new functions mentioned above.
10172 (isearch-search-forward, isearch-search-backward): Remove functions.
10173 (isearch-search): Don't let-bind search-spaces-regexp.
10174 (isearch-lazy-highlight-space-regexp): Remove variable.
10175 (isearch-lazy-highlight-lax-whitespace)
10176 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10177 (isearch-lazy-highlight-new-loop): Use them.
10178 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10180 2012-09-02 Chong Yidong <cyd@gnu.org>
10182 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10184 2012-09-02 Glenn Morris <rgm@gnu.org>
10186 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10188 2012-09-01 Glenn Morris <rgm@gnu.org>
10190 * term.el: Tidy up menu definitions.
10191 (term-mode-map): Use easymenu for In/Out, Complete menus.
10192 (term-pager-break-map): Initialize in the defvar.
10193 (term-terminal-menu, term-signals-menu): Define with easymenu.
10194 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10195 (term-pager-menu): New, extracted from term-process-pager.
10196 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10197 (term-update-mode-line): Propertize line/char and page items.
10198 (term-process-pager): Move keymap initialization elsewhere.
10200 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10202 * window.el (switch-to-prev-buffer): Handle additional values of
10203 BURY-OR-KILL argument. Don't switch in minibuffer window.
10204 (switch-to-next-buffer): Don't switch in minibuffer window.
10205 (quit-restore-window): New function based on quit-window.
10206 Handle additional values of former KILL argument.
10207 (quit-window): Call quit-restore-window with appropriate
10208 interpretation of KILL argument.
10209 (display-buffer-below-selected): New buffer display action
10212 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * minibuffer.el (completion-at-point-functions): Complete docstring
10217 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10219 Better seed support for (random).
10220 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10221 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10222 * play/mpuz.el, play/tetris.el, play/zone.el:
10223 * calc/calc-comb.el (math-init-random-base):
10224 * play/blackbox.el (bb-init-board):
10225 * play/life.el (life):
10226 * server.el (server-use-tcp):
10227 * type-break.el (type-break):
10228 Remove unnecessary call to (random t).
10229 * net/sasl.el (sasl-unique-id-function):
10230 Change (random t) to (random), now that the latter is more random.
10231 * play/life.el (life-initialized): Remove no-longer-needed var.
10233 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10235 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10236 Consider frame's buffer predicate when choosing the buffer.
10239 2012-08-30 Richard Stallman <rms@gnu.org>
10241 * simple.el (special-mode-map): Delete binding for `z'.
10243 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10245 * progmodes/compile.el (compilation-always-kill): Doc fix.
10247 2012-08-30 Chong Yidong <cyd@gnu.org>
10249 * window.el (display-buffer-reuse-frames): Make the obsolescence
10250 message more informative.
10252 2012-08-30 Glenn Morris <rgm@gnu.org>
10254 * paren.el (show-paren-delay):
10255 Add a :set function. Doc fix. (Bug#12297)
10257 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10259 * progmodes/compile.el (compilation-always-kill): New var.
10260 (compilation-start): Use it.
10262 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10265 * files.el (read-only-mode): Move to simple.el.
10267 * files.el (read-only-mode): New minor mode.
10268 (toggle-read-only): Use it and mark obsolete.
10269 (find-file--read-only):
10270 * vc/vc.el (vc-next-action, vc-checkout):
10271 * vc/vc-cvs.el (vc-cvs-checkout):
10272 * obsolete/vc-mcvs.el (vc-mcvs-update):
10273 * ffap.el (ffap--toggle-read-only): Update callers.
10275 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10277 * eshell/esh-ext.el (eshell-external-command): Do not examine
10278 remote shell scripts.
10279 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10281 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10284 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10288 2012-08-28 Leo Liu <sdl.web@gmail.com>
10290 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10291 completion-at-point. (Bug#12220)
10293 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10295 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10297 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10299 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10300 be buffer-local; add delete-trailing-whitespace (bug#12259).
10302 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10304 * progmodes/hideif.el (hif-compress-define-list):
10305 Fix typo. (Bug#11951)
10307 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10309 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10310 buffer local setting.
10312 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10313 rcirc-encode-coding-system.
10315 2012-08-28 Leo Liu <sdl.web@gmail.com>
10317 * net/rcirc.el (rcirc-split-message): New function.
10318 (rcirc-send-message): Use it. (Bug#12051)
10320 2012-08-28 Juri Linkov <juri@jurta.org>
10322 * info.el (Info-fontify-node): Hide empty lines at the end of
10323 the node. (Bug#12272)
10325 2012-08-27 Drew Adams <drew.adams@oracle.com>
10327 * dired.el (dired-pop-to-buffer): Make window start at beginning
10328 of buffer (Bug#12281).
10330 2012-08-26 Chong Yidong <cyd@gnu.org>
10332 * window.el (special-display-regexps, special-display-frame-alist)
10333 (special-display-buffer-names, special-display-function)
10334 (display-buffer-reuse-frames): Mark as obsolete.
10336 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10338 * help.el (help-print-return-message): Don't treat
10339 display-buffer-reuse-frames specially.
10341 2012-08-26 Chong Yidong <cyd@gnu.org>
10343 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10344 New variable, replacing gdb-frame-parameters.
10345 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10346 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10347 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10348 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10349 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10350 the functions directly with gdb-display-buffer-other-frame-action.
10351 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10352 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10353 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10354 (gdb-display-registers-buffer): Define directly.
10355 (def-gdb-display-buffer): Macro deleted.
10356 (gdb-display-buffer): Remove second and third args, callers don't
10357 use them. Defer to the default display-buffer behavior, apart
10358 from making windows dedicated.
10359 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10361 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10363 * window.el (display-buffer-pop-up-frame): Handle a
10364 pop-up-frame-parameters alist entry.
10365 (display-buffer): Document it.
10367 2012-08-26 Chong Yidong <cyd@gnu.org>
10369 * isearch.el (search-whitespace-regexp): Make string and nil
10370 values apply to both ordinary and regexp search. Allow a cons
10371 cell value to distinguish between the two.
10372 (isearch-whitespace-regexp, isearch-search-forward)
10373 (isearch-search-backward): New functions.
10374 (isearch-occur, isearch-search-fun-default, isearch-search)
10375 (isearch-lazy-highlight-new-loop): Use them.
10376 (isearch-forward, isearch-forward-regexp): Doc fix.
10378 2012-08-26 Chong Yidong <cyd@gnu.org>
10380 * faces.el (help-argument-name): Always inherit from italic
10383 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10385 * window.el (window--even-window-heights): Even heights when
10386 WINDOW and the selected window form a vertical combination.
10387 (display-buffer-use-some-window): Provide that window used gets
10388 sized back by quit-window. (Bug#11880) and (Bug#12091)
10390 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10392 Fix file time stamp problem with bzr and CVS (Bug#12001).
10393 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10394 in the file's time stamp, since the version control system loses
10397 2012-08-22 Juri Linkov <juri@jurta.org>
10399 * info.el (Info-fontify-node): Hide the suffix of the
10400 Info file name in the header line. (Bug#12187)
10402 2012-08-22 Glenn Morris <rgm@gnu.org>
10404 * calendar/cal-tex.el (cal-tex-weekly-common):
10405 Restore leading blank page.
10407 2012-08-22 Le Wang <l26wang@gmail.com>
10409 * misc.el (forward-to-word, backward-to-word): Activate or extend
10410 the region under `shift-select-mode'. (Bug#12231)
10412 2012-08-22 Bastien Guerry <bzg@gnu.org>
10414 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10415 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10416 gives details on why the space is never needed.
10418 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10420 * window.el (walk-window-tree, window-with-parameter):
10421 New optional argument MINIBUF to control whether these functions
10422 should run on the minibuffer window.
10423 (window-at-side-list): Don't operate on minibuffer window.
10424 (window-in-direction): Simplify and rewrite doc-string.
10425 (window--size-ignore): Rename to window--size-ignore-p.
10427 (display-buffer-in-atom-window, window--major-non-side-window)
10428 (window--major-side-window, display-buffer-in-major-side-window)
10429 (delete-side-window, display-buffer-in-side-window):
10431 (window--side-check, window-deletable-p, delete-window)
10432 (delete-other-windows, split-window): Handle side windows and
10433 atomic windows appropriately.
10434 (window--display-buffer): Call display-buffer-record-window also
10435 when the window buffer did not change.
10437 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10439 * help-fns.el (help-fns--key-bindings):
10440 Abbreviate non-symbol remap targets. (Bug#12174)
10442 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10444 * dired.el (dired-mark-remembered): Don't clobber point.
10447 2012-08-22 Glenn Morris <rgm@gnu.org>
10449 * progmodes/bug-reference.el (bug-reference): New custom group.
10450 (bug-reference-bug-regexp): Make it a defcustom.
10452 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10454 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10455 (js-paren-indent-offset, js-square-indent-offset)
10456 (js-curly-indent-offset): Add :safe (Bug#12257).
10458 2012-08-22 Edward O'Connor <hober0@gmail.com>
10460 * json.el (json-key-format): Add error properties.
10461 (json-encode-key): New function.
10462 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10463 Use json-encode-key.
10465 2012-08-22 Glenn Morris <rgm@gnu.org>
10467 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10468 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10469 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10470 Update for above change.
10472 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10474 * cus-face.el (custom-face-attributes): Fix customize type for the
10475 :underline attribute. (Bug#11805)
10477 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10479 * window.el (window-point-1, set-window-point-1): Remove.
10480 (window-in-direction, record-window-buffer)
10481 (set-window-buffer-start-and-point, split-window-below)
10482 (window--state-get-1, display-buffer-record-window):
10483 Replace calls to window-point-1 and set-window-point-1 by calls to
10484 window-point and set-window-point respectively.
10486 2012-08-21 Glenn Morris <rgm@gnu.org>
10488 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10489 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10492 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10493 (cal-tex-shortday): New function.
10494 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10495 (cal-tex-cursor-filofax-daily): Use the above.
10497 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10499 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10500 (cal-tex-cursor-filofax-week): Use them.
10502 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10504 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10505 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10507 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10508 (cal-tex-end-document): Don't rely on buffer name.
10510 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10511 Use cal-tex-vspace.
10512 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10513 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10514 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10517 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10518 (cal-tex-cursor-week, cal-tex-cursor-week2)
10519 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10520 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10521 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10522 (cal-tex-insert-preamble, cal-tex-b-document)
10523 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10524 Improve cal-tex-cmd usage.
10526 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10527 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10528 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10529 (cal-tex-weekly-paper): New function.
10530 (cal-tex-cursor-week, cal-tex-cursor-week2)
10531 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10532 (cal-tex-cursor-day): Use it.
10534 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10535 (cal-tex-cursor-filofax-week): Remove leading blank page.
10537 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10538 Add autoload cookie. For now at least, don't use color, since
10539 no other cal-tex function does.
10541 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10542 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10543 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10545 2012-08-21 Juri Linkov <juri@jurta.org>
10547 * info.el (Info-file-attributes): New variable.
10548 (info-insert-file-contents): Add file attributes to
10549 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10550 `Info-toc-nodes' when previous modtime of the Info file is less
10552 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10553 of info.el. (Bug#12230)
10555 2012-08-20 Glenn Morris <rgm@gnu.org>
10557 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10558 * calendar/holidays.el (calendar-holiday-list):
10559 Report errors with display-warning rather than beep'n'sleep.
10561 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10563 * net/tramp.el (tramp-accept-process-output): Accept only output
10564 from PROC. Otherwise, process filters and sentinels might be
10565 confused. (Bug#12145)
10567 2012-08-20 Chong Yidong <cyd@gnu.org>
10569 * descr-text.el (describe-text-properties-1): Use overlays-in to
10570 report on empty overlays (Bug#3322).
10572 2012-08-20 Glenn Morris <rgm@gnu.org>
10574 * mail/rmailout.el (rmail-output-read-file-name):
10575 Trap and report errors in rmail-output-file-alist elements.
10577 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10578 since most non-font-lock faces are not also variables).
10580 2012-08-20 Edward Reingold <reingold@iit.edu>
10582 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10583 New function. (Bug12160)
10585 2012-08-19 Glenn Morris <rgm@gnu.org>
10587 * mail/rmailout.el (rmail-output-read-file-name):
10588 Fix previous change (when the alist is nil or does not match).
10590 2012-08-19 Chong Yidong <cyd@gnu.org>
10592 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10595 2012-08-18 Chong Yidong <cyd@gnu.org>
10597 * simple.el (yank-handled-properties): New defcustom.
10598 (yank-excluded-properties): Add font-lock-face and category.
10601 * subr.el (remove-yank-excluded-properties):
10602 Obey yank-handled-properties. The special handling of font-lock-face
10603 and category is now done this way, instead of being hard-coded.
10604 (insert-for-yank-1): Remove font-lock-face handling.
10605 (yank-handle-font-lock-face-property)
10606 (yank-handle-category-property): New function.
10608 2012-08-17 Glenn Morris <rgm@gnu.org>
10610 * mail/rmailout.el (rmail-output-read-file-name):
10611 Check rmail-output-file-alist against the full message body
10612 in the correct rmail buffer. (Bug#12214)
10614 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10616 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10617 Eliminate superfluous prompt. (Bug#12203)
10619 2012-08-17 Chong Yidong <cyd@gnu.org>
10621 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10622 font spec, set the font directly (Bug#3228).
10624 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10626 * window.el (delete-window): Fix last fix.
10628 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10630 * window.el (window-valid-p): Move to window.c.
10631 (window-child, window-child-count, window-last-child)
10632 (window-normalize-window, window-combined-p)
10633 (window-combinations, window-atom-root, window-min-size)
10634 (window-sizable, window-sizable-p, window-size-fixed-p)
10635 (window-min-delta, window-max-delta, window--resizable)
10636 (window--resizable-p, window-resizable, window-total-size)
10637 (window-full-height-p, window-full-width-p, window-body-size)
10638 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10639 (minimize-window, window-deletable-p, delete-window)
10640 (delete-other-windows, set-window-buffer-start-and-point)
10641 (next-buffer, previous-buffer, split-window, balance-windows-2)
10642 (set-window-text-height, window-buffer-height)
10643 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10644 (truncated-partial-width-window-p): Minor code adjustments.
10645 In doc-strings state whether the argument window has to denote a
10646 live, valid or any window.
10648 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10650 * progmodes/subword.el (subword-forward-function)
10651 (subword-backward-function, subword-forward-regexp)
10652 (subword-backward-regexp): New variables.
10653 (subword-forward, subword-forward-internal, subword-backward-internal):
10654 Use new variables, eg so that different "word" definitions
10655 can be easily used. (Bug#11411)
10657 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10659 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10660 for composite selectors.
10661 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10662 operation just because we can't find a previous revision.
10664 2012-08-15 Chong Yidong <cyd@gnu.org>
10666 * frame.el (set-frame-font): Accept font objects.
10668 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10670 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10672 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10674 * man.el (Man-overstrike-face, Man-underline-face)
10675 (Man-reverse-face): Remove variables.
10676 (Man-overstrike, Man-underline, Man-reverse): New faces.
10677 (Man-fontify-manpage): Use them instead of the variables.
10678 (Man-cleanup-manpage): Comment change.
10679 (Man-ansi-color-map): New variable.
10680 (Man-fontify-manpage): Use it.
10681 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10683 Implement ANSI SGR parameters 22-27 (bug#12146).
10684 * ansi-color.el (ansi-colors): Doc fix.
10685 (ansi-color-context, ansi-color-context-region): Doc fix.
10686 (ansi-color--find-face): New function.
10687 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10688 Rename the local variable `face' to `codes' since it is now a list of
10689 ansi codes. Doc fix.
10690 (ansi-color-get-face): Remove.
10691 (ansi-color-parse-sequence): New function, derived from
10692 ansi-color-get-face.
10693 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10696 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10698 * subr.el (read-passwd): Allow use from a minibuffer.
10700 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10702 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10703 inside comments and strings as identifiers.
10705 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10706 expression to evaluate. This allows to evaluate expressions with
10707 embedded whitespace.
10708 (gud-tooltip-tips): Add a blank before the newline in the
10709 message-box text, for the benefit of message-box emulation on
10712 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10713 messages from GDB, pop them up in a tooltip to give feedback to
10715 (gdb-tooltip-print-1): Quote the expression to evaluate.
10716 This allows to evaluate expressions with embedded whitespace.
10717 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10718 if the TTY name is nil or empty (which happens when communicating
10719 with the inferior via pipes, e.g. on MS-Windows).
10720 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10721 don't send that to the GUD buffer.
10723 2012-08-14 Glenn Morris <rgm@gnu.org>
10725 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10726 Optimize away setq-default with no args, as for setq. (Bug#12195)
10728 2012-08-14 Chong Yidong <cyd@gnu.org>
10730 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10732 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10735 2012-08-14 Glenn Morris <rgm@gnu.org>
10737 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10739 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10741 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10742 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10743 Use cached shell name.
10745 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10747 * progmodes/python.el (python-shell-send-string):
10748 (python-shell-send-setup-code): Do not use `format' with `message'.
10750 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10752 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10753 (ruby-percent-literal-beg-re): New constant.
10754 (ruby-syntax-general-delimiters-goto-beg): Rename to
10755 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10756 (ruby-syntax-propertize-general-delimiters): Rename to
10757 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10758 popular term. Adjust comments everywhere.
10759 (ruby-syntax-propertize-percent-literal): Only propertize when not
10760 inside a simple string or comment. When the literal is unclosed,
10761 leave the text after it unpropertized.
10762 (ruby-syntax-methods-before-regexp): New constant.
10763 (ruby-syntax-propertize-function): Use it to recognize regexps.
10764 Don't look at the text after regexp, just use the whitelist.
10766 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10768 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10769 non-nil always load the compiled file if it exists. (Bug#12197)
10771 2012-08-14 Chong Yidong <cyd@gnu.org>
10773 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10774 (hi-lock-set-pattern): When deciding whether to use font lock or
10775 overlays, look at font-lock-mode instead of font-lock-fontified
10777 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10778 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10780 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10782 * subr.el (internal--after-with-selected-window): Fix typo
10785 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10787 Use `completion-table-dynamic' for completion functions.
10788 * progmodes/python.el
10789 (python-shell-completion--do-completion-at-point)
10790 (python-shell-completion--get-completions):
10792 (python-shell-completion-complete-at-point): New function.
10793 (python-completion-complete-at-point): Use it.
10795 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10797 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10798 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10800 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * subr.el (function-get): Refine `autoload' arg so it can also
10803 autoload functions for gv.el (bug#12191).
10804 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10807 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10808 Prefer pcase-let over destructuring-bind.
10809 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10810 Also, remove whitespace as we go, rather than after accumulating the
10813 * subr.el (internal--before-with-selected-window)
10814 (internal--after-with-selected-window): Fix typo seleted->selected.
10815 (with-selected-window): Adjust callers.
10816 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10818 2012-08-13 Bastien Guerry <bzg@gnu.org>
10820 * window.el (special-display-popup-frame): Minor docstring
10821 enhancement. (Bug#12172)
10823 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10825 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10827 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10830 * files.el (hack-local-variables-filter): Remove useless eval.
10832 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10834 * subr.el (with-selected-window): Fix last change.
10836 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * subr.el (internal--before-with-seleted-window)
10839 (internal--after-with-seleted-window): New functions.
10840 (with-selected-window): Use them, to replace dependency on
10843 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10845 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10846 binding for `newline'.
10847 (ruby-move-to-block): When moving backward, stop at block opening,
10849 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10850 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10851 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10852 `ruby-toggle-block'.
10854 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10856 * ibuffer.el (ibuffer-do-toggle-read-only):
10857 * dired.el (dired-toggle-read-only):
10858 * buff-menu.el (Buffer-menu-toggle-read-only):
10859 * bindings.el (mode-line-toggle-read-only):
10860 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10862 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10864 * descr-text.el (describe-char): Put the overlays over the
10865 "displayed as" character.
10867 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10869 * calc/calc-units.el (math-default-units-table): Give an
10871 (math-put-default-units): Add options to put composite units and
10872 unit systems in the default units table.
10873 (calc-convert-units): Send composite units to
10874 `math-put-default-units' when appropriate.
10876 2012-08-11 Glenn Morris <rgm@gnu.org>
10878 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10880 * tutorial.el (help-with-tutorial):
10881 * emacs-lisp/copyright.el (copyright-update-directory):
10882 * emacs-lisp/autoload.el (autoload-find-generated-file)
10883 (autoload-find-file): Disable local eval: (for insurance).
10885 * files.el (hack-local-variables-filter): If an eval: form is not
10886 known to be safe, and enable-local-variables is :safe, then ignore
10887 the form totally, as is done for non-eval forms. (Bug#12155)
10888 This is CVE-2012-3479.
10890 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10892 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10893 (rx-form): Simplify.
10895 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10897 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10898 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10899 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10900 (ruby-syntax-propertize-function): Adjust for changes in
10901 `ruby-syntax-propertize-heredoc'.
10903 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10905 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10906 binding (use `M-;' instead).
10907 (ruby-singleton-class-p): New function.
10908 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10910 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10912 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10914 2012-08-10 Chong Yidong <cyd@gnu.org>
10916 * progmodes/python.el (python-shell-get-process-name): Don't mess
10917 with same-window-buffer-names.
10919 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10920 (eshell-remove-from-window-buffer-names): Make obsolete.
10921 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10922 (eshell): Just use pop-to-buffer-same-window instead.
10924 2012-08-10 Chong Yidong <cyd@gnu.org>
10926 * bindings.el: Bind M-= back to count-words-region.
10928 * simple.el (count-words-region): Accept a prefix arg for acting
10929 on the entire buffer.
10930 (count-words--buffer-message): New helper function.
10932 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10934 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10935 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10936 (event-start, event-end): Use posn-at-point to return a more
10938 (posnp): New function.
10939 * mouse.el (popup-menu-normalize-position): Use it.
10941 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10943 * mouse.el (popup-menu-normalize-position): New function.
10944 (popup-menu): Use `popup-menu-normalize-position' to normalize
10945 the form for POSITION argument.
10947 * term/x-win.el (x-menu-bar-open):
10948 Use the value returend from (posn-at-point) as position
10949 passed to `popup-menu'.
10951 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10953 * calc/calccomp.el (math-compose-expr): Add extra argument
10954 indicating that parentheses should be put around products in
10955 denominators. Give multiplication precedence over division during
10958 2012-08-09 Chong Yidong <cyd@gnu.org>
10960 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10961 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10962 (Man-untabify-command, manual-program): Convert to defcustom
10965 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10967 * descr-text.el (describe-char): Don't insert extra newlines
10970 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10971 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10973 * align.el (align-region): Delete temporary markers (Bug#10047).
10974 Plus some code cleanups.
10976 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10978 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10979 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10980 (python-shell-internal-last-output): Use make-local-variable
10981 instead of make-variable-buffer-local.
10983 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10985 * progmodes/python.el: Enhancements to forward-sexp.
10986 (python-nav-forward-sexp): Rename from
10987 python-nav-forward-sexp-function.
10988 (python-nav--forward-sexp, python-nav--backward-sexp):
10991 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10993 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10994 modes and simplification modes.
10996 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * delsel.el (delete-selection-pre-hook): Don't propagate the
10999 file-supersession signals (bug#12161).
11001 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11004 (cl-map-extents): Add compatibility aliases (bug#12135).
11006 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11008 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11009 tests by `ignore-error'.
11010 (tramp-find-shell): Open also a new shell, when cache is already
11011 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11013 2012-08-08 Juri Linkov <juri@jurta.org>
11015 * bookmark.el: Add `defaults' property to the bookmark record.
11016 (bookmark-current-buffer): Doc fix.
11017 (bookmark-make-record): Add `defaults' property with default values
11018 to the bookmark record.
11019 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11020 with `bookmark-insert-current-bookmark'.
11021 (bookmark-set): Get `defaults' property from the bookmark record
11022 and use it in `read-from-minibuffer'.
11023 (bookmark-insert-current-bookmark): Remove function.
11025 * info.el (Info-bookmark-make-record): Add `defaults' property
11026 with values of canonical Info node name, the current Info file
11027 name and the current Info node name. (Bug#12107)
11029 2012-08-08 Juri Linkov <juri@jurta.org>
11031 * files.el (basic-save-buffer): Use `buffer-name' as the default
11032 of `read-file-name' when buffer is not visiting a file (bug#12128).
11034 2012-08-08 Juri Linkov <juri@jurta.org>
11036 * info.el (Info-isearch-search): Doc fix.
11037 (Info-search): Change search-failed message from "initial node" to
11038 "end of node" (bug#12078).
11039 (Info-isearch-search): Change `isearch-string-state' to
11040 `isearch--state-string'.
11042 2012-08-08 Glenn Morris <rgm@gnu.org>
11044 * language/persian.el: Remove file.
11045 * language/misc-lang.el: Move unique part of persian.el here.
11046 * loadup.el: Remove language/persian.
11048 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
11050 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11052 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
11054 * progmodes/python.el: Fix defsubst warning.
11055 (python-syntax-context) Rename from python-info-ppss-context.
11056 (python-syntax-context-type): Rename from
11057 python-info-ppss-context-type.
11058 (python-syntax-comment-or-string-p): Rename from
11059 python-info-ppss-comment-or-string-p.
11061 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11063 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11065 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11067 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11068 a defcustom that is quoted with backquote.
11070 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11071 Fix handling of interactive spec when the body uses return.
11072 (math-do-arg-check, math-define-function-body): Use backquote forms.
11073 * calc/calc-ext.el (math-defcache): Likewise.
11074 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11075 * allout.el (allout-new-exposure): Likewise.
11076 * calc/calcalg2.el (math-tracing-integral): Likewise.
11077 * info.el (Info-last-menu-item): Likewise.
11078 * emulation/vip.el (vip-loop): Likewise.
11079 * textmodes/artist.el (artist-funcall): Likewise.
11080 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11081 Construct menu-item directly.
11083 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11086 2012-08-07 Chong Yidong <cyd@gnu.org>
11088 * simple.el (deactivate-mark): Preserve text properties when
11089 saving the primary selection (Bug#8384).
11091 2012-08-07 Kevin Ryde <user42@zip.com.au>
11093 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11094 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11095 and continue processing (Bug#12110).
11097 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11099 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11100 syntax-propertize-function (bug#10095).
11102 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11104 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11105 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11106 describe-function-1.
11107 (describe-function-1): Use them. Move compiler macro after sig.
11108 (help-fns--compiler-macro): Use function-get. Assume we're already in
11109 standard-output. Adjust layout to new call order.
11111 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11112 re-binding a symbol that has a symbol-macro (bug#12119).
11114 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11116 * language/persian.el: New file. (Bug#11812)
11117 * loadup.el: Add language/persian.el.
11119 2012-08-06 Chong Yidong <cyd@gnu.org>
11121 * window.el (window--maybe-raise-frame): New function.
11122 (window--display-buffer): Split off from here.
11123 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11124 (display-buffer-pop-up-window, display-buffer-use-some-window):
11125 Obey an inhibit-switch-frame action alist entry.
11126 (display-buffer): Update doc.
11128 * replace.el (occur-after-change-function): Avoid losing focus by
11129 using the inhibit-switch-frame display parameter (Bug#12139).
11131 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
11133 Make internal shell process buffer names start with space.
11134 * progmodes/python.el (python-shell-make-comint): Add optional
11136 (run-python-internal): Use it.
11137 (python-shell-internal-get-or-create-process): Check for new
11138 internal buffer names.
11140 2012-08-06 Glenn Morris <rgm@gnu.org>
11142 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11143 Do less getting and setting of environment variables.
11145 2012-08-05 Chong Yidong <cyd@gnu.org>
11147 * proced.el (proced): Add substitution string to docstring to
11148 trigger autoloading of the proced library on C-h f (Bug#1768).
11150 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11151 Don't show defvars which have no second argument (Bug#8638).
11153 * imenu.el (imenu-generic-expression): Move documentation here
11154 from imenu--generic-function.
11155 (imenu--generic-function): Refer to imenu-generic-expression.
11157 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
11159 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11160 indentation declaration.
11161 (viper-loop): Add indentation declaration (Bug#7025).
11163 2012-08-05 Chong Yidong <cyd@gnu.org>
11165 * help-fns.el (describe-variable): Add hyperlink for
11166 directory-local variables files. Improve buffer-local and
11167 permanent-local reporting; suggested by MON KEY (Bug#6644).
11169 * help-mode.el (help-dir-local-var-def): New button type.
11171 * files.el (kill-buffer-hook): Provide a defvar.
11173 2012-08-05 Glenn Morris <rgm@gnu.org>
11175 * eshell/esh-ext.el (eshell/addpath):
11176 Also update eshell-path-env. (Bug#12013)
11178 2012-08-05 Chong Yidong <cyd@gnu.org>
11180 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11182 * fringe.el (fringe-styles): Add docstring.
11183 (fringe--check-mode): New function.
11184 (set-fringe-mode, set-fringe-style): Use it.
11185 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11187 * files.el (set-auto-mode): Fix invalid setq call.
11189 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11191 * isearch.el: Misc simplification; use defstruct.
11192 (isearch-mode-map): Dense maps now work like sparse ones.
11193 (isearch--state): New defstruct.
11194 (isearch-string-state, isearch-message-state, isearch-point-state)
11195 (isearch-success-state, isearch-forward-state)
11196 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11197 (isearch-wrapped-state, isearch-barrier-state)
11198 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11199 replaced by defstruct's accessors.
11200 (isearch--set-state): Rename from isearch-top-state and change
11201 calling convention.
11202 (isearch-push-state): Use new isearch--get-state.
11203 (isearch-toggle-word): Disable regexp when enabling word.
11204 (isearch-message-prefix): Remove unused arg _c-q-hack.
11205 (isearch-message-suffix): Remove unused arg _ellipsis.
11207 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11209 * simple.el (list-processes--refresh): For a server use :host or
11210 :local as the address.
11211 (list-processes): Doc fix.
11213 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11215 * lisp/mpc.el: Support password in host argument.
11216 (mpc--proc-connect): Parse and use new password element.
11217 Set mpc-proc variable instead of returning process.
11218 (mpc-proc): Adjust accordingly.
11220 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11222 * whitespace.el (whitespace-display-mappings): Use Unicode
11223 codepoints, instead of emacs-mule codepoints. See
11224 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11227 * files.el (file-truename): Don't skip symlink-chasing part on
11228 windows-nt. Incorporate the resolution of 8+3 short aliases on
11229 Windows into the loop that recursively chases symlinks.
11230 Compare directory and its parent case-insensitively on MS-Windows and
11233 2012-08-03 Chong Yidong <cyd@gnu.org>
11235 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11237 * sort.el (sort-regexp-fields): Doc fix.
11239 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11241 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11242 labels regex position point at the expected place.
11244 2012-08-03 MON KEY <monkey@sandpframing.com>
11246 * net/imap.el (imap-interactive-login, imap-authenticate)
11247 (imap-mailbox-lsub, imap-mailbox-list)
11248 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11249 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11250 (imap-parse-response): Doc fix.
11252 2012-08-03 João Távora <joaotavora@gmail.com>
11254 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11255 if sexp scanning does not move point (Bug#5734).
11257 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11259 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11260 Add listings, minted, and ctable packages.
11261 (reftex-label-alist-builtin): Move listings, minted, and ctable
11262 entries before LaTeX.
11263 (reftex-label-alist): Docfix.
11265 2012-08-02 Bastien Guerry <bzg@gnu.org>
11267 * replace.el (occur): Fix docstring (bug#12122).
11269 2012-08-02 Glenn Morris <rgm@gnu.org>
11271 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11273 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11275 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11276 * international/mule-cmds.el: Create
11277 inactivate-current-input-method-function as an obsolete alias for
11278 deactivate-current-input-method-function. See Katsumi Yamaoka in
11279 <http://bugs.gnu.org/10150#46>.
11281 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11283 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11286 2012-08-01 Glenn Morris <rgm@gnu.org>
11288 * progmodes/autoconf.el (autoconf-definition-regexp):
11289 Add AH_TEMPLATE, adjust submatch numbering.
11290 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11291 (autoconf-current-defun-function): Update for above change.
11292 (autoconf-current-defun-function): First skip to end of current word.
11294 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11296 * calendar/cal-html.el (cal-html-insert-agenda-days):
11297 Fix typo. (Bug#12018)
11299 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11301 Shell processes: enhancements to startup and CEDET compatibility.
11302 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11303 (python-shell-make-comint): accept-process-output at startup.
11304 (run-python-internal): Set inferior-python-mode-hook to nil.
11305 (python-shell-internal-get-or-create-process): call sit-for.
11306 (python-preoutput-result): Add obsolete alias.
11307 (python-shell-internal-send-string): Use it.
11308 (python-shell-send-setup-code): Remove call to
11309 accept-process-output.
11311 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11313 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11316 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11318 * calc-mode.el (calc-basic-simplification-mode): Rename from
11319 `calc-limited-simplification-mode'.
11320 (calc-alg-simplification-mode): New function.
11321 (calc-set-simplify-mode): Adjust message.
11323 * calc.el (calc-set-mode-line): Adjust mode line display for
11324 basic simplification mode.
11326 * calc-help.el (calc-m-prefix-help): Update help message.
11328 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11329 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11331 2012-07-31 Bastien Guerry <bzg@gnu.org>
11333 * man.el (man): Fix comment. (bug#12101)
11335 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11337 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11338 Don't return a non-nil value when no suitable buffer was found.
11340 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11342 * progmodes/python.el (run-python-internal): Disable font lock for
11345 2012-07-30 Stefan Merten <smerten@oekonux.de>
11347 * textmodes/rst.el: Silence `checkdoc-ispell'.
11348 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11349 (rst-official-version, rst-official-cvs-rev)
11350 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11351 (rst-mode-map): New key binding.
11353 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11355 Update .PHONY listings in makefiles.
11356 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11357 autoloads, update-subdirs, updates, bzr-update, update-authors,
11358 compile-onefile, compile-calc, backup-compiled-files,
11359 compile-after-backup, compile-one-process, mh-autoloads,
11360 bootstrap-clean, distclean, maintainer-clean.
11362 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11364 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11365 (calc-set-mode-line): Don't display "AlgSimp ".
11367 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11368 (calc-lim-simplify-mode): New function.
11369 (calc-set-simplify-mode): Default to 'alg.
11370 (calc-default-simplify-mode): Make algebraic simplifications
11373 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11374 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11376 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11377 indicate new simplification modes.
11379 * calc/README: Mention new default simplification mode.
11381 * calc/calc.el (math-normalize-error): New variable.
11382 (math-normalize): Set `math-normalize-error' to t
11383 when there's an error.
11385 * calc/calc-alg.el (math-simplify): Don't simplify when
11386 `math-normalize' returns an error.
11388 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11390 * international/mule-cmds.el (set-locale-environment): Revert last
11391 change, since display-graphic-p returns nil when this function is
11392 called during startup. Instead...
11394 * term/w32console.el (terminal-init-w32console): ...setup the
11395 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11397 2012-07-29 Juri Linkov <juri@jurta.org>
11399 * simple.el (goto-line): Don't display default line number in the
11400 prompt because it should be displayed by `read-number' (bug#9952).
11401 Add the current line number to the defaults of `goto-line' to
11402 allow its easier modification by users with `M-n' (bug#9201).
11404 * subr.el (read-number): Support multiple default values like in
11405 other minibuffer reading functions. Replace `read' with
11406 `string-to-number' for consistency with `number-to-string'.
11408 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11410 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11411 * emulation/viper-init.el (viper-deactivate-input-method-action):
11412 Rename from viper-inactivate-input-method-action.
11413 (viper-deactivate-input-method):
11414 Rename from viper-inactivate-input-method.
11415 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11416 * international/mule-cmds.el (deactivate-input-method):
11417 Rename from inactivate-input-method.
11418 Also run input-method-deactivate-hook.
11419 (deactivate-current-input-method-function):
11420 Rename from inactivate-current-input-method-function.
11421 (input-method-deactivate-hook): New hook.
11422 (input-method-inactivate-hook): Mark obsolete.
11423 (inactivate-input-method): Mark obsolete.
11425 * international/quail.el (quail-activate):
11426 Also run quail-deactivate-hook.
11427 (quail-deactivate): Rename from quail-inactivate.
11428 * international/robin.el (robin-activate):
11429 Also run robin-deactivate-hook.
11430 (robin-deactivate): Rename from robin-inactivate.
11432 2012-07-29 Chong Yidong <cyd@gnu.org>
11434 * simple.el (indicate-copied-region): New function.
11435 (kill-ring-save): Split off from here.
11437 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11438 (kill-rectangle): Set deactivate-mark to t on read-only error.
11440 * register.el (copy-to-register, copy-rectangle-to-register):
11441 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11442 (append-to-register, prepend-to-register): Call indicate-copied-region.
11444 2012-07-29 Juri Linkov <juri@jurta.org>
11446 * simple.el (async-shell-command-buffer): New defcustom.
11447 (shell-command): Use it. (Bug#4719)
11449 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11451 * international/mule-cmds.el (set-locale-environment): In a
11452 console session on MS-Windows, set up keyboard and terminal
11453 encoding from the OEM codepage, not the ANSI codepage.
11456 2012-07-28 Chong Yidong <cyd@gnu.org>
11458 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11461 2012-07-28 Leo Liu <sdl.web@gmail.com>
11463 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11464 the alist (bug#12029).
11466 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11468 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11469 (compile-always, compile-first)
11470 ($(lisp)/calendar/cal-loaddefs.el)
11471 ($(lisp)/calendar/diary-loaddefs.el)
11472 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11473 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11474 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11475 instead of on update-subdirs.
11476 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11478 2012-07-28 Chong Yidong <cyd@gnu.org>
11480 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11481 directory if vc-deduce-backend returns nil (Bug#7350).
11483 * simple.el (delete-trailing-lines): New option.
11484 (delete-trailing-whitespace): Obey it (Bug#11879).
11486 2012-07-28 David Engster <deng@randomsample.de>
11488 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11489 Explanation of new 'symbol-qnames feature in doc-strings.
11490 (xml-maybe-do-ns): Return expanded names as plain symbols if
11491 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11492 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11494 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11496 Consistent completion in inferior python with emacs -nw.
11497 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11498 binding in inferior-python-mode-map with "\t".
11499 (python-shell-completion-complete-at-point)
11500 (python-completion-complete-at-point): Remove interactive spec.
11502 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11504 * calc/calccomp.el (math-compose-expr): Undo previous change.
11506 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11508 * progmodes/python.el (python-mode-map): Add keybinding for
11510 (python-shell-make-comint): Fix pop-to-buffer call.
11511 (run-python): Autoload. New arg SHOW.
11512 (python-shell-get-or-create-process): Do not pop python process
11515 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11517 * notifications.el (notifications-on-action-signal)
11518 (notifications-on-closed-signal): Use also the bus address for the map.
11519 (notifications-notify, notifications-close-notification)
11520 (notifications-get-capabilities): Add optional argument BUS.
11522 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11524 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11525 Add support for the lstlisting and minted environments, and for the
11527 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11528 labels written in keyvals syntax.
11530 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11532 * calc/calccomp.el (math-compose-expr): Use parentheses when
11533 there is a product in the denominator of a fraction.
11535 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11537 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11538 ($(lisp)/calendar/diary-loaddefs.el)
11539 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11540 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11541 Fixes failures in parallel bootstrap because subdirs.el is being
11542 rewritten while the autoload files are built at the same time,
11543 which needs to load subdirs.el.
11545 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11547 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11548 (mouse-drag-line): Don't exit tracking when a switch-frame or
11549 switch-window event occurs (Bug#12006).
11551 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11553 * mouse.el (popup-menu): Fix last change.
11555 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11557 Autoload from Lisp with more care. Follow aliases when looking for
11558 function properties.
11559 * subr.el (autoloadp): New function.
11560 (symbol-file): Use it.
11561 (function-get): New function.
11562 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11564 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11565 (lisp-indent-function):
11566 * emacs-lisp/gv.el (gv-get):
11567 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11568 * emacs-lisp/byte-opt.el (byte-optimize-form):
11569 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11570 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11572 * emacs-lisp/cl.el: Don't propagate function properties any more.
11574 * speedbar.el (speedbar-add-localized-speedbar-support):
11575 * emacs-lisp/disass.el (disassemble-internal):
11576 * desktop.el (desktop-load-file):
11577 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11578 (describe-function-1):
11579 * emacs-lisp/find-func.el (find-function-noselect):
11580 * emacs-lisp/elp.el (elp-instrument-function):
11581 * emacs-lisp/advice.el (ad-has-proper-definition):
11582 * apropos.el (apropos-safe-documentation, apropos-macrop):
11583 * emacs-lisp/debug.el (debug-on-entry):
11584 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11585 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11586 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11588 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11590 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11591 function, not an obsolete variable (Bug#12046).
11593 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11595 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11597 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11599 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11600 window only if it is still live (Bug#12034).
11602 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11604 * subr.el (redirect-frame-focus): Add advertised calling
11605 convention (Bug#12030).
11607 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11609 Prefer typical American spelling for "acknowledgment".
11610 * vc/add-log.el (change-log-acknowledgment): Rename from
11611 change-log-acknowledgement, with an alias for the old name.
11613 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11615 * calc-alg.el (math-simplify-divide): Don't cross multiply
11616 in an equation when the lhs is a variable.
11618 2012-07-24 Julien Danjou <julien@danjou.info>
11620 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11623 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11625 * startup.el (command-line): Don't display an empty user name in
11626 the error message about non-existent home directory, when
11627 init-file-user was set to an empty string. See
11628 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11629 for the details and context.
11631 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11633 * ses.el (ses-cell-formula-aset): New macro.
11634 (ses-cell-references-aset): New macro.
11635 (ses-cell-p): New function.
11636 (ses-rename-cell): Do no longer rely on complex operations like
11637 ses-cell-set-formula or ses-set-cell to change the cell and handle
11638 the undo at the same time, but rather use lower level new macros
11639 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11640 the undo directly. Refresh the mode line.
11642 2012-07-21 Leo Liu <sdl.web@gmail.com>
11644 * progmodes/cc-cmds.el (c-defun-name):
11645 Use match-string-no-properties instead for consistency.
11647 2012-07-20 Leo Liu <sdl.web@gmail.com>
11649 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11652 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11654 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11656 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11657 * progmodes/bug-reference.el, misearch.el: Provide themselves
11660 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11661 of narrowed buffer (bug#11966).
11663 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11665 * ses.el (ses-rename-cell): Set new name also in reference list of
11666 cells of which the renamed cell depends.
11668 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11670 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11671 to check whether menu-bar is shown or not. If not shown,
11672 show the menu-bar as a popup menu instead of using tmm.
11673 * mouse.el (popup-menu): Accept `point' as `position' argument.
11675 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11677 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11678 up inside string symbol literal (bug#11923).
11680 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11682 * startup.el (fancy-startup-text): Read the whole tutorial, not
11683 just its first 256 bytes. Prevents gibberish in display of the
11686 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11688 Drop idle buffer compaction due to an absence of the
11690 * compact.el: Remove.
11692 2012-07-19 Sam Steingold <sds@gnu.org>
11694 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11695 vc-bzr-pull & vc-bzr-merge-branch.
11696 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11697 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11698 for consistency with compilation-error-regexp-alist.
11699 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11700 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11701 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11702 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11704 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * emacs-lisp/chart.el: Use lexical-binding.
11707 (chart-emacs-storage): Don't hardcode the list of entries.
11709 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11711 Next round of tweaks caused by Fgarbage_collect changes.
11712 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11714 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11716 Compact buffers when idle.
11717 * compact.el: New file.
11719 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11721 * subr.el (eventp): Presume that if it looks vaguely like an event,
11722 it's an event (bug#10190).
11724 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11726 Enhancements to ppss related code (thanks Stefan).
11727 * progmodes/python.el (python-indent-context)
11728 (python-indent-calculate-indentation, python-indent-dedent-line)
11729 (python-indent-electric-colon, python-nav-forward-block)
11730 (python-mode-abbrev-table)
11731 (python-info-assignment-continuation-line-p): Simplify checks
11733 (python-info-continuation-line-p): Cleanup.
11734 (python-info-ppss-context): Do not catch 'quote.
11735 (python-info-ppss-context-type)
11736 (python-info-ppss-comment-or-string-p): Simplify.
11738 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11740 * progmodes/python.el: Enhancements to eldoc support.
11741 (python-info-current-symbol): New function.
11742 (python-eldoc-at-point): Use python-info-current-symbol.
11743 (python-info-current-defun): Fix cornercase on first defun scan.
11744 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11745 and signal error when no inferior python process is available.
11747 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11749 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11750 assume it's always t.
11751 (vc-git-registered): Remove caching, the function is only called
11753 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11755 2012-07-18 Chong Yidong <cyd@gnu.org>
11757 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11759 * simple.el (count-words): Report on narrowing (Bug#9959).
11761 * bindings.el: Bind M-= to count-words.
11763 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11765 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11767 * progmodes/sh-script.el (sh-imenu-generic-expression):
11768 Capture a function with `function' keyword and without parentheses
11769 like "function FOO" (bug#11856).
11771 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11773 * window.el (split-window-sensibly): Make WINDOW argument
11776 2012-07-18 Chong Yidong <cyd@gnu.org>
11778 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11780 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11781 and make C-x 8 RET exit isearch (Bug#11439).
11783 * international/iso-transl.el: Move isearch-mode-map key
11784 definitions to isearch.el.
11786 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11788 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11789 (eieio-defclass): Use gv-define-setter when possible.
11791 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11793 Reflect recent changes in Fgarbage_collect.
11794 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11795 reflect new format of data returned by Fgarbage_collect.
11797 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11799 New utility functions + python-info-ppss-context fix (Bug#11910).
11800 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11801 (python-info-ppss-comment-or-string-p): New functions.
11802 (python-info-ppss-context): Small fix for string check.
11804 2012-07-17 Juri Linkov <juri@jurta.org>
11806 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11807 (dired-do-async-shell-command): Don't add `*' at the end of the
11808 command (Bug#11815).
11809 (dired-do-shell-command): Doc fix.
11810 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11811 Join the individual commands using either "&" or ";" as the
11812 separator depending on the values of these trailing characters.
11813 At the end re-add the trailing "&". (Bug#10598)
11815 * simple.el (async-shell-command): Sync the interactive spec with
11816 `shell-command'. Doc fix.
11817 (shell-command): Doc fix.
11819 2012-07-17 Juri Linkov <juri@jurta.org>
11821 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11823 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11825 Final renames and doc fixes for movement commands (bug#11899).
11826 * progmodes/python.el (python-nav-beginning-of-statement):
11827 Rename from python-nav-statement-start.
11828 (python-nav-end-of-statement): Rename from
11829 python-nav-statement-end.
11830 (python-nav-beginning-of-block): Rename from
11831 python-nav-block-start.
11832 (python-nav-end-of-block): Rename from python-nav-block-end.
11834 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11836 * progmodes/python.el (python-shell-send-string-no-output):
11837 Allow accept-process-output to quit, keeping shell process ready for
11838 future interactions (Bug#11868).
11840 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11842 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11844 * emacs-lisp/elint.el (elint-find-args-in-code):
11845 Use help-function-arglist, so as to handle lexical byte-code.
11847 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11848 change (bug#11826).
11850 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11852 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11853 Avoid spuriously marking the buffer as modified because of c-is-sws.
11855 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11856 as not-a-comment (bug#11946).
11858 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11859 for uninterned vars.
11861 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11862 Use read-event since we don't really want to read chars but bytes.
11864 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11865 $$..$$ but also $..$ using regexps (bug#11953).
11866 Use tex-verbatim for \url and \path.
11867 (tex-font-lock-keywords): Define as defconst like the others.
11868 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11870 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11872 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11873 alias for insert-char.
11875 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11877 * progmodes/python.el: Simplified imenu implementation.
11878 (python-nav-jump-to-defun): Remove command.
11879 (python-mode-map): Use `imenu' instead.
11880 (python-nav-list-defun-positions-cache)
11881 (python-imenu-include-defun-type, python-imenu-make-tree)
11882 (python-imenu-subtree-root-label, python-imenu-index-alist):
11884 (python-nav-list-defun-positions, python-nav-read-defun)
11885 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11886 (python-imenu-make-tree, python-imenu-create-index):
11888 (python-mode): Update to interact with imenu by setting
11889 `imenu-extract-index-name-function' only.
11891 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11893 * progmodes/python.el: Enhancements to navigation commands.
11894 (python-nav-backward-sentence)
11895 (python-nav-forward-sentence): Remove.
11896 (python-nav-backward-statement, python-nav-forward-statement)
11897 (python-nav-statement-start, python-nav-statement-end)
11898 (python-nav-backward-block, python-nav-forward-block)
11899 (python-nav-block-start, python-nav-block-end)
11900 (python-nav-forward-sexp-function)
11901 (python-info-current-line-comment-p)
11902 (python-info-current-line-empty-p): New functions.
11903 (python-indent-context): Use `python-nav-statement-start'.
11905 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11907 * eshell/em-ls.el (eshell/ls): Use `apply'.
11909 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11910 multi-hops, instead of Tramp internals.
11912 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11914 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11915 when F1 and F2 are located on different hosts.
11917 2012-07-14 Chong Yidong <cyd@gnu.org>
11919 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11920 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11921 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11922 (xterm-mouse--read-event-sequence-1000)
11923 (xterm-mouse--read-event-sequence-1006): New functions. For old
11924 mouse protocol, handle M-mouse-X events correctly.
11925 (xterm-mouse-event): New arg specifying mouse protocol.
11926 (turn-on-xterm-mouse-tracking-on-terminal)
11927 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11928 sequence to toggle extended coordinates on newer XTerms.
11929 This appears to be harmless on terminals which do not support this.
11931 2012-07-14 Leo Liu <sdl.web@gmail.com>
11933 Add fringe bitmap indicators for flymake. (Bug#11253)
11934 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11935 (flymake-make-overlay): New arg BITMAP.
11936 (flymake-error-bitmap, flymake-warning-bitmap)
11937 (flymake-fringe-indicator-position): New user variables.
11939 * fringe.el: New bitmap exclamation-mark.
11941 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11943 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11946 2012-07-14 Chong Yidong <cyd@gnu.org>
11948 * electric.el (electric-pair-post-self-insert-function): Fix pair
11949 insertion in empty-region case (Bug#11520).
11951 2012-07-14 Chong Yidong <cyd@gnu.org>
11953 * bindings.el: Consolidate ctl-x-r-map bindings.
11954 Bind copy-rectangle-as-kill to C-x r w.
11956 * rect.el, register.el: Move bindings to bindings.el.
11958 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11960 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11962 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11964 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11966 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11968 * bindings.el (top): Use `mapc' instead of `mapcar'.
11970 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11972 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11974 * progmodes/sql.el (sql-comint): Suppress the check for program on
11975 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11978 2012-07-13 Chong Yidong <cyd@gnu.org>
11980 * bindings.el: Assign a non-nil permanent-local property to
11981 per-buffer variables which lack a default value (Bug#11930).
11983 * help-fns.el (describe-variable): In the "automatically becomes
11984 local" notice, take note of permanent-local variables.
11986 2012-07-13 Chong Yidong <cyd@gnu.org>
11988 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11989 to allow printing the message when called from Lisp.
11991 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11992 Remove toggle-read-only.
11994 * bs.el (bs-toggle-readonly):
11995 * buff-menu.el (Buffer-menu-toggle-read-only):
11996 Remove with-no-warnings around toggle-read-only.
11998 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11999 Remove with-no-warnings around toggle-read-only.
12000 (ffap-read-only, ffap-read-only-other-window)
12001 (ffap-read-only-other-frame): Callers changed.
12003 * help-mode.el: Don't require view package.
12004 (help-mode-finish): Set buffer-read-only instead of calling
12007 * bindings.el (mode-line-toggle-read-only):
12008 * dired.el (dired-toggle-read-only):
12009 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12010 with non-nil second arg.
12012 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12013 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12016 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12018 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12021 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12023 More CL cleanups and reduction of use of cl.el.
12024 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12025 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12026 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12027 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12028 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12029 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12030 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12031 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12032 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12033 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12034 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12035 * eshell/em-cmpl.el, eshell/em-banner.el:
12036 * calendar/parse-time.el: Use cl-lib.
12037 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12038 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12039 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12040 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12041 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12042 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12043 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12044 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12045 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12046 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12047 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12048 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12049 `lambda' rather than with `quote'.
12050 (eshell-do-opt): Adjust accordingly.
12051 (eshell-process-option): Simplify.
12052 * eshell/esh-var.el:
12053 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12054 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12055 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12056 to `pcase--dontcare'.
12057 * emacs-lisp/cl.el (labels): Mark obsolete.
12058 (cl--letf, letf): Move to cl-lib.
12059 (cl--letf*, letf*): Remove.
12060 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12061 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12062 (cl-progv): Rewrite.
12063 (cl--letf, cl-letf): Move from cl.el.
12064 (cl-letf*): New macro.
12065 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12067 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12069 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12071 2012-07-11 Chong Yidong <cyd@gnu.org>
12073 * vc/log-edit.el (log-edit-vc-backend): New variable.
12074 (log-edit): Doc fix.
12076 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12077 argument of log-edit to set up all local variables.
12078 (vc-start-logentry): New optional arg specifying VC backend.
12080 * vc/vc.el (vc-checkin): Use it.
12081 (vc-deduce-fileset): Handle Log Edit buffers.
12082 (vc-diff): Make first argument optional too.
12084 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12086 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12088 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12089 command, just in case. The function is not needed anymore.
12090 (eshell-external-command): Do not call `eshell-remote-command'.
12092 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12094 Reduce use of (require 'cl).
12095 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12096 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12097 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12098 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12099 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12100 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12101 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12102 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12103 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12104 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12105 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12106 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12107 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12108 (byte-compile-unfold-bcf, byte-compile-check-variable):
12109 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12110 (byte-compile-nilconstp):
12111 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12112 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12114 * emacs-lisp/gv.el (cond): Make it a valid place.
12115 (if): Simplify slightly.
12117 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12118 (pcase--self-quoting-p): New function.
12119 (pcase--u1): Use it.
12121 2012-07-10 Glenn Morris <rgm@gnu.org>
12123 * emacs-lisp/authors.el (authors-fixed-entries):
12124 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12126 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12128 Rename configure.in to configure.ac (Bug#11603).
12129 * emacs-lisp/authors.el (authors-canonical-file-name):
12130 * progmodes/autoconf.el (autoconf-mode):
12131 Prefer configure.ac to configure.in.
12133 2012-07-08 Chong Yidong <cyd@gnu.org>
12135 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12136 Implement the mouse-1-click-follows-link handling properly.
12138 * info.el (Info-link-keymap): Use follow-link mechanism for
12139 header-line links (Bug#374).
12141 * simple.el (deactivate-mark): Do not set the primary selection
12142 if another program has acquired it (Bug#11772).
12144 2012-07-07 Kevin Ryde <user42@zip.com.au>
12146 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12147 (woman-decode-region): Replace escaped-escapes without destroying
12148 bold or underline (Bug#11552).
12149 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12151 2012-07-07 Chong Yidong <cyd@gnu.org>
12153 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12154 (interprogram-cut-function, interprogram-paste-function):
12155 Mention that we typically mean the clipboard.
12157 2012-07-06 Glenn Morris <rgm@gnu.org>
12159 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12161 * files.el (toggle-read-only): Restrict message to interactive use.
12163 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12165 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12167 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12169 2012-07-06 Glenn Morris <rgm@gnu.org>
12171 * Makefile.in (compile-one-process): Rename from "recompile".
12173 * Makefile.in (bzr-update): "compile" is the same as "recompile
12174 autoloads", but parallelizable, so use that instead.
12176 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12178 * window.el (quit-window): Always restore window height when
12179 it's saved in quit-restore parameter (Bug#11810).
12181 2012-07-06 Glenn Morris <rgm@gnu.org>
12183 * simple.el (kill-whole-line): Doc tweak.
12185 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12187 * files.el (file-relative-name): Compare file names
12188 case-insensitively if on MS-Windows or MS-DOS, or if
12189 read-file-name-completion-ignore-case is non-nil. Don't use
12190 case-fold-search for this purpose. (Bug#11827)
12192 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12194 * calendar/cal-dst.el (calendar-current-time-zone):
12195 Return calendar-current-time-zone-cache if non-nil.
12197 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12198 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12200 * calendar/cal-dst.el (calendar-current-time-zone):
12201 Return calendar-current-time-zone-cache if non-nil.
12203 2012-07-06 Glenn Morris <rgm@gnu.org>
12205 * Makefile.in (cvs-update): Remove old alias.
12207 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12209 Sync with Tramp 2.2.6-pre.
12211 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12212 compatible declaration.
12214 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12215 Protect `list-load-path-shadows' call.
12217 * net/tramp-compat.el (top): Require packages, which aren't
12218 autoloaded anymore for XEmacs. Protect call of
12219 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12220 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12221 it hurts at least for SXEmacs.
12222 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12223 standard-value for `temporary-file-directory'.
12225 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12226 Redirect stderr to /dev/null.
12227 (tramp-sh-handle-write-region): uid and gid can be floats.
12228 Reported by Russell Sim <russell.sim@gmail.com>.
12229 (tramp-sh-handle-vc-registered): Hide errors.
12230 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12231 and `start-file-process'.
12232 (tramp-maybe-open-connection): Check also whether `non-essential'
12235 2012-07-04 Chong Yidong <cyd@gnu.org>
12237 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12238 (xml-parse-tag): Likewise, and avoid changing entity tables.
12239 (xml-syntax-table): Define from scratch, making sure not to give
12240 x2000 and other Unicode spaces whitespace syntax, since those are
12242 (xml-parse-fragment): Delete unused function.
12243 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12244 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12245 (xml-entity-ref, xml-pe-reference-re)
12246 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
12247 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12248 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12249 (xml-entity-value-re): Use syntax references in regexps where
12250 possible; no need to define inside a let-binding.
12251 (xml-parse-dtd): Use xml-pe-reference-re.
12252 (xml-entity-or-char-ref-re): New defconst.
12253 (xml-parse-string, xml-substitute-special): Use it.
12255 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12257 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12258 (find-file--read-only): New function.
12259 (find-file-read-only, find-file-read-only-other-window)
12260 (find-file-read-only-other-frame): Use it.
12261 (insert-file-contents-literally): Don't `fset'.
12262 (get-free-disk-space): Use locate-dominating-file.
12264 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12265 function is already compiled.
12267 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12269 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12271 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12272 files on the same host.
12274 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12276 * help-fns.el (describe-function-1): Only call
12277 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12279 2012-07-03 Chong Yidong <cyd@gnu.org>
12281 * xml.el: Protect parser against XML bombs.
12282 (xml-entity-expansion-limit): New variable.
12283 (xml-parse-string, xml-substitute-special): Use it.
12284 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12286 2012-07-03 Glenn Morris <rgm@gnu.org>
12288 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12289 Allow linking to specific messages in debbugs reports (eg 123#5).
12291 2012-07-02 Chong Yidong <cyd@gnu.org>
12293 * xml.el: Fix entity and character reference expansion, allowing
12294 them to expand into markup as per XML spec.
12295 (xml-default-ns): New variable.
12296 (xml-entity-alist): Use XML spec definitions for lt and amp.
12297 (xml-parse-region): Make first two arguments optional.
12298 Discard text properties.
12299 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12300 All callers changed.
12301 (xml-parse-tag): Call xml-parse-tag-1. For backward
12302 compatibility, this function should not modify buffer contents.
12303 (xml-parse-tag-1): Fix opening-tag regexp.
12304 (xml-parse-string): Rewrite, handling entity and character
12305 references properly.
12306 (xml--entity-replacement-text): Signal an error if a parameter
12307 entity is undefined.
12309 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12311 * comint.el (comint-output-filter): Filter out repeated prompts.
12313 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12314 and file-name-absolute-p.
12315 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12318 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12321 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12322 Rename from byte-compile--refiy-function. All uses changed.
12324 2012-07-01 Chong Yidong <cyd@gnu.org>
12326 * xml.el (xml--parse-buffer): New function. Move most of
12327 xml-parse-region here.
12328 (xml-parse-region): Copy region into a temporary buffer, since
12329 parameter entity substitution requires changing buffer contents.
12330 Use xml--parse-buffer.
12331 (xml-parse-file): Use xml--parse-buffer.
12332 (xml-parse-dtd): Make parameter entity substitution work right.
12333 Use proper regexps for ELEMENT declarations (Bug#7172).
12335 2012-06-30 Glenn Morris <rgm@gnu.org>
12337 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12339 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12340 Remove outdated and unnecessary dbus declarations.
12342 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12344 * emacs-lisp/timer.el (timer-until): Subtract results of
12345 float-time, instead of taking float-time of the result of
12346 time-subtract, since float-time signals an error for negative time
12349 2012-06-30 Chong Yidong <cyd@gnu.org>
12351 * xml.el (xml-*-re): Convert defvars into defconsts, and
12352 eval-and-compile them so eval-and-compile works on derivatives.
12353 (xml--entity-replacement-text): Use eval-and-comple.
12355 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12357 * vc/vc-git.el (vc-git-registered): Use cache property
12359 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12360 `vc-git-working-revision' in order to benefit from the cache.
12361 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12363 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12365 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12366 removed (likely outside Emacs). (Bug#11757)
12368 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12370 * emacs-lisp/cl-lib.el: Require macroexp.
12372 2012-06-30 Chong Yidong <cyd@gnu.org>
12374 * xml.el: Implement XML parameter entities.
12375 (xml-parameter-entity-alist): New variable.
12376 (xml-parse-region, xml-parse-fragment): Preserve previous values
12377 of xml-entity-alist and xml-parameter-entity-alist, so that
12378 repeated calls on different documents do not change them.
12379 (xml-parse-tag): Fix doctype regexp.
12380 (xml--entity-replacement-text): New function.
12381 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12382 properly requires url retrieval which is unimplemented.
12383 (xml-escape-string): Doc fix.
12385 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12389 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12391 * fringe.el (fringe-mode): Doc fix.
12393 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12395 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12397 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12398 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12400 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12402 * calendar/cal-dst.el (calendar-current-time-zone):
12403 Return calendar-current-time-zone-cache if non-nil.
12405 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12407 * progmodes/which-func.el (which-func-format):
12408 Add mouse-face. (Bug#11698)
12410 2012-06-29 Leo Liu <sdl.web@gmail.com>
12412 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12414 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12416 * minibuffer.el (minibuffer-confirm-exit-commands):
12417 Add completion-at-point (bug#11725).
12419 2012-06-29 Glenn Morris <rgm@gnu.org>
12421 * progmodes/f90.el (f90-font-lock-keywords-2):
12422 Add some preprocessor elements. (Bug#10499)
12424 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12426 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12427 Use syntax-propertize (bug#11739).
12429 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12431 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12433 2012-06-28 Julien Danjou <julien@danjou.info>
12435 * term.el (term-handle-colors-array): Use a set of new faces to
12436 color the terminal. Also uses :inverse-video property.
12437 (term-default-fg-color): Set to nil by default, deprecate in favor
12439 (term-default-bg-color): Set to nil by default, deprecate in favor
12441 (term-current-face): Use `term-face' by default.
12442 (term-bold-attribute): Variable deleted.
12444 2012-06-28 Glenn Morris <rgm@gnu.org>
12446 * simple.el (completion-list-mode-finish):
12447 Don't use toggle-read-only. (Since completion-list-mode has
12448 a special mode-class, it wasn't doing anything extra anyway.)
12450 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12452 Make inlining of other-mode interpreted functions work (bug#11799).
12453 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12454 (byte-compile): Use it to fix compilation of lexical-binding closures.
12455 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12456 function, if needed.
12458 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12460 * help-mode.el (help-make-xrefs): Don't just withstand
12461 cyclic-variable-indirection but any error in documentation-property.
12463 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12465 * bindings.el (bindings--define-key): New function.
12466 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12467 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12468 * bindings.el: Use it to purecopy define-key bindings.
12470 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12472 * emacs-lisp/cl.el (flet): Mark obsolete.
12473 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12474 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12475 * progmodes/js.el (js-c-fill-paragraph):
12476 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12477 (ebrowse-switch-member-buffer-to-derived-class):
12478 * play/5x5.el (5x5-solver): Use cl-flet.
12480 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12481 (cl--symbol-function): New macro.
12482 (cl--letf, cl--letf*): Use it.
12484 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12485 Strip "toggle-" if any.
12487 2012-06-27 Glenn Morris <rgm@gnu.org>
12489 * info.el (Info-default-directory-list): Move here from paths.el.
12490 * paths.el: Remove file, which is now empty.
12491 * loadup.el: No longer load "paths".
12493 * custom.el (custom-initialize-delay): Doc fix.
12495 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12496 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12497 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12498 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12499 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12500 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12501 * eshell/eshell.el (eshell-defgroup): Remove alias.
12503 2012-06-27 Chong Yidong <cyd@gnu.org>
12505 * help.el (help-enable-auto-load): New variable.
12507 * help-fns.el (help-fns--autoloaded-p): New function.
12508 (describe-function-1): Refer to a function as "autoloaded" if it
12509 was autoloaded at any time in the past. Perform autoloading if
12510 help-enable-auto-load is non-nil.
12512 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12514 * makefile.w32-in (compile, compile-always): Depend on
12515 update-subdirs, not on subdirs.el. Otherwise, several different
12516 sub-targets of 'bootstrap' running in parallel could
12517 simultaneously write to subdirs.el, producing a garbled file.
12519 2012-06-26 Sam Steingold <sds@gnu.org>
12521 * files.el (file-name-base): New convenience function.
12522 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12523 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12524 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12525 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12526 * textmodes/ispell.el, textmodes/reftex-ref.el:
12527 * textmodes/tex-mode.el: Use it.
12528 Did not touch cedet and org because they are maintained elsewhere.
12530 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12532 * calendar/calendar.el (calendar-exit): Don't try to delete or
12533 iconify last frame. See:
12534 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12536 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12538 * server.el (server-process-filter): Remember dir in the
12539 process's `server-client-directory' properties.
12541 2012-06-24 Chong Yidong <cyd@gnu.org>
12543 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12546 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12548 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12550 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12552 * help-fns.el (describe-variable): Don't croak when doc is not found.
12553 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12554 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12555 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12556 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12557 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12559 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12561 2012-06-23 Chong Yidong <cyd@gnu.org>
12563 * info.el (Info-mouse-follow-link): Accept symbol values of
12564 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12565 (Info-fontify-node): Use Info-link-keymap for all navigation
12566 buttons, with link-args property to perform the desired action.
12567 (Info-link-keymap): Doc fix.
12568 (Info-next-link-keymap, Info-prev-link-keymap)
12569 (Info-up-link-keymap): Delete now-unused keymaps.
12571 2012-06-23 Chong Yidong <cyd@gnu.org>
12573 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12575 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12578 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12580 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12582 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12585 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12586 the requote function doesn't work properly (bug#11714).
12588 2012-06-23 Glenn Morris <rgm@gnu.org>
12590 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12592 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12594 Further GV/CL cleanups.
12595 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12597 (gv--defun-declaration): New function.
12598 (defun-declarations-alist): Use it.
12599 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12600 (gv-place): Autoload.
12601 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12602 original definition of dotimes and dolist.
12603 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12604 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12605 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12606 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12607 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12608 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12609 to the function's definition.
12610 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12614 * env.el: Don't use CL.
12616 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12618 Support higher-resolution time stamps (Bug#9000).
12620 * calendar/time-date.el (with-decoded-time-value): New arg
12621 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12622 (encode-time-value): New optional arg PICO. New type 3.
12623 (time-to-seconds) [!float-time]: Support the new picoseconds
12624 component if it's used.
12625 (seconds-to-time, time-subtract, time-add):
12626 Support ps-resolution time stamps as well.
12628 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12629 (timerp): Timer vectors now have length 9, not 8.
12630 (timer--time): Support new-style (4-part) time stamps.
12631 (timer-next-integral-multiple-of-time): Time stamps now have
12632 picosecond resolution, so take a bit more care about rounding.
12633 (timer-relative-time, timer-inc-time): New optional arg psecs.
12634 (timer-set-time-with-usecs): Set psecs to 0.
12635 (timer--activate): Check psecs component, too.
12637 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12639 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12641 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12642 Move the non-essential binding to the post/pre-command-hook where it is
12643 more obviously correct.
12645 * subr.el (read-passwd): Don't use a history at all.
12646 * savehist.el (savehist-save): Remove password saved accidentally
12647 because of the above bug.
12649 2012-06-22 Bastien Guerry <bzg@gnu.org>
12651 * files.el (toggle-read-only): Display a message telling whether
12652 the buffer is read-only or not (bug#11726).
12654 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12656 * emacs-lisp/gv.el: New file.
12657 * subr.el (push, pop): Extend to generalized variables.
12658 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12659 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12660 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12661 gv-define-simple-setter, and gv-define-expander.
12662 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12663 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12664 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12665 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12666 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12668 (cl-defstruct): Don't define setf-method any more.
12669 * emacs-lisp/cl.el (flet): Don't autoload.
12670 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12671 (define-setf-expander, defsetf, define-modify-macro)
12672 (cl-struct-setf-expander): Move from cl-lib.el.
12673 * emacs-lisp/syntax.el:
12674 * emacs-lisp/ewoc.el:
12675 * emacs-lisp/smie.el:
12676 * emacs-lisp/cconv.el:
12677 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12678 (timer--time): Use gv-define-simple-setter.
12679 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12680 to avoid coding-system problems in subr.el. Adjust all users.
12681 (macroexp--maxsize, macroexp-small-p): New functions.
12682 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12683 * scroll-bar.el (scroll-bar-mode):
12684 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12685 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12686 * winner.el (winner-configuration, winner-make-point-alist)
12687 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12688 * files.el (locate-file-completion-table): Avoid list*.
12690 2012-06-22 Chong Yidong <cyd@gnu.org>
12692 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12693 (dired-create-files): Doc fix (Bug#11329).
12694 (dired-do-copy): Doc fix (Bug#11334).
12695 (dired-mark-read-string): Doc fix (Bug#11553).
12697 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12698 Doc fix (Bug#11326).
12699 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12700 (dired-dwim-target): Doc fix.
12702 * wdired.el (wdired-mode): Doc fix.
12704 2012-06-22 Glenn Morris <rgm@gnu.org>
12706 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12707 (pcmpl-rpm-cache-stamp-file): New constant.
12708 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12709 (pcmpl-rpm-packages): Optionally cache list of packages.
12711 * pcmpl-rpm.el (pcmpl-rpm): New group.
12712 (pcmpl-rpm-query-options): New option.
12713 (pcmpl-rpm-packages): No need to inline it.
12714 Use pcmpl-rpm-query-options.
12716 * calendar/calendar.el (calendar-in-read-only-buffer):
12717 Avoid some needless mode changes.
12719 2012-06-21 Chong Yidong <cyd@gnu.org>
12721 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12722 (desktop-path): Remove . from the default value (Bug#10977).
12723 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12725 2012-06-20 Chong Yidong <cyd@gnu.org>
12727 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12729 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12731 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12734 2012-06-20 Chong Yidong <cyd@gnu.org>
12736 * term.el (term-window-width): Handle the case of a missing right
12738 (term-check-size): Use window-text-height (Bug#5445).
12739 (term-mode): Use define-derived-mode. Minor cleanups.
12740 Set font-lock-defaults (Bug#7692).
12741 (term-move-columns, term-insert-char, term-emulate-terminal)
12742 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12744 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12746 * net/ange-ftp.el (ange-ftp-get-passwd):
12747 Bind `enable-recursive-minibuffers'.
12748 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12750 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12752 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12754 2012-06-19 Glenn Morris <rgm@gnu.org>
12756 * progmodes/python.el (python-mode): Derive from prog-mode.
12758 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12760 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12761 (edt-user-menu-bar-update-buffers): New functions.
12762 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12764 2012-06-19 Chong Yidong <cyd@gnu.org>
12766 * subr.el (with-selected-window): Preserve the selected window's
12767 terminal's top-frame (Bug#4702).
12769 * window.el (save-selected-window): Likewise.
12771 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12773 * progmodes/python.el (python-rx-constituents): Move backquote.
12774 (python-skeleton-define, python-define-auxiliary-skeleton):
12777 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12779 * minibuffer.el (read-file-name-default): Revert the patch from
12782 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12784 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12785 (pcase--u1, pcase--q1): Don't use apply-partially.
12787 2012-06-18 Glenn Morris <rgm@gnu.org>
12789 * progmodes/python.el (python-proc, python-buffer)
12790 (python-send-receive, python-send-string): Fix obsolete versions.
12792 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12794 * window.el (special-display-p): Completely remove stringp
12795 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12797 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12799 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12801 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12803 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12804 * net/tramp-sh.el (tramp-maybe-open-connection):
12805 Throw if `non-essential' is non-nil.
12807 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12809 * window.el (special-display-p): Signal an error if BUFFER-NAME
12810 is not a string (Bug#11713).
12812 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12814 * progmodes/python.el (python-info-beginning-of-backslash):
12815 Rename from python-info-beginning-of-backlash, as a spelling fix.
12817 2012-06-17 Chong Yidong <cyd@gnu.org>
12819 * term.el (term-emulate-terminal): If term-check-size is called,
12820 move point to the process mark without resetting point (Bug#4635).
12822 2012-06-17 Glenn Morris <rgm@gnu.org>
12824 * international/mule-cmds.el (mule-menu-keymap)
12825 (set-language-environment, set-locale-environment): Doc tweaks.
12827 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12829 * cus-face.el (custom-face-attributes): Add wave-style underline
12831 * faces.el (set-face-attribute): Update docstring to describe
12832 wave-style underline attribute.
12834 2012-06-16 Chong Yidong <cyd@gnu.org>
12836 * term/xterm.el (terminal-init-xterm): Discard input before
12837 querying background mode (Bug#10959).
12839 2012-06-16 Stefan Merten <smerten@oekonux.de>
12841 * textmodes/rst.el: Added and corrected some comments.
12842 (rst-re-alist-def): Improve symbol syntax.
12843 (rst-mode-syntax-table): Correct syntax entries.
12844 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12845 (rst-official-version, rst-official-cvs-rev): Update version
12848 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12850 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12851 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12853 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12855 * progmodes/python.el: New python.el merge.
12856 (python-guess-indent): Obsolete var.
12857 (python-indent-guess-indent-offset): New defcustom.
12858 (python-indent): Obsolete var.
12859 (python-indent-offset): New defcustom.
12860 (python-python-command, python-jython-command): Delete var.
12861 (python-shell-interpreter): New defcustom.
12862 (python-pdbtrack-do-tracking-p): Delete var.
12863 (python-pdbtrack-activate): New defcustom.
12864 (python-use-skeletons): Obsolete var.
12865 (python-skeleton-autoinsert): New defcustom.
12866 (inferior-python-filter-regexp, python-continuation-offset)
12867 (python-honour-comment-indentation, python-indent-string-contents)
12868 (python-jython-packages, python-mode-hook)
12869 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12870 (python-shell-prompt-alist)
12871 (python-source-modes): Delete defcustoms.
12872 (python-check-buffer-name, python-eldoc-setup-code)
12873 (python-eldoc-string-code, python-ffap-setup-code)
12874 (python-ffap-string-code, python-fill-comment-function)
12875 (python-fill-decorator-function, python-fill-paren-function)
12876 (python-fill-string-function, python-imenu-include-defun-type)
12877 (python-imenu-make-tree, python-imenu-subtree-root-label)
12878 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12879 (python-shell-compilation-regexp-alist)
12880 (python-shell-completion-module-string-code)
12881 (python-shell-completion-pdb-string-code)
12882 (python-shell-completion-setup-code)
12883 (python-shell-completion-string-code)
12884 (python-shell-enable-font-lock, python-shell-exec-path)
12885 (python-shell-extra-pythonpaths)
12886 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12887 (python-shell-process-environment)
12888 (python-shell-prompt-block-regexp)
12889 (python-shell-prompt-output-regexp)
12890 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12891 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12892 (python-shell-virtualenv-path): New defcustoms.
12893 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12894 (inferior-python-mode-syntax-table, python--prompt-regexp)
12895 (python-buffer, python-command python-python-command)
12896 (python-default-template, python-imports, python-indent-index)
12897 (python-indent-list, python-indent-list-length)
12898 (python-mode-running, python-pdbtrack-is-tracking-p)
12899 (python-preoutput-continuation, python-preoutput-leftover)
12900 (python-preoutput-result, python-preoutput-skip-next-prompt)
12901 (python-prev-dir/file, python-recursing)
12902 (python-saved-check-command, python-version-checked)
12903 (python-which-func-length-limit)
12904 (view-return-to-alist): Delete vars.
12905 (python-check-custom-command, python-dotty-syntax-table)
12906 (python-imenu-index-alist, python-indent-current-level)
12907 (python-indent-dedenters, python-indent-levels)
12908 (python-nav-beginning-of-defun-regexp)
12909 (python-nav-list-defun-positions-cache)
12910 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12911 (python-shell-internal-buffer)
12912 (python-skeleton-available): New vars.
12913 (def-python-skeleton): Delete macro.
12914 (python-skeleton-define): New macro.
12915 (python-define-auxiliary-skeleton, python-rx): New macros.
12916 (python-insert-class): Delete command.
12917 (python-skeleton-class): New command.
12918 (python-insert-def): Delete command.
12919 (python-skeleton-def): New command.
12920 (python-insert-for): Delete command.
12921 (python-skeleton-for): New command.
12922 (python-insert-if): Delete command.
12923 (python-skeleton-if): New command.
12924 (python-insert-try/except, python-insert-try/finally): Delete commands.
12925 (python-skeleton-try): New command.
12926 (python-insert-while): Delete command.
12927 (python-skeleton-while): New command.
12928 (python-backspace): Delete command.
12929 (python-indent-dedent-line-backspace): New command.
12930 (python-electric-colon): Delete command.
12931 (python-indent-electric-colon): New command.
12932 (python-guess-indent): Delete command.
12933 (python-indent-guess-indent-offset): New command.
12934 (python-shift-left): Delete command.
12935 (python-indent-shift-left): New command.
12936 (python-shift-right): Delete command.
12937 (python-indent-shift-right): New command.
12938 (python-find-function): Delete command.
12939 (python-nav-jump-to-defun): New command.
12940 (python-next-statement): Delete command.
12941 (python-nav-forward-sentence): New command.
12942 (python-previous-statement): Delete command.
12943 (python-nav-backward-sentence): New command.
12944 (python-fill-paragraph): Delete command.
12945 (python-fill-paragraph-function): New command.
12946 (python-send-buffer): Delete command.
12947 (python-shell-send-buffer): New command.
12948 (python-send-defun): Delete command.
12949 (python-shell-send-defun): New command.
12950 (python-send-region, python-send-region-and-go): Delete commands.
12951 (python-shell-send-region)
12952 (python-shell-switch-to-shell): New commands.
12953 (python-send-string): Delete command.
12954 (python-shell-send-string): New command.
12955 (python-switch-to-python): Delete command.
12956 (python-shell-switch-to-shell): New command.
12957 (python-describe-symbol): Delete command.
12958 (python-eldoc-at-point): New command.
12959 (python--set-prompt-regexp, python-args-to-list)
12960 (python-after-info-look, python-check-version)
12961 (python-check-comint-prompt, python-find-imports)
12962 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12963 (python-unload-function, python-expand-template)
12964 (python-maybe-jython, python-preoutput-filter)
12965 (python-pdbtrack-get-source-buffer)
12966 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12967 (python-pdbtrack-toggle-stack-tracking)
12968 (python-pdbtrack-track-stack-file, python-initial-text)
12969 (python-first-word, python-comment-line-p, python-send-command)
12970 (python-setup-brm, python-sentinel, python-set-proc)
12971 (python-skip-out, python-input-filter, python-outdent-p)
12972 (python-outline-level, python-backslash-continuation-line-p)
12973 (python-end-of-block, python-end-of-statement, python-mark-block)
12974 (python-beginning-of-block, python-beginning-of-statement)
12975 (python-blank-line-p, python-beginning-of-string)
12976 (python-open-block-statement-p): Delete functions.
12977 (python-indent-line, python-indent-line-1): Delete functions.
12978 (python-indent-line): New function.
12979 (python-indentation-levels): Delete function.
12980 (python-indent-calculate-levels): New function.
12981 (python-proc): Delete function.
12982 (python-shell-get-process): New function.
12983 (python-send-receive): Delete function.
12984 (python-shell-send-string-no-output): New function.
12985 (python-module-path): Delete function.
12986 (python-ffap-module-path): New function.
12987 (python-completion-at-point)
12988 (python-symbol-completions): Delete functions.
12989 (python-completion-complete-at-point): New function.
12990 (python-load-file): Delete function.
12991 (python-shell-send-file): New function.
12992 (python-calculate-indentation): Delete function.
12993 (python-indent-calculate-indentation): New function.
12994 (python-skip-comments/blanks): Delete function.
12995 (python-util-forward-comment): New function.
12996 (python-continuation-line-p): Delete function.
12997 (python-info-continuation-line-p): New function.
12998 (python-which-func, python-current-defun): Delete function.
12999 (python-info-current-defun): New function.
13000 (python-beginning-of-defun): Delete function.
13001 (python-nav-beginning-of-defun): New function.
13002 (python-close-block-statement-p)
13003 (python-block-end-p): Delete function.
13004 (python-info-closing-block): New function.
13005 (python-comint-output-filter-function)
13006 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13007 (python-fill-comment, python-fill-decorator, python-fill-paren)
13008 (python-fill-string, python-imenu-make-element-tree)
13009 (python-imenu-make-tree, python-imenu-tree-assoc)
13010 (python-indent-context, python-indent-dedent-line)
13011 (python-indent-line-function)
13012 (python-indent-post-self-insert-function)
13013 (python-indent-toggle-levels)
13014 (python-info-assignment-continuation-line-p)
13015 (python-info-beginning-of-backlash)
13016 (python-info-block-continuation-line-p)
13017 (python-info-closing-block-message)
13018 (python-info-line-ends-backslash-p)
13019 (python-info-looking-at-beginning-of-defun)
13020 (python-info-ppss-context, python-info-ppss-context-type)
13021 (python-nav-list-defun-positions, python-nav-read-defun)
13022 (python-nav-sentence-end, python-nav-sentence-start)
13023 (python-pdbtrack-comint-output-filter-function)
13024 (python-pdbtrack-set-tracked-buffer)
13025 (python-shell-calculate-exec-path)
13026 (python-shell-calculate-process-environment)
13027 (python-shell-completion--do-completion-at-point)
13028 (python-shell-completion--get-completions)
13029 (python-shell-completion-complete-at-point)
13030 (python-shell-completion-complete-or-indent)
13031 (python-shell-get-or-create-process)
13032 (python-shell-get-process-name)
13033 (python-shell-internal-get-or-create-process)
13034 (python-shell-internal-get-process-name)
13035 (python-shell-internal-send-string, python-shell-make-comint)
13036 (python-shell-parse-command, python-shell-send-setup-code)
13037 (python-skeleton-add-menu-items)
13038 (python-util-clone-local-variables, python-util-position)
13039 (run-python-internal, python-indentation-levels)
13040 (python-nav-beginning-of-defun)
13041 (python-completion-complete-at-point): New functions.
13042 (run-python): Change arguments. New API requirements.
13044 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13049 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13050 (macroexp--expand-all): Use it.
13052 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13053 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13054 Use `cl-function' instead.
13056 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13058 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13059 Suggested by Stefan Monnier while discussing bug#11657.
13061 2012-06-14 Sam Steingold <sds@gnu.org>
13063 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13065 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13067 * play/doctor.el (doctor-doc): Remove parameter and use
13068 doctor-sent instead of sent.
13069 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13071 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * files.el: Require cl-lib.
13074 (file-name-non-special): Replace case -> cl-case.
13076 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13078 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13079 mapping from #' to function*.
13081 2012-06-13 Chong Yidong <cyd@gnu.org>
13083 * mouse.el (mouse-drag-track): Do not set the mark if the user
13084 releases the mouse without selecting anything (Bug#11588).
13086 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13089 as well (bug#11646).
13091 * loadup.el: Count byte-code functions as well.
13093 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13094 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13096 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13097 (bug#11649). Add cl-defun and cl-defmacro.
13099 2012-06-13 Drew Adams <drew.adams@oracle.com>
13101 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13104 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13106 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13107 Otherwise, it blocks in batch mode.
13109 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13111 * help-mode.el (bookmark-make-record-default): Declare.
13113 2012-06-13 Chong Yidong <cyd@gnu.org>
13115 * emacs-lisp/package.el (list-packages): Compute a list of
13116 packages that are newly-available since the last list-packages
13118 (package-menu--new-package-list): New var.
13119 (package-menu--generate, package-menu--print-info)
13120 (package-menu--status-predicate, package-menu-mark-install):
13121 Handle new status label "new".
13123 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13125 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13126 conversion to backquotes.
13128 2012-06-12 Chong Yidong <cyd@gnu.org>
13130 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13131 Rename from gud-inhibit-global-bindings.
13133 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13135 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13136 hook from nxml-glyph-set-hook.
13138 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13141 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13143 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13144 Convert to defcustom.
13146 2012-06-12 Drew Adams <drew.adams@oracle.com>
13148 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13150 (help-mode): Use them.
13152 2012-06-11 Glenn Morris <rgm@gnu.org>
13154 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13155 Use preprocessor face for directives.
13156 (fortran-directive-re): Doc fix.
13158 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13160 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13161 conversion to backquotes (bug#11652).
13163 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13164 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13165 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13166 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13167 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13168 (cl-ninth, cl-tenth): Mark them as inlinable.
13169 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13170 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13171 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13172 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13173 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13174 (cl-list*, cl-adjoin): Don't put an autoload manually.
13175 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13176 (cl--compiler-macro-list*): Add autoload cookie.
13177 (cl--compiler-macro-cXXr): New function.
13179 * help-fns.el (help-fns--compiler-macro): New function extracted from
13180 describe-function-1; follow aliases and use `compiler-macro' property.
13181 (describe-function-1): Use it.
13183 2012-06-11 Chong Yidong <cyd@gnu.org>
13185 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13186 is uninstalled, if imagemagick is installed.
13188 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13190 * emacs-lisp/cl-lib.el: Use lexical-binding.
13191 (cl-map-extents, cl-maclisp-member): Remove.
13192 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13193 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13194 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13195 * emacs-lisp/cl-extra.el: Use lexical-binding.
13196 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13197 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13198 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13199 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13200 * emacs-lisp/cl-seq.el: Use lexical-binding.
13201 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13202 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13203 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13204 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13205 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13208 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13210 Sync with Tramp 2.2.6-pre.
13212 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13213 `print-length' and `print-level' to nil, in order to avoid
13214 truncation. Reported by Christopher Schmidt
13215 <christopher@ristopher.com>.
13217 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13219 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13221 (tramp-compat-copy-directory): Add optional argument
13222 COPY-CONTENTS. It is not handled yet.
13224 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13225 (tramp-ftp-file-name-p): Simplify.
13227 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13228 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13231 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13232 (tramp-methods): Do not use `tramp-password-end-of-line'.
13233 (tramp-completion-function-alist-putty): Handle UNIX case.
13234 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13235 (tramp-do-file-attributes-with-stat)
13236 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13237 gid as real numbers. They could run out of integer range on cygwin.
13238 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13239 (tramp-sh-handle-expand-file-name): Handle hops.
13240 (tramp-open-connection-setup-interactive-shell):
13241 Use `tramp-cleanup'. Move check for busyboxes ...
13242 (tramp-find-shell): ... here. Simplify implementation.
13243 Set "remote-shell" property also for alternative shells.
13244 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13245 If failing, a regular file would be written otherwise.
13246 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13247 (tramp-find-inline-encoding): Cache the coding commands in the
13248 process cache. Apply test command on the remote side, if defined.
13249 (tramp-find-inline-compress): Cache the compress commands in the
13251 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13252 when requested. Handle hops.
13253 (tramp-current-connection): New defvar.
13254 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13255 Throw `suppress', if there was a failed connection shortly before.
13256 Handle user interrupt. (Bug#10187)
13257 (tramp-get-inline-compress, tramp-get-inline-coding):
13258 Read connection properties from the process cache.
13260 * net/tramp-smb.el (tramp-smb-server-version)
13261 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13263 (tramp-smb-prompt): Extend for powershell prompt.
13264 (tramp-smb-file-name-handler-alist): Add handlers for
13265 `process-file', `shell-command' and `start-file-process'.
13266 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13267 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13268 (tramp-smb-file-name-p): Simplify.
13269 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13270 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13271 (tramp-smb-shell-quote-argument): New defuns.
13272 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13273 Implement using "tar". By this, time-stamps are preserved.
13274 (tramp-smb-handle-copy-file): Handle also the case of directories.
13275 (tramp-smb-do-file-attributes-with-stat)
13276 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13277 Use `tramp-get-connection-buffer').
13278 (tramp-smb-handle-rename-file): Use "rename", when source and
13279 target are on the same share.
13280 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13281 Use `tramp-smb-server-version'.
13282 (tramp-smb-wait-for-output): Remove prompt.
13284 * net/tramp.el (top): Require 'cl.
13285 (tramp-methods, tramp-rsh-end-of-line):
13286 Remove `tramp-password-end-of-line' from docstring.
13287 (tramp-save-ad-hoc-proxies): New defcustom.
13288 (tramp-completion-function-alist): Adapt docstring.
13289 (tramp-default-password-end-of-line): Remove defcustom.
13290 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13291 (tramp-user-regexp, tramp-file-name-regexp-unified)
13292 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13293 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13294 (tramp-remote-file-name-spec-regexp): New defconst.
13295 (tramp-file-name-structure): Extend structure for hops.
13296 (tramp-get-method-parameter): Move up.
13297 (tramp-file-name-p, tramp-dissect-file-name)
13298 (with-parsed-tramp-file-name): Handle hops.
13299 (tramp-file-name-hop): New defun.
13300 (tramp-make-tramp-file-name): New optional arg HOP.
13301 (tramp-message-show-progress-reporter-message): New defvar.
13302 (tramp-with-progress-reporter): Use it. We cannot use
13303 `tramp-message-show-message' here, because this suppresses also
13305 (tramp-error-with-buffer): Suppress buffer view, if
13306 `tramp-message-show-message' is nil.
13307 Use `tramp-get-connection-buffer'.
13308 (tramp-cleanup): New defun.
13309 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13310 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13311 an error unchanged.
13312 (tramp-completion-handle-file-name-all-completions): Handle hops.
13313 Fix an error when called from ido.
13314 (tramp-completion-dissect-file-name): Use better local variable
13315 name. Add hop to the vector.
13316 (tramp-handle-insert-file-contents): Use progress-reporter for the
13318 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13320 (tramp-check-for-regexp): Simplify search.
13321 (tramp-enter-password): Remove it. Move implementation ...
13322 (tramp-action-password): ... here.
13323 (tramp-mode-string-to-int, tramp-local-host-p)
13324 (tramp-make-tramp-temp-file, tramp-read-passwd)
13325 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13326 Set tramp-autoload cookie.
13328 * net/trampver.el: Update release number.
13330 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13331 Michael Albinus <michael.albinus@gmx.de>
13333 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13334 (tramp-parse-group, tramp-parse-file)
13335 (tramp-parse-shostkeys-sknownhosts): New defuns.
13336 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13337 (tramp-parse-shosts-group, tramp-parse-sconfig)
13338 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13339 (tramp-parse-sknownhosts, tramp-parse-hosts)
13340 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13342 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13343 (tramp-parse-putty-group): Don't narrow.
13344 (tramp-parse-putty): Make a loop.
13345 (tramp-file-name-handler): Catch the `suppress' signal.
13347 2012-06-11 Chong Yidong <cyd@gnu.org>
13349 * image.el (imagemagick-register-types): Put the ImageMagick entry
13350 at the end of image-type-file-name-regexps.
13352 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13354 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13355 (pcase, pcase-let*, pcase-dolist): Use them.
13357 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13359 * emacs-lisp/pcase.el (pcase--let*): New function.
13360 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13361 (pcase--expand): Use macroexp-let².
13363 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13365 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13366 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13367 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13368 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13369 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13370 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13372 2012-06-10 Glenn Morris <rgm@gnu.org>
13374 * mail/rmail.el (rmail-yank-current-message): Leave point at
13375 correct position. (Bug#11660)
13377 2012-06-10 Chong Yidong <cyd@gnu.org>
13379 * allout-widgets.el: Fix code header.
13381 2012-06-10 Chong Yidong <cyd@gnu.org>
13383 * cus-edit.el (customize-changed-options-previous-release):
13386 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13388 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13390 2012-06-09 Chong Yidong <cyd@gnu.org>
13392 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13394 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13396 * window.el (special-display-popup-frame): Don't use
13397 window--display-buffer (Bug#11651).
13399 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13401 Fix parallel builds: make sure loaddefs.el is not being written
13402 while Lisp files are compiled.
13403 (compile): Don't depend on 'mh-autoloads'.
13404 (compile-CMD, compile-SH): Depend on 'autoloads'.
13405 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13407 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13409 2012-06-09 Chong Yidong <cyd@gnu.org>
13411 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13412 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13413 Doc fixes (Bug#11225).
13415 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13418 a function if there's a clear indication that it has a compiler-macro.
13419 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13420 (macro-declarations-alist): Add arglist to declaration functions.
13421 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13422 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13423 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13424 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13425 Also add autoload to find the compiler macro.
13426 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13427 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13428 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13429 (cl--compiler-macro-get): New functions, replacing calls to
13430 cl-define-compiler-macro.
13431 (cl-typep) [compiler-macro]: Use macroexp-let².
13433 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13435 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13436 string properly, fixes Bug#11473.
13438 2012-06-08 Chong Yidong <cyd@gnu.org>
13440 * faces.el (set-face-attribute): Doc fix.
13441 (modify-face): Don't use :bold and :italic.
13442 (error, warning, success): Tweak definitions.
13444 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13445 (custom-modified, custom-set, custom-changed, custom-themed)
13446 (custom-saved, custom-button, custom-button-mouse)
13447 (custom-button-pressed, custom-state, custom-comment-tag)
13448 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13449 (custom-group-subtitle): Use new-style face specs.
13450 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13451 (custom-set-face, custom-changed-face, custom-saved-face)
13452 (custom-button-face, custom-button-pressed-face)
13453 (custom-documentation-face, custom-state-face)
13454 (custom-comment-face, custom-comment-tag-face)
13455 (custom-variable-tag-face, custom-variable-button-face)
13456 (custom-face-tag-face, custom-group-tag-face-1)
13457 (custom-group-tag-face): Remove obsolete face alias.
13459 * epa.el (epa-validity-high, epa-validity-medium)
13460 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13461 (epa-field-name, epa-field-body):
13462 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13463 (font-lock-keyword-face, font-lock-builtin-face)
13464 (font-lock-function-name-face, font-lock-variable-name-face)
13465 (font-lock-type-face, font-lock-constant-face):
13466 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13467 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13468 * speedbar.el (speedbar-button-face, speedbar-file-face)
13469 (speedbar-directory-face, speedbar-tag-face)
13470 (speedbar-selected-face, speedbar-highlight-face)
13471 (speedbar-separator-face):
13472 * whitespace.el (whitespace-newline, whitespace-space)
13473 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13474 (whitespace-line, whitespace-space-before-tab)
13475 (whitespace-space-after-tab, whitespace-indentation)
13476 (whitespace-empty):
13477 * emulation/cua-base.el (cua-global-mark):
13478 * eshell/em-prompt.el (eshell-prompt):
13479 * net/newst-plainview.el (newsticker-new-item-face)
13480 (newsticker-old-item-face, newsticker-immortal-item-face)
13481 (newsticker-obsolete-item-face, newsticker-date-face)
13482 (newsticker-statistics-face, newsticker-default-face):
13483 * net/newst-reader.el (newsticker-feed-face)
13484 (newsticker-extra-face, newsticker-enclosure-face):
13485 * net/newst-treeview.el (newsticker-treeview-face)
13486 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13487 (newsticker-treeview-immortal-face)
13488 (newsticker-treeview-obsolete-face)
13489 (newsticker-treeview-selection-face):
13490 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13491 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13492 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13493 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13494 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13495 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13496 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13498 * progmodes/vera-mode.el (vera-font-lock-number)
13499 (vera-font-lock-function, vera-font-lock-interface):
13500 * textmodes/table.el (table-cell): Use new-style face specs, and
13501 don't use the old :bold and :italic attributes.
13503 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13504 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13505 (ebrowse-member-class, ebrowse-progress): Likewise.
13506 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13507 (ebrowse-file-name-face, ebrowse-default-face)
13508 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13509 (ebrowse-progress-face): Remove obsolete faces.
13511 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13512 Inherit from error and warning faces respectively.
13514 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13516 (flyspell-incorrect-face, flyspell-duplicate-face):
13517 Remove obsolete aliases.
13519 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13521 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13524 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13526 * startup.el (argv, argi): Make lexically scoped.
13527 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13528 * emacs-lisp/cl-macs.el: Use lexical-binding.
13529 Rename cl-bind-* to cl--bind-*.
13530 * files.el: Don't require `cl' since it doesn't use it.
13531 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13533 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13535 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13536 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13537 instead of calling external sort utility.
13538 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13540 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13542 * descr-text.el (describe-char): Mention how to insert the
13543 character, if the current input method doesn't support it.
13544 See the discussion in this thread for the details:
13545 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13547 2012-06-08 Sam Steingold <sds@gnu.org>
13549 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13550 XF86Back to previous-buffer.
13551 (minibuffer-local-map): Bind them to next-history-element and
13552 previous-history-element respectively.
13553 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13554 help-go-back respectively.
13555 * info.el (Info-mode-map): Bind them to Info-history-forward and
13556 Info-history-back respectively.
13557 These are the keys next to Up on the ThinkPad keyboard.
13559 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13561 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13562 * emacs-lisp/cl-macs.el: Provide itself.
13563 (cl--labels-convert-cache): New var.
13564 (cl--labels-convert): New function.
13565 (cl-flet, cl-labels): New implementation with new semantics, relying on
13567 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13568 (cl-closure-vars, cl--function-convert-cache)
13569 (cl--function-convert): Move from cl-macs.el.
13570 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13571 rename by removing the "cl-" prefix.
13572 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13574 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13576 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13577 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13578 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13579 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13580 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13581 (cl-hash-table-count): Add old compatibility aliases.
13583 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13584 Use macroexpand-all-environment instead.
13585 (cl--old-macroexpand): New var.
13586 (cl--sm-macroexpand): New function.
13587 (cl-symbol-macrolet): Use it during macro expansion.
13588 (cl--function-convert-cache): New var.
13589 (cl--function-convert): New function, extracted from
13590 cl-macroexpand-all.
13591 (cl-lexical-let): Use it.
13593 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13594 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13595 (cl-member): Remove old alias.
13597 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13598 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13599 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13600 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13601 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13602 (cl-macroexpand-cmacs): Remove var.
13603 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13604 Use macroexpand-all instead.
13606 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13608 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13609 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13610 (macroexp-copyable-p): New functions and macros.
13611 * emacs-lisp/edebug.el (edebug-unwrap):
13612 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13613 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13614 (pcase--let*): Remove.
13615 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13616 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13617 macroexp-const-p instead.
13618 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13620 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13621 instead of "cl-" for internal definitions. Use macroexp-const-p.
13622 (cl-old-bc-file-form): Remove var.
13623 (cl-const-exprs-p): Remove fun.
13624 (cl-labels, cl-macrolet): Use backquote.
13625 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13626 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13627 (cl-define-setf-expander): Rename from cl-define-setf-method.
13628 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13630 * international/mule-cmds.el: Don't require CL.
13631 (view-hello-file): Don't use `letf'.
13633 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13635 * tmm.el (tmm-prompt): Use string-prefix-p.
13636 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13637 (tmm-add-prompt): Use minibuffer-completion-help.
13638 (tmm-delete-map): Remove.
13640 * subr.el (kbd): Make it its own function.
13642 2012-06-07 Stefan Merten <smerten@oekonux.de>
13644 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13645 Silence compiler warnings. Fix versions.
13646 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13647 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13648 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13649 (rst-package-emacs-version-alist): Correct Emacs version to
13650 represent major merge with upstream.
13651 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13653 2012-06-06 Glenn Morris <rgm@gnu.org>
13655 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13656 Only print environment variables if set.
13658 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13660 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13661 (macroexp--cons): Rename from maybe-cons.
13662 (macroexp--accumulate): Rename from macroexp-accumulate.
13663 (macroexp--all-forms): Rename from macroexpand-all-forms.
13664 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13665 (macroexp--expand-all): Rename from macroexpand-all-1.
13667 2012-06-06 Sam Steingold <sds@gnu.org>
13669 * calendar/calendar.el (calendar-in-read-only-buffer):
13670 Call `special-mode' to enable the standard read-only keybindings.
13672 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13674 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13675 with "loading" messages (bug#11635).
13677 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13679 * files.el (enable-remote-dir-locals): New option.
13680 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13682 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13683 Ensure, that the temp directory is local.
13685 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13686 `temporary-file-directory'.
13688 * progmodes/python.el (python-send-region): Ensure, that the
13689 temporary file is created also in the remote case.
13691 2012-06-06 Glenn Morris <rgm@gnu.org>
13693 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13694 (vc-rcs-update-changelog): Use it.
13696 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13698 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13699 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13700 (vc-sccs-diff): Replace use of the external vcdiff script.
13702 2012-06-05 Glenn Morris <rgm@gnu.org>
13704 * ledit.el: Move to obsolete/.
13706 2012-06-05 Sam Steingold <sds@gnu.org>
13708 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13711 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13713 * emacs-lisp/cust-print.el: Move to obsolete.
13715 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13716 compiler-macro expansion.
13718 Add native compiler-macro support.
13719 * emacs-lisp/macroexp.el (macroexpand-all-1):
13720 Support compiler-macros directly. Properly follow aliases and apply
13721 the compiler macros more thoroughly.
13722 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13723 macroexpand now properly follows aliases.
13724 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13725 (cl-compiler-macroexpand): Use new prop.
13726 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13728 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13730 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13732 * window.el (get-lru-window, get-mru-window, get-largest-window):
13733 New argument NOT-SELECTED to avoid picking the selected window.
13734 (window--display-buffer-1, window--display-buffer-2): Replace by
13735 new function window--display-buffer
13736 (display-buffer-same-window, display-buffer-reuse-window)
13737 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13738 Use window--display-buffer.
13739 (display-buffer-use-some-window): Remove temporary dedication
13740 hack by calling get-lru-window and get-largest-window with
13741 NOT-SELECTED argument non-nil. Call window--display-buffer.
13743 2012-06-05 Glenn Morris <rgm@gnu.org>
13745 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13746 Replace external vcdiff script.
13748 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13752 2012-06-04 Chong Yidong <cyd@gnu.org>
13754 * image.el (imagemagick-types-inhibit): Revert last change.
13756 (imagemagick-enabled-types): Remove CIN and EPS*.
13758 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13760 * emacs-lisp/cl-lib.el: Rename from cl.el.
13761 * emacs-lisp/cl.el: New compatibility file.
13762 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13763 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13764 to obey the "cl-" prefix.
13765 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13767 2012-06-03 Glenn Morris <rgm@gnu.org>
13769 * emacs-lisp/authors.el (authors-aliases): Addition.
13771 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13774 2012-06-03 Stefan Merten <smerten@oekonux.de>
13776 * textmodes/rst.el: Add comments.
13777 (rst-transition, rst-adornment): New faces.
13778 (rst-adornment-faces-alist): Make default safe to reevaluate.
13780 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13781 Improve customization tags.
13782 (rst-define-level-faces): Clarify meaning.
13784 2012-06-03 Chong Yidong <cyd@gnu.org>
13786 * progmodes/compile.el (compilation-mode-line-fail)
13787 (compilation-mode-line-run, compilation-mode-line-exit):
13789 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13791 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13793 * progmodes/which-func.el (which-func-update-ediff-windows):
13794 New function. Use it in ediff-select-hook (Bug#11478).
13796 2012-06-03 Chong Yidong <cyd@gnu.org>
13798 * bindings.el: Remove explicit help text from format-mode-line.
13799 It is now supplied by mode-line-default-help-echo.
13800 (mode-line-front-space, mode-line-end-spaces)
13801 (mode-line-misc-info): New variables.
13802 (mode-line-modes, mode-line-position): Move the default value to
13803 the variable definition.
13804 (mode-line-default-help-echo): New defcustom.
13805 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13806 (mode-line-modified-help-echo): New functions.
13807 (mode-line-mule-info, mode-line-modified): Use them.
13808 (mode-line-eol-desc, propertized-buffer-identification):
13809 Consistency fixes for help text.
13810 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13811 set-buffer-file-coding-system (Bug#289).
13812 (mode-line-mule-info-help-echo): Update help text.
13814 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13816 * simple.el (execute-extended-command): Set real-this-command
13819 2012-06-02 Chong Yidong <cyd@gnu.org>
13821 Remove incorrect uses of "modeline" in comments, docstrings, and
13822 function/variable names (Bug#10329).
13824 * cus-edit.el (mode-line):
13825 * dframe.el (dframe-mouse-hscroll):
13826 * emacs-lisp/re-builder.el:
13827 * emacs-lisp/easy-mmode.el (define-minor-mode):
13828 * frame.el (set-frame-name):
13829 * help.el (lookup-minor-mode-from-indicator):
13830 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13831 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13832 (c-toggle-hungry-state):
13833 * progmodes/antlr-mode.el (antlr-language-alist):
13834 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13835 * progmodes/vhdl-mode.el (vhdl-mode):
13836 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13837 * term/ns-win.el (ns-face-at-pos):
13838 * term/sup-mouse.el (sup-mouse-report):
13839 * textmodes/flyspell.el (flyspell-mode-line-string):
13840 * textmodes/ispell.el (ispell-highlight-face):
13841 * textmodes/reftex-global.el:
13842 * vc/vc-arch.el (vc-arch-mode-line-string):
13843 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13844 * vc/vc-git.el (vc-git-mode-line-string):
13845 * vc/vc-hooks.el (vc-display-status)
13846 (vc-default-mode-line-string):
13847 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13849 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13851 * dired.el (dired-sort-set-mode-line): Rename from
13852 dired-sort-set-modeline. All callers changed.
13854 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13855 eshell-status-in-modeline.
13857 * foldout.el (foldout-mode-line-string): Rename from
13858 foldout-modeline-string. All callers changed.
13859 (foldout-update-mode-line): Rename from foldout-update-modeline.
13861 * subr.el (redraw-modeline): Make into obsolete alias.
13863 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13864 timeclock-modeline-display. Make old name an alias.
13865 (timeclock-update-mode-line): Likewise. All callers changed.
13866 (timeclock-mode-line-display): No need to check before using
13868 (timeclock-relative, timeclock-day-over-hook)
13869 (timeclock-use-elapsed, timeclock-mode-string)
13870 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13872 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13873 crisp-mode-modeline-string.
13875 * play/solitaire.el (solitaire-build-mode-line): Rename from
13876 solitaire-build-modeline. All callers changed.
13878 * play/zone.el (zone-hiding-mode-line): Rename from
13879 zone-hiding-modeline. All callers changed.
13880 (zone): Remove unusued `modeline-hidden-level' property.
13882 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13883 xscheme-modeline-initialize. All callers changed.
13885 * strokes.el (strokes-lighter): Rename from
13886 strokes-modeline-string.
13888 * textmodes/sgml-mode.el (html-face-tag-alist)
13889 (html-tag-face-alist): Use mode-line face instead of obsolete
13892 2012-06-02 Stefan Merten <smerten@oekonux.de>
13894 * textmodes/rst.el: Always require `cl'.
13895 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13897 2012-06-02 Chong Yidong <cyd@gnu.org>
13899 * image.el (imagemagick-enabled-types): Rename from
13900 imagemagick-types-enable. Add many more types.
13901 (imagemagick-types-inhibit): Change default to nil.
13902 (imagemagick-filter-types): Caller changed.
13904 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13906 * emacs-lisp/cl-macs.el: Use backquotes.
13907 (cl-transform-function-property): Use eval-and-compile rather than
13909 (defstruct): Use declare-function instead of with-no-warnings.
13911 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13912 (byte-compile-output-docform): Re-add the print-circle bindings.
13913 (byte-compile-fix-header): Use #$ just because it's shorter.
13914 (byte-compile-output-file-form): Remove defun/defmacro.
13916 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13918 * simple.el (choose-completion): Remove now obsolete binding for
13921 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13923 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13924 in order to avoid "Stack overflow in regexp matcher".
13926 2012-05-31 Glenn Morris <rgm@gnu.org>
13928 * image.el: For clarity, call imagemagick-register-types at
13929 top-level, rather than relying on a custom :initialize.
13930 (imagemagick-types-enable): New option. (Bug#11557)
13931 (imagemagick-filter-types): New function. (Bug#7406)
13932 (imagemagick-register-types): Use imagemagick-filter-types.
13933 If disabling support, remove elements altogether rather
13934 than using an impossible regexp.
13935 (imagemagick-types-inhibit): Give it the default init function.
13937 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13939 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13940 Handle arbitrary file name lengths (Bug#11585).
13942 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13944 * desktop.el (desktop-read): Clear previous and next buffers for
13945 all windows and bury *Messages* buffer (bug#11556).
13947 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13949 Add `declare' for `defun'. Align `defmacro's with it.
13950 * emacs-lisp/easy-mmode.el (define-minor-mode)
13951 (define-globalized-minor-mode): Don't autoload the var definitions.
13952 * emacs-lisp/byte-run.el: Use lexical-binding.
13953 (defun-declarations-alist, macro-declarations-alist): New vars.
13954 (defmacro, defun): Use them.
13955 (make-obsolete, define-obsolete-function-alias)
13956 (make-obsolete-variable, define-obsolete-variable-alias):
13958 (macro-declaration-function): Mark obsolete.
13959 * emacs-lisp/autoload.el: Use lexical-binding.
13960 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13962 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13964 * textmodes/ispell.el (ispell-with-no-warnings):
13966 (ispell-kill-ispell, ispell-change-dictionary):
13967 Use `called-interactively-p' for Emacs instead of obsolete
13970 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13973 (macro-declaration-function): Move var from C code.
13974 (macro-declaration-function): Define function with defalias.
13975 * emacs-lisp/macroexp.el (macroexpand-all-1):
13976 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13977 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13978 defun/defmacro any more.
13979 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13980 Provide fallback for unknown arglist.
13981 (byte-compile-arglist-warn): Change calling convention.
13982 (byte-compile-output-file-form): Move print-vars binding.
13983 (byte-compile-output-docform): Simplify accordingly.
13984 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13985 (byte-compile-defmacro-declaration): Remove.
13986 (byte-compile-file-form-defmumble): Generalize to defalias.
13987 (byte-compile-output-as-comment): Return byte-positions.
13988 Simplify callers accordingly.
13989 (byte-compile-lambda): Use `assert'.
13990 (byte-compile-defun, byte-compile-defmacro): Remove.
13991 (byte-compile-file-form-defalias):
13992 Use byte-compile-file-form-defmumble.
13993 (byte-compile-defalias-warn): Remove.
13995 2012-05-29 Stefan Merten <smerten@oekonux.de>
13997 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13998 possible. Fix authors. Improve comments. Improve loading of `cl'.
14000 (rst-mode-abbrev-table): Merge definition.
14001 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14002 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14004 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14006 * calendar/icalendar.el
14007 (icalendar-export-region): Export UID properly.
14009 2012-05-29 Leo Liu <sdl.web@gmail.com>
14010 * calendar/icalendar.el (icalendar-import-format):
14011 Add `icalendar-import-format-uid' (Bug#11525).
14012 (icalendar-import-format-uid): New.
14013 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14016 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14018 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14019 different alternative patterns.
14020 (pcase-codegen): Be more careful to preserve identity.
14021 (pcase--u1): Don't forget to mark vars as used.
14023 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14024 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14025 (byte-compile-from-buffer): ...rather than here.
14027 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14028 functions from byte-compile-function-environment.
14030 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14032 * window.el (window-deletable-p): Avoid deleting the root window
14033 of a frame with an active minibuffer.
14035 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14037 * simple.el (choose-completion): Use quit-window (Bug#11567).
14039 2012-05-29 Chong Yidong <cyd@gnu.org>
14041 * whitespace.el (whitespace-cleanup): Fix usage of
14042 whitespace-empty-at-bob-regexp (Bug#11492).
14044 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14046 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14047 revert (Bug#11488).
14049 2012-05-29 Juri Linkov <juri@jurta.org>
14051 * isearch.el (isearch-mode-map): Bind `M-s _' to
14052 `isearch-toggle-symbol'. Bind `M-s c' to
14053 `isearch-toggle-case-fold'.
14054 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14055 (isearch-forward): Add `M-s _' to the docstring.
14056 (isearch-forward-symbol, isearch-toggle-case-fold)
14057 (isearch-symbol-regexp): New functions. (Bug#11381)
14059 2012-05-29 Juri Linkov <juri@jurta.org>
14061 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14062 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14063 a function, call it to get the regexp.
14064 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14065 property `isearch-message-prefix' instead of the string "word ".
14066 (isearch-search-fun-default): For the case of `isearch-word',
14067 return a lambda that calls re-search-forward/re-search-backward
14068 with a regexp returned by `word-search-regexp' or by the function
14071 2012-05-29 Juri Linkov <juri@jurta.org>
14073 * isearch.el (isearch-search-fun-default): New function.
14074 (isearch-search-fun): Move default part to the new function
14075 `isearch-search-fun-default'.
14076 (isearch-search-fun-function): Set the default value to
14077 `isearch-search-fun-default'. (Bug#11381)
14079 * comint.el (comint-history-isearch-end):
14080 Use `isearch-search-fun-default'.
14081 (comint-history-isearch-search): Use `isearch-search-fun-default'
14082 and remove spacial case for `isearch-word'.
14083 (comint-history-isearch-wrap): Remove spacial case for
14086 * hexl.el (hexl-isearch-search-function):
14087 Use `isearch-search-fun-default'.
14089 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14090 Use `word-search-regexp' for `isearch-word'.
14092 * misearch.el (multi-isearch-search-fun):
14093 Use `isearch-search-fun-default'.
14095 * simple.el (minibuffer-history-isearch-search):
14096 Use `isearch-search-fun-default' and remove spacial case for
14098 (minibuffer-history-isearch-wrap): Remove spacial case for
14101 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14102 Remove spacial case for `isearch-word'.
14103 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14105 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14107 Decrease XEmacs incompatibilities.
14108 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14109 Use `string-match'.
14110 (flyspell-delete-region-overlays): Use alternative definition for
14112 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14113 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14114 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14115 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14116 `define-obsolete-face-alias' under XEmacs, but old method.
14118 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14119 `with-no-warnings' definition or Emacs alias.
14120 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14121 (ispell-word): Do not use `region-p' if XEmacs.
14123 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14125 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14126 Check for `ispell-dictionary-base-alist' instead of full
14127 `ispell-dictionary-alist'.
14128 (ispell-init-process): Show spellchecker when starting new Ispell
14131 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14133 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14134 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14136 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14138 * version.el (motif-version-string, gtk-version-string)
14139 (ns-version-string): Declare.
14141 2012-05-27 Juri Linkov <juri@jurta.org>
14143 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14144 after the `eval-defun-1' specialcaseing
14145 like in `edebug-eval-defun' (bug#10181).
14147 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14148 like in `eval-defun-1'.
14150 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14152 * mail/sendmail.el (mail-yank-region):
14153 Recognize rmail-yank-current-message in addition to insert-buffer.
14154 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14155 a *mail* buffer created through rmail-start-mail with sendmail as
14158 2012-05-27 Chong Yidong <cyd@gnu.org>
14160 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14161 Default to 256 (Bug#11267).
14163 * help.el (describe-mode): Doc fix.
14165 2012-05-26 Glenn Morris <rgm@gnu.org>
14167 * w32-fns.el (w32-init-info): Remove.
14168 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14170 * info.el (info-initialize): For self-contained NS builds, put the
14171 included info/ directory at the front. (Bug#2791)
14173 * paths.el (Info-default-directory-list): Make it a defcustom,
14174 mainly so that we can use custom-initialize-delay.
14176 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14178 * subr.el (buffer-has-markers-at): Mark obsolete.
14180 * subr.el (lambda): Use declare.
14182 * emacs-lisp/lisp-mode.el (lambda):
14183 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14185 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14187 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14189 2012-05-26 Glenn Morris <rgm@gnu.org>
14191 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14193 2012-05-25 Glenn Morris <rgm@gnu.org>
14195 * paths.el: Remove no-byte-compile.
14196 * loadup.el: No need to load paths.el uncompiled.
14198 * image.el (imagemagick-types-inhibit): Doc fix.
14200 * version.el: Remove no-byte-compile and associated formatting.
14201 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14202 is ancient code from when there was an "inc-vers.el".
14204 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14206 * progmodes/gdb-mi.el: Minor style changes.
14207 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14208 Turn into minor modes.
14209 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14210 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14211 (gdb-shell): Remove unneeded let-binding.
14212 (gdb-get-many-fields): Eliminate O(n²) behavior.
14214 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14216 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14217 platforms that don't link in fontset.c.
14219 2012-05-25 Juri Linkov <juri@jurta.org>
14221 Use the same diff color scheme as in modern VCSes (bug#10181).
14223 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14224 to avoid confusion with `diff-added' that now uses green colors.
14225 (diff-removed): Use shades of red.
14226 (diff-added): Use shades of green.
14227 (diff-changed): Leave just the yellow color.
14228 (diff-use-changed-face): New variable.
14229 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14230 how to highlight context diff changes.
14231 (diff-refine-change): Use shades of yellow.
14232 (diff-refine-removed): New face that uses shades of red.
14233 (diff-refine-added): New face that uses shades of green.
14234 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14235 `diff-refine-removed' in the call to `smerge-refine-subst'
14236 depending on the value of `diff-use-changed-face'.
14238 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14239 (smerge-other): Use shades of green.
14240 (smerge-base): Use shades of yellow.
14241 (smerge-refined-change): Empty face.
14242 (smerge-refined-removed): New face that uses shades of red.
14243 (smerge-refined-added): New face that uses shades of green.
14244 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14245 args `props-r' and `props-a', and use them. Doc fix.
14246 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14247 on its value use different faces `smerge-refined-change',
14248 `smerge-refined-removed', `smerge-refined-added' in the call to
14249 `smerge-refine-subst'.
14251 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14252 Add face condition `min-colors 88' with shades of red.
14253 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14254 `min-colors 88' with shades of green.
14255 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14256 `min-colors 88' with shades of yellow.
14258 2012-05-24 Glenn Morris <rgm@gnu.org>
14260 * paths.el (prune-directory-list, remote-shell-program): Move to...
14261 * files.el (prune-directory-list, remote-shell-program): ...here.
14262 For the latter, delay initialization, prefer ssh, just search PATH.
14264 * paths.el (term-file-prefix): Move to faces.el (the only user).
14265 * faces.el (term-file-prefix): Move here, make it a defcustom.
14267 * paths.el (news-directory, news-path, news-inews-program):
14268 Move to gnus/nnspool.el.
14270 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14272 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14273 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14274 Make the latter a defcustom, with a delayed initialization.
14276 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14277 These were deleted from Gnus itself late 2010.
14279 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14281 * progmodes/which-func.el (which-func-ff-hook):
14282 Check against user-error, not error.
14284 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14285 cl-specs.el, which no longer exists.
14287 2012-05-22 Glenn Morris <rgm@gnu.org>
14289 * info.el (info-emacs-bug): New command.
14290 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14291 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14293 2012-05-21 Glenn Morris <rgm@gnu.org>
14295 * makefile.w32-in (update-subdirs-SH):
14296 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14298 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14300 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14302 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14303 Simplify Maven regexp, and make sure the file can't start with a space
14306 2012-05-21 Glenn Morris <rgm@gnu.org>
14308 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14309 Scrap superfluous subshells.
14311 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14313 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14314 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14316 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14318 * calc/calc.el (calc-ensure-consistent-units): New variable.
14320 * calc/calc-units.el (math-consistent-units-p)
14321 (math-check-unit-consistency): New functions.
14322 (calc-quick-units, calc-convert-units):
14323 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14325 (calc-extract-units): Fix typo.
14327 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14329 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14331 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14332 (flyspell-default-deplacement-commands): Don't spell check after
14333 repeated window/frame switches (e.g. triggered by mouse-movement).
14334 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14335 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14336 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14337 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14338 Remove unused vars.
14339 (flyspell-get-casechars, flyspell-get-not-casechars):
14340 Simplify; Don't bother removing a ] just to add it back.
14341 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14343 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14345 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14347 (math-function-table): Add support for more C functions.
14349 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14351 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14352 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14353 Protect delay handling for otherchars against empty otherchars.
14355 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14357 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14358 their respective macro declarations.
14359 * skeleton.el (define-skeleton):
14360 * progmodes/compile.el (define-compilation-mode):
14361 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14362 (define-ibuffer-filter):
14363 * emacs-lisp/generic.el (define-generic-mode):
14364 * emacs-lisp/easy-mmode.el (define-minor-mode)
14365 (define-globalized-minor-mode):
14366 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14367 * emacs-lisp/byte-run.el (defsubst):
14368 * custom.el (deftheme): Add doc-string metadata.
14370 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14372 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14374 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14376 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14378 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14379 * emacs-lisp/cl-macs.el: Idem.
14380 * emacs-lisp/cl-specs.el: Remove.
14382 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14384 Minor renaming of internal CL functions and variables.
14385 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14386 (cl--position): Rename from cl-position.
14387 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14388 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14389 (cl--random-state): Rename from *random-state*.
14391 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14393 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14394 parens around the arg list (bug#11499).
14396 2012-05-17 Juri Linkov <juri@jurta.org>
14398 * isearch.el (word-search-regexp, word-search-backward)
14399 (word-search-forward, word-search-backward-lax)
14400 (word-search-forward-lax): Move functions from search.c
14401 (bug#10145, bug#11381).
14403 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14405 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14406 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14407 Delay for otherchars as for normal word components.
14409 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14411 * minibuffer.el (completion--sifn-requote): Fix last change.
14412 (minibuffer-local-must-match-filename-map):
14413 Move define-obsolete-variable-alias before its var.
14415 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14417 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14419 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14421 (completion--string-equal-p): New function.
14422 (completion--twq-all): Use it to get better assertion failure data.
14424 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14425 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14426 (shell--requote-argument): New functions.
14427 (shell-completion-vars): Use them.
14428 (shell--parse-pcomplete-arguments): Rename from
14429 shell-parse-pcomplete-arguments.
14430 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14431 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14432 Obey comint-file-name-quote-list.
14434 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14435 (smie-indent-keyword): Use it.
14437 2012-05-14 Stefan Merten <smerten@oekonux.de>
14439 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14441 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14443 * net/rlogin.el (rlogin-mode-map): Fix last change.
14445 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14447 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14448 the following \r\n using a single `process-send-string', since the
14449 Lotus SMTP server refuses to accept any commands if they are sent
14450 with two `process-send-string's (Bug#11444).
14452 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14454 * shell.el (shell-parse-pcomplete-arguments):
14455 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14457 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14459 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14460 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14461 (image-transform-width, image-transform-fit-width): New functions.
14462 (image-transform-properties): Use them.
14463 (image-transform-check-size): New function.
14464 (image-toggle-display-image): Use it (for testing).
14465 (image-transform-set-rotation): Reduce angle mod 360.
14466 Delete obsolete comment.
14468 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14470 * image-mode.el: Fix scaling (bug#11399).
14471 (image-transform-resize): Doc fix.
14472 (image-transform-properties): Default scale is 1 and height should
14475 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14477 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14478 than hard-coding `car', to fix misbehavior when moving forward.
14480 2012-05-13 Chong Yidong <cyd@gnu.org>
14482 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14483 (tabulated-list-entries, tabulated-list-padding)
14484 (tabulated-list-sort-key): Make permanent-local.
14486 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14487 (electric-buffer-list): Put electric buffer menu
14488 command descriptions in this docstring, instead of the docstring
14489 of electric-buffer-menu-mode. Code cleanups.
14490 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14491 Electric-buffer-menu-mode.
14492 (electric-buffer-update-highlight): Minor code cleanup.
14494 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14496 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14499 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14501 Move define-obsolete-variable-alias before the var's definition.
14502 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14503 * tooltip.el (tooltip-hook):
14504 * textmodes/reftex-toc.el (reftex-toc-map):
14505 * textmodes/reftex-sel.el (reftex-select-label-map)
14506 (reftex-select-bib-map):
14507 * textmodes/reftex-index.el (reftex-index-map)
14508 (reftex-index-phrases-map):
14509 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14510 * progmodes/meta-mode.el (meta-mode-map):
14511 * novice.el (disabled-command-hook):
14512 * loadhist.el (unload-hook-features-list):
14513 * frame.el (blink-cursor):
14514 * files.el (find-file-not-found-hooks, write-file-hooks)
14515 (write-contents-hooks):
14516 * emulation/tpu-edt.el (GOLD-map):
14517 * emacs-lock.el (emacs-lock-from-exiting):
14518 * emacs-lisp/generic.el (generic-font-lock-defaults):
14519 * emacs-lisp/chart.el (chart-map):
14520 * dos-fns.el (register-name-alist):
14521 * dired-x.el (dired-omit-files-p):
14522 * desktop.el (desktop-enable):
14523 * cus-edit.el (custom-mode-hook):
14524 * buff-menu.el (buffer-menu-mode-hook):
14525 * bookmark.el (bookmark-read-annotation-text-func)
14526 (bookmark-exit-hooks):
14527 * allout.el (allout-mode-deactivate-hook)
14528 (allout-exposure-change-hook, allout-structure-added-hook)
14529 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14530 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14531 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14532 comes before the corresponding variable's definition.
14534 2012-05-12 Chong Yidong <cyd@gnu.org>
14536 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14537 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14538 (Buffer-menu-mode-map): Bind it.
14539 (Buffer-menu--pretty-name): Add a mouse-face property.
14541 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14543 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14544 (prolog-upper-case-string, prolog-lower-case-string)
14545 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14546 (prolog-use-smie, prolog-smie-grammar): New vars.
14547 (prolog-smie-forward-token, prolog-smie-backward-token)
14548 (prolog-smie-rules): New funs.
14549 (prolog-comment-indent): Remove.
14550 (prolog-mode-variables): Use default comment indentation instead.
14552 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14553 (prolog-mode): Don't call them any more.
14554 (prolog-electric-colon, prolog-electric-dash)
14555 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14557 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14559 * minibuffer.el (completion--twq-all): Again, allow case differences.
14561 * term.el: Move keymap initialization code to be more idiomatic.
14562 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14563 (term-terminal-menu): Move initialization into declaration.
14564 (term-escape-char): Let the user set it in her .emacs.
14566 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14567 Provide SMIE-based indentation (not enabled by default yet).
14568 (sh-mode-map): Don't bind electric keys.
14569 Use electric-pair-mode instead of skeleton-pair.
14570 (sh-assignment-regexp): Fit within 80 columns.
14571 (sh-indent-supported): Specify actual shell name instead of boolean.
14572 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14573 (sh-maybe-here-document): Use it. Make obsolete.
14574 (sh-electric-here-document-mode) New minor mode.
14575 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14576 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14577 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14578 (sh-smie-rc-grammar, sh-use-smie): New vars.
14579 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14580 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14581 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14582 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14583 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14584 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14585 (sh-set-shell): Use smie-setup if requested.
14587 * term.el (term-set-escape-char): Properly set term-escape-char.
14588 See http://stackoverflow.com/questions/10524656.
14590 2012-05-10 Chong Yidong <cyd@gnu.org>
14592 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14593 Use url-generic-parse-url, and handle host names and Windows
14594 filenames properly.
14595 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14596 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14597 URL schemes to work on.
14598 (ffap--toggle-read-only): New function.
14599 (ffap-read-only, ffap-read-only-other-window)
14600 (ffap-read-only-other-frame): Use it.
14601 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14602 necessary for ffap-url-unwrap-remote.
14604 2012-05-10 Dave Abrahams <dave@boostpro.com>
14606 * cus-start.el (create-lockfiles): Add it.
14608 2012-05-09 Chong Yidong <cyd@gnu.org>
14610 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14611 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14613 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14615 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14617 2012-05-09 Chong Yidong <cyd@gnu.org>
14619 * ansi-color.el (ansi-color-process-output): Check for validity of
14620 comint-last-output-start before using it. This avoids a bad
14621 interaction with gdb-mi's input/output buffer.
14623 2012-05-09 Glenn Morris <rgm@gnu.org>
14625 * files.el (dir-locals-read-from-file):
14626 Mention dir-locals in any error message.
14628 2012-05-09 Chong Yidong <cyd@gnu.org>
14630 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14631 package (Bug#11410).
14633 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14634 variables into description.
14636 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14638 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14639 shell-delimiter-argument-list (bug#11348).
14640 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14642 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14644 * textmodes/rst.el: Silence byte-compiler warnings.
14645 (rst-re-alist, rst-reset-section-caches): Move around.
14646 (rst-re): Use `characterp', not `char-valid-p'.
14647 (font-lock-beg, font-lock-end): Declare.
14649 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14650 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14652 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14654 2012-05-08 Glenn Morris <rgm@gnu.org>
14656 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14658 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14660 * vc/log-edit.el: Add GNU coding standards highlighting.
14661 (log-edit-font-lock-gnu-style)
14662 (log-edit-font-lock-gnu-keywords): New vars.
14663 (log-edit-font-lock-keywords): New fun.
14664 (log-edit-mode): Don't fold case in font-lock.
14665 (log-edit-font-lock-keywords): Do not assume case-folding.
14667 * imenu.el: Misc cleanup. Make docstrings out of comments.
14668 Use lexical-binding.
14669 (imenu--index-alist, imenu--last-menubar-index-alist)
14670 (imenu-menubar-modified-tick): Use defvar-local.
14671 (imenu--split-menu): Remove unused var.
14672 (imenu--cleanup-seen): Declare as global.
14673 (imenu--cleanup): Use dolist.
14675 * subr.el (defvar-local): Add debug spec and doc-string position.
14677 2012-05-08 Glenn Morris <rgm@gnu.org>
14679 * language/burmese.el, language/cham.el, language/czech.el:
14680 * language/english.el, language/georgian.el, language/greek.el:
14681 * language/japanese.el, language/khmer.el, language/korean.el:
14682 * language/lao.el, language/misc-lang.el, language/romanian.el:
14683 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14684 * language/thai.el, language/utf-8-lang.el:
14685 Remove no-byte-compile setting.
14687 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14689 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14691 * progmodes/make-mode.el (makefile-browse):
14692 Remove unnecessary interactive. (Bug#11324)
14694 2012-05-07 Glenn Morris <rgm@gnu.org>
14696 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14698 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14700 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14702 * loadup.el: Preload newcomment.el.
14703 * newcomment.el: Move autoload-only code to toplevel.
14705 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14706 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14707 Handle new :right-align column property.
14708 (tabulated-list-print-col): Idem, plus use `display' text-property to
14709 try and preserve alignment for variable pitch fonts.
14711 2012-05-07 Chong Yidong <cyd@gnu.org>
14713 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14714 (tabulated-list-use-header-line): New var.
14715 (tabulated-list-init-header): Use it.
14716 (tabulated-list-print-fake-header): New function.
14717 (tabulated-list-print): Use it.
14718 (tabulated-list-sort-button-map): Add non-header-line commands.
14719 (tabulated-list-init-header): Add column name property to basic
14721 (tabulated-list-col-sort): Handle non-header-line button case.
14722 (tabulated-list--sort-by-column-name): Fix a corner case.
14724 * buff-menu.el (list-buffers--refresh):
14725 Handle Buffer-menu-use-header-line.
14727 2012-05-06 Chong Yidong <cyd@gnu.org>
14729 * buff-menu.el: Convert to Tabulated List mode.
14730 (Buffer-menu-buffer+size-width): Make obsolete.
14731 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14732 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14733 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14734 documentation into docstring of buffer-menu.
14735 (Buffer-menu-toggle-files-only): Add an informative message.
14736 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14737 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14738 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14739 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14740 (Buffer-menu-execute, Buffer-menu-select)
14741 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14742 (Buffer-menu-bury): Use Tabulated List machinery.
14743 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14744 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14746 (list-buffers--refresh): New function.
14747 (list-buffers-noselect): Use it.
14748 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14749 (Buffer-menu--pretty-file-name): New helper functions.
14751 * loadup.el: Preload tabulated-list.
14753 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14754 tabulated-list-sort-column.
14755 (tabulated-list-init-header): Add the initial aligning space even
14756 if tabulated-list-padding is zero.
14758 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14760 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14761 whose cdr is not a cons cell correctly (bug#11038).
14763 2012-05-06 Chong Yidong <cyd@gnu.org>
14765 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14766 Accept additional plist in column descriptors.
14767 (tabulated-list-init-header): Obey it.
14768 (tabulated-list-get-entry): New function.
14769 (tabulated-list-put-tag): Use it. Use string-width instead of
14771 (tabulated-list--column-number): New function.
14772 (tabulated-list-print): Use it.
14773 (tabulated-list-print-col): New function.
14774 Set `tabulated-list-column-name' property on each column's text.
14775 (tabulated-list-print-entry): Use it.
14776 (tabulated-list-delete-entry, tabulated-list-set-col):
14778 (tabulated-list-sort-column): New command (Bug#11337).
14780 * buff-menu.el (list-buffers): Move C-x C-b binding from
14781 buff-menu.el to bindings.el.
14783 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14784 :advertised-binding feature.
14786 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14788 * progmodes/compile.el (compilation-internal-error-properties):
14789 Calculate start position correctly when end-col is set but
14790 end-line is not (Bug#11382).
14792 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14794 * man.el (Man-unindent): Use text-property-default-nonsticky to
14795 prevent untabify from inheriting face properties (Bug#11408).
14797 2012-05-05 Stefan Merten <smerten@oekonux.de>
14799 * textmodes/rst.el: Major merge with upstream development up to
14800 Docutils SVN r7399 / rst.el V1.2.1.
14802 Clarify maintainership and authors.
14804 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14805 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14806 (rst-official-version, rst-official-cvs-rev, rst-version)
14807 (rst-package-emacs-version-alist): New functions and variables
14808 for version information.
14810 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14811 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14812 (rst-mode-syntax-table, rst-mode): New and corrected functions
14813 and variables representing reStructuredText features.
14815 (rst-re): New function for reStructuredText regexes. Use in
14818 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14819 (rst-mode-map): Rebind keys.
14821 (rst-mode-lazy, rst-font-lock-keywords)
14822 (rst-font-lock-extend-region)
14823 (rst-font-lock-extend-region-internal)
14824 (rst-font-lock-extend-region-extend)
14825 (rst-font-lock-find-unindented-line-limit)
14826 (rst-font-lock-find-unindented-line-match)
14827 (rst-adornment-level, rst-font-lock-adornment-level)
14828 (rst-font-lock-adornment-match)
14829 (rst-font-lock-handle-adornment-pre-match-form)
14830 (rst-font-lock-handle-adornment-matcher): Major revision of
14831 font-locking. Integrate with other code. Use `jit-lock-mode'.
14833 (rst-preferred-adornments, rst-adjust-hook)
14834 (rst-new-adornment-down, rst-preferred-bullets)
14835 (rst-preferred-bullets, rst-indent, rst-indent-width)
14836 (rst-indent-field, rst-indent-literal-normal)
14837 (rst-indent-literal-minimized, rst-indent-comment): Change,
14838 extend and improve customization.
14840 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14841 (rst-normalize-cursor-position, rst-get-decoration)
14842 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14843 (rst-rstrip, rst-toc-insert-find-delete-contents)
14844 (rst-shift-fill-region, rst-compute-bullet-tabs)
14845 (rst-debug-print-tabs, rst-debug-mark-found)
14846 (rst-shift-region-guts, rst-shift-region-right)
14847 (rst-shift-region-left, rst-use-char-classes)
14848 (rst-font-lock-keywords-function)
14849 (rst-font-lock-indentation-point)
14850 (rst-font-lock-find-unindented-line-begin)
14851 (rst-font-lock-find-unindented-line-end)
14852 (rst-font-lock-find-unindented-line)
14853 (rst-font-lock-adornment-point, rst-font-lock-level)
14854 (rst-adornment-level-alist): Remove functions and variables.
14856 (rst-compare-adornments, rst-get-adornment-match)
14857 (rst-suggest-new-adornment, rst-get-adornments-around)
14858 (rst-adornment-complete-p, rst-get-next-adornment)
14859 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14860 (rst-straighten-adornments): Standardize function names to
14861 use "adornment" instead of "decoration". Correct callers.
14862 Similar standardizing in many places.
14864 (rst-update-section, rst-adjust, rst-promote-region)
14865 (rst-enumerate-region, rst-bullet-list-region)
14866 (rst-repeat-last-character): Correct use of `interactive'.
14868 (rst-classify-adornment, rst-find-all-adornments)
14869 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14870 (rst-find-leftmost-column, rst-repeat-last-character):
14871 Refactor functions.
14873 (rst-find-title-line, rst-reset-section-caches)
14874 (rst-get-adornments-around, rst-adjust-adornment-work)
14875 (rst-arabic-to-roman, rst-roman-to-arabic)
14876 (rst-insert-list-pos, rst-insert-list-new-item)
14877 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14880 (rst-all-sections, rst-section-hierarchy)
14881 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14884 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14885 configuration instead of only buffer. Change where necessary.
14887 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14888 (rst-shift-region, rst-adaptive-fill): New functions for
14889 indentation and filling.
14891 (rst-comment-line-break, rst-comment-indent)
14892 (rst-comment-insert-comment, rst-comment-region)
14893 (rst-uncomment-region): New functions for handling comments.
14895 (rst-compile): Quote shell arguments.
14897 (rst-compile-pdf-preview, rst-compile-slides-preview):
14898 Delete temporary files after use.
14900 2012-05-05 Glenn Morris <rgm@gnu.org>
14902 * calendar/cal-html.el: Optionally include holidays in the output.
14903 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14904 (cal-html-holidays): New option.
14905 (cal-html-css-default): Add holiday entry.
14906 (holiday-in-range): Autoload it.
14907 (cal-html-htmlify-entry): Add optional class argument.
14908 (cal-html-htmlify-list): Add optional holidays argument.
14909 (cal-html-insert-agenda-days): Include holidays in the output.
14910 (cal-html-one-month): Maybe include holidays.
14912 * calendar/holidays.el (holiday-in-range):
14913 Move here from cal-tex-list-holidays.
14914 * calendar/cal-tex.el (cal-tex-list-holidays):
14915 Make it an obsolete alias for holiday-in-range. Update all callers.
14917 2012-05-05 Chong Yidong <cyd@gnu.org>
14919 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14922 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14924 * files.el (file-auto-mode-skip): New var.
14925 (set-auto-mode-1): Use it.
14927 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14929 * repeat.el: Use lexical-binding.
14930 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14931 (repeat-undo-count): Remove.
14933 * progmodes/octave-mod.el (octave-abbrev-start):
14934 * progmodes/f90.el (f90-abbrev-start):
14935 * face-remap.el (text-scale-adjust):
14936 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14938 * emacs-lisp/pcase.el (pcase--let*): New function.
14939 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14941 (pcase--split-pred): Be more clever about ruling out overlap between
14942 a predicate and some constant pattern.
14943 (pcase--q1): Use `null' instead of (eq foo nil).
14945 * subr.el (setq-local, defvar-local): New macros.
14946 (kbd): Redefine as an alias.
14947 (with-selected-window): Leave unrelated frames alone.
14948 (set-temporary-overlay-map): New function.
14950 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14952 * subr.el (user-error): New function.
14953 * window.el (switch-to-buffer):
14954 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14955 (smerge-match-conflict):
14956 * simple.el (previous-matching-history-element)
14957 (next-matching-history-element, goto-history-element, undo-more)
14959 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14960 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14961 (next-file, tags-loop-scan, list-tags, complete-tag):
14962 * progmodes/compile.el (compilation-loop):
14963 * mouse.el (mouse-minibuffer-check):
14964 * man.el (Man-bgproc-sentinel, Man-goto-page):
14965 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14966 (Info-history-forward, Info-follow-reference, Info-menu)
14967 (Info-extract-menu-item, Info-extract-menu-counting)
14968 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14969 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14970 (Info-next-reference, Info-prev-reference, Info-index)
14971 (Info-index-next, Info-follow-nearest-node)
14972 (Info-copy-current-node-name):
14973 * imenu.el (imenu--make-index-alist)
14974 (imenu-default-create-index-function, imenu-add-to-menubar):
14975 * files.el (basic-save-buffer, recover-file):
14976 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14977 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14978 (checkdoc-message-text, checkdoc-defun):
14979 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14980 * cus-edit.el (customize-changed-options, customize-rogue)
14981 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14982 (custom-variable-mark-to-reset-standard)
14983 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14985 * completion.el (check-completion-length):
14986 * comint.el (comint-search-arg)
14987 (comint-previous-matching-input-string-position)
14988 (comint-previous-matching-input)
14989 (comint-replace-by-expanded-history-before-point, comint-send-input)
14990 (comint-copy-old-input, comint-backward-matching-input)
14991 (comint-goto-process-mark, comint-set-process-mark):
14992 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14993 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14995 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14997 * dabbrev.el (dabbrev--ignore-case-p): New function.
14998 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15001 * files.el (automount-dir-prefix): Mark as obsolete.
15003 2012-05-04 Glenn Morris <rgm@gnu.org>
15005 * patcomp.el, play/bruce.el: Move to obsolete/.
15007 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15009 Fix minor Y10k bugs.
15010 * arc-mode.el (archive-unixdate):
15011 * autoinsert.el (auto-insert-alist):
15012 * calc/calc-forms.el (math-this-year):
15013 * emacs-lisp/copyright.el (copyright-current-year)
15014 (copyright-update-year, copyright):
15015 * tar-mode.el (tar-clip-time-string):
15016 * time.el (display-time-update):
15017 Don't assume years have 4 digits.
15019 2012-05-04 Chong Yidong <cyd@gnu.org>
15021 * dos-w32.el (file-name-buffer-file-type-alist)
15022 (direct-print-region-use-command-dot-com):
15023 * ffap.el (ffap-menu-regexp):
15024 * find-file.el (ff-special-constructs):
15025 * follow.el (follow-debug):
15026 * forms.el (forms--debug):
15027 * iswitchb.el (iswitchb-all-frames):
15028 * ido.el (ido-all-frames):
15029 * emacs-lisp/timer.el (timer-max-repeats):
15030 * mail/feedmail.el (feedmail-mail-send-hook)
15031 (feedmail-mail-send-hook-queued):
15032 * mail/footnote.el (footnote-signature-separator):
15033 * mail/mailabbrev.el (mail-alias-separator-string)
15034 (mail-abbrev-mode-regexp):
15035 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15036 * progmodes/idlwave.el (idlwave-libinfo-file)
15037 (idlwave-default-completion-case-is-down)
15038 (idlwave-library-routines): Convert defvars to defcustoms.
15040 * mail/rmail.el (rmail-decode-mime-charset):
15041 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15042 (idlwave-shell-fix-inserted-breaks)
15043 (idlwave-shell-activate-alt-keybindings)
15044 (idlwave-shell-use-breakpoint-glyph):
15045 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15047 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15049 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15051 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15053 * progmodes/verilog-mode.el (font-lock-keywords):
15054 Fix mis-highligting auto. Reported by Craig Barner.
15055 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15056 defines from global name space. Reported by Dan Dever.
15057 (verilog-auto-reset, verilog-auto-reset-widths)
15058 (verilog-auto-tieoff): Support using unbased numbers for
15059 AUTORESET and AUTOTIEOFF.
15060 (verilog-submit-bug-report): Update variable list.
15061 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15062 parenthesis from not matching. Reported by Michael Rytting.
15063 (verilog-auto-template-lint): Fix hash error when linting modules
15064 with no used templates.
15065 (verilog-warn, verilog-warn-error)
15066 (verilog-warn-fatal): When non-interactive report multiple
15067 warnings before exiting. Suggested by Brad Dobbie.
15068 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15069 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15070 to report unused template errors. Reported by Brad Dobbie.
15071 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15072 nets, bug438. Reported by Vns Blore.
15073 (verilog-auto-inout-module, verilog-auto-reg)
15074 (verilog-read-decls, verilog-read-sub-decls-sig)
15075 (verilog-signals-edit-wire-reg, verilog-signals-with):
15076 Fix passing of Verilog data types in ANSI input/output ports
15077 such as "output logic" into the AUTOs. Special case "wire" and
15078 "reg" for backwards compatibility presuming Verilog 2001.
15079 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15080 (verilog-preprocess): Fix replication of preprocess output.
15081 Reported by Brad Dobbie.
15082 (verilog-auto-inst-interfaced-ports):
15083 Create verilog-auto-inst-interfaced-ports, bug429.
15084 Reported by Julian Gorfajn.
15085 (verilog-after-save-font-hook)
15086 (verilog-before-save-font-hook): New variable.
15087 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15088 (verilog-save-font-mods): Wrap disabling fontification, reported
15090 (verilog-do-indent, verilog-pretty-declarations-auto)
15091 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15092 Reported by Pierre-David Pfister.
15093 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15094 of class declarations, bug292. Reported by Kevin Heilman.
15095 (verilog-read-decls): Fix 'parameter type' not appearing in
15096 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15097 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15098 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15099 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15100 Reported by David Kravitz.
15102 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15104 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15105 assignment with tests in ifs and for loops.
15106 (verilog-extended-complete-re, verilog-complete-reg): Change so
15107 that DPI inport functions don't look like fuction declarations.
15108 (verilog-pretty-expr): Don't line up assignment
15109 operations to the test and increment in if and for loops
15110 (verilog-extended-complete-re, verilog-complete-reg): Change so
15111 that DPI inport functions don't look like fuction declarations.
15113 2012-05-03 Kenichi Handa <handa@m17n.org>
15115 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15116 decoding, and show a warning message without signaling an error
15119 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15121 * emacs-lisp/bytecomp.el
15122 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15123 since cconv.el might have introduced :fun-body, internal-make-closure,
15124 and friends for bytecomp to handle (bug#11391).
15125 * custom.el (defcustom): Avoid ((λ ..) ..).
15127 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15129 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15131 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15133 * notifications.el (dbus-debug):
15134 * term/linux.el (gpm-mouse-enable):
15135 * term/screen.el (xterm-register-default-colors): Declare.
15137 2012-05-02 Chong Yidong <cyd@gnu.org>
15139 * cus-start.el (gc-cons-percentage, exec-suffixes)
15140 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15141 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15142 (make-cursor-line-fully-visible, void-text-area-pointer)
15143 (font-list-limit): Add customization data.
15145 * allout.el (allout-exposure-change-functions)
15146 (allout-structure-added-functions)
15147 (allout-structure-deleted-functions)
15148 (allout-structure-shifted-functions): Rename abnormal hooks from
15149 *-hook, and convert to defcustoms.
15150 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15151 Convert to defcustoms.
15152 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15154 * allout-widgets.el: Hook callers changed.
15156 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15158 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15159 the yanked message in preference to the default value of
15160 buffer-file-coding-system.
15162 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15164 * window.el (display-buffer--action-function-custom-type):
15167 2012-05-02 Alan Mackenzie <acm@muc.de>
15169 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15171 2012-05-01 Glenn Morris <rgm@gnu.org>
15173 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15175 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15177 * cus-edit.el (custom-variable-documentation): Simplify with format.
15179 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15180 Stefan Monnier <monnier@iro.umontreal.ca>
15182 * simple.el (suggest-key-bindings, execute-extended-command):
15183 Move from keyboard.c.
15185 2012-05-01 Chong Yidong <cyd@gnu.org>
15187 * follow.el: Eliminate advice.
15188 (set-process-filter, process-filter, sit-for): Advice deleted.
15189 (follow-mode-off-hook): Obsolete hook removed.
15190 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15192 (follow-auto): Use a :set function.
15193 (follow-mode): Rewritten. Don't advise process filters.
15194 (follow-switch-to-current-buffer-all, follow-scroll-up)
15195 (follow-scroll-down): Assume follow-mode is bound.
15196 (follow-comint-scroll-to-bottom)
15197 (follow-align-compilation-windows): New functions.
15198 (follow--window-sorter): New function.
15199 (follow-all-followers): Use it to explicitly sort windows by their
15200 positions; don't make assumptions about next-window order.
15201 (follow-windows-start-end, follow-delete-other-windows-and-split)
15202 (follow-calc-win-start): Doc fix.
15203 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15204 vertical-motion unnecessarily.
15205 (follow-adjust-window): New function.
15206 (follow-post-command-hook): Use it.
15207 (follow-call-set-process-filter, follow-call-process-filter)
15208 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15209 (follow-stop-intercept-process-output, follow-generic-filter):
15211 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15212 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15213 New functions, replacing advice on scroll-bar-* commands.
15214 (follow-mwheel-scroll): New function (Bug#4112).
15216 * comint.el (comint-adjust-point): New function.
15217 (comint-postoutput-scroll-to-bottom): Use it.
15218 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15220 2012-05-01 Glenn Morris <rgm@gnu.org>
15222 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15223 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15224 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15225 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15226 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15227 Remove no-byte-compile setting.
15229 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15231 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15232 all-completions code to not return a number in the last cdr.
15234 2012-04-30 Leo Liu <sdl.web@gmail.com>
15236 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15239 2012-04-29 Chong Yidong <cyd@gnu.org>
15241 * follow.el (follow-calc-win-end): Rewrite to handle partial
15242 screen lines correctly (Bug#8390).
15243 (follow-avoid-tail-recenter): Minor cleanup.
15245 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15247 Avoid the obsolete `assoc' package.
15248 * speedbar.el (speedbar-refresh): Avoid adelete.
15249 (speedbar-file-lists): Simplify and avoid aput.
15250 * man.el (Man--sections, Man--refpages): New vars, replacing
15251 Man-sections-alist and Man-refpages-alist.
15252 (Man-build-section-alist, Man-build-references-alist):
15253 Use them; avoid aput.
15254 (Man--last-section, Man--last-refpage): New vars.
15255 (Man-follow-manual-reference): Use them.
15256 Use the `default' arg of completing-read.
15257 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15259 2012-04-27 Chong Yidong <cyd@gnu.org>
15261 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15263 * startup.el (x-apply-session-resources): New function.
15265 * term/ns-win.el (ns-initialize-window-system):
15266 * term/w32-win.el (w32-initialize-window-system):
15267 * term/x-win.el (x-initialize-window-system): Use it to properly
15268 set menu-bar-mode and other vars from X resources, even if the
15269 initial frame is not a window-system frame (Bug#2299).
15271 * subr.el (read-key): Avoid running filter function when setting
15272 up temporary tool bar entries (Bug#9922).
15274 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15276 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15279 2012-04-27 Chong Yidong <cyd@gnu.org>
15281 * select.el (xselect--encode-string): New function, split from
15282 xselect-convert-to-string.
15283 (xselect-convert-to-string): Use it.
15284 (xselect-convert-to-filename, xselect-convert-to-os)
15285 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15286 returned strings are properly encoded (Bug#11315).
15288 2012-04-27 Chong Yidong <cyd@gnu.org>
15290 * simple.el (delete-active-region): Move to killing custom group.
15292 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15294 * progmodes/which-func.el (which-func-current): Quote %
15295 characters for mode-line processing.
15297 2012-04-27 Chong Yidong <cyd@gnu.org>
15299 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15300 reaching eob (Bug#11286).
15302 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15304 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15305 (gdb): Make it buffer-local and init to zero.
15306 (gdb-control-commands-regexp): New variable.
15307 (gdb-send): Don't wrap in "-interpreter-exec console" if
15308 gdb-control-level is positive. Increment gdb-control-level
15309 whenever the command matches gdb-control-commands-regexp, and
15310 decrement it each time the command is "end". (Bug#11279)
15312 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15314 * window.el (adjust-window-trailing-edge, enlarge-window)
15315 (shrink-window, window-resize):
15316 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15317 windows (Bug#11276).
15319 2012-04-27 Chong Yidong <cyd@gnu.org>
15321 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15322 fix "missing prefix" warning. All callers changed.
15324 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15326 * emacs-lisp/assoc.el: Move to obsolete/.
15328 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15330 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15332 * term/ns-win.el (ns-define-service):
15333 * progmodes/pascal.el (pascal-goto-defun):
15334 * progmodes/js.el (js--read-tab):
15335 * progmodes/etags.el (tags-lazy-completion-table):
15336 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15337 * emacs-lisp/ewoc.el (ewoc--wrap):
15338 * emacs-lisp/assoc.el (aput, adelete, amake):
15339 * doc-view.el (doc-view-convert-current-doc):
15340 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15342 2012-04-26 Chong Yidong <cyd@gnu.org>
15344 * image.el (image-type-from-buffer): Only return supported image
15347 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15348 value, for symmetry with diff-end-of-hunk.
15349 (diff-split-hunk, diff-find-source-location)
15350 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15351 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15352 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15353 compute the relevant hunk or file properly (Bug#6005).
15354 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15356 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15365 * vc/vc.el: Replace lexical-let by lexical-binding.
15366 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15367 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15368 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15370 2012-04-26 Chong Yidong <cyd@gnu.org>
15372 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15373 (diff-mode-shared-map): Bind it to / and [remap undo].
15375 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15376 (ediff-window-setup-function): Use it as the default, to set up
15377 windows based on whether the current frame is graphical (Bug#2138).
15378 (ediff-choose-window-setup-function-automatically): Make obsolete.
15380 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15382 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15384 * ffap.el: Remove old code for obsolete package.
15385 (ffap-complete-as-file-p): Remove.
15387 Use completion-table-with-quoting for comint and pcomplete.
15388 * comint.el (comint--unquote&requote-argument)
15389 (comint--unquote-argument, comint--requote-argument): New functions.
15390 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15391 (comint-quote-filename): Use regexp-opt-charset.
15392 (comint--common-suffix, comint--common-quoted-suffix)
15393 (comint--table-subvert): Remove.
15394 (comint-unquote-function, comint-requote-function): New vars.
15395 (comint--complete-file-name-data): Use them with
15396 completion-table-with-quoting.
15397 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15398 * pcomplete.el (pcomplete-arg-quote-list)
15399 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15400 (pcomplete-unquote-argument-function): Default to non-nil.
15401 (pcomplete-unquote-argument): Simplify.
15402 (pcomplete--common-quoted-suffix): Remove.
15403 (pcomplete-requote-argument-function): New var.
15404 (pcomplete--common-suffix): New function.
15405 (pcomplete-completions-at-point): Use completion-table-with-quoting
15406 and completion-table-subvert.
15408 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15409 (minibuffer--double-dollars): Preserve properties.
15410 (completion--sifn-requote): New function.
15411 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15413 * minibuffer.el: Add support for completion of quoted/escaped data.
15414 (completion-table-with-quoting, completion-table-subvert): New funs.
15415 (completion--twq-try, completion--twq-all): New functions.
15416 (completion--nth-completion): New function.
15417 (completion-try-completion, completion-all-completions): Use it.
15419 2012-04-25 Leo Liu <sdl.web@gmail.com>
15421 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15422 Use compilation-message if available to find real filename.
15424 2012-04-25 Chong Yidong <cyd@gnu.org>
15426 * vc/diff-mode.el (diff-setup-whitespace): New function.
15427 (diff-mode): Use it.
15429 * vc/diff.el (diff-sentinel):
15430 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15431 Whitespace mode variables based on diff style (Bug#8612).
15433 2012-04-25 Leo Liu <sdl.web@gmail.com>
15435 * progmodes/python.el (python-send-region): Add suffix .py to the
15438 * files.el (auto-mode-alist): Use javascript-mode instead.
15440 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15442 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15444 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15445 (soap-resolve-references-for-array-type): Hack to prevent self
15446 references, see Bug#9.
15447 (soap-parse-envelope): Report the contents of the 'detail' node
15448 when receiving a fault reply.
15449 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15451 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15452 (soap-inspect-simple-type): New function.
15454 * net/soap-client.el (soap-simple-type): New struct.
15455 (soap-default-xsd-types, soap-default-soapenc-types)
15456 (soap-decode-basic-type, soap-encode-basic-type):
15457 support unsignedInt and double basic types.
15458 (soap-resolve-references-for-simple-type)
15459 (soap-parse-simple-type, soap-encode-simple-type): New function.
15460 (soap-parse-schema): Parse xsd:simpleType declarations.
15462 * net/soap-client.el (soap-default-xsd-types)
15463 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15464 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15465 the local name of "soapenc:Array".
15466 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15467 decoding integer, byte and anyURI xsd types.
15469 2012-04-25 Chong Yidong <cyd@gnu.org>
15471 * cus-edit.el (custom-buffer-create-internal): Update header text.
15473 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15475 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15476 settings on 'system-type', not on 'window-system'. On MS-Windows,
15477 set interactive-mode on in GDB.
15479 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15481 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15482 (ruby-syntax-propertize-regexp): Remove.
15483 (ruby-syntax-propertize-function): Split regexp into chunks.
15484 Match following code directly.
15486 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15488 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15489 (ruby-syntax-propertize-regexp): New function.
15490 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15491 by a special keyword.
15493 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15494 (ruby-syntax-general-delimiters-goto-beg)
15495 (ruby-syntax-propertize-general-delimiters): New functions.
15496 (ruby-syntax-propertize-function): Use them to handle GDL.
15497 (ruby-font-lock-keywords): Move old handling of GDL...
15498 (ruby-font-lock-syntactic-keywords): .. to here.
15499 (ruby-calculate-indent): Adjust indentation for GDL.
15501 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15503 * notifications.el (top): Remove unneeded declarations.
15504 (notifications-specification-version): Change to "1.2".
15505 (notifications-interface, notifications-notify-method)
15506 (notifications-close-notification-method): Fix docstring.
15507 (notifications-get-capabilities-method): New defconst.
15508 (notifications-notify): Add :action-items, :resident and
15509 :transient hints. Change "image_data" to "image-data" and
15510 "image_path" to "image-path".
15511 (notifications-get-capabilities): New defun.
15513 2012-04-24 Leo Liu <sdl.web@gmail.com>
15515 * progmodes/python.el: Move hideshow setup to the end.
15517 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15519 * window.el (handle-select-window): Clear echo area since this is
15520 no more done by read_char (Bug#11304).
15522 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15524 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15525 and `/ M' to filter-derived-mode.
15526 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15527 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15528 (ibuffer-mark-by-mode): Use default rather than initial-input.
15529 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15531 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15533 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15534 (ibuffer-filter-by-derived-mode): New filter.
15535 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15537 2012-04-23 Andreas Politz <politza@fh-trier.de>
15539 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15541 2012-04-23 Chong Yidong <cyd@gnu.org>
15543 * cus-edit.el (customize-apropos, customize-apropos-options):
15544 Disable matching of non-option variables (Bug#11176).
15545 (customize-option, customize-option-other-window)
15546 (customize-changed-options): Doc fix.
15547 (customize-apropos-options, customize-apropos-faces)
15548 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15550 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15551 Fix word list splitting (Bug#11132).
15552 (apropos-symbol, apropos-keybinding, apropos-label)
15553 (apropos-property, apropos-function-button)
15554 (apropos-variable-button, apropos-misc-button): New faces.
15555 (apropos-symbol-face, apropos-keybinding-face)
15556 (apropos-label-face, apropos-property-face, apropos-match-face):
15557 Variables removed (Bug#8396).
15558 (apropos-library-button, apropos-format-plist, apropos-print)
15559 (apropos-print-doc, apropos-describe-plist): Callers changed.
15561 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15563 * net/xesam.el (xesam-mode-map): Use let-bound map in
15564 initialization. (Bug#11292)
15566 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15568 Preserve ispell session localwords when switching back to
15571 * textmodes/ispell.el (ispell-buffer-session-localwords):
15572 New buffer-local variable to hold buffer session localwords.
15573 (ispell-kill-ispell): Add option 'clear to delete session
15575 (ispell-command-loop, ispell-change-dictionary)
15576 (ispell-buffer-local-words): Preserve session localwords when
15579 * textmodes/flyspell.el (flyspell-process-localwords)
15580 (flyspell-do-correct): Preserve session localwords when needed.
15582 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15584 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15585 using obsolete `translation-table-for-input'.
15586 (ispell-word, ispell-process-line, ispell-complete-word):
15587 Use plain `insert' instead of removed `ispell-insert-word'.
15589 2012-04-22 Chong Yidong <cyd@gnu.org>
15591 * cus-edit.el (custom-variable-menu)
15592 (custom-variable-reset-saved, custom-face-menu)
15593 (custom-face-reset-saved): If there is no saved value, make the
15594 "reset-saved" operation bring back the default (Bug#9509).
15595 (custom-face-state): Properly detect themed faces.
15597 * faces.el (face-spec-set): Stop supporting deprecated form of
15600 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15602 Move functions from C to Lisp. Make non-blocking method calls
15603 the default. Implement further D-Bus standard interfaces.
15605 * net/dbus.el (dbus-message-internal): Declare function.
15606 Remove unneeded function declarations.
15607 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15608 (dbus-message-type-method-return, dbus-message-type-error)
15609 (dbus-message-type-signal): Declare variables. Remove local
15611 (dbus-interface-dbus, dbus-interface-peer)
15612 (dbus-interface-introspectable, dbus-interface-properties)
15613 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15615 (dbus-interface-objectmanager): New defconst.
15616 (dbus-call-method, dbus-call-method-asynchronously)
15617 (dbus-send-signal, dbus-method-return-internal)
15618 (dbus-method-error-internal, dbus-register-service)
15619 (dbus-register-signal, dbus-register-method): New defuns, moved
15621 (dbus-call-method-handler, dbus-setenv)
15622 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15624 (dbus-call-method-non-blocking): Make it an obsolete function.
15625 (dbus-unregister-object, dbus-unregister-service)
15626 (dbus-handle-event, dbus-register-property)
15627 (dbus-property-handler): Obey the new structure of
15628 `bus-registered-objects'.
15629 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15630 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15631 Use `dbus-call-method'.
15633 2012-04-22 Chong Yidong <cyd@gnu.org>
15635 * cus-edit.el (custom-commands, custom-reset-menu)
15636 (Custom-reset-standard): Tweak labels.
15637 (custom-reset-button-menu): Change default to t.
15638 (custom-buffer-create-internal): For the custom-reset-button-menu
15639 case, put the revert button first.
15640 (custom-group-subtitle): New face.
15641 (custom-group-value-create): Align docstring to a specific column.
15643 * wid-edit.el (widget-documentation-link-add): Don't handle
15644 indentation in this function.
15645 (widget-documentation-string-indent-to): New function.
15646 (widget-documentation-string-value-create): Use it.
15648 * autorevert.el (auto-revert):
15649 * epg-config.el (epg):
15650 * ibuffer.el (ibuffer):
15653 * eshell/eshell.el (eshell):
15654 * net/ange-ftp.el (ange-ftp):
15655 * progmodes/ebnf2ps.el (postscript):
15656 * progmodes/flymake.el (flymake):
15657 * progmodes/prolog.el (prolog):
15658 * progmodes/verilog-mode.el (verilog-mode):
15659 * progmodes/which-func.el (which-func):
15660 * term/xterm.el (xterm):
15661 * textmodes/picture.el (picture):
15662 * textmodes/tildify.el (tildify):
15663 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15664 customization buffers.
15666 2012-04-22 Alan Mackenzie <acm@muc.de>
15668 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15669 Adding a ) can hide the resulting (..) from searches. Fix it.
15670 Bound the backward search to the position of the existing (.
15672 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15674 * progmodes/verilog-mode.el (verilog-mode): Check whether
15675 which-func-modes is t before adding verilog-mode.
15676 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15678 2012-04-21 Leo Liu <sdl.web@gmail.com>
15680 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15682 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15684 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15685 filling of the last column of a table (Bug#5635).
15686 (woman-find-next-control-line): New arg, specifying an additional
15687 regexp component for the control line.
15688 (woman2-roff-buffer): Use it.
15689 (woman-break-table): New function.
15690 (woman2-TS): Use it.
15692 2012-04-21 Chong Yidong <cyd@gnu.org>
15694 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15695 (woman-horizontal-escapes, woman-negative-vertical-space)
15696 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15697 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15699 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15701 * minibuffer.el (completion-file-name-table): Complete user names.
15703 2012-04-20 Leo Liu <sdl.web@gmail.com>
15705 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15708 2012-04-20 Chong Yidong <cyd@gnu.org>
15710 * server.el (server-execute): Respect initial-buffer-choice if it
15711 is a string and there are no files to open (Bug#2825).
15712 (server-create-window-system-frame, server-create-tty-frame):
15713 Don't switch buffers here.
15714 (server-process-filter): Only try to open a window system frame if
15715 compiled with graphical support (Bug#8314).
15717 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15719 * battery.el (battery-echo-area-format): Display remaining time
15720 for sysfs backend too (Bug#11269).
15721 (battery-linux-sysfs): Fix conditional for the charge.
15723 2012-04-20 Chong Yidong <cyd@gnu.org>
15725 * progmodes/gdb-mi.el (gdb): Revert previous change.
15726 (gdb-inferior-io--init-proc): New function.
15727 (gdb-init-1): Use it.
15728 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15729 responsible for allocating a new pty and hooking it to gdb when
15730 the old pty gets an EIO due to process exit.
15731 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15732 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15733 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15735 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15737 * window.el (window-min-size, window-sizable, window-min-delta)
15738 (window-max-delta, window--resizable, window-resizable)
15739 (window-total-size, window-full-height-p, window-full-width-p)
15740 (window-in-direction, window--resize-mini-window, window-resize)
15741 (window--resize-child-windows-normal)
15742 (window--resize-child-windows, window--resize-siblings)
15743 (window--resize-this-window, adjust-window-trailing-edge)
15744 (enlarge-window, shrink-window): Doc fixes.
15746 2012-04-20 Chong Yidong <cyd@gnu.org>
15748 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15749 New function to call delete-process on the gdb-inferior buffer's pty.
15750 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15751 pty process (Bug#11273).
15752 (gdb-update): New arg to suppress talking to the gdb process.
15753 (gdb-done-or-error): Use it.
15754 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15755 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15756 sentinel not being called.
15758 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15760 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15762 2012-04-20 Glenn Morris <rgm@gnu.org>
15764 * net/network-stream.el (open-network-stream): Doc fix.
15766 2012-04-20 Chong Yidong <cyd@gnu.org>
15768 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15770 2012-04-20 Alan Mackenzie <acm@muc.de>
15772 Ensure searching for keywords is case sensitive.
15774 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15775 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15776 (c-defun-name, c-mark-function, c-cpp-define-name)
15777 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15778 (c-context-line-break): Bind case-fold-search to nil.
15780 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15781 Bind case-fold-search to nil.
15783 2012-04-20 Chong Yidong <cyd@gnu.org>
15785 * mail/sendmail.el (mail-bury): Call return action with the right
15786 Rmail buffer (Bug#11242).
15788 * server.el (server-process-filter): Handle corner case where both
15789 tty and nowait options are present (Bug#11102).
15791 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15793 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15794 (top level): Put into the executable the ident-style '$Id:' tag on
15795 windows-nt as well.
15797 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15799 * electric.el (electric-indent-post-self-insert-function): Check that
15800 electric-indent-mode is enabled in current buffer.
15802 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15804 * imenu.el (imenu-progress-message): Restore; it is "used" in
15805 erc/erc-imenu.el and net/snmp-mode.el.
15807 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15809 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15810 (mouse-avoidance-nudge-mouse): Remove unused binding.
15812 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15814 * descr-text.el (describe-char):
15815 * progmodes/python.el (python-describe-symbol):
15816 Don't call `toggle-read-only', set `buffer-read-only'.
15818 * imenu.el (imenu-default-goto-function): Mark unused args.
15819 (imenu-progress-message): Remove obsolete macro; all callers changed.
15821 * subr.el (keymap-canonicalize): Remove unused binding.
15822 (read-passwd): Mark unused arg.
15824 * tutorial.el (tutorial--display-changes): Remove unused binding.
15825 (tutorial--save-tutorial-to): Remove unused variable.
15827 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15828 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15829 (package-generate-autoloads, package-menu--generate)
15830 (package-menu--find-upgrades): Remove unused bindings.
15832 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15833 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15834 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15835 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15836 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15837 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15838 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15839 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15840 (cua-delete-char-rectangle): Mark unused args.
15841 (cua-align-rectangle): Remove unused binding.
15843 * mail/rmail.el (compilation--message->loc)
15844 (epa--find-coding-system-for-mime-charset): Declare.
15846 * net/dbus.el (dbus-register-service): Declare.
15847 (dbus-name-owner-changed-handler): Remove unused binding.
15849 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15850 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15851 (nxml-scan-backward-within): Mark unused arg.
15852 (nxml-dynamic-markup-word): Remove unused binding.
15854 * mouse.el (mouse-menu-major-mode-map):
15855 * emacs-lisp/authors.el (authors-scan-change-log)
15856 (authors-add-to-author-list):
15857 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15858 * emacs-lisp/smie.el (smie-auto-fill):
15859 * mail/sendmail.el (mail-bury):
15860 * mail/unrmail.el (unrmail):
15861 * net/tls.el (open-tls-stream):
15862 * textmodes/picture.el (picture-mouse-set-point):
15863 Remove unused bindings.
15865 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15867 * net/tramp.el (tramp-action-password): Let-bind
15868 `enable-recursive-minibuffers' to t.
15870 2012-04-18 Sam Steingold <sds@gnu.org>
15872 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15873 instead of 'string to accommodate values like [f11].
15874 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15875 * progmodes/gdb-mi.el: Likewise.
15877 2012-04-18 Leo Liu <sdl.web@gmail.com>
15879 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15881 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15884 2012-04-18 Chong Yidong <cyd@gnu.org>
15886 * simple.el (line-move): Use forward-line if in batch mode
15889 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15891 * files.el (after-find-file): Do not try to add a final newline if
15892 the buffer is read-only (Bug#11156).
15894 2012-04-17 Richard Stallman <rms@gnu.org>
15896 * mail/rmail.el (rmail-start-mail):
15897 Pass (rmail-mail-return...) for the return-action.
15898 Pass (rmail-yank-current-message...) for the yank-action.
15899 (rmail-yank-current-message): New function.
15900 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15901 (rmail-reply): Likewise.
15902 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15904 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15905 buffer, not the last. Reject temp buffers. Use the rmail-mode
15906 buffer, not newbuf.
15908 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15910 * server.el (server-ensure-safe-dir): Simplify.
15912 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15914 * emacs-lisp/smie.el: Provide smarter auto-filling.
15915 (smie-auto-fill): New function.
15916 (smie-setup): Use it.
15918 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15920 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15922 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15923 (comment-indent): Use it.
15925 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15927 * ses.el: The overall change is to add cell renaming, that is
15928 setting fancy names for cell symbols other than name matching
15929 "\\`[A-Z]+[0-9]+\\'" regexp .
15930 (ses-localvars): Add ses--renamed-cell-symb-list.
15931 (ses-create-cell-variable): New defun.
15932 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15933 (ses-relocate-formula): Relocate formulas only for cells the
15934 symbols of which are not renamed, i.e. symbols whose names do not
15935 match regexp "\\`[A-Z]+[0-9]+\\'".
15936 (ses-relocate-all): Relocate values only for cells the symbols of
15937 which are not renamed.
15938 (ses-load): Create cells variables as the (ses-cell ...) are read,
15939 in order to check row col consistency with cell symbol name only
15940 for cells that are not renamed.
15941 (ses-replace-name-in-formula): New defun.
15942 (ses-rename-cell): New defun.
15944 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15946 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15947 New option (bug#11118).
15948 (perl-calculate-indent): Respect it.
15950 2012-04-17 Glenn Morris <rgm@gnu.org>
15952 * dired-aux.el (dired-mark-read-string): Doc fix.
15954 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15956 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15957 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15959 2012-04-17 Glenn Morris <rgm@gnu.org>
15961 * mouse.el (mouse-drag-track):
15962 * speedbar.el (speedbar-frame-mode):
15963 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15965 2012-04-16 Leo Liu <sdl.web@gmail.com>
15967 * progmodes/python.el: Trivial cleanup.
15969 2012-04-16 Glenn Morris <rgm@gnu.org>
15971 * vc/vc.el (vc-string-prefix-p):
15972 * vc/pcvs-util.el (cvs-string-prefix-p):
15973 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15974 * mpc.el (mpc-string-prefix-p):
15975 Make all of these into obsolete aliases for string-prefix-p.
15977 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15979 * textmodes/two-column.el: Move custom options to the start.
15980 (frame-width): Remove compat definition.
15981 (2C-associate-buffer, 2C-dissociate):
15982 Use with-current-buffer rather than save-excursion.
15983 (2C-dissociate): Force a mode-line update.
15984 (2C-autoscroll): Use ignore-errors.
15986 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15989 * emacs-lisp/cl-extra.el (*random-state*):
15990 Remove unnecessary declaration.
15992 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15994 * play/cookie1.el (cookie-snarf):
15995 Give an explicit error if input file cannot be read.
15997 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15999 * progmodes/perl-mode.el (c-macro-expand):
16000 Remove unnecessary autoload (it is in loaddefs.el).
16002 * textmodes/picture.el (picture-desired-column)
16003 (picture-update-desired-column): Convert comments to doc-strings.
16004 (picture-substitute): Remove function.
16005 (picture-mode-map): Initialize in the defvar.
16007 * woman.el: Remove eval-after-load for tar-mode.
16008 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16009 (woman-tar-extract-file): Autoload it.
16011 * frame.el (automatic-hscrolling): Make this alias obsolete.
16013 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16015 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16016 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16017 (ispell-dictionary-base-alist): Revert to original XEmacs
16018 friendly version for default. [:alpha:] will be added in
16019 `ispell-set-spellchecker-params' if needed.
16021 2012-04-16 Chong Yidong <cyd@gnu.org>
16023 * image.el (imagemagick--file-regexp): New variable.
16024 (imagemagick-register-types): Use it.
16025 (imagemagick-types-inhibit): Add :set function. Allow new value
16026 of t to inhibit all types.
16028 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16029 so we can preload it.
16031 * loadup.el (fboundp): Preload regexp-opt, needed by
16032 imagemagick-register-types.
16034 2012-04-15 Chong Yidong <cyd@gnu.org>
16036 * frame.el (scrolling): Remove nearly unused customization group.
16038 * scroll-all.el (scroll-all-mode): Move to windows group.
16040 2012-04-15 Chong Yidong <cyd@gnu.org>
16042 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16044 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16046 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16047 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16049 2012-04-15 Glenn Morris <rgm@gnu.org>
16051 * simple.el (process-file-side-effects): Doc fix.
16053 2012-04-15 Glenn Morris <rgm@gnu.org>
16055 * international/mule-cmds.el (set-language-environment): Doc fix.
16057 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16059 * server.el (server-auth-key, server-generate-key): Doc fixes.
16060 (server-get-auth-key): Doc fix. Use `string-match-p'.
16061 (server-start): Reflow docstring.
16063 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16065 * server.el (server-generate-key): `called-interactively-p'
16066 requires a parameter.
16068 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16070 * server.el (server-auth-key): New variable.
16071 (server-generate-key, server-get-auth-key): New function.
16072 (server-start): Use the new variable and functions to allow
16073 setting a permanent server key (bug#9423).
16075 2012-04-14 Leo Liu <sdl.web@gmail.com>
16077 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16079 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16082 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16083 Emacs uses American spelling.
16085 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16087 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16088 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16089 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16090 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16092 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16094 * progmodes/which-func.el (which-func-modes): Change default.
16096 2012-04-14 Kim F. Storm <storm@cua.dk>
16098 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16099 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16101 2012-04-14 Chong Yidong <cyd@gnu.org>
16103 * custom.el (custom-theme-set-variables): Doc fix.
16105 2012-04-14 Glenn Morris <rgm@gnu.org>
16107 * international/mule.el (set-auto-coding-for-load): Doc fix.
16109 2012-04-14 Alan Mackenzie <acm@muc.de>
16111 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16112 imenu work again for Objective C Mode. Correct the *-index values,
16113 these having been disturbed by a previous change in 2011-08.
16115 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16116 Correct two search limits.
16118 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16120 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16122 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16124 * international/characters.el: Fix sorting.
16126 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16128 * international/characters.el: Add more missing Latin case pairs.
16130 2012-04-14 Glenn Morris <rgm@gnu.org>
16132 * files.el (dir-locals-set-class-variables): Doc fix.
16134 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16136 * international/characters.el: Add set-case-syntax-pair call for
16137 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16138 counterpart. (Bug#11209)
16140 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16142 2012-04-14 Glenn Morris <rgm@gnu.org>
16144 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16146 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16148 * textmodes/ispell.el (ispell-dictionary-base-alist):
16149 Add data for Hebrew.
16151 2012-04-14 Chong Yidong <cyd@gnu.org>
16153 * net/rcirc.el (rcirc-cmd-quit):
16154 Revert 2012-03-18 change (Bug#11192).
16156 2012-04-14 Glenn Morris <rgm@gnu.org>
16158 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16160 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16162 * minibuffer.el (completion-in-region-mode-map):
16163 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16165 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16167 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16169 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16171 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16172 to allow `C-M-f' and `C-M-b' to move to the nearest path
16173 separator (bug#9511).
16175 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16177 * avoid.el: Require cl when compiling. And also move the
16178 `provide' to the end.
16180 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16182 * avoid.el (mouse-avoidance-banish-position): New variable.
16183 (mouse-avoidance-banish-destination): Use it (bug#10165).
16185 2012-04-13 Leo Liu <sdl.web@gmail.com>
16187 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16189 2012-04-13 Ken Brown <kbrown@cornell.edu>
16191 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16192 this is no longer needed now that cygstart understands file:// URLs.
16193 (browse-url-filename-alist): For the same reason, don't modify
16194 file:// URLs on Cygwin.
16196 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16198 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16199 the region on shift if the binding is already shifted (bug#11221).
16201 2012-04-12 Glenn Morris <rgm@gnu.org>
16203 * mail/mailpost.el: Move to obsolete/.
16205 2012-04-12 Drew Adams <drew.adams@oracle.com>
16207 * imenu.el (imenu--generic-function): Ignore invisible definitions
16210 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16212 * hexl.el (hexl-bits): New variable.
16213 (hexl-options): Mention the variable in the doc string.
16214 (hexl-rulerise, hexl-line-displen): New functions.
16215 (hexl-mode): Mention the new variable.
16216 (hexl-mode, hexl-current-address, hexl-current-address):
16218 (hexl-ascii-start-column): New function.
16219 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16220 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16222 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16224 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16225 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16226 the encoding, as expected by hunspell.
16228 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16230 * battery.el (battery--linux-sysfs-regexp): New const.
16231 (battery-status-function): Use it. Remove yeeloong special case.
16232 (battery-yeeloong-sysfs): Remove.
16233 (battery-echo-area-format): Remove yeeloong special case.
16235 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16237 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16238 Reported by Noah Friedman.
16240 * subr.el (read-passwd): Use read-string.
16242 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16244 * vcursor.el (vcursor-move): Increase the priority of the overlay
16247 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16249 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16250 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16252 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16254 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16255 define-minor-mode (bug#10760).
16257 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16259 * progmodes/grep.el (rgrep): Tweak the find command line so
16260 that directories matching `grep-find-ignored-files' won't be
16261 pruned (bug#10351).
16263 2012-04-11 Chong Yidong <cyd@gnu.org>
16265 * startup.el (command-line): Remove support for long-obsolete
16266 variable font-lock-face-attributes.
16268 2012-04-11 Glenn Morris <rgm@gnu.org>
16270 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16272 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16274 * window.el (window--state-get-1): Obey window-point-insertion-type.
16276 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16278 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16279 to previous function when point is on the first character of a
16280 function. Take care of that in `narrow-to-defun' (bug#6157).
16282 2012-04-11 Glenn Morris <rgm@gnu.org>
16284 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16285 not just file-errors.
16287 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16288 (vc-bzr-sha1): Use internal sha1.
16290 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16292 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16294 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16296 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16297 that start in the middle of the line (bug#10496).
16299 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16301 * battery.el (battery-linux-proc-acpi): Only one battery is
16302 discharged at a time, but that seems to confuse battery.el when
16303 computing `rate-type' for the battery not being discharged
16306 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16308 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16310 * international/quail.el: Use dolist and simplify.
16311 (quail-define-package, quail-update-keyboard-layout)
16312 (quail-define-rules): Use dolist.
16313 (quail-insert-kbd-layout, quail-get-translation): CSE.
16315 * tmm.el: Use dolist, remove left over hook.
16316 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16318 (calendar-load-hook): Don't mess with it.
16320 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16321 Use derived-mode-p. Run the diff asynchronously.
16323 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16325 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16327 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16329 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16330 (list-dynamic-libraries--loaded): New function.
16331 (list-dynamic-libraries--refresh): Use it.
16333 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16335 * progmodes/python.el (python-fill-paragraph):
16336 Make python-fill-region in a multiline string work when font-lock is
16337 disabled (bug#7018).
16339 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16341 * language/european.el (cp775): Add oem/legacy (en)coding on
16342 DOS/MS Windows for the Baltic languages. There are still plenty
16343 of texts written in this encoding/codepage (bug#6519).
16345 2012-04-10 Glenn Morris <rgm@gnu.org>
16347 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16348 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16350 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16352 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16353 next-line "n" and previous-line "p" in order to make recentf more
16354 consistent with ibuffer, dired or org-mode (bug#9387).
16356 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16358 * image.el (put-image): Return the overlay created instead of the
16359 optional input string (bug#7834). Note that this may break code
16360 that is (for some reason or other) depending on `put-image'
16361 returning the string.
16363 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16365 * simple.el (zap-to-char): Allow zapping using input methods
16368 * textmodes/fill.el (fill-region): Leave point and mark where they
16369 were before filling (bug#5399).
16371 2012-04-09 Glenn Morris <rgm@gnu.org>
16373 * version.el (emacs-bzr-get-version):
16374 Handle lightweight checkouts of local branches.
16376 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16378 * international/characters.el: Recover lost case pairs. (Bug#11209)
16380 2012-04-09 Chong Yidong <cyd@gnu.org>
16382 * custom.el (custom-variable-p): Return nil for non-symbol
16383 arguments instead of signaling an error.
16384 (user-variable-p): Obsolete alias for custom-variable-p.
16386 * apropos.el (apropos-variable):
16387 * files-x.el (read-file-local-variable):
16388 * simple.el (set-variable):
16389 * woman.el (woman-mini-help):
16390 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16392 2012-04-09 Glenn Morris <rgm@gnu.org>
16394 * startup.el (normal-top-level): Don't look for leim-list.el
16395 in places where it will not be found. (Bug#910)
16397 * international/mule-cmds.el (set-default-coding-systems):
16398 * files.el (normal-mode):
16399 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16400 This function was removed with ucs-tables.el in 2008.
16402 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16404 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16405 ispell-encoding8-command to "-i", without a trailing space.
16406 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16407 separate command-line arguments, to specify the encoding, since
16408 that's how hunspell expects it.
16410 2012-04-08 Glenn Morris <rgm@gnu.org>
16412 * loadup.el: Load bindings before cus-start.
16413 This reduces somewhat the number of "rogue" settings in emacs -Q.
16415 2012-04-07 Glenn Morris <rgm@gnu.org>
16417 * version.el (emacs-bzr-get-version): New function.
16418 (emacs-bzr-version): New variable.
16419 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16420 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16422 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16424 * international/uni-bidi.el, international/uni-category.el:
16425 * international/uni-combining.el, international/uni-decimal.el:
16426 * international/uni-decomposition.el, international/uni-digit.el:
16427 * international/uni-lowercase.el, international/uni-mirrored.el:
16428 * international/uni-name.el, international/uni-numeric.el:
16429 * international/uni-titlecase.el, international/uni-uppercase.el:
16430 Update for Unicode 6.1.
16432 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16434 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16436 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438 * window.el (shrink-window): Mention the `window-min-height'
16439 variable in the doc string.
16441 2012-04-05 Bastien Guerry <bzg@altern.org>
16443 * color.el (color-lighten-name): Fix typo.
16445 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16447 * server.el (server--on-display-p): New function.
16448 (server--on-display-p): Use it.
16450 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16452 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16455 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16457 * comint.el (comint--common-quoted-suffix): Check string boundary
16458 before comparing (bug#11158).
16459 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16461 2012-04-04 Chong Yidong <cyd@gnu.org>
16463 * minibuffer.el (completion-extra-properties): Doc fix.
16465 * subr.el (delayed-warnings-hook): Doc fix.
16467 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16469 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16470 selection (Bug#11159).
16471 (epa-insert-keys): Inform that the default public key will be
16472 exported if no key is selected.
16474 2012-04-04 Richard Stallman <rms@gnu.org>
16476 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16478 2012-04-03 Chong Yidong <cyd@gnu.org>
16480 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16481 mail-insert-file, not its obsolete alias mail-attach-file.
16483 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16485 * notifications.el (notifications-notify): Fix docstring.
16487 2012-04-02 Glenn Morris <rgm@gnu.org>
16489 * emacs-lisp/authors.el (authors-aliases): Another addition.
16491 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16493 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16494 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16495 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16497 2012-04-01 Chong Yidong <cyd@gnu.org>
16499 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16500 Handle root directory properly.
16501 (copy-directory): Caller changed.
16503 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16504 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16506 2012-03-31 Glenn Morris <rgm@gnu.org>
16508 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16510 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16512 * calendar/calendar.el (calendar-window-list)
16513 (calendar-hide-window): Restore. (Bug#11140)
16514 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16516 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16518 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16520 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16521 Check if file is a symlink (Bug#10489).
16523 * files.el (copy-directory): Likewise.
16525 2012-03-30 Chong Yidong <cyd@gnu.org>
16527 * image.el (imagemagick-types-inhibit)
16528 (imagemagick-register-types): Doc fix.
16530 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16532 * textmodes/ispell.el (ispell-get-extended-character-mode):
16533 Disable extended-char-mode for hunspell. hunspell does not support it
16534 and treats ~word as ordinary words in pipe mode.
16536 2012-03-30 Glenn Morris <rgm@gnu.org>
16538 * tutorial.el (help-with-tutorial): Ensure local variables don't
16539 happen to make the buffer read-only. (Bug#11127)
16541 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16543 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16544 (perl-calculate-indent): Return `noindent' in strings.
16546 2012-03-28 Sam Steingold <sds@gnu.org>
16548 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16549 instead of the broken adhockery which does not prevent calendar
16550 buffers from being displayed at random after exit.
16551 (calendar-window-list, calendar-hide-window): Remove the broken
16554 2012-03-28 Glenn Morris <rgm@gnu.org>
16556 * replace.el (query-replace-map): Doc fix.
16558 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16560 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16561 contents. (Bug#11109)
16563 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16565 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16567 (avl-tree--check, avl-tree--check-node): New funs.
16569 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16571 * window.el (switch-to-visible-buffer): New option.
16572 (switch-to-prev-buffer, switch-to-next-buffer):
16573 Observe switch-to-visible-buffer. Make sure that checking for a window
16574 showing a buffer already is done on the same frame.
16576 2012-03-27 Glenn Morris <rgm@gnu.org>
16578 * startup.el (mail-host-address): Doc fix.
16580 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16582 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16583 than 197 variables.
16585 2012-03-26 Ami Fischman <ami@fischman.org>
16587 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16589 2012-03-26 Glenn Morris <rgm@gnu.org>
16591 * files.el (save-buffers-kill-emacs): Doc fix.
16593 * startup.el (normal-top-level, command-line, command-line-1):
16594 Give them doc strings.
16596 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16598 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16599 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16601 2012-03-25 Chong Yidong <cyd@gnu.org>
16603 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16604 theme if it was previously enabled before (Bug#11031).
16606 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16607 spec with custom-face-get-current-spec if its :shown-value is not
16608 determined yet (Bug#9337).
16609 (customize-create-theme, custom-theme-revert): Doc fixes.
16611 * button.el (button-at): Minor addition to docstring.
16613 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16615 * vc/vc.el (vc-merge): Fix a prompt.
16617 2012-03-24 Chong Yidong <cyd@gnu.org>
16619 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16622 * button.el (button-at): Minor addition to docstring.
16624 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16626 * newcomment.el (comment-choose-indent): No space after BOL.
16628 2012-03-22 Sam Steingold <sds@gnu.org>
16630 * window.el (switch-to-prev-buffer): Revert last patch because the
16631 bug turned out to be an advertised feature (Elisp manual 28.14).
16633 2012-03-22 Glenn Morris <rgm@gnu.org>
16635 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16636 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16638 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16640 * net/network-stream.el (network-stream-open-starttls): Make error
16641 message under Windows be less misleading.
16643 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16645 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16646 understands (bug#9942).
16648 2012-03-22 Chong Yidong <cyd@gnu.org>
16650 * simple.el (end-of-visible-line): Handle return value of
16651 next-single-property-change properly (Bug#9371).
16653 2012-03-22 Kenichi Handa <handa@m17n.org>
16655 * international/quail.el (quail-insert-kbd-layout): Fix previous
16656 change. To avoid unwanted bidi reordering, use
16657 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16659 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16661 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16662 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16663 (ruby-beginning-of-indent): Be more careful with the difference
16664 between word-boundary and symbol boundary.
16665 (ruby-mode-syntax-table): Make : a symbol constituent.
16667 2012-03-21 Andreas Politz <politza@fh-trier.de>
16669 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16671 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16673 * progmodes/etags.el (tags-completion-at-point-function):
16676 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16678 2012-03-21 Sam Steingold <sds@gnu.org>
16680 * progmodes/etags.el (tags-completion-at-point-function):
16681 Avoid the error when point is inside the pattern.
16683 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16685 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16688 2012-03-21 Drew Adams <drew.adams@oracle.com>
16690 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16692 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16694 * ido.el (ido-set-current-directory, ido-read-internal)
16695 (ido-choose-completion-string, ido-completion-help): Handle nil
16696 value of ido-completion-buffer (Bug#11008).
16698 2012-03-21 Sam Steingold <sds@gnu.org>
16700 * window.el (switch-to-prev-buffer): Do not switch to a visible
16701 window previous buffer, just like with the frame previous buffers.
16703 2012-03-21 Chong Yidong <cyd@gnu.org>
16705 * faces.el (make-face, make-empty-face, copy-face):
16706 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16709 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16711 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16712 (widget-complete): Remove broken use of it.
16714 2012-03-20 Chong Yidong <cyd@gnu.org>
16716 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16717 Use string-width and truncate-string-width to handle arbitrary
16720 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16722 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16723 to draw rectangles, not squares. (Regression introduced by revno
16724 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16726 2012-03-18 Chong Yidong <cyd@gnu.org>
16728 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16729 it is not yet defined (for temacs).
16731 2012-03-18 Leo Liu <sdl.web@gmail.com>
16733 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16736 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16738 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16739 (ispell-choices-win-default-height, ispell-silently-savep)
16740 (ispell-dictionary-alist, ispell-encoding8-command)
16741 (ispell-check-version, ispell-aspell-find-dictionary)
16742 (ispell-valid-dictionary-list, ispell-words-keyword)
16743 (ispell-get-word, ispell-internal-change-dictionary)
16744 (ispell-region, ispell-skip-region-list)
16745 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16746 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16747 (ispell-message-text-end, ispell-message)
16748 (ispell-buffer-local-parsing): Doc fix.
16750 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16752 * htmlfontify.el: Add support for code block fontification for ODT
16753 export (Bug #9914).
16754 (hfy-optimisations): Define new option
16756 (hfy-fontify-buffer): Honor above setting.
16757 (hfy-begin-span, hfy-end-span): New routines factored out form
16758 `hfy-fontify-buffer'.
16759 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16760 that permit insertion of custom tags.
16761 (hfy-fontify-buffer): Use above handlers.
16762 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16763 (hfy-face-to-css): Re-defined to be a variable.
16764 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16765 over multiple runs. This is made possible by having the caller let
16766 bind a special variable `hfy-user-sheet-assoc'.
16767 (htmlfontify-string): New defun.
16768 (hfy-compile-face-map): Make sure that the last char in the
16769 buffer is correctly fontified.
16770 (hfy-face-resolve-face): Whitespace only change.
16772 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16774 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16775 message more clear.
16777 2012-03-16 Leo Liu <sdl.web@gmail.com>
16779 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16781 2012-03-16 Alan Mackenzie <acm@muc.de>
16783 Further optimize the handling of large macros.
16785 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16786 limit to a call of `c-literal-limits'.
16787 (c-determine-+ve-limit): New function.
16788 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16789 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16790 In CASE 5B, restrict a search limit to 500.
16791 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16793 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16794 Restrict macro bounds to +-500 from after-change's BEG END.
16796 2012-03-16 Leo Liu <sdl.web@gmail.com>
16798 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16800 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16802 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16803 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16805 2012-03-16 Glenn Morris <rgm@gnu.org>
16807 * view.el (view-buffer, view-buffer-other-window)
16808 (view-buffer-other-frame): Doc fixes re special mode-class.
16810 * subr.el (eval-after-load): If named feature is provided not from
16811 a file, run after-load forms. (Bug#10946)
16813 * calendar/calendar.el (calendar-insert-at-column):
16814 Handle non-unit-width characters a bit better. (Bug#10978)
16816 2012-03-15 Chong Yidong <cyd@gnu.org>
16818 * emacs-lisp/ring.el (ring-extend): New function.
16819 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16821 * comint.el (comint-read-input-ring)
16822 (comint-add-to-input-history): Grow comint-input-ring lazily.
16824 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16826 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16827 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16829 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16830 (imenu-add-to-menubar): Don't add a redundant index.
16831 (imenu-update-menubar): Handle a dynamically composed keymap.
16833 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16835 * mail/sendmail.el (mail-encode-header):
16836 Bind rfc2047-encode-encoded-words to nil.
16838 2012-03-13 Glenn Morris <rgm@gnu.org>
16840 * calendar/calendar.el (calendar-string-spread):
16841 Handle non-unit-width characters a bit better. (Bug#10978)
16843 2012-03-13 Leo Liu <sdl.web@gmail.com>
16845 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16846 directory and file as argument (Bug#10822).
16848 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16850 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16851 For dynamically generated code, follow $PC.
16852 (gdb-disassembly-handler-custom): Handle no function name case.
16854 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16856 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16857 * emulation/ws-mode.el (ws-query-replace):
16858 * sort.el (sort-regexp-fields):
16859 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16861 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16863 * dabbrev.el: Fix cycle completion order (bug#10963).
16864 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16865 (dabbrev-completion): Don't use an obarray; provide
16866 a cycle-sort-function.
16868 2012-03-12 Leo Liu <sdl.web@gmail.com>
16870 * simple.el (kill-new): Use equal-including-properties for comparison.
16871 (kill-do-not-save-duplicates): Doc fix.
16873 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16875 * dabbrev.el: Fix cycle completion (bug#10963).
16876 Use lexical binding and wrap to 80 columns.
16877 (dabbrev-completion): Delay computing the list of completions.
16879 2012-03-12 Kenichi Handa <handa@m17n.org>
16881 * international/quail.el (quail-insert-kbd-layout): Surround each
16882 row by LRO and PDF instead of inserting many LRMs. Pad the left
16883 and right of each non-spacing marks. Insert invisible space
16884 between lower and upper characters to prevent composition.
16886 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16888 * minibuffer.el (minibuffer-complete): Don't get confused when the
16889 function is run twice via different commands (bug#10958).
16890 (complete-with-action): Fix docstring.
16892 2012-03-12 Chong Yidong <cyd@gnu.org>
16894 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16895 (nxml-completion-at-point-function): New function.
16896 (nxml-mode): Use it.
16897 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16899 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16900 Load generated autoloads file before byte compiling (Bug#10970).
16901 (package--make-autoloads-and-compile): New helper fun.
16903 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16905 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16907 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16909 * autorevert.el (auto-revert-handler): Ensure, that
16910 file-readable-p is applied only for local files or in
16911 auto-revert-tail-mode.
16913 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16915 * server.el (server-eval-at): Handle non-tcp connections.
16916 Decode result string.
16918 * server.el (server-msg-size): New constant.
16919 (server-reply-print): New function.
16920 (server-eval-and-print): Use it.
16921 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16922 Handle -print-nonl.
16924 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16926 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16929 2012-03-11 Chong Yidong <cyd@gnu.org>
16931 * simple.el (goto-line): Doc fix (Bug#9938).
16933 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16935 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16936 when finished (Bug#10963).
16938 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16940 * window.el (split-window-below): Fix bug in case where
16941 split-window-keep-point is nil (Bug#10971).
16943 2012-03-11 Juri Linkov <juri@jurta.org>
16945 * replace.el (replace-highlight): Set isearch-word to nil
16946 unconditionally. (Bug#10887)
16948 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16950 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16951 mairix-replace-illegal-chars; all callers changed. Don't remove
16952 ^, ~, and = characters: they are meaningful in mairix search specs.
16953 (mairix-widget-create-query): Add usage information about mairix
16954 search forms: negating words, searching for substrings, etc.
16956 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16958 * international/fontset.el (font-encoding-alist): Add an entry for
16959 ksx1001 (Bug#5667).
16961 2012-03-10 Richard Stallman <rms@gnu.org>
16963 * mail/sendmail.el (mail-encode-header):
16964 Set rfc2047-encode-encoded-words.
16966 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16968 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16969 view buffer means not swapped.
16970 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16971 (rmail-write-region-annotate): Error if real text has disappeared.
16973 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16975 2012-03-10 Chong Yidong <cyd@gnu.org>
16977 * emulation/cua-rect.el (cua--init-rectangles):
16978 * emulation/cua-base.el (cua--init-keymaps):
16979 Add delete-forward-char to remappings (Bug#9666).
16981 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16983 * speedbar.el (speedbar-unhighlight-one-tag-line):
16984 Avoid unhighlighting due to frame switching (Bug#10275).
16986 2012-03-10 Chong Yidong <cyd@gnu.org>
16988 * minibuffer.el (completion-in-region, completion-help-at-point):
16989 Give the completion field overlay a high priority (Bug#6830).
16991 * dired.el (dired-goto-file): Recognize absolute file name
16992 listings (Bug#7126).
16993 (dired-goto-file-1): New helper function.
16994 (dired-toggle-read-only): Inhibit warnings.
16996 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16998 * net/dbus.el (dbus-property-handler): Return empty array if
16999 there are no properties.
17001 2012-03-09 Leo Liu <sdl.web@gmail.com>
17003 * savehist.el (savehist-printable): Stricter check for string
17006 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17008 * mail/smtpmail.el (smtpmail-send-it):
17009 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17012 2012-03-09 Glenn Morris <rgm@gnu.org>
17014 * files.el (dir-locals-find-file):
17015 Don't check result is regular, readable.
17016 (dir-locals-read-from-file): Demote errors.
17018 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17020 * international/quail.el (quail-insert-kbd-layout):
17021 Insert invisible LRM characters before each character in a keyboard
17022 layout cell, to prevent their reordering by bidi display engine.
17023 For details, see the discussion in
17024 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17026 2012-03-08 Alan Mackenzie <acm@muc.de>
17028 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17029 the starting position; make it extend the marked region when
17030 invoked repeatedly - all under appropriate circumstances.
17031 Fixes bugs #5525, #10906.
17033 2012-03-08 Glenn Morris <rgm@gnu.org>
17035 * files.el (locate-dominating-file, dir-locals-find-file):
17036 Undo 2012-03-06 change.
17038 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17040 * international/quail.el (quail-help):
17041 Force bidi-paragraph-direction be left-to-right. See discussion in
17042 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17045 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17047 Avoid superfluous registering of signals. (Bug#10807)
17049 * notifications.el (notifications-on-action-object)
17050 (notifications-on-close-object): New defvars.
17051 (notifications-on-action-signal, notifications-on-closed-signal):
17052 Unregister the signal if not needed any longer.
17053 (notifications-notify): Register `notifications-action-signal' or
17054 `notifications-closed-signal', if :on-action or :on-close has been
17055 passed as argument.
17057 2012-03-07 Chong Yidong <cyd@gnu.org>
17059 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17062 2012-03-06 Glenn Morris <rgm@gnu.org>
17064 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17065 (x-disown-selection-internal, x-get-selection-internal):
17066 Doc fix (add arglist signatures). (Bug#10783)
17068 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17070 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17071 Handle breakpoints with no "type".
17073 2012-03-06 Glenn Morris <rgm@gnu.org>
17075 * files.el (locate-dominating-file): Add optional predicate argument.
17076 (dir-locals-find-file): Make use of above change.
17078 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17080 * info.el (Info-insert-dir): Also try "dir.gz".
17082 2012-03-06 Glenn Morris <rgm@gnu.org>
17084 * files.el (dir-locals-find-file):
17085 Ignore non-readable or non-regular files. (Bug#10928)
17087 * files.el (locate-dominating-file): Doc fix.
17089 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17091 * calendar/calendar.el (calendar-set-mode-line):
17092 `getenv' returns a string. (Bug#10951)
17094 2012-03-05 Leo Liu <sdl.web@gmail.com>
17096 * simple.el (backward-delete-char-untabify): Constrain point to
17099 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17101 2012-03-05 Chong Yidong <cyd@gnu.org>
17103 * simple.el (count-words): If called from Lisp, return the word
17104 count, for symmetry with `count-lines'. Arglist changed.
17105 (count-words--message): Args changed. Consolidate counting code
17106 from count-words and count-words-region.
17107 (count-words-region): Caller changed.
17108 (count-lines-region): Make it an obsolete alias.
17110 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17112 * saveplace.el (save-place-to-alist)
17113 (save-place-ignore-files-regexp): Allow value nil to disable this
17116 2012-03-04 Chong Yidong <cyd@gnu.org>
17118 * faces.el (face-spec-reset-face): For the default face, reset the
17119 attributes to default values (Bug#10748).
17121 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17123 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17124 previous patch: Check `message-send-mail-function', and not the
17125 default function (bug#10897).
17127 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17129 * notifications.el (notifications-on-action-signal)
17130 (notifications-on-closed-signal): Check for unique service name of
17131 incoming event. Fix error in removing entry.
17132 (top): Register for signals with wildcard service name.
17133 (notifications-notify): Use daemon unique service name for map entries.
17135 2012-03-04 Chong Yidong <cyd@gnu.org>
17137 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17139 2012-03-04 Glenn Morris <rgm@gnu.org>
17141 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17142 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17143 (expand-abbrev, define-abbrev-table): Doc fixes.
17145 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17147 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17148 `message-default-send-mail-function' and not `send-mail-function'
17149 when doing the prompting for `sendmail-query-once' before sending
17150 in Message buffers (bug#10897).
17152 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17153 This is inconsistent with all the other stream functions, which leave
17154 the setting up to the higher levels (if so wanted) (bug#10931).
17156 2012-03-02 Alan Mackenzie <acm@muc.de>
17158 Depessimize the handling of very large macros.
17160 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17161 (c-macro-cache-syntactic): New variables to implement a one
17162 element macro cache.
17163 (c-invalidate-macro-cache): New function.
17164 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17165 Adapt to use the new cache.
17166 (c-state-safe-place): Use better the cache of safe positions.
17167 (c-state-semi-nonlit-pos-cache)
17168 (c-state-semi-nonlit-pos-cache-limit):
17169 New variables for...
17170 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17171 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17172 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17173 Use c-state-semi-safe-place.
17175 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17176 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17178 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17180 * jka-compr.el (jka-compr-call-process):
17181 Apply `file-accessible-directory-p' only when the default directory is
17184 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17186 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17187 access of FILE2, if FILE1 does not exist.
17189 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17190 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17192 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17193 Add "PAGER=" to `process-environment'.
17195 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17197 * progmodes/sql.el: Bug fix
17198 (sql-get-login-ext): Save login values in globals.
17199 (sql-get-login): Use new version of `sql-get-login-ext'.
17200 (sql-interactive-mode): Set global `sql-connection' to nil.
17201 (sql-connect): Set global values for connection.
17202 (sql-product-interactive): Save global values as buffer local.
17204 2012-02-29 Leo Liu <sdl.web@gmail.com>
17206 * abbrev.el (define-abbrevs): Reset sys to nil.
17208 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17210 * files.el (file-equal-p): Rename from `files-equal-p'.
17211 Return nil when one or both files don't exist.
17212 (file-subdir-of-p): Now only top directory must exists,
17213 return nil if it doesn't.
17214 (copy-directory): No need to test with `file-subdir-of-p' after
17216 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17219 2012-02-28 Glenn Morris <rgm@gnu.org>
17221 * shell.el (shell-mode):
17222 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17223 * play/landmark.el (landmark-font-lock-face-O):
17224 * play/handwrite.el (handwrite):
17225 * play/gomoku.el (gomoku-O):
17226 * net/browse-url.el (browse-url-browser-display):
17227 * international/mule.el (define-charset):
17228 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17229 * filesets.el (filesets-find-file-delay):
17230 * eshell/em-xtra.el (eshell-xtra):
17231 * eshell/em-unix.el (eshell-grep):
17232 * emulation/viper.el (viper-mode):
17233 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17234 * emacs-lisp/easymenu.el (easy-menu-define):
17235 * calendar/timeclock.el (timeclock-use-display-time):
17237 * bookmark.el (bookmark-save-flag):
17238 Doc fix (standardize possessive apostrophe usage).
17240 2012-02-27 Chong Yidong <cyd@gnu.org>
17242 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17243 Fix key-binding lookup for ESC key (Bug#9146).
17245 * font-lock.el (font-lock-specified-p): Rename from
17246 font-lock-spec-present. Callers changed.
17248 2012-02-27 Daniel Hackney <dan@haxney.org>
17250 * emacs-lisp/package.el (package-compute-transaction):
17251 Handle holding a package version to t in package-load-list.
17253 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17255 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17256 (tramp-get-inode, tramp-get-device): Use cached values.
17258 2012-02-26 Alan Mackenzie <acm@muc.de>
17260 Check there is a font-lock specification before doing initial
17263 * font-core.el (font-lock-mode): Move the conditional from
17264 :after-hook to font-lock-initial-fontify.
17265 (font-lock-default-function): Move the check for a specification
17266 to font-lock-spec-present.
17268 * font-lock.el (font-lock-initial-fontify): Call ...
17269 (font-lock-spec-present): New function.
17271 2012-02-26 Jim Blandy <jimb@red-bean.com>
17273 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17274 (gdb-send): Apply it to the operand of the '-interpreter-exec
17275 console' command, so that we can pass arguments with (say) quotes
17276 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17278 2012-02-26 Chong Yidong <cyd@gnu.org>
17280 * help-fns.el (describe-function-1): Clarify description of
17281 remapping (Bug#10844).
17283 * files.el (files-equal-p): Doc fix.
17284 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17285 and quit the loop once a mismatch is found.
17287 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17289 * bs.el (bs--show-with-configuration): Don't throw an error
17290 if the window cannot be split; otherwise, subsequent calls to
17291 bs-show fail, restoring a stale window config. (Bug#10882)
17293 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17295 * term/ns-win.el (global-map): Bind ns-drag-file to
17296 ns-find-file (Bug#5855, Bug#10050).
17298 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17300 * calendar/parse-time.el (parse-time-string): Allow extractor to
17303 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17305 * net/tramp.el (tramp-file-name-for-operation):
17306 Add `files-equal-p' and `file-subdir-of-p'.
17308 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17309 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17310 Add COPY-CONTENTS argument.
17312 2012-02-25 Chong Yidong <cyd@gnu.org>
17314 Add custom groups for VC backends, for consistency with vc-bzr.
17316 * vc/vc-arch.el (vc-arch):
17317 * vc/vc-cvs.el (vc-cvs):
17318 * vc/vc-git.el (vc-git):
17319 * vc/vc-hg.el (vc-hg):
17320 * vc/vc-mtn.el (vc-mtn):
17321 * vc/vc-rcs.el (vc-rcs):
17322 * vc/vc-sccs.el (vc-sccs):
17323 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17324 All relevant defcustoms reassigned.
17326 2012-02-25 Chong Yidong <cyd@gnu.org>
17328 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17330 * term/x-win.el (x-initialize-window-system): Reduce default for
17331 x-selection-timeout to 5 seconds (Bug#8869).
17333 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17335 * files.el (files-equal-p, file-subdir-of-p): New functions.
17336 (copy-directory): Error when trying to copy a directory on itself.
17337 Add missing copy-contents arg to tramp handler.
17338 * dired-aux.el (dired-copy-file-recursive): Same.
17339 (dired-create-files): Modify destination when source is equal to
17340 dest when copying files.
17341 Return also when dest is a subdir of source. (Bug#10489)
17343 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17345 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17348 2012-02-23 Alan Mackenzie <acm@muc.de>
17350 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17351 parameter "after-hook:" to allow the expansion to run code after
17352 the execution of the mode hooks.
17354 * font-lock.el (font-lock-initial-fontify): New function extracted
17355 from font-lock-mode-internal.
17357 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17360 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17362 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17363 (completion--cache-all-sorted-completions): New function.
17364 (completion-all-sorted-completions): Use it.
17365 (completion--do-completion, minibuffer-force-complete):
17366 Use it to re-instate the flush hook.
17368 * icomplete.el (icomplete-completions): Replace last fix with a better
17371 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17373 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17374 when it might call us back infinitely (bug#10797).
17376 2012-02-23 Glenn Morris <rgm@gnu.org>
17378 * minibuffer.el (completion-category-overrides): Doc fix.
17380 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17382 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17383 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17385 2012-02-23 Glenn Morris <rgm@gnu.org>
17387 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17388 (authors-obsolete-files-regexps, authors-ignored-files)
17389 (authors-ambiguous-files, authors-renamed-files-alist):
17392 2012-02-23 Juri Linkov <juri@jurta.org>
17394 * isearch.el (isearch-occur): Sync interactive spec with occur's
17395 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17397 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17399 2012-02-22 Juri Linkov <juri@jurta.org>
17401 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17402 (ucs-insert): Doc fix. Check for hex digits in the string.
17403 Don't display `nil' in the error message. (Bug#10857)
17405 2012-02-22 Alan Mackenzie <acm@muc.de>
17407 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17409 2012-02-22 Glenn Morris <rgm@gnu.org>
17411 * ffap.el (ffap-c-path):
17412 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17414 2012-02-22 Chong Yidong <cyd@gnu.org>
17416 * custom.el (load-theme): Doc fix.
17418 2012-02-22 Glenn Morris <rgm@gnu.org>
17420 * dired-x.el (dired-guess-shell-alist-default):
17421 Remove escape sequences from nroff output. (Bug#172)
17423 2012-02-21 Glenn Morris <rgm@gnu.org>
17425 * vc/emerge.el (emerge-defvar-local):
17426 Set `permanent-local' property rather than unused `preserved'.
17428 * textmodes/picture.el (picture-delete-char): New alias.
17429 (picture-mode-map): Use it. (Bug#10860)
17430 (picture-mode): Doc fix.
17432 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17434 * newcomment.el (uncomment-region-default): Remove unused binding.
17436 2012-02-21 Glenn Morris <rgm@gnu.org>
17438 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17439 (picture-self-insert, picture-tab-chars): Doc fix.
17440 (picture-mode-map): Fix C-a, C-e.
17442 2012-02-20 Glenn Morris <rgm@gnu.org>
17444 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17446 2012-02-20 Leo Liu <sdl.web@gmail.com>
17448 * icomplete.el (icomplete-completions): Check FROM arg before
17449 passing to substring (Bug#10850).
17451 2012-02-19 Chong Yidong <cyd@gnu.org>
17453 * comint.el: Require ansi-color.
17454 (comint-output-filter-functions): Add ansi-color-process-output.
17456 * ansi-color.el: Don't set comint-output-filter-functions; it is
17457 now in the initial value defined in comint.el.
17458 (ansi-color-apply-face-function): New variable.
17459 (ansi-color-apply-on-region): Use it.
17460 (ansi-color-apply-overlay-face): New function.
17462 * shell.el (shell): No need to require ansi-color.
17463 (shell-mode): Use ansi-color-apply-face-function to highlight
17464 color escapes using font-lock-face property (Bug#10835).
17466 2012-02-19 Chong Yidong <cyd@gnu.org>
17468 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17469 mode-line formats (Bug#10839).
17471 2012-02-18 Glenn Morris <rgm@gnu.org>
17473 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17475 * mail/undigest.el (unforward-rmail-message): Doc fix.
17477 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17479 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17481 * international/characters.el (script-list): Sync with the latest
17482 Unicode Character Database.
17484 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17486 * international/titdic-cnv.el: Remove duplicate coding tag.
17487 * language/cham.el: Likewise.
17488 * language/tai-viet.el: Likewise.
17490 2012-02-18 Glenn Morris <rgm@gnu.org>
17492 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17493 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17494 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17495 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17496 * calendar/holidays.el (holiday-bahai-holidays)
17497 (calendar-holidays, list-holidays):
17498 Use utf-8 Bahá'í in doc-strings, menus, etc.
17500 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17502 * saveplace.el (save-place-ignore-files-regexp): New variable
17503 allowing for excluding files from saving their location of point.
17504 The default value matches the temporary commit message editing
17505 files from Git, SVN, Bazaar, and Mercurial.
17506 (save-place-to-alist): Use it.
17508 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17509 Stefan Monnier <monnier@iro.umontreal.ca>
17511 * newcomment.el (uncomment-region-default): Don't leave extra space
17512 when an arg is provided (bug#8150).
17514 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17516 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17518 2012-02-17 Glenn Morris <rgm@gnu.org>
17520 * net/socks.el: Require network-stream. (Bug#10599)
17522 2012-02-17 Kenichi Handa <handa@m17n.org>
17524 * international/charprop.el:
17525 * international/uni-name.el:
17526 * international/uni-old-name.el:
17527 * international/uni-comment.el: Regenerate.
17529 2012-02-16 Glenn Morris <rgm@gnu.org>
17531 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17532 Interactively in calendar buffer, give an error if not on a date.
17534 2012-02-15 Glenn Morris <rgm@gnu.org>
17536 * shell.el (shell-delimiter-argument-list):
17537 Revert 2011-02-17 change. (Bug#8027)
17539 2012-02-15 Chong Yidong <cyd@gnu.org>
17541 * minibuffer.el (completion-at-point-functions): Doc fix.
17543 * custom.el (defcustom): Doc fix; note use of defvar.
17545 2012-02-15 Glenn Morris <rgm@gnu.org>
17547 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17550 2012-02-14 Glenn Morris <rgm@gnu.org>
17552 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17554 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17556 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17557 way the ports list is computed.
17558 (smtpmail-query-smtp-server): Prompt the user for a port number if
17559 we can't connect to any of the standard ports (bug#10810).
17561 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17563 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17565 2012-02-13 Glenn Morris <rgm@gnu.org>
17567 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17569 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17571 * net/gnutls.el (gnutls-trustfiles): New variable.
17572 (gnutls-negotiate): Use it.
17574 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17576 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17577 does its stuff if Gnus is running.
17579 2012-02-13 Alan Mackenzie <acm@muc.de>
17581 Fix a loop in c-set-fl-decl-start.
17583 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17584 c-backward-syntactic-ws actually moves backwards.
17586 2012-02-13 Leo Liu <sdl.web@gmail.com>
17588 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17589 beginning so that all \C-o chars are removed.
17591 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17593 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17595 2012-02-12 Alan Mackenzie <acm@muc.de>
17597 Fix infinite loop with long macros.
17598 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17600 2012-02-12 Chong Yidong <cyd@gnu.org>
17602 * window.el (display-buffer): Doc fix (Bug#10785).
17604 2012-02-12 Glenn Morris <rgm@gnu.org>
17606 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17607 (x-disown-selection-internal, x-get-selection-internal):
17608 Sync docs with the xselect.c versions.
17610 * allout-widgets.el: Add missing license notice.
17612 2012-02-11 Glenn Morris <rgm@gnu.org>
17614 * select.el (x-get-selection-internal, x-own-selection-internal)
17615 (x-disown-selection-internal):
17616 * x-dnd.el (x-get-selection-internal): Update declarations.
17618 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17620 * window.el (window-sides-slots):
17621 * tool-bar.el (tool-bar-position):
17622 * term/xterm.el (xterm-extra-capabilities):
17623 * ses.el (ses-self-reference-early-detection):
17624 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17625 (verilog-auto-wire-type)
17626 (verilog-auto-delete-trailing-whitespace)
17627 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17628 (verilog-auto-tieoff-declaration):
17629 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17630 (sql-oracle-statement-starters, sql-oracle-scan-on):
17631 * progmodes/prolog.el (prolog-align-comments-flag)
17632 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17633 (prolog-left-indent-regexp, prolog-paren-indent-p)
17634 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17635 (prolog-types, prolog-mode-specificators)
17636 (prolog-determinism-specificators, prolog-directives)
17637 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17638 (prolog-electric-dot-flag)
17639 (prolog-electric-dot-full-predicate-template)
17640 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17641 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17642 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17643 (prolog-program-switches, prolog-prompt-regexp)
17644 (prolog-debug-on-string, prolog-debug-off-string)
17645 (prolog-trace-on-string, prolog-trace-off-string)
17646 (prolog-zip-on-string, prolog-zip-off-string)
17647 (prolog-use-standard-consult-compile-method-flag)
17648 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17649 (prolog-imenu-max-lines, prolog-info-predicate-index)
17650 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17651 (prolog-char-quote-workaround):
17652 * progmodes/cc-vars.el (c-defun-tactic):
17653 * net/tramp.el (tramp-encoding-command-interactive)
17654 (tramp-local-end-of-line):
17655 * net/soap-client.el (soap-client):
17656 * net/netrc.el (netrc-file):
17657 * net/gnutls.el (gnutls):
17658 * minibuffer.el (completion-category-overrides)
17659 (completion-cycle-threshold)
17660 (completion-pcm-complete-word-inserts-delimiters):
17661 * man.el (Man-name-local-regexp):
17662 * mail/feedmail.el (feedmail-display-full-frame):
17663 * international/characters.el (glyphless-char-display-control):
17664 * eshell/em-ls.el (eshell-ls-date-format):
17665 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17666 (lisp-lambda-list-keyword-parameter-indentation)
17667 (lisp-lambda-list-keyword-parameter-alignment):
17668 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17669 * dired-x.el (dired-omit-verbose):
17670 * cus-theme.el (custom-theme-allow-multiple-selections):
17671 * calc/calc.el (calc-highlight-selections-with-faces)
17672 (calc-lu-field-reference, calc-lu-power-reference)
17673 (calc-note-threshold):
17674 * battery.el (battery-mode-line-limit):
17675 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17676 (archive-7z-update):
17677 * allout.el (allout-prefixed-keybindings)
17678 (allout-unprefixed-keybindings)
17679 (allout-inhibit-auto-fill-on-headline)
17680 (allout-flattened-numbering-abbreviation):
17681 * allout-widgets.el (allout-widgets-auto-activation)
17682 (allout-widgets-icons-dark-subdir)
17683 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17684 (allout-widgets-theme-dark-background)
17685 (allout-widgets-theme-light-background)
17686 (allout-widgets-item-image-properties-emacs)
17687 (allout-widgets-item-image-properties-xemacs)
17688 (allout-widgets-run-unit-tests-on-load)
17689 (allout-widgets-time-decoration-activity)
17690 (allout-widgets-hook-error-post-time)
17691 (allout-widgets-track-decoration):
17692 Add missing :version tags to new defcustoms and defgroups.
17694 * progmodes/sql.el (sql-ansi-statement-starters)
17695 (sql-oracle-statement-starters): Add custom type.
17697 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17698 (prolog-system-version): Give it a type.
17700 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17702 * term/pc-win.el (x-select-text, x-selection-owner-p)
17703 (x-own-selection-internal, x-disown-selection-internal)
17704 (x-get-selection-internal): Sync doc strings and argument lists
17705 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17707 2012-02-11 Leo Liu <sdl.web@gmail.com>
17709 * progmodes/python.el (python-end-of-statement): Fix infinite
17712 2012-02-10 Glenn Morris <rgm@gnu.org>
17714 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17715 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17717 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17719 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17720 about SMTP before checking the From header.
17722 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17723 into own function for reuse by emacsbug.el.
17725 2012-02-10 Leo Liu <sdl.web@gmail.com>
17727 * subr.el (condition-case-unless-debug): Rename from
17728 condition-case-no-debug. All callers changed.
17729 (with-demoted-errors): Fix caller.
17731 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17732 * nxml/rng-valid.el (rng-do-some-validation):
17733 * emacs-lisp/package.el (package-refresh-contents)
17734 (package-menu-execute):
17735 * desktop.el (desktop-create-buffer):
17736 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17738 2012-02-10 Glenn Morris <rgm@gnu.org>
17740 * textmodes/bibtex.el:
17741 Add missing :version tags for new/changed defcustoms.
17743 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17745 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17747 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17748 (smtpmail-via-smtp): Use it, or fall back on the From address.
17749 (smtpmail-send-it): Ditto.
17751 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17754 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17755 (byte-compile-tmp-var): New const.
17756 (byte-compile-defvar): Use it to minimize .elc size.
17757 Just use `defvar' rather than simulate it (bug#10761).
17759 2012-02-09 Glenn Morris <rgm@gnu.org>
17761 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17763 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17766 * progmodes/compile.el (compilation-error-screen-columns)
17767 (compilation-first-column, compilation-filter-start): Doc fixes.
17769 * vc/log-view.el (log-view-toggle-entry-display):
17770 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17772 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17773 (report-emacs-bug-can-use-xdg-email):
17774 (report-emacs-bug-insert-to-mailer): Doc fixes.
17775 (report-emacs-bug): Message fix.
17777 * net/browse-url.el (browse-url-can-use-xdg-open)
17778 (browse-url-xdg-open): Doc fixes.
17780 * electric.el (electric-indent-mode, electric-pair-mode)
17781 (electric-layout-rules, electric-layout-mode): Doc fixes.
17782 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17784 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17786 * server.el (server-unselect-display): Don't inadvertently kill
17787 the current buffer. (Bug#10729)
17789 2012-02-08 Glenn Morris <rgm@gnu.org>
17791 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17792 (sql-list-table): Doc fixes.
17794 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17795 Comment out (does nothing).
17797 * completion.el (dynamic-completion-mode):
17798 * dirtrack.el (dirtrack-debug-mode):
17799 * electric.el (electric-layout-mode):
17800 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17801 * face-remap.el (text-scale-mode, buffer-face-mode):
17802 * iimage.el (iimage-mode):
17803 * image-mode.el (image-transform-mode):
17804 * minibuffer.el (completion-in-region-mode):
17805 * scroll-lock.el (scroll-lock-mode):
17806 * simple.el (next-error-follow-minor-mode):
17807 * tar-mode.el (tar-subfile-mode):
17808 * tooltip.el (tooltip-mode):
17809 * vcursor.el (vcursor-use-vcursor-map):
17810 * wid-browse.el (widget-minor-mode):
17811 * emulation/tpu-edt.el (tpu-edt-mode):
17812 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17813 * international/iso-ascii.el (iso-ascii-mode):
17814 * language/thai-util.el (thai-word-mode):
17815 * mail/supercite.el (sc-minor-mode):
17816 * net/goto-addr.el (goto-address-mode):
17817 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17818 * progmodes/cwarn.el (cwarn-mode):
17819 * progmodes/flymake.el (flymake-mode):
17820 * progmodes/glasses.el (glasses-mode):
17821 * progmodes/hideshow.el (hs-minor-mode):
17822 * progmodes/pascal.el (pascal-outline-mode):
17823 * textmodes/enriched.el (enriched-mode):
17824 * vc/smerge-mode.el (smerge-mode):
17825 Doc fixes (minor mode argument).
17827 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17829 * ls-lisp.el (ls-lisp-sanitize): New function.
17830 (ls-lisp-insert-directory): Use it to fix or remove any elements
17831 in file-alist with missing attributes. (Bug#4673)
17833 2012-02-07 Alan Mackenzie <acm@muc.de>
17835 Fix spurious recognition of c-in-knr-argdecl.
17837 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17838 putative K&R region.
17840 2012-02-07 Alan Mackenzie <acm@muc.de>
17842 * progmodes/cc-engine.el (c-forward-objc-directive):
17843 Prevent looping in "#pragma mark @implementation".
17845 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17847 * notifications.el (notifications-on-closed-signal): Make `reason'
17848 optional. (Bug#10744)
17850 2012-02-07 Glenn Morris <rgm@gnu.org>
17852 * emacs-lisp/easy-mmode.el (define-minor-mode):
17853 Doc fixes for the macro and the mode it defines.
17855 * image.el (imagemagick-types-inhibit): Doc fix.
17857 * cus-start.el (imagemagick-render-type): Add it.
17859 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17861 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17862 Set the default at load time, too, so that `font-lock-fontify-buffer'
17863 can be called without setting up the entire mode first. This fixes
17864 a bug in `mm-inline-text' with C MIME parts.
17866 2012-02-06 Chong Yidong <cyd@gnu.org>
17868 * simple.el (list-processes--refresh): Delete exited processes
17871 * comint.el (comint-next-prompt): next-single-char-property-change
17872 and prev-single-char-property-change never return nil (Bug#8657).
17874 * custom.el (defcustom): Doc fix (Bug#9711).
17876 2012-02-05 Chong Yidong <cyd@gnu.org>
17878 * cus-edit.el (custom-variable-reset-backup): Quote the value
17879 before storing it in the customized-value property (Bug#6712).
17880 (custom-display): Add a customization type tag.
17881 (custom-buffer-create-internal): Improve tooltip message.
17883 * wid-edit.el (widget-field-value-get): New optional arg to
17884 suppress trailing whitespace truncation.
17885 (character): Use it (Bug#2689).
17887 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17889 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17890 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17892 2012-02-05 Chong Yidong <cyd@gnu.org>
17894 * cus-edit.el (custom-variable-value-create): For mismatched
17895 types, show the current value (Bug#7600).
17897 * custom.el (defcustom): Doc fix.
17899 2012-02-05 Glenn Morris <rgm@gnu.org>
17901 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17903 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17905 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17906 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17907 (pp-last-sexp): Use `looking-at-p'.
17909 2012-02-04 Glenn Morris <rgm@gnu.org>
17911 * files.el (revert-buffer):
17912 Doc fix (mention revert-buffer-in-progress-p).
17914 * emacs-lisp/ert-x.el (ert-simulate-command):
17915 Check deferred-action-list (which is obsolete) is bound.
17917 * subr.el (with-wrapper-hook): Doc fixes.
17919 * simple.el (filter-buffer-substring-functions)
17920 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17922 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17924 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17925 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17927 2012-02-04 Leo Liu <sdl.web@gmail.com>
17929 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17931 2012-02-04 Glenn Morris <rgm@gnu.org>
17933 * image.el (image-extension-data): Add obsolete alias.
17935 * isearch.el (isearch-update): Doc fix.
17937 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17939 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17941 2012-02-03 Glenn Morris <rgm@gnu.org>
17943 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17944 (image-animate-timeout): Doc fix.
17946 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17948 2012-02-02 Glenn Morris <rgm@gnu.org>
17950 * server.el (server-auth-dir): Doc fix.
17951 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17953 * subr.el (run-mode-hooks): Doc fix.
17955 2012-02-02 Juri Linkov <juri@jurta.org>
17957 * image-mode.el (image-toggle-display-image): Remove tautological
17958 `major-mode' from the `derived-mode-p' test.
17960 2012-02-02 Kenichi Handa <handa@m17n.org>
17962 * composite.el (compose-region): Cancel previous change.
17964 2012-02-02 Kenichi Handa <handa@m17n.org>
17966 * composite.el (compose-region, compose-string): Signal error for
17967 a null string component (Bug#6988).
17969 2012-02-01 Chong Yidong <cyd@gnu.org>
17971 * view.el (view-buffer-other-window, view-buffer-other-frame):
17972 Handle special modes like view-buffer (Bug#10650).
17973 (view-buffer): Simplify.
17975 * frame.el (set-frame-font): Tweak meaning of third argument.
17977 * dynamic-setting.el (font-setting-change-default-font):
17978 Use set-frame-font (Bug#9982).
17980 2012-02-01 Glenn Morris <rgm@gnu.org>
17982 * progmodes/compile.el (compilation-internal-error-properties):
17983 Respect compilation-first-column in the "*compilation*" buffer.
17985 * emacs-lisp/easy-mmode.el (define-minor-mode):
17986 Relax :variable's test for a named function.
17988 2012-01-31 Alan Mackenzie <acm@muc.de>
17990 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17993 2012-01-31 Chong Yidong <cyd@gnu.org>
17995 * frame.el (set-frame-font): New arg ALL-FRAMES.
17997 * menu-bar.el (menu-set-font): Use set-frame-font.
17999 * faces.el (face-spec-reset-face): Don't apply unspecified
18000 attribute values to the default face.
18002 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18004 * progmodes/cwarn.el (cwarn): Remove dead link.
18005 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18006 Remove * from defcustom docstrings.
18007 (turn-on-cwarn-mode): Make obsolete.
18008 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18009 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18011 2012-01-31 Glenn Morris <rgm@gnu.org>
18013 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18014 Fix :variable handling of mode a symbol not equal to modefun.
18015 Allow named functions to be used as the cdr of :variable.
18017 2012-01-30 Glenn Morris <rgm@gnu.org>
18019 * emacs-lisp/authors.el (authors-fixed-entries):
18020 Remove reference to deleted file rnewspost.el.
18022 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18024 * window.el (window-with-parameter): Remove unused variable `windows'.
18025 (window--side-check): Remove unused variable `code'.
18026 (window--resize-siblings): Remove unused variable `first'.
18027 (adjust-window-trailing-edge): Remove unused variable `failed'.
18028 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18029 Use `let', not `let*'.
18030 (balance-windows-2): Remove unused variable `found'.
18031 (window--state-put-2): Remove unused variable `splits'.
18032 (window-state-put): Remove unused variable `selected'.
18033 (same-window-p): Use `string-match-p'.
18034 (display-buffer-assq-regexp): Remove unused variable `value'.
18035 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18036 Mark argument ALIST as ignored.
18037 (pop-to-buffer): Remove unused variable `old-window'.
18039 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18041 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18042 and .lzma compressed files.
18044 2012-01-29 Chong Yidong <cyd@gnu.org>
18046 * frame.el (window-system-default-frame-alist): Doc fix.
18048 * dynamic-setting.el (font-setting-change-default-font): Don't
18049 change the default face if SET-FONT argument is non-nil (Bug#9982).
18051 2012-01-29 Samuel Bronson <naesten@gmail.com>
18053 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18055 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18057 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18058 breakpoints in files outside current directory (Bug#6098).
18060 2012-01-29 Chong Yidong <cyd@gnu.org>
18062 * progmodes/python.el: Require ansi-color at top-level.
18064 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18065 Define and use in Emacs Lisp mode (Bug#9360).
18066 (lisp-mode-abbrev-table): Add doc.
18067 (lisp-mode-variables): Don't set local-abbrev-table.
18068 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18070 2012-01-28 Roland Winkler <winkler@gnu.org>
18072 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18074 2012-01-28 Roland Winkler <winkler@gnu.org>
18076 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18077 (bibtex-set-dialect): Use it. Either set global values of
18078 dialect-dependent variables or bind these variables buffer-locally
18080 (bibtex-mode): Call bibtex-set-dialect via
18081 hack-local-variables-hook.
18082 (bibtex-dialect): Update docstring.
18083 Add safe-local-variable predicate.
18084 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18085 bibtex-set-dialect.
18086 (bibtex-mode-map): Define menu for each dialect.
18087 (bibtex-entry): Fix docstring.
18089 2012-01-28 Chong Yidong <cyd@gnu.org>
18091 * eshell/esh-arg.el (eshell-quote-argument): New function.
18093 * eshell/esh-ext.el (eshell-invoke-batch-file):
18094 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18095 first arg to eshell-parse-command (Bug#10523).
18097 2012-01-28 Drew Adams <drew.adams@oracle.com>
18099 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18100 `default-directory' is non-nil.
18102 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18104 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18105 line that displays system-configuration-options. (Bug#9924)
18107 2012-01-28 Drew Adams <drew.adams@oracle.com>
18109 * descr-text.el (describe-char): Show information about POS, in
18110 addition to information about the character at POS. Improve and
18111 update the doc string. Change "code point" to "code point in
18112 charset", to avoid confusion with the character's Unicode code
18113 point shown above that. (Bug#10129)
18115 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18117 * descr-text.el (describe-char): Show the raw character, not only
18118 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18119 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18122 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18124 * emacs-lisp/package.el (package-install):
18125 Run package-refresh-contents if there is no archive yet (Bug#9798).
18127 2012-01-28 Chong Yidong <cyd@gnu.org>
18129 * emacs-lisp/package.el (package-maybe-load-descriptor):
18130 New function, split from package-maybe-load-descriptor.
18131 (package-maybe-load-descriptor): Use it.
18132 (package-download-transaction): Fully load required packages
18133 inside the loop, so that `require' calls work (Bug#10593).
18134 (package-install): No need to call package-initialize now.
18136 2012-01-28 Chong Yidong <cyd@gnu.org>
18138 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18140 * tooltip.el (tooltip-mode): Doc fix.
18141 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18143 * frame.el (set-cursor-color): Doc fix (Bug#352).
18145 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18146 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18148 * cus-edit.el (custom-buffer-create-internal): Fix search button
18149 action (Bug#10542).
18150 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18152 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18154 * dired.el (dired-mark-files-regexp):
18155 Include any subdirectory components. (Bug#10445)
18157 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18159 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18160 Handle [host]:port syntax. (Bug#10533)
18162 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18164 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18166 2012-01-26 Glenn Morris <rgm@gnu.org>
18168 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18169 * term.el (term-raw-escape-map): Use Control-X-prefix.
18170 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18172 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18174 * window.el (window-state-get, window--state-get-1): Don't deal
18175 with fixed-sizeness of windows. Simplify code.
18177 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18179 * window.el (window--state-get-1, window--state-put-2):
18180 Don't save and restore the mark.
18182 2012-01-25 Chong Yidong <cyd@gnu.org>
18184 * custom.el (custom-variable-p): Doc fix.
18186 2012-01-25 Glenn Morris <rgm@gnu.org>
18188 * dired.el (dired-goto-file): Handle some of the more common
18189 characters that `ls -b' escapes. (Bug#10596)
18191 * progmodes/compile.el (compilation-next-error-function):
18192 Respect compilation-first-column in the "*compilation*" buffer.
18193 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18195 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18197 2012-01-24 Glenn Morris <rgm@gnu.org>
18199 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18201 2012-01-24 Julien Danjou <julien@danjou.info>
18203 * color.el (color-rgb-to-hsl): Fix value computing.
18204 (color-hue-to-rgb): New function.
18205 (color-hsl-to-rgb): New function.
18206 (color-clamp, color-saturate-hsl, color-saturate-name)
18207 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18208 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18210 2012-01-24 Glenn Morris <rgm@gnu.org>
18212 * vc/vc-rcs.el (vc-rcs-create-tag):
18213 * vc/vc-sccs.el (vc-sccs-create-tag):
18214 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18216 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18218 * eshell/esh-util.el (eshell-read-hosts-file):
18219 Skip comment lines. (Bug#10549)
18221 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18223 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18225 * subr.el (display-delayed-warnings): Doc fix.
18226 (collapse-delayed-warnings): New function to collapse identical
18228 (delayed-warnings-hook): Add it.
18230 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18232 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18234 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18235 (tramp-default-user-alist): Don't add "pscp".
18236 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18237 property "login-as", if set. (Bug#10530)
18239 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18241 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18242 "plink1" and "psftp". (Bug#10530)
18244 2012-01-21 Kenichi Handa <handa@m17n.org>
18246 * international/mule-cmds.el (prefer-coding-system): Show a
18247 warning message if the default value of file-name-coding-system
18250 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18252 * windmove.el (windmove-reference-loc):
18253 Fix windmove-reference-loc miscalculation.
18255 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18257 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18260 2012-01-21 Glenn Morris <rgm@gnu.org>
18262 * international/mule.el (auto-coding-alist): Add .tbz.
18264 * files.el (local-enable-local-variables): Doc fix.
18265 (inhibit-local-variables-regexps): Rename from
18266 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18267 Doc fix. Add some extensions from auto-coding-alist.
18268 (inhibit-local-variables-suffixes):
18269 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18270 (inhibit-local-variables-p):
18271 New function, extracted from set-auto-mode-1.
18272 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18273 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18274 (hack-local-variables): Doc fix. Make the mode-only case
18275 respect enable-local-variables and friends.
18276 Respect inhibit-local-variables-regexps for file-locals, but
18277 not for directory-locals.
18278 (set-visited-file-name):
18279 Take account of inhibit-local-variables-regexps.
18280 Whether it applies may change as the file name is changed.
18281 * jka-cmpr-hook.el (jka-compr-install):
18282 * jka-compr.el (jka-compr-uninstall):
18283 Update for inhibit-first-line-modes-suffixes name change.
18285 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18287 * help-macro.el (make-help-screen): Temporarily restore original
18288 binding for minor-mode-map-alist (Bug#10454).
18290 2012-01-19 Julien Danjou <julien@danjou.info>
18292 * color.el (color-name-to-rgb): Use the white color to find the max
18293 color component value and return correctly computed values.
18294 (color-name-to-rgb): Add missing float conversion for max value.
18296 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18298 * window.el (window--state-get-1, window-state-get): Do not use
18299 special state value for window-persistent-parameters.
18300 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18301 (window--state-put-2): Reset all window parameters to nil before
18302 assigning values of persistent parameters.
18304 2012-01-18 Alan Mackenzie <acm@muc.de>
18306 Eliminate sluggishness and hangs in fontification of "semicolon
18309 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18310 Change value 10000 -> 3000.
18311 (c-state-safe-place): Reformulate so it doesn't stack up an
18312 infinite number of wrong entries in c-state-nonlit-pos-cache.
18313 (c-determine-limit-get-base, c-determine-limit): New functions to
18314 determine backward search limits disregarding literals.
18315 (c-find-decl-spots): Amend commenting.
18316 (c-cheap-inside-bracelist-p): New function which detects "={".
18318 * progmodes/cc-fonts.el
18319 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18321 (c-font-lock-declarations): Fix an occurrence of point being
18322 undefined. Check additionally for point being in a bracelist or
18323 near a macro invocation without a semicolon so as to avoid a
18324 fruitless time consuming search for a declarator. Give a more
18325 precise search limit for declarators using the new
18328 2012-01-18 Glenn Morris <rgm@gnu.org>
18330 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18331 (set-auto-mode): Doc fixes.
18333 2012-01-17 Glenn Morris <rgm@gnu.org>
18335 * isearch.el (search-nonincremental-instead): Fix doc typo.
18337 * dired.el (dired-insert-directory): Handle newlines in directory name.
18338 (dired-build-subdir-alist): Unescape newlines in directory name.
18340 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18342 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18343 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18344 (tramp-action-terminal): Use it. (Bug#10530)
18346 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18348 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18350 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18352 * window.el (window-state-ignored-parameters): Remove variable.
18353 (window--state-get-1): Rename argument MARKERS to IGNORE.
18354 Handle persistent window parameters. Make copy of clone-of
18355 parameter only if requested. (Bug#10348)
18356 (window--state-put-2): Install a window parameter only if it has
18357 a non-nil value or an existing parameter shall be overwritten.
18359 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18361 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18363 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18365 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18366 don't pass the (nil) value of `upnode' to string-match.
18368 2012-01-14 Chong Yidong <cyd@gnu.org>
18370 * startup.el (command-line): Fix X resource class for cursorColor.
18371 Fix values recognized by the cursorBlink resource.
18373 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18375 * epg.el (epg--make-temp-file): Avoid permission race condition
18376 when running on old Emacs versions (bug#10403).
18378 2012-01-14 Glenn Morris <rgm@gnu.org>
18380 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18382 2012-01-13 Alan Mackenzie <acm@muc.de>
18384 Fix filling for when filladapt mode is enabled.
18386 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18387 c-mask-paragraph, pass in `fill-paragraph' rather than
18388 `fill-region-as-paragraph'. (This is a reversion of a previous
18390 * progmodes/cc-mode.el (c-basic-common-init):
18391 Make fill-paragraph-handle-comment buffer local and set it to nil.
18393 2012-01-13 Glenn Morris <rgm@gnu.org>
18395 * dired.el (dired-switches-escape-p): New function.
18396 (dired-insert-directory): Use dired-switches-escape-p.
18397 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18399 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18401 2012-01-12 Glenn Morris <rgm@gnu.org>
18403 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18404 changes in adaptive-fill-regexp. (Bug#10276)
18406 2012-01-11 Alan Mackenzie <acm@muc.de>
18408 Fix Emacs bug #10463 - put `widen's around the critical spots.
18410 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18411 widen around each invocation of c-state-pp-to-literal. Remove an
18412 unused let variable.
18414 2012-01-11 Glenn Morris <rgm@gnu.org>
18416 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18419 2012-01-10 Chong Yidong <cyd@gnu.org>
18421 * net/network-stream.el (network-stream-open-starttls):
18422 Avoid emitting a confusing error message when the server gives a bad
18423 response to the capability command.
18425 2012-01-10 Glenn Morris <rgm@gnu.org>
18427 * mail/unrmail.el (unrmail): Tweak previous change.
18429 2012-01-09 Chong Yidong <cyd@gnu.org>
18431 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18433 2012-01-08 Alan Mackenzie <acm@muc.de>
18435 Optimize font locking in long enum definitions.
18437 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18438 arm to a cond form to handle enums.
18439 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18440 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18442 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18444 * files.el (move-file-to-trash): Preserve default file modes on error.
18447 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18449 * faces.el (set-face-attribute): Clarify the meaning of the nil
18452 * subr.el (with-selected-frame): Mention that the selected frame
18453 is restored (bug#9980).
18455 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18458 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18459 (password-read): Don't autoload unused function.
18461 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18463 * progmodes/which-func.el (which-func-mode): Turn into a
18464 non-interactive function and mark as obsolete (bug#10428).
18466 2012-01-06 Chong Yidong <cyd@gnu.org>
18468 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18469 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18470 functions, along with 1 and -1.
18472 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18474 * time.el (display-time-load-average)
18475 (display-time-default-load-average): Doc fixes. See the thread
18477 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18480 2012-01-06 Glenn Morris <rgm@gnu.org>
18482 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18483 has no messages. (Bug#10377)
18485 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18486 than Info-edit. (Bug#10385)
18488 * time.el (display-time-load-average, display-time-next-load-average):
18491 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18492 local setting of buffer-read-only to the input buffer. (Bug#10419)
18494 * calendar/calendar.el (calendar-mode):
18495 Locally set scroll-margin to 0. (Bug#10379)
18497 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18499 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18501 2012-01-05 Glenn Morris <rgm@gnu.org>
18503 * eshell/em-unix.el (diff-no-select): Autoload it.
18504 (eshell/diff): Use diff-no-select. (Bug#10420)
18506 2012-01-05 Chong Yidong <cyd@gnu.org>
18508 * shell.el (shell-dynamic-complete-functions): Revert last change.
18509 (shell-command-completion-function): New function.
18510 (shell-completion-vars): Use it to implement
18511 shell-completion-execonly (Bug#10417).
18513 * custom.el (enable-theme): Don't set custom-safe-themes.
18515 * cus-theme.el (custom-theme-merge-theme):
18516 Ignore custom-enabled-themes and custom-safe-themes.
18518 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18520 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18521 first prompt in `sql-interacive-mode'.
18522 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18524 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18525 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18526 context of original buffer. Invoke `sql-login-hook'.
18528 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18530 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18531 letters in cite-prefix.
18533 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18535 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18537 2012-01-03 Chong Yidong <cyd@gnu.org>
18539 * shell.el (shell-dynamic-complete-functions):
18540 Put pcomplete-completions-at-point, so as to try
18541 comint-filename-completion first (Bug#10417).
18543 2012-01-02 Richard Stallman <rms@gnu.org>
18545 * battery.el (battery-status-function):
18546 Detect when to use battery-yeeloong-sysfs.
18547 (battery-echo-area-format): Add string for Yeeloong.
18548 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18549 (battery-yeeloong-sysfs): New function.
18551 2012-01-02 Chong Yidong <cyd@gnu.org>
18553 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18554 (dirtrack): Merge code for handling relative filenames in prompt
18555 from shell-dir-cookie-watcher.
18556 (dirtrack-debug-message): New arg to avoid excess format calls.
18558 * shell.el (shell-dir-cookie-re): Variable deleted.
18559 (shell-dir-cookie-watcher): Function deleted.
18560 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18561 with dirtrack-mode.
18563 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18565 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18566 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18569 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18571 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18573 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18575 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18576 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18578 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18580 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18581 also for alternative shells.
18582 (tramp-open-connection-setup-interactive-shell): Check, whether
18583 the shell is a busybox.
18584 (tramp-send-command): Don't suppress multiple prompts for
18585 busyboxes, it hurts.
18587 2011-12-28 Chong Yidong <cyd@gnu.org>
18589 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18590 (gdb-get-source-file): Move mode line update to
18591 gdb-get-source-file (Bug#10087).
18593 2011-12-25 Chong Yidong <cyd@gnu.org>
18595 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18596 gud-gdb-marker-filter without taking it as an argument.
18597 (gud-gdb-run-command-fetch-lines): Caller changed.
18598 (gud-gdb-completion-function): New variable.
18599 (gud-gdb-completion-at-point): Use it.
18600 (gud-gdb-completions-1): Split from gud-gdb-completions.
18602 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18603 function as separate arguments.
18604 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18605 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18606 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18607 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18608 (gdb-stopped, def-gdb-auto-update-trigger)
18609 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18610 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18612 (gud-gdbmi-completions): New function.
18613 (gdb): Use it for generating the completion table.
18615 2011-12-24 Alan Mackenzie <acm@muc.de>
18617 Introduce a mechanism to widen the region used in context font
18618 locking. Use this to protect declarations from losing their contexts.
18620 * progmodes/cc-langs.el (c-before-font-lock-functions):
18621 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18622 (c-before-context-fontification-functions): New defvar, a list of
18623 functions to be run just before context (etc.) font locking.
18625 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18626 New, functionality extracted from
18627 c-neutralize-syntax-in-and-mark-CPP.
18628 (c-in-after-change-fontification): New variable.
18629 (c-after-change): Set c-in-after-change-fontification.
18630 (c-set-fl-decl-start): Rejig its interface, so it can be called
18631 from both after-change and context fontifying.
18632 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18634 (c-standard-font-lock-fontify-region-function): New variable.
18635 (c-font-lock-fontify-region): New function.
18637 2011-12-24 Juri Linkov <juri@jurta.org>
18639 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18642 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18644 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18645 existence of source file. (Bug#10325)
18647 2011-12-23 Alan Mackenzie <acm@muc.de>
18649 Fix unstable fontification inside templates.
18651 * progmodes/cc-langs.el (c-before-font-lock-functions):
18652 Newly created from the singular version. The (c c++ objc) entry now
18653 additionally has c-set-fl-decl-start. The other languages (apart
18654 from AWK) have that as a single entry.
18656 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18657 The functionality for "local" declarations has been extracted to
18658 c-set-fl-decl-start.
18660 * progmodes/cc-mode.el (c-common-init, c-after-change):
18661 Changes due to pluralisation of c-before-font-lock-functions.
18662 (c-set-fl-decl-start): New function, extracted from
18663 c-font-lock-enclosing-decls and enhanced.
18665 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18667 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18669 2011-12-22 Juri Linkov <juri@jurta.org>
18671 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18673 2011-12-22 Chong Yidong <cyd@gnu.org>
18675 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18677 2011-12-21 Drew Adams <drew.adams@oracle.com>
18679 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18681 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18683 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18685 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18687 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18688 highlighting and support. Fix up comments for capitalization.
18689 (cfengine-mode-debug): New var.
18690 (cfengine3-mode): Change the modeline indicator to "CFE3".
18691 (cfengine3-font-lock-keywords): Improve defun highlighting.
18692 (cfengine2-actions): Rename from `cfengine-actions'.
18693 (cfengine2-font-lock-keywords): Rename from
18694 `cfengine-font-lock-keywords'.
18695 (cfengine2-imenu-expression): Rename from
18696 `cfengine-imenu-expression'.
18697 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18698 (cfengine2-beginning-of-defun): Rename from
18699 `cfengine-beginning-of-defun'.
18700 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18701 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18702 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18703 modeline indicator to "CFE2".
18704 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18705 (cfengine-mode-abbrevs): Mark obsolete.
18707 2011-12-21 Chong Yidong <cyd@gnu.org>
18709 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18712 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18714 * window.el (window-normalize-buffer-to-display): Remove.
18715 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18717 2011-12-19 Chong Yidong <cyd@gnu.org>
18719 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18720 Don't signal an error in a predicate function; return non-nil.
18721 (vc-dir-mark-file): Move the error here.
18722 (vc-dir-mark-unmark): If acting on the region, keep going if one
18723 of the entries cannot be marked/unmarked.
18724 (vc-dir-mark-all-files): If current entry is a directory, mark
18725 only child files, as documented.
18727 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18729 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18730 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18733 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18735 * term/ns-win.el (ns-get-selection-internal)
18736 (ns-store-selection-internal): Declare.
18737 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18738 Declare as obsolete.
18739 (ns-get-pasteboard, ns-paste-secondary):
18740 Use ns-get-selection-internal.
18741 (ns-set-pasteboard, ns-copy-including-secondary):
18742 Use ns-store-selection-internal.
18744 2011-12-17 Chong Yidong <cyd@gnu.org>
18746 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18747 (vc-deduce-fileset): Doc fix.
18749 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18751 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18753 2011-12-13 Sam Steingold <sds@gnu.org>
18755 * man.el (Man-getpage-in-background): When running under a
18756 window-system, ignore $MANWIDTH and $COLUMNS.
18758 2011-12-15 Kenichi Handa <handa@m17n.org>
18760 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18761 (setup-ethiopic-environment-internal): Comment out key-binding for
18762 ethio-toggle-punctuation.
18764 2011-12-13 Alan Mackenzie <acm@muc.de>
18766 Add the switch statement to AWK Mode.
18768 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18769 "default" to the keywords regexp.
18771 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18772 expression as the rest.
18773 (c-nonlabel-token-key): Allow string literals for AWK.
18774 Refactor for the other modes.
18776 Large brace-block initialisation makes CC Mode slow: Fix.
18777 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18778 routines. Limit backward searching in c-font-lock-enclosing.decl.
18780 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18781 pp-state and literal type in addition to the limits.
18782 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18783 (c-state-literal-at): Use the above new defun.
18784 (c-slow-in-literal, c-fast-in-literal): Remove.
18785 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18787 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18788 being in a literal. Add a limit for backward searching.
18790 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18793 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18795 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18797 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18799 * window.el (delete-other-windows): Use correct frame in call to
18800 window-with-parameter.
18802 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18804 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18805 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18806 (makefile-gmake-statements, makefile-makepp-statements):
18807 Use it and add new makepp keywords.
18808 (makefile-makepp-font-lock-keywords): Add new patterns.
18809 (makefile-match-function-end): Match new [...] and [[...]].
18811 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18813 * ses.el (ses-call-printer-return, ses-cell-property-get)
18814 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18815 (ses-create-cell-variable, ses-reset-header-string)
18816 (ses-cell-set-formula, ses-repair-cell-reference-all)
18817 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18818 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18819 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18820 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18821 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18822 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18823 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18824 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18825 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18826 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18827 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18828 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18830 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18832 * ses.el: The overall change is to add cell renaming, that is
18833 setting fancy names for cell symbols other than name matching
18834 "\\`[A-Z]+[0-9]+\\'" regexp .
18835 (ses-create-cell-variable): New defun.
18836 (ses-relocate-formula): Relocate formulas only for cells the
18837 symbols of which are not renamed, i.e. symbols whose names do not
18838 match regexp "\\`[A-Z]+[0-9]+\\'".
18839 (ses-relocate-all): Relocate values only for cells the symbols of
18840 which are not renamed.
18841 (ses-load): Create cells variables as the (ses-cell ...) are read,
18842 in order to check row col consistency with cell symbol name only
18843 for cells that are not renamed.
18844 (ses-replace-name-in-formula): New defun.
18845 (ses-rename-cell): New defun.
18847 2011-12-11 Chong Yidong <cyd@gnu.org>
18849 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18850 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18852 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18854 * window.el (other-window): Fix docstring.
18856 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18858 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18859 `from' or `to' address before taking its substring.
18860 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18861 encoded name is chopped in the middle of the encoded string, and
18862 thus displayed encoded.
18864 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18866 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18868 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18870 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18871 to use texinfo-update-node and commands that call it if the
18872 Texinfo file uses @node lines without next/prev/up pointers.
18873 Correct outdated description about texinfo-master-menu.
18874 (texinfo-all-menus-update, texinfo-master-menu)
18875 (texinfo-update-node, texinfo-every-node-update)
18876 (texinfo-multiple-files-update): Doc fix. Warn against updating
18877 all the @node lines.
18878 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18879 argument is numeric. Explain better in the doc string what the
18880 function really does.
18881 (texinfo-insert-master-menu-list): Improve the error message
18882 displayed if there's no menu in the Top node.
18883 (Bug#2975) See also this thread:
18884 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18886 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18888 * speedbar.el (speedbar-supported-extension-expressions):
18889 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18891 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18893 * printing.el (pr-mode-alist):
18894 * simple.el (filter-buffer-substring-functions)
18895 (completion-list-insert-choice-function):
18896 * window.el (window-with-parameter, window-atom-root)
18897 (window-sides-slots, window-size-fixed, window-min-delta)
18898 (window-max-delta, window--resize-mini-window)
18899 (window--resize-child-windows-normal, window-tree)
18900 (delete-other-windows, quit-window, split-window)
18901 (display-buffer-record-window, special-display-buffer-names)
18902 (special-display-regexps, special-display-popup-frame)
18903 (same-window-p, split-window-sensibly)
18904 (display-buffer-overriding-action, display-buffer-alist)
18905 (display-buffer-base-action, display-buffer, switch-to-buffer)
18906 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18907 (fit-window-to-buffer, recenter-positions)
18908 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18909 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18910 and remove unneeded backslashes in docstrings.
18912 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18914 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18916 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18917 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18919 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18920 when reading the makefile (bug#10116).
18922 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18924 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18927 2011-12-06 Glenn Morris <rgm@gnu.org>
18929 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18931 2011-12-06 Chong Yidong <cyd@gnu.org>
18933 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18935 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18937 * textmodes/table.el (table-shorten-cell): Fix typo.
18939 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18941 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18943 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18945 * descr-text.el (describe-char): Fix display of strong
18946 right-to-left characters and directional embeddings and overrides.
18948 * simple.el (what-cursor-position): Fix display of codepoints of
18949 strong right-to-left characters.
18951 2011-12-05 Chong Yidong <cyd@gnu.org>
18953 * faces.el (read-color): Doc fix.
18955 2011-12-05 Glenn Morris <rgm@gnu.org>
18957 * align.el (align--set-marker): Add doc-string.
18958 Don't try to move something that is not a marker. (Bug#10216)
18960 2011-12-04 Glenn Morris <rgm@gnu.org>
18962 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18963 overly zealous deletion of trailing whitespace.
18965 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18967 * server.el (server-delete-client): On Windows, do not try to delete
18969 (server-process-filter): On Windows, treat requests for a tty frame as
18970 if they were for a GUI frame if the running server is in GUI mode.
18972 2011-12-03 Glenn Morris <rgm@gnu.org>
18974 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18976 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18978 * electric.el: Streamline electric-indent's hook.
18979 (electric-indent-chars): Revert to simple list.
18980 (electric-indent-functions): New var.
18981 (electric-indent-post-self-insert-function): Use it.
18983 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18984 there's no inferior buffer (bug#10196).
18985 (prolog-consult-compile): Don't use toggle-read-only.
18987 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18989 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18990 interrupt. (Bug#10187)
18992 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18994 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18997 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19000 2011-12-02 Juri Linkov <juri@jurta.org>
19002 * info.el (Info-search): Display "end of manual" when Isearch
19003 reaches the end of single-file Info manual. (Bug#9918)
19005 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19007 * isearch.el (isearch-message-prefix): Run the input method part
19008 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19010 2011-12-02 Juri Linkov <juri@jurta.org>
19012 * isearch.el (isearch-occur): Use `word-search-regexp' for
19014 (isearch-search-and-update): Add condition for `isearch-word' and
19015 call `word-search-regexp'. (Bug#10145)
19017 2011-12-01 Glenn Morris <rgm@gnu.org>
19019 * eshell/em-hist.el (eshell-hist-initialize):
19020 Handle eshell-history-size nil and HISTSIZE set or unset.
19021 (eshell-history-file-name, eshell-history-size): Fix custom type.
19023 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19025 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19027 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19029 * progmodes/verilog-mode.el (verilog-pretty-expr):
19030 Rework verilog-pretty-expr to handle new assignment operators in system
19031 verilog, such as += *= and the like.
19032 (verilog-assignment-operator-re): Regular expression to find the
19033 assigment operator in a verilog assignment.
19034 (verilog-assignment-operation-re): Regular expression to find an
19035 assignment statement for pretty-expr.
19036 (verilog-in-attribute-p): Query returns true if point is in an
19037 attribute context; used to skip these for expression line up from
19039 (verilog-in-parameter-p): Query returns true if point is in an
19040 parameter definition context; used to skip these for expression
19041 line up from pretty-expr.
19042 (verilog-in-parenthesis-p): Query returns true if point is in a
19043 parenthetical expression, specifically ( ) but not [ ] or { };
19044 used by pretty-expr.
19045 (verilog-just-one-space): If there is no space, don't add one.
19046 (verilog-get-lineup-indent-2): Specifically skip just attribute
19047 contexts for expression lineup, rather than skipping all
19048 parenthetical expressions.
19049 (verilog-calculate-indent): Fix comment, and fix indent.
19050 (verilog-do-indent): Indent declarations in lists (suggested by
19052 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19054 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19057 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19059 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19060 parameters with embedded comments. Reported by Ray Stevens.
19061 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
19062 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19063 Reported by Tim Holt.
19064 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19065 instantiated by upper module causing wrong expansion until AUTOed a
19066 second time. Reported by K C Buckenmaier.
19067 (verilog-diff-auto): Fix showing .* as a difference when
19068 `verilog-auto-star-save' off. Reported by Dan Dever.
19069 (verilog-auto-reset, verilog-read-always-signals)
19070 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19071 temporary signals in reset list if
19072 verilog-auto-reset-blocking-in-non is nil, and match assignment
19073 style to each signal's assignment type, bug381.
19074 Reported by Thomas Esposito.
19075 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19076 (verilog-uvm-statement-re): Support UVM indentation and
19077 highlighting, with old OVM keywords only.
19078 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19079 Support AUTOTIEOFF creating non-wire data types.
19080 Suggested by Jonathan Greenlaw.
19081 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19082 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19083 (verilog-inject-sense, verilog-read-inst-pins)
19084 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19085 Fix mismatching parenthesis inside commented out code when deleting
19086 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19087 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19088 non-numeric vector width. Reported by Alex Reed.
19089 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19090 detecting signals with parameter widths. Reported by Alex Reed.
19091 (verilog-auto-delete-trailing-whitespace):
19092 With `verilog-auto-delete-trailing-whitespace' remove trailing
19093 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19094 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19095 Fix verilog-scan-cache corruption when running user AUTO expansion
19096 hooks that call indentation routines.
19097 (verilog-simplify-range-expression): Fix typo ignoring lower case
19099 (verilog-delete-auto): Fix delete-autos to also remove user created
19100 automatics, as long as they start with AUTO.
19101 (verilog-batch-diff-auto, verilog-diff-auto)
19102 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19103 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19104 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19105 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19106 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19107 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19108 is disabled and its cache will get corrupt, causing AUTOS not to
19109 expand. Instead use only -quick functions.
19110 (verilog-scan-region): Fix scanning over escaped quotes.
19111 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19112 (verilog-re-search-backward-quick)
19113 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19114 related functions now ignore strings, to fix misparsing of strings
19115 with magic comments embedded in them.
19116 (verilog-read-auto-template):
19117 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19118 Reported by Brad Dobbie.
19119 (verilog-read-auto-template):
19120 Fix 'verilog-auto-inst-template-numbers' with comments.
19121 Reported by Brad Dobbie.
19122 (verilog-auto-inst, verilog-auto-inst-param)
19123 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19124 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19125 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19126 debugging templates without merge conflicts, bug357.
19127 Reported by Brad Dobbie.
19128 (verilog-read-auto-template):
19129 Fix verilog-auto-inst-template-numbers with multiple templates.
19130 Reported by Brad Dobbie.
19131 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19132 abbrevs so user won't be asked to save.
19133 (verilog-read-auto-lisp-present): Fix to start at beginning of
19134 buffer in case called outside of verilog-auto.
19135 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19136 to "X-2". Reported by Matthew Myers.
19137 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19138 all inputs from module templates. Reported by Leith Johnson.
19139 (verilog-module-inside-filename-p): Fix locating programs as with
19141 (verilog-auto-inst-port): Fix vl-width expressions when using
19142 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19143 (verilog-decls-get-regs, verilog-decls-get-signals,
19144 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19145 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19146 verilog-read-decls): Combine reg and wire structures into one var
19147 structure to represent SystemVerilog concepts.
19148 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19149 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19150 (verilog-auto-wire-type, verilog-insert-definition):
19151 Add verilog-auto-wire-type and AUTOLOGIC to support using
19152 SystemVerilog "logic" keyword instead of "wire"/"reg".
19153 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19154 to declares outputs that also have assignments (presumably in an
19155 ifdef or generate if so there's not a driver conflict).
19156 Reported by Matthew Myers.
19157 (verilog-auto-declare-nettype, verilog-insert-definition):
19158 Add verilog-auto-declare-nettype to fix declarations using
19159 `default_nettype none. Reported by Julian Gorfajn.
19160 (verilog-read-always-signals-recurse, verilog-read-decls)
19161 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19162 malformed end statement, bug325. Reported by Joshua Wise and
19164 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19165 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19166 when expanding .* in interfaces, bug320.
19167 Reported by Pierre-David Pfister.
19168 (verilog-read-module-name): Fix import statements between module
19169 name and open parenthesis, bug317.
19170 Reported by Pierre-David Pfister.
19171 (verilog-simplify-range-expression): Fix simplification of
19172 multiplications inside AUTOWIRE connections, bug303.
19173 (verilog-auto-inst-port): Support parameter expansion in
19174 multidimensional arrays.
19175 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19176 after "assert property". Reported by Julian Gorfajn.
19177 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19178 with multiplication, bug303.
19179 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19180 Reported by Jan Frode Lonnum.
19182 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19184 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19185 (hfy-shell-file-name, hfy-shell):
19186 * international/fontset.el (x-decompose-font-name): Fix typos.
19188 2011-11-29 Ken Brown <kbrown@cornell.edu>
19190 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19191 (gdb-version): Remove defvar.
19192 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19193 (gdb-gud-context-command, gdb-non-stop-handler)
19194 (gdb-current-context-command, gdb-stopped): Use it.
19195 (gdb-init-1): Enable pretty printing here.
19196 (gdb-non-stop-handler): Don't enable pretty-printing here.
19197 Check to see if the target supports non-stop mode; if not, turn off
19198 non-stop mode. Use the following.
19199 (gdb-check-target-async): New defun.
19200 (gud-watch, gdb-stopped): Fix whitespace.
19201 (gdb-get-source-file): Don't try to display the source file if
19202 `gdb-main-file' is nil.
19204 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19206 * align.el: Try to generate fewer markers (bug#10047).
19207 (align--set-marker): New macro.
19208 (align-region): Use it.
19210 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19212 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19214 2011-11-29 Chong Yidong <cyd@gnu.org>
19216 * indent.el (indent-for-tab-command, indent-according-to-mode):
19218 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19220 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19222 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19223 aware of remote file names. (Bug#10124)
19225 2011-11-29 Chong Yidong <cyd@gnu.org>
19227 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19229 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19231 * files.el (find-file): Don't use force-same-window (bug#10144).
19232 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19233 use pop-to-buffer if the selected window can't be used.
19234 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19236 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19238 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19241 2011-11-28 Chong Yidong <cyd@gnu.org>
19243 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19245 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19247 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19248 gdb-get-source-file-list on gdb-create-source-file-list.
19250 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19252 * whitespace.el (whitespace-newline): Use a different foreground
19253 color for 16-color light-background displays.
19255 2011-11-24 Chong Yidong <cyd@gnu.org>
19257 * window.el (display-buffer--special-action): Doc fix.
19259 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19261 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19262 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19263 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19264 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19265 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19266 (avl-tree-stack-first):
19267 * emacs-lisp/cconv.el (cconv--analyse-use):
19268 * net/gnutls.el (gnutls-negotiate): Fix typos.
19270 2011-11-24 Glenn Morris <rgm@gnu.org>
19272 * lpr.el (lpr-windows-system, lpr-lp-system):
19273 * mail/binhex.el (binhex-begin-line):
19274 * progmodes/grep.el (grep-history, grep-find-history):
19275 * textmodes/flyspell.el:
19276 * vc/pcvs-defs.el (cvs-global-menu):
19277 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19278 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19279 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19281 * net/tls.el: Fix case of "GnuTLS".
19283 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19285 * version.el (emacs-build-system): Give it a doc-string.
19287 2011-11-24 Juri Linkov <juri@jurta.org>
19289 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19291 2011-11-24 Glenn Morris <rgm@gnu.org>
19293 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19294 if called on a non-mime message just toggle the headers. (Bug#8006)
19296 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19298 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19299 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19300 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19301 (allout-rebullet-heading, allout-open-sibtopic)
19302 (allout-toggle-current-subtree-encryption)
19303 (allout-toggle-subtree-encryption, allout-encrypt-string)
19304 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19305 (allout-distinctive-bullets-string, allout-auto-activation):
19306 * window.el (window-normalize-buffer-to-display):
19307 * progmodes/verilog-mode.el (verilog-batch-indent):
19308 * textmodes/bibtex.el (bibtex-field-braces-opt)
19309 (bibtex-field-strings-opt):
19310 * vc/cvs-status.el (cvs-tree-merge):
19313 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19315 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19316 `non-essential' to t, in order to avoid remote connections.
19318 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19320 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19321 On MS-DOS and MS-Windows, compare with loaddefs.el
19322 case-insensitively.
19324 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19326 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19328 2011-11-23 Glenn Morris <rgm@gnu.org>
19330 * paths.el (rmail-file-name): Reformat the doc-string so that it
19333 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19334 (rmail-auto-file): Ignore case in the "special" field names,
19335 as mail-fetch-field does for all others.
19337 * mail/rmail.el (rmail-forward):
19338 * mail/rmailkwd.el (rmail-set-label):
19339 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19340 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19342 * mail/rmail.el (rmail-current-message): Doc fix.
19344 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19346 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19348 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19350 2011-11-22 Glenn Morris <rgm@gnu.org>
19352 * mail/rmailmm.el (test-rmail-mime-handler)
19353 (test-rmail-mime-bulk-handler)
19354 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19356 2011-11-21 Juri Linkov <juri@jurta.org>
19358 * calc/calc.el (calc-read-key-sequence):
19359 Let-bind `input-method-function' to nil. (Bug#10018)
19361 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19363 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19364 Tell the caller that the next line needs recomputation, even
19365 though it doesn't start a sexp (bug#10094).
19367 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19369 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19371 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19373 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19374 Use force-same-window.
19376 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19378 * descr-text.el (describe-char-unicode-data):
19379 * json.el (json-string-escape):
19380 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19381 (Footnote-unicode, Footnote-style-p):
19382 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19384 2011-11-20 Chong Yidong <cyd@gnu.org>
19386 * window.el (replace-buffer-in-windows): Restore interactive spec.
19388 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19390 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19392 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19393 (byte-compile-global-not-obsolete-vars): New var.
19394 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19396 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19398 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19400 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19401 * progmodes/pascal.el (electric-pascal-equal):
19402 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19403 * xml.el (xml-substitute-special): Fix typos.
19405 2011-11-20 Glenn Morris <rgm@gnu.org>
19407 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19408 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19410 (rmail-decode-mime-charset): Mark as obsolete.
19412 * mail/rmailsum.el (rmail-message-regexp-p-1):
19413 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19414 Before using mime functions, check they are set. (Bug#10077)
19416 2011-11-19 Juri Linkov <juri@jurta.org>
19418 * info.el (Info-finder-find-node): Use `package--builtins' instead
19419 of `package-alist'. Use node names formed by the pattern "Keyword "
19420 and the keyword name.
19422 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19424 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19426 2011-11-19 Juri Linkov <juri@jurta.org>
19428 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19429 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19430 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19431 `old-history', `old-history-forward'. Add let-binding
19432 `window-selected'. Remove calls to `kill-buffer',
19433 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19434 before calling `Info-find-node', so `Info-find-node-2' will reread
19435 the Info file. Restore window positions only when `window-selected'
19438 2011-11-19 Juri Linkov <juri@jurta.org>
19440 * isearch.el (isearch-lazy-highlight-new-loop):
19441 Remove condition `(not isearch-error)'. (Bug#9918)
19443 * misearch.el (multi-isearch-search-fun): Add condition
19444 `(not bound)' to ignore lazy-highlighting search.
19445 Add the search-failed message "end of multi" when the end of
19446 multi-sequence is reached. Uncapitalize the search-failed
19447 message "Repeat for next buffer".
19449 * info.el (Info-search): Add the search-failed message
19450 "end of the manual" when the end of the manual is reached
19453 2011-11-19 Juri Linkov <juri@jurta.org>
19455 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19456 Use non-destructive `remove' instead of `delete' because
19457 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19458 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19460 2011-11-19 Juri Linkov <juri@jurta.org>
19462 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19463 to nil instead of binding `search-ring' and `regexp-search-ring'.
19466 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19468 * simple.el (line-move): Force movement by logical lines for any
19469 hscrolled window, not only when auto-hscroll-mode is on.
19470 (line-move-visual): Update doc string to that effect. (Bug#10076)
19472 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19474 * language/european.el (macintosh): Define as alias for mac-roman.
19476 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19478 * mail/rmailmm.el (rmail-mime-display-header)
19479 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19480 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19481 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19482 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19483 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19485 (rmail-mime-entity-segment): To get past the tagline, move forward
19486 2 more lines, to account for the 2 empty lines that precede and
19487 follow the line with the buttons.
19488 (rmail-mime-update-tagline): Move one more line, to get past the
19489 empty line that follows the buttons in the tagline. (Bug#9520)
19491 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19493 * window.el (window-max-delta-1, window-min-delta-1)
19494 (window-min-size-1, window-state-get-1, window-state-put-1)
19495 (window-state-put-2): Use "window--" prefix.
19497 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19499 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19500 (smie-warning-count): New var.
19501 (smie-set-prec2tab): Use it.
19502 (smie-bnf->prec2): Improve warnings. Add docstring.
19503 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19504 (smie-bnf--set-class): New function.
19505 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19508 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19509 (compilation-error-properties, compilation-move-to-column):
19510 Handle compilation-first-column while in the target buffer.
19512 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19513 Don't hardcode point-min==1.
19515 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19516 (eshell-rewrite-for-command): Remove workaround.
19517 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19518 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19519 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19521 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19523 2011-11-17 Glenn Morris <rgm@gnu.org>
19525 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19526 Ignore buffer-local generated-autoload-file if it is the same
19527 as the global value. (Bug#10049)
19529 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19531 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19532 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19533 (reftex-toc-previous-heading, reftex-toc-max-level)
19534 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19535 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19536 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19537 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19538 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19539 (reftex-toc-rename-label, reftex-toc-visit-location)
19540 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19541 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19542 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19543 leaving "*toc*" only for references to the buffer.
19545 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19547 * window.el (window-resize, delete-window, split-window):
19548 Replace window-splits by window-combination-resize.
19549 * cus-start.el (window-splits): Replace by window-combination-resize.
19551 2011-11-17 Glenn Morris <rgm@gnu.org>
19553 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19554 Make bash entry derive from sh entry, not shell entry.
19556 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19558 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19561 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19563 * menu-bar.el (menu-bar-file-menu):
19564 * printing.el (pr-ps-utility):
19565 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19566 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19567 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19568 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19569 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19570 (icalendar--convert-cyclic-to-ical)
19571 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19572 (icalendar--convert-ical-to-diary)
19573 (icalendar--convert-recurring-to-diary)
19574 (icalendar--convert-non-recurring-all-day-to-diary)
19575 (icalendar-import-format-sample):
19576 * progmodes/idlw-shell.el (idlwave-shell-mode):
19577 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19578 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19579 (vhdl-ps-print-init): Fix typos.
19581 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19583 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19584 FSF and collapse date sequence, obscure author/maintainer email address
19585 better, remove extra version line, track relocation of author's webpage.
19587 * progmodes/python.el (python-pdbtrack-input-prompt)
19588 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19589 regular python pdb prompts. Adjustments shamelessly taken exactly as
19590 suggested in EmacsWiki page (tiny change):
19591 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19593 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19595 * expand.el (expand-pos, expand-index, expand-point):
19596 Remove redundant info from docstring.
19597 (expand-add-abbrevs): Doc fix.
19598 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19599 (expand-sample-perl-mode-expand-list): Fix typos.
19601 * net/dbus.el (dbus-event-member-name):
19602 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19603 * term/pc-win.el (msdos-create-frame-with-faces):
19604 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19606 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19608 * window.el (split-window, window-state-get-1)
19609 (window-state-put-1, window-state-put-2): Rename occurrences of
19610 window-nest to window-combination-limit.
19611 * cus-start.el (window-nest): Rename to window-combination-limit.
19613 2011-11-16 Chong Yidong <cyd@gnu.org>
19615 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19616 regexp (Bug#10033).
19618 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19620 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19621 `completing-read' will remove *Completions* and will preserve
19622 current-buffer for us.
19623 (tmm-add-prompt): Users of *Completions* will always (re)set its
19625 (tmm-old-comp-map): Remove.
19627 2011-11-16 Glenn Morris <rgm@gnu.org>
19629 * mail/rmailedit.el: Require rmailmm when compiling.
19630 (rmail-old-mime-state): New declaration.
19631 (rmail-edit-current-message): If editing a mime message,
19632 edit the "raw" message from the mbox buffer.
19633 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19635 2011-11-15 Glenn Morris <rgm@gnu.org>
19637 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19638 which wasn't being used. Add optional arg to force given state.
19639 (rmail-mime): Add optional arg to force given state.
19641 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19643 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19644 * frame.el (display-mm-dimensions-alist):
19645 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19646 (outline-move-subtree-down):
19647 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19648 (newsticker--treeview-do-get-node):
19649 * net/quickurl.el (quickurl-list-buffer-name):
19650 * progmodes/dcl-mode.el (dcl-mode):
19651 * progmodes/gdb-mi.el (gdb-mapcar*):
19652 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19654 2011-11-15 Glenn Morris <rgm@gnu.org>
19656 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19657 in a boolean sense, so just make it a boolean, and fix the doc.
19658 (rmail-show-mime-function, rmail-mime-feature)
19659 (rmail-require-mime-maybe): Doc fixes.
19660 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19662 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19664 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19666 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19667 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19668 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19669 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19671 2011-11-15 Glenn Morris <rgm@gnu.org>
19673 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19674 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19675 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19676 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19677 (rmail-mime, rmail-show-mime): Doc fixes.
19679 * term/ns-win.el (mode-line-frame-identification):
19680 Leave it alone. (Bug#10051)
19682 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19684 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19685 Handle empty buffers. (Bug#9978)
19687 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19689 * international/mule.el (define-charset):
19690 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19691 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19692 * progmodes/verilog-mode.el (verilog-backward-token):
19693 * textmodes/ispell.el (lookup-words):
19694 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19696 2011-11-14 Glenn Morris <rgm@gnu.org>
19698 * progmodes/executable.el
19699 (executable-make-buffer-file-executable-if-script-p):
19700 Handle file-modes returning nil.
19702 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19703 message - not necessary, and causes problems. (Bug#9831)
19705 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19707 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19709 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19710 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19711 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19713 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19715 * window.el (window-resize, delete-window): Use window-splits
19716 variable instead of function.
19717 (window-state-get-1, window-state-put-2, window-state-put):
19718 Don't deal with windows' splits status.
19720 2011-11-12 Glenn Morris <rgm@gnu.org>
19722 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19723 (apropos-documentation): Doc fixes.
19725 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19727 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19728 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19730 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19732 * electric.el (electric-indent-post-self-insert-function): Make it
19733 possible for a char to only indent in some circumstances.
19734 (electric-indent-mode): Simplify.
19736 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19738 * window.el (windows-with-parameter): Remove unused function.
19739 (windows-at-side): Rename to window-at-side-list.
19740 (window-check, window-atom-check, window-atom-check-1)
19741 (window-side-check, window-size-ignore, window-size-fixed-1)
19742 (window-in-direction-2): Prefix with "window--".
19743 (window-tree-1): Rename to window--subtree, fix doc-string.
19745 2011-11-11 Glenn Morris <rgm@gnu.org>
19747 * subr.el (eval-after-load): If FILE is already loaded,
19748 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19750 2011-11-10 Glenn Morris <rgm@gnu.org>
19752 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19753 Call svn via vc-svn-command rather than vc-do-command.
19754 (vc-svn-command): Add --non-interactive. (Bug#9993)
19755 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19757 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19758 Add toggle-read-only. (Bug#7292)
19759 * files.el (toggle-read-only): Mention that it should only
19760 be used interactively. (Bug#10006)
19762 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19764 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19765 Adjust regexp for OCaml warnings.
19767 * electric.el (electric-pair-post-self-insert-function): Let user
19768 turn it off buffer-locally (bug#9932).
19770 * progmodes/python.el (python-beginning-of-statement):
19771 Rewrite (bug#2703).
19773 * progmodes/compile.el: Better handle TABs (bug#9749).
19774 (compilation-internal-error-properties)
19775 (compilation-next-error-function): Obey the target buffer's
19776 compilation-error-screen-columns.
19778 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19780 * progmodes/meta-mode.el: Remove obsolete comments.
19781 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19782 Fix typos in docstrings.
19784 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19786 * window.el (window-size-fixed-p): Rewrite doc-string.
19787 (window-resizable-p): Rename to window--resizable-p. Update callers.
19788 (window--resizable): New function. Make all callers of
19789 window-resizable call window--resizable instead.
19790 (window-resizable): Rewrite in terms of window--resizable.
19792 2011-11-08 Glenn Morris <rgm@gnu.org>
19794 * progmodes/delphi.el (delphi-mode-syntax-table):
19795 Let define-derived-mode define a proper syntax table. (Bug#9994)
19797 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19799 * window.el: Stay away from defsubst.
19800 (window-list-no-nils): Remove.
19801 (window-state-get-1, window-state-get): Use backquote instead.
19803 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19805 * emacs-lisp/find-func.el (find-function-read):
19806 Fix incorrect use of default argument in `completing-read'.
19808 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19810 * window.el (display-buffer-function, special-display-function):
19811 Mention display-buffer-record-window but do not mention
19812 help-setup parameter in doc-strings.
19813 (window-min-delta): Fix doc-string typo.
19815 2011-11-08 Chong Yidong <cyd@gnu.org>
19817 * window.el (window-total-height, window-total-width): Doc fix.
19818 (window-body-size): Move from C.
19819 (window-body-height, window-body-width): Move to C.
19821 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19823 * window.el: Make special-display like display-buffer-alist (bug#9532).
19824 (display-buffer--special-action): New function, morphed
19825 from display-buffer--special.
19826 (display-buffer): Use it to handle special-display-buffers at higher
19827 priority (just after display-buffer-alist).
19828 (display-buffer-fallback-action, display-buffer--other-frame-action)
19829 (pop-to-buffer-same-window): Remove display-buffer--special.
19831 2011-11-07 Glenn Morris <rgm@gnu.org>
19833 * calendar/cal-menu.el (cal-menu-set-date-title):
19834 Do nothing if not in a calendar. (Bug#9976)
19836 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19838 * files.el (find-file): Always use selected-window.
19840 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19842 * window.el (window-combinations): Make WINDOW argument
19843 mandatory. Rewrite doc-string.
19844 (walk-window-subtree, window-atom-check, window-min-delta)
19845 (window-max-delta, window--resize-this-window)
19846 (window--resize-root-window-vertically, window-tree)
19847 (balance-windows, window-state-put): Rewrite doc-strings as to
19848 not mention the term "subwindow".
19849 (window--resize-subwindows-skip-p): Rename to
19850 window--resize-child-windows-skip-p.
19851 (window--resize-subwindows-normal): Rename to
19852 window--resize-child-windows-normal.
19853 (window--resize-subwindows): Rename to
19854 window--resize-child-windows.
19855 (window-or-subwindow-p): Rename to window--in-subtree-p.
19857 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19859 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19860 Ensure that mbox format messages end in two newlines (Bug#9974).
19862 2011-11-06 Chong Yidong <cyd@gnu.org>
19864 * window.el (window-combination-p): Function deleted; its
19865 side-effect is not used in any existing code.
19866 (window-combinations, window-combined-p): Call window-*-child
19869 2011-11-05 Chong Yidong <cyd@gnu.org>
19871 * window.el (window-valid-p): Rename from window-any-p.
19872 (window-size-ignore, window-state-get): Callers changed.
19873 (window-normalize-window): Rename from window-normalize-any-window.
19874 New arg LIVE-ONLY, replacing window-normalize-live-window.
19875 (window-normalize-live-window): Delete.
19876 (window-combination-p, window-combined-p, window-combinations)
19877 (walk-window-subtree, window-atom-root, window-min-size)
19878 (window-sizable, window-sizable-p, window-size-fixed-p)
19879 (window-min-delta, window-max-delta, window-resizable)
19880 (window-resizable-p, window-full-height-p, window-full-width-p)
19881 (window-current-scroll-bars, window-point-1, set-window-point-1)
19882 (window-at-side-p, window-in-direction, window-resize)
19883 (adjust-window-trailing-edge, maximize-window, minimize-window)
19884 (window-deletable-p, delete-window, delete-other-windows)
19885 (record-window-buffer, unrecord-window-buffer)
19886 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19887 (quit-window, split-window, window-state-put)
19888 (set-window-text-height, fit-window-to-buffer)
19889 (shrink-window-if-larger-than-buffer): Callers changed.
19891 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19893 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19894 rfc2047-decode-string.
19895 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19898 * window.el (window-body-height, window-body-width): Mention in
19899 the doc string that the return values are in frame's canonical
19902 2011-11-03 Alan Mackenzie <acm@muc.de>
19904 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19905 change in cc-engine.el.
19907 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19909 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19911 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19913 * window.el (quit-window): Call unrecord-window-buffer after
19914 showing another buffer in the window. (Bug#9937)
19915 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19917 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19919 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19920 Accept status with more than 9 shelves. (Bug#9935)
19921 Reported by Colin D Bennett <colin@gibibit.com>.
19923 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19925 * help.el (with-help-window): Don't reference
19926 temp-buffer-show-specifiers in doc-string.
19928 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19930 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19933 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19935 * whitespace.el: New version 13.2.2.
19936 (whitespace-newline-mode): Disable properly. Reported by Sarah
19939 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19941 * net/newst-treeview.el: Remove "Time-stamp".
19942 (newsticker--group-manage-orphan-feeds): Do not call
19943 newsticker--treeview-tree-update.
19944 (newsticker-treeview-update, newsticker-treeview):
19945 Call newsticker--treeview-tree-update if necessary.
19947 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19949 * window.el (window-iso-combination-p, window-iso-combined-p)
19950 (window-iso-combinations): Remove "iso-" infix.
19951 Suggested by Chong Yidong.
19952 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19953 (window-max-delta-1, window-resize, window--resize-siblings)
19954 (window--resize-this-window, adjust-window-trailing-edge)
19955 (split-window, balance-windows-1)
19956 (shrink-window-if-larger-than-buffer):
19957 * calendar/calendar.el (calendar-generate-window):
19958 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19960 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19962 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19963 in place (bug#9907).
19964 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19965 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19966 (eshell-structure-basic-command, eshell-rewrite-while-command)
19967 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19968 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19969 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19970 (eshell-do-pipelines-synchronously, eshell-eval-command):
19971 Use backquotes and prefer setq to set.
19972 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19973 (eshell-macrop): Use functionp.
19974 (eshell-do-eval): Handle multiple expressions in `while' body.
19976 2011-10-30 Chong Yidong <cyd@gnu.org>
19978 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19979 instead of set-mark (Bug#9810).
19981 2011-10-30 Chong Yidong <cyd@gnu.org>
19983 * window.el (split-window-below, split-window-right): Rename from
19984 split-window-above-each-other and split-window-side-by-side
19985 respectively. All callers changed.
19986 (split-window-sensibly, split-window-sensibly): Use them.
19987 (split-window-keep-point): Doc fix.
19989 * isearch.el: Add isearch-scroll property to split-window-below
19990 and split-window-right.
19992 * follow.el (follow-mode):
19993 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19994 * progmodes/ada-xref.el (ada-gdb-application):
19995 * emulation/vip.el (vip-buffer-in-two-windows):
19996 * image-dired.el (image-dired-dired-with-window-configuration):
19997 * dired-x.el (dired-do-find-marked-files):
19998 * dired.el (dired-pop-to-buffer):
19999 * bs.el (bs--show-with-configuration):
20000 * vc/emerge.el (emerge-setup-windows):
20001 * textmodes/two-column.el (2C-two-columns):
20002 * textmodes/reftex-toc.el (reftex-toc):
20003 * progmodes/gdb-mi.el (gdb-setup-windows):
20004 * progmodes/fortran.el (fortran-window-create):
20005 * net/newst-treeview.el (newsticker--treeview-window-init):
20006 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20007 * emulation/tpu-edt.el (tpu-gold-map):
20008 * emulation/crisp.el (crisp-mode-map):
20009 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20011 2011-10-29 Chong Yidong <cyd@gnu.org>
20013 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20015 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20017 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20018 forged Ispell output (Bug#7904).
20020 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20022 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20024 * doc-view.el: Avoid ugly errors about not finding nil.
20025 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20026 (doc-view-dvipdf-program, doc-view-unoconv-program)
20027 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20028 Avoid nil or absolute file name as default value.
20029 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20031 2011-10-28 Alan Mackenzie <acm@muc.de>
20033 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20035 2011-10-28 Alan Mackenzie <acm@muc.de>
20037 Amend the handling of c-beginning/end-of-defun in nested declaration
20040 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20041 cc-langs.el. Change it to a defcustom.
20043 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20046 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20047 Prevent "class foo : bar" being spuriously recognized as a label.
20049 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20050 Add parameter `inclusive' (to include enclosing braces in the region).
20051 (c-widen-to-enclosing-decl-scope): New function.
20052 (c-while-widening-to-decl-block): New macro.
20053 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20054 outward for defun boundaries, and correspondingly change symbol
20055 `respect-enclosure' to `go-outward'.
20056 (c-declaration-limits): Change algorithm to report only the "innermost"
20057 defun's boundaries.
20059 2011-10-28 Deniz Dogan <deniz@dogan.se>
20061 * net/rcirc.el (rcirc-mode): Use hard newlines.
20063 2011-10-28 Alan Mackenzie <acm@muc.de>
20065 Amend to indent and fontify macros "which include their own semicolon"
20066 correctly, using the "virtual semicolon" mechanism.
20068 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20070 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20071 Recode to scan one line at a time rather than having \n and \r
20072 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20073 (c-forward-label): Amend for virtual semicolons.
20074 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20076 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20077 of the new C macros.
20079 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20080 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20081 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20082 (c-opt-cpp-macro-define): Make into a full language variable.
20083 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20084 AWK Mode (including \n, \r) removed, no longer needed.
20086 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20087 Invoke c-make-macro-with-semi-re.
20089 * progmodes/cc-vars.el (c-macro-with-semi-re):
20090 (c-macro-names-with-semicolon): New variables.
20091 (c-make-macro-with-semi-re): New function.
20093 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20095 * vc/log-edit.el: Fill empty field rather than adding new one.
20096 (log-edit-add-field): New function.
20097 (log-edit-insert-changelog): Use it.
20099 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20101 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20103 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20105 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20106 (gdb--check-interpreter): New function.
20109 2011-10-27 Glenn Morris <rgm@gnu.org>
20111 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20112 (least-positive-float, least-negative-float)
20113 (least-positive-normalized-float, least-negative-normalized-float)
20114 (float-epsilon, float-negative-epsilon):
20115 Remove unnecessary declarations.
20117 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20118 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20119 (least-positive-float, least-negative-float)
20120 (least-positive-normalized-float, least-negative-normalized-float)
20121 (float-epsilon, float-negative-epsilon): Add doc-strings,
20122 based on those in cl.texi.
20124 * files.el (set-visited-file-name): If the major-mode changed,
20125 reload the local variables. (Bug#9796)
20127 2011-10-27 Chong Yidong <cyd@gnu.org>
20129 * subr.el (change-major-mode-after-body-hook): New hook.
20130 (run-mode-hooks): Run it.
20132 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20133 Use change-major-mode-before-body-hook.
20135 * simple.el (fundamental-mode):
20136 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20137 change introducing fundamental-mode-hook.
20139 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20141 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20143 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20145 * ido.el (ido-file-name-all-completions-1): Do not require
20146 tramp.el explicitly. (Bug#7583)
20148 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20150 * progmodes/octave-mod.el:
20151 * progmodes/octave-inf.el: Update maintainer.
20153 2011-10-26 Chong Yidong <cyd@gnu.org>
20155 * subr.el (with-wrapper-hook): Rewrite doc.
20157 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20159 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20160 filenames "/method:foo:". (Bug#9793)
20162 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20164 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20167 2011-10-24 Glenn Morris <rgm@gnu.org>
20169 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20171 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20173 * notifications.el: Add the requirement of a running D-Bus session
20174 bus to the Commentary.
20176 2011-10-24 Juri Linkov <juri@jurta.org>
20178 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20179 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20182 2011-10-24 Juri Linkov <juri@jurta.org>
20184 * info.el (Info-following-node-name-re): Add newline to the list
20185 of allowed characters for leading space. (Bug#9824)
20187 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20189 * progmodes/octave-inf.el (inferior-octave-mode-map):
20190 Fix C-c C-h binding.
20191 * progmodes/octave-mod.el (octave-help): Remove.
20193 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20195 Sync with Tramp 2.2.3.
20197 * net/tramp-cache.el (top): Pacify byte-compiler using
20198 `init-file-user' and `site-run-file'.
20200 * net/trampver.el: Update release number.
20202 2011-10-23 Chong Yidong <cyd@gnu.org>
20204 * files.el (toggle-read-only): Remove obsolete comment about
20207 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20208 for toggle-read-only. Note that this hasn't called vc-next-action
20209 since 2008-05-02, though it wasn't documented at the time.
20211 * vc/ediff-init.el (ediff-toggle-read-only-function):
20212 Use toggle-read-only.
20214 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20216 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20219 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20220 correct faulty logical expression.
20221 (c-parse-state-state, c-record-parse-state-state):
20222 (c-replay-parse-state-state): New defvar/defuns.
20223 (c-debug-parse-state): Use new functions.
20225 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20227 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20228 last fix. Use window-in-direction correctly.
20230 2011-10-21 Chong Yidong <cyd@gnu.org>
20232 * progmodes/idlwave.el (idlwave-mode):
20233 * progmodes/vera-mode.el (vera-mode): No need to set
20234 require-final-newline; that's done in prog-mode.
20235 Suggested by Stefan Monnier.
20237 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20239 * mouse.el (mouse-drag-window-above)
20240 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20241 (mouse-drag-mode-line-1, mouse-drag-header-line)
20242 (mouse-drag-vertical-line-rightward-window): Remove.
20243 (mouse-drag-line): New function.
20244 (mouse-drag-mode-line, mouse-drag-header-line)
20245 (mouse-drag-vertical-line): Call mouse-drag-line.
20246 * window.el (window-at-side-p, windows-at-side): New functions.
20248 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20250 * tar-mode.el (tar-grind-file-mode):
20251 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20253 2011-10-21 Chong Yidong <cyd@gnu.org>
20255 * progmodes/idlwave.el (idlwave-mode):
20256 * progmodes/vera-mode.el (vera-mode):
20257 Use mode-require-final-newline.
20259 2011-10-20 Glenn Morris <rgm@gnu.org>
20261 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20263 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20265 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20267 2011-10-20 Chong Yidong <cyd@gnu.org>
20269 * emulation/cua-base.el (cua-mode):
20270 * mail/footnote.el (footnote-mode):
20271 * mail/mailabbrev.el (mail-abbrevs-mode):
20272 * net/xesam.el (xesam-minor-mode):
20273 * progmodes/bug-reference.el (bug-reference-mode):
20274 * progmodes/cap-words.el (capitalized-words-mode):
20275 * progmodes/compile.el (compilation-minor-mode)
20276 (compilation-shell-minor-mode):
20277 * progmodes/gud.el (gud-tooltip-mode):
20278 * progmodes/hideif.el (hide-ifdef-mode):
20279 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20280 * progmodes/subword.el (subword-mode):
20281 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20282 * progmodes/which-func.el (which-function-mode):
20283 * term/tvi970.el (tvi970-set-keypad-mode):
20284 * term/vt100.el (vt100-wide-mode):
20285 * textmodes/flyspell.el (flyspell-mode):
20286 * textmodes/ispell.el (ispell-minor-mode):
20287 * textmodes/nroff-mode.el (nroff-electric-mode):
20288 * textmodes/paragraphs.el (use-hard-newlines):
20289 * textmodes/refill.el (refill-mode):
20290 * textmodes/reftex.el (reftex-mode):
20291 * textmodes/rst.el (rst-minor-mode):
20292 * textmodes/sgml-mode.el (html-autoview-mode)
20293 (sgml-electric-tag-pair-mode):
20294 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20295 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20296 * emulation/crisp.el (crisp-mode):
20297 * emacs-lisp/eldoc.el (eldoc-mode):
20298 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20299 minor mode behavior.
20301 2011-10-19 Juri Linkov <juri@jurta.org>
20303 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20304 the list of hard-coded chars with escape-glyph face.
20306 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20308 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20310 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20312 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20315 2011-10-19 Glenn Morris <rgm@gnu.org>
20317 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20318 Ignore ignored files. (Bug#9726)
20320 2011-10-19 Chong Yidong <cyd@gnu.org>
20322 Doc fix for minor modes, stating that an omitted argument enables
20323 the mode unconditionally when called from Lisp.
20325 * abbrev.el (abbrev-mode):
20326 * allout.el (allout-mode):
20327 * autoinsert.el (auto-insert-mode):
20328 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20329 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20330 (global-auto-revert-mode):
20331 * battery.el (display-battery-mode):
20332 * composite.el (global-auto-composition-mode)
20333 (auto-composition-mode):
20334 * delsel.el (delete-selection-mode):
20335 * desktop.el (desktop-save-mode):
20336 * dired-x.el (dired-omit-mode):
20337 * dirtrack.el (dirtrack-mode):
20338 * doc-view.el (doc-view-minor-mode):
20339 * double.el (double-mode):
20340 * electric.el (electric-indent-mode, electric-pair-mode):
20341 * emacs-lock.el (emacs-lock-mode):
20342 * epa-hook.el (auto-encryption-mode):
20343 * follow.el (follow-mode):
20344 * font-core.el (font-lock-mode):
20345 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20346 * help.el (temp-buffer-resize-mode):
20347 * hilit-chg.el (highlight-changes-mode)
20348 (highlight-changes-visible-mode):
20349 * hi-lock.el (hi-lock-mode):
20350 * hl-line.el (hl-line-mode, global-hl-line-mode):
20351 * icomplete.el (icomplete-mode):
20352 * ido.el (ido-everywhere):
20353 * image-file.el (auto-image-file-mode):
20354 * image-mode.el (image-minor-mode):
20355 * iswitchb.el (iswitchb-mode):
20356 * jka-cmpr-hook.el (auto-compression-mode):
20357 * linum.el (linum-mode):
20358 * longlines.el (longlines-mode):
20359 * master.el (master-mode):
20360 * mb-depth.el (minibuffer-depth-indicate-mode):
20361 * menu-bar.el (menu-bar-mode):
20362 * minibuf-eldef.el (minibuffer-electric-default-mode):
20363 * mouse-sel.el (mouse-sel-mode):
20364 * msb.el (msb-mode):
20365 * mwheel.el (mouse-wheel-mode):
20366 * outline.el (outline-minor-mode):
20367 * paren.el (show-paren-mode):
20368 * recentf.el (recentf-mode):
20369 * reveal.el (reveal-mode, global-reveal-mode):
20370 * rfn-eshadow.el (file-name-shadow-mode):
20371 * ruler-mode.el (ruler-mode):
20372 * savehist.el (savehist-mode):
20373 * scroll-all.el (scroll-all-mode):
20374 * scroll-bar.el (scroll-bar-mode):
20375 * server.el (server-mode):
20376 * shell.el (shell-dirtrack-mode):
20377 * simple.el (auto-fill-mode, transient-mark-mode)
20378 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20379 (line-number-mode, column-number-mode, size-indication-mode)
20380 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20381 * strokes.el (strokes-mode):
20382 * time.el (display-time-mode):
20383 * t-mouse.el (gpm-mouse-mode):
20384 * tool-bar.el (tool-bar-mode):
20385 * tooltip.el (tooltip-mode):
20386 * type-break.el (type-break-mode-line-message-mode)
20387 (type-break-query-mode):
20388 * view.el (view-mode):
20389 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20390 (global-whitespace-mode, global-whitespace-newline-mode):
20391 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20393 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20394 Fix autogenerated docstring.
20396 2011-10-19 Juri Linkov <juri@jurta.org>
20398 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20399 by checking environment variables "DESKTOP_SESSION" and
20400 "XDG_CURRENT_DESKTOP". (Bug#9779)
20402 2011-10-19 Juri Linkov <juri@jurta.org>
20404 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20405 (browse-url-chromium-program, browse-url-chromium-arguments):
20407 (browse-url-default-browser): Check for `browse-url-chromium' and
20408 call `browse-url-chromium-program'.
20409 (browse-url-chromium): New command. (Bug#9779)
20411 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20413 * facemenu.el (list-colors-duplicates): On Windows, detect more
20414 duplicates by assuming that only colors matching "^System" are
20415 special "system colors". (Bug#9722)
20417 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20419 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20420 to distinguish the author from the committer.
20422 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20424 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20426 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20428 * international/mule.el (sgml-html-meta-auto-coding-function):
20429 Add support for detecting encoding in HTML5 specified only as
20430 <meta charset="UTF-8">. Implementation just makes http-equiv and
20431 content-type parts from HTML4 encoding string optional. (Bug#9716)
20433 2011-10-18 Glenn Morris <rgm@gnu.org>
20435 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20437 2011-10-18 Chong Yidong <cyd@gnu.org>
20439 * faces.el (cursor): Doc fix.
20441 2011-10-17 Chong Yidong <cyd@gnu.org>
20443 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20445 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20447 * dirtrack.el (dirtrack): Support shell buffers with path
20448 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20450 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20452 * json.el: Bump version to 1.3 and note change in History.
20453 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20455 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20457 * comint.el (comint-insert-input, comint-send-input)
20458 (comint-get-old-input-default, comint-backward-matching-input)
20459 (comint-next-prompt): Use nil instead of `input' for field property of
20460 past user input (bug#114).
20462 * minibuffer.el (completion--replace): Inherit surrounding properties
20464 (minibuffer-complete-and-exit): Use it.
20466 * comint.el (comint--table-subvert): Quote the all-completions output
20469 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20471 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20473 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20474 window on right of selected. (Bug#9350) Reword other window
20475 entries and separate them from frame entries.
20477 2011-10-15 Glenn Morris <rgm@gnu.org>
20479 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20482 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20484 * net/network-stream.el (network-stream-open-starttls):
20485 Improve detection of failure due to lack of TLS support.
20487 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20488 putting the input text in front and in bold.
20490 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20492 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20494 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20497 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20498 unread-command-events rather than pushing yet-another event.
20500 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20502 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20503 the explanation of the possible choices. Make the options passed
20504 to completing-read shorter.
20506 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20508 * textmodes/flyspell.el (flyspell-large-region): Make sure
20509 extended character mode is used if defined (Bug#1339).
20511 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20513 * simple.el (what-cursor-position): Fix the display of the
20514 character info for LRE, LRO, RLE, and RLO characters by appending
20517 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20519 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20520 even in case of error; add debug spec; simplify data flow.
20521 (with-timeout-handler): Remove.
20523 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20525 Fix Bug#6019, Bug#9315.
20527 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20528 complete `buffer-file-name', the local file name part could look
20529 remotely (for example on VMS).
20531 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20532 `tramp-run-real-handler'.
20533 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20534 already quoted by '"'.
20536 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20537 Let `file-name-handler-alist' be nil, the local file name part
20538 could look remotely (for example on VMS).
20540 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20542 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20544 (flyspell-post-command-hook): ...to here.
20546 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20548 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20550 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20551 using completion. Protect against "slow" callers.
20552 Remove the "message hack".
20554 2011-10-11 Juri Linkov <juri@jurta.org>
20556 * isearch.el (isearch-lazy-highlight-word): New variable.
20557 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20560 2011-10-11 Glenn Morris <rgm@gnu.org>
20562 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20563 like f90-previous-statement does.
20565 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20567 * eshell/eshell.el (eshell-command): History should be saved
20568 only in interactive use, to avoid error.
20570 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20572 * minibuffer.el (completion-file-name-table): Fix last change,
20573 i.e. ignore normal errors but not the other ones.
20575 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20577 * window.el (special-display-buffer-names)
20578 (special-display-regexps): Remove some remnants of earlier
20579 changes from doc-strings.
20580 (quit-windows-on): New function.
20582 * vc/vc.el (vc-revert, vc-rollback):
20583 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20584 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20585 (Bug#6183) (Bug#7074) (Bug#7447)
20587 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20589 * window.el (frame-auto-hide-function): Add version tag.
20592 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20594 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20597 2011-10-09 Leo Liu <sdl.web@gmail.com>
20599 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20602 2011-10-08 Glenn Morris <rgm@gnu.org>
20604 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20605 before the first code statement zero indent. (Bug#9690)
20607 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20609 * simple.el (count-words-region): Always count in the region.
20610 Report the number of lines and characters too.
20611 (count-words): New command, which counts in the buffer if the
20612 region is inactive, as count-words-region used to.
20613 (count-words--message): New function. Handle plurals.
20614 (count-lines-region): Make it an alias for count-words-region.
20616 * bindings.el (esc-map): Replace count-lines-region with
20617 count-words-region.
20619 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20621 * window.el (window--delete): Delete dedicated frame
20622 unconditionally when argument KILL is non-nil. (Bug#9699)
20623 (switch-to-buffer): Fix doc-string typo.
20625 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20627 * eshell/eshell.el (eshell-command): Avoid using hooks.
20629 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20631 * bindings.el ([M-left],[M-right]): Bind to left-word and
20632 right-word respectively.
20634 2011-10-07 Glenn Morris <rgm@gnu.org>
20636 * cus-start.el (debug-on-quit): Fix custom type.
20638 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20640 * subr.el (define-key-after): Clarify that the function is not
20641 useful for non-menu keymaps.
20643 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20645 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20647 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20648 in current minibuffer (Fix bug with recursive minibuffers).
20650 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20652 * progmodes/gdb-mi.el (gdb): Doc fix.
20654 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20656 * window.el (frame-auto-hide-function): New option replacing
20657 frame-auto-delete. Suggested by Stefan Monnier.
20658 (window--delete): Call frame-auto-hide-function instead of
20659 investigating frame-auto-delete.
20660 (window-point-1, set-window-point-1): New functions.
20661 (window-in-direction, record-window-buffer, window-state-get-1)
20662 (display-buffer-record-window): Use window-point-1 instead of
20664 (set-window-buffer-start-and-point): Use set-window-point-1.
20666 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20668 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20670 2011-10-05 Glenn Morris <rgm@gnu.org>
20672 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20673 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20675 2011-10-05 Leo Liu <sdl.web@gmail.com>
20677 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20678 works with buffer object.
20680 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20682 * mpc.el (mpc-tool-bar-map): Add labels.
20684 2011-10-04 Glenn Morris <rgm@gnu.org>
20686 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20688 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20690 * window.el (window--delete): New function.
20691 (frame-auto-delete): Resuscitate option.
20692 (bury-buffer, replace-buffer-in-windows)
20693 (quit-window): Rewrite using window--delete.
20694 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20695 Pass display-buffer-mark-dedicated to window--display-buffer-2
20698 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20700 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20701 returns a list (bug#9554). Add remote file name completion.
20702 * comint.el (comint--table-subvert): Curry and get quote&unquote
20703 functions as arguments.
20704 (comint--complete-file-name-data): Adjust call accordingly.
20705 * pcomplete.el (pcomplete--table-subvert): Remove.
20706 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20708 * minibuffer.el (completion-table-case-fold): Use currying.
20709 (completion--styles-type, completion--cycling-threshold-type):
20711 (completion-styles, completion-category-overrides)
20712 (completion-cycle-threshold): Use them.
20713 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20714 completion-table-case-fold.
20716 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20718 * minibuffer.el (completion-category-overrides): Fix type of styles
20719 and add more user friendly tags (bug#9660).
20721 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20723 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20724 (mule-input-method-string): New widget.
20725 (default-input-method, language-info-custom-alist): Use it.
20727 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20729 * pcomplete.el: Require comint.
20730 (pcomplete--common-suffix): Remove.
20731 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20732 (pcomplete--table-subvert): Sync with comint--table-subvert.
20733 (pcomplete--entries): Use comint-completion-file-name-table.
20734 * comint.el (comint-unquote-filename): Simplify.
20735 (comint-completion-file-name-table): New function (bug#9616).
20736 (comint--complete-file-name-data): Use it.
20738 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20739 (pcmpl-gnu-tar-buffer): Remove.
20740 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20741 around. Make sure pcomplete-suffix-list is only changed temporarily.
20742 Don't look inside the tar's file if it's too large.
20744 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20746 * cus-edit.el (custom-mode-map):
20747 * epa.el (epa-key-list-mode-map):
20748 * man.el (Man-mode-map):
20749 * startup.el (splash-screen-keymap):
20750 * simple.el (special-mode-map): Use scroll-up-command and
20751 scroll-down-command.
20753 * progmodes/idlw-help.el (idlwave-help-mode-map):
20754 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20755 * net/newst-plainview.el (newsticker-mode-map):
20756 * emulation/ws-mode.el (wordstar-mode-map):
20757 * emulation/vi.el (vi-com-map):
20758 * calc/calc-graph.el (calc-graph-show-dumb):
20759 * term/sun.el (terminal-init-sun):
20760 * term/ns-win.el (global-map):
20761 * progmodes/grep.el (grep-mode-map):
20762 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20763 * mail/rmail.el (rmail-mode-map):
20764 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20766 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20767 custom-safe-themes as special.
20769 2011-10-01 Julien Danjou <julien@danjou.info>
20771 * notifications.el (notifications-notify): Fix docstring.
20773 2011-10-01 Per Starbäck <per@starback.se>
20775 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20777 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20779 * startup.el (command-line-1): Fix last fix by inserting
20780 initial-scratch-message into *scratch* before displaying it.
20781 (Bug#9605) and (Bug#9636)
20783 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20785 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20786 window is hscrolled, move by logical lines. (Bug#9607)
20787 (line-move-visual): Update the doc string to the above effect.
20789 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20791 * window.el (display-buffer-record-window): When WINDOW is the
20792 selected window use `point' instead of `window-point'. (Bug#9626)
20794 * startup.el (command-line-1): Use insert-before-markers when
20795 inserting initial-scratch-message. (Bug#9605)
20797 * help.el (help-window): Remove variable.
20799 2011-09-29 Glenn Morris <rgm@gnu.org>
20801 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20803 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20805 * descr-text.el (describe-char-categories): Accept category
20806 descriptions more than one line long.
20808 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20810 * simple.el (delete-trailing-whitespace): Fix last change.
20812 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20813 Don't confuse "y => 3" as the beginning of a `y' operation.
20815 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20816 object has more than 4 slots (bug#9613).
20818 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20820 * subr.el (with-output-to-temp-buffer):
20821 * net/quickurl.el (quickurl, quickurl-browse-url):
20822 Fix typos in docstrings.
20824 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20826 * minibuffer.el (completion-styles)
20827 (completion-category-overrides): Cross reference each other in doc
20830 2011-09-27 Glenn Morris <rgm@gnu.org>
20832 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20833 to split-string. (Bug#9606)
20835 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20837 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20840 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20842 * emacs-lisp/package.el (list-packages): Fix echo area message.
20844 2011-09-27 Leo Liu <sdl.web@gmail.com>
20846 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20848 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20850 * net/dbus.el (dbus-unregister-object): Don't release services for
20851 registered signals. (Bug#9581)
20853 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20855 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20856 function that picks between cfengine 2 and 3 support
20857 automatically. Update docs accordingly.
20859 2011-09-22 Kenichi Handa <handa@m17n.org>
20861 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20863 (indian-itrans-v5-table-for-tamil): New variable.
20864 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20866 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20868 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20869 that's true if the current command involved collapsing of text.
20870 It's reset to false at the beginning of the next command.
20871 (allout-post-command-business): Move the cursor to the beginning
20872 of entry if the cursor is hidden and collapsing activity just
20875 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20877 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20878 tracking (Bug#9541).
20880 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20882 * net/newst-reader.el (newsticker-html-renderer)
20883 (newsticker-show-news): Automatically load html rendering package
20884 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20885 because w3m-fill-column is let-bound" and the error "Symbol's value
20886 as variable is void: w3m-fill-column".
20888 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20890 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20891 Release services only if they are defined. (Bug#9581)
20893 2011-09-23 Richard Stallman <rms@gnu.org>
20895 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20896 distinguish start of paragraph from start of its text.
20898 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20900 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20901 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20902 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20904 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20906 * international/mule-diag.el (mule-diag): Insert a newline after
20907 each fontset description.
20909 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20911 * simple.el (delete-trailing-whitespace):
20912 Document last change; simplify.
20914 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20916 * simple.el (delete-trailing-whitespace): Also delete
20917 extra newlines at the end of the buffer.
20919 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20920 (picture-newline): Use forward-line so as to ignore fields.
20922 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20924 * subr.el (with-wrapper-hook): Fix edebug spec.
20926 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20928 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20931 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20933 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20934 Fix nasty bug using wrong cached values.
20936 2011-09-23 Alan Mackenzie <acm@muc.de>
20938 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20940 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20942 * window.el (pop-to-buffer): Ensure right window is selected if we
20943 chose another frame.
20945 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20947 * simple.el (what-cursor-position): Use get-char-property-change
20948 and next-single-char-property-change, to be able to show display
20949 properties that come from overlays as well as text properties.
20951 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20953 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20955 * cmuscheme.el (run-scheme, switch-to-scheme):
20956 * cus-edit.el (customize-group, custom-buffer-create)
20957 (customize-browse):
20959 * shell.el (shell):
20960 * mail/sendmail.el (mail):
20961 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20963 2011-09-22 Richard Stallman <rms@gnu.org>
20965 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20966 move back only to line beg, don't move back over blank lines.
20968 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20970 * files.el (copy-directory): Set directory attributes only in case
20971 they could be retrieved from the source directory. (Bug#9565)
20973 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20975 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20976 (hs-find-block-beginning, hs-hide-level-recursive):
20977 Ignore strings as well as comments. (Bug#9502)
20979 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20981 * progmodes/sql.el (sql-comint-postgres):
20982 Convert port number to a string. (Bug#9566)
20984 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20986 * window.el (quit-window): Undedicate window when switching to
20987 previous buffer. Reported by Thierry Volpiatto
20988 <thierry.volpiatto@gmail.com>.
20989 (special-display-popup-frame): When popping up a new frame reset
20990 its previous buffers to nil. Simplify code.
20992 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20994 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20995 and process filter, as done also in `shell-command'.
20997 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20999 * window.el (set-window-buffer-start-and-point):
21000 Call set-window-start with NOFORCE argument t.
21001 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21002 (quit-window): Reword doc-string. Handle new format of
21003 quit-restore parameter. Don't delete window if it has a
21004 previous buffer we can show instead of the present one.
21005 (display-buffer-record-window): Rewrite using a new format for
21006 the quit-restore window parameter
21007 (special-display-popup-frame, display-buffer-same-window)
21008 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21009 (display-buffer-pop-up-window, display-buffer-use-some-window):
21010 Adapt symbol passed to display-buffer-record-window.
21011 * help.el (help-window-setup): Handle new format of quit-restore
21014 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21016 * faces.el (face-list): Fix docstring (bug#9564).
21018 * window.el (display-buffer--action-function-custom-type):
21019 Don't include internal functions in the Custom interface.
21021 2011-09-20 Juri Linkov <juri@jurta.org>
21023 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21024 (Info-forward-node, Info-backward-node, Info-next-preorder)
21025 (Info-last-preorder): Use it. (Bug#9528)
21027 2011-09-20 Juri Linkov <juri@jurta.org>
21029 * info.el (Info-last-preorder): Visit last menu item only when
21030 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21032 2011-09-20 Julien Danjou <julien@danjou.info>
21034 * password-cache.el (password-cache-remove): Remove entries even if the
21035 value is nil, so that password with a nil value (negative caching) is
21036 possible to invalidate.
21038 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21040 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21041 all whitespace around breakpoint. (Bug#9553)
21042 (f90-find-breakpoint): Only break at whitespace inside a comment.
21044 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21046 * minibuffer.el (completion-file-name-table): Keep track of errors.
21047 (completion-table-with-predicate): Handle the case where pred1 is nil.
21048 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21050 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21052 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21053 (debugger-return-value): Signal an error if the debugging context does
21054 not await any return value.
21056 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21057 * image-mode.el (image-toggle-display-text)
21058 (image-toggle-display-image): Stay away from evil `intangible'.
21060 2011-09-19 Leo Liu <sdl.web@gmail.com>
21062 * replace.el (occur-revert-arguments): Make it permanent-local.
21063 (occur-mode): Don't call font-lock-defontify.
21065 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21067 * net/ldap.el (ldap-search-internal): Don't push empty search
21070 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21072 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21074 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21076 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21077 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21079 2011-09-18 Juri Linkov <juri@jurta.org>
21081 * buff-menu.el (Buffer-menu-mode-map):
21082 * dired.el (dired-mode-map):
21083 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21084 (lisp-interaction-mode-map):
21085 * emacs-lisp/package.el (package-menu-mode-map):
21086 * epa.el (epa-key-list-mode-map):
21087 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21088 (menu-bar-options-menu):
21089 * outline.el (outline-mode-menu-bar-map):
21090 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21091 * vc/vc-dir.el (vc-dir-menu-map):
21092 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21093 Capitalize non-function content words in menu item strings.
21095 * dired.el (dired-mode-map): Add menu item for
21096 `image-dired-dired-toggle-marked-thumbs'.
21098 2011-09-18 Juri Linkov <juri@jurta.org>
21100 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21101 to `isearch-case-fold-search' and restore its original value
21102 after the `isearch-mode' call.
21104 2011-09-18 Juri Linkov <juri@jurta.org>
21106 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21107 because `zgrep' returns 1 for successful matches (bug#9226).
21109 2011-09-18 Juri Linkov <juri@jurta.org>
21111 * info.el (Info-extract-menu-node-name): Check the second match
21112 for empty string (second test-case of bug#9528).
21113 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21114 intermediate nodes to the history (first test-case of bug#9528).
21116 2011-09-18 Juri Linkov <juri@jurta.org>
21118 * info.el (Info-mode-syntax-table): New variable.
21119 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21121 2011-09-18 Juri Linkov <juri@jurta.org>
21123 * info.el (Info-file-supports-index-cookies):
21124 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21125 outputs one more line for long file names (bug#4142).
21127 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21129 * newcomment.el (comment-normalize-vars): If prompting for
21130 comment-start, set comment-start-skip too (Bug#8424).
21132 2011-09-18 Johan Bockgård <bojohan@gnu.org>
21134 * icomplete.el: Fix previous fix of Bug#5849.
21135 (icomplete-mode): Don't set completion-show-inline-help.
21136 (icomplete-minibuffer-setup): Set completion-show-inline-help
21137 locally during icompletion.
21139 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21141 * woman.el (woman2-process-escapes): Don't delete unrecognized
21142 escapes (Bug#7843).
21144 * files.el (inhibit-first-line-modes-regexps): Add image files.
21145 (hack-local-variables-prop-line): Return nil for malformed
21146 prop-lines (Bug#9044).
21148 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21150 * net/tramp.el (top): Don't require 'shell.
21151 (tramp-methods): Fix docstring.
21152 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21153 Return complete remote file name. Handle "smb" case.
21154 Use `tramp-tmpdir', if defined for the respective method.
21155 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21157 * net/tramp-compat.el (top): Require 'shell.
21159 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21160 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21161 `tramp-current-host'.
21162 (tramp-get-remote-tmpdir): Remove.
21164 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21165 `tramp-tmpdir' entries.
21166 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21167 (tramp-smb-handle-file-attributes): Ignore errors.
21168 (tramp-smb-wait-for-output): Check also for process end.
21170 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21172 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21173 when sending QUIT (bug#9312).
21175 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21177 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21178 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21179 occur-mode-display-occurrence.
21180 (occur-edit-mode): Add usage message.
21181 (occur-cease-edit): New command.
21182 (occur-after-change-function): Use text properties to find the
21183 position of the prefix text.
21184 (occur-engine): Set stickiness of prefix text properties.
21186 2011-09-17 Glenn Morris <rgm@gnu.org>
21188 * progmodes/etags.el (complete-tag):
21189 Fix call to completion-in-region. (Bug#9526)
21191 2011-09-17 Juri Linkov <juri@jurta.org>
21193 * textmodes/ispell.el (ispell-word): Add to the error message
21194 the word, ispell program name and current dictionary (bug#9121).
21195 (ispell-tex-arg-end): Capitalize "error" in the error message.
21197 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21199 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21202 2011-09-17 Juri Linkov <juri@jurta.org>
21204 * window.el (window-safe-min-height, window-safe-min-width):
21205 Fix typos (followup to bug#9522).
21207 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21209 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21211 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21213 * simple.el (line-move): If goal-column is set, move by logical
21214 lines, not by display lines. (Bug#971)
21215 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21216 to reflect the above change.
21218 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21220 * image.el (imagemagick-register-types): Use regexp-opt.
21222 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21224 * window.el (display-buffer-base-action): Rename from
21225 display-buffer-default-action. Make default value empty.
21226 (display-buffer-overriding-action): Convert to defvar.
21227 (display-buffer-fallback-action): New var.
21229 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21231 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21233 (package--add-to-archive-contents): If there is a duplicate entry
21234 with an older version, remove it.
21235 (package-menu-mark-delete, package-menu-mark-install)
21236 (package-menu-mark-unmark): Make unused args optional.
21237 (package-menu-mark-obsolete-for-deletion):
21238 Use package-menu-get-status instead of a regexp search.
21239 (package-menu-get-status): Use tabulated-list-entry.
21240 (package-menu-mark-upgrades): New command.
21241 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21242 (package-menu-execute): Do installation before deletion.
21243 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21244 instead of checking major-mode.
21245 (package-menu--find-upgrades): New function.
21247 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21249 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21250 passwords in the log buffer.
21251 (smtpmail-process-filter): Update the process marker so that the
21252 "broken by peer" status message is inserted in the right place.
21254 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21256 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21257 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21258 bibtex-completion-at-point-function.
21259 (bibtex-completion-at-point-function): Use them.
21261 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21263 * mpc.el (mpc-constraints-tag-lookup): New function.
21264 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21265 also to browser "album|playlist".
21267 2011-09-14 Juri Linkov <juri@jurta.org>
21269 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21270 (isearch-edit-string): Use length of `isearch-string' when
21271 `isearch-fail-pos' returns nil.
21272 (isearch-message): Remove duplicate code and call
21273 `isearch-fail-pos' with arg `t'.
21275 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21277 * replace.el (occur-mode-goto-occurrence): Don't force using other
21280 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21282 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21284 * window.el (display-buffer-window): Remove.
21285 (display-buffer-record-window): Use help-setup window parameter
21286 instead of variable display-buffer-window.
21287 (display-buffer-function, special-display-buffer-names)
21288 (special-display-function): Mention help-setup parameter instead
21289 of display-buffer-window in doc-string.
21290 * help.el (help-window-setup): New argument help-window.
21291 Use help-window-setup parameter instead of display-buffer-window.
21292 Reword some messages.
21293 (with-help-window): Pass window used for displaying the buffer
21294 to help-window-setup. Don't set display-buffer-window.
21296 2011-09-13 Glenn Morris <rgm@gnu.org>
21298 * emacs-lisp/debug.el (debugger-make-xrefs):
21299 Preserve point. (Bug#9462)
21301 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21303 * window.el (window-deletable-p): Use next-frame.
21305 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21307 * window.el (window-auto-delete): Remove.
21308 (window-deletable-p): Remove argument FORCE. Don't deal with
21309 dedication and previous buffers.
21310 (switch-to-prev-buffer): Don't delete window.
21311 (delete-windows-on): Delete a window's frame if and only if the
21312 window is dedicated.
21313 (replace-buffer-in-windows): Delete buffer's window or frame if
21314 and only if window is dedicated.
21315 (quit-window): Handle quit-restore as before last change.
21316 (bury-buffer): Delete window only if window-deletable-p returns t.
21318 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21320 * window.el (window-deletable-p): Never delete the last frame on a
21323 2011-09-13 Glenn Morris <rgm@gnu.org>
21325 * help.el (describe-key-briefly): Copy previous standard-output change.
21327 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21329 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21331 2011-09-13 Glenn Morris <rgm@gnu.org>
21333 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21334 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21336 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21338 * dired-aux.el (dired-mark-read-string): Don't return default
21339 value on empty input (Bug#9361).
21340 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21341 Omit initial minibuffer contents.
21342 (dired-do-chmod): Signal an error on empty input.
21343 (dired-mark-read-string): Don't return default on empty input.
21345 * files.el (file-modes-symbolic-to-number): Doc fix.
21347 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21349 * international/mule-cmds.el (ucs-completions): Remove.
21350 (read-char-by-name): Use complete-with-action instead; add metadata.
21352 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21354 * window.el (display-buffer--action-function-custom-type)
21355 (display-buffer--action-custom-type): New vars.
21356 (display-buffer-alist, display-buffer-default-action)
21357 (display-buffer-overriding-action): Add defcustom types.
21359 * frame.el (delete-other-frames): Doc fix (Bug#276).
21361 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21363 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21365 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21367 Change modes that used same-window-* vars to use switch-to-buffer.
21369 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21370 Use switch-to-buffer.
21372 * cus-edit.el (customize-group, custom-buffer-create)
21373 (customize-browse, custom-buffer-create-other-window):
21374 Use switch-to-buffer or switch-to-buffer-other-window.
21376 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21377 (Info-prev, Info-up, Info-speedbar-goto-node)
21378 (info-display-manual): Use switch-to-buffer.
21379 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21381 * mail/sendmail.el (mail): Use switch-to-buffer.
21382 (mail-recover): Use switch-to-buffer-other-window.
21384 * cmuscheme.el (run-scheme, switch-to-scheme):
21386 * shell.el (shell):
21387 * net/rlogin.el (rlogin):
21388 * net/telnet.el (telnet, rsh):
21389 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21391 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21393 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21395 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21397 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21398 so don't mention it (bug#9301).
21399 (dired-sort-toggle-or-edit): Clarify string further.
21401 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21402 match `x', `w32' and `ns', like the manual says (bug#9029).
21404 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21405 (process-kill-buffer-query-function): Mention the buffer name in
21408 * image-mode.el (image-next-line): The line parameter is mandatory
21411 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21412 which can be useful (bug#9301).
21414 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21416 * subr.el (match-string): Mention that the current buffer should
21417 be the same as the search was done in (bug#9282).
21419 * facemenu.el: Disable the remove-* commands if the mark isn't
21422 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21424 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21426 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21428 * replace.el (occur-mode-goto-occurrence)
21429 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21430 and display-buffer.
21432 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21435 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21436 special-display and same-window variables.
21437 (mail-other-window): Use switch-to-buffer-other-window.
21438 (mail-other-frame): USe switch-to-buffer-other-frame.
21440 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21441 Use display-buffer-other-frame.
21442 (gdb-display-gdb-buffer): Use pop-to-buffer.
21444 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21446 * progmodes/python.el: Don't set same-window-buffer-names.
21448 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21450 * window.el (display-buffer-alist): Add *Python*.
21452 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21454 * window.el (display-buffer-alist): Add entry for buffers
21455 previously handled same-window-*.
21456 (display-buffer-alist, display-buffer-default-action)
21457 (display-buffer-overriding-action): Mark as risky.
21458 (display-buffer-alist): Document action function changes.
21459 (display-buffer--same-window-action)
21460 (display-buffer--other-frame-action): New variables.
21461 (switch-to-buffer, display-buffer-other-frame): Use them.
21462 (display-buffer): Rename reuse-frame entry to reusable-frames.
21463 (display-buffer-reuse-selected-window): Function deleted.
21464 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21465 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21466 (display-buffer-special): New function.
21467 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21468 display-buffer-reuse-or-pop-window. Split off special-display
21469 part into display-buffer-special.
21470 (display-buffer-use-some-window): Don't perform any special
21471 pop-up-frames handling.
21472 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21473 (display-buffer--maybe-same-window): Rename from
21474 display-buffer-maybe-same-window.
21476 * info.el: Don't set same-window-regexps.
21477 (info-setup): New function.
21478 (info-other-window, info): Call it.
21480 * cus-edit.el: Don't set same-window-regexps.
21481 (customize-group): New argument.
21482 (customize-group-other-window): Use it.
21483 (customize-face, customize-face-other-window): Likewise.
21484 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21488 * progmodes/gud.el: Don't set same-window-regexps.
21493 * mail/sendmail.el:
21494 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21496 2011-09-10 Juri Linkov <juri@jurta.org>
21498 * isearch.el (isearch-edit-string): Remove obsolete mention of
21499 `C-w' (`isearch-yank-word-or-char') from docstring.
21500 (isearch-query-replace): Fix typo in docstring (bug#9466).
21502 2011-09-10 Juri Linkov <juri@jurta.org>
21504 * paren.el (show-paren-function): Don't show escaped parens.
21505 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21507 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21509 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21510 (mm-default-file-encoding): Remove autoload forms, they are
21511 replaced with autoload cookies in mml.el and mm-encode.el.
21512 (mail-add-attachment): New command.
21513 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21514 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21516 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21518 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21520 * simple.el (count-words-region): Use buffer if there's no region
21523 2011-09-09 Juri Linkov <juri@jurta.org>
21525 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21526 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21527 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21529 2011-09-09 Alan Mackenzie <acm@muc.de>
21531 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21532 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21534 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21536 Fix for Savannah bug#9392.
21537 * simple.el (mail-encode-mml): New defvar.
21539 * mail/rmail.el (mail-encode-mml): Add a defvar.
21540 (rmail-enable-mime-composing): Default to t.
21541 (rmail-forward): Use MIME method of forwarding only if both
21542 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21543 Set mail-encode-mml non-nil if the MIME method was used.
21545 * mail/sendmail.el (mml-to-mime): Add autoload form.
21546 (mail-encode-mml): Add a defvar.
21547 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21549 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21550 message through mml-to-mime, and reset mail-encode-mml to nil.
21552 2011-09-09 Glenn Morris <rgm@gnu.org>
21554 * woman.el (woman-if-body): When processing an .el block,
21555 do not delete the next .el block as well. (Bug#9447)
21556 (woman-special-characters): Add oq, cq, and hy characters.
21558 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21560 * window.el (window-deletable-p): Make sure window is live before
21561 invoking window-prev-buffers.
21563 2011-09-08 Leo Liu <sdl.web@gmail.com>
21565 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21567 2011-09-08 Juri Linkov <juri@jurta.org>
21569 * progmodes/compile.el (compilation-environment): Make it
21570 a defcustom (bug#8340).
21572 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21574 * window.el (frame-auto-delete): Rename to window-auto-delete.
21575 Make it control auto-deletion of windows and/or frames.
21576 (window-deletable-p): New argument FORCE. Rewrite conditions
21577 for deleting window/frame. (Bug#9419)
21578 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21579 Rewrite handling of case when window/frame can be deleted.
21580 (delete-windows-on): Call window-deletable-p with new FORCE
21581 argument t. (Bug#9456)
21583 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21585 * help-mode.el (help-mode): Restore autoload.
21587 2011-09-07 Juri Linkov <juri@jurta.org>
21589 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21590 `compilation-environment'. Set buffer-local
21591 `compilation-environment' to `thisenv' later after (funcall mode).
21594 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21595 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21596 instead of replacing its value. (Bug#8340)
21598 2011-09-07 Juri Linkov <juri@jurta.org>
21600 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21601 based on text properties put by `grep-filter' instead of matching
21603 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21604 to the value of `grep-error-screen-columns' (bug#9438).
21606 2011-09-07 Juri Linkov <juri@jurta.org>
21608 * simple.el (next-error-highlight, next-error-highlight-no-select):
21609 Doc fix (bug#9432).
21611 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21613 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21614 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21616 2011-09-07 Leo Liu <sdl.web@gmail.com>
21618 * net/rcirc.el (rcirc-mode): Conditionally initialize
21621 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21623 * emacs-lisp/find-func.el (find-function-C-source): Only set
21624 find-function-C-source-directory after checking that we found a source
21625 file there (bug#9440).
21627 2011-09-06 Alan Mackenzie <acm@muc.de>
21629 * isearch.el (isearch-other-meta-char): Wherever a key list is
21630 unread, "unread" the prefix arg, too. This fixes bug #8901.
21632 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21634 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21636 2011-09-05 Juri Linkov <juri@jurta.org>
21638 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21640 2011-09-05 Juri Linkov <juri@jurta.org>
21642 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21643 keeping point where processing of grep matches begins, and
21644 continue to delete remaining escape sequences from the same point.
21645 (grep-filter): Make leading zero optional in "0?1;31m" because
21646 git-grep emits "\033[1;31m" escape sequences unlike expected
21647 "\033[01;31m" as GNU Grep does (bug#9408).
21648 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21650 2011-09-05 Juri Linkov <juri@jurta.org>
21652 * subr.el (y-or-n-p): Capitalize "yes".
21654 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21656 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21657 `tramp-cache-unload-hook' where appropriate.
21658 (tramp-methods): Rename `tramp-remote-sh' to
21659 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21660 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21662 * net/tramp-sh.el (top): Don't require 'shell.
21663 (tramp-methods): Add `tramp-remote-shell' and
21664 `tramp-remote-shell-args' entries.
21665 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21666 (tramp-sh-handle-shell-command): Remove.
21667 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21668 Use `tramp-remote-shell'.
21670 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21672 * mail/sendmail.el (sendmail-query-once-function): Delete.
21673 (sendmail-query-once): Save directly to send-mail-function.
21674 Update message-send-mail-function too.
21676 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21678 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21680 * progmodes/python.el (python-mode-map): Use correct function to
21681 start python interpreter from menu-bar (as reported by Geert
21683 (inferior-python-mode-map): Fix typo.
21684 (python-shell-map): Remove.
21686 2011-09-03 Deniz Dogan <deniz@dogan.se>
21688 * net/rcirc.el (rcirc-print): Simplify code for
21689 rcirc-scroll-show-maximum-output. There is no need to walk
21690 through all windows to find the right one.
21692 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21694 * help.el (help-return-method): Doc fix.
21696 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21698 * window.el (window-deletable-p): Don't return a non-nil value
21699 when there's a buffer that was shown in the window before.
21701 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21702 Set window's previous buffers to nil.
21704 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21706 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21707 newline before and after the tag line, so it doesn't interfere
21708 with determining the paragraph direction of bidirectional text.
21710 2011-09-03 Leo Liu <sdl.web@gmail.com>
21712 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21714 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21716 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21717 (pop-to-buffer): Change interactive spec. Pass second argument
21718 directly to display-buffer.
21719 (display-buffer): Fix interactive spec. Use functionp to
21720 distinguish between a function and a list of functions.
21722 * abbrev.el (edit-abbrevs):
21723 * arc-mode.el (archive-extract):
21724 * autoinsert.el (auto-insert):
21725 * bookmark.el (bookmark-bmenu-list):
21726 * files.el (find-file):
21727 * view.el (view-buffer):
21728 * progmodes/compile.el (compilation-goto-locus):
21729 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21731 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21733 * window.el (display-buffer-alist): Doc fix.
21734 (display-buffer): Add docstring. Don't treat
21735 display-buffer-default specially.
21736 (display-buffer-reuse-selected-window)
21737 (display-buffer-same-window, display-buffer-maybe-same-window)
21738 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21739 (display-buffer-pop-up-window)
21740 (display-buffer-reuse-or-pop-window)
21741 (display-buffer-use-some-window): New functions.
21742 (display-buffer-default-action): Use them.
21743 (display-buffer-default): Delete.
21744 (pop-to-buffer-1): Fix choice of actions.
21746 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21748 * minibuffer.el (completion--insert-strings): Don't get confused by
21749 completion entries that end with an LF char.
21751 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21753 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21755 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21757 * window.el (display-buffer): Restore interactive spec.
21758 (display-buffer-same-window, display-buffer-other-window):
21760 (pop-to-buffer-1): New function. Use the above.
21761 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21762 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21764 * view.el (view-buffer-other-window, view-buffer-other-frame):
21765 Just use pop-to-buffer.
21767 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21769 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21771 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21773 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21775 2011-08-31 Richard Stallman <rms@gnu.org>
21777 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21778 of the separation of rmail-view-buffer from rmail-buffer.
21779 If you say no to "replace original", the decrypt is in the
21780 view buffer. If you say yes, the decrypt goes into the
21783 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21785 * window.el (display-buffer-window): Rewrite doc-string.
21786 (display-buffer-record-window): New function.
21787 (display-buffer-macro-specifiers)
21788 (display-buffer-even-window-sizes, display-buffer-set-height)
21789 (display-buffer-set-width, display-buffer-in-window)
21790 (display-buffer-reuse-window, display-buffer-split-specifiers)
21791 (display-buffer-side-specifiers, display-buffer-split-window-1)
21792 (display-buffer-split-window, display-buffer-split-atom-window)
21793 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21794 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21795 (display-buffer-other-window-means-other-frame)
21796 (display-buffer-normalize-special)
21797 (display-buffer-normalize-default)
21798 (display-buffer-normalize-argument)
21799 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21800 (display-buffer-normalize-specifiers, display-buffer-frame)
21801 (display-buffer-same-window, display-buffer-same-frame)
21802 (display-buffer-other-window)
21803 (display-buffer-same-frame-other-window)
21804 (display-buffer-other-frame, pop-to-buffer-same-window)
21805 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21806 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21807 (switch-to-buffer-same-frame)
21808 (switch-to-buffer-other-window-same-frame)
21809 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21810 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21811 (display-buffer-alist-set): Remove.
21812 (display-buffer-function, special-display-buffer-names)
21813 (special-display-regexps, special-display-function):
21814 In doc-string refer to display-buffer-window and quit-restore
21816 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21817 (special-display-frame-alist, special-display-popup-frame)
21818 (same-window-buffer-names, same-window-regexps, same-window-p)
21819 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21820 (split-window-preferred-function, split-height-threshold)
21821 (split-width-threshold, window-splittable-p)
21822 (split-window-sensibly, window--try-to-split-window)
21823 (window--frame-usable-p, even-window-heights)
21824 (window--even-window-heights, window--display-buffer-1)
21825 (window--display-buffer-2, display-buffer-other-frame):
21826 Restore old Emacs 23 code, order and doc-strings where applicable.
21827 (display-buffer-default, display-buffer-assq-regexp): New functions.
21828 (display-buffer-alist): Rewrite doc-string.
21829 (display-buffer-default-action)
21830 (display-buffer-overriding-action): New variables.
21831 (display-buffer, switch-to-buffer): Rewrite.
21832 (pop-to-buffer): Restore Emacs 23 behavior but use
21833 window-normalize-buffer-to-display.
21834 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21835 Restore Emacs 23 behavior but use
21836 window-normalize-buffer-to-switch-to.
21837 (pop-to-buffer-same-window): Rewrite.
21838 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21839 Rewrite using Emacs 23 options.
21841 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21843 * net/tramp.el (tramp-root-regexp): Remove.
21844 (tramp-completion-file-name-regexp-unified)
21845 (tramp-completion-file-name-regexp-separate)
21846 (tramp-completion-file-name-regexp-url): Don't use leading volume
21847 letter on w32 systems. (Bug#5303, Bug#9311)
21848 (tramp-drop-volume-letter): Simplify definition.
21849 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21851 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21853 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21856 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21858 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21860 2011-08-29 Juri Linkov <juri@jurta.org>
21862 * isearch.el (isearch-done): Don't display message "Mark saved"
21863 when arg `edit' is non-nil to prevent its flicker in the echo area.
21865 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21867 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21868 obsolete packages for deletion.
21870 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21872 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21873 (help-mode): Derive help-mode from special-mode. Don't invoke
21874 view-mode from help-mode.
21875 (help-xref-override-view-map): Remove.
21876 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21877 view-mode is not used anymore.
21879 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21881 * server.el (server-port): Doc fix.
21883 * cus-theme.el (custom-theme-choose-mode): Inherit from
21884 special-mode (Bug#9124).
21885 (custom-theme-choose-mode-map): Add special-mode to parent.
21887 2011-08-28 Alan Mackenzie <acm@muc.de>
21889 * progmodes/cc-fonts.el
21890 (c-make-font-lock-BO-decl-search-function): New function.
21891 (c-basic-matchers-after - "Fontify the clauses after various
21892 keywords"): Extract the three keyword lists for the 3 erroneous
21893 constructs from the list of four, and use the new function above
21894 in place of an old one.
21896 2011-08-28 Deniz Dogan <deniz@dogan.se>
21898 * net/rcirc.el (rcirc-insert-prev-input)
21899 (rcirc-insert-next-input): Remove unused argument.
21901 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21903 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21905 2011-08-27 Alan Mackenzie <acm@muc.de>
21907 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21908 handle function pointer parameters properly.
21910 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21912 * window.el (display-buffer-reuse-window): Fix case where
21913 selected window was reused with non-nil OTHER-WINDOW argument.
21916 2011-08-27 Deniz Dogan <deniz@dogan.se>
21918 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21919 oftc's NickServ messages.
21921 2011-08-27 Glenn Morris <rgm@gnu.org>
21923 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21925 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21927 * emacs-lisp/package.el (package-install): Call package-initialize
21928 if called interactively.
21930 2011-08-26 Leo Liu <sdl.web@gmail.com>
21932 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21934 2011-08-25 Juri Linkov <juri@jurta.org>
21936 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21937 `search-whitespace-regexp' (bug#9364).
21939 2011-08-25 Juri Linkov <juri@jurta.org>
21941 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21942 `regexp-search-ring' to their global values to protect from
21943 updating by `read-from-minibuffer' (bug#9185).
21945 2011-08-25 Juri Linkov <juri@jurta.org>
21947 * textmodes/ispell.el (ispell-command-loop): Add newline
21948 at the end of the "Use option `i'..." line.
21950 2011-08-25 Juri Linkov <juri@jurta.org>
21952 * battery.el (display-battery-mode): If `battery-status-function'
21953 or `battery-mode-line-format' is nil, display the message and set
21954 `display-battery-mode' to nil (bug#9363).
21956 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21958 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21959 bidi-string-mark-left-to-right; they are unnecessary now.
21961 2011-08-25 Deniz Dogan <deniz@dogan.se>
21963 * net/quickurl.el: Documentation typo fixes.
21965 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21967 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21969 2011-08-25 Glenn Morris <rgm@gnu.org>
21971 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21973 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21974 (smtpmail-via-smtp): Handle nil response from smtp.
21976 2011-08-24 Juri Linkov <juri@jurta.org>
21978 * proced.el (proced-marked): Inherit from `error' instead of
21979 `font-lock-warning-face'.
21981 * ibuffer.el (ibuffer-marked-face): Change default face from
21982 `font-lock-warning-face' to `warning'.
21983 (ibuffer-deletion-face): Change default face from
21984 `font-lock-type-face' to `error'.
21986 * battery.el (battery-update): Use the face `error' instead of
21987 `font-lock-warning-face' (bug#6117).
21989 2011-08-24 Juri Linkov <juri@jurta.org>
21991 * faces.el (success): Change face color from "Green3" to
21992 "ForestGreen" on light background (bug#9353).
21994 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21996 * window.el (quit-window): Rename from quit-restore-window.
21997 Use same arglist as old quit-window.
21998 (frame-auto-delete): Doc fix.
22000 * view.el (view-mode-exit): Use quit-window.
22002 2011-08-24 Juri Linkov <juri@jurta.org>
22004 * isearch.el (isearch-ring-adjust1): Start visiting previous
22005 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22006 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22007 for empty search string (when the last search string is reused
22008 automatically) to adjust the isearch ring to the last element and
22009 prepare the correct index for further M-p commands (bug#9185).
22011 2011-08-24 Kenichi Handa <handa@m17n.org>
22013 * international/ucs-normalize.el: If decomposition property of
22014 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22016 (nfd, nfkd): Likewise.
22018 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22020 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22021 from process filters aren't reliably transmitted to the surrounding
22022 accept-process-output.
22023 (mpc-proc-check): New function.
22024 (mpc-proc-sync): Use it (bug#8293)
22026 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22028 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22029 Add compatibility functions (bug#9313).
22031 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22033 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22035 * international/uni-bidi.el: Regenerate.
22037 2011-08-23 Kenichi Handa <handa@m17n.org>
22039 * international/charprop.el:
22040 * international/uni-bidi.el:
22041 * international/uni-category.el:
22042 * international/uni-combining.el:
22043 * international/uni-comment.el:
22044 * international/uni-decimal.el:
22045 * international/uni-decomposition.el:
22046 * international/uni-digit.el:
22047 * international/uni-lowercase.el:
22048 * international/uni-mirrored.el:
22049 * international/uni-name.el:
22050 * international/uni-numeric.el:
22051 * international/uni-old-name.el:
22052 * international/uni-titlecase.el:
22053 * international/uni-uppercase.el: Regenerate.
22055 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22057 * help.el (help-window-setup): Fix message displayed when other
22058 window is reused. (Bug#9341)
22060 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22062 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22063 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22065 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22067 * shell.el (shell-parse-pcomplete-arguments): New function.
22068 (shell-completion-vars): Use it instead (bug#9160).
22070 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22072 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22073 strings and comments (bug#9333).
22075 * emacs-lisp/debug.el (debug-arglist): New function.
22076 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22077 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22079 2011-08-22 Juri Linkov <juri@jurta.org>
22081 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22082 Revert regexp that highlights output switches to its old
22083 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22085 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22086 to check for empty output (bug#9226).
22088 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22090 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22091 symbol-constituent as the default, as that stops font-lock from
22092 working properly (Bug#8843).
22094 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22096 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22097 `coding-system-for-*' around the process open call to avoid
22098 auth-source side effects.
22099 (smtpmail-try-auth-methods): Expand the secret password.
22100 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22103 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22105 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22107 * emacs-lisp/find-func.el (find-function-noselect): New arg
22110 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22111 signal an error for built-in functions (Bug#6664).
22113 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22115 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22116 (smtpmail-try-auth-methods): Use it.
22118 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22120 * font-lock.el (font-lock-fontify-region)
22121 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22122 (font-lock-default-unfontify-buffer)
22123 (font-lock-default-fontify-region)
22124 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22126 * progmodes/compile.el (compilation-error-properties):
22127 Fix confusion between file struct and message struct (Bug#9319).
22128 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22131 * net/browse-url.el (browse-url-firefox): Don't call
22132 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22134 2011-08-20 Glenn Morris <rgm@gnu.org>
22136 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22138 * tutorial.el (tutorial--default-keys): Update some default bindings.
22140 * files.el (hack-local-variables): Fully ignore case for "mode:".
22142 2011-08-20 Alan Mackenzie <acm@muc.de>
22144 Resolve invalid use of a regexp in regexp-opt.
22146 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22147 detection for a java annotation.
22149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22150 detection for a java annotation.
22152 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22154 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22156 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22158 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22161 2011-08-20 Alan Mackenzie <acm@muc.de>
22163 Fontify CPP expressions correctly when starting in the middle of
22164 such a construct. Mainly for when jit-lock etc. starts a chunk
22167 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22169 (c-make-font-lock-search-form): New function, extracted from
22170 c-make-font-lock-search-function.
22171 (c-make-font-lock-search-function): Use the above function.
22172 (c-make-font-lock-context-search-function): New function.
22173 (c-cpp-matchers): Enhance the preprocessor expression case with
22175 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22176 which takes an expression.
22178 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22180 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22182 * window.el (display-buffer-reuse-window)
22183 (display-buffer-pop-up-window): Don't reuse or split a side
22186 2011-08-19 Glenn Morris <rgm@gnu.org>
22188 * files.el (hack-local-variables-prop-line, hack-local-variables):
22189 Downcase "Mode:". (Bug#9331)
22191 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22193 * international/characters.el: Add L and R categories.
22195 * subr.el (bidi-string-mark-left-to-right): Rename from
22196 string-mark-left-to-right. Use category search.
22198 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22200 2011-08-18 Juri Linkov <juri@jurta.org>
22202 * faces.el (error, warning, success): New faces with definitions
22203 copied from old default values of `font-lock-warning-face',
22204 `compilation-warning', `compilation-info' (bug#6117).
22206 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22208 * progmodes/compile.el (compilation-error): Inherit from `error'.
22209 (compilation-warning): Inherit from `warning'.
22210 (compilation-info): Inherit from `success'.
22212 * dired.el (dired-marked): Inherit from `warning'.
22213 (dired-flagged): Inherit from `error'.
22215 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22217 * mail/smtpmail.el (auth-source): Require to avoid problems with
22218 binding variables (bug#9298). Also clean up some unused
22221 * net/network-stream.el (network-stream-open-starttls):
22222 Support using starttls.el without using gnutls-cli.
22224 2011-08-17 Juri Linkov <juri@jurta.org>
22226 * progmodes/grep.el (rgrep): Handle the case when
22227 `grep-find-command' is a cons cell (bug#9278).
22229 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22231 * window.el (display-buffer-pop-up-frame): Run frame creation
22232 function with BUFFER current (as special-display-popup-frame
22233 does). Reported by Drew Adams.
22235 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22237 * epa-mail.el: Simplify GnuPG group expansion using
22239 (epa-mail-group-alist, epa-mail-group-modtime)
22240 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22241 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22242 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22245 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22247 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22249 2011-08-16 Alan Mackenzie <acm@muc.de>
22251 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22252 Correct, to avoid the inside of macros.
22254 2011-08-16 Richard Stallman <rms@gnu.org>
22256 * epa-mail.el: Handle GnuPG group definitions.
22257 (epa-mail-group-alist, epa-mail-group-modtime)
22258 (epa-mail-gnupg-conf-file): New variables.
22259 (epa-mail-parse-groups, epa-mail-sync-groups)
22260 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22261 (epa-mail-expand-recipients): New functions.
22262 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22264 * mail/rmail.el (rmail-epa-decrypt): New command.
22266 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22267 Don't bind buffer-read-only, just inhibit-read-only.
22268 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22269 (epa-decrypt-armor-in-region): Make error message clearer.
22271 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22273 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22274 and "a2b" to "ab" for `prefix'.
22276 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22278 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22280 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22281 Fourquet (Bug#8804).
22283 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22285 * startup.el (argi): Declare as global variable (bug#9275).
22287 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22289 * subr.el (string-mark-left-to-right): Search the entire string
22290 for RTL script, not just the terminating character. Doc fix.
22292 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22294 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22296 (js--regexp-literal, js-syntax-propertize-function): Remove.
22297 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22298 (js-mode-map): Don't rebind electric keys.
22299 (js-insert-and-indent): Remove.
22300 (js-mode): Setup electric-layout and electric-indent instead.
22302 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22304 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22306 * epa.el (epa-progress-callback-function): Fix the logic of
22307 displaying progress.
22308 * epa-file.el (epa-file-insert-file-contents): Make progress
22309 display more user-friendly.
22310 (epa-file-write-region): Ditto.
22312 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22314 * subr.el (string-mark-left-to-right): New function.
22316 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22317 Use string-mark-left-to-right.
22318 (list-buffers-noselect): Caller changed.
22320 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22321 Use string-mark-left-to-right.
22322 (tabulated-list-print): Recenter after moving point.
22324 2011-08-10 Juri Linkov <juri@jurta.org>
22326 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22327 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22328 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22330 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22332 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22335 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22337 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22338 character. (Bug#6594)
22340 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22342 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22343 (image-dired--with-db-file): New macro.
22344 (image-dired-write-tags, image-dired-remove-tag)
22345 (image-dired-create-gallery-lists, image-dired-write-comments)
22346 (image-dired-get-comment, image-dired-mark-tagged-files)
22347 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22348 (image-dired-gallery-generate): Use insert-file-contents.
22350 * time.el (display-time-world-list, display-time-world-display):
22351 * time-stamp.el (time-stamp-string):
22352 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22353 set-time-zone-rule (Bug#7337).
22355 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22357 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22358 (epg-error-to-string, epg-errors-to-string): New function.
22359 (epg-wait-for-completion): Reverse errors list.
22360 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22361 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22362 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22363 (epg-sign-keys, epg-generate-key-from-file)
22364 (epg-generate-key-from-string): Format errors by using
22365 epg-errors-to-string (bug#9255).
22366 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22368 2011-08-07 Juri Linkov <juri@jurta.org>
22370 * faces.el (list-faces-display): Remove extra angle bracket
22371 from `help-mode-map'.
22373 * info.el (Info-history-toc-nodes): Doc fix.
22375 * longlines.el (longlines-mode): Doc fix.
22377 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22379 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22380 of statements and in a few more cases (bug#9183).
22382 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22384 (cl-transform-lambda): Use them (bug#9239).
22386 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22388 * window.el (display-buffer-same-window)
22389 (display-buffer-same-frame, display-buffer-other-window)
22390 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22391 (pop-to-buffer-other-window)
22392 (pop-to-buffer-same-frame-other-window)
22393 (pop-to-buffer-other-frame): Make them defuns.
22394 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22396 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22398 * subr.el (make-composed-keymap): Move from C. Change calling
22399 convention, and improve docstring to bring attention to a subtle point.
22400 * minibuffer.el (completing-read-default): Adjust accordingly.
22402 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22404 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22405 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22407 * net/trampver.el: Update release number.
22409 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22411 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22414 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22416 * mail/sendmail.el (sendmail-query-once): Restore the current
22417 buffer after querying (bug#9074).
22419 * dired.el (dired-flagged): Use different faces for marked and
22420 flagged files (bug#6117).
22422 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22425 * ido.el (ido-mode): Switch off the message if called
22428 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22429 before 587, since it appears that that's more likely to work for
22432 * cus-edit.el (custom-file): When running under emacs -q, always
22433 refuse to save the customizations, even if the .emacs file doesn't
22436 * info.el: Remove the `Info-beginning-of-buffer' function
22439 * net/network-stream.el (network-stream-open-starttls):
22440 Use `starttls-available-p' to see whether starttls.el can be used.
22442 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22444 * window.el (display-buffer-in-window): Don't set dedicated status
22445 of window here (Bug#9215).
22446 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22447 (display-buffer-pop-up-side-window)
22448 (display-buffer-in-side-window): Set dedicated status of window here.
22450 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22452 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22453 before binding generated-autoload-file.
22455 2011-08-01 Deniz Dogan <deniz@dogan.se>
22457 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22459 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22461 Sync with Tramp 2.2.2.
22463 * net/trampver.el: Update release number.
22465 2011-07-30 Juri Linkov <juri@jurta.org>
22467 * dired-aux.el (dired-touch-initial): Remove function.
22468 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22469 current time, and `default' to the last modification time of the
22470 current marked file (bug#6887).
22472 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22474 * simple.el (goto-line): Use string-to-number to provide a
22475 numeric argument to read-number (bug#9163).
22477 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22479 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22480 connection process, it could be nil.
22482 2011-07-27 Leo Liu <sdl.web@gmail.com>
22484 Simplify url handling in rcirc-mode.
22486 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22487 (rcirc-browse-url-at-mouse): Remove.
22488 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22490 2011-07-26 Alan Mackenzie <acm@muc.de>
22492 Fontify bitfield declarations properly.
22494 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22495 (c-symbol-chars): Now exported as a lang variable.
22496 (c-not-primitive-type-keywords): New lang variable.
22498 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22499 QT keyword "more" to prevent "more slots: ...." being spuriously
22500 parsed as a bitfield declaration.
22502 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22503 Refactor and enhance to handle bitfield declarations.
22504 (c-punctuation-in): New function.
22505 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22506 declarations properly.
22508 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22510 * calendar/icalendar.el (icalendar--all-events): Take care of
22511 multiple vcalendars in a single file.
22512 (icalendar--convert-float-to-ical): Checkdoc fixes.
22514 2011-07-25 Deniz Dogan <deniz@dogan.se>
22516 * image.el (insert-image): Clarifying docstring.
22518 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22520 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22521 `tramp-send-command-and-check' if there is no error.
22522 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22524 2011-07-22 Alan Mackenzie <acm@muc.de>
22526 Prevent cc-langs.elc being loaded at run time.
22528 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22531 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22532 "(require 'cc-langs)". Quote a form so it will evaluate at
22533 (cc-mode's) compilation time.
22535 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22537 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22538 loading. (Bug#9114)
22540 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22542 * window.el (display-buffer-pop-up-window)
22543 (display-buffer-pop-up-side-window)
22544 (display-buffer-in-side-window): Call display-buffer-set-height
22545 and display-buffer-set-width after setting the new window's
22546 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22548 2011-07-20 Sam Steingold <sds@gnu.org>
22550 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22551 (etags-tags-included-tables): Call `convert-standard-filename' on
22552 the file names contained in TAGS so that windows Emacs can handle
22553 TAGS files created by cygwin ctags.
22555 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22557 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22558 which apparently didn't work.
22560 2011-07-19 Roland Winkler <winkler@gnu.org>
22562 * proced.el (proced-send-signal): For *Marked Processes* buffer
22563 put point at beginning of buffer.
22565 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22567 * proced.el (proced-format): Make header lines align with the text
22570 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22572 * view.el (view-buffer): Allow running in `special' modes if we're
22573 visiting a file (bug#8615).
22575 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22577 * window.el (display-buffer-alist-of-strings-p)
22578 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22580 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22583 2011-07-18 Alan Mackenzie <acm@muc.de>
22585 Fontify declarators properly when, e.g., a jit-lock chunk begins
22586 inside a declaration.
22588 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22590 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22592 (c-complex-decl-matchers): Insert reference to
22593 c-font-lock-enclosing-decls.
22595 * progmodes/cc-engine.el (c-backward-single-comment):
22596 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22597 to nil around calls to (forward-comment -1).
22599 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22601 * image.el (put-image): Doc typo fix.
22603 * progmodes/etags.el (tags-search): Doc typo fix.
22605 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22606 password if we get errors 550 to 554.
22608 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22610 * net/gnutls.el (gnutls-log-level): Remove.
22612 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22613 indentation character (bug#6380).
22615 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22617 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22618 to clarify what the problem is (bug#4291).
22620 * simple.el (current-kill): Clarify what
22621 `interprogram-paste-function' does (bug#7500).
22622 (auto-fill-mode): Document `auto-fill-function' in relation to
22623 `auto-fill-mode' (bug#2470).
22625 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22627 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22628 method if slot is read-only (bug#9035).
22630 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22632 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22633 * window.el (pop-to-buffer): Select window used even if it was
22634 selected before, see discussion of (Bug#8615), (Bug#6954).
22635 Pass argument NORECORD on to select-frame-set-input-focus.
22637 2011-07-15 Glenn Morris <rgm@gnu.org>
22639 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22642 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22644 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22645 (gnutls-negotiate): Use it.
22647 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22649 * net/gnutls.el (gnutls-negotiate):
22650 Upcase `gnutls-algorithm-priority'.
22652 2011-07-15 Glenn Morris <rgm@gnu.org>
22654 * jka-compr.el (jka-compr-verbose): Move from here...
22655 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22656 Add missing :version tag.
22657 * info.el: No need to require jka-compr when compiling.
22659 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22661 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22662 (gnutls-negotiate): Use it.
22664 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22666 * info.el (Info-beginning-of-buffer): New command.
22667 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22668 announcing `b' as the key (bug#8325).
22669 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22671 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22673 * international/mule-cmds.el
22674 (describe-specified-language-support): Make the error message
22675 clearer (bug#8905).
22677 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22679 * isearch.el (isearch-barrier): Add a doc string, since it's
22680 mentioned in a function doc string (bug#8678).
22682 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22684 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22685 buffer argument (Bug#9083) and self-identifying label argument.
22687 2011-07-15 Glenn Morris <rgm@gnu.org>
22689 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22691 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22693 * man.el (Man-fontify-manpage): Fix message when formatting the
22694 man page (bug#7929).
22696 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22698 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22699 argument LRM; if non-nil, append an invisible LRM character to the
22701 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22702 last argument non-nil, when formatting buffer names.
22703 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22704 paragraph direction.
22706 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22708 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22709 the man page name (bug#7929).
22711 * image.el (put-image): Mention the `put-image' overlay property
22714 * scroll-bar.el (set-scroll-bar-mode): Mention that
22715 `scroll-bar-mode' lists the values (bug#7772).
22717 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22718 command (bug#7729).
22720 * rect.el (apply-on-rectangle): Return the point after the last
22722 (string-rectangle): Go to the point after the last operation
22725 * printing.el (pr-toggle-region): Clarify the documentation
22726 slightly (bug#7493).
22728 * time.el (display-time-update):
22729 Allow `display-time-mail-function' to return nil (bug#7158).
22730 Fix suggested by Detlev Zundel.
22732 * vc/diff.el (diff): Clarify the order the file names are read
22735 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22736 the doc string (bug#7015).
22738 * font-lock.el (font-lock-maximum-decoration): Mention what
22739 numeric levels mean (bug#6935).
22741 * startup.el (initial-buffer-choice): Don't mention the `none'
22742 selection, which is against policy.
22744 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22746 * window.el (display-buffer-normalize-special):
22747 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22749 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22751 * subr.el (version<, version<=, version=): Mention "-CVS" and
22752 "-12345" alpha version numbers.
22754 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22756 * bindings.el: Add advertised binding for set-mark-command
22759 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22761 * bindings.el (mode-line-other-buffer):
22762 * bookmark.el (bookmark-bmenu-2-window):
22763 * bs.el (bs-cycle-next, bs-cycle-previous):
22764 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22767 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22770 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22772 * follow.el (follow-debug-message, follow-redisplay):
22773 * jka-cmpr-hook.el (with-auto-compression-mode):
22774 Fix typos in docstrings.
22776 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22778 * subr.el (with-silent-modifications): Clarify somewhat what the
22779 macro inhibits (bug#6525).
22781 * simple.el (eval-expression): Note what it does if called
22782 interactively (bug#6495).
22784 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22786 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22787 Use pop-to-buffer buffer-or-name if it is nil.
22789 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22790 Remove switch-to-buffer.
22792 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22794 * files.el (make-directory): Clarify that an error will be raised
22795 if there's an error (bug#6397).
22797 * startup.el (initial-buffer-choice): Add `none' as a choice
22800 * subr.el (add-hook): Clarify section about buffer-local hooks
22803 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22805 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22807 * tabify.el (untabify): Preserve the current column so that point
22808 doesn't move (bug#6032).
22810 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22812 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22813 Rewrite to avoid awkward possessive "s" (bug#5986).
22815 2011-07-13 Glenn Morris <rgm@gnu.org>
22817 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22818 (dired-insert-directory): Give a message the first time
22819 if ls is found not to support --dired.
22821 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22823 * simple.el (toggle-truncate-lines): Clarify what is toggled
22824 (bug#5580). Text by Drew Adams.
22826 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22828 * simple.el (blink-matching-open): Make the error message from the
22829 last change less verbose.
22831 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22833 * font-lock.el (font-lock-comment-face): Use the high contrast
22834 "yellow" color for font-lock-comment-face on low color terminals
22835 using a dark background color (bug#4221).
22837 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22839 * dired.el (dired-insert-set-properties): Make the doc string
22840 reflect what it does now (bug#5325).
22842 * simple.el (blink-matching-open): Say that we were unable to find
22843 the match within the limit, if we're limited (bug#5122).
22845 * international/mule-cmds.el (prefer-coding-system): Add an
22846 example (bug#4869).
22848 * progmodes/etags.el (tags-search): Document `file-list-form'
22851 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22853 * net/browse-url.el (browse-url-default-browser)
22854 (browse-url-browser-function): Make the default browser choice a
22855 bit more logical (bug#4300). Also clean up the doc string.
22857 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22859 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22860 binary endings (bug#4440).
22862 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22864 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22865 which can be pretty annoying (bug#8971).
22867 * jka-compr.el (jka-compr-verbose): New variable, and use
22868 throughout (bug#8971).
22870 * info.el (Info-find-file): Fall back on the installation
22871 directory if we can't find the info node anywhere else.
22873 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22875 * vc/vc.el (vc-revert-file):
22876 Don't set file time-stamp in the past. (Bug#5181)
22878 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22880 * files.el (after-find-file): Give a better error message when
22881 trying to find a symlink that points to a file that doesn't exist
22884 * progmodes/cc-vars.el: Remove (probably) misleading comment
22887 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22889 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22891 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22893 * mouse-sel.el: Hack restoring functionality, while keeping
22894 compatibility with 2010-07-03 changes to mouse selection.
22895 (mouse-sel-primary-overlay): New var.
22896 (mouse-sel-selection-alist): Use it.
22897 (mouse-sel-mode): Doc fix; remove points that are default features
22900 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22902 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22903 Fix previous fix (bug#2490).
22905 2011-07-12 Roland Winkler <winkler@gnu.org>
22907 * textmodes/bibtex.el (bibtex-initialize):
22908 Use pop-to-buffer-same-window.
22909 (bibtex-search-entries): Fix interactive call.
22911 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22913 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22914 Fontise bytecomp Error lines more correctly (bug#2490).
22915 Fix suggested by Johan Bockgård.
22917 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22919 * dired-x.el (dired-guess-default): Use `delete-dups'.
22921 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22923 * dired.el (dired-mark-prompt):
22924 * dired-aux.el (dired-read-shell-command): Doc fix.
22926 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22928 * mail/sendmail.el (sendmail-query-once):
22929 Use `customize-save-variable' unconditionally, now that it works under
22932 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22934 * cus-edit.el (custom-file): Take an optional no-error variable.
22935 (customize-save-variable): Set the variable, and give a warning if
22936 running under "emacs -q".
22938 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22940 * loadhist.el (unload-feature-special-hooks):
22941 Add `auto-coding-functions', `fill-nobreak-predicate' and
22942 `find-directory-functions' (bug#5327).
22944 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22946 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22948 * cus-edit.el (custom-guess-name-alist): -alist variables should
22949 use the `alist' type (bug#3120). Suggested by Drew Adams.
22951 * printing.el: Add documentation to all the `pr-toggle-' commands.
22953 2011-07-11 Leo Liu <sdl.web@gmail.com>
22955 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22956 backends where it makes sense (bug#2623).
22958 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22960 * dired-x.el (dired-guess-default): Remove duplicate shell command
22961 entries (bug#2028).
22962 (dired-guess-default): Fix grammar in doc string (bug#2028).
22963 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22965 * subr.el (remove-duplicates): New conveniency function.
22967 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22969 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22972 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22974 * window.el (display-buffer-normalize-default): Don't invert
22975 meaning of even-window-heights. Reported by Eli Zaretskii
22978 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22980 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22982 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22984 * window.el (display-buffer): Fix arguments to
22985 display-buffer-reuse-window in last change.
22987 * faces.el (link): Use a less saturated blue on light backgrounds.
22989 * startup.el (fancy-startup-text, fancy-about-text)
22990 (fancy-startup-tail): Use font-lock faces, for background safety.
22992 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22994 * emulation/viper-cmd.el (viper-change-state-to-vi):
22995 Limit triggering of abbrev expansion (Bug#9038).
22997 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22999 * window.el (display-buffer-default-specifiers): Remove.
23000 (display-buffer-macro-specifiers): Remove default specifiers.
23001 (display-buffer-alist): Default to nil.
23002 (display-buffer-reuse-window): New optional argument other-window.
23003 (display-buffer-pop-up-window): Allow splitting internal
23004 windows. Check whether a live window was created.
23005 (display-buffer-other-window-means-other-frame)
23006 (display-buffer-normalize-arguments): Rename to
23007 display-buffer-normalize-argument and rewrite. Set the
23008 other-window specifier.
23009 (display-buffer-normalize-special): New function.
23010 (display-buffer-normalize-options): Rename to
23011 display-buffer-normalize-default and rewrite.
23012 (display-buffer-normalize-options-inhibit): Remove.
23013 (display-buffer-normalize-specifiers): Rewrite.
23014 (display-buffer): Process other-window specifier and call
23015 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23017 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23018 (display-buffer-alist-set): Don't handle 'unset default values.
23019 (display-buffer-in-window, display-buffer-alist-set):
23020 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23021 <tassilo@member.fsf.org>.
23023 2011-07-09 Leo Liu <sdl.web@gmail.com>
23025 * register.el (insert-register): Restore accidental change on
23026 2011-06-26. (Bug#9028)
23028 2011-07-09 Glenn Morris <rgm@gnu.org>
23030 * subr.el (remq): Handle the empty list. (Bug#9024)
23032 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23034 * mail/sendmail.el (send-mail-function): No longer delay custom
23036 * custom.el (custom-initialize-delay): Doc fix.
23038 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23040 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23042 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23044 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23045 human-friendly prompt.
23047 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23049 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23050 provided by a particular plugin.
23052 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23054 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23055 save customizations (with "emacs -Q"), just set the variable
23056 instead of erroring out.
23058 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23060 2011-07-08 Juri Linkov <juri@jurta.org>
23062 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23063 (archive-zip-update-case): Use 7z if found by `executable-find'.
23064 The order of searching the available programs is the same as in
23065 `archive-zip-extract' (bug#8968).
23067 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23069 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23070 (menu-bar-options-menu): Tweak descriptions.
23072 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23074 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23075 menu items into verb phrases (bug#1421). Also refill to fit under
23078 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23080 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23081 (Info-read-node-name): Doc fix (Bug#1084).
23083 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23084 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23085 (end-of-sexp, beginning-of-sexp)
23086 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23087 (forward-symbol, forward-same-syntax, word-at-point)
23088 (sentence-at-point): Doc fix (Bug#1144).
23090 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23092 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23093 should cover it (bug#1281).
23095 * cus-edit.el (custom-show): Mark as obsolete.
23097 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23098 negotiation fails, then possibly try again with a non-encrypted
23099 connection (bug#9017).
23101 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23104 2011-07-07 Richard Stallman <rms@gnu.org>
23106 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23107 property, and handle its changed format.
23108 Look for the correct line number.
23109 Use file's line contents (but not past first =) to find
23110 correct line in message.
23112 2011-07-07 Kenichi Handa <handa@m17n.org>
23114 * international/characters.el (build-unicode-category-table):
23116 (unicode-category-table): Set it by unicode-property-table-internal.
23118 * international/mule-cmds.el (char-code-property-alist): Move to
23120 (get-char-code-property): Call unicode-property-table-internal to
23121 load a file. Call get-unicode-property-internal where necessary.
23122 (put-char-code-property): Call unicode-property-table-internal to
23123 load a file. Call put-unicode-property-internal where necessary.
23124 put-unicode-property-internal where necessary.
23125 (char-code-property-description):
23126 Call unicode-property-table-internal to load a file.
23128 * international/charprop.el:
23129 * international/uni-bidi.el:
23130 * international/uni-category.el:
23131 * international/uni-combining.el:
23132 * international/uni-comment.el:
23133 * international/uni-decimal.el:
23134 * international/uni-decomposition.el:
23135 * international/uni-digit.el:
23136 * international/uni-lowercase.el:
23137 * international/uni-mirrored.el:
23138 * international/uni-name.el:
23139 * international/uni-numeric.el:
23140 * international/uni-old-name.el:
23141 * international/uni-titlecase.el:
23142 * international/uni-uppercase.el: Regenerate.
23144 * loadup.el: Load international/charprop.el before
23145 international/characters.
23147 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23149 * window.el (next-buffer, previous-buffer): Signal an error if
23150 called from a minibuffer window.
23152 * bindings.el: Revert 2011-07-04 change.
23154 2011-07-06 Richard Stallman <rms@gnu.org>
23156 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23157 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23158 Treat markers like ints.
23159 (rmail-mime-entity): Doc fix.
23161 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23163 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23164 defcustom again for backwards compatibility.
23166 * simple.el (shell-command-on-region): Fill.
23168 * dired-aux.el (dired-kill-line): Add a doc string.
23170 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23171 to "\\sw\\|\\s_" (bug#358).
23173 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23174 (dired-unmark-backward): Ditto.
23175 (dired-flag-backup-files): Ditto.
23177 * dired-x.el (dired-mark-sexp): Ditto.
23179 2011-07-06 Richard Stallman <rms@gnu.org>
23181 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23182 (rmail-mime-entity): New arg TRUNCATED.
23183 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23185 (rmail-mime-save): Warn if entity is truncated.
23186 (rmail-mime-toggle-hidden): Likewise, for showing.
23187 (rmail-mime-process-multipart): Record when an entity is truncated.
23189 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23190 if ENTITY is a string.
23192 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23194 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23195 of faces when `M-C-x'-ing their definitions (bug#8378).
23196 Also clean up the code slightly.
23198 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23199 because that makes the colors go away.
23201 * mail/sendmail.el (send-mail-function): Change the default to
23202 `sendmail-query-once'.
23203 (sendmail-query-once): Add an autoload cookie.
23205 * net/network-stream.el (network-stream-open-starttls): Try using
23206 a plain connection even if the server offered STARTTLS, and we
23207 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23208 capability. This should make smtpmail.el work in slightly more
23211 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23213 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23215 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23217 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23219 * progmodes/sql.el: Version 3.0
23220 (sql-product-alist): Add product :completion-object,
23221 :completion-column, and :statement attributes.
23222 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23223 (sql-mode-syntax-table): Mark all punctuation.
23224 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23226 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23227 (sql-mode-oracle-font-lock-keywords): Improve.
23228 (sql-oracle-show-reserved-words): New function for development.
23229 (sql-product-font-lock): Simplify for source code buffers.
23230 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23232 (sql-highlight-product): Set product specific syntax table.
23233 (sql-mode-map): Add statement movement functions.
23234 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23236 (sql-statement-regexp, sql-beginning-of-statement)
23237 (sql-end-of-statement, sql-signum): New functions.
23238 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23239 (sql-show-sqli-buffer): Bug fix.
23240 (sql-interactive-mode): Store connection data as buffer local.
23241 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23242 with sql-interactive-mode.
23243 (sql-save-connection): Save buffer local settings.
23244 (sql-connection-menu-filter): Change menu entry name.
23245 (sql-product-interactive): Bug fix.
23246 (sql-preoutput-hold): New variable.
23247 (sql-interactive-remove-continuation-prompt): Bug fixes.
23248 (sql-debug-redirect): New variable.
23249 (sql-str-literal): New function.
23250 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23252 (sql-oracle-save-settings, sql-oracle-restore-settings)
23253 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23254 (sql-completion-object, sql-completion-column)
23255 (sql-completion-sqlbuf): New variables.
23256 (sql-build-completions-1, sql-build-completions)
23257 (sql-try-completion): New functions.
23258 (sql-read-table-name): Use them.
23259 (sql-contains-names): New buffer local variable.
23260 (sql-list-all, sql-list-table): Use it.
23261 (sql-oracle-completion-types): New variable.
23262 (sql-oracle-completion-object, sql-sqlite-completion-object)
23263 (sql-postgres-completion-object): New functions.
23265 2011-07-06 Glenn Morris <rgm@gnu.org>
23267 * window.el (pop-to-buffer): Doc fix.
23269 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23271 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23273 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23275 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23277 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23279 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23281 * button.el (button): Inherit from link face. Suggested by Dan
23284 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23286 * progmodes/gdb-mi.el: Fit in 80 columns.
23287 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23290 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23291 if imenu is simply not configured (bug#8941).
23293 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23295 * allout.el (allout-post-undo-hook): New allout outline-change
23296 event hook to signal undo activity.
23297 (allout-post-command-business): Run allout-post-undo-hook if an
23298 undo just occurred.
23299 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23300 * allout-widgets.el (allout-widgets-after-undo-function):
23301 Ensure the integrity of the current item's decoration after it has been
23302 in the vicinity of an undo.
23303 (allout-widgets-mode): Include allout-widgets-after-undo-function
23304 on the new allout-post-undo-hook.
23306 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23308 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23309 Let define-derived-mode define it.
23310 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23311 cycles of abbrev-table inheritance (bug#8998).
23313 2011-07-05 Roland Winkler <winkler@gnu.org>
23315 * textmodes/bibtex.el: Add support for biblatex.
23316 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23317 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23318 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23319 (bibtex-entry-alist, bibtex-field-alist): New variables.
23320 (bibtex-entry-field-alist): Obsolete alias for
23321 bibtex-BibTeX-entry-alist.
23322 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23323 (bibtex-set-dialect): New command.
23324 (bibtex-entry-type, bibtex-entry-head)
23325 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23326 Bind via bibtex-set-dialect.
23327 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23328 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23329 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23330 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23331 Define via bibtex-set-dialect.
23332 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23333 Obey bibtex-no-opt-remove-re.
23334 (bibtex-vec-push, bibtex-vec-incr): New functions.
23335 (bibtex-format-entry, bibtex-field-list)
23336 (bibtex-print-help-message, bibtex-validate)
23337 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23339 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23341 * progmodes/compile.el (compilation-goto-locus):
23342 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23343 * bs.el (bs-cycle-next, bs-cycle-previous):
23344 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23345 * bindings.el (mode-line-other-buffer):
23346 * autoinsert.el (auto-insert):
23347 * arc-mode.el (archive-extract):
23348 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23350 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23352 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23353 Fix check of `emacs-lock-unlockable-modes'.
23354 Coerce true values of `emacs-lock--try-unlocking' to t.
23356 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23358 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23359 * emacs-lock.el: New file.
23361 2011-07-05 Julien Danjou <julien@danjou.info>
23363 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23364 than `boundp' to check if face is set.
23366 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23368 * register.el (registerv-make):
23369 * window.el (window-min-height): Fix typos in docstrings.
23371 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23373 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23376 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23378 * server.el (server-execute): Catch quit and call
23379 `server-return-error' to pass the error back to emacsclient and
23380 close the connection (bug#8942).
23382 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23384 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23385 insecure exception for current topic. Also note that auto-saves
23386 are handled differently.
23388 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23389 State variables for tracking auto-save inhibition situation.
23391 (allout-write-contents-hook-handler): Rename from
23392 'allout-write-file-hook-handler', and describe how it depends on
23393 write-contents-functions sensitivity to non-nil value to prevent
23396 (allout-auto-save-hook-handler): Remove. auto-save does not check
23397 this in individual buffers, only in the starting buffer, so this
23398 is not the right way for us to inhibit auto-save in a buffer
23399 according to its condition.
23401 (allout-mode): Use new allout-write-contents-hook-handler, and
23402 only with write-contents-functions. Remove auto-save provisions -
23403 they're implemented elsewhere.
23405 (allout-before-change-handler): If undo is in progress, note that
23406 for attention of allout-post-command-business.
23408 (allout-post-command-business): If the command we're following was
23409 an undo, check for change in the status of encrypted items and
23410 adjust auto-save inhibitions accordingly.
23412 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23413 according to whether there are or aren't any plain-text topics
23414 pending encryption.
23416 (allout-inhibit-auto-save-info-for-decryption):
23417 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23418 if there are plain-text topics pending encryption.
23420 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23421 buffer-saved-size and some allout state to not inhibit auto-saves
23422 if there are no longer any plain-text topics pending encryption.
23424 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23425 No longer provide for exemption of the current topic.
23427 2011-07-04 Juri Linkov <juri@jurta.org>
23429 Add 7z operations to delete and save changed members (bug#8968).
23430 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23432 (archive-7z-write-file-member): New function.
23433 (archive-7z-summarize): Fix the number of dashes in the
23436 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23438 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23441 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23443 * bindings.el: Ignore next-buffer and previous-buffer in
23444 minibuffer-local-map.
23446 * font-lock.el (font-lock-builtin-face): Change light background
23447 color to dark slate blue (Bug#6693).
23449 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23451 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23453 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23455 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23456 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23457 Add switch-to-buffer.
23459 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23461 * isearch.el (isearch-search-fun-function): Clarify further the
23462 meaning of the function returned.
23464 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23466 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23468 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23469 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23471 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23472 `tramp-default-remote-path' does not exist.
23473 (tramp-send-command-and-read): New optional argument NOERROR.
23474 (tramp-open-connection-setup-interactive-shell)
23475 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23476 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23477 (tramp-process-sentinel): Flush also process' connection property.
23478 (tramp-sh-handle-start-file-process): Do not set process
23479 sentinel. It is done now ...
23480 (tramp-maybe-open-connection): ... here. (Bug#8929)
23482 2011-07-04 MON KEY <monkey@sandpframing.com>
23484 * play/animate.el (animate-string): Doc fixes and allow changing
23485 the buffer name (bug#5417).
23487 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23489 * play/animate.el (animation-buffer-name): Rename from *animate*.
23491 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23493 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23494 This is simpler and helps future-proof the code.
23495 (timer-until): Use time-subtract and float-time.
23496 (timer--time-less-p): Use time-less-p.
23498 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23500 * type-break.el (timep): Use the value of `float-time' to avoid a
23501 byte-compiler warning.
23503 * server.el (server-eval-and-print): Return any result, even nil.
23505 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23507 * type-break.el: Accept time formats that the builtins accept.
23508 (timep, type-break-time-difference): Accept any format that
23509 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23510 This is simpler and helps future-proof the code.
23511 (type-break-time-difference): Round rather than ignoring
23512 subseconds components.
23514 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23516 * info.el (Info-apropos-matches): Make non-interactive, since it
23517 doesn't seem to do anything useful as a command (bug#8829).
23519 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23521 * frame.el (frame-background-mode, frame-set-background-mode):
23522 Move from faces.el.
23523 (frame-default-terminal-background): New function.
23525 * custom.el (custom-push-theme): Don't record faces in `changed'
23526 theme; this doesn't work correctly for per-frame face settings.
23527 (disable-theme): Use face-set-after-frame-default to reset faces.
23528 (custom--frame-color-default): New function.
23530 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23532 * dired.el (dired-flagging-regexp): Remove unused variable
23535 2011-03-29 Kevin Ryde <user42@zip.com.au>
23537 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23538 `perl-Test2' extend to match possible "fail #N" rep count
23541 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23543 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23544 `smtpmail-via-smtp' now returns the error instead of nil.
23546 * isearch.el (isearch-search-fun-function): Clarify the doc string
23549 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23551 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23552 unnecessary spaces (bug#8987).
23554 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23556 * net/network-stream.el (open-network-stream): Use the
23557 :end-of-capability command thoughout.
23559 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23561 * net/network-stream.el (open-network-stream): Add the
23562 :end-of-capability command parameter, used by pop3.el.
23564 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23566 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23568 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23569 for list)" (bug#6475).
23571 * files.el (file-expand-wildcards): Ignore non-readable
23572 sub-directories while trying to find matches instead of signaling
23573 an error (bug#6297).
23575 * man.el (Man-reference-regexp): Allow matching possible
23576 word-wrapped references (bug#6289).
23578 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23579 for consistency with the other vc buffers (bug#6197).
23580 (vc-checkin): Ditto.
23582 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23584 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23586 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23588 * custom.el (defcustom): Clarify that :set is only used in the
23589 Customize user interface (bug#6089).
23591 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23592 associated with a file, refuse to run instead of erroring out
23595 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23596 the doc string, since it appears that using `fill-column' always
23597 controls the width (bug#7845).
23599 * simple.el (shell-command-on-region): Say where the error output
23600 went if `shell-command-default-error-buffer' is set (bug#6857).
23602 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23604 * allout.el (allout-yank-processing): Adjust cursor position for
23605 backwards-deleted space.
23607 (allout-rebullet-heading): Register changes with
23608 allout-exposure-changed-hook, so the modified topic is properly
23611 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23613 * minibuffer.el (completion-in-region): Document PREDICATE
23616 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23617 of keyword/argument pairs (bug#6904).
23619 * replace.el (multi-occur):
23620 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23622 2011-07-02 Drew Adams <drew.adams@oracle.com>
23624 * dired.el (dired-mark-if): Make the message about whether it's
23625 marking or unmarking clearer (bug#8523).
23627 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23629 * disp-table.el (display-table-print-array): New function.
23630 (describe-display-table): Use it to print the vectors more pretty
23633 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23635 * window.el (window-state-get-1): Don't assign clone numbers.
23636 Add clone-of item to list of window parameters.
23637 (window-state-put-2): Don't process clone numbers.
23638 (display-buffer-alist): Fix doc-string.
23640 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23642 * subr.el (remq): Don't allocate if it's not needed.
23643 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23644 (keymap--merge-bindings): New functions.
23645 (keymap-canonicalize): Use them to refine the canonicalization.
23646 * minibuffer.el (minibuffer-local-completion-map)
23647 (minibuffer-local-must-match-map): Move initialization from C.
23648 (minibuffer-local-filename-completion-map): Move initialization from C;
23649 don't inherit from anything here.
23650 (minibuffer-local-filename-must-match-map): Make obsolete.
23651 (completing-read-default): Use make-composed-keymap to combine
23652 minibuffer-local-filename-completion-map with either
23653 minibuffer-local-must-match-map or
23654 minibuffer-local-filename-completion-map.
23656 2011-07-01 Glenn Morris <rgm@gnu.org>
23658 * type-break.el (type-break-time-sum): Use dolist.
23660 * textmodes/flyspell.el (flyspell-word-search-backward):
23661 Replace CL function.
23663 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23665 * mouse.el (mouse--strip-first-event): New function.
23666 (function-key-map): Use it to map fringe clicks to normal clicks
23669 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23670 (vc-bzr-revision-completion-table): Add support for annotate and date.
23672 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23673 inherit from parent.
23675 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23677 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23678 (dired-show-file-type): Doc fixup (bug#8818).
23680 * dired.el (dired-mode): Fix up the doc string as suggested by
23681 Drew Adams (bug#8817).
23683 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23684 cookie, since the manual says that it should be possible to add
23685 this function to `find-file-hook' (bug#8709).
23687 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23689 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23690 here. Noted Ted Zlatanov as the maintainer.
23691 (cfengine-common-settings, cfengine-common-syntax): New functions
23692 to set up common things between `cfengine-mode' and
23694 (cfengine3-mode): New mode.
23695 (cfengine3-defuns cfengine3-defuns-regex
23696 (cfengine3-class-selector-regex cfengine3-category-regex)
23697 (cfengine3-vartypes cfengine3-font-lock-keywords)
23698 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23699 (cfengine3-indent-line): Add from cfengine3.el.
23701 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23703 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23705 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23707 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23709 * window.el (same-window-buffer-names, same-window-regexps)
23710 (same-window-p, special-display-frame-alist)
23711 (special-display-popup-frame, special-display-function)
23712 (special-display-buffer-names, special-display-regexps)
23713 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23714 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23715 (split-window-preferred-function, split-height-threshold)
23716 (split-width-threshold, even-window-heights)
23717 (display-buffer-mark-dedicated, window-splittable-p)
23718 (split-window-sensibly, window-safely-shrinkable-p):
23720 (display-buffer): Don't spread args with function specifier
23721 because special-display-popup-frame won't like it.
23723 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23725 Time-stamp simplifications and fixes.
23726 These improve accuracy slightly, and future-proof the code
23727 against some potential changes to current-time format.
23729 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23730 by using time-since and float-time.
23732 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23733 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23734 + NNN microseconds".
23736 * type-break.el (type-break-time-sum): Rewrite using time-add.
23738 * play/hanoi.el (hanoi-current-time-float): Remove.
23739 All uses replaced by float-time.
23741 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23742 This yields a more-accurate answer.
23743 (rng-time-to-float): Remove; no longer needed.
23745 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23747 * calendar/timeclock.el (timeclock-seconds-to-time):
23748 Defalias to seconds-to-time, since they're the same thing.
23750 * emacs-lisp/elp.el (elp-elapsed-time):
23751 * emacs-lisp/benchmark.el (benchmark-elapse):
23752 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23754 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23756 * window.el (bury-buffer): Don't iconify the only frame.
23757 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23758 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23760 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23762 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23763 Add mouse-yank-primary.
23765 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23767 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23769 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23771 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23772 (find-library-name): Use it to find relative load names when provided
23773 absolute file name (bug#8803).
23775 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23777 * textmodes/flyspell.el (flyspell-word): Consider words that
23778 differ only in case as potential doublons (bug#5687).
23780 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23781 Remove two rather uninteresting debugging-like messages to make
23782 debbugs.el more silent.
23784 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23785 a password-like phrase.
23787 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23789 * progmodes/cc-guess.el: New file.
23791 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23793 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23794 derived from `c-basic-common-init'.
23796 * progmodes/cc-mode.el (top-level): Require cc-guess.
23797 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23799 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23801 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23803 2011-06-30 Alan Mackenzie <acm@muc.de>
23805 * progmodes/cc-engine.el (c-guess-continued-construct):
23806 Correct the handling of template-args-cont, particularly for when font
23807 lock is disabled. Name this case as "CASE G".
23809 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23811 * allout.el (allout-yank-processing): Fix injection of extra space
23812 between bullet and non-whitespace character in first topic when
23813 pasting, ensuring that the actual spacing in the pasted topic
23814 following the bullet char is preserved. This extra space was
23815 causing pasted encrypted topics to get a decrypted status even
23816 when the content was actually still encrypted. Now the decryption
23817 status from before the paste is preserved.
23819 (allout-flag-region): Set all allout overlays so they evaporate
23820 when reduced to zero length (evanescent), to prevent overlay
23823 2011-06-30 Glenn Morris <rgm@gnu.org>
23825 * w32-fns.el (w32-charset-info-alist): Declare.
23827 * find-dired.el (find-grep-options): Simplify.
23829 * term/ns-win.el (ns-set-resource): Declare.
23831 * ses.el (row, col): Declare dynamic variables honestly.
23833 * textmodes/reftex-parse.el (index-tags): Declare.
23835 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23837 * cus-edit.el (customize-push-and-save): New function.
23839 * files.el (hack-local-variables-confirm): Use it.
23841 * custom.el (load-theme): New arg NO-CONFIRM.
23842 Use customize-push-and-save (Bug#8720).
23843 (custom-enabled-themes): Doc fix.
23845 * cus-theme.el (customize-create-theme)
23846 (custom-theme-merge-theme): Callers to load-theme changed.
23848 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23850 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23851 short URLs have at least one dot in them (bug #7614).
23853 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23854 nil, because using a pty is apparently too slow (bug #895).
23856 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23858 * mail/sendmail.el (sendmail-query-once): New function.
23859 (sendmail-query-once-function): New variable.
23861 2011-06-29 Glenn Morris <rgm@gnu.org>
23863 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23865 * ses.el (top-level): Require cl when compiling.
23866 (ses-set-localvars): Fix error statement.
23867 Call it at compile time to silence a storm of warnings.
23869 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23871 * window.el (normalize-live-buffer): Rename to
23872 window-normalize-buffer.
23873 (normalize-live-frame): Rename to window-normalize-frame.
23874 (normalize-any-window): Rename to window-normalize-any-window.
23875 (normalize-live-window): Rename to window-normalize-live-window.
23876 (make-window-atom): Rename to window-make-atom.
23877 (window-resize-reset): Rename to window--resize-reset.
23878 (window-resize-reset-1): Rename to window--resize-reset-1.
23879 (resize-mini-window): Rename to window--resize-mini-window.
23880 (resize-subwindows-skip-p): Rename to
23881 window--resize-subwindows-skip-p.
23882 (resize-subwindows-normal): Rename to
23883 window--resize-subwindows-normal.
23884 (resize-subwindows): Rename to window--resize-subwindows.
23885 (resize-other-windows): Rename to window--resize-siblings.
23886 (resize-this-window): Rename to window--resize-this-window.
23887 (resize-root-window): Rename to window--resize-root-window.
23888 (resize-root-window-vertically): Rename to
23889 window--resize-root-window-vertically.
23890 (normalize-buffer-to-display): Rename to
23891 window-normalize-buffer-to-display.
23892 (normalize-buffer-to-switch-to): Rename to
23893 window-normalize-buffer-to-switch-to.
23894 Correspondingly update all callers of the functions listed
23896 (display-buffer-alist, display-buffer-normalize-arguments)
23897 (display-buffer-normalize-options, display-buffer)
23898 (display-buffer-alist-set): Use "function" instead of
23901 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23903 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23904 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23905 debbugs.gnu.org. Mention acknowledgment email.
23907 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23909 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23910 buffer multibyteness, since it shouldn't matter.
23912 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23914 * window.el (display-buffer-in-side-window): Handle dedicated
23915 windows as in display-buffer-reuse-window.
23916 (display-buffer-normalize-alist): Use value of override
23918 (display-buffer-normalize-specifiers): Use value of
23919 other-window-means-other-frame specifier.
23920 (display-buffer-alist): Rewrite some texts in widgets.
23921 (display-buffer): Spread arguments when calling function
23922 specified by fun-with-args.
23924 2011-06-28 Deniz Dogan <deniz@dogan.se>
23926 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23929 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23930 selectors (Bug#5732).
23931 (css-proprietary-nmstart-re): Use `regexp-opt'.
23933 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23935 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23936 (eshell-ls-date-format): New defcustom.
23937 (eshell-ls-file): Use it.
23939 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23941 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23943 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23945 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23946 (ange-ftp-make-tmp-name): New arg.
23947 (ange-ftp-file-local-copy): Use it.
23949 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23951 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23952 no-conversion (Bug#8870).
23954 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23956 * window.el (window-right, window-left, window-child)
23957 (window-child-count, window-last-child)
23958 (window-iso-combination-p, walk-window-tree-1)
23959 (window-atom-check-1, window-tree-1, delete-window)
23960 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23961 new naming conventions - window-vchild, window-hchild,
23962 window-next and window-prev are now called window-top-child,
23963 window-left-child, window-next-sibling and window-prev-sibling
23965 (resize-window-reset): Rename to window-resize-reset.
23966 (resize-window-reset-1): Rename to window-resize-reset-1.
23967 (resize-window): Rename to window-resize.
23968 (window-min-height, window-min-width)
23969 (resize-mini-window, resize-this-window, resize-root-window)
23970 (resize-root-window-vertically, adjust-window-trailing-edge)
23971 (enlarge-window, shrink-window, maximize-window)
23972 (minimize-window, delete-window, quit-restore-window)
23973 (split-window, balance-windows, balance-windows-area-adjust)
23974 (balance-windows-area, window-state-put-2)
23975 (display-buffer-even-window-sizes, display-buffer-set-height)
23976 (display-buffer-set-width, set-window-text-height)
23977 (fit-window-to-buffer): Rename all "resize-window" prefixed
23978 calls to use the "window-resize" prefix convention.
23979 (display-buffer-alist): Fix symbol for label specifier.
23980 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23981 corresponding specifier.
23982 Reported by Juanma Barranquero <lekktu@gmail.com>.
23984 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23986 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23988 (ses-call-printer): Does not pass an empty string to formatter when the
23989 cell is empty to keep from barking printer Calc math-format-value.
23991 2011-06-27 Richard Stallman <rms@gnu.org>
23993 * battery.el (battery-mode-line-limit): New variable.
23994 (battery-update): Handle it.
23996 * mail/rmailmm.el (rmail-mime-process-multipart):
23997 Handle truncated messages.
23999 2011-06-27 Glenn Morris <rgm@gnu.org>
24001 * progmodes/flymake.el (flymake-err-line-patterns):
24002 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24004 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24006 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24007 (ses--clean-!, ses--clean-_): New functions.
24008 (ses-range): Add configurability of readout order, and conversion
24011 * ses.el (ses-repair-cell-reference-all): New function.
24012 (ses-cell-symbol): Set macro as safe, so that it can be used in
24015 * ses.el: Update cycle detection algorithm.
24016 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24017 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24018 (ses-set-localvars): New function.
24019 (ses-make-cell): Add property-list as a cell element.
24020 (ses-cell-property-get-fun, ses-cell-property-get)
24021 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24022 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24024 (ses-cell-property-set, ses-cell-property-pop)
24025 (ses-cell-property-get-handle): New macro.
24026 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24027 New aliases, used for code readability.
24028 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24030 (ses-self-reference-early-detection): New defcustom.
24031 (ses-formula-references): Robustify against self-referring cells.
24032 (ses-mode): Use ses-set-localvars.
24033 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24034 before lauching the update processing.
24035 (ses-initialize-Dijkstra-attempt): New function.
24036 (ses-recalculate-cell): Update for cycle detection based on
24037 Dijkstra algorithm.
24039 * ses.el: Fix commenting and indenting convention.
24041 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24043 * bs.el (bs-cycle-next): Complete last change.
24045 2011-06-27 Drew Adams <drew.adams@oracle.com>
24047 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24049 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24051 * net/network-stream.el (network-stream-open-starttls):
24052 Don't re-get capabilities unless we've reestablished connection.
24053 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24055 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24056 to binary to possibly avoid line encoding issues on Windows (among
24059 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24061 * net/network-stream.el (open-network-stream): Return an :error
24062 saying what the problem was, if possible.
24064 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24067 * net/network-stream.el (network-stream-open-starttls): If we
24068 wanted to use STARTTLS, and the server offered it, but we weren't
24069 able to because we had no STARTTLS support, then close the connection.
24070 (open-network-stream): Return an :error element, if present.
24072 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24074 * hl-line.el (hl-line-sticky-flag): Doc fix.
24075 (global-hl-line-sticky-flag): New option (Bug#8323).
24076 (global-hl-line-highlight): Obey it.
24078 * vc/vc.el (vc-revert-show-diff): Default to t.
24080 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24082 * allout-widgets.el (allout-widgets-post-command-business):
24083 Stop decorating intermediate isearch matches. They're not being
24084 undecorated when an isearch is continued past, and isearch
24085 automatically collapses them. This leads to "widget leaks", where
24086 decorated items accumulate in collapsed areas. Lines with lots of
24087 hidden widgets can slow down cursor travel, substantially.
24088 Too much complicated machinery would be needed to ensure undecoration,
24089 so we're doing without this nicety.
24091 (allout-widgets-tally-string): Don't try to do a hash-table-count
24092 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24093 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24094 *Messages* when allout-widgets-maintain-tally is t.
24096 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24098 * window.el (display-buffer-normalize-argument): Rename to
24099 display-buffer-normalize-arguments. Handle special meaning of
24100 LABEL argument. Respect special-display-function when popping up
24101 a new frame. Fix code searching for a window showing the buffer
24103 (display-buffer-normalize-specifiers):
24104 Call display-buffer-normalize-arguments.
24105 (display-buffer-in-window): Don't undedicate the window if its
24106 buffer remains the same.
24107 Reported by Drew Adams <drew.adams@oracle.com>.
24108 (display-buffer-alist): Add choice for same-window macro
24110 (display-buffer): Mention special meaning of LABEL argument in
24111 doc-string. Fix quoting. Don't pop up a new frame even as
24114 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24116 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24117 avoid deleting the current window in some cases (bug#8911).
24119 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24121 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24124 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24126 * net/network-stream.el (network-stream-open-starttls):
24127 Use built-in TLS support if `gnutls-available-p' is true.
24128 (network-stream-open-tls): Ditto.
24130 2011-06-26 Leo Liu <sdl.web@gmail.com>
24132 * register.el (registerv): New struct.
24133 (registerv-make): New function.
24134 (jump-to-register, describe-register-1, insert-register):
24135 Support the jump-func, print-func and insert-func slot of a registerv
24138 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24140 * vc/vc.el (vc-revert-show-diff): New defcustom.
24141 (vc-diff-internal): New arg specifying diff buffer.
24142 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24143 reuse an existing *vc-diff* buffer (Bug#8927).
24145 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24147 2011-06-26 Glenn Morris <rgm@gnu.org>
24149 * progmodes/f90.el (f90-critical-indent): New option.
24150 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24151 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24152 (f90-mode): Doc fix.
24153 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24154 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24155 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24156 (f90-match-end): Handle block, critical.
24158 2011-06-25 Glenn Morris <rgm@gnu.org>
24160 * calendar/diary-lib.el (diary-included-files): Doc fix.
24161 (diary-include-files): New function, extracted from
24162 diary-include-other-diary-files and diary-mark-included-diary-files.
24163 (diary-include-other-diary-files, diary-mark-included-diary-files):
24164 Just call diary-include-files.
24165 (diary-mark-entries): Reset diary-included-files on first call.
24167 * calendar/diary-lib.el (diary-mark-entries)
24168 (diary-mark-included-diary-files):
24169 Visit included diary-files in temp buffers.
24171 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24172 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24173 (f90-start-block-re, f90-imenu-generic-expression)
24174 (f90-looking-at-program-block-start, f90-no-block-limit):
24175 Add support for submodules.
24177 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24178 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24180 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24182 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24183 buffer-file-type before setting its value, to avoid disastrous
24184 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24186 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24188 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24190 * ses.el (ses-unload-function):
24191 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24193 * proced.el (proced-unload-function):
24194 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24196 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24198 * server.el (server-create-window-system-frame): Add parameters arg.
24199 (server-process-filter): Doc fix. Handle frame-parameters.
24201 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24203 Fix bug#8730, bug#8781.
24205 * loadhist.el (unload--set-major-mode): New function.
24206 (unload-feature): Use it.
24208 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24209 (python-unload-function): New function.
24211 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24213 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24215 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24217 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24218 the candidates list.
24220 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24222 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24224 2011-06-23 Richard Stallman <rms@gnu.org>
24226 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24227 (rmail-variables): Set next-error-move-function.
24228 (rmail-what-message): Take argument POS.
24229 (rmail-next-error-move): New function.
24231 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24233 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24234 messages for adjacent non-terminals.
24236 2011-06-23 Richard Stallman <rms@gnu.org>
24238 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24239 (rmail-show-message-1): Preserve buffer modified flag.
24240 (rmail-start-mail): Don't specify use of rmail-mail-return;
24241 that's done by mail-bury now.
24242 (rmail-mail-return): Handle arg NEWBUF.
24244 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24246 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24249 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24251 * window.el (get-lru-window, get-mru-window)
24252 (get-largest-window): Never return a minibuffer window.
24253 (display-buffer-pop-up-window): Fix a bug that could lead to
24254 reusing the minibuffer window.
24255 (display-buffer): Pass original specifier argument to
24256 display-buffer-function instead of the normalized one.
24257 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24259 2011-06-22 Leo Liu <sdl.web@gmail.com>
24261 * minibuffer.el (completing-read-function)
24262 (completing-read-default): Move from minibuf.c.
24264 2011-06-22 Richard Stallman <rms@gnu.org>
24266 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24267 to Rmail even if not started by a special Rmail command.
24269 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24270 Copy the buffer currently showing just one message.
24272 2011-06-22 Roland Winkler <winkler@gnu.org>
24274 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24275 (bibtex-clean-entry): First delete the old key so that a
24276 customized algorithm for generating the new key does not get
24277 confused by the old key.
24278 (bibtex-url): Obey regexp of first step.
24279 (bibtex-search-entries): Do not use add-to-list with local
24282 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24284 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24285 stored a user name, then query for the password first, instead of
24286 waiting for SMTP to give an error message and the trying again.
24288 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24290 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24291 BUFFER in call-process.
24293 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24295 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24297 (smtpmail-try-auth-methods): Require user name and password from
24300 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24302 * window.el (display-buffer-default-specifiers)
24303 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24304 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24305 (split-window): Normalize SIDE argument (Bug#8916).
24307 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24308 (special-display-frame-alist, special-display-popup-frame):
24309 Remove duplicate declarations. These are now in window.el.
24311 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24313 * mail/smtpmail.el (smtpmail-via-smtp):
24314 Set :use-starttls-if-possible so that we always use STARTTLS if the
24315 server supports it. SMTP servers that support STARTTLS commonly
24318 * net/network-stream.el (network-stream-open-starttls): Support
24319 upgrading to STARTTLS always, even if we don't have built-in support.
24320 (open-network-stream): Add the :always-query-capabilities keyword.
24322 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24323 upgrades with `open-network-stream', and rely solely on
24324 auth-source for all credentials. Big changes throughout the file,
24326 (smtpmail-auth-credentials): Remove.
24327 (smtpmail-starttls-credentials): Remove.
24328 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24331 * net/network-stream.el (network-stream-open-starttls):
24332 Provide support for client certificates both for external and built-in
24334 (auth-source): Require.
24335 (open-network-stream): Document the :client-certificate keyword.
24336 (network-stream-certificate): Change cert-cert to cert and
24339 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24341 * net/tramp-cache.el (top): Don't load the persistency file when
24342 "emacs -Q" has been called.
24344 2011-06-21 Tim Harper <timcharper@gmail.com>
24346 * term/ns-win.el (ns-initialize-window-system):
24347 Set application-specific `ApplePressAndHoldEnabled' system
24348 resource to NO as it is not yet supported by the NS port.
24350 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24352 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24353 (list-dynamic-libraries): ...not here.
24355 2011-06-21 Leo Liu <sdl.web@gmail.com>
24357 * subr.el (sha1): Implement sha1 using secure-hash.
24359 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24361 * window.el (display-buffer-alist): In default value do not
24362 enforce searching a window on any but the selected frame.
24363 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24364 (display-buffer-select-window): Remove function.
24365 (display-buffer-in-window): When a window on another frame gets
24366 reused, do not select it any more but just raise its frame if
24367 necessary (Bug#8851) and (Bug#8856).
24368 (display-buffer-normalize-options): Handle pop-up-frames related
24369 options more faithfully.
24370 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24371 window if it is on another frame.
24372 (display-buffer-alist, display-buffer-default-specifiers):
24373 Don't make new frame unsplittable by default.
24374 (display-buffer-normalize-argument): Fix doc-string typo and use
24375 'same-frame-other-window instead of 'other-window when associating
24376 with display-buffer-macro-specifiers.
24378 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24380 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24382 (5x5-mode-map, 5x5-mode-menu): Bind them.
24383 (5x5-draw-grid): Tweak the solver's rendering.
24385 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24387 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24388 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24390 2011-06-21 Drew Adams <drew.adams@oracle.com>
24392 * menu-bar.el: Use function variable instead of switch-to-buffer.
24393 (menu-bar-select-buffer-function): New variable.
24394 (menu-bar-update-buffers): Use it (bug#8876).
24396 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24398 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24401 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24403 * x-dnd.el (x-dnd-version-from-flags)
24404 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24405 and long as number (Bug#8899).
24406 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24408 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24410 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24411 (completion-try-completion, completion-all-completions): Compute the
24412 metadata argument if it's missing; make it optional (bug#8795).
24414 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24415 (widget-complete): Use new :completion-function property.
24416 (widget-completions-at-point): New function.
24417 (default): Use :completion-function instead of :complete.
24418 (widget-default-completions): Rename from widget-default-complete;
24420 (widget-string-complete, widget-file-complete, widget-color-complete):
24422 (file, symbol, function, variable, coding-system, color):
24423 * international/mule-cmds.el (default-input-method, charset)
24424 (language-info-custom-alist):
24425 * cus-edit.el (face): Use new property :completions.
24427 * progmodes/pascal.el (pascal-completions-at-point): New function.
24428 (pascal-mode): Use it.
24429 (pascal-mode-map): Use completion-at-point.
24430 (pascal-toggle-completions): Make obsolete.
24431 (pascal-complete-word, pascal-show-completions):
24432 * progmodes/octave-mod.el (octave-complete-symbol):
24433 Redefine as obsolete alias.
24434 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24435 Signal absence of completion info for old Octave,
24436 (inferior-octave-complete): Redefine as obsolete alias.
24437 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24438 (meta-completions-at-point): Rename from meta-complete-symbol and
24439 adapt it for use on completion-at-point-functions.
24440 (meta-common-mode): Use it.
24441 (meta-looking-at-backward, meta-match-buffer): Remove.
24442 (meta-complete-symbol): Redefine as obsolete alias.
24443 (meta-common-mode-map): Use completion-at-point.
24444 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24445 (makefile-mode-map): Use completion-at-point.
24446 (makefile-completions-at-point): Rename from makefile-complete and
24447 adapt it for use on completion-at-point-functions.
24448 (makefile-mode): Use it.
24449 (makefile-complete): Redefine as obsolete alias.
24451 2011-06-20 Deniz Dogan <deniz@dogan.se>
24453 * net/rcirc.el: Delete trailing whitespaces once and for all.
24455 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24457 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24459 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24461 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24463 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24465 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24467 * window.el (display-buffer-other-window-means-other-frame):
24468 Call display-buffer-normalize-alist.
24469 (display-buffer-normalize-specifiers-1): Rename to
24470 display-buffer-normalize-argument. New argument other-frame.
24472 (display-buffer-normalize-specifiers-2): Rename to
24473 display-buffer-normalize-options.
24474 (display-buffer-normalize-alist-1): New function.
24475 (display-buffer-normalize-specifiers-3): Rename to
24476 display-buffer-normalize-alist.
24477 Call display-buffer-normalize-alist-1.
24478 (display-buffer-normalize-options-inhibit): New variable.
24479 (display-buffer-normalize-specifiers): Rewrite calling
24480 display-buffer-normalize-alist,
24481 display-buffer-normalize-argument, and
24482 display-buffer-normalize-options. Don't call the latter if
24483 display-buffer-normalize-options-inhibit is non-nil.
24484 (frame-auto-delete): New option.
24485 (window-deletable-p): Use frame-auto-delete.
24486 (window-list-no-nils, window-state-ignored-parameters)
24487 (window-state-get-1, window-state-get, window-state-put-list)
24488 (window-state-put-1, window-state-put-2, window-state-put):
24490 (display-buffer-normalize-options): Move special-display-p group
24491 after pop-up-frame group (Bug#8851) and (Bug#8856).
24493 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24495 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24497 (rx-submatch-n): New function.
24500 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24503 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24505 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24507 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24508 anytime existing face settings are present (Bug#8889).
24510 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24511 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24512 Remove unused argument.
24514 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24516 * window.el (display-buffer-default-specifiers):
24517 Remove pop-up-frame. Add pop-up-window-min-height,
24518 pop-up-window-min-width, and another reuse-window specifier
24519 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24520 (display-buffer-normalize-specifiers-2):
24521 Handle split-height-threshold and split-width-threshold also when
24522 pop-up-windows is unset. Add a reuse-window specifier for the
24523 case popping up a new window fails.
24524 (special-display-popup-frame): Remove double quoting.
24525 (display-buffer-normalize-specifiers-1): Fix thinko.
24527 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24529 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24530 according to comint-completion-addsuffix.
24532 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24533 (pcomplete-suffix-list): Mark as obsolete.
24534 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24535 pcomplete-seen in the closure.
24536 (pcomplete-comint-setup): Setup completion-at-point as well.
24537 (pcomplete--entries): New function.
24538 (pcomplete--env-regexp): New var.
24539 (pcomplete-entries): Rewrite to work with partial-completion and
24540 without relying on pcomplete-suffix-list.
24541 (pcomplete-pare-list): Remove, unused.
24543 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24545 * window.el (display-buffer-alist): Set pop-up-window-min-height
24546 and pop-up-window-min-width in default value. Reported by
24547 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24548 other-window-means-other-frame.
24549 (display-buffer-macro-specifiers): Comment out entry for
24550 other-window specifier.
24551 (display-buffer-other-window-means-other-frame): New function.
24552 (display-buffer-normalize-specifiers-1): New arguments
24553 buffer-name and label. Treat other-window case specially.
24554 (display-buffer-normalize-specifiers-2): Treat other-window case
24556 (display-buffer-normalize-specifiers-3): New function.
24557 (display-buffer-normalize-specifiers):
24558 Call display-buffer-normalize-specifiers-3.
24560 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24562 * window.el (same-window-p): Fix two typos introduced when
24563 adding with-no-warnings.
24564 (display-buffer-normalize-specifiers-1): Don't check
24565 pop-up-frames for 'unset initialization.
24566 (display-buffer-normalize-specifiers-2): Major rewrite using
24567 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24568 (pop-up-frames, display-buffer-reuse-frames)
24569 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24570 Suggested by David Engster <deng@randomsample.de>.
24571 (even-window-heights): Initialize to 'unset.
24572 (display-buffer-alist-set): Handle new 'unset initializations.
24573 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24576 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24578 * window.el (display-buffer-normalize-specifiers-1):
24579 Respect current value of pop-up-frames for most reasonable values of
24580 second argument of display-buffer (Bug#8865).
24581 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24582 (switch-to-buffer-other-window-same-frame)
24583 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24585 (display-buffer): Don't check noninteractive when calling
24586 display-buffer-pop-up-frame.
24587 (display-buffer-pop-up-frame): Never pop up a frame in
24588 noninteractive mode (Bug#8857).
24589 (enlarge-window, shrink-window): Don't report an error when the
24590 window can't be resized as requested (Bug#8862).
24592 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24594 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24596 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24598 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24600 2011-06-15 Alan Mackenzie <acm@muc.de>
24602 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24603 for declarators, disable knr checking to speed up for normal files.
24604 2: Refactor, replacing a sequence of nested if forms by a cond form.
24606 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24608 * net/network-stream.el (open-network-stream): Add the keyword
24609 :always-query-capabilities for the case where you want to force a
24610 `plain' network connection, but the protocol still requires the
24611 capabilitiy command (i.e., SMTP and EHLO).
24613 * subr.el (process-live-p): Rename from `process-alive-p' for
24614 consistency with other `-live-p' functions.
24616 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24618 * window.el (same-window-buffer-names, same-window-regexps)
24619 (special-display-frame-alist, special-display-popup-frame)
24620 (special-display-function, special-display-buffer-names)
24621 (special-display-regexps, pop-up-frame-alist)
24622 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24623 (pop-up-windows, split-window-preferred-function)
24624 (split-height-threshold, split-width-threshold, even-window-heights)
24625 (display-buffer-mark-dedicated): Don't encourage the use of
24626 display-buffer-alist from Elisp code.
24628 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24630 * progmodes/python.el (python-mode): Derive from prog-mode.
24631 * progmodes/ps-mode.el (ps-mode):
24632 * progmodes/mixal-mode.el (mixal-mode):
24633 * progmodes/cfengine.el (cfengine-mode):
24634 * progmodes/ld-script.el (ld-script-mode): Likewise.
24636 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24638 * window.el (display-buffer-alist): Trim default value to avoid
24639 popping up a new frame (Bug#8857) or reusing an arbitrary window
24641 (display-buffer): Do not fall back on popping up a new frame in
24642 batch mode (Bug#8857).
24644 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24646 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24647 (custom-theme-summary): New function.
24648 (customize-themes): Use it.
24650 2011-06-13 Glenn Morris <rgm@gnu.org>
24652 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24654 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24656 * help.el (help-window): Remove variable.
24657 (help-window-point-marker, temp-buffer-max-height)
24658 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24659 (help-print-return-message): Don't set help-window.
24660 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24661 (help-window-setup-finish): Remove.
24662 (help-window-display-message, help-window-setup)
24663 (with-help-window): Major rewrite based on new
24664 display-buffer-window variable.
24666 * help-mode.el (help-mode-finish): Remove help-window related
24669 * view.el (view-exits-all-viewing-windows): Remove reference to
24670 view-return-to-alist in doc-string.
24671 (view-return-to-alist): Make obsolete.
24672 (view-buffer): Call pop-to-buffer-same-window and remove
24674 (view-buffer-other-window): Call pop-to-buffer-other-window and
24675 simplify code. Ignore second argument.
24676 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24677 simplify code. Ignore second argument.
24678 (view-return-to-alist-update): Make obsolete.
24679 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24680 Rewrite using quit-restore window parameters.
24681 (view-mode-exit): Rename second argument to EXIT-ONLY.
24682 Rewrite using quit-restore-window.
24683 (View-exit, View-exit-and-edit, View-leave, View-quit)
24684 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24685 appropriate arguments.
24686 (view-end-message): Use quit-restore window parameter.
24688 * window.el (display-buffer-function): Rewrite doc-string.
24689 (display-buffer-window, display-buffer-alist): New variables.
24690 (display-buffer-split-specifiers)
24691 (display-buffer-side-specifiers)
24692 (display-buffer-macro-specifiers): New constants.
24693 (display-buffer-even-window-sizes, display-buffer-set-height)
24694 (display-buffer-set-width, display-buffer-select-window)
24695 (display-buffer-in-window, display-buffer-reuse-window)
24696 (display-buffer-split-window-1, display-buffer-split-window)
24697 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24698 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24699 (display-buffer-in-side-window, normalize-buffer-to-display)
24700 (display-buffer-normalize-specifiers-1)
24701 (display-buffer-normalize-specifiers-2)
24702 (display-buffer-normalize-specifiers, display-buffer-frame):
24704 (display-buffer): Major rewrite.
24705 (display-buffer-other-window, display-buffer-other-frame)
24706 (pop-to-buffer, switch-to-buffer-other-window)
24707 (switch-to-buffer-other-frame): Rewrite.
24708 (display-buffer-same-window, display-buffer-same-frame)
24709 (display-buffer-same-frame-other-window)
24710 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24711 (pop-to-buffer-other-window)
24712 (pop-to-buffer-same-frame-other-window)
24713 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24714 (switch-to-buffer-other-window-same-frame): New functions.
24715 (same-window-p, special-display-p): Rewrite disabling warnings.
24717 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24718 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24720 (same-window-buffer-names, same-window-regexps)
24721 (special-display-frame-alist, special-display-popup-frame)
24722 (special-display-function, special-display-buffer-names)
24723 (special-display-regexps, pop-up-frame-alist)
24724 (pop-up-frame-function, split-window-preferred-function)
24725 (split-height-threshold, split-width-threshold)
24726 (even-window-heights): Make obsolete.
24728 2011-06-12 Glenn Morris <rgm@gnu.org>
24730 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24731 Misc simplifications.
24733 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24735 * window.el (window-safely-shrinkable-p): Restore function which
24736 was inadvertently removed in change from 2011-06-11. Declare as
24739 * calendar/calendar.el (calendar-generate-window):
24740 Use window-iso-combined-p instead of combination of one-window-p and
24741 window-safely-shrinkable-p.
24743 2011-06-12 Glenn Morris <rgm@gnu.org>
24745 * progmodes/fortran.el (fortran-mode-syntax-table):
24746 * progmodes/f90.el (f90-mode-syntax-table):
24747 Set % to punctuation. (Bug#8820)
24748 (f90-find-tag-default): Remove, no longer needed.
24750 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24752 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24754 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24756 * image.el (image-animated-p): Return animation delay in seconds.
24757 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24758 (image-animate-timeout): Remove DELAY argument. Don't assume
24759 every subimage has the same delay; get it from image-animated-p.
24760 (image-animate): Caller changed.
24762 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24764 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24765 to ignored backtrace functions.
24767 2011-06-11 Glenn Morris <rgm@gnu.org>
24769 * calendar/appt.el (appt-disp-window-function): Doc fix.
24770 (appt-check): Handle overlapping appointments. (Bug#8337)
24772 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24774 * window.el (window-tree-1, window-tree): New functions, moving
24775 the latter to window.el.
24776 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24777 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24778 (bw-refresh-edges): Remove.
24779 (balance-windows-1, balance-windows-2): New functions.
24780 (balance-windows): Rewrite in terms of window tree functions,
24781 balance-windows-1 and balance-windows-2.
24782 (bw-adjust-window): Remove.
24783 (balance-windows-area-adjust): New function with functionality of
24784 bw-adjust-window but using resize-window.
24785 (set-window-text-height): Rewrite doc-string.
24786 Use normalize-live-window and resize-window.
24787 (enlarge-window-horizontally, shrink-window-horizontally):
24788 Rename argument to DELTA.
24789 (window-buffer-height): New function.
24790 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24791 Rewrite using new window resize routines.
24792 (kill-buffer-and-window, mouse-autoselect-window-select):
24793 Use ignore-errors instead of condition-case.
24794 (quit-window): Call delete-frame instead of delete-windows-on
24795 for the only buffer on frame.
24797 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24799 * loadup.el (top-level): Load window before files for the sake
24800 of replace-buffer-in-windows.
24802 * files.el (read-buffer-to-switch)
24803 (switch-to-buffer-other-window)
24804 (switch-to-buffer-other-frame, display-buffer-other-frame):
24807 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24808 (previous-buffer): Move to window.el.
24810 * bindings.el (unbury-buffer): Move to window.el.
24812 * window.el (delete-other-windows-vertically): Move after
24813 definition of delete-other-windows.
24814 (other-window, delete-windows-on, replace-buffer-in-windows):
24815 Move here from window.c.
24816 (record-window-buffer, unrecord-window-buffer)
24817 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24818 (switch-to-next-buffer): New functions.
24819 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24820 from simple.el. Call switch-to-next-buffer.
24821 (previous-buffer): Move here from simple.el.
24822 Call switch-to-prev-buffer.
24823 (bury-buffer): Move here from buffer.c. Switch to previous
24824 buffer when window cannot be deleted.
24825 (unbury-buffer): Move here from bindings.el.
24826 (ctl-x-map): Move binding for other-window from window.c to
24828 (read-buffer-to-switch, switch-to-buffer-other-window)
24829 (switch-to-buffer-other-frame): Move here from files.el.
24830 (normalize-buffer-to-switch-to): New functions.
24831 (switch-to-buffer): Move here from buffer.c.
24832 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24834 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24836 * window.el (window-min-height, window-min-width): Move here
24837 from window.c. Add defcustoms and rewrite doc-strings.
24838 (resize-mini-window, resize-window): New functions.
24839 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24840 Move here from window.c.
24841 (maximize-window, minimize-window): New functions.
24842 (delete-window, delete-other-windows, split-window): Move here
24844 (window-split-min-size): New function.
24845 (split-window-keep-point): Mention split-window-above-each-other
24846 instead of split-window-vertically.
24847 (split-window-above-each-other, split-window-vertically):
24848 Rename split-window-vertically to split-window-above-each-other
24849 and provide defalias for old definition.
24850 (split-window-side-by-side, split-window-horizontally):
24851 Rename split-window-horizontally to split-window-side-by-side
24852 and provide defalias for the old definition.
24853 (ctl-x-map): Move bindings for delete-window,
24854 delete-other-windows and enlarge-window here from window.c.
24855 Replace bindings for split-window-vertically and
24856 split-window-horizontally by bindings for
24857 split-window-above-each-other and split-window-side-by-side.
24859 * cus-start.el (all): Remove entries for window-min-height and
24860 window-min-width. Add entries for window-splits and
24863 2011-06-09 Glenn Morris <rgm@gnu.org>
24865 * calendar/appt.el (appt-mode-line): New function.
24866 (appt-check, appt-disp-window): Use it.
24868 * files.el (hack-one-local-variable-eval-safep):
24869 Allow minor-modes with explicit +/-1 arguments.
24871 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24873 * term/xterm.el (xterm): Add defgroup.
24874 (xterm-extra-capabilities): Add defcustom to supply known xterm
24875 capabilities, skip querying them, or query them (default).
24876 (terminal-init-xterm): Use it.
24877 (terminal-init-xterm-modify-other-keys): New function to set up
24878 modifyOtherKeys support to simplify `terminal-init-xterm'.
24880 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24882 * window.el (resize-window-reset, resize-window-reset-1)
24883 (resize-subwindows-skip-p, resize-subwindows-normal)
24884 (resize-subwindows, resize-other-windows, resize-this-window)
24885 (resize-root-window, resize-root-window-vertically)
24886 (window-deletable-p, window-or-subwindow-p)
24887 (frame-root-window-p): New functions.
24889 2011-06-09 Glenn Morris <rgm@gnu.org>
24891 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24892 (ange-ftp-get-files): Use it.
24894 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24896 * mail/sendmail.el (mail-recover-1, mail-recover):
24897 * files.el (recover-file, recover-session):
24898 Handle dired-listing-switches not being just a single short option.
24900 2011-06-09 Glenn Morris <rgm@gnu.org>
24902 * calendar/appt.el (appt-display-message, appt-disp-window):
24903 Handle lists of appointments.
24905 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24907 * window.el (one-window-p): Move down in code.
24908 Rewrite doc-string.
24909 (window-current-scroll-bars): Rewrite doc-string.
24910 Normalize live window argument.
24911 (walk-windows, get-window-with-predicate, count-windows):
24912 Rewrite doc-string. Use window-list-1.
24913 (window-in-direction-2, window-in-direction, get-mru-window):
24916 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24918 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24919 Doc fix (Bug#8713).
24921 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24923 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24925 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24927 * loadhist.el (unload-feature-special-hooks):
24928 Add `comint-output-filter-functions'.
24930 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24932 * calendar/appt.el (appt-check): Move some initializations into the let.
24934 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24936 * window.el (window-height): Defalias to window-total-height.
24937 (window-width): Defalias to window-body-width.
24939 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24941 * image-mode.el (image-toggle-animation): New command.
24942 (image-mode-map): Bind it to RET.
24943 (image-mode): Update message.
24944 (image-toggle-display-image): Avoid a spurious cache flush.
24945 (image-transform-rotation): Doc fix.
24946 (image-transform-properties): Return quickly in the normal case.
24947 (image-animate-loop): Rename from image-animate-max-time.
24949 * image.el (image-animate-max-time): Move to image-mode.el.
24950 (create-animated-image): Remove unnecessary function.
24951 (image-animate): Rename from image-animate-start. New arg.
24952 (image-animate-stop): Remove; just use image-animate-timer.
24953 (image-animate-timer): Use car-safe.
24954 (image-animate-timeout): Rename argument.
24956 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24958 * window.el (get-lru-window, get-largest-window): Move here from
24959 window.c. Rename first argument to ALL-FRAMES.
24960 Rephrase doc-strings.
24961 (get-buffer-window-list): Rewrite using window-list-1.
24962 Rephrase doc-string.
24963 (window-safe-min-height, window-safe-min-width): New constants.
24964 (window-size-ignore, window-min-size, window-min-size-1)
24965 (window-sizable, window-sizable-p, window-size-fixed-1)
24966 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24967 (window-max-delta-1, window-max-delta, window-resizable)
24968 (window-resizable-p, window-total-height, window-total-width)
24969 (window-body-width): New functions.
24970 (window-full-height-p, window-full-width-p): Rewrite using
24972 (window-body-height): Rewrite using window-body-size.
24974 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24976 * window.el (window-right, window-left, window-child)
24977 (window-child-count, window-last-child, window-any-p)
24978 (normalize-live-buffer, normalize-live-frame)
24979 (normalize-any-window, normalize-live-window)
24980 (window-iso-combination-p, window-iso-combined-p)
24981 (window-iso-combinations)
24982 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24983 (windows-with-parameter, window-with-parameter)
24984 (window-atom-root, make-window-atom, window-atom-check-1)
24985 (window-atom-check, window-side-check, window-check):
24987 (ignore-window-parameters, window-sides, window-sides-vertical)
24988 (window-sides-slots): New variables.
24989 (window-size-fixed): Move down in code. Minor doc-string fix.
24991 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24993 * comint.el (comint-dynamic-complete-as-filename)
24994 (comint-dynamic-complete-filename): Correctly call
24995 completion-in-region.
24997 2011-06-05 Deniz Dogan <deniz@dogan.se>
24999 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25002 2011-06-05 Deniz Dogan <deniz@dogan.se>
25004 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25005 (rcirc): Use it to prompt for encryption.
25007 2011-06-05 Roland Winkler <winkler@gnu.org>
25009 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25010 (bibtex-search-entries): New command bound to C-c C-a.
25011 (bibtex-display-entries): New function.
25013 2011-06-05 Roland Winkler <winkler@gnu.org>
25015 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25016 (bibtex-insert-kill): After yanking insert newline if necessary.
25017 (bibtex-initialize): Call bibtex-string-files-init only once.
25018 (bibtex-mode): Do not call easy-menu-add.
25019 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25020 (bibtex-yank): Set arg properly if nil.
25022 2011-06-05 Roland Winkler <winkler@gnu.org>
25024 * textmodes/bibtex.el (bibtex-search-entry-globally):
25026 (bibtex-search-entry): Use it.
25028 2011-06-05 Roland Winkler <winkler@gnu.org>
25030 * textmodes/bibtex.el (bibtex-entry-format): New option
25032 (bibtex-format-entry, bibtex-reformat): Honor this option.
25033 (bibtex-parse-entry): Return fields in proper order.
25035 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25037 * doc-view.el (doc-view-remove-if): Move computation of result out
25038 of `dolist' to silence misleading lexical-binding warning.
25040 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25042 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25043 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25045 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25047 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25050 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25052 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25053 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25054 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25055 (tramp-parse-putty):
25056 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25057 (tramp-completion-function-alist-ssh)
25058 (tramp-completion-function-alist-telnet)
25059 (tramp-completion-function-alist-su)
25060 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25063 * net/tramp-ftp.el:
25065 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25066 load "tramp.el" `tramp-set-completion-function'.
25068 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25070 * shell.el: Require and use pcomplete.
25071 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25072 (shell-completion-vars): Set pcomplete-default-completion-function.
25074 2011-06-04 Deniz Dogan <deniz@dogan.se>
25076 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25079 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25081 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25083 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25085 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25086 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25087 * vc/log-view.el (log-view-beginning-of-defun):
25088 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25089 (smerge-refine-forward, smerge-refine-chopup-region):
25090 Silence warning for unused `dotimes' counter variables.
25092 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25094 * net/tramp.el (tramp-with-progress-reporter): Rename from
25095 with-progress-reporter. Use `declare'.
25096 * net/tramp-smb.el:
25098 * net/tramp-gvfs.el: Update all uses.
25100 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25102 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25103 buffer isn't killed before making it current.
25105 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25107 Silence various byte-compiler warnings.
25108 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25109 `access-type' and new obsolescence format.
25110 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25112 (byte-compile-check-variable): New `access-type' argument.
25113 Only warn if the access-type is obsolete.
25114 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25115 (byte-compile-variable-set): Adjust callers.
25116 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25117 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25118 setting it as obsolete.
25119 * simple.el (minibuffer-completing-symbol):
25120 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25121 access as obsolete.
25122 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25124 * international/quail.el (quail-mouse-choose-completion): Remove unused
25125 code referring to obsolete var.
25126 (quail-choose-completion-string): Remove.
25127 * server.el (server-clients-with, server-kill-buffer-query-function)
25128 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25129 * proced.el (proced-send-signal):
25130 * emacs-lisp/lisp.el (lisp-complete-symbol):
25131 Replace completion-annotate-function with completion-extra-properties.
25133 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25135 * simple.el (goto-line): Use read-number.
25136 (overriding-map-is-bound): Remove.
25137 (saved-overriding-map): Change default.
25138 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25139 Take the map as argument.
25140 (universal-argument, negative-argument, digit-argument): Use it.
25141 (restore-overriding-map): Adjust.
25142 (do-auto-fill): Use fill-forward-paragraph.
25143 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25145 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25146 (minibuffer-inactive-mode): New major mode.
25147 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25148 the *Messages* buffer" hack.
25149 (mouse-popup-menubar): Don't burp if the event is a normal key.
25151 Miscellaneous tweaks.
25152 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25153 lexical scoping as in subr.el's dolist and dotimes.
25154 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25155 Silence compiler warning.
25156 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25157 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25158 * international/ccl.el (ccl-compile): Trivial simplification.
25159 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25160 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25161 `printflag' argument.
25162 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25163 Purecopy the whole obsolescence data.
25165 2011-06-01 Leo Liu <sdl.web@gmail.com>
25167 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25168 improve doc-string as suggested by Marco Pessotto
25169 <melmothx@gmail.com>.
25170 (rcirc-print): Fix last change.
25172 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25174 * minibuffer.el (complete-with-action): Return nil for the metadata and
25175 boundaries of non-functional tables.
25176 (completion-table-dynamic): Return nil for the metadata.
25177 (completion-table-with-terminator): Add default case, using
25178 complete-with-action.
25179 (completion--metadata): New function.
25180 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25181 to try and avoid pathological performance problems.
25182 (completion--embedded-envvar-table): Return `category' metadata.
25184 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25186 * subr.el (process-alive-p): New tiny convenience function.
25188 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25190 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25191 content but also its previous major mode.
25193 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25195 * emacs-lisp/debug.el (debug): Restore the previous content of the
25196 *Backtrace* buffer when we exit with C-M-c.
25198 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25200 * minibuffer.el: Add metadata method to completion tables.
25201 (completion-category-overrides): New defcustom.
25202 (completion-metadata, completion--field-metadata)
25203 (completion-metadata-get, completion--styles)
25204 (completion--cycle-threshold): New functions.
25205 (completion-try-completion, completion-all-completions):
25206 Add `metadata' argument to choose completion-styles.
25207 (completion--do-completion): Use metadata to choose cycling.
25208 (completion-all-sorted-completions): Use metadata for sorting.
25209 Remove :completion-cycle-penalty which is not needed any more.
25210 (completion--try-word-completion): Add `metadata' argument.
25211 (minibuffer-completion-help): Check metadata for annotation function
25213 (completion-file-name-table): Return `category' metadata.
25214 (minibuffer-completing-file-name): Make obsolete.
25215 * simple.el (minibuffer-completing-symbol): Make obsolete.
25216 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25217 completion-try-completion.
25219 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25221 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25223 2011-05-30 Leo Liu <sdl.web@gmail.com>
25225 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25226 (rcirc-print): Decode all incoming messages (bug#8744).
25227 (rcirc-decode-coding-system): Allow value nil for automatic coding
25230 2011-06-01 Glenn Morris <rgm@gnu.org>
25232 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25234 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25236 * image.el (image-animate-max-time): Allow nil and t values.
25238 (create-animated-image): Doc fix.
25239 (image-animate-start): Remove second arg; just use
25240 image-animate-max-time.
25241 (image-animate-timeout): Doc fix. Args changed.
25243 * image-mode.el (image-toggle-display-image): Ensure that the
25244 image spec passed to the animate timer is the same object as in
25245 the buffer's display property (Bug#6981).
25246 (image-transform-properties): Doc fix.
25248 * image.el (image-animate-max-time): Default to nil.
25250 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25252 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25253 entire buffer list (Bug#8184).
25255 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25257 * image.el (imagemagick-types-inhibit)
25258 (imagemagick-register-types): Doc fix.
25260 2011-05-29 Deniz Dogan <deniz@dogan.se>
25262 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25265 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25267 * select.el: Don't perform clipboard-manager saving in hooks;
25268 leave the hooks empty.
25270 2011-05-28 Leo Liu <sdl.web@gmail.com>
25272 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25273 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25274 (occur-edit-mode): New major mode (Bug#8463).
25275 (occur-after-change-function): New function.
25276 (occur-engine): Give Occur tags a read-only property.
25278 2011-05-28 Kevin Ryde <user42@zip.com.au>
25280 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25282 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25284 * bindings.el (help-echo): Make the initial non-indicator dash
25285 empty on graphical terminals (Bug#7295).
25287 * files.el (auto-mode-alist): Move config rule after the
25288 in-stripping one (Bug#8547).
25290 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25292 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25293 setting (Bug#8740).
25295 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25297 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25298 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25301 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25303 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25305 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25307 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25308 (hs-hide-block-at-point, hs-find-block-beginning)
25309 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25312 2011-05-28 Glenn Morris <rgm@gnu.org>
25314 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25316 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25318 * help-fns.el (describe-function-1): If the function is a derived
25319 major mode, print the parent mode.
25321 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25322 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25324 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25326 * minibuffer.el (completion--capf-wrapper): Check applicability before
25327 returning non-nil for non-exclusive completion data.
25328 * progmodes/etags.el (tags-completion-at-point-function):
25329 * info-look.el (info-lookup-completions-at-point): Mark as
25331 (info-complete): Adjust accordingly.
25333 * info-look.el: Convert to lexical-binding and completion-at-point.
25334 (info-lookup-completions-at-point): New function.
25335 (info-complete): Use it and completion-in-region.
25337 2011-05-28 Drew Adams <drew.adams@oracle.com>
25339 * isearch.el: Let M-e start with point at the first mismatched char.
25340 (isearch-fail-pos): New function.
25341 (isearch-edit-string): Use it.
25343 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25345 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25347 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25349 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25350 traversal functions for avl-trees.
25351 (avl-tree--stack): New struct.
25352 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25353 (avl-tree-enter): Add optional `updatefun' arg.
25354 (avl-tree--do-enter): Add optional `updatefun' arg.
25355 Change return value.
25356 (avl-tree-delete): Add optional `test' and `nilflag' args.
25357 (avl-tree--do-delete): Add `test' and `nilflag' args.
25358 Change return value.
25359 (avl-tree-member): Add optional `nilflag'
25360 (avl-tree-member-p): New function.
25361 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25362 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25363 (avl-tree-stack-empty-p): New functions.
25365 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25366 avl-tree--del-balance1 and make it work both ways.
25367 (avl-tree--del-balance2): Remove.
25368 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25369 make it work both ways.
25370 (avl-tree--enter-balance2): Remove.
25371 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25373 (avl-tree--mapc, avl-tree-map): Add direction argument.
25375 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25377 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25379 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25381 * select.el: Support clipboard managers with built-in function
25382 x-clipboard-manager-save, via delete-frame-functions and
25384 (xselect-convert-to-targets): Add MULTIPLE target to list.
25385 (xselect-convert-to-save-targets): New function.
25387 2011-05-27 Kenichi Handa <handa@m17n.org>
25389 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25390 let-binding rfc2047-encode-encoded-words to nil.
25392 2011-05-27 Glenn Morris <rgm@gnu.org>
25394 * mail/emacsbug.el: Don't require url-util.
25396 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25398 * files.el (set-auto-mode):
25399 Also respect mode: entries at the end of the file. (Bug#8586)
25401 2011-05-26 Glenn Morris <rgm@gnu.org>
25403 * files.el (hack-local-variables-prop-line, hack-local-variables):
25404 Downcase mode names, as seems to be traditional.
25405 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25407 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25408 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25410 2011-05-25 Julien Danjou <julien@danjou.info>
25412 * textmodes/rst.el (rst-define-level-faces): Do not define face
25413 symbol if it is already defined.
25415 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25417 * play/5x5.el (5x5-new-game, 5x5-randomize):
25418 Reset 5x5-solver-output to nil when a new grid is cast.
25419 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25420 these debugging traces, as defmacro breaks the compiled code.
25422 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25424 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25426 2011-05-24 Leo Liu <sdl.web@gmail.com>
25428 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25429 (vc-bzr-sha1): Adapt.
25431 * sha1.el: Remove. Function `sha1' is now builtin.
25433 * bindings.el: Provide sha1 feature.
25435 2011-05-24 Kenichi Handa <handa@m17n.org>
25437 * mail/sendmail.el: Require `rfc2047'.
25438 (mail-insert-from-field): Do not perform RFC2047 encoding.
25439 (mail-encode-header): New function.
25440 (sendmail-send-it): Set buffer-file-coding-system of the work
25441 buffer to the return value of select-message-coding-system.
25442 Call mail-encode-header.
25444 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25446 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25448 * mail/supercite.el (sc-default-cite-frame):
25449 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25451 2011-05-24 Glenn Morris <rgm@gnu.org>
25453 * progmodes/python.el (brm-menu): Declare.
25455 * emulation/viper.el (viper-set-hooks): Declare.
25457 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25458 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25459 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25460 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25461 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25462 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25464 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25466 Add an :exit-function for completion-at-point.
25468 * minibuffer.el (completion--done): New fun.
25469 (completion--do-completion): Use it. New arg `expect-exact'.
25470 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25471 since completion--do-completion does it for us now.
25472 (minibuffer-force-complete): Use completion--done and
25473 completion--replace. Handle sole-completion case with more care.
25474 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25475 (completion-extra-properties): New var.
25476 (completion-annotate-function): Make obsolete.
25477 (minibuffer-completion-help): Adjust accordingly.
25478 Use completion-list-insert-choice-function.
25479 (completion-at-point, completion-help-at-point):
25480 Bind completion-extra-properties.
25481 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25482 * simple.el (completion-list-insert-choice-function): New var.
25483 (completion-setup-function): Preserve it.
25484 (choose-completion): Pay attention to it, shuffle the code a bit.
25485 (choose-completion-string): New arg `insert-function'.
25487 * textmodes/bibtex.el: Convert to lexical binding.
25488 (bibtex-mode-map): Use completion-at-point.
25489 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25490 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25491 (bibtex-complete): Define as obsolete alias.
25492 (bibtex-complete-internal): Remove.
25493 (bibtex-format-entry): Remove unused sub-group in regexp.
25494 * shell.el (shell--command-completion-data)
25495 (shell-environment-variable-completion):
25496 * pcomplete.el (pcomplete-completions-at-point):
25497 * comint.el (comint--complete-file-name-data): Use :exit-function
25498 instead of completion-table-with-terminator so it also works for
25501 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25503 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25505 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25508 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25510 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25512 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25513 customization variable and implement: If non-nil, auto-fill will
25514 be inhibited while on topic's header line.
25516 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25518 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25519 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25520 always have a solution in grid size = 5 cases.
25521 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25522 (5x5-solver-output, 5x5-log-buffer): New vars.
25523 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25524 Make these variables buffer local to achieve 5x5 multi-session-ness.
25525 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25526 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25527 (5x5-solve-suggest): New funs.
25528 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25529 randomize a grid so that we ensure that there is always a solution.
25530 (5x5-make-random-grid): Allow other movement than flipping.
25532 2011-05-23 Kevin Ryde <user42@zip.com.au>
25534 * emacs-lisp/advice.el (ad-read-advised-function):
25535 Use `function-called-at-point' as the default, if it has
25536 advice and passes PREDICATE.
25538 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25540 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25541 byte-compile-lambda if it's actually a lambda.
25543 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25544 Fix function quoting. Use backquote better.
25546 2011-05-22 Yuanle Song <sylecn@gmail.com>
25548 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25549 matching (Bug#8516).
25551 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25553 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25554 different face (Bug#8178).
25556 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25558 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25559 defface (Bug#8144).
25561 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25563 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25564 funcall as well (bug#8712). Warn when performing those conversions.
25565 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25567 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25569 2011-05-22 Glenn Morris <rgm@gnu.org>
25571 * files.el (hack-local-variables-prop-line): Small simplifications.
25572 (hack-local-variables, hack-local-variables-prop-line):
25573 If MODE-ONLY, return the mode, rather than just `t'.
25575 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25577 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25579 2011-05-21 Glenn Morris <rgm@gnu.org>
25581 * files.el (hack-local-variables-prop-line, hack-local-variables):
25582 If only interested in the mode, don't bother doing the other stuff.
25584 * image-mode.el (image-after-revert-hook):
25585 Redraw all frames on which the image is visible. (Bug#8567)
25587 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25589 * wid-edit.el (widget-checklist-match-inline):
25590 Fix 2011-04-19 change. (Bug#8649)
25592 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25594 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25595 Also allow singlespace after single-letter capitals followed by a dot.
25597 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25598 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25600 2011-05-20 Nix <nix@esperi.org.uk>
25602 * files.el (basic-save-buffer-2):
25603 Fix handling of break-hardlink-on-save with non-existent files.
25605 2011-05-19 Deniz Dogan <deniz@dogan.se>
25607 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25608 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25610 2011-05-19 Glenn Morris <rgm@gnu.org>
25612 * progmodes/f90.el (f90-type-def-re):
25613 Handle "type, bind(c)". (Bug#8691)
25615 * emacs-lisp/autoload.el (batch-update-autoloads):
25616 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25618 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25620 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25621 property for the correct connection in case of multihops.
25623 2011-05-18 Glenn Morris <rgm@gnu.org>
25625 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25626 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25628 Rationalize calendar handling of day and month abbrev-arrays.
25629 * calendar/calendar.el (calendar-customized-p): New function.
25630 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25631 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25633 (calendar-abbrev-length, calendar-day-abbrev-array)
25634 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25635 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25636 Elements may no longer be nil.
25637 (calendar-day-name, calendar-month-name):
25638 Update for changed nature of abbrev arrays.
25639 * calendar/diary-lib.el (diary-name-pattern):
25640 Update for changed nature of abbrev arrays.
25641 (diary-mark-entries-1): Update calendar-make-alist calls.
25642 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25643 * calendar/cal-html.el (cal-html-day-abbrev-array):
25644 Simply inherit from calendar-day-abbrev-array.
25646 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25648 * progmodes/grep.el (grep-mode): Disable default
25649 compilation-directory-matcher setting (bug#8684).
25651 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25653 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25654 instead of "head" and "tail". There were problems with SunOS 5.9,
25655 and it performs better.
25657 2011-05-17 Glenn Morris <rgm@gnu.org>
25659 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25661 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25662 Replace obsolete function.
25664 * shell.el (pcomplete-parse-arguments-function): Declare.
25666 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25667 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25668 (appt-check): Doc fixes.
25669 (appt-disp-window-function, appt-delete-window-function):
25670 Remove needless special case in custom :type.
25671 (appt-display-count): Default to 0, not nil.
25672 (appt-check): Reset appt-display-count to 0, not nil.
25674 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25676 * progmodes/python.el (python-font-lock-keywords):
25677 Add the Python 3.X keyword "nonlocal" (bug#8639).
25679 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25681 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25683 2011-05-16 Kevin Ryde <user42@zip.com.au>
25685 * info-look.el (makefile-automake-mode): New setups, looking in
25686 automake manual, then makefile-mode.
25687 (makefile-mode): Remove automake manual, have it just in
25688 makefile-automake-mode since there's various things different or
25689 not relevant to plain make.
25690 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25691 believe a hypothetical automake-mode would go to makefile-mode,
25692 not the other way around.
25694 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25696 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25697 hunk-end tags (Bug#8672).
25699 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25700 vc-annotate-show-diff-revision-at-line (Bug#8671).
25702 2011-05-14 Glenn Morris <rgm@gnu.org>
25704 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25705 in the middle of an existing one with multiple authors. (Bug#8645)
25706 (change-log-font-lock-keywords): Also handle multiple author lines
25707 with leading tabs. (Bug#8644)
25709 * calendar/appt.el (appt-check): Rename some local variables.
25710 Some simplification/reordering.
25712 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25713 (feedmail-sendmail-f-doesnt-sell-me-out)
25714 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25715 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25716 (feedmail-queue-runner-message-sender): Set :version.
25717 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25718 (bbdb-dwim-net-address, vm-mail): Declare.
25719 (feedmail-binmail-gnulinuxish-template):
25720 Rename from feedmail-binmail-linuxish-template.
25721 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25722 Use insert-buffer-substring.
25724 2011-05-14 Bill Carpenter <bill@carpenter.org>
25726 * mail/feedmail.el (feedmail-patch-level): Increase.
25727 (feedmail-debug): New custom group.
25728 (feedmail-confirm-outgoing-timeout)
25729 (feedmail-sendmail-f-doesnt-sell-me-out)
25730 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25731 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25732 (feedmail-sender-line, feedmail-from-line)
25733 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25734 (feedmail-spray-this-address)
25735 (feedmail-spray-address-fiddle-plex-list)
25736 (feedmail-queue-use-send-time-for-date)
25737 (feedmail-queue-use-send-time-for-message-id)
25738 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25739 (feedmail-buffer-eating-function):
25741 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25742 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25743 (feedmail-message-action-scroll-down): New functions.
25744 (feedmail-queue-directory, feedmail-queue-draft-directory):
25745 Use expand-file-name.
25746 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25747 Remove C-v help entry.
25748 (feedmail-queue-buffer-file-name): New variable.
25749 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25750 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25751 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25752 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25753 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25754 (feedmail-message-action-toggle-spray)
25755 (feedmail-run-the-queue-no-prompts)
25756 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25757 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25758 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25759 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25760 (feedmail-envelope-deducer, feedmail-fiddle-from)
25761 (feedmail-fiddle-sender, feedmail-default-date-generator)
25762 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25763 (feedmail-fiddle-spray-address)
25764 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25765 (feedmail-fiddle-list-of-fiddle-plexes)
25766 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25767 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25768 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25769 Change default. Doc fix.
25770 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25771 (feedmail-binmail-linuxish-template): New constant.
25772 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25773 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25774 (feedmail-send-it): Add debug call.
25775 Use feedmail-queue-buffer-file-name, and
25776 feedmail-send-it-immediately-wrapper.
25777 (feedmail-message-action-send): Add debug call.
25778 Use feedmail-send-it-immediately-wrapper.
25779 (feedmail-queue-express-to-queue): Add debug call.
25780 Run feedmail-queue-express-hook.
25781 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25782 (feedmail-message-action-help-blat):
25783 Rename from feedmail-queue-send-edit-prompt-help-first.
25784 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25785 Check line-endings. Handle errors better.
25786 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25787 Doc fix. Add debug call.
25788 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25789 Use feedmail-queue-send-edit-prompt-inner.
25790 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25791 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25792 from feedmail-queue-send-edit-prompt.
25793 (feedmail-queue-send-edit-prompt-help)
25794 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25795 (feedmail-tidy-up-slug): Add debug call.
25796 Respect feedmail-queue-slug-suspect-regexp.
25797 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25798 (feedmail-dump-message-to-queue): Add debug call.
25799 Expand queue-directory.
25800 (feedmail-dump-message-to-queue): Change message slightly.
25801 Use feedmail-say-chatter.
25802 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25803 (feedmail-send-it-immediately-wrapper): New function.
25804 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25805 Insert empty string rather than newline. Handle full-frame case.
25806 Use catch/throw. Use feedmail-say-chatter.
25807 (feedmail-fiddle-from): Try mail-host-address.
25808 (feedmail-default-message-id-generator): Doc fix.
25809 Bind system-time-locale. Handle missing end.
25810 (feedmail-fiddle-x-mailer): Add debug call.
25811 Handle feedmail-x-mailer-line being nil.
25812 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25813 Add debug call. Use buffer-substring-no-properties.
25814 (feedmail-say-debug, feedmail-say-chatter): New functions.
25815 (feedmail-find-eoh): Give an explicit error.
25817 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25819 * net/newst-treeview.el (newsticker-treeview-face): Change default
25820 family from helvetica to sans.
25821 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25822 etc/images/newsticker.
25824 * net/newst-reader.el (newsticker-feed-face): Change default
25825 family from helvetica to sans.
25827 * net/newst-plainview.el (newsticker-new-item-face)
25828 (newsticker-old-item-face, newsticker-immortal-item-face)
25829 (newsticker-obsolete-item-face, newsticker-date-face)
25830 (newsticker-statistics-face): Change default family from
25832 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25833 etc/images/newsticker.
25835 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25836 (newsticker--process-auto-mark-filter-match): Tell user about
25839 2011-05-13 Didier Verna <didier@xemacs.org>
25841 Common Lisp indentation improvements on defmethod and lambda-lists.
25842 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25844 (lisp-lambda-list-keyword-parameter-indentation)
25845 (lisp-lambda-list-keyword-parameter-alignment)
25846 (lisp-lambda-list-keyword-alignment): New customizable user options.
25847 (lisp-indent-defun-method): Improve docstring.
25848 (extended-loop-p): Fix comment.
25849 (lisp-indent-lambda-list-keywords-regexp): New variable.
25850 (lisp-indent-lambda-list): New function.
25851 (lisp-indent-259): Use it.
25852 (lisp-indent-defmethod): Support for more than one
25853 method qualifier and properly indent methods lambda-lists.
25854 (defgeneric): Provide a missing common-lisp-indent-function property.
25856 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25858 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25859 bounds for the empty string (bug#8667).
25861 2011-05-13 Glenn Morris <rgm@gnu.org>
25863 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25865 * mail/sendmail.el (sendmail-program): Try executable-find first.
25866 (sendmail-send-it): `sendmail-program' cannot be unbound.
25868 * calendar/appt.el (appt-make-list): Simplify.
25869 (appt-time-msg-list): Doc fix.
25870 (appt-check): Change mode-line message at the time of the appointment.
25872 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25874 * progmodes/ld-script.el (ld-script-keywords)
25875 (ld-script-builtins): Update keywords list.
25877 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25879 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25881 * shell.el (shell-completion-vars): New function.
25883 * simple.el (read-shell-command): Use it.
25884 (blink-matching-open): No need for " [...]" in minibuffer-message.
25886 2011-05-12 Glenn Morris <rgm@gnu.org>
25888 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25889 (appt-check): Simplify.
25891 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25893 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25894 literal "/dev/null".
25896 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25898 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25901 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25903 * progmodes/which-func.el (which-function):
25904 Use add-log-current-defun instead of add-log-current-defun-function,
25905 which might not be defined (Bug#8260).
25907 2011-05-12 Glenn Morris <rgm@gnu.org>
25909 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25910 Let byte-compile-initial-macro-environment always take precedence.
25912 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25914 * net/rcirc.el: Add support for SSL/TLS connections.
25915 (rcirc-server-alist): New field `encryption'.
25916 (rcirc): Check `encryption' settings.
25917 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25918 Merge make-local-variable into `set'.
25919 (rcirc--connection-open-p): New function.
25920 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25921 the process is not a network process (e.g. running gnutls-cli).
25922 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25923 Make rcirc-(en|de)code-coding-system local here.
25924 (rcirc-mode): Merge make-local-variable into `set'.
25925 (rcirc-parent-buffer): Make permanent buffer-local.
25926 (rcirc-multiline-minor-mode): Don't do it here.
25927 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25928 there's no server buffer.
25930 2011-05-11 Glenn Morris <rgm@gnu.org>
25932 * newcomment.el (comment-kill): Prefix "unused" local.
25934 * term/w32console.el (get-screen-color): Declare.
25936 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25937 Handle symbol elements of byte-compile-initial-macro-environment.
25939 2011-05-10 Leo Liu <sdl.web@gmail.com>
25941 * bookmark.el (bookmark-bmenu-mode-map):
25942 Bind bookmark-bmenu-search to `/'.
25944 * mail/footnote.el: Convert to utf-8 encoding.
25945 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25946 (Footnote-unicode): New function.
25947 (footnote-style-alist): Add unicode style to the list.
25948 (footnote-style): Doc fix.
25950 2011-05-10 Jim Meyering <meyering@redhat.com>
25952 Fix doubled-word typos.
25953 * international/quail.el (quail-insert-kbd-layout): and and -> and
25954 * kermit.el: and and -> and
25955 * net/ldap.el (ldap-search-internal): to to -> to
25956 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25957 * progmodes/js.el (js-mode): and and -> and
25958 * textmodes/artist.el (artist-move-to-xy): at at -> at
25959 (artist-draw-region-trim-line-endings): if if -> if
25960 And Safetyc -> Safety.
25961 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25963 2011-05-10 Glenn Morris <rgm@gnu.org>
25964 Stefan Monnier <monnier@iro.umontreal.ca>
25966 * files.el (hack-one-local-variable-eval-safep):
25967 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25969 2011-05-10 Glenn Morris <rgm@gnu.org>
25971 * calendar/diary-lib.el (diary-list-entries-hook)
25972 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25973 (diary-nongregorian-marking-hook, diary-list-entries)
25974 (diary-include-other-diary-files, diary-mark-entries)
25975 (diary-mark-included-diary-files): Doc fixes.
25977 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25979 * misc.el: Require tabulated-list.el during compilation.
25981 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25983 * progmodes/compile.el (compilation-start):
25984 Run compilation-filter-hook for the async case too.
25985 (compilation-filter-hook): Doc fix.
25987 2011-05-09 Deniz Dogan <deniz@dogan.se>
25989 * wdired.el: Remove outdated installation comment. Fix usage
25992 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25994 * misc.el: Implement new command `list-dynamic-libraries'.
25995 (list-dynamic-libraries--loaded-only-p): New variable.
25996 (list-dynamic-libraries--refresh): New function.
25997 (list-dynamic-libraries): New command.
25999 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26002 Fix the ant regexp to handle end-line and end-column info from jikes.
26003 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26004 higher priority to avoid clobbering by gnu.
26006 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26008 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26009 if the face has existing theme settings (Bug#8454).
26011 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26013 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26014 Only match variables declared via `my' or `our' (Bug#8261).
26016 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26017 special file names `.' and `..' (Bug#8259).
26019 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26021 * progmodes/grep.el (grep-mode-font-lock-keywords):
26022 Remove buffer-changing entries.
26023 (grep-filter): New function.
26024 (grep-mode): Add it to compilation-filter-hook.
26026 * progmodes/compile.el (compilation-filter-hook)
26027 (compilation-filter-start): New defvars.
26028 (compilation-filter): Call compilation-filter-hook prior to
26029 updating the process mark.
26031 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26033 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26035 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26037 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26038 mailclient-send-it even if window-system is nil. (Bug#8595)
26040 * term/w32console.el (terminal-init-w32console):
26041 Call get-screen-color and use its output to set the frame
26042 background-mode. (Bug#8597)
26044 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26046 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26047 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26049 (defgeneric, eieio--defmethod): Use them.
26050 (eieio-defgeneric): Remove.
26051 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26053 2011-05-07 Glenn Morris <rgm@gnu.org>
26055 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26056 Use let rather than let*.
26057 (timeclock-find-discrep): Remove unused local.
26059 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26061 * calendar/appt.el (appt-time-msg-list): Doc fix.
26063 2011-05-06 Noah Friedman <friedman@splode.com>
26065 * apropos.el (apropos-print-doc): Only use
26066 emacs-lisp-docstring-fill-column when it is bound to an integer,
26067 per that variable's documentation.
26069 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26071 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26072 and warnings are not silently discarded (e.g. use -d instead of -P).
26074 2011-05-06 Glenn Morris <rgm@gnu.org>
26076 * calendar/appt.el (appt-message-warning-time): Doc fix.
26077 (appt-warning-time-regexp): New option.
26078 (appt-make-list): Respect appt-message-warning-time.
26080 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26082 (diary-add-to-list): Strip comments from the displayed string.
26083 (diary-mode): Set comment-start and comment-end.
26085 * vc/diff-mode.el (smerge-refine-subst): Declare.
26086 (diff-refine-hunk): Don't require smerge-mode when compiling.
26088 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26090 * simple.el (list-processes): Return nil as the docstring says.
26092 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26094 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26096 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26097 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26098 determining of binary transfer. (Bug#7383)
26100 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26102 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26103 Fix port computation bug. (Bug#8618)
26105 2011-05-05 Glenn Morris <rgm@gnu.org>
26107 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26109 * simple.el (shell-dynamic-complete-functions)
26110 (comint-dynamic-complete-functions): Declare.
26112 * net/network-stream.el (gnutls-negotiate):
26113 * simple.el (tabulated-list-print): Fix declarations.
26115 * progmodes/gud.el (syntax-symbol, syntax-point):
26116 Remove unnecessary and incorrect declarations.
26118 * emacs-lisp/check-declare.el (check-declare-scan):
26119 Handle byte-compile-initial-macro-environment in bytecomp.el.
26121 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26123 Fix earlier half-done eieio-defmethod change (bug#8338).
26124 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26125 Streamline and change calling convention.
26126 (defmethod): Adjust accordingly and simplify.
26127 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26128 new eieio--defmethod.
26129 (slot-boundp): Minor CSE simplification.
26131 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26133 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26134 (glasses-make-readable): Use glasses-separate-capital-groups.
26136 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26138 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26139 (warning-series): Doc fix.
26140 (display-warning): Don't try to create the buffer if we just found it.
26142 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26144 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26145 (autoload-find-generated-file): New function.
26146 (generate-file-autoloads): Bind generated-autoload-file to
26148 (update-file-autoloads, update-directory-autoloads):
26149 Use autoload-find-generated-file. If called interactively, prompt for
26150 output file (Bug#7989).
26151 (batch-update-autoloads): Doc fix.
26153 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26155 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26157 2011-05-04 Glenn Morris <rgm@gnu.org>
26159 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26160 function, so it follows changes in calendar-date-style.
26161 (diary-fancy-date-matcher): New function.
26162 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26163 (diary-fancy-font-lock-fontify-region-function):
26164 Use diary-fancy-date-pattern as a function.
26166 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26167 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26169 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26171 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26172 instead of positional arguments. Allow :keylist and :crlfiles
26174 (open-gnutls-stream): Call it.
26176 * net/network-stream.el (network-stream-open-starttls): Adjust to
26177 call `gnutls-negotiate' with :process and :hostname arguments.
26179 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26181 * minibuffer.el (completion--message): New function.
26182 (completion--do-completion, minibuffer-complete)
26183 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26184 (completion--do-completion): Don't ignore completion-auto-help when in
26187 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26188 internal encoding (e.g. tibetan zero is not whitespace).
26189 (global-whitespace-mode): Prefer save-current-buffer.
26190 (whitespace-trailing-regexp): Remove useless save-match-data.
26191 (whitespace-empty-at-bob-regexp): Minor simplification.
26193 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26195 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26197 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26199 * textmodes/ispell.el (ispell-add-per-file-word-list):
26200 Use `concat' to create string for insertion.
26202 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26204 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26205 Avoid open-line which runs post-self-insert-hook.
26206 (bibtex-fill-entry): Remove unused `end' var.
26208 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26210 * textmodes/ispell.el (ispell-add-per-file-word-list):
26211 Protect against `nil' value of `comment-start' (Bug#8579).
26213 2011-05-03 Leo Liu <sdl.web@gmail.com>
26215 * isearch.el (isearch-yank-pop): New command.
26216 (isearch-mode-map): Bind it to `M-y'.
26217 (isearch-forward): Mention it.
26219 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26221 * simple.el (minibuffer-complete-shell-command): Remove.
26222 (minibuffer-local-shell-command-map): Use completion-at-point.
26223 (read-shell-command): Setup completion vars here instead.
26224 (read-expression-map): Bind TAB to symbol completion.
26226 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26227 error directly rather via storing it into `results'.
26229 2011-05-02 Leo Liu <sdl.web@gmail.com>
26231 * vc/diff.el: Fix description.
26233 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26235 * server.el (server-eval-at): New function.
26237 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26239 * net/network-stream.el (open-network-stream): Take a :nowait
26240 parameter and pass it on to `make-network-process'.
26241 (network-stream-open-plain): Ditto.
26243 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26245 * faces.el (face-spec-set-match-display): Don't match toolkit
26246 options on terminal frames.
26248 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26250 * progmodes/pascal.el: Use lexical binding.
26251 (pascal-mode-map): Remove author preferences.
26253 * pcomplete.el (pcomplete-std-complete): Don't abuse
26254 completion-at-point.
26256 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26258 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26259 removing code that has been dead since 1991 or so.
26261 * startup.el (command-line): When warning about "_emacs", use a
26262 delayed warning to allow the user to filter it out.
26264 2011-04-28 Deniz Dogan <deniz@dogan.se>
26266 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26267 user has not joined.
26269 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26271 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26272 aren't any completions at point.
26274 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26276 * subr.el (display-delayed-warnings): New function.
26277 (delayed-warnings-hook): New variable.
26279 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26281 * minibuffer.el (completion-at-point, completion-help-at-point):
26282 Don't presume that a given completion-at-point-function will always
26283 use the same calling convention.
26285 * pcomplete.el (pcomplete-completions-at-point):
26286 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26287 pcomplete-seen is non-nil.
26288 (pcomplete-comint-setup): Also recognize the new comint/shell
26289 completion functions.
26290 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26291 pcomplete-seen is non-nil.
26293 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26295 * calendar/icalendar.el (diary-lib): Add require statement.
26296 (icalendar--create-uid): Read out a uid from a text-property on
26297 the first character in the entry. This allows for code to add its
26298 own uid to the entry.
26299 (icalendar--convert-float-to-ical): Add export of
26300 `diary-float'-entries save for those with the optional DAY
26303 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26305 * subr.el (shell-quote-argument): Use alternate escaping strategy
26306 when we spot a variable reference in a string.
26308 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26310 * cus-start.el (all): Define customization for debug-on-event.
26312 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26314 * subr.el (shell-quote-argument): Escape correctly under Windows.
26316 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26318 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26320 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26322 * net/tramp.el (tramp-process-actions): Add POS argument.
26323 Delete region between POS and (pos).
26325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26326 Use `nil' position in `tramp-process-actions' call.
26327 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26329 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26330 position in `tramp-process-actions' call.
26332 * net/trampver.el: Update release number.
26334 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26336 * custom.el (defcustom): Obey lexical-binding.
26338 Fix octave-inf completion problems reported by Alexander Klimov.
26339 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26340 Inherit from octave-mode-syntax-table.
26341 (inferior-octave-mode): Set info-lookup-mode.
26342 (inferior-octave-completion-at-point): New function.
26343 (inferior-octave-complete): Use it and completion-in-region.
26344 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26345 comint-filename-completion.
26346 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26347 symbol elements which shouldn't be word elements.
26348 (octave-font-lock-keywords, octave-beginning-of-defun)
26349 (octave-function-header-regexp): Adjust regexps accordingly.
26350 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26352 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26354 * net/gnutls.el (gnutls-errorp): Declare before first use.
26356 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26358 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26359 verify-error, and verify-hostname-error parameters. Check whether
26360 default trustfile exists before going to use it. Add missing
26361 argument to gnutls-message-maybe call. Return value.
26362 Reported by Claudio Bley <claudio.bley@gmail.com>.
26363 (open-gnutls-stream): Add usage example.
26365 * net/network-stream.el (network-stream-open-starttls): Give host
26366 parameter to `gnutls-negotiate'.
26367 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26368 * subr.el (shell-quote-argument): Escape correctly under Windows.
26370 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26372 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26373 Use correct match group (bug#8438).
26375 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26377 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26378 (package-menu--generate): New arg specifying packages to show.
26379 (package-menu-refresh, package-menu-execute, list-packages):
26381 (package-show-package-list): New function, replacing deleted
26382 package--list-packages (renamed because it is non-internal).
26384 * finder.el (finder-list-matches): Use package-show-package-list
26385 instead of deleted package--list-packages.
26387 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26388 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26389 (vc-annotate-mode-map): Bind it to RET.
26391 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26393 * progmodes/etags.el (next-file): Don't use set-buffer to change
26394 buffers (Bug#8478).
26396 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26398 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26400 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26401 (apropos-accumulator): Doc fix.
26402 (apropos-function, apropos-macro, apropos-command)
26403 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26404 (apropos-plist): Add face property.
26405 (apropos-symbols-internal): Fix indentation.
26406 (apropos-print): Simplify help, and recognize apropos-multi-type.
26407 (apropos-print-doc): Use button-type-get to extract the button's
26408 face property. Fill docstring (Bug#8352).
26410 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26412 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26414 * play/mpuz.el (mpuz-silent): Doc fix.
26415 (mpuz-mode-map): Use mapc.
26416 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26417 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26418 Fix typos in docstrings.
26420 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26421 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26423 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26425 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26427 * minibuffer.el (completion--do-completion): Avoid the "Next char
26428 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26430 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26431 mouse-2 into unread-command-events, it is interpreted correctly.
26433 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26434 (image-toggle-display): Doc fix.
26436 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26438 * textmodes/page.el (what-page): Use line-number-at-pos to
26439 calculate line number (Bug#6825).
26441 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26443 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26444 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26445 Pass argument NO-DEFAULT to `find-tag-interactive'.
26447 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26449 Lexical-binding cleanup.
26451 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26452 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26453 * progmodes/ada-prj.el (ada-prj-initialize-values)
26454 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26455 (ada-prj-show-value):
26456 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26457 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26458 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26459 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26460 * progmodes/bug-reference.el (bug-reference-push-button):
26461 * progmodes/fortran.el (fortran-line-length):
26462 * progmodes/glasses.el (glasses-change):
26463 * progmodes/octave-mod.el (octave-fill-paragraph):
26464 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26465 (python-pdbtrack-grub-for-buffer, python-sentinel):
26466 * progmodes/sql.el (sql-save-connection):
26467 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26468 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26469 Mark unused parameters.
26471 * progmodes/compile.el (compilation--flush-directory-cache)
26472 (compilation--flush-parse, compile-internal): Mark unused parameters.
26473 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26474 (compilation-next-error-function): Remove unused variable `timestamp'.
26476 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26477 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26479 * progmodes/dcl-mode.el (dcl-end-of-command):
26480 Remove unused variable `start'.
26481 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26482 (dcl-option-value-basic, dcl-option-value-offset)
26483 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26484 Mark unused parameters.
26485 (dcl-save-local-variable): Remove unused variable `val'.
26488 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26489 Mark unused parameters.
26490 (delphi-ignore-changes): Move before first use.
26491 (delphi-charset-token-at): Remove unused variable `start'.
26492 (delphi-else-start): Remove unused variable `if-count'.
26493 (delphi-comment-block-start, delphi-comment-block-end):
26494 Remove unused variable `kind'.
26495 (delphi-indent-line): Remove unused variable `new-point'.
26497 * progmodes/ebrowse.el (ebrowse-files-list)
26498 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26499 Mark unused parameters. Don't quote `lambda'.
26500 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26501 Don't quote `lambda'.
26502 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26503 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26504 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26505 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26506 Use `ignore-errors'.
26507 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26508 (ebrowse-view/find-file-and-search-pattern)
26509 (ebrowse-view/find-member-declaration/definition):
26510 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26511 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26512 Rename parameter PREFIX-ARG to PREFIX.
26513 (ebrowse-tags-read-name): Remove unused variables `start' and
26515 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26518 * progmodes/etags.el (local-find-tag-hook): Declare.
26519 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26520 Mark unused parameters.
26522 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26523 (executable-interpret): Mark unused parameter.
26525 * progmodes/flymake.el (flymake-process-sentinel)
26526 (flymake-after-change-function)
26527 (flymake-create-temp-with-folder-structure)
26528 (flymake-get-include-dirs-dot): Mark unused parameters.
26529 (flymake-safe-delete-directory): Remove unused variable `err'.
26531 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26532 (speedbar-timer-fn, speedbar-line-text)
26533 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26534 (speedbar-center-buffer-smartly): Declare functions.
26535 (gdb-find-watch-expression): Remove unused variable `array'.
26536 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26537 (gdb-starting): Mark unused parameters.
26538 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26539 (gdb-table-string): Remove unused variable `res'.
26540 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26541 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26542 (gdb-display-buffer): Remove unused variable `cur-size'.
26544 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26545 allow lexical-binding compilation.
26546 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26547 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26548 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26549 Mark unused parameters.
26550 (gud-gdb-marker-filter): Remove unused variable `match'.
26551 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26552 lambda expressions and funcall them, instead of using `fset'.
26554 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26555 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26557 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26558 variable `header-beg'; use `let'.
26560 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26561 `restart', `last-sexp' and `at-do'.
26563 * progmodes/js.el (js--debug): Mark unused parameter.
26564 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26565 (js--splice-into-items): Remove unused variable `item'.
26566 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26568 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26569 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26570 (makefile-complete): Remove unused variable `try'.
26571 (makefile-fill-paragraph, makefile-match-function-end):
26572 Mark unused parameters.
26574 * progmodes/octave-inf.el (inferior-octave-complete):
26575 Remove unused variable `proc'.
26576 (inferior-octave-output-digest): Mark unused parameter.
26578 * progmodes/perl-mode.el (perl-calculate-indent):
26579 Remove unused variable `err'.
26581 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26582 (prolog-indent-line): Mark unused parameters.
26583 (prolog-indent-line): Remove unused variable `beg'.
26585 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26586 (reporter-dont-compact-list): Declare.
26588 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26589 Remove unused variable `char'.
26590 (sh-debug): Mark unused parameter.
26591 (sh-get-indent-info): Remove unused variable `start'.
26592 (sh-calculate-indent): Remove unused variable `var'.
26594 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26595 (simula-electric-keyword): Remove unused variable `null'.
26596 (simula-search-backward, simula-search-forward): Remove unused
26597 variables `begin' and `end'.
26599 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26600 Remove unused variable `pos'.
26601 (vera-electric-tab, vera-comment-uncomment-region):
26602 Mark unused parameters.
26603 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26605 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26607 * emacs-lisp/package.el (package--builtins, package-alist)
26608 (package-load-descriptor, package-built-in-p, package-activate)
26609 (define-package, package-installed-p)
26610 (package-compute-transaction, package-buffer-info)
26611 (package--push): Doc fix. Distinguish more clearly between
26612 version strings and version lists.
26614 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26616 Lexical-binding cleanup.
26618 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26619 (5x5-make-mutate-best):
26620 * play/fortune.el (fortune-in-buffer):
26621 * play/gomoku.el (gomoku-init-display):
26622 * play/solitaire.el (solitaire, solitaire-do-check):
26623 * play/tetris.el (tetris-default-update-speed-function):
26624 Mark unused parameters.
26626 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26627 (bubbles--shift): Remove unused variable `char-org'.
26628 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26629 (bubbles--show-images): Remove unused variable `char'.
26631 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26632 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26633 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26634 (decipher-analyze-buffer): Use ?\s.
26635 (decipher-make-checkpoint): Remove unused variable `mapping'.
26637 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26639 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26640 Remove unused variable `result'; use `let'.
26642 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26643 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26644 (gametree-children-shown-p, gametree-compute-reduced-score):
26645 Use `ignore-errors'.
26647 * play/handwrite.el (ps-lpr-switches): Declare.
26648 (handwrite): Remove unused variables `pmin' and `lastp'.
26650 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26652 * play/landmark.el (landmark-init-display)
26653 (landmark-update-naught-weights): Mark unused parameters.
26654 (landmark-y): Remove unused variable `noise'. Simplify.
26655 (landmark-human-plays): Remove unused variable `score'.
26657 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26658 (mpuz-try-proposal): Remove unused variable `game'.
26660 * play/zone.el (life-patterns): Declare.
26662 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26664 * vc/vc.el (ediff-vc-internal): Declare function.
26666 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26668 * shell.el: Use lexical-binding and std completion UI.
26669 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26670 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26671 comint-preoutput-filter-functions rather than on
26672 comint-output-filter-functions.
26673 (shell-command-completion, shell--command-completion-data)
26674 (shell-filename-completion, shell-environment-variable-completion)
26675 (shell-c-a-p-replace-by-expanded-directory): New functions.
26676 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26677 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26678 (shell-dynamic-complete-environment-variable): Use them.
26679 (shell-dynamic-complete-as-environment-variable)
26680 (shell-dynamic-complete-as-command): Remove.
26681 (shell-match-partial-variable): Match past point.
26682 * comint.el: Clean up use of completion-at-point-functions.
26683 (comint-completion-at-point): New function.
26684 (comint-mode): Use it completion-at-point-functions.
26685 (comint-dynamic-complete): Make it obsolete.
26686 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26687 (comint-c-a-p-replace-by-expanded-history): New function.
26688 (comint-dynamic-complete-functions)
26689 (comint-replace-by-expanded-history): Use it.
26690 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26691 termination strings. Try harder to avoid second try-completion.
26692 (completion-in-region-mode-map): Disable bindings that don't work yet.
26694 * comint.el: Use lexical-binding. Require CL.
26695 (comint-dynamic-complete-functions): Use comint-filename-completion.
26696 (comint-completion-addsuffix): Tweak custom type.
26697 (comint-filename-completion, comint--common-suffix)
26698 (comint--common-quoted-suffix, comint--table-subvert)
26699 (comint--complete-file-name-data): New functions.
26700 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26701 (comint-dynamic-list-filename-completions): Use them.
26702 (comint-dynamic-simple-complete): Make obsolete.
26704 * minibuffer.el (completion-in-region-mode):
26705 Keep completion-in-region-mode--predicate global.
26706 (completion-in-region--postch):
26707 Assume completion-in-region-mode--predicate is not null.
26709 * progmodes/flymake.el (flymake-start-syntax-check-process):
26710 Obey `dir'. Simplify.
26712 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26713 we're in VC after all.
26715 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26717 * vc/vc.el (vc-diff-build-argument-list-internal)
26718 (vc-version-ediff, vc-ediff): New commands.
26719 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26721 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26723 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26726 * obsolete/erc-hecomplete.el: Make obsolete.
26727 * obsolete/: Standardize obsolescence info in the header.
26729 2011-04-20 Glenn Morris <rgm@gnu.org>
26731 * calendar/solar.el (solar-horizontal-coordinates):
26732 Use the longitude argument rather than `calendar-longitude'.
26733 (solar-date-next-longitude): Remove unused locals.
26735 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26737 * whitespace.el: New version 13.2.1.
26739 2011-04-20 felix <EmacsWiki> (tiny change)
26741 * whitespace.el (global-whitespace-mode): Keep highlight when
26742 switching between major modes on a file.
26744 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26746 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26747 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26748 multi-line comments as well.
26750 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26752 Lexical-binding cleanup.
26754 * arc-mode.el (archive-mode-revert):
26755 * cmuscheme.el (scheme-interactively-start-process):
26756 * custom.el (custom-initialize-delay):
26757 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26758 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26759 * emacs-lock.el (emacs-lock-clear-sentinel):
26760 * ezimage.el (defezimage):
26761 * follow.el (follow-avoid-tail-recenter):
26762 * fringe.el (set-fringe-mode-1):
26763 * generic-x.el (bat-generic-mode-compile):
26764 * help-mode.el (help-info-variable, help-do-xref)
26765 (help-mode-revert-buffer):
26766 * help.el (view-emacs-todo):
26767 * iswitchb.el (iswitchb-completion-help):
26768 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26769 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26770 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26771 * locate.el (locate-update):
26772 * longlines.el (longlines-encode-region)
26773 (longlines-after-change-function):
26774 * outline.el (outline-isearch-open-invisible):
26775 * ps-def.el (declare-function, charset-dimension, char-width)
26777 * ps-mule.el (ps-mule-plot-string):
26778 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26779 (recentf-edit-list-select, recentf-edit-list-validate)
26780 (recentf-open-files-action):
26781 * rect.el (delete-whitespace-rectangle-line)
26782 (rectangle-number-line-callback):
26783 * register.el (window-configuration-to-register)
26784 (frame-configuration-to-register):
26785 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26786 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26787 (xselect-convert-to-targets, xselect-convert-to-delete)
26788 (xselect-convert-to-filename, xselect-convert-to-charpos)
26789 (xselect-convert-to-lineno, xselect-convert-to-colno)
26790 (xselect-convert-to-os, xselect-convert-to-host)
26791 (xselect-convert-to-user, xselect-convert-to-class)
26792 (xselect-convert-to-name, xselect-convert-to-integer)
26793 (xselect-convert-to-atom, xselect-convert-to-identity):
26794 * subr.el (declare, ignore, process-kill-without-query)
26795 (text-clone-maintain):
26796 * terminal.el (te-get-char, te-tic-sentinel):
26797 * tool-bar.el (tool-bar-make-keymap):
26798 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26799 * type-break.el (type-break-mode, type-break-noninteractive-query):
26800 * view.el (View-back-to-mark):
26801 * wid-browse.el (widget-browse-action, widget-browse-widget)
26802 (widget-browse-widgets, widget-browse-sexp):
26803 * widget.el (define-widget-keywords):
26804 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26805 Mark unused parameters.
26807 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26808 (align-areas): Remove unused variable `look'.
26809 (align-region): Remove unused variables `real-end' and `pos-list'.
26811 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26813 * bindings.el (mode-line-modified, mode-line-remote):
26814 Mark unused parameters.
26815 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26817 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26818 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26820 * comint.el (comint-history-isearch-pop-state)
26821 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26822 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26823 (comint-substitute-in-file-name): Doc fix.
26825 * completion.el (cmpl-statistics-block): Mark unused parameter.
26826 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26827 (save-completions-to-file, load-completions-from-file):
26828 Remove unused local variable `e'.
26830 * composite.el (compose-chars): Remove unused variable `len'.
26831 (lgstring-insert-glyph): Remove unused variable `g'.
26832 (compose-glyph-string): Remove unused variables `ascent',
26833 `descent', `lbearing' and `rbearing'.
26834 (compose-glyph-string-relative): Remove unused variables
26835 `lbearing', `rbearing' and `wadjust'.
26836 (compose-gstring-for-graphic): Remove unused variables `header',
26837 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26838 (compose-gstring-for-terminal): Remove unused variables `header'
26839 and `nchars'. Use `let', not `let*'.
26841 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26842 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26843 (Custom-buffer-done, custom-buffer-create-internal)
26844 (custom-browse-visibility-action, custom-browse-group-tag-action)
26845 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26846 (widget-magic-mouse-down-action, custom-toggle-parent)
26847 (custom-add-parent-links, custom-toggle-hide-variable)
26848 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26849 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26850 (custom-face-menu-create, custom-variable-menu-create, get)
26851 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26852 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26853 (customize-apropos): Remove unused variable `tests'.
26854 (custom-group-value-create): Remove unused variable `hidden-p'.
26855 (sort-fold-case): Declare.
26857 * cus-theme.el (custom-reset-standard-faces-list)
26858 (custom-reset-standard-variables-list): Declare.
26859 (customize-create-theme, custom-theme-revert, custom-theme-write)
26860 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26861 Mark unused parameters.
26863 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26865 * delim-col.el (delimit-columns-max): Move defvar before first use.
26867 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26868 (describe-char): Don't quote `lambda'. Mark unused parameter.
26870 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26871 (auto-insert): Declare.
26872 (desktop-restore-file-buffer): Rename desktop-* parameters;
26874 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26875 (desktop-buffer): Rename desktop-* parameters.
26877 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26878 (dframe-reposition-frame-xemacs, dframe-help-echo)
26879 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26880 Mark unused parameters.
26882 * dired-aux.el (backup-extract-version-start, overwrite-query)
26883 (overwrite-backup-query, rename-regexp-query)
26884 (rename-non-directory-query): Declare.
26885 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26886 (dired-add-entry): Remove unused variable `orig-file-name'.
26887 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26888 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26889 `dired-copy-preserve-time' directly.
26890 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26891 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26893 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26894 (dired-virtual-revert, dired-make-relative-symlink):
26895 Mark unused parameters.
26896 (manual-program): Declare.
26897 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26898 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26899 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26901 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26903 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26905 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26908 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26910 * electric.el (Electric-command-loop): Rename parameter
26911 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26913 * expand.el (expand-in-literal): Remove unused variable `here'.
26915 * facemenu.el (facemenu-add-new-color):
26916 Remove unused variable `docstring'.
26918 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26919 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26920 (face-attr-construct): Mark unused parameter. Doc fix.
26921 (read-color): Remove unused variable `hex-string'.
26923 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26924 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26925 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26926 (display-buffer-other-frame): Remove unused variable `old-window'.
26927 (kill-buffer-hook): Declare.
26928 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26929 Mark unused parameters.
26930 (after-find-file): Pass 1 to `auto-save-mode', not t.
26932 * files-x.el (auto-insert): Declare.
26933 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26935 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26936 variable `buf'. Mark unused parameter.
26937 (find-lisp-insert-directory): Mark unused parameter.
26939 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26940 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26941 (format-common-tail): Remove, unused.
26942 (format-deannotate-region): Remove unused variable `loc'.
26943 (format-annotate-region): Remove unused variable `p'.
26944 (format-annotate-single-property-change): Remove unused variables
26945 `default' and `tail'.
26947 * forms.el (read-file-filter): Declare.
26948 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26950 * frame.el (frame-creation-function-alist): Mark unused parameter.
26951 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26953 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26954 Remove unused parameters.
26955 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26956 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26958 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26959 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26960 (hfy-prepare-tag-map): Mark unused parameters.
26961 (htmlfontify-buffer): Use `called-interactively-p'.
26963 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26964 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26965 (ibuffer-do-occur): Mark unused parameters.
26966 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26967 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26969 * ibuffer.el: Don't quote `lambda'.
26970 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26971 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26972 Mark unused parameters.
26974 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26975 (ido-completing-read): Mark unused parameters.
26976 (ido-copy-current-word): Mark unused parameters;
26977 remove unused variable `name'.
26978 (ido-sort-merged-list): Remove unused parameter `dirs'.
26980 * ielm.el (ielm-input-sender): Mark unused parameter.
26981 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26982 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26983 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26984 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26985 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26987 * image-dired.el (image-dired-display-thumbs): Remove unused
26988 variables `curr-file' and `count'.
26989 (image-dired-remove-tag): Remove unused variable `start'.
26990 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26991 variable `curr-file'
26992 (image-dired-rotate-original): Remove unused variable `temp-file'.
26993 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26994 Remove unused variable `file'.
26995 (image-dired-gallery-generate): Remove unused variable `curr'.
26996 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26998 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27000 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27002 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27004 * isearch.el (minibuffer-history-symbol): Declare.
27005 (isearch-edit-string): Remove unused variable `err'.
27006 (isearch-message-prefix, isearch-message-suffix):
27007 Mark unused parameters.
27009 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27011 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27013 * makesum.el (double-column): Remove unused variable `cnt'.
27015 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27016 (ido-ignore-item-temp-list): Declare.
27018 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27019 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27020 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27021 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27024 * mouse-sel.el (mouse-extend-internal):
27025 Remove unused variable `orig-window-frame'.
27027 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27028 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27029 Move declarations before first use.
27030 (pcomplete-opt): Mark unused parameters; doc fix.
27032 * proced.el (proced-revert): Mark unused parameter.
27033 (proced-send-signal): Remove unused variable `err'.
27035 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27036 Rename parameter PREFIX-ARG to ARG.
27037 (ps-basic-plot-string, ps-basic-plot-whitespace):
27038 Mark unused parameters.
27040 * replace.el (replace-count): Define.
27041 (occur-revert-function): Mark unused parameters.
27042 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27043 (isearch-case-fold-search, isearch-string): Declare.
27044 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27045 bind `case-fold-search'. Remove unused variables `beg' and `end',
27047 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27048 COUNT and bind `replace-count'.
27049 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27052 * savehist.el (print-readably, print-string-length): Declare.
27054 * shadowfile.el (shadow-expand-cluster-in-file-name):
27055 Remove unused variable `cluster'.
27056 (shadow-copy-file): Remove unused variable `i'.
27057 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27058 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27059 (shadow-define-literal-group, shadow-define-regexp-group)
27060 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27062 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27063 (shell): Use `called-interactively-p'.
27064 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27066 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27067 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27068 (delete-backward-char): Remove unused variable `ocol'.
27069 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27070 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27071 (event-apply-hyper-modifier, event-apply-shift-modifier)
27072 (event-apply-control-modifier, event-apply-meta-modifier):
27073 Mark unused parameters.
27074 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27075 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27077 * speedbar.el (speedbar-ignored-directory-expressions)
27078 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27079 (speedbar-find-file, speedbar-dir-follow)
27080 (speedbar-directory-buttons-follow, speedbar-tag-find)
27081 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27082 (speedbar-buffers-line-directory, speedbar-buffer-click):
27083 Mark unused parameters.
27084 (speedbar-tag-file): Remove unused variable `mode'.
27085 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27087 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27089 * talk.el (talk): Remove unused variable `display'.
27091 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27092 (tar-write-region-annotate): Mark unused parameter.
27094 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27095 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27096 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27097 warning by another.
27099 * time-stamp.el (time-stamp-string-preprocess):
27100 Remove unused variable `require-padding'.
27102 * tree-widget.el (widget-glyph-enable): Declare.
27103 (tree-widget-action): Mark unused parameter.
27105 * w32-fns.el (x-get-selection): Mark unused parameter.
27106 (autoload-make-program, generated-autoload-file): Declare.
27108 * wdired.el (wdired-revert): Mark unused parameters.
27109 (wdired-xcase-word): Remove unused variable `err'.
27111 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27112 (whitespace-help-scroll): Remove unused variable `data-help'.
27114 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27115 (widget-image-insert, widget-after-change, default)
27116 (widget-default-format-handler, widget-default-notify)
27117 (widget-default-prompt-value, widget-info-link-action)
27118 (widget-url-link-action, widget-function-link-action)
27119 (widget-variable-link-action, widget-file-link-action)
27120 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27121 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27122 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27123 (widget-insert-button-action, widget-delete-button-action, visibility)
27124 (widget-documentation-link-action, widget-documentation-string-action)
27125 (widget-const-prompt-value, widget-regexp-match, symbol)
27126 (widget-coding-system-prompt-value)
27127 (widget-key-sequence-value-to-external, sexp)
27128 (widget-sexp-value-to-internal, character, vector, cons)
27129 (widget-choice-prompt-value, widget-boolean-prompt-value)
27130 (widget-color--choose-action): Mark unused parameters.
27131 (widget-item-match-inline, widget-choice-match-inline)
27132 (widget-checklist-match, widget-checklist-match-inline)
27133 (widget-group-match): Rename parameter VALUES to VALS.
27134 (widget-field-value-set): Remove unused variable `size'.
27135 (widget-color-action): Remove unused variables `value' and `start'.
27137 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27138 variable `dir'. Doc fix.
27139 (windmove-find-other-window): Don't pass it.
27141 * window.el (count-windows): Mark unused parameter.
27142 (bw-adjust-window): Remove unused variable `err'.
27144 * woman.el (woman-file-name): Remove unused variable `default'.
27145 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27146 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27147 (global-font-lock-mode): Declare.
27148 (woman-decode-region): Mark unused parameter.
27149 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27151 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27152 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27153 (x-dnd-handle-moz-url): Remove unused variable `title'.
27154 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27156 * xml.el (xml-parse-tag, xml-parse-attlist):
27157 Remove unused variable `pos'.
27159 2011-04-19 Glenn Morris <rgm@gnu.org>
27161 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27162 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27163 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27164 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27165 * calendar/cal-html.el (cal-html-insert-minical):
27166 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27167 (calendar-mark-date-pattern):
27168 Prefix "unused" locals.
27170 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27171 optional argument `style'.
27173 * calendar/appt.el (appt-make-list):
27174 * calendar/cal-china.el (calendar-chinese-date-string):
27175 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27176 (diary-hebrew-yahrzeit):
27177 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27178 * calendar/calendar.el (calendar-generate-window):
27179 * calendar/time-date.el (time-to-days):
27180 Remove unused local variables.
27182 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27184 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27185 glyphless-char-display table.
27186 (tabulated-list-glyphless-char-display): New var.
27188 2011-04-18 Sam Steingold <sds@gnu.org>
27190 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27191 to acknowledgments.
27193 2011-04-17 Glenn Morris <rgm@gnu.org>
27195 * calendar/diary-lib.el (diary-sexp-entry):
27196 * calendar/holidays.el (holiday-sexp):
27197 Set debug-on-error rather than the removed stack-trace-on-error.
27199 2011-04-16 Glenn Morris <rgm@gnu.org>
27201 * progmodes/f90.el: Use lexical-binding.
27202 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27204 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27206 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27207 (mail-mode): Setup mailalias completion here instead.
27208 * mail/mailalias.el: Use lexical-binding.
27209 (pattern, mailalias-done): Declare dynamic.
27210 (mail-completion-at-point-function): New function, from mail-complete.
27211 (mail-complete): Use it.
27212 (mail-completion-expand): New function.
27213 (mail-get-names): Use it.
27214 (mail-directory, mail-directory-process, mail-directory-stream):
27215 Don't use `pattern' for lexically bound arg.
27217 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27219 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27220 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27221 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27223 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27224 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27225 (byte-interactive-p): Define them again, for use when inlining
27228 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27230 * loadup.el: Use `string-to-number', not `string-to-int'.
27232 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27234 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27235 gud-gdb-complete-command.
27236 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27237 (gud-gdb-completion-at-point): New function.
27238 (gud-gdb-completions): Remove.
27240 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27242 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27243 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27244 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27245 whether `executable-find' is bound.
27247 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27249 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27251 * minibuffer.el (completion-in-region-mode-predicate)
27252 (completion-in-region-mode--predicate): New vars.
27253 (completion-in-region, completion-in-region--postch)
27254 (completion-in-region-mode): Use them.
27255 (completion--capf-wrapper): Also return the hook function.
27256 (completion-at-point, completion-help-at-point):
27257 Adjust and provide a predicate.
27259 Preserve arg names for advice of subr and lexical functions (bug#8457).
27260 * help-fns.el (help-function-arglist): Consolidate the subr and
27261 new-byte-code cases. Add argument `preserve-names' to extract names
27262 from the docstring when needed.
27263 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27264 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27265 (ad-arglist): Use help-function-arglist's new arg.
27266 (ad-definition-type): Use cond.
27268 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27270 * autorevert.el (auto-revert-handler):
27271 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27272 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27273 Don't quote lambda.
27275 * image-mode.el (image-transform-set-scale):
27276 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27278 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27280 * net/network-stream.el (network-stream-open-starttls): Only do
27281 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27282 Upgrades via gnutls-cli are too slow to be done opportunistically.
27284 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27286 * dframe.el (dframe-current-frame): Remove spurious quote.
27288 2011-04-12 Glenn Morris <rgm@gnu.org>
27290 * calendar/cal-tex.el (cal-tex-end-document):
27291 Try to automatically use latin1 input if needed.
27293 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27294 Don't try to cons a mark onto an empty element.
27296 2011-04-11 Leo Liu <sdl.web@gmail.com>
27298 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27300 (ido-kill-buffer-at-head): Support killing virtual buffers.
27302 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27304 * minibuffer.el (completion-show-inline-help): New var.
27305 (completion--do-completion, minibuffer-complete)
27306 (minibuffer-force-complete, minibuffer-complete-word):
27307 Inhibit minibuffer messages if completion-show-inline-help is nil.
27309 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27310 to avoid interference from inline help (Bug#5849).
27312 2011-04-10 Leo Liu <sdl.web@gmail.com>
27314 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27317 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27319 * image-mode.el (image-toggle-display-image): Signal an error if
27321 (image-transform-mode, image-transform-resize)
27322 (image-transform-set-rotation): Doc fix.
27323 (image-transform-set-resize): Delete.
27324 (image-transform-set-scale, image-transform-fit-to-height)
27325 (image-transform-fit-to-width): Handle image-toggle-display-image
27326 and image-transform-resize directly.
27328 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27330 * doc-view.el (doc-view-fit-width-to-window)
27331 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27332 New functions for fitting the shown image to the Emacs window size.
27333 (doc-view-mode-map): Add bindings for the new functions.
27335 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27337 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27338 Fix typo in docstring.
27340 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27342 * files.el (file-size-human-readable): Produce one digit after
27343 decimal, like "ls -lh" does.
27345 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27346 the file size representation.
27348 * simple.el (list-processes): If async subprocesses are not
27349 available, error out with a clear error message.
27351 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27353 * help.el (help-form-show): New function, to be called from C.
27354 Put help-form output in a buffer named differently than *Help*.
27356 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27358 * files.el (file-size-human-readable): New function.
27360 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27361 computing the representation inline. Don't require `cl'.
27363 2011-04-08 Glenn Morris <rgm@gnu.org>
27365 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27367 * net/browse-url.el (browse-url-firefox):
27368 Test system-type, not system-configuration.
27370 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27371 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27372 Use log-edit-empty-buffer-p. (Bug#7598)
27374 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27375 (rlogin-mode-map): Initialize in the defvar.
27376 (rlogin): Use ignore-errors.
27378 * replace.el (occur-mode-map): Some fixes for menu items.
27380 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27382 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27384 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27386 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27387 issuing unused warnings.
27389 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27392 * simple.el: Lisp reimplement of list-processes. Based on an
27393 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27394 (process-menu-mode): New major mode.
27395 (list-processes--refresh, list-processes):
27396 (process-menu-visit-buffer): New functions.
27398 * files.el (save-buffers-kill-emacs): Don't assume any return
27399 value of list-processes, which is undocumented anyway.
27401 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27403 * emacs-lisp/tabulated-list.el: New file.
27405 * emacs-lisp/package.el: Use Tabulated List mode.
27406 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27407 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27408 table format using Tabulated List mode variables.
27409 (package--push): New macro, replacing package-list-maybe-add.
27410 (package-menu--generate): Use package--push. Renamed from
27411 package--generate-package-list.
27412 (package-menu-refresh, list-packages): Use it.
27413 (package-menu--print-info): Rename from package-print-package.
27414 Return insertion data instead of inserting it directly.
27415 (package-menu-describe-package, package-menu-execute):
27416 Use tabulated-list-get-id.
27417 (package-menu-mark-delete, package-menu-mark-install)
27418 (package-menu-mark-unmark, package-menu-backup-unmark)
27419 (package-menu-mark-obsolete-for-deletion):
27420 Use tabulated-list-put-tag.
27421 (package--list-packages, package-menu-revert)
27422 (package-menu-get-package, package-menu-get-version)
27423 (package-menu-sort-by-column): Functions deleted.
27424 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27425 (package-menu--status-predicate, package-menu--version-predicate)
27426 (package-menu--name-predicate)
27427 (package-menu--description-predicate): Handle arguments in the
27428 Tabulated List format.
27429 (package-list-packages-no-fetch): Call list-packages.
27431 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27433 * files.el (after-find-file-from-revert-buffer): Remove variable.
27434 (after-find-file): Don't bind it.
27435 (revert-buffer-in-progress-p): New variable.
27436 (revert-buffer): Bind it.
27437 Pass nil for `after-find-file-from-revert-buffer'.
27439 * saveplace.el (save-place-find-file-hook): Use new variable
27440 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27442 2011-04-06 Glenn Morris <rgm@gnu.org>
27444 * Makefile.in (AUTOGEN_VCS): New variable.
27445 (autoloads): Use $AUTOGEN_VCS.
27447 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27448 * calendar/calendar.el (calendar-mode-map):
27449 Check for toolkit scroll bars. (Bug#8305)
27451 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27453 * minibuffer.el (completion-in-region--postch)
27454 (completion-in-region-mode): Remove unnecessary messages.
27456 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27458 * font-lock.el (font-lock-refresh-defaults):
27459 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27460 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27462 * info.el (Info-directory-list, Info-read-node-name-2)
27463 (Info-split-parameter-string): Doc fixes.
27464 (Info-virtual-nodes): Reflow docstring.
27465 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27466 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27467 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27468 Fix typos in docstrings.
27469 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27470 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27471 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27472 (Info-restore-desktop-buffer): Mark unused parameters.
27473 (Info-directory-find-file, Info-directory-find-node)
27474 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27475 (Info-virtual-index-find-node, Info-apropos-find-file)
27476 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27477 Mark unused parameters; fix typos in docstrings.
27478 (Info-virtual-index): Remove unused local variable `nodename'.
27480 2011-04-05 Deniz Dogan <deniz@dogan.se>
27482 * net/rcirc.el: Update my e-mail address.
27483 (rcirc-mode-map): Remove M-o binding.
27485 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27487 * startup.el (command-line): Save the cursor's theme-face
27488 directly, instead of using face-override-spec.
27490 * custom.el (load-theme): Minor optimization in assigning faces.
27492 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27494 * help-fns.el (describe-variable): Complete all variables having
27495 documentation, including keywords.
27496 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27498 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27500 Convert to lexical-binding.
27502 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27503 (bs--get-marked-string, bs--get-modified-string)
27504 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27505 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27506 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27508 * ehelp.el (electric-help-execute-extended)
27509 (electric-help-ctrl-x-prefix):
27510 * hexl.el (hexl-revert-buffer-function):
27511 * linum.el (linum-after-change, linum-after-scroll):
27512 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27514 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27516 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27523 * epg.el: Use lexical binding.
27525 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27527 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27529 * textmodes/flyspell.el (flyspell-word): Recognize default
27530 dictionary case for flyspell-mark-duplications-exceptions.
27531 Use regexp matching for languages.
27532 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27533 default dictionary (Bug#7926).
27535 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27537 * emacs-lisp/package.el (package--with-work-buffer):
27538 Recognize https URLs.
27540 * net/network-stream.el: Move from gnus/proto-stream.el.
27541 Change prefix to network-stream throughout.
27542 (open-protocol-stream): Merge into open-network-stream, leaving
27543 open-protocol-stream as an alias. Handle nil BUFFER args.
27545 * subr.el (open-network-stream): Move to net/network-stream.el.
27547 2011-04-02 Glenn Morris <rgm@gnu.org>
27549 * find-dired.el (find-exec-terminator): New option.
27550 (find-ls-option): Test for -ls support.
27551 (find-ls-subdir-switches): Test for -b in find-ls-option.
27552 (find-dired, find-grep-dired): Doc fixes.
27553 (find-dired): Use find-exec-terminator.
27555 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27556 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27557 (find-name-arg): Remove purecopy.
27559 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27560 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27561 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27562 accordingly. Don't add the null-device if not needed.
27564 * files.el (save-some-buffers): Doc fix.
27566 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27568 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27570 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27572 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27573 Use `dolist' rather than `mapcar'.
27575 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27577 Add lexical binding.
27579 * subr.el (apply-partially): Use new closures rather than CL.
27580 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27581 (dolist, dotimes): Use slightly different expansion for lexical code.
27582 (functionp): Move to C.
27583 (letrec): New macro.
27584 (with-wrapper-hook): Use it and apply-partially instead of CL.
27585 (eval-after-load): Preserve lexical-binding.
27586 (save-window-excursion, with-output-to-temp-buffer): Turn them
27589 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27591 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27593 (help-add-fundoc-usage): Don't add `Not documented'.
27594 (help-function-arglist): Handle closures, subroutines, and new
27595 byte-code-functions.
27596 (help-make-usage): Remove leading underscores.
27597 (describe-function-1): Handle closures.
27598 (describe-variable): Use special-variable-p for completion.
27600 * files.el (lexical-binding): Declare safe.
27602 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27603 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27604 (pcase): Add `let' pattern.
27605 Change memoization so it actually works.
27606 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27607 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27610 * emacs-lisp/macroexp.el: Use lexical binding.
27611 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27612 Don't convert ' to #' without checking that it's indeed quoting
27615 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27616 Use eval-sexp-add-defvars.
27617 (eval-sexp-add-defvars): New fun.
27619 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27621 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27623 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27624 than the internal `byte-compile-lambda'.
27625 (defmethod): Don't hide code under quotes.
27626 (eieio-defmethod): New `code' argument.
27628 * emacs-lisp/eieio-comp.el: Remove.
27630 * emacs-lisp/edebug.el (edebug-eval-defun)
27631 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27632 (edebug-toggle): Avoid `eval'.
27634 * emacs-lisp/disass.el (disassemble-internal): Handle new
27636 (disassemble-1): Handle new byte codes.
27638 * emacs-lisp/cl.el (pushnew): Silence warning.
27640 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27641 (cl-byte-compile-throw): Remove.
27642 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27644 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27647 * emacs-lisp/cconv.el: New file.
27649 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27650 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27651 (byte-compile-initial-macro-environment):
27652 Handle declare-function here.
27653 (byte-compile--lexical-environment): New var.
27654 (byte-stack-ref, byte-stack-set, byte-discardN)
27655 (byte-discardN-preserve-tos): New lap codes.
27656 (byte-interactive-p): Don't use any more.
27657 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27659 (byte-compile-lapcode): Use them and handle new lap codes.
27660 (byte-compile-obsolete): Remove.
27661 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27662 (byte-compile-arglist-warn): Check late def of inlinable funs.
27663 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27664 since they should have been expanded by now.
27665 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27666 (byte-compile-from-buffer): Remove unused second arg.
27667 (byte-compile-preprocess): New function.
27668 (byte-compile-toplevel-file-form): New function to distinguish
27669 file-form calls from outside from file-form calls from hunk-handlers.
27670 (byte-compile-file-form): Simplify.
27671 (byte-compile-file-form-defsubst): Remove.
27672 (byte-compile-file-form-defmumble): Simplify now that
27673 byte-compile-lambda always returns a byte-code-function.
27674 (byte-compile): Preprocess.
27675 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27676 Remove, not used any more.
27677 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27678 (byte-compile-make-args-desc): New funs.
27679 (byte-compile-lambda): Handle lexical functions. Always return
27680 a byte-code-function.
27681 (byte-compile-reserved-constants): New var, to make up room for
27682 closed-over variables.
27683 (byte-compile-constants-vector): Obey it.
27684 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27685 (byte-compile-macroexpand-declare-function): New function.
27686 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27687 byte-code-functions.
27688 (byte-compile-form): Check obsolescence here.
27689 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27690 (byte-compile-variable-ref): Remove.
27691 (byte-compile-dynamic-variable-op): New fun.
27692 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27693 (byte-compile-variable-set): New funs.
27694 (byte-compile-discard): Add 2 args.
27695 (byte-compile-stack-ref, byte-compile-stack-set)
27696 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27697 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27698 macroexpand-all instead.
27699 (byte-compile-quote-form): Remove.
27700 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27701 (byte-compile-bind, byte-compile-unbind): New funs.
27702 (byte-compile-let): Handle let* and lexical binding.
27703 (byte-compile-let*): Remove.
27704 (byte-compile-catch, byte-compile-unwind-protect)
27705 (byte-compile-track-mouse, byte-compile-condition-case):
27706 Handle a new :fun-body form, used for lexical scoping.
27707 (byte-compile-save-window-excursion)
27708 (byte-compile-with-output-to-temp-buffer): Remove.
27709 (byte-compile-defun): Simplify.
27710 (byte-compile-stack-adjustment): New fun.
27711 (byte-compile-out): Use it.
27712 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27714 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27717 * emacs-lisp/byte-opt.el: Use lexical binding.
27718 (byte-inline-lapcode): Remove (to bytecomp).
27719 (byte-compile-inline-expand): Pay attention to inlining to/from
27720 lexically bound code.
27721 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27723 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27724 any more and don't call compiler-macros.
27725 (byte-compile-splice-in-already-compiled-code): Remove.
27726 (byte-code): Don't inline any more.
27727 (disassemble-offset): Receive `bytes' as argument rather than via
27729 (byte-compile-tag-number): Declare before first use.
27730 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27731 `return' even if make-spliceable.
27732 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27733 obsolete interactive-p.
27734 (byte-optimize-lapcode): Optimize new lap-codes.
27735 Don't trip up on new form of `byte-constant' lap code.
27737 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27739 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27741 * custom.el (custom-initialize-default, custom-declare-variable):
27744 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27746 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27747 (COMPILE_FIRST): Add macroexp and cconv.
27748 * makefile.w32-in: Mirror changes in Makefile.in.
27750 * vc/cvs-status.el:
27754 * vc/smerge-mode.el:
27755 * textmodes/bibtex-style.el:
27756 * textmodes/css-mode.el:
27764 * emacs-lisp/smie.el:
27767 * abbrev.el: Use lexical binding.
27769 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27771 * info.el (info-display-manual): New function.
27773 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27775 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27777 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27779 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27780 an entry for that server in rcirc-authinfo. (Bug#8385)
27782 2011-03-31 Glenn Morris <rgm@gnu.org>
27784 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27786 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27788 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27790 * progmodes/python.el (python-default-interpreter)
27791 (python-python-command-args, python-jython-command-args)
27792 (python-which-shell, python-which-args, python-which-bufname)
27793 (python-file-queue, python-comint-output-filter-function)
27794 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27795 variables and functions.
27797 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27799 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27800 (completion-in-region-mode): New minor mode.
27801 (completion-in-region): Use it.
27802 (completion-in-region--data, completion-in-region-mode-map): New vars.
27803 (completion-in-region--postch): New function.
27804 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27806 (completion--capf-wrapper): New function.
27807 (completion-at-point): Use it to track well-behavedness of
27809 (completion-help-at-point): New command.
27811 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27813 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27814 syntax class to search for whitespace on a single line
27815 (Message-ID: <4D938140.4030905@redhat.com>).
27817 2011-03-30 Leo Liu <sdl.web@gmail.com>
27819 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27821 (edit-abbrevs-map): Bind them here.
27822 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27824 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27826 * allout.el (allout-hide-by-annotation, allout-flag-region):
27827 Reduce possibility of overlay leakage by making them volatile.
27829 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27830 hash is not shared between buffers. Mode initialization is
27831 responsible for giving it a useful starting value.
27832 (allout-item-span): Reduce possibility of overlay leakage by
27833 making them volatile.
27834 (allout-widgets-count-buttons-in-region): Add diagnostic function
27835 for tracking down button overlay leaks.
27837 2011-03-29 Leo Liu <sdl.web@gmail.com>
27839 * ido.el (ido-read-internal): Use the default history var
27840 minibuffer-history if no HISTORY is specified.
27842 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27844 * net/imap.el (imap-shell-open, imap-process-connection-type):
27845 Use imap-process-connection-type for 'shell' streams as well as
27846 Kerberos, SSL, other subprocesses.
27848 2011-03-28 Leo Liu <sdl.web@gmail.com>
27850 * abbrev.el (abbrev-table-empty-p): New function.
27851 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27852 nonempty ones. (Bug#5937)
27854 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27856 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27858 2011-03-27 Leo Liu <sdl.web@gmail.com>
27860 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27861 for foreground and background colors.
27862 (ansi-color-make-color-map): Adapt.
27864 2011-03-25 Leo Liu <sdl.web@gmail.com>
27866 * midnight.el (midnight-time-float): Remove. Note it calculates
27867 the microsecond component incorrectly and seconds-to-time does the
27869 Remove redundant (require 'timer).
27871 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27872 (ido-completions): Remove unused arguments. (Bug#8329)
27874 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27876 * minibuffer.el (completion--flush-all-sorted-completions):
27877 Remove itself from hook.
27878 (completion-at-point): Let the functions perform the completion
27879 immediately and return nil or t.
27880 * comint.el (comint-dynamic-complete-functions): Now identical to
27881 completion-at-point-functions.
27882 (comint-dynamic-list-input-ring): Remove unused var `index'.
27883 (comint--match-partial-filename, comint--unquote&expand-filename):
27884 New funs, split from comint-match-partial-filename.
27885 (comint-dynamic-complete): Use completion-at-point.
27886 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27888 2011-03-24 Drew Adams <drew.adams@oracle.com>
27890 * thingatpt.el: Support `defun'.
27892 2011-03-23 Leo Liu <sdl.web@gmail.com>
27894 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27896 * help-mode.el (help-mode-finish): Tweak regexp.
27898 2011-03-23 Glenn Morris <rgm@gnu.org>
27900 * eshell/esh-opt.el (eshell-eval-using-options):
27901 Do not bind unused local variable `eshell-option-stub'.
27903 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27905 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27907 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27908 keymap variable in `with-no-warnings' to avoid a warning when the
27909 keymap has been already `defconst'ed.
27911 2011-03-22 Leo Liu <sdl.web@gmail.com>
27913 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27914 encode all chars in abbrevs; otherwise use emacs-mule or
27915 utf-8-emacs. (Bug#8308)
27917 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27919 * simple.el (backward-delete-char-untabify):
27920 Avoid warning about using `delete-backward-char'.
27922 * image.el (image-type-file-name-regexps): Make it variable.
27923 `imagemagick-register-types' modifies it, and the user may want
27924 to add new extensions for known image types.
27925 (imagemagick-register-types): Throw error if not using ImageMagick.
27927 2011-03-22 Leo Liu <sdl.web@gmail.com>
27929 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27930 located before rcirc-prompt-end-marker.
27931 (rcirc-complete): Error if point is not after rcirc prompt.
27932 Handle the case when table is nil.
27933 (rcirc-user-authenticated): Define to fix compiler warning.
27935 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27937 * custom.el (custom--inhibit-theme-enable): Make it affect only
27938 custom-theme-set-variables and custom-theme-set-faces.
27939 (provide-theme): Ignore custom--inhibit-theme-enable.
27940 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27941 (custom-enabling-themes): Delete variable.
27942 (enable-theme): Accept only loaded themes as arguments.
27943 Ignore the special custom-enabled-themes variable.
27944 (custom-enabled-themes): Forbid themes from setting this.
27945 Eliminate use of custom-enabling-themes.
27946 (custom-push-theme): Quote "changed" custom var entry.
27948 2011-03-21 Leo Liu <sdl.web@gmail.com>
27950 * ido.el (ido-read-internal): Add ido-selected to history instead
27953 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27955 * subr.el (deferred-action-list, deferred-action-function):
27958 2011-03-21 Leo Liu <sdl.web@gmail.com>
27960 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27961 change on 2011-02-13 (bug#8309).
27963 * minibuffer.el (read-file-name-function): Change default value.
27964 (read-file-name--defaults): Rename from read-file-name-defaults.
27965 (read-file-name-default): Rename from read-file-name.
27966 (read-file-name): Call read-file-name-function.
27968 2011-03-21 Glenn Morris <rgm@gnu.org>
27970 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27973 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27975 * cus-theme.el: Add missing provide statement.
27976 (customize-create-theme): Extract theme value correctly.
27977 (custom-theme-visit-theme): Autoload.
27978 (customize-create-theme): Prompt before inserting default faces.
27980 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27982 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27983 units and musical notes.
27985 2011-03-20 Leo Liu <sdl.web@gmail.com>
27987 * ido.el (ido-read-internal): Use completing-read-default.
27988 (ido-completing-read): Fix compatibility with completing-read.
27990 2011-03-20 Christian Ohler <ohler@gnu.org>
27992 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27993 (ert-delete-all-tests): Use `called-interactively-p' rather than
27995 (ert--make-xrefs-region): Respect END.
27997 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27999 * dired-aux.el (dired-create-directory): Signal an error if the
28000 directory already exists (Bug#8246).
28002 * facemenu.el (list-colors-display): Call list-faces-display
28003 inside with-help-window.
28004 (list-colors-print): Use display property to align the final
28005 column, instead of checking window-width.
28007 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28009 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28010 windows-nt systems.
28011 (emerge-protect-metachars): Quote correctly for ms-dos and
28012 windows-nt systems.
28014 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28016 * info.el (info-initialize): Replace all uses of `:' with
28017 path-separator for compatibility with non-Unix systems.
28018 Cache quoting of path-separator. (Bug#8258)
28020 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28022 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28023 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28024 (mouse-avoidance-mode): Fix typos in docstrings.
28026 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28028 * startup.el (package-subdirectory-regexp): Move from package.el.
28029 Omit \\` and \\', and let callers add them.
28031 * emacs-lisp/package.el (package-strip-version)
28032 (package-load-all-descriptors): Add \\` and \\' to
28033 package-subdirectory-regexp before using it.
28034 (package-untar-buffer): New arg DIR; ensure that file untars only
28035 into this expected directory. Remove superfluous delete-region.
28036 (package-unpack): Caller changed.
28037 (package-tar-file-info): Use package-subdirectory-regexp.
28039 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28041 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28042 diff-mode-shared-map (bug#8284).
28043 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28045 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28047 * calendar/time-date.el (format-seconds): Use assoc instead of
28048 assoc-string, since assoc-string doesn't exist in XEmacs.
28050 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28052 * custom.el (custom-known-themes): Reflow docstring.
28053 (custom-theme-load-path): Fix typo in docstring.
28054 (load-theme): Fix typo in error message.
28055 (custom-available-themes, custom-variable-theme-value):
28056 Use `let', not `let*'.
28058 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28060 * calc/README: Mention inclusion of musical notes.
28062 * calc/calc-units.el (calc-lu-quant): Rename from
28063 `calc-logunits-quantity'.
28064 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28065 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28066 (calc-db): Rename from `calc-dblevel'.
28067 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28068 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28069 (calc-np): Rename from `calc-nplevel'.
28070 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28071 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28072 (calc-lu-plus): Rename from `calc-logunits-add'.
28073 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28074 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28075 (calc-lu-minus): Rename from `calc-logunits-sub'.
28076 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28077 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28078 (calc-lu-times): Rename from `calc-logunits-mul'.
28079 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28080 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28081 (calc-lu-divide): Rename from `calc-logunits-div'.
28082 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28083 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28085 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28086 functions being autoloaded.
28088 * calc/calc.el (calc-lu-power-reference): Rename from
28089 `calc-logunits-power-reference'.
28090 (calc-lu-field-reference): Rename from
28091 `calc-logunits-field-reference'.
28093 * calc/calc-help.el (calc-l-prefix-help):
28094 Mention musical note functions.
28096 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28098 * minibuffer.el (completion-all-sorted-completions):
28099 Use :completion-cycle-penalty text property if present.
28101 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28103 * allout.el (allout-yank-processing): Adjust for new rebulleting
28104 regime so bullet being yanked is used without prompting the user
28107 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28109 * startup.el (command-line): Warn the user that _emacs is deprecated.
28111 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28113 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28114 (delphi-verbose, delphi-comment-face, delphi-string-face)
28115 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28116 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28117 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28118 (delphi-new-comment-line, delphi-font-lock-defaults)
28119 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28120 Fix typos in docstrings.
28122 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28124 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28125 Invert the roles of character and string values for INSTEAD, so a
28126 string is used for the more common case of a defaulting prompt.
28128 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28130 * progmodes/ruby-mode.el (ruby-backward-sexp):
28131 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28132 * play/gamegrid.el (gamegrid-make-face):
28133 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28134 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28135 * notifications.el (notifications-notify):
28136 * net/xesam.el (xesam-search-engines):
28137 * net/quickurl.el (quickurl-list-insert):
28138 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28140 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28142 * startup.el (command-line): Update package subdirectory regexp.
28144 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28146 * allout.el (allout-abbreviate-flattened-numbering)
28147 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28149 * subr.el (read-char-choice): Only show the cursor after the prompt,
28150 not after the answer.
28152 2011-03-15 Kevin Ryde <user42@zip.com.au>
28154 * help-fns.el (variable-at-point): Skip leading quotes, if any
28157 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28159 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28162 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28164 * shell.el (shell): When called interactively, offer to change the
28165 shell file name on remote hosts.
28167 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28169 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28170 integration for LDAP parameters. The host, base, user or binddn,
28171 and secret tokens can be specified in a netrc file, for instance.
28172 This is optional because an `auth-source' parameter must be
28173 specified in the search attributes.
28175 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28177 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28179 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28181 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28182 into declaration. Remove redundant and harmful binding.
28184 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28186 * files.el (file-ownership-preserved-p): Pass `integer' as an
28187 explicit 2nd argument to `file-attributes'. If the file's owner
28188 is the Administrators group on Windows, and the current user is
28189 Administrator, consider that a match.
28191 * server.el (server-ensure-safe-dir): Consider server directory
28192 safe on MS-Windows if its owner is the Administrators group while
28193 the current Emacs user is Administrator. Use `=' to compare
28194 numerical UIDs, since they could be integers or floats.
28196 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28198 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28200 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28202 Sync with Tramp 2.2.1.
28204 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28206 * net/trampver.el: Update release number.
28208 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28210 * progmodes/compile.el (compilation--previous-directory): Fix up
28211 various nil/dead-marker mismatches (bug#8014).
28212 (compilation-directory-properties, compilation-error-properties):
28213 Don't call it at a position past the one we're about to change.
28215 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28216 Disable obsolescence warnings in the file that declares it.
28218 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28220 * allout-widgets.el (allout-widgets-tally):
28221 Initialize allout-widgets-tally as a hash table rather than nil to
28222 prevent mode-line redisplay warnings. Also, clarify the module
28223 description and fix a comment typo.
28225 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28227 * help-fns.el (describe-variable): Don't complete keywords.
28228 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28230 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28232 * emacs-lisp/package.el (package-version-join): Impose a standard
28233 string representation for pre/alpha/beta version lists.
28234 (package-unpack-single): Standardize the directory name by passing
28235 it through package-version-join.
28236 (package-strip-rcs-id): Accept any version string that does not
28237 signal an error in version-to-list.
28239 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28241 * simple.el (delete-trailing-whitespace): Return nil for the
28242 benefit of `write-file-functions'.
28244 2011-03-10 Glenn Morris <rgm@gnu.org>
28246 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28248 * vc/vc-git.el (vc-git-program): New option.
28249 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28250 (vc-git--call): Use it.
28252 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28254 * cus-edit.el (Custom-newline): If no button at point, look
28255 for a subgroup button at start-of-line. (Bug#2298)
28257 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28259 2011-03-10 Julien Danjou <julien@danjou.info>
28261 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28262 `cursor-type' is nil.
28264 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28266 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28268 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28270 * allout.el: Change so yank of distinctive-bullet items
28271 preserves the existing header prefix, rebulleting it if necessary,
28272 rather than replacing it. This is necessary for proper operation
28273 of cooperative addons like allout-widgets.
28274 (allout-make-topic-prefix, allout-rebullet-heading):
28275 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28276 value as alternate bullet to be used, instead of prompting the user
28277 for a bullet character.
28279 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28281 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28282 Do not use `tramp-file-name-port', because this returns also
28283 `tramp-default-port'.
28285 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28287 * net/rcirc.el (rcirc-handler-001): Remove useless
28288 with-rcirc-process-buffer.
28289 (rcirc-check-auth-status): Swap arguments to string-match.
28291 2011-03-09 Glenn Morris <rgm@gnu.org>
28293 * shell.el (shell-mode):
28294 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28296 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28297 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28299 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28301 * emacs-lisp/package.el (package-refresh-contents)
28302 (package-menu-execute): Use condition-case-no-debug.
28304 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28306 * simple.el (shell-command-to-string): Use `process-file'.
28308 * emacs-lisp/package.el (package-tar-file-info): Handle also
28311 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28312 Use `equal' for upload base check.
28314 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28316 * textmodes/texinfo.el (texinfo-environments):
28317 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28319 2011-03-08 Glenn Morris <rgm@gnu.org>
28321 * cus-start.el (cursor-in-non-selected-windows):
28322 Fix :set quoting oddness. (Bug#8192)
28324 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28325 in some setf expressions. (Bug#2159)
28327 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28329 * custom.el (custom-available-themes): Return themes in
28330 alphabetical order.
28332 See ChangeLog.15 for earlier changes.
28334 ;; Local Variables:
28338 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28340 This file is part of GNU Emacs.
28342 GNU Emacs is free software: you can redistribute it and/or modify
28343 it under the terms of the GNU General Public License as published by
28344 the Free Software Foundation, either version 3 of the License, or
28345 (at your option) any later version.
28347 GNU Emacs is distributed in the hope that it will be useful,
28348 but WITHOUT ANY WARRANTY; without even the implied warranty of
28349 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28350 GNU General Public License for more details.
28352 You should have received a copy of the GNU General Public License
28353 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.