list-load-path-shadows simplification
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-26 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/shadow.el (list-load-path-shadows):
4 No longer necessary to check for duplicate simple.el, since
5 2012-07-07 change to init_lread to not include installation lisp
6 directories in load-path when running uninstalled. (Bug#14270)
7
8 2013-04-26 Leo Liu <sdl.web@gmail.com>
9
10 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11 (octave-mode, inferior-octave-mode): Use setq-local.
12 (octave-not-in-string-or-comment-p): Renamed to
13 octave-in-string-or-comment-p.
14 (octave-in-comment-p, octave-in-string-p)
15 (octave-in-string-or-comment-p): Replace defsubst with defun.
16
17 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
18
19 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20
21 2013-04-25 Bastien Guerry <bzg@gnu.org>
22
23 * textmodes/remember.el (remember-data-directory)
24 (remember-directory-file-name-format): Fix custom types.
25
26 2013-04-25 Leo Liu <sdl.web@gmail.com>
27
28 * progmodes/octave.el (octave-completion-at-point-function): Make
29 use of inferior octave process.
30 (octave-initialize-completions): Remove.
31 (inferior-octave-completion-table): New function.
32 (inferior-octave-completion-at-point): Use it.
33 (octave-completion-alist): Remove.
34
35 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * progmodes/opascal.el: Use font-lock and syntax-propertize.
38 (opascal-mode-syntax-table): New var.
39 (opascal-literal-kind, opascal-is-literal-end)
40 (opascal-literal-token-at): Rewrite.
41 (opascal--literal-start-re, opascal-font-lock-keywords)
42 (opascal--syntax-propertize): New constants.
43 (opascal-font-lock-defaults): Adjust.
44 (opascal-mode): Use them. Set comment-<foo> variables as well.
45 (delphi-comment-face, opascal-comment-face, delphi-string-face)
46 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
47 (delphi-other-face, opascal-other-face): Remove face variables.
48 (opascal-save-state): Remove macro.
49 (opascal-fontifying-progress-step): Remove constant.
50 (opascal--ignore-changes): Remove var.
51 (opascal-set-token-property, opascal-parse-next-literal)
52 (opascal-is-stable-literal, opascal-complete-literal)
53 (opascal-is-literal-start, opascal-face-of)
54 (opascal-parse-region, opascal-parse-region-until-stable)
55 (opascal-fontify-region, opascal-after-change)
56 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
57 (opascal-debug-parse-region, opascal-debug-parse-window)
58 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
59 (opascal-debug-fontify-buffer): Remove.
60 (opascal-debug-mode-map): Adjust accordingly.
61
62 2013-04-25 Leo Liu <sdl.web@gmail.com>
63
64 Merge octave-mod.el and octave-inf.el into octave.el with some
65 cleanups.
66 * progmodes/octave.el: New file renamed from octave-mod.el.
67 * progmodes/octave-inf.el: Merged into octave.el.
68 * progmodes/octave-mod.el: Renamed to octave.el.
69
70 2013-04-25 Tassilo Horn <tsdh@gnu.org>
71
72 * textmodes/reftex-vars.el
73 (reftex-label-ignored-macros-and-environments): New defcustom.
74
75 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
76
77 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
80 (smie-indent-keyword): Improve the check to ensure that the next
81 comment is really on the same line.
82 (smie-indent-comment): Don't align with a subsequent closer (or eob).
83
84 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
85 semi-colons if the line is not otherwise empty (bug#14218).
86
87 2013-04-25 Glenn Morris <rgm@gnu.org>
88
89 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
90
91 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * progmodes/opascal.el (opascal-set-token-property): Rename from
94 opascal-set-text-properties and only set `token' (bug#14134).
95 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
96 (opascal-literal-text-properties): Remove.
97 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
98 Adjust callers.
99
100 2013-04-24 Reuben Thomas <rrt@sc3d.org>
101
102 * textmodes/remember.el (remember-handler-functions): Add an
103 option for a new handler `remember-store-in-files'.
104 (remember-data-directory, remember-directory-file-name-format):
105 New options.
106 (remember-store-in-files): New function to store remember notes
107 as separate files within a directory.
108
109 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
110
111 * progmodes/compile.el (compilation-next-error-function):
112 Pass "formats" to compilation-find-file (bug#11777).
113
114 2013-04-24 Glenn Morris <rgm@gnu.org>
115
116 * vc/vc-bzr.el (vc-bzr-print-log):
117 * vc/vc-hg.el (vc-hg-print-log):
118 * vc/vc-svn.el (vc-svn-print-log):
119 Fix START-REVISION with LIMIT != 1. (Bug#14168)
120
121 * vc/vc-bzr.el (vc-bzr-print-log):
122 * vc/vc-cvs.el (vc-cvs-print-log):
123 * vc/vc-git.el (vc-git-print-log):
124 * vc/vc-hg.el (vc-hg-print-log):
125 * vc/vc-mtn.el (vc-mtn-print-log):
126 * vc/vc-rcs.el (vc-rcs-print-log):
127 * vc/vc-sccs.el (vc-sccs-print-log):
128 * vc/vc-svn.el (vc-svn-print-log):
129 * vc/vc.el (vc-print-log-internal): Doc fixes.
130
131 2013-04-23 Glenn Morris <rgm@gnu.org>
132
133 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
134 Remove venerable code attempting to avoid substitute-command-keys.
135
136 2013-04-23 Tassilo Horn <tsdh@gnu.org>
137
138 * textmodes/reftex-vars.el (reftex-label-regexps):
139 Call `reftex-compile-variables' after changes to this variable.
140
141 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
144 Use lexical-binding.
145 (jit-lock-force-redisplay): Use markers, check buffer's continued
146 existence and beware narrowed buffers.
147 (jit-lock-fontify-now): Adjust call accordingly.
148
149 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
152 to avoid misleading the user.
153
154 2013-04-22 Leo Liu <sdl.web@gmail.com>
155
156 * info-look.el: Prefer latex2e.info. (Bug#14240)
157
158 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
159
160 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
161
162 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
163 * net/tramp.el (tramp-call-process): ... here
164 (tramp-set-completion-function, tramp-parse-putty):
165 * net/tramp-adb.el (tramp-adb-execute-adb-command):
166 * net/tramp-gvfs.el (tramp-gvfs-send-command):
167 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
168 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
169 (tramp-call-local-coding-command): Use `tramp-call-process'
170 instead of `tramp-compat-call-process'.
171
172 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
173 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
174 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
175 (tramp-find-inline-compress):Improve traces.
176 (tramp-maybe-send-script): Check for Perl binary.
177 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
178
179 2013-04-22 Daiki Ueno <ueno@gnu.org>
180
181 * epg.el (epg-context-pinentry-mode): New function.
182 (epg-context-set-pinentry-mode): New function.
183 (epg--start): Pass --pinentry-mode option to gpg command.
184
185 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
186
187 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
188 `comint-dynamic-complete' is obsolete since 24.1, replaced by
189 `completion-at-point'. (Bug#13774)
190
191 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
192 default key binding for `describe-distribution' has been moved to
193 `C-h C-o'. (Bug#13970)
194
195 2013-04-21 Glenn Morris <rgm@gnu.org>
196
197 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
198 Add doc strings.
199 (vc-print-log): Clarify interactive prompt.
200
201 2013-04-20 Glenn Morris <rgm@gnu.org>
202
203 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
204 No longer include timestamp etc information.
205
206 2013-04-20 Roland Winkler <winkler@gnu.org>
207
208 * faces.el (read-face-name): Bug fix, return just one face if arg
209 multiple is nil. (Bug#14209)
210
211 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
214 (remove-function): Autoload.
215
216 * comint.el (comint-redirect-original-filter-function): Remove.
217 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
218 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
219 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
220 * progmodes/prolog.el (prolog-consult-compile):
221 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
222 Use add/remove-function instead.
223 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
224 (gud-tooltip-process-output, gud-tooltip-tips):
225 Use add/remove-function instead.
226 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
227 (scheme-interaction-mode, exit-scheme-interaction-mode):
228 Use add/remove-function instead.
229
230 * vc/vc-dispatcher.el: Use lexical-binding.
231 (vc--process-sentinel): Rename from vc-process-sentinel.
232 Change last arg to be the code to run. Don't use vc-previous-sentinel
233 and vc-sentinel-commands any more.
234 (vc-exec-after): Allow code to be a function. Use add/remove-function.
235 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
236
237 2013-04-19 Masatake YAMATO <yamato@redhat.com>
238
239 * progmodes/sh-script.el (sh-imenu-generic-expression):
240 Handle function names with a single character. (Bug#14111)
241
242 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
243
244 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
245 for subroutines defined in an eval (bug#14182).
246
247 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
248
249 * bookmark.el (bookmark-completing-read): Improve handling of empty
250 string (bug#14176).
251
252 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
253
254 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
255
256 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
257
258 New faster Imenu implementation (bug#14058).
259 * progmodes/python.el:
260 (python-imenu-prev-index-position):
261 (python-imenu-format-item-label-function)
262 (python-imenu-format-parent-item-label-function)
263 (python-imenu-format-parent-item-jump-label-function):
264 New vars.
265 (python-imenu-format-item-label)
266 (python-imenu-format-parent-item-label)
267 (python-imenu-format-parent-item-jump-label)
268 (python-imenu--put-parent, python-imenu--build-tree)
269 (python-imenu-create-index, python-imenu-create-flat-index)
270 (python-util-popn): New functions.
271 (python-mode): Set imenu-create-index-function to
272 python-imenu-create-index.
273
274 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * winner.el (winner-active-region): Use region-active-p, activate-mark
277 and deactivate-mark (bug#14225).
278
279 * simple.el (deactivate-mark): Don't inline it.
280
281 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
282
283 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
284
285 2013-04-18 Tassilo Horn <tsdh@gnu.org>
286
287 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
288 file extensions from the archive-mode entry in order to prefer
289 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
290
291 2013-04-18 Leo Liu <sdl.web@gmail.com>
292
293 * bindings.el (help-event-list): Add ?\?.
294
295 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * subr.el (with-wrapper-hook): Declare obsolete.
298 * simple.el (filter-buffer-substring-function): New hook.
299 (filter-buffer-substring): Use it.
300 (filter-buffer-substring-functions): Mark obsolete.
301 * minibuffer.el (completion-in-region-function): New hook.
302 (completion-in-region): Use it.
303 (completion-in-region-functions): Mark obsolete.
304 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
305 * abbrev.el (abbrev-expand-function): New hook.
306 (expand-abbrev): Use it.
307 (abbrev-expand-functions): Mark obsolete.
308 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
309 and :filter-return.
310
311 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
312
313 * progmodes/python.el (python-nav--syntactically): Fix cornercases
314 and do not care about match data.
315
316 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
319 completion tables when completing error conditions and
320 `declare' arguments.
321 (lisp-complete-symbol, field-complete): Mark as obsolete.
322 (check-parens): Unmatched parens are user errors.
323 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
324
325 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
326
327 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
328 command changed buffer (ie. `flyspell-pre-buffer' is not current
329 buffer), which prevents making decisions based on invalid value of
330 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
331 cause an error when `flyspell-pre-point' was nil after switching
332 buffers.
333 (flyspell-post-command-hook): No longer needs to change buffers when
334 checking pre-word. While at it remove unnecessary progn.
335
336 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
337
338 * textmodes/ispell.el (ispell-add-per-file-word-list):
339 Fix `flyspell-correct-word-before-point' error when accepting
340 words and `coment-padding' is an integer by using
341 `comment-normalize-vars' (Bug #14214).
342
343 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
344
345 New defun movement commands.
346 * progmodes/python.el (python-nav--syntactically)
347 (python-nav--forward-defun, python-nav-backward-defun)
348 (python-nav-forward-defun): New functions.
349
350 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
351
352 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
353 (python-syntax-context): Use named compiler-macro for backwards
354 compatibility with Emacs 24.x.
355
356 2013-04-17 Leo Liu <sdl.web@gmail.com>
357
358 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
359 octave-hide-process-buffer.
360
361 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
364 (bug#14216).
365
366 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
367
368 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
369 Fix adjustment of offset when receiving incomplete responses from GDB
370 (bug#14129).
371
372 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
375 python-mode-abbrev-table.
376 (python-skeleton-define): Adjust accordingly.
377 (python-mode-abbrev-table): New table that inherits from it so that
378 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
379
380 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
381 (abbrev-symbol): Use it.
382 (abbrev--before-point): Use it since we already handle inheritance.
383
384 2013-04-16 Leo Liu <sdl.web@gmail.com>
385
386 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
387 binding to info-lookup-symbol.
388
389 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
390
391 * minibuffer.el (completion--twq-all):
392 * term/ns-win.el (ns-initialize-window-system):
393 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
394
395 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
398 global bindings.
399
400 * doc-view.el (doc-view-start-process): Handle url-handler directories.
401
402 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
403
404 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
405 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
406 to nil.
407 (ruby-end-of-defun): Remove the unused arg, change the docstring
408 to reflect that this function is only used as the value of
409 `end-of-defun-function'.
410 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
411 to reflect an earlier change that beginning/end-of-defun functions
412 jump between methods in a class definition, as well as top-level
413 functions.
414
415 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * minibuffer.el (minibuffer-complete): Don't just scroll
418 a *Completions* that's been iconified.
419 (minibuffer-force-complete): Make sure repetitions do cycle when going
420 through completion-in-region -> minibuffer-complete.
421
422 2013-04-15 Alan Mackenzie <acm@muc.de>
423
424 Correct the placement of c-cpp-delimiters when there're #s not at
425 col 0.
426
427 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
428 place a submatch around the #.
429 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
430 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
431 on the #, not BOL.
432
433 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * emacs-lisp/nadvice.el: Properly test names when adding advice.
436 (advice--member-p): New arg `name'.
437 (advice--add-function, advice-member-p): Use it (bug#14202).
438
439 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
440
441 Reformulate java imenu-generic-expression.
442 The old expression contained ill formed regexps.
443
444 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
445 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
446 (cc-imenu-java-method-arg-regexp): New defconsts.
447 (cc-imenu-java-build-type-args-regex): New defun.
448 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
449 handling of spaces in the regexp.
450
451 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
452
453 * textmodes/ispell.el (ispell-command-loop): Remove
454 flyspell highlight of a word when ispell accepts it (bug #14178).
455
456 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
457
458 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
459 uses code from the previous `ange-ftp-run-real-handler'.
460 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
461 only in case that function exist. This is needed for proper
462 unloading of Tramp.
463
464 2013-04-15 Tassilo Horn <tsdh@gnu.org>
465
466 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
467
468 * textmodes/reftex.el (reftex-compile-variables): Use it.
469
470 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * files.el (normal-mode): Only use default major-mode if no other mode
473 was specified.
474
475 * emacs-lisp/trace.el (trace-values): New function.
476
477 * files.el: Allow : in local variables (bug#14089).
478 (hack-local-variable-regexp): New var.
479 (hack-local-variables-prop-line, hack-local-variables): Use it.
480
481 2013-04-13 Roland Winkler <winkler@gnu.org>
482
483 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
484 data before it gets modified by bibtex-beginning-of-entry.
485
486 2013-04-13 Roland Winkler <winkler@gnu.org>
487
488 * textmodes/bibtex.el (bibtex-url): Doc fix.
489
490 2013-04-13 Roland Winkler <winkler@gnu.org>
491
492 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
493 does not visit a BibTeX file, exclude it from the list of buffers
494 returned by bibtex-initialize.
495
496 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
497
498 * window.el (split-window): Remove interactive form, since as a
499 command this function is a special case of split-window-below.
500 Correct doc string.
501
502 2013-04-12 Roland Winkler <winkler@gnu.org>
503
504 * faces.el (read-face-name): Do not override value of arg default.
505 Allow single faces and strings as default values. Remove those
506 elements from return value that are not faces.
507 (describe-face): Simplify.
508 (face-at-point): New optional args thing and multiple so that this
509 function can provide the same functionality previously provided by
510 read-face-name.
511 (make-face-bold, make-face-unbold, make-face-italic)
512 (make-face-unitalic, make-face-bold-italic, invert-face)
513 (modify-face, read-face-and-attribute): Use face-at-point.
514
515 * cus-edit.el (customize-face, customize-face-other-window)
516 * cus-theme.el (custom-theme-add-face)
517 * face-remap.el (buffer-face-set)
518 * facemenu.el (facemenu-set-face): Use face-at-point.
519
520 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
521
522 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
523
524 2013-04-10 Tassilo Horn <tsdh@gnu.org>
525
526 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
527 off leading { and trailing } from field values.
528
529 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * emacs-lisp/timer.el (timer--check): New function.
532 (timer--time, timer-set-function, timer-event-handler): Use it.
533 (timer-set-idle-time): Simplify.
534 (timer--activate): CSE.
535 (timer-event-handler): Give more info in error message.
536 (internal-timer-start-idle): New function, moved from C.
537
538 * mpc.el (mpc-proc): Add `restart' argument.
539 (mpc-proc-cmd): Use it.
540 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
541 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
542 less often.
543
544 2013-04-10 Masatake YAMATO <yamato@redhat.com>
545
546 * progmodes/sh-script.el: Implement `sh-mode' own
547 `add-log-current-defun-function' (bug#14112).
548 (sh-current-defun-name): New function.
549 (sh-mode): Use the function.
550
551 2013-04-09 Bastien Guerry <bzg@gnu.org>
552
553 * simple.el (choose-completion-string): Fix docstring (bug#14163).
554
555 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
558
559 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
560 timer (bug#14156).
561
562 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
563
564 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
565 declaration.
566
567 2013-04-07 Leo Liu <sdl.web@gmail.com>
568
569 * pcmpl-x.el: New file.
570
571 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
572
573 Do not set x-display-name until X connection is established.
574 This is needed to prevent from weird situation described at
575 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
576 * frame.el (make-frame): Set x-display-name after call to
577 window system initialization function, not before.
578 * term/x-win.el (x-initialize-window-system): Add optional
579 display argument and use it.
580 * term/w32-win.el (w32-initialize-window-system):
581 * term/ns-win.el (ns-initialize-window-system):
582 * term/pc-win.el (msdos-initialize-window-system):
583 Add compatible optional display argument.
584
585 2013-04-06 Eli Zaretskii <eliz@gnu.org>
586
587 * files.el (normal-backup-enable-predicate): On MS-Windows and
588 MS-DOS compare truenames of temporary-file-directory and of the
589 file, so that 8+3 aliases (usually found in $TEMP on Windows)
590 don't fail comparison by compare-strings. Also, compare file
591 names case-insensitively on MS-Windows and MS-DOS.
592
593 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
596 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
597
598 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
599
600 * whitespace.el (whitespace-color-on, whitespace-color-off):
601 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
602
603 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
604
605 * ispell.el (ispell-set-spellchecker-params):
606 Really set `ispell-args' for all equivs.
607
608 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * ido.el (ido-completions): Use extra elements of ido-decorations
611 (bug#14143).
612 (ido-decorations): Update docstring.
613
614 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
615
616 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
617 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
618 nil during initialization, in order not to miss changes since the
619 file was opened. (Bug#14140)
620
621 2013-04-05 Leo Liu <sdl.web@gmail.com>
622
623 * kmacro.el (kmacro-call-macro): Fix bug#14135.
624
625 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
626
627 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
628
629 2013-04-04 Glenn Morris <rgm@gnu.org>
630
631 * electric.el (electric-pair-inhibit-predicate): Add :version.
632
633 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
636 when a package is required several times (bug#14082).
637
638 2013-04-04 Roland Winkler <winkler@gnu.org>
639
640 * faces.el (read-face-name): Behave as promised by the docstring.
641 Assume that arg default is a list of faces.
642 (describe-face): Call read-face-name with list of default faces.
643
644 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
645
646 * bookmark.el: Fix deletion of bookmarks (bug#13972).
647 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
648 (bookmark-bmenu-execute-deletions): Only skip first line if it's
649 the header.
650 (bookmark-exit-hook-internal): Save even if list is empty.
651
652 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
653
654 * emacs-lisp/package.el (package-pinned-packages): New var.
655 (package--add-to-archive-contents): Obey it (bug#14118).
656
657 2013-04-03 Alan Mackenzie <acm@muc.de>
658
659 Handle `parse-partial-sexp' landing inside a comment opener
660 (Bug#13244). Also adapt to the new values of element 7 of a parse
661 state.
662
663 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
664 parameter `not-in-delimiter'. Handle being inside comment opener.
665 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
666 character in case we're typing a '*' after a '/'.
667 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
668 instead by passing the parameter to c-state-pp-to-literal.
669
670 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
671 for elt. 7 of a parse state.
672
673 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
674
675 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
676 * international/latin1-disp.el, international/mule-util.el:
677 * language/cyril-util.el, language/european.el, language/ind-util.el:
678 * language/lao-util.el, language/thai.el, language/tibet-util.el:
679 * language/tibetan.el, language/viet-util.el:
680 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
681
682 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
685 (electric-pair-post-self-insert-function): Use it.
686 (electric-pair-default-inhibit): New function, extracted from
687 electric-pair-post-self-insert-function.
688
689 2013-03-31 Roland Winkler <winkler@gnu.org>
690
691 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
692
693 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
696
697 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
698
699 Un-indent after "pass" and "return" statements (Bug#13888)
700 * progmodes/python.el (python-indent-block-enders): New var.
701 (python-indent-calculate-indentation): Use it.
702
703 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
704
705 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
706 defun. Defining it as defalias could introduce too eager
707 byte-compiler optimization. (Bug#14030)
708
709 2013-03-30 Chong Yidong <cyd@gnu.org>
710
711 * iswitchb.el (iswitchb-read-buffer): Fix typo.
712
713 2013-03-30 Leo Liu <sdl.web@gmail.com>
714
715 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
716 (kmacro-execute-from-register): Pass the keyboard macro to
717 kmacro-call-macro or repeating won't work correctly.
718
719 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
720
721 * progmodes/subword.el: Back to using `forward-symbol'.
722
723 * subr.el (forward-whitespace, forward-symbol)
724 (forward-same-syntax): Move from thingatpt.el.
725
726 2013-03-29 Leo Liu <sdl.web@gmail.com>
727
728 * kmacro.el (kmacro-to-register): New command.
729 (kmacro-execute-from-register): New function.
730 (kmacro-keymap): Bind to 'x'. (Bug#14071)
731
732 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * mpc.el: Use defvar-local and setq-local.
735 (mpc--proc-connect): Connection failures are not bugs.
736 (mpc-mode-map): `follow-link' only applies to the buffer's content.
737 (mpc-volume-map): Bind to the up-events.
738
739 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
740
741 * progmodes/subword.el (superword-mode): Use `forward-sexp'
742 instead of `forward-symbol'.
743
744 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
747 (edebug--recursive-edit): Use it.
748 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
749 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
750
751 2013-03-28 Leo Liu <sdl.web@gmail.com>
752
753 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
754
755 2013-03-27 Eli Zaretskii <eliz@gnu.org>
756
757 * facemenu.el (list-colors-callback): New defvar.
758 (list-colors-redisplay): New function.
759 (list-colors-display): Install list-colors-redisplay as the
760 revert-buffer-function. (Bug#14063)
761
762 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
765 and suffixes don't overlap (bug#14061).
766
767 * case-table.el: Use lexical-binding.
768 (case-table-get-table): New function.
769 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
770
771 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
772
773 * progmodes/subword.el: Add `superword-mode' to do word motion
774 over symbol_words (parallels and leverages `subword-mode' which
775 does word motion inside MixedCaseWords).
776
777 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
778
779 * eshell/em-unix.el: Move su and sudo to...
780 * eshell/em-tramp.el: ...Eshell tramp module.
781
782 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
785 Change return value to be a sexp. Delay `get-buffer' to after
786 restoring the desktop (bug#13951).
787
788 2013-03-26 Leo Liu <sdl.web@gmail.com>
789
790 * register.el: Move semantic tag handling back to
791 cedet/semantic/senator.el. (Bug#14052)
792
793 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
796 into the prompt either (bug#13963).
797
798 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
801 part of "(error-foo)".
802
803 2013-03-24 Juri Linkov <juri@jurta.org>
804
805 * replace.el (list-matching-lines-prefix-face): New defcustom.
806 (occur-1): Pass `list-matching-lines-prefix-face' to the function
807 `occur-engine' if `face-differs-from-default-p' returns t.
808 (occur-engine): Add `,' inside backquote construct to evaluate
809 `prefix-face'. Propertize the prefix with the `prefix-face' face.
810 Pass `prefix-face' to the functions `occur-context-lines' and
811 `occur-engine-add-prefix'.
812 (occur-engine-add-prefix, occur-context-lines): Add optional arg
813 `prefix-face' and propertize the prefix with `prefix-face'.
814 (Bug#14017)
815
816 2013-03-24 Leo Liu <sdl.web@gmail.com>
817
818 * nxml/rng-valid.el (rng-validate-while-idle)
819 (rng-validate-quick-while-idle): Guard against deleted buffer.
820 (Bug#13999)
821
822 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
823 is the last entry in kill-buffer-hook.
824
825 * files.el (kill-buffer-hook): Doc fix.
826
827 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
828
829 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
830 Make it safe-local.
831
832 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
833
834 2013-03-23 Leo Liu <sdl.web@gmail.com>
835
836 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
837 Remove.
838
839 * nxml/rng-valid.el (rng-validate-mode)
840 (rng-after-change-function, rng-do-some-validation):
841 * nxml/rng-maint.el (rng-validate-buffer):
842 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
843 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
844 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
845 (nxml-extend-after-change-region): Use with-silent-modifications.
846
847 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
848 timer-idle-list.
849
850 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
851 (rng-next-error-1, rng-previous-error-1): Do not let-bind
852 timer-idle-list. (Bug#13999)
853
854 2013-03-23 Juri Linkov <juri@jurta.org>
855
856 * info.el (info-index-match): New face.
857 (Info-index, Info-apropos-matches): Add a nested subgroup to the
858 main pattern and add text properties with the new face to matches
859 in index entries relative to the beginning of the index entry.
860 (Bug#14015)
861
862 2013-03-21 Eric Ludlam <zappo@gnu.org>
863
864 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
865 Inhibit read only while inserting objects.
866
867 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
868
869 * progmodes/cfengine.el: Update docs to mention
870 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
871 symbol motion. Remove "_" from the word syntax.
872
873 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
874
875 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
876 syntax for both `cfengine2-mode' and `cfengine3-mode'.
877
878 2013-03-20 Juri Linkov <juri@jurta.org>
879
880 * info.el (Info-next-reference-or-link)
881 (Info-prev-reference-or-link): New functions.
882 (Info-next-reference, Info-prev-reference): Use them.
883 (Info-try-follow-nearest-node): Handle footnote navigation.
884 (Info-fontify-node): Fontify footnotes. (Bug#13989)
885
886 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
889 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
890
891 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
892
893 Suppress unnecessary non-ASCII chatter during build process.
894 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
895 (batch-skkdic-convert): Suppress most of the chatter.
896 It's not needed so much now that machines are faster,
897 and its non-ASCII component was confusing; see Dmitry Gutov in
898 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
899
900 2013-03-20 Leo Liu <sdl.web@gmail.com>
901
902 * ido.el (ido-chop): Fix bug#10994.
903
904 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
905
906 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
907 Remove vars.
908 (whitespace-color-on, whitespace-color-off):
909 Use `font-lock-fontify-buffer' (Bug#13817).
910
911 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
914 remapping in mode-line.
915 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
916
917 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
918
919 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
920 value for `whitespace-line' face (Bug#13875).
921 (whitespace-font-lock-keywords): Change description.
922 (whitespace-color-on): Don't save `font-lock-keywords' value, save
923 the constructed keywords instead.
924 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
925
926 2013-03-19 Leo Liu <sdl.web@gmail.com>
927
928 * progmodes/compile.el (compilation-display-error): New command.
929 (compilation-mode-map, compilation-minor-mode-map): Bind it to
930 C-o. (Bug#13992)
931
932 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
933
934 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
935
936 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
937
938 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
939
940 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
941
942 * net/tramp-compat.el (tramp-compat-user-error): New defun.
943
944 * net/tramp-adb.el (tramp-adb-handle-shell-command):
945 * net/tramp-gvfs.el (top):
946 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
947 (tramp-handle-shell-command): Use it.
948 (tramp-dissect-file-name): Raise an error when hostname is a
949 method name, and neither method nor user is specified.
950
951 * net/trampver.el: Update release number.
952
953 2013-03-18 Leo Liu <sdl.web@gmail.com>
954
955 Make sure eldoc can be turned off properly.
956 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
957 eldoc-mode.
958 (eldoc-display-message-p): Revert last change.
959 (eldoc-display-message-no-interference-p)
960 (eldoc-print-current-symbol-info): Tweak.
961
962 2013-03-18 Tassilo Horn <tsdh@gnu.org>
963
964 * doc-view.el (doc-view-new-window-function): Check the new window
965 overlay's display property instead the char property of the
966 buffer's first char. Use `with-selected-window' instead of
967 `save-window-excursion' with `select-window'.
968 (doc-view-document->bitmap): Check the current doc-view overlay's
969 display property instead the char property of the buffer's first char.
970
971 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
972
973 Automate the build of ja-dic.el (Bug#13984).
974 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
975 from the input, rather than assume that it's been done for us by the
976 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
977 the current date into a ja-dic.el comment, as that complicates
978 regression testing.
979
980 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * whitespace.el: Fix double evaluation.
983 (whitespace-space, whitespace-hspace, whitespace-tab)
984 (whitespace-newline, whitespace-trailing, whitespace-line)
985 (whitespace-space-before-tab, whitespace-indentation)
986 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
987 obsolete defvars.
988 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
989 (whitespace-color-on): Use a single font-lock-add-keywords call.
990 Fix double-evaluation of face variables.
991
992 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
993
994 * net/tramp-adb.el (tramp-adb-parse-device-names):
995 Use `start-process' instead of `call-process'. Otherwise, the
996 function might be blocked under MS Windows. (Bug#13299)
997
998 2013-03-17 Leo Liu <sdl.web@gmail.com>
999
1000 Extend eldoc to display info in the mode-line. (Bug#13978)
1001 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1002 (eldoc-mode-line-string): New variable.
1003 (eldoc-minibuffer-message): New function.
1004 (eldoc-message-function): New variable.
1005 (eldoc-message): Use it.
1006 (eldoc-display-message-p)
1007 (eldoc-display-message-no-interference-p):
1008 Support eldoc-post-insert-mode.
1009
1010 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1011 (eval-expression): Run it.
1012
1013 2013-03-17 Roland Winkler <winkler@gnu.org>
1014
1015 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1016 strings in the list of return values.
1017
1018 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1019
1020 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1021 radix before checking for HMS forms.
1022
1023 2013-03-16 Leo Liu <sdl.web@gmail.com>
1024
1025 * progmodes/scheme.el: Add indentation and font-locking for λ.
1026 (Bug#13975)
1027
1028 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1031 token before point (bug#13942).
1032
1033 2013-03-16 Leo Liu <sdl.web@gmail.com>
1034
1035 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1036
1037 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1038
1039 * startup.el (command-line-normalize-file-name): Fix handling of
1040 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1041 <xfq.free@gmail.com> in
1042 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1043
1044 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1045
1046 Sync with Tramp 2.2.7.
1047
1048 * net/trampver.el: Update release number.
1049
1050 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1051
1052 * doc-view.el Fix bug#13887.
1053 (doc-view-insert-image): Don't modify overlay associated to
1054 non-live windows, and implement horizontal centering of image in
1055 case it's smaller than the window.
1056 (doc-view-new-window-function): Force redisplay of new windows on
1057 doc-view buffers.
1058
1059 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1060
1061 * saveplace.el (save-place-alist-to-file): Don't sort
1062 `save-place-alist', just pretty-print it (bug#13882).
1063
1064 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1065
1066 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1067 whether `default-file-name-coding-system' is bound. It isn't in
1068 XEmacs.
1069
1070 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1073 backquotes for `obsolete' (bug#13929).
1074
1075 * international/mule.el (find-auto-coding): Include file name in
1076 obsolescence warning (bug#13922).
1077
1078 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1079
1080 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1081 for CFEngine 3-specific indentation.
1082 (cfengine3-indent-line): Use it. Fix up category regex.
1083 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1084
1085 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * type-break.el (type-break-file-name):
1088 * textmodes/remember.el (remember-data-file):
1089 * strokes.el (strokes-file):
1090 * shadowfile.el (shadow-initialize):
1091 * saveplace.el (save-place-file):
1092 * ps-bdf.el (bdf-cache-file):
1093 * progmodes/idlwave.el (idlwave-config-directory):
1094 * net/quickurl.el (quickurl-url-file):
1095 * international/kkc.el (kkc-init-file-name):
1096 * ido.el (ido-save-directory-list-file):
1097 * emulation/viper.el (viper-custom-file-name):
1098 * emulation/vip.el (vip-startup-file):
1099 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1100 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1101
1102 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1103
1104 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1105 * language/thai-word.el: Switch to UTF-8.
1106
1107 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1110
1111 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1112
1113 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1114 Use with-current-buffer and don't move point.
1115 (net-utils-run-simple): Remove useless code.
1116 (net-utils-remove-ctl-m): Remove unused custom.
1117
1118 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1119
1120 * international/characters.el (glyphless-set-char-table-range): New fun.
1121 (update-glyphless-char-display): Use it (bug#13744).
1122
1123 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1124
1125 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1126 namespaces in the syntax, indent closer for hanging brace
1127 correctly, allow single-quote delimited 'strings', and make
1128 `cfengine3-mode' the default.
1129
1130 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1131
1132 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1133 Use lexical-binding. Fix up docstring according to conventions.
1134 (gdbmi-debug-mode): New var.
1135 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1136 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1137 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1138 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1139 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1140 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1141 (gdbmi-bnf-incomplete-record-result): New functions.
1142 (gdb-car<): Remove function.
1143 (gdbmi-record-list): Remove variable.
1144 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1145 (gdbmi-bnf-result-state-configs): New const.
1146 (gud-gdbmi-marker-filter): Rewrite.
1147 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1148 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1149 Add `token' argument.
1150 (gdb-done, gdb-error): New functions.
1151 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1152
1153 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * term/xterm.el (xterm--report-background-handler): Don't burp
1156 upon timeout.
1157 (xterm--version-handler): Extract from terminal-init-xterm.
1158 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1159 Allow multiple handlers.
1160 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1161
1162 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1163 (xterm--report-background-handler, xterm--query): New functions.
1164 (terminal-init-xterm): Use them.
1165
1166 2013-03-11 Michael R. Mauger <michael@mauger.com>
1167
1168 * progmodes/sql.el Version 3.2
1169 Please note that my address changed to <michael@mauger.com>;
1170 the <mmaug@yahoo.com> address remains active.
1171 (sql-connection-alist): Updates documentation to fix bug#13715.
1172 (sql-connect): Handle missing `sql-connection-alist' correctly.
1173 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1174 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1175 property.
1176 (sql-default-value): New function.
1177 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1178 values were not used.
1179 (sql-rename-buffer): Make sure alternate buffer name has no text
1180 properties.
1181 (sql-input-sender, sql-execute-feature): Fetch variable with
1182 `buffer-local-value' rather than `with-current-buffer'.
1183 (sql-*): Use #' function syntax consistently.
1184 (sql-*): Use message/error/user-error consistently.
1185
1186 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * xt-mouse.el (xterm-mouse-event-read): Remove.
1189 (xterm-mouse--read-event-sequence-1000)
1190 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1191
1192 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * term/xterm.el (xterm-function-map): Support format used with
1195 formatOtherKeys=1 (bug#13839).
1196
1197 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1198 (with-no-warnings): Use `declare'.
1199
1200 * whitespace.el (whitespace-enable-predicate): New variable.
1201 (whitespace-enable-predicate): Use it.
1202
1203 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1204 (comint-output-filter, comint-update-fence):
1205 Use with-silent-modifications.
1206
1207 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1208
1209 * replace.el (occur-read-regexp-defaults-function): New var.
1210 (occur-read-regexp-defaults): New defun.
1211 (occur-read-primary-args): Propagate above change (bug#13892).
1212
1213 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1216
1217 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1218
1219 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1220
1221 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1222 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1223 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1224 New defconst.
1225 (tramp-gvfs-file-name-handler-alist) [directory-files]
1226 [directory-files-and-attributes, file-exists-p, file-modes]:
1227 Use Tramp default handler.
1228 [file-acl, file-selinux-context, process-file, set-file-acl]:
1229 [set-file-modes, set-file-selinux-context, shell-command]:
1230 [start-file-process]: Remove handler.
1231 [verify-visited-file-modtime]: New handler.
1232 (tramp-gvfs-dbus-string-to-byte-array)
1233 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1234 calls of `dbus-string-to-byte-array' and
1235 `tramp-gvfs-dbus-byte-array-to-string'.
1236 (tramp-gvfs-handle-copy-file)
1237 (tramp-gvfs-handle-delete-directory)
1238 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1239 (tramp-gvfs-handle-file-directory-p)
1240 (tramp-gvfs-handle-file-executable-p)
1241 (tramp-gvfs-handle-file-name-all-completions)
1242 (tramp-gvfs-handle-file-readable-p)
1243 (tramp-gvfs-handle-file-writable-p)
1244 (tramp-gvfs-handle-insert-directory)
1245 (tramp-gvfs-handle-insert-file-contents)
1246 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1247 (tramp-gvfs-handle-set-visited-file-modtime)
1248 (tramp-gvfs-handle-write-region): Rewrite.
1249 (tramp-gvfs-handle-file-acl)
1250 (tramp-gvfs-handle-file-selinux-context)
1251 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1252 (tramp-gvfs-handle-set-file-modes)
1253 (tramp-gvfs-handle-set-file-selinux-context)
1254 (tramp-gvfs-handle-shell-command)
1255 (tramp-gvfs-handle-start-file-process)
1256 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1257 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1258 over the symlinks. Fix user handling.
1259 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1260 of the D-Bus signals.
1261 (tramp-gvfs-connection-mounted-p): Handle different names of the
1262 D-Bus methods.
1263 (tramp-gvfs-mount-spec-entry): New defun.
1264 (tramp-gvfs-mount-spec): Use it.
1265 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1266 there is a share name. Handle different names of the D-Bus
1267 signals and methods. Set connection properties needed for
1268 `tramp-check-cached-permissions'.
1269 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1270 Return t or nil.
1271
1272 * net/tramp.el (tramp-backtrace): Move up.
1273 (tramp-error): Dump a backtrace into the debug buffer when
1274 `tramp-verbose > 9.
1275 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1276 (tramp-file-mode-permissions, tramp-get-local-uid)
1277 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1278 tramp-sh.el.
1279
1280 * net/tramp-sh.el (tramp-file-mode-type-map)
1281 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1282 (tramp-file-mode-permissions, tramp-get-local-uid)
1283 (tramp-get-local-gid): Move to tramp.el.
1284
1285 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 Separate mouse-1-click-follows-link from mouse-drag-region.
1288 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1289 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1290 (mouse-drag-line, mouse-drag-track):
1291 Remove mouse-1-click-follows-link code.
1292 (mouse--remap-link-click-p): Remove.
1293
1294 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1295
1296 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1297 (hi-lock-read-regexp-defaults): New defun.
1298 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1299 (hi-lock-face-phrase-buffer): Propagate above change.
1300 Update docstring (bug#13892).
1301
1302 * subr.el (find-tag-default-as-regexp): New defun.
1303 * replace.el (read-regexp): Propagate above change.
1304
1305 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1306
1307 * calc/calc-units.el (calc-convert-units): Fix the way that default
1308 new units are stored.
1309
1310 2013-03-07 Matthias Meulien <orontee@gmail.com>
1311
1312 * bookmark.el: Define a face to highlight bookmark names in
1313 bookmark menu buffers, where the default is a bold face similarly
1314 to buffer names in buffer menu buffers.
1315 (bookmark-menu-bookmark): New face to highlight bookmark names.
1316 (bookmark-insert-location): Remove duplicated text property to
1317 conform to buffer list (see `list-buffers').
1318 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1319 `bookmark-menu-bookmark' to bookmark names.
1320
1321 2013-03-07 Matthias Meulien <orontee@gmail.com>
1322 Karl Fogel <kfogel@red-bean.com>
1323
1324 * bookmark.el: Display the bookmark list header similarly to the
1325 buffer list header (see `list-buffers'), where the default is now
1326 an immovable/immutable header line.
1327 (bookmark-bmenu-use-header-line): New variable.
1328 (bookmark-bmenu-inline-header-height): New name for
1329 `bookmark-bmenu-header-height', to avoid confusion with the code
1330 for the new immovable header. All references changed.
1331 (bookmark-bmenu-set-header): New function.
1332 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1333 Conditionalize header construction accordingly.
1334 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1335 the inline header height.
1336 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1337 Conditionalize the skipping of the inline header height.
1338
1339 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * progmodes/js.el (js--multi-line-declaration-indentation):
1342 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1343
1344 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1345
1346 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1347 Only propertize regexp when not inside a string (Bug#13885).
1348
1349 2013-03-06 Alan Mackenzie <acm@muc.de>
1350
1351 Correct the position of point in some line-up functions.
1352 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1353 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1354 point at column 0 rather than at a random place in the line.
1355
1356 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1357
1358 * net/tramp-compat.el (tramp-compat-delete-directory):
1359 Implement TRASH argument.
1360
1361 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 Keep pre-existing highlighting in completion candidates (Bug#13250).
1364 * minibuffer.el (completions-first-difference): State that the
1365 face is "added" in the docstring.
1366 (completions-common-part): Same. And don't inherit from default.
1367 (completion-hilit-commonality): Prepend 'completions-common-part
1368 and 'completion-first-difference faces to the 'face property,
1369 instead of replacing the value(s).
1370 (completion--insert-strings): Same with 'completions-annotations face.
1371 (completion-hilit-commonality): Use 'face instead of
1372 'font-lock-face, because it gets priority if the completion
1373 strings already have 'face set.
1374
1375 2013-03-04 Alan Mackenzie <acm@muc.de>
1376
1377 Replace `last-command-event' by `last-command-char' in XEmacs.
1378 * progmodes/cc-defs.el (c-last-command-char): New macro.
1379 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1380 (c-semi&comma-no-newlines-before-nonblanks)
1381 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1382 in place of `last-command-event'.
1383 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1384 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1385 (c-electric-paren, c-electric-continued-statement): Use the new
1386 macro in place of `last-command-event'.
1387
1388 2013-03-04 Glenn Morris <rgm@gnu.org>
1389
1390 * files.el (inhibit-local-variables-regexps):
1391 Add .diff and .patch. (Bug#13862)
1392
1393 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1394
1395 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1396 whether the "su" command is available on the device.
1397
1398 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1401 (tramp-adb-handle-process-file): Remove superfluous setting.
1402 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1403 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1404 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1405
1406 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1409 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1410 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1411 Use dict-key rather than dict-name for the error message.
1412
1413 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1414
1415 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1416 when reverting (bug#13831).
1417
1418 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1419
1420 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1421 Always expand affix-file before storing to protect against changed
1422 `default-directory'.
1423 (ispell-print-if-debug): Make sure message is printed at the end
1424 of the debug buffer.
1425
1426 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1427
1428 * net/tramp.el (tramp-obsolete-methods): New defconst.
1429 (tramp-warned-obsolete-methods): New defvar.
1430 (tramp-find-method): Check for obsolete methods. Map them to a
1431 replacement method if appropriate.
1432
1433 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1434 Remove methods.
1435 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1436 "ssh2" and "plink1".
1437
1438 2013-02-28 Dale Sedivec <dale@codefu.org>
1439
1440 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1441 Return valid syntax-table property value when converting
1442 quotes within text from string syntax to punctuation syntax (bug#13844).
1443
1444 2013-02-28 Juri Linkov <juri@jurta.org>
1445
1446 * dired-aux.el (dired-diff): If file at point is a backup file,
1447 use its original as the default value, and reverse the order
1448 of arguments to the `diff' call. Doc fix. (Bug#13772)
1449
1450 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1451
1452 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1453 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1454
1455 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1456
1457 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1458
1459 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1460 Ask hunspell about available and default dictionaries.
1461 (ispell-parse-hunspell-affix-file): Extract relevant info from
1462 hunspell affix file.
1463 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1464 `ispell-dictionary-alist' entry for given dictionary after info
1465 provided by `ispell-parse-hunspell-affix-file'.
1466 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1467 of parsed hunspell dicts and associated affix files.
1468 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1469 of parsed hunspell dicts and associated parameters.
1470 (ispell-set-spellchecker-params):
1471 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1472 previously done.
1473 (ispell-start-process):
1474 Call `ispell-hunspell-fill-dictionary-entry' for current
1475 dictionary if it is not initialized.
1476
1477 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * imenu.el: Comment nitpicks.
1480
1481 2013-02-28 Sam Steingold <sds@gnu.org>
1482
1483 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1484 See <http://stackoverflow.com/questions/14720205>.
1485
1486 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1487
1488 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1489 (net-utils-mode): Use it.
1490 (net-utils--revert-cmd): New var.
1491 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1492 (traceroute): Use net-utils-run-simple.
1493
1494 2013-02-28 Glenn Morris <rgm@gnu.org>
1495
1496 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1497
1498 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1501 (doc-view-fallback-mode): Remove overlays here.
1502 (doc-view-toggle-display): Instead of here. Don't throw away
1503 image-mode-winprops-alist.
1504 (doc-view-goto-page): Don't mess with hscroll.
1505
1506 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1507
1508 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1509 &optional (bug#13819).
1510
1511 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1512
1513 * net/tramp-adb.el (tramp-adb-parse-device-names)
1514 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1515
1516 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1517
1518 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1519 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1520 defined. POSIX environments fall back to the "C" locale then and
1521 emit a warning, which shall be suppressed.
1522
1523 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1526 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1527
1528 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1531
1532 2013-02-25 Juri Linkov <juri@jurta.org>
1533
1534 * replace.el (read-regexp): Let-bind `default' to the first
1535 element of `defaults' if it's a list, otherwise it should be
1536 a string or nil. Let-bind `suggestions' to `defaults' if it's
1537 a list, otherwise make a list with the string value. Doc fix.
1538 (Bug#13805)
1539
1540 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1541
1542 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1543 that match "\`\.#", to avoid compiling lock files, even if they
1544 are readable (as they are on MS-Windows).
1545
1546 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * files.el (basic-save-buffer): Remove redundant directory-creation.
1549
1550 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1551
1552 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1553 Add option to force `pi' to remain symbolic.
1554 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1555 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1556 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1557 derivatives, when necessary.
1558
1559 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1560
1561 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1562 (ps-mode-octal-region): Use string-make-unibyte.
1563
1564 2013-02-23 Glenn Morris <rgm@gnu.org>
1565
1566 * emulation/viper-cmd.el (viper-submit-report):
1567 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1568 * progmodes/vera-mode.el (vera-mode-help-address):
1569 * textmodes/artist.el (artist-maintainer-address):
1570 * textmodes/reftex.el (reftex-report-bug):
1571 * vc/ediff-util.el (ediff-submit-report):
1572 Add bug-gnu-emacs to bug report address.
1573
1574 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1575 Remove bug report entries.
1576 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1577
1578 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1579 (byte-compile-file, byte-compile-from-buffer):
1580 Use separate input/output buffers for each level of recursive
1581 byte-compile-file calls. (Bug#13787)
1582
1583 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1584
1585 * net/tramp.el (tramp-methods): Fix docstring.
1586 (tramp-ssh-controlmaster-options): Rename it from
1587 `tramp-ssh-controlmaster-template'. Return a string.
1588 (tramp-default-method): Adapt check for
1589 `tramp-ssh-controlmaster-options'.
1590
1591 * net/tramp-sh.el (tramp-methods):
1592 Replace `tramp-ssh-controlmaster-template' by "%c".
1593 (tramp-do-copy-or-rename-file-out-of-band)
1594 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1595 that it is applied for the first hop only.
1596
1597 2013-02-22 Juri Linkov <juri@jurta.org>
1598
1599 * isearch.el (isearch-lazy-highlight-new-loop):
1600 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1601 to `isearch-other-end' if it is not nil. (Bug#13402)
1602
1603 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1604 to `match-beg'.
1605
1606 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1607 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1608 and `isearch-error' to nil.
1609
1610 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1611
1612 * progmodes/python.el (python-info-current-defun):
1613 Enhance match-data cluttering prevention.
1614
1615 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1616
1617 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1618
1619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1620 Handle multibyte file names.
1621
1622 2013-02-22 Glenn Morris <rgm@gnu.org>
1623
1624 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1625 (sgml-transformation-function): Give it a :set function.
1626 (sgml-tag): Doc fix.
1627
1628 * cmuscheme.el (scheme-buffer):
1629 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1630 * progmodes/tcl.el (inferior-tcl-buffer):
1631 * textmodes/tex-mode.el (tex-command): Doc fixes.
1632
1633 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1634
1635 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1636
1637 2013-02-21 Bastien Guerry <bzg@gnu.org>
1638
1639 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1640
1641 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1642
1643 * progmodes/python.el (python-info-current-defun):
1644 Enhance match-data cluttering prevention.
1645
1646 2013-02-21 Glenn Morris <rgm@gnu.org>
1647
1648 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1649 loaded while outline-regexp is let bound. (Bug#9584)
1650
1651 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1652
1653 * progmodes/python.el (python-info-current-defun): Fix failed
1654 defun name retrieval because of unwanted match-data cluttering.
1655
1656 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1657
1658 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1659 defconst. Apply independent check for ControlPersist.
1660
1661 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1662 temporarily, via "env".
1663
1664 2013-02-21 Glenn Morris <rgm@gnu.org>
1665
1666 * info.el (Info-enable-edit): Remove.
1667 (Info-edit): Disable it rather than using Info-enable.
1668 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1669 (Info-cease-edit): Make editing of Info files obsolete.
1670
1671 * informat.el (Info-tagify):
1672 Handle buffers not visiting files. (Bug#13763)
1673
1674 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1675
1676 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1677
1678 2013-02-21 Glenn Morris <rgm@gnu.org>
1679
1680 * files.el (basic-save-buffer): Move check for existing parent
1681 directory after hooks. (Bug#13773)
1682
1683 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * simple.el (command-execute): Move from C. Add obsolete check.
1686 (extended-command-history): Move from C.
1687
1688 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1689
1690 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1691 (jka-compr-mode-alist-additions): Handle .txz suffix for
1692 XZ-compressed tar archives (bug#13770).
1693
1694 2013-02-20 Bastien Guerry <bzg@gnu.org>
1695
1696 * outline.el (outline-regexp, outline-heading-end-regexp):
1697 Make variables, not options (bug#13731).
1698
1699 2013-02-20 Glenn Morris <rgm@gnu.org>
1700
1701 * image.el (image-current-frame): Change from variable to function.
1702 (image-show-frame): Rename from image-nth-frame. Update callers.
1703 * image-mode.el (image-multi-frame): New variable.
1704 (image-mode-map, image-mode, image-goto-frame):
1705 Use image-multi-frame rather than image-current-frame.
1706 (image-mode, image-goto-frame): Use image-current-frame as
1707 function rather than as variable.
1708
1709 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1710 * emacs-lisp/cl-macs.el (cl--make-type-test)
1711 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1712
1713 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1714
1715 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1716 (tramp-get-file-property, tramp-set-file-property)
1717 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1718 (tramp-flush-file-property, tramp-flush-directory-property):
1719 Rename argument to KEY.
1720 (tramp-flush-connection-property): Simplify a little bit.
1721 (tramp-connection-property-p): New defun.
1722 (top): Reapply saved values only if there isn't a corresponding
1723 entry in `tramp-connection-properties'.
1724
1725 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1726
1727 * progmodes/python.el (python-indent-context):
1728 Fix python-info-line-ends-backslash-p call.
1729 (python-info-line-ends-backslash-p)
1730 (python-info-beginning-of-backslash): Respect line-number argument.
1731 (python-info-current-line-comment-p):
1732 Fix behavior when not at beginning-of-line.
1733 (python-util-position): Remove function.
1734 (python-util-goto-line): New function.
1735
1736 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1737
1738 * eshell/em-unix.el (eshell/su): Require tramp.
1739 (eshell/sudo): Require tramp. Remove now unnecessary check.
1740
1741 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1742 `tramp-current-connection' in order to avoid an error when several
1743 commands are invoked in a short time in eshell and friends.
1744
1745 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 Cleanup some of EIEIO's namespace.
1748 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1749 Use it to define all the class-* and object-* field accessors (renamed
1750 to eieio--class-* and eieio--object-*). Update all uses.
1751 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1752 class-num-slots and object-num-slots.
1753 (eieio--check-type): New macro.
1754 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1755 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1756 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1757 (object-assoc-list-safe): Use it.
1758 (eieio-defclass): Tighten regexp.
1759 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1760 Remove unreachable code.
1761 (object-class-fast): Declare obsolete.
1762 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1763 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1764 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1765 Rename from class-name, object-name, object-set-name-string,
1766 object-class, object-class-name, class-parents, class-children,
1767 class-precedence-list, class-parent; with obsolete alias.
1768 (class-of, class-direct-superclasses, class-direct-subclasses):
1769 Declare obsolete.
1770 (eieio-defmethod): Use `memq'; remove unreachable code.
1771 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1772 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1773 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1774
1775 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1776
1777 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1778 commentary.
1779
1780 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1781
1782 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1783 Use font-lock-keyword-face for macros and special forms (bug#8345).
1784
1785 2013-02-17 Didier Verna <didier@didierverna.net>
1786
1787 * net/network-stream.el (network-stream-open-starttls):
1788 Check that response to the starttls-command is non-nil. (Bug#13706)
1789
1790 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1793 Don't assume all identifier chars have syntax word.
1794 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1795 Remove bar-not-symbol. Adjust callers.
1796 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1797
1798 2013-02-17 Leo Liu <sdl.web@gmail.com>
1799
1800 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1801
1802 2013-02-17 Glenn Morris <rgm@gnu.org>
1803
1804 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1805
1806 * image-mode.el (image-mode-map): Add image-dired menu entry.
1807
1808 * image-dired.el (tumme): Make this alias obsolete.
1809
1810 2013-02-16 Glenn Morris <rgm@gnu.org>
1811
1812 * image.el (image-animated-types): Remove.
1813 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1814 (image-animated-p): Make obsolete alias.
1815 (image-animate, image-nth-frame, image-animate-timeout):
1816 Use image-multi-frame-p.
1817 (image-animate-timeout): If no delay, use image-default-frame-delay.
1818 * image-mode.el (image-mode, image-toggle-animation):
1819 Use image-multi-frame-p. (Bug#763, bug#10739)
1820 (image-mode): Adjust startup message for a multi-frame image.
1821
1822 * image-mode.el (image-mode-map): Give it a menu.
1823
1824 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1825
1826 * net/tramp-cache.el (tramp-connection-properties): New customer
1827 option.
1828 (tramp-get-connection-property): Use it.
1829
1830 * net/tramp-compat.el (top): Require 'trampver.
1831
1832 * net/tramp-sh.el (tramp-remote-process-environment):
1833 Set tramp-autoload cookie.
1834
1835 2013-02-16 Kevin Ryde <user42@zip.com.au>
1836
1837 * info-look.el (info-lookup-select-mode): If major-mode has no
1838 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1839
1840 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1841
1842 * replace.el (read-regexp): Tighten the regexp that matches tag.
1843 When tag is retrieved with `find-tag-default', use regexp that
1844 matches tag at point. Also update docstring (Bug#13687).
1845
1846 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1847
1848 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1849 add watch for the file, not its parent directory, since w32notify
1850 sets up the watch for the directory internally. (Bug#13725)
1851
1852 2013-02-16 Glenn Morris <rgm@gnu.org>
1853
1854 * image.el (image-default-frame-delay): New variable.
1855 (image-animated-p): Use image-default-frame-delay.
1856 (image-minimum-frame-delay): New constant.
1857 (image-animate-timeout): Use image-minimum-frame-delay.
1858
1859 * image.el (image-nth-frame): New, split from image-animate-timeout.
1860 (image-animate-timeout): Use image-nth-frame.
1861 * image-mode.el (image-goto-frame, image-next-frame)
1862 (image-previous-frame): New commands.
1863 (image-mode-map): Add new frame commands.
1864
1865 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1866
1867 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1868 If col-desc already has help-echo, use it. (Bug#13563)
1869
1870 2013-02-16 Glenn Morris <rgm@gnu.org>
1871
1872 * image.el (image-current-frame): New variable.
1873 (image-animate-timeout): Set image-current-frame.
1874 * image-mode.el (image-mode): For animated images,
1875 display a frame counter via mode-line-process.
1876
1877 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1878
1879 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1882
1883 2013-02-15 Alan Mackenzie <acm@muc.de>
1884
1885 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1886 global minor mode has been enabled, call the minor mode function
1887 for a new buffer once only, after the major mode hook, whilst
1888 allowing that hook explicitly to disable the minor mode.
1889 (MODE-disable-in-buffer): New (generated) function.
1890 (disable-MODE): New (generated) buffer local variable.
1891
1892 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1893
1894 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1895 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1896 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1897 `ido-next-match' and `ido-prev-match' resply.
1898 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1899 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1900 `icomplete-backward-completions' (Bug#13708).
1901
1902 2013-02-15 Glenn Morris <rgm@gnu.org>
1903
1904 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1905
1906 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1909 (goto-address-fontify-region): Use them instead of narrowing, so
1910 syntax-ppss has access to the whole buffer.
1911
1912 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1913
1914 * progmodes/python.el: Explain how to restore "cc-mode"-like
1915 forward-sexp movement in header documentation (Bug#13642).
1916 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1917 comments and strings (GH bug 114).
1918
1919 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1920
1921 * progmodes/python.el (python-info-current-defun): Fix current
1922 defun detection (Bug#13618).
1923
1924 2013-02-15 Chong Yidong <cyd@gnu.org>
1925
1926 * xml.el (xml-parse-string): Fix typo in handling of bad character
1927 references.
1928
1929 2013-02-15 Glenn Morris <rgm@gnu.org>
1930
1931 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1932
1933 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * net/tramp.el (tramp-debug-message):
1936 Add `tramp-condition-case-unless-debug'.
1937 (tramp-debug-on-error): New defvar.
1938 (tramp-condition-case-unless-debug): New defun.
1939 (tramp-file-name-handler): Use it.
1940
1941 2013-02-14 Juri Linkov <juri@jurta.org>
1942
1943 * info.el (Info-isearch-filter): Treat non-nil values of
1944 `search-invisible' including its default value `open'
1945 like the value `t' to match hidden text. (Bug#13402)
1946
1947 2013-02-14 Glenn Morris <rgm@gnu.org>
1948
1949 * help-fns.el (find-lisp-object-file-name): Give special treatment
1950 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1951
1952 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1953
1954 * net/quickurl.el (quickurl-save-urls):
1955 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1956
1957 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1958
1959 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1960 depth for unfinished percent literal. Not using it in the caller.
1961 (ruby-move-to-block): Jump over multiline literals of all types,
1962 ignoring code-looking contents inside them.
1963 (ruby-add-log-current-method): Improve performance at the expense
1964 of accuracy. `ruby-block-contains-point' is relatively slow, so
1965 only use it for method and singleton class blocks.
1966
1967 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1968
1969 Use ControlMaster where applicable. (Bug#13677)
1970
1971 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1972 replacing `tramp-detect-ssh-controlmaster'.
1973 (tramp-default-method): Use it.
1974
1975 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1976 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1977 arguments.
1978 [scpc, rsyncc]: Remove methods.
1979 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1980 and "ssh2_old".
1981 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1982 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1983
1984 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * emacs-lisp/package.el (package--initialized): Move before first use.
1987
1988 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1989
1990 * icomplete.el (icomplete-hide-common-prefix): New user option.
1991 (icomplete-first-match): New face.
1992 (icomplete-completions): Correct handling of "complete but not
1993 unique" (Bug#12638).
1994
1995 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1996
1997 * descr-text.el (describe-char): Display the script (bug#13698).
1998
1999 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * tmm.el: Use lexical-binding and current-active-maps.
2002 (tmm-menubar): Use map-keymap and pcase.
2003 (tmm--completion-table): New function.
2004 (tmm-prompt): Use it to fix the menu order.
2005 (tmm-get-keybind): Use current-active-maps.
2006
2007 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2008
2009 Add dired-hide-details-mode. (Bug#6799)
2010
2011 * locate.el (locate-mode): Set parent mode property to dired-mode.
2012
2013 * find-dired.el (find-dired): Call dired-insert-set-properties on
2014 initial information line. Set process mark on end of buffer.
2015 (find-dired-sentinel):
2016 Call dired-insert-set-properties on summary.
2017
2018 * dired.el (dired-hide-details-hide-symlink-targets)
2019 (dired-hide-details-hide-information-lines): New options.
2020 (dired-insert-directory):
2021 Set properties after final treatment of output.
2022 (dired-insert-set-properties):
2023 Set dired-hide-details-* properties.
2024 (dired-mode-map): Bind dired-hide-details-mode.
2025 (dired-mode): Set buffer-invisibility-spec to a list.
2026 (dired-next-line): Skip hidden lines.
2027 (dired-previous-line): Use dired-next-line.
2028 (dired-hide-details-mode): New minor mode.
2029 (dired-hide-details-update-invisibility-spec): New function.
2030
2031 2013-02-13 Glenn Morris <rgm@gnu.org>
2032
2033 * play/yow.el: Move to obsolete/. (Bug#9384)
2034
2035 2013-02-13 Juri Linkov <juri@jurta.org>
2036
2037 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2038 to select `ediff-control-frame' and set input focus correctly on Xfce.
2039 (Bug#12218)
2040
2041 2013-02-13 Juri Linkov <juri@jurta.org>
2042
2043 * image-mode.el (image-mode-map):
2044 * doc-view.el (doc-view-mode-map):
2045 * vc/ediff-util.el (ediff-setup-keymap):
2046 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2047
2048 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2049
2050 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2051 performance. Instead of recalculating indentation fully for each
2052 line, sum up indentation depth based only on visited lines.
2053 (ruby-parse-partial): Increase the depth after "do" even when END
2054 is right after it.
2055 (ruby-parse-partial): When END is in the middle of a percent
2056 literal, increase the depth if the delimiter chars belong to the
2057 paren syntax class.
2058
2059 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2060
2061 * play/fortune.el (fortune-compile): Also make the compiled file
2062 if it does not exist at all, not just if it is old. (Bug#5338)
2063
2064 2013-02-13 Glenn Morris <rgm@gnu.org>
2065
2066 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2067
2068 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2069
2070 * lisp/emacs-lisp/package.el (package-menu-execute):
2071 Add optional noquery argument. (Bug#13625)
2072
2073 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2076 if DIR exists and PARENTS is non-nil.
2077
2078 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2079
2080 * progmodes/js.el (js--multi-line-declaration-indentation):
2081 Silence byte-compiler warning.
2082
2083 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2084
2085 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2086
2087 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2088 only if it doesn't exist.
2089
2090 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2091 Set process marker.
2092
2093 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2094
2095 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2096 UserInstallation when calling soffice to work around LibreOffice
2097 bug 37531.
2098
2099 2013-02-12 Glenn Morris <rgm@gnu.org>
2100
2101 * files.el (basic-save-buffer):
2102 Offer to create a non-existing directory. (Bug#3016)
2103
2104 * calc/calc-graph.el (calc-graph-show-dumb):
2105 * calendar/calendar.el (calendar-mode-map):
2106 * cus-edit.el (custom-mode-map):
2107 * ehelp.el (electric-help-map):
2108 * emulation/vip.el (vip-mode-map):
2109 * epa.el (epa-key-list-mode-map):
2110 * info.el (Info-mode-map):
2111 * mail/rmail.el (rmail-mode-map):
2112 * mail/rmailsum.el (rmail-summary-mode-map):
2113 * man.el (Man-mode-map):
2114 * net/newst-plainview.el (newsticker-mode-map):
2115 * progmodes/cpp.el (cpp-edit-mode-map):
2116 * progmodes/grep.el (grep-mode-map):
2117 * progmodes/idlw-help.el (idlwave-help-mode-map):
2118 * simple.el (special-mode-map):
2119 * startup.el (splash-screen-keymap):
2120 * view.el (view-mode-map):
2121 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2122
2123 2013-02-11 Elias Pipping <pipping@lavabit.com>
2124
2125 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2126 (bug#13679).
2127
2128 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2131
2132 2013-02-11 Glenn Morris <rgm@gnu.org>
2133
2134 * vc/diff.el (diff-use-labels): New variable.
2135 (diff-no-select): Use --label rather than -L, and first
2136 check that it is supported. (Bug#11067)
2137
2138 * files.el (enable-dir-local-variables): New variable.
2139 (hack-dir-local-variables): Respect enable-dir-local-variables.
2140 * tutorial.el (help-with-tutorial):
2141 Ignore directory-local variables. (Bug#11127)
2142
2143 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2144 (vc-svn-global-switches): ... to here. (Bug#13513)
2145
2146 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2147
2148 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2149 Handle "foo (bar, default: xxx): " prompts.
2150
2151 2013-02-10 Chong Yidong <cyd@gnu.org>
2152
2153 * files.el (basic-save-buffer-1): Do not set
2154 buffer-file-coding-system-explicit (Bug#4533).
2155
2156 * mail/emacsbug.el (report-emacs-bug): Change binding of
2157 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2158
2159 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2160
2161 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2162 * calc/calc-units.el (calc-convert-units): Use new variable.
2163
2164 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2165
2166 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2167
2168 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2169 buffer-file-type.
2170
2171 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2172 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2173 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2174 coding-system-for-write instead.
2175
2176 * jka-compr.el (jka-compr-write-region): Don't bind
2177 buffer-file-type.
2178
2179 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2180 buffer-file-type.
2181
2182 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2183 (insert-file-contents-literally): Remove reference to
2184 file-name-buffer-file-type-alist.
2185
2186 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2187 make-obsolete.
2188 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2189 (find-buffer-file-type-coding-system): Remove references to
2190 find-buffer-file-type-match, find-buffer-file-type, and
2191 buffer-file-type.
2192 Don't put find-buffer-file-type-coding-system into
2193 file-coding-system-alist.
2194 (find-file-binary, find-file-text): Bind coding-system-for-read
2195 instead of file-name-buffer-file-type-alist.
2196
2197 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2198
2199 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2200 converter (Bug#13622).
2201 (doc-view-unoconv-program): Make obsolete alias.
2202 (doc-view-odf->pdf-converter-program): New variable.
2203 (doc-view-odf->pdf-converter-function): New variable.
2204 (doc-view-mode-p): Use it.
2205 (doc-view-odf->pdf-converter-unoconv):
2206 Rename from `doc-view-odf->pdf-converter-unoconv'.
2207 (doc-view-odf->pdf-converter-soffice): New function.
2208 (doc-view-convert-current-doc):
2209 Use `doc-view-odf->pdf-converter-function'.
2210
2211 2013-02-09 Chong Yidong <cyd@gnu.org>
2212
2213 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2214 view-echo-area-messages (Bug#13340).
2215
2216 * help.el (view-echo-area-messages): Use display-buffer.
2217
2218 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2219 (Bug#13561).
2220
2221 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2224 Eval body right away, now that we do eager macroexpansion (bug#13605).
2225
2226 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2227 (fundamental-mode): Use run-mode-hooks.
2228
2229 * eshell/esh-proc.el (eshell/kill): Fix last change.
2230 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2231
2232 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2233
2234 * eshell/esh-proc.el (eshell/kill): Rewrite.
2235
2236 * eshell/em-ls.el (show-almost-all): Declare.
2237 (eshell-do-ls): Add support for -A argument.
2238
2239 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2240
2241 * icomplete.el (icomplete-forward-completions)
2242 (icomplete-backward-completions): Handle corner case (bug#13602).
2243
2244 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2245
2246 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2247 be nil. Handle this. (Bug#13636)
2248
2249 2013-02-07 Richard Stallman <rms@gnu.org>
2250
2251 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2252 `save-buffer-coding-system'.
2253
2254 2013-02-07 Alan Mackenzie <acm@muc.de>
2255
2256 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2257 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2258 (c-parse-state-get-strategy): Don't return 'BOD any more.
2259 (c-append-lower-brace-pair-to-state-cache):
2260 Extra parameter HERE instead of narrowing.
2261 Widen to top of buffer before searching backwards for a brace pair.
2262 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2263 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2264 Narrow to parameter HERE, in place of being called narrowed.
2265 (c-remove-stale-state-cache): Extra parameter HERE in place of
2266 narrowing. Check there's an open brace in the cache before
2267 searching for its match.
2268 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2269 (c-parse-state-1): Don't narrow here for 'forward strategy,
2270 instead passing extra parameter HERE to several functions.
2271 Remove 'BOD strategy.
2272
2273 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2274
2275 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2276 used to install the package.
2277
2278 2013-02-06 Glenn Morris <rgm@gnu.org>
2279
2280 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2281 if we can't get user input. (Bug#6567)
2282
2283 * startup.el (command-line): If simple.el is missing,
2284 test and warn about for some possible causes.
2285
2286 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2287
2288 * cus-start.el (all): Add ns-use-native-fullscreen.
2289
2290 2013-02-05 Glenn Morris <rgm@gnu.org>
2291
2292 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2293
2294 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2295 Fix directory creation in fallback case.
2296
2297 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2298
2299 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2300 (vc-update-change-log): Use dolist.
2301
2302 2013-02-04 Chong Yidong <cyd@gnu.org>
2303
2304 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2305 code from ffap.el.
2306 (thing-at-point-beginning-of-url-regexp): New var.
2307 (thing-at-point-uri-schemes): Update list of URI schemes.
2308 (thing-at-point-url-regexp): Variable deleted.
2309 (thing-at-point-markedup-url-regexp): Disallow newlines.
2310 (thing-at-point-newsgroup-regexp)
2311 (thing-at-point-newsgroup-heads)
2312 (thing-at-point-default-mail-uri-scheme): New variables.
2313 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2314 method to find the possible bounds of the URI at point.
2315 New optional argument to find ill-formed URIs.
2316 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2317 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2318 the scheme-adding heuristics from ffap-url-at-point.
2319 (thing-at-point--bounds-of-well-formed-url): New function.
2320 Do parens matching to decide whether to include parens in the URI
2321 (Bug#9153).
2322
2323 * ffap.el: Require thingatpt.
2324 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2325 All URI-valid characters are now recognized (Bug#5673).
2326 (ffap-string-at-point): Use use-region-p.
2327 (ffap-url-regexp): Extra character is handled by thing-at-point.
2328 (ffap-string-at-point-mode-alist): Allow parentheses.
2329 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2330 Convert to aliases; code moved to thingatpt.el.
2331 (ffap-gnus-hook): Use setq-local.
2332
2333 2013-02-04 Glenn Morris <rgm@gnu.org>
2334
2335 * emacs-lisp/ert.el (ert--explain-format-atom):
2336 Don't try to print non-characters as characters. (Bug#13543)
2337
2338 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2341 (tramp-backtrace): New defun.
2342 (tramp-handle-insert-file-contents): Use `visit' when inserting
2343 the local copy.
2344
2345 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2346 Use `remote-file-name-inhibit-cache'.
2347
2348 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2351 (bug#13614).
2352
2353 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2354 current-load-list (bug#13366).
2355
2356 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2357
2358 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2359 Identify g++ template instantiation trace. (Bug#12287)
2360 (compilation-mode-hook, compilation-start-hook)
2361 (compilation-window-height): Simplify docstrings. (Bug#13379)
2362
2363 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * mouse.el (mouse-drag-track): Always deactivate the mark before
2366 running the final event's command since that command is in charge of
2367 activating the mark if needed (bug#13523).
2368
2369 2013-02-02 Juri Linkov <juri@jurta.org>
2370
2371 * replace.el (perform-replace): Move let-bindings of isearch-*
2372 variables deeper to the loop that searches for the next match.
2373 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2374 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2375 (Bug#13579)
2376
2377 * isearch.el (isearch-search-fun-default): Check for null
2378 first element of isearch-cmds as a precaution when it's used
2379 with inactive isearch.
2380
2381 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2382
2383 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2384 error when buffer in question is narrowed so position 1 is out of
2385 visible part.
2386
2387 2013-02-02 Glenn Morris <rgm@gnu.org>
2388
2389 * textmodes/remember.el (remember-clipboard): Doc fix.
2390
2391 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2394 properties (bug#13179).
2395
2396 2013-02-02 Juri Linkov <juri@jurta.org>
2397
2398 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2399 instead of hard-coded default face `match'. (Bug#9438)
2400
2401 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2402
2403 * vc/vc-arch.el (vc-arch-registered):
2404 * vc/vc-bzr.el (vc-bzr-registered):
2405 * vc/vc-cvs.el (vc-cvs-registered):
2406 * vc/vc-git.el (vc-git-registered):
2407 * vc/vc-hg.el (vc-hg-registered):
2408 * vc/vc-mtn.el (vc-mtn-registered):
2409 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2410 (Bug#13139)
2411
2412 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2413 prefix argument. (Bug#11656)
2414
2415 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2418
2419 2013-02-01 Glenn Morris <rgm@gnu.org>
2420
2421 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2422 if the backend is known not to support it.
2423
2424 * imenu.el (imenu-default-create-index-function):
2425 Tweak infinite loop test to check for forward motion as well as none.
2426
2427 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2428
2429 * net/soap-client.el (soap-invoke): Encode the string for
2430 `url-request-data' as UTF-8.
2431 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2432
2433 2013-02-01 Glenn Morris <rgm@gnu.org>
2434
2435 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2436
2437 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2438
2439 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp.el (tramp-tramp-file-p): Comment check for
2442 `string-as-unibyte'. The function does not exist on XEmacs, and
2443 likely we need another approach.
2444
2445 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2446 `tramp-gw-*' variables are bound.
2447
2448 2013-01-31 Glenn Morris <rgm@gnu.org>
2449
2450 * files.el (basic-save-buffer-2): Choose coding system for
2451 writing the file before backing it up, to reduce delay between
2452 backing up and writing the new version. (Bug#13522)
2453
2454 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2455
2456 * simple.el (cycle-spacing): New command.
2457 (just-one-space): Use it.
2458
2459 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2462 (opascal-newline-always-indents): Remove custom.
2463 (opascal-tab, opascal-newline): Remove commands.
2464 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2465 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2466 (opascal-save-match-data): Remove, use save-match-data instead.
2467 (opascal-save-state): Use with-silent-modifications.
2468
2469 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2470 (bug#13585).
2471
2472 2013-01-30 Juri Linkov <juri@jurta.org>
2473
2474 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2475 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2476 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2477
2478 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2481 column if we're just deleting the backslashes.
2482 (makefile-fill-paragraph): Use eolp.
2483
2484 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2485
2486 * autorevert.el (auto-revert-use-notify): Fix docstring.
2487
2488 2013-01-30 Leo Liu <sdl.web@gmail.com>
2489
2490 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2491
2492 2013-01-30 Glenn Morris <rgm@gnu.org>
2493
2494 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2495 unread-command-events twice in some cases. This tries to implement
2496 the 2012-07-26 changes in a different way. (Bug#13560)
2497
2498 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2499
2500 * progmodes/python.el
2501 (python-pdbtrack-comint-output-filter-function): Enhancements on
2502 stacktrace detection. (thanks @gnovak)
2503
2504 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2507 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2508 Use defvar-local.
2509 (jit-lock-register): Use setq-local.
2510
2511 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2512
2513 * calc-units.el (math-default-units-table): Remove initial value.
2514 (calc-convert-units): Treat expressions where all the units cancel as
2515 if they didn't have units.
2516
2517 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2520 (tramp-completion-reread-directory-timeout): Fix type.
2521 (tramp-connection-min-time-diff): New defcustom.
2522
2523 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2524
2525 2013-01-30 Glenn Morris <rgm@gnu.org>
2526
2527 * imenu.el (imenu-default-create-index-function):
2528 Put back a version of the infinite loop test removed 2013-01-23.
2529
2530 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2531
2532 * progmodes/python.el (python-shell-parse-command):
2533 Find python-shell-interpreter with modified environment.
2534
2535 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2538
2539 2013-01-29 Alan Mackenzie <acm@muc.de>
2540
2541 Amend to fontify /regexp/s in actions correctly.
2542 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2543 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2544 are no longer included.
2545 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2546 What used to be these variables without "-line" in the name.
2547 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2548 (c-awk-non-arith-op-bra-re): Now also matches {.
2549 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2550 "return", and "case".
2551 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2552 by /.
2553 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2554 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2555
2556 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2557
2558 * autorevert.el (auto-revert-use-notify):
2559 Use `custom-initialize-default' for initialization. (Bug#13583)
2560
2561 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2562
2563 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2564 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2565 in `tramp-file-name-handler'.
2566 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2567 compatibility.
2568 (tramp-compute-multi-hops): Check, whether
2569 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2570
2571 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2574 (bug#13297).
2575
2576 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2577
2578 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2579 checks made superfluous by the \_< operator.
2580 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2581 temporarily) broken indentation.
2582 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2583 Highlight nested constants, too. \_< broke that.
2584
2585 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2586
2587 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2588 instead of "\\b".
2589
2590 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2591
2592 * autorevert.el (auto-revert-handler): Notifications which result
2593 from a saved file shall not be taken into account. (Bug#13557)
2594
2595 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2596
2597 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2598 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2599 (lisp-mode): Pass t for it. (Bug#13556)
2600
2601 2013-01-25 Alan Mackenzie <acm@muc.de>
2602
2603 AWK Mode: Fix indentation bug at top level. Bug #12274.
2604
2605 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2606 just before CASE 5D.
2607
2608 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2609
2610 * net/socks.el (socks-nslookup-host): Use string-to-number.
2611
2612 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2613
2614 * autorevert.el (auto-revert-remote-files)
2615 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2616 (auto-revert-notify-enabled, auto-revert-use-notify)
2617 (auto-revert-notify-watch-descriptor-hash-list)
2618 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2619 (auto-revert-notify-event-descriptor)
2620 (auto-revert-notify-event-action)
2621 (auto-revert-notify-event-file-name): Doc fix.
2622 (global-auto-revert-mode): Reorder checks.
2623 (auto-revert-notify-rm-watch): Respect changed values of
2624 `auto-revert-notify-watch-descriptor-hash-list'.
2625 (auto-revert-notify-add-watch): Check for
2626 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2627 `inotify-add-watch'. Watch `default-directory' instead of
2628 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2629 has a changed meaning now. (Bug#13540)
2630 (auto-revert-notify-handler): Change implementation wrt events
2631 returning from a directory.
2632 (auto-revert-handler): Reorder implementation for checks of remote
2633 files.
2634 (auto-revert-buffers): Fix parentheses error.
2635
2636 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2637
2638 * progmodes/python.el: Enhancements to header documentation about
2639 skeletons. (Bug#5716)
2640
2641 * imenu.el (imenu-default-create-index-function): Remove useless
2642 infinite loop check. (Bug#13438)
2643
2644 2013-01-25 Alan Mackenzie <acm@muc.de>
2645
2646 Fix a bug in the state cache mechanism. Refactor this a bit.
2647
2648 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2649 `cache-pos' element from the return value.
2650 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2651 buffer to enable proper searching from beyond HERE. Amend the
2652 test for detecting the sought brace pair. Amend the value written
2653 to the "brace desert cache" when the brace isn't found.
2654 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2655 and several other variables analogously.
2656 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2657 parameter to a locally calculated variable.
2658 (c-parse-state-1): Change the calling conventions to the two
2659 defuns involving `cache-pos'.
2660
2661 2013-01-25 Chong Yidong <cyd@gnu.org>
2662
2663 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2664
2665 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2666
2667 * paren.el (show-paren-function): Make sure to set 'priority and
2668 'face only if the overlay does exist.
2669
2670 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2671
2672 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2673
2674 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2675 basic attributes.
2676 (tramp-sh-handle-set-file-acl): Improve error checking.
2677
2678 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2679
2680 * doc-view.el (doc-view-display): Force mode line update until all
2681 document is converted. Suggested by Stefan Monnier (Bug#13164).
2682
2683 2013-01-23 Bastien Guerry <bzg@gnu.org>
2684
2685 * paren.el (show-paren-function): Make sure an overlay exists
2686 before trying to delete it. Also use `pos' as a position only
2687 when it is an integer.
2688
2689 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2690
2691 * play/gametree.el (gametree-break-line-here): Use point-marker.
2692
2693 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2694
2695 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2696 Mark descriptive parts with `display' property.
2697
2698 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2699
2700 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2701 New variable to map standard dict names to hunspell ones.
2702 (ispell-set-spellchecker-params): Make sure specific dict names
2703 are used for standard dicts with hunspell.
2704
2705 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2706
2707 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2708 chars for note (%N) and url (%U).
2709 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2710
2711 2013-01-21 Juri Linkov <juri@jurta.org>
2712
2713 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2714 in addition to existing separate binding `meta f10' in `global-map'.
2715 (Bug#13484)
2716
2717 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2718
2719 Improve XEmacs compatibility.
2720
2721 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2722
2723 * net/tramp-adb.el (top): Require `time-date'.
2724 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2725 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2726 Use `tramp-file-name-handler'.
2727 (tramp-adb-maybe-open-connection):
2728 Use `tramp-compat-set-process-query-on-exit-flag'.
2729
2730 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2731 Use `tramp-compat-funcall'.
2732
2733 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2734 `tramp-compat-funcall'.
2735
2736 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2737
2738 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2739 reimplementation using "adb shell command ..." instead of running
2740 remote shell interactively.
2741
2742 2013-01-20 Glenn Morris <rgm@gnu.org>
2743
2744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2745 Add native profiler menu entries.
2746
2747 * profiler.el (profiler-running-p): New function.
2748 (profiler-cpu-profile): Use profiler-running-p.
2749 (profiler-report-mode-map): Add some more menu entries.
2750
2751 2013-01-19 Glenn Morris <rgm@gnu.org>
2752
2753 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2754 fixes 2012-12-07 change. (Bug#13499)
2755
2756 2013-01-19 Leo Liu <sdl.web@gmail.com>
2757
2758 * dired.el (dired-get-marked-files): Prune erroneous values due to
2759 last change. (Bug#13152)
2760
2761 2013-01-19 Glenn Morris <rgm@gnu.org>
2762
2763 * progmodes/etags.el (tags-table-check-computed-list):
2764 Preserve point in tags buffer. (Bug#13412)
2765
2766 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2767
2768 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2769 Chong Yidong <cyd@gnu.org>
2770
2771 * image-mode.el (image-next-file, image-previous-file):
2772 New commands (Bug#8453).
2773 (image-mode-map): Bind them to n and p.
2774 (image-mode--images-in-directory): New helper function.
2775
2776 2013-01-19 Chong Yidong <cyd@gnu.org>
2777
2778 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2779 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2780 save and restore the old window configuration.
2781
2782 2013-01-18 Leo Liu <sdl.web@gmail.com>
2783
2784 * progmodes/js.el: Tweak autoload cookie for alias.
2785
2786 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2787
2788 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2789 buffer local, again. This was lost with the fix on 2013-01-12.
2790
2791 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2792
2793 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2794 order to support several eshell buffers in parallel.
2795
2796 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2797
2798 * autorevert.el (auto-revert-use-notify): In the :set function, do
2799 not modify `kill-buffer-hook'.
2800 (auto-revert-notify-rm-watch):
2801 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2802 (auto-revert-notify-add-watch): Do not call
2803 `auto-revert-notify-rm-watch', but add it to a buffer local
2804 `kill-buffer-hook'.
2805
2806 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2809 call to `eval' rather than a backquoted lambda.
2810
2811 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2814 to return an explicit nil.
2815 (advice--remove-function): Change accordingly.
2816
2817 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2818 the use of nadvice.el.
2819
2820 * progmodes/which-func.el (which-function): Silence imenu errors
2821 (bug#13433).
2822
2823 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2824
2825 * progmodes/sql.el (sql-imenu-generic-expression):
2826 (sql-mode-font-lock-object-name): Match schema qualified names.
2827 (sql-connect): Use string keys.
2828 (sql-product-interactive): Wait for interpreter prompt.
2829 (sql-comint-oracle): Set process coding based on NLS_LANG.
2830
2831 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2832
2833 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2834 (sql-interactive-remove-continuation-prompt):
2835 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2836
2837 2013-01-14 Leo Liu <sdl.web@gmail.com>
2838
2839 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2840 (Bug#13420)
2841
2842 2013-01-14 Glenn Morris <rgm@gnu.org>
2843
2844 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2845 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2846
2847 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2848
2849 * progmodes/python.el (python-nav-end-of-statement):
2850 Fix cornercase when handling multiline strings.
2851
2852 2013-01-13 Richard Stallman <rms@gnu.org>
2853
2854 * mail/sendmail.el (mail-position-on-field): Add doc string.
2855
2856 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2857 Get current message boundaries and pass them to
2858 message-forward-make-body-mime. Minor style changes.
2859
2860 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2861
2862 * cus-start.el (all): Avoid warnings about
2863 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2864
2865 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2866
2867 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2868
2869 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2872 (jit-lock--debug-fontifying): New var.
2873 (jit-lock--debug-fontify): New function.
2874 * subr.el (condition-case-unless-debug): Don't prevent catching the
2875 error, just let the debbugger run.
2876 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2877 timer code and don't drop errors silently.
2878
2879 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2880
2881 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2882 `permanent-local' property.
2883 (auto-revert-notify-handler): Use `file-equal-p'.
2884
2885 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2886
2887 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2888 file notification by ACTION. For filtering by file name, compare
2889 only the non-directory part of the file name.
2890
2891 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * autorevert.el: Use cl-lib instead of cl.
2894
2895 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2896 (vc-bzr-checkin): Use it.
2897 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2898 will preserve match-data.
2899
2900 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2901
2902 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2903 (js--declaration-keyword-re): New var.
2904 (js--multi-line-declaration-indentation): New function.
2905 (js--proper-indentation): Use it.
2906
2907 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2908
2909 * calc/calc.el (calc-highlight-selections-with-faces)
2910 (calc-dispatch):
2911 * comint.el (comint-history-isearch-message):
2912 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2913 * ffap.el (ffap-string-at-point-region, ffap-next)
2914 (ffap-string-at-point, ffap-string-around)
2915 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2916 (ffap-literally):
2917 * font-lock.el (font-lock-keywords-alist)
2918 (font-lock-removed-keywords-alist):
2919 * help-mode.el (help-xref-symbol-regexp):
2920 * info.el (Info-find-emacs-command-nodes):
2921 * international/mule.el (add-to-coding-system-list):
2922 * isearch.el (isearch-message-function, isearch-fail-pos):
2923 * misearch.el (multi-isearch-next-buffer-function):
2924 * newcomment.el (comment-box):
2925 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2926 (pr-setting-database):
2927 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2928 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2929 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2930 (pike-font-lock-keywords-3):
2931 * progmodes/compile.el (compile):
2932 * progmodes/etags.el (tags-table-files)
2933 (tags-table-files-function, tags-included-tables-function):
2934 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2935 (gdb-restore-windows):
2936 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2937 (ps-n-up-filling-database):
2938 * server.el (server-buffer, server-log):
2939 * simple.el (newline, delete-backward-char, delete-forward-char)
2940 (minibuffer-history-isearch-message, kill-line, track-eol)
2941 (temporary-goal-column):
2942 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2943 (flyspell-default-deplacement-commands):
2944 * textmodes/ispell.el (ispell-accept-output):
2945 * textmodes/sgml-mode.el (html-tag-help):
2946 * vc/compare-w.el (compare-ignore-whitespace)
2947 (compare-ignore-case, compare-windows-dehighlight):
2948 * vc/diff.el (diff):
2949 * whitespace.el (whitespace-point)
2950 (whitespace-font-lock-refontify, whitespace-bob-marker)
2951 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2952
2953 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2956 (auto-revert-notify-rm-watch): Ignore errors.
2957 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2958 inotify, and '(size last-write-time) for w32notify.
2959 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2960 watch fails - this is a fallback to the file modification check.
2961 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2962 (auto-revert-notify-event-action)
2963 (auto-revert-notify-event-file-name): New defuns.
2964 (auto-revert-notify-handler): Use them. Implement first
2965 plausibility checks.
2966 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2967
2968 2013-01-11 Julien Danjou <julien@danjou.info>
2969
2970 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2971 max are almost equal. Also return the correct value for V which is
2972 already between 0 and 1.
2973
2974 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2975
2976 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2977
2978 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2979
2980 * autorevert.el (auto-revert-notify-rm-watch)
2981 (auto-revert-notify-add-watch): Fix typos in w32notify function
2982 names.
2983
2984 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2985
2986 * autorevert.el (auto-revert-notify-enabled): Move up.
2987 (auto-revert-use-notify): New defcustom.
2988 (auto-revert-mode, global-auto-revert-mode)
2989 (auto-revert-notify-add-watch, auto-revert-handler)
2990 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2991 `auto-revert-notify-enabled'.
2992
2993 2013-01-10 Elias Pipping <pipping@exherbo.org>
2994
2995 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2996 * doc-view.el (doc-view-document->bitmap):
2997 Use doc-view-single-page-converter-function instead of
2998 single-page-converter arg; adjust callers.
2999
3000 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3001
3002 * progmodes/which-func.el (which-function): Understand Semantic's use
3003 of overlays in imenu--index-alist.
3004
3005 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3006
3007 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3008 (Man-man-k-use-anchor): New var.
3009 (Man-parse-man-k): New function.
3010 (Man-completion-table): Use it.
3011 (man): Flush the completion cache between uses.
3012
3013 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * autorevert.el: Add file watch support.
3016 (auto-revert-notify-enabled): New defconst.
3017 (auto-revert-notify-watch-descriptor-hash-list)
3018 (auto-revert-notify-watch-descriptor)
3019 (auto-revert-notify-modified-p): New defvars.
3020 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3021 (auto-revert-notify-handler): New defuns.
3022 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3023 when mode is disabled.
3024 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3025 (auto-revert-buffers): Add file watches for active buffers.
3026
3027 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3028
3029 * cus-start.el (toplevel): Only allow float values for
3030 scroll-up-aggressively and scroll-down-aggressively.
3031 Allow any number for line-spacing.
3032
3033 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3036 (doc-view-pdf->png-converter-function): Use mupdf if available.
3037 (doc-view-djvu->png-converter-function)
3038 (doc-view-ps->png-converter-function): Remove.
3039 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3040 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3041 (doc-view-already-converted-p): Adjust accordingly.
3042 (doc-view-mode-p): Simplify.
3043 (doc-view-enlarge): Use setq-local.
3044 (doc-view-pdf->png-converter-ghostscript)
3045 (doc-view-djvu->png-converter-ddjvu)
3046 (doc-view-pdf->png-converter-mupdf): Rework to call
3047 doc-view-start-process directly.
3048 (doc-view-pdf/ps->png): Simplify accordingly.
3049 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3050 (doc-view-document->bitmap): Rename from doc-view-document->png.
3051 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3052 (doc-view-set-slice-from-bounding-box): Fix completion table.
3053 (doc-view-mode): Use add-hook for after-revert-hook.
3054
3055 2013-01-10 Glenn Morris <rgm@gnu.org>
3056
3057 * emacs-lisp/authors.el (authors-ignored-files)
3058 (authors-valid-file-names, authors-renamed-files-alist):
3059 Add some more entries.
3060
3061 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3064 `t' pseudo-window entry.
3065
3066 2013-01-10 Alan Mackenzie <acm@muc.de>
3067
3068 Fix bugs in the c-parse-state mechanism. Reuse some markers
3069 instead of continually generating new ones.
3070
3071 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3072 (c-state-old-cpp-end-marker): New variables.
3073 (c-append-lower-brace-pair-to-state-cache): Start a backward
3074 search for "}" definitively outside CPP constructs.
3075 (c-remove-stale-state-cache): Inform the caller of a need to
3076 search back for a brace pair in certain circumstances.
3077 (c-state-maybe-marker): New macro.
3078 (c-parse-state): Reuse markers when appropriate.
3079
3080 2013-01-10 Glenn Morris <rgm@gnu.org>
3081
3082 * simple.el (execute-extended-command): Doc fix.
3083 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3084
3085 2013-01-10 Chong Yidong <cyd@gnu.org>
3086
3087 * faces.el (read-face-name): Doc fix.
3088
3089 2013-01-10 Roland Winkler <winkler@gnu.org>
3090
3091 * emacs-lisp/crm.el: Allow any regexp for separators.
3092 (crm-default-separator): All spaces around the default comma separator.
3093 (crm--completion-command): New macro.
3094 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3095 (crm-complete-and-exit): Handle non-single-char separators.
3096
3097 2013-01-09 Elias Pipping <pipping@lavabit.com>
3098
3099 * doc-view.el: Add support for DjVu (bug#13164).
3100 (doc-view-djvu->png-converter-function): New config var.
3101 (doc-view-single-page-converter-function, doc-view--image-type)
3102 (doc-view--image-file-extension): New vars.
3103 (doc-view-mode): Initialize them.
3104 (doc-view-goto-page): Use them.
3105 (doc-view-mode-p): Add support for ddjvu.
3106 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3107 (doc-view-set-up-single-converter): New funs.
3108 (doc-view-pdf/ps->png): Extend for djvu.
3109 (doc-view-document->png): Rename from doc-view-pdf->png.
3110 (doc-view-convert-current-doc): Handle djvu.
3111 (doc-view-insert-image, doc-view-display)
3112 (doc-view-already-converted-p): Don't hardcode png.
3113 (doc-view-set-doc-type): Recognize djvu docs.
3114
3115 2013-01-09 Elias Pipping <pipping@lavabit.com>
3116
3117 * doc-view.el: Add support for mupdf converter (bug#13164).
3118 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3119 (doc-view-ps->png-converter-function): New config vars.
3120 (doc-view-pdf->png-converter-ghostscript)
3121 (doc-view-ps->png-converter-ghostscript)
3122 (doc-view-pdf->png-converter-mupdf): New functions.
3123 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3124
3125 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3126
3127 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3128 first in session cache: When `tramp-own-remote-path' is in
3129 `tramp-remote-path', the remote path is only set in the session
3130 cache.
3131
3132 2013-01-09 Glenn Morris <rgm@gnu.org>
3133
3134 * emacs-lisp/trace.el (trace-function-foreground)
3135 (trace-function-background): Doc fix.
3136
3137 2013-01-09 Juri Linkov <juri@jurta.org>
3138
3139 * international/mule-cmds.el (read-char-by-name): Move let-binding
3140 of completion-ignore-case around completing-read to fix regression
3141 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3142 `string-match-p' using the nil value of `case-fold-search' and
3143 `completion-ignore-case' in `completion-pcm--all-completions'.
3144 (Bug#12615).
3145
3146 2013-01-09 Glenn Morris <rgm@gnu.org>
3147
3148 * progmodes/compile.el (compilation-parse-errors):
3149 Fix typo. (Bug#13369)
3150
3151 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3152
3153 * comint.el (comint-send-input): Check size of buffer before
3154 waiting for process output, in case already accepted. (Bug#13290)
3155
3156 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3157
3158 Spelling fixes.
3159 * net/tramp-adb.el (tramp-adb-get-toolbox):
3160 Fix misspelling of 'unknown'.
3161
3162 2013-01-08 Juri Linkov <juri@jurta.org>
3163
3164 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3165 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3166 Use underline style wave on terminals that support it. (Bug#13000)
3167
3168 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3171 the predicate returns nil.
3172
3173 * simple.el: Use lexical-binding.
3174 (primitive-undo): Use pcase.
3175 (minibuffer-history-isearch-push-state): Use a closure.
3176
3177 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3178
3179 * simple.el (primitive-undo): Move from undo.c.
3180
3181 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3184 (cvs-mode-remove-handled): Use it (bug#13380).
3185
3186 * emacs-lisp/nadvice.el (advice--tweak): New function.
3187 (advice--remove-function, advice--subst-main): Use it.
3188
3189 * emacs-lisp/advice.el: Update commentary.
3190
3191 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3192
3193 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3194 Remove spurious entry.
3195
3196 2013-01-08 Glenn Morris <rgm@gnu.org>
3197
3198 * net/tramp.el (tramp-default-host-alist): Add :version.
3199
3200 2013-01-08 Juri Linkov <juri@jurta.org>
3201
3202 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3203 single completion. (Bug#12456)
3204 (info--manual-names): Expand node completions into an explicit list
3205 before appending it to another list. Filter out internal buffers
3206 with the leading space in the buffer name. (Bug#10771)
3207
3208 2013-01-08 Juri Linkov <juri@jurta.org>
3209
3210 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3211 that defaults to the Top node.
3212 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3213 the short format (FILENAME) goes to the Top node.
3214 (Info-build-node-completions): Rename arg `file' to `filename'.
3215 (Bug#13365)
3216
3217 2013-01-07 Bastien Guerry <bzg@gnu.org>
3218
3219 * menu-bar.el (menu-bar-search-documentation-menu):
3220 Use `apropos-user-option' and fix the help message.
3221
3222 2013-01-07 Bastien Guerry <bzg@gnu.org>
3223
3224 * apropos.el (apropos-do-all): Update docstring.
3225 (apropos-user-option-button): New face.
3226 (apropos-user-option): Rename from `apropos-variable' and update
3227 docstring.
3228 (apropos-variable): Rewrite, now show all variables by default.
3229 (apropos-print): Mention "User option" instead of "Variable" when
3230 printing doc for user options. (Bug#13276)
3231
3232 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3233
3234 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3235 Handle filename correctly, when parsing "source -> target" symlink
3236 output.
3237 (tramp-adb-handle-set-file-times): New defun.
3238
3239 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3242 advice list when the interactive-spec of ad-Advice-* changes.
3243
3244 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3245
3246 * wid-edit.el (widget-default-get): Work for inlined elements.
3247 (Bug#12670)
3248
3249 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * net/tramp.el (tramp-default-host-alist): New defcustom.
3252 (tramp-find-host): Use it.
3253 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3254 `eshell-directory-change-hook'.
3255
3256 * net/tramp-adb.el (top): Add adb specific entry in
3257 `tramp-default-host-alist'.
3258 (tramp-adb-file-name-host): Remove function.
3259 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3260 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3261
3262 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3263
3264 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3265
3266 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3267
3268 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3271 consist of more than one digit.
3272 (tramp-adb-file-name-handler-alist):
3273 Use `tramp-handle-file-exists-p' consistently.
3274 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3275 (tramp-adb-handle-file-exists-p): Remove function.
3276 (tramp-adb-file-name-host): New defun.
3277 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3278 Use it.
3279 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3280
3281 2013-01-06 Chong Yidong <cyd@gnu.org>
3282
3283 * vc/vc.el (vc-next-action): Detect buffer modifications
3284 conflicting with locking VCS operation (Bug#11490).
3285
3286 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3287
3288 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3289
3290 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3291 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3292
3293 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3294
3295 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3296 parsing of ls output using regular expression (handle filenames
3297 with spaces). Use virtual device number.
3298 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3299 cleanup).
3300
3301 2013-01-04 Daiki Ueno <ueno@gnu.org>
3302
3303 * epg.el: Silence byte-compiler warnings.
3304 (epg--start): Use delete-char instead of delete-backward-char.
3305 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3306
3307 2013-01-04 Daiki Ueno <ueno@gnu.org>
3308
3309 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3310 Suggested by Eli Zaretskii <eliz@gnu.org>.
3311
3312 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3313
3314 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3315 non-negative integers. Otherwise, the default values are used.
3316 (tramp-convert-file-attributes): Convert uid and gid to integers.
3317
3318 2013-01-04 Glenn Morris <rgm@gnu.org>
3319
3320 * term.el (term-handle-colors-array): Ensure face attributes
3321 are fully specified, not nil. (Bug#13337)
3322
3323 * term.el (term-default-fg-color, term-default-bg-color):
3324 Fix custom type.
3325
3326 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3327 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3328 rather than 'jka-compr being loaded. (Bug#13338)
3329
3330 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3331
3332 * icomplete.el (icomplete-completions):
3333 Honor icomplete-prospects-height once more following
3334 2012-11-29 changes. (Bug#13224)
3335
3336 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3339 of called-interactively-p as well (bug#13237).
3340
3341 * view.el (view--enable, view--disable): Rename from view-mode-enable
3342 and view-mode-disable and assume it's called from view-mode.
3343 (view-mode-enable, view-mode-disable): Redefine as obsolete
3344 compatibility layer above view-mode.
3345 (view-mode-enter): Call `view-mode'.
3346
3347 * files.el (after-find-file): Call `view-mode'.
3348
3349 * doc-view.el (doc-view-scale-internally): New var.
3350 (doc-view-enlarge, doc-view-insert-image): Obey it.
3351
3352 2013-01-03 Daiki Ueno <ueno@gnu.org>
3353
3354 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3355 exist. (Bug#13344)
3356
3357 2013-01-03 Glenn Morris <rgm@gnu.org>
3358
3359 * mail/rmail.el (rmail-set-header-1): Ignore case.
3360 Handle multi-line headers. (Bug#13330)
3361
3362 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3363 Handle paragraph starting at beginning of buffer.
3364
3365 * subr.el (eval-after-load): Don't purecopy the form, so that it
3366 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3367
3368 * emacs-lisp/byte-run.el (defun): Place cl declarations
3369 after any interactive spec. (Bug#13265)
3370
3371 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3374 defun. Don't check for DECL if DOCSTRING isn't a string.
3375 (defun): Likewise.
3376
3377 2013-01-02 Glenn Morris <rgm@gnu.org>
3378
3379 * eshell/em-cmpl.el (eshell-pcomplete):
3380 More thoroughly imitate pcomplete. (Bug#13293)
3381
3382 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3383 Return nil for empty path elements. (Bug#13296)
3384
3385 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3386
3387 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3388 order to improve efficiency (Based on Daniel Colascione's
3389 <dancol@dancol.org> patch). (Bug#13182)
3390
3391 2013-01-02 Glenn Morris <rgm@gnu.org>
3392
3393 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3394
3395 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3396
3397 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3398 neither DOCSTRING nor DECL was given. (Bug#13316)
3399
3400 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3401
3402 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3403 `error' call.
3404 (tramp-do-copy-or-rename-file): Ignore errors when calling
3405 `set-file-extended-attributes'.
3406
3407 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3408 Add handler for `file-acl'.
3409 (tramp-smb-handle-file-acl): New defun.
3410
3411 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3412
3413 * calc/README: Mention ISO 8601 week-numbering dates.
3414
3415 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3416
3417 * view.el (view-mode-enable): New argument run-view-mode-hook.
3418 Run view-mode-hook only when it's non-nil (Bug#13315).
3419 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3420 argument t.
3421
3422 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3423
3424 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3425 (No device connected, invalid device name). (Bug #13299)
3426
3427 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3428
3429 * window.el (window-resizable--p): Rename to window-resizable-p.
3430 (window-resize-no-error): New function.
3431
3432 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3433 broken in fix from 2012-12-28.
3434
3435 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * subr.el (special-form-p): Don't signal errors on undef aliases.
3438
3439 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3440
3441 * calc/calc-forms.el (math-parse-date): Try using
3442 `math-parse-iso-date' when it looks like it might be needed.
3443 Allow times of 24:00.
3444 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3445 of 24:00.
3446
3447 2012-12-30 Glenn Morris <rgm@gnu.org>
3448
3449 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3450 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3451 (rmail-summary-displayed, rmail-summary): Declare.
3452 (mairix-rmail-display): Just require rmail.
3453
3454 2012-12-30 Chong Yidong <cyd@gnu.org>
3455
3456 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3457 check for the tarball contents.
3458
3459 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3460
3461 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3462 tarfile content listings (Bug#13136).
3463
3464 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3465
3466 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3467 Insert the undecoded text of the message being forwarded. (Bug#9521)
3468
3469 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3470
3471 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3472 integers, if they are real numbers. (Bug#13282)
3473
3474 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3475 Return `t' on success.
3476
3477 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3478 Add handler for `set-file-selinux-context'.
3479
3480 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3481
3482 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3483 (tramp-sh-handle-set-file-acl): Return `t' on success.
3484
3485 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3486
3487 * files.el (backup-buffer-copy, basic-save-buffer-2):
3488 If set-file-extended-attributes fails, fall back on set-file-modes
3489 instead of signaling an error. (Bug#13298)
3490 (basic-save-buffer): Likewise.
3491
3492 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3493
3494 * progmodes/python.el: Support other commands triggering
3495 python-indent-line so indentation cycling continues to work.
3496 (python-indent-trigger-commands): New defcustom.
3497 (python-indent-line): Use it.
3498
3499 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3500
3501 * progmodes/python.el (python-shell-send-region): Add blank lines
3502 for non sent code so backtraces remain correct.
3503
3504 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3505
3506 * progmodes/python.el: Remove cl dependency.
3507 (python-syntax-count-quotes): Replace incf call.
3508 (python-fill-string): Replace setf call.
3509
3510 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3511
3512 * info.el (info-other-window): New arg, for consistency with info.
3513
3514 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3515
3516 * mail/rmail.el (rmail-maybe-display-summary):
3517 Rewrite (Bug#13066).
3518
3519 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3520
3521 * epg.el (epg--start): Modify process-environment locally.
3522
3523 2012-12-28 Daiki Ueno <ueno@gnu.org>
3524
3525 * epg.el: Support pinentry-curses.
3526 Suggested by Werner Koch in
3527 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3528 (epg-agent-file, epg-agent-mtime): New variable.
3529 (epg--start): Record the modified time of gpg-agent socket file,
3530 to restore Emacs frame after pinentry-curses termination.
3531 (epg-wait-for-completion): Restore Emacs frame here.
3532
3533 2012-12-27 Juri Linkov <juri@jurta.org>
3534
3535 * info.el (Info-file-completions): New variable.
3536 (Info-read-node-name-1): Complete node names in the Info file
3537 when a file name is given. Call `Info-build-node-completions'
3538 with a file name.
3539 (Info-build-node-completions): Add new arg `file'. When it is
3540 non-nil, visit it in a temporary buffer and cache its completions in
3541 `Info-current-file-completions'. Move most of the function body to
3542 `Info-build-node-completions-1'.
3543 (Info-build-node-completions-1): New function with the body from
3544 `Info-build-node-completions'. (Bug#12456)
3545
3546 2012-12-27 Juri Linkov <juri@jurta.org>
3547
3548 * frame.el (frame-maximization-style): Remove user option.
3549 (cycle-frame-maximized): Remove function.
3550 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3551 (toggle-frame-fullscreen): New command bound to <f11> instead of
3552 `toggle-frame-maximized'.
3553 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3554
3555 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3558
3559 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3560 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3561 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3562 for `file-accessible-directory-p'. (Bug#13275)
3563
3564 2012-12-27 Sam Steingold <sds@gnu.org>
3565
3566 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3567 continuations, see <http://stackoverflow.com/questions/3582436>.
3568
3569 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3570
3571 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3572 "module" and "def" to have indentation before them.
3573 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3574
3575 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3576
3577 2012-12-27 Alan Mackenzie <acm@muc.de>
3578
3579 Speed up fontification where there's large brace blocks.
3580 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3581 to a call of c-beginning-of-decl-1.
3582
3583 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3584
3585 * comint.el (comint-adjust-window-point): New function.
3586 (comint-postoutput-scroll-to-bottom):
3587 Call comint-adjust-window-point (Bug#13248).
3588
3589 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3590
3591 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3592 Rakefile regexp.
3593 (auto-mode-alist): Associate .gemspec files with ruby-mode
3594 (https://bugs.ruby-lang.org/issues/5453).
3595
3596 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3597
3598 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3599 Suppress coloring, if possible (required for BusyBox based systems like
3600 CyanogenMod).
3601 (tramp-adb-handle-file-attributes)
3602 (tramp-adb-handle-insert-directory)
3603 (tramp-adb-handle-file-name-all-completions): Use it.
3604 (tramp-adb-get-toolbox): New defun. Check for remote shell
3605 implementation (BusyBox or Toolbox).
3606
3607 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3608
3609 * startup.el (initial-buffer-choice): Allow function as value
3610 (Bug#13251).
3611 (command-line-1): Handle case where initial-buffer-choice
3612 specifies a function.
3613 * server.el (server-execute): Handle case where
3614 initial-buffer-choice specifies a function.
3615
3616 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3617
3618 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3619 its own function.
3620 (smtpmail-try-auth-methods): Forget the user name/password if the
3621 login is unsuccessful (bug#12424).
3622
3623 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3624
3625 * notifications.el (notifications-notify): Protect body with
3626 `with-demoted-errors'.
3627
3628 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3629 Check properties of remote device. Restart connection, if there is a
3630 change.
3631
3632 2012-12-21 Chong Yidong <cyd@gnu.org>
3633
3634 * sort.el (sort-subr): Doc fix (Bug#13056).
3635
3636 2012-12-21 Bastien Guerry <bzg@gnu.org>
3637
3638 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3639
3640 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3641
3642 * simple.el (process-file): Overwrite stderr file, if exists.
3643
3644 2012-12-21 Daiki Ueno <ueno@gnu.org>
3645
3646 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3647 (epg-error): Set `error-message' property.
3648
3649 2012-12-21 Chong Yidong <cyd@gnu.org>
3650
3651 * international/mule-cmds.el (read-char-by-name): Signal an error
3652 if the user does not supply a valid character (Bug#13177).
3653
3654 * simple.el (transpose-subr-1): Preserve marker positions by
3655 changing the insertion sequence (Bug#13122).
3656
3657 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3658
3659 * simple.el (kill-region): Deactivate mark even for empty regions
3660 (Bug#13169).
3661
3662 2012-12-21 Chong Yidong <cyd@gnu.org>
3663
3664 * help-fns.el (describe-variable): Make sure we get the right
3665 buffer name (Bug#13105). Suggested by Kelly Dean.
3666
3667 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3668
3669 * comint.el (comint-redirect-previous-input-string): New variable.
3670 (comint-redirect-setup, comint-redirect-cleanup)
3671 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3672 (comint-redirect-preoutput-filter): Fix verbose message.
3673
3674 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3675
3676 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3677 is too long for Tramp. See discussion in
3678 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3679
3680 * progmodes/compile.el (compilation-start): Remove line escape
3681 template.
3682
3683 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3684
3685 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3686 Adjust comment.
3687
3688 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3689
3690 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3691 following non-comment text (bug#13207).
3692 (lm-header-multiline): Continuation lines need to be indented more than
3693 the first line.
3694 (lm-homepage): New function.
3695 (lm-with-file): Don't be confused if narrowing is in effect.
3696
3697 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3700 very beginning of a hunk (e.g. killing the first line).
3701
3702 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3705 and text properties from returned ACL string.
3706 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3707 for "setfacl" command.
3708
3709 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3710
3711 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3712 `tramp-cleanup-this-connection', when the process has died.
3713 (Bug#13151)
3714
3715 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3718
3719 2012-12-17 Kevin Ryde <user42@zip.com.au>
3720
3721 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3722
3723 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3724
3725 Add support for preserving ACL entries of files.
3726
3727 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3728 `set-file-acl' handlers.
3729
3730 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3731 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3732
3733 * net/tramp-compat.el (tramp-compat-copy-file):
3734 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3735
3736 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3737 Add `file-acl' and `set-file-acl' handlers.
3738 (tramp-gvfs-handle-copy-file):
3739 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3740 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3741 New defuns.
3742
3743 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3744 Add `file-acl' and `set-file-acl' handlers.
3745 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3746 (tramp-sh-handle-set-file-acl): New defuns.
3747 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3748 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3749
3750 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3751 Add `file-acl' and `set-file-acl' handlers.
3752 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3753
3754 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3755
3756 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3757 use pop-to-buffer with NORECORD argument t. As buffer name, use
3758 *Metahelp* with a leading space (Bug#13190).
3759
3760 2012-12-16 Romain Francoise <romain@orebokech.com>
3761
3762 * files.el (file-extended-attributes)
3763 (set-file-extended-attributes): New functions.
3764 (backup-buffer): Use them to handle both SELinux context and ACL
3765 entries.
3766 (backup-buffer-copy): Work with an alist of extended attributes,
3767 rather than an SELinux context.
3768 (basic-save-buffer-2): Ditto.
3769
3770 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3771
3772 * battery.el (battery-bsd-apm): New function.
3773
3774 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3775
3776 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3777 standard date formats.
3778
3779 2012-12-15 Juri Linkov <juri@jurta.org>
3780
3781 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3782 `isearch-insert-char-by-name'.
3783 (with-isearch-suspended): New defmacro with body mostly from
3784 `isearch-edit-string' except the part that sets
3785 `isearch-new-string' and `isearch-new-message'.
3786 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3787 body that sets `isearch-new-string' and `isearch-new-message'.
3788 (isearch-insert-char-by-name): New command.
3789 * international/mule-cmds.el (read-char-by-name): Let-bind
3790 `enable-recursive-minibuffers' to t.
3791 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3792
3793 2012-12-15 Juri Linkov <juri@jurta.org>
3794
3795 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3796 (Bug#13175)
3797
3798 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3799
3800 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3801 the prompt. (Bug#13045)
3802
3803 2012-12-14 Glenn Morris <rgm@gnu.org>
3804
3805 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3806 Try to include filename in non-bytecomp warning. (Bug#13132)
3807
3808 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3809
3810 Fix permissions bugs with setgid directories etc. (Bug#13125)
3811 * files.el (backup-buffer): Don't rely on 9th output of
3812 file-attributes, as it's now a placeholder. Instead, use the new
3813 optional arg of file-ownership-preserved-p.
3814 (file-ownership-preserved-p): New optional arg GROUP.
3815 Fix mishandling of setuid directories that would cause this
3816 function to return t when it should have returned nil.
3817 Document what happens if the file does not exist, and when
3818 it's not known whether the ownership will be preserved.
3819 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3820 Likewise.
3821 (tramp-get-local-gid): Use group-gid for integer, as that's
3822 faster and more reliable.
3823
3824 2012-12-14 Julien Danjou <julien@danjou.info>
3825
3826 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3827 Update keywords list, data type and PL/pgSQL.
3828
3829 2012-12-14 Dave Abrahams <dave@boostpro.com>
3830
3831 * vc/ediff-util.el (ediff-buffer-type): New function.
3832 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3833 rather than taking it as as argument.
3834 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3835
3836 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3837
3838 * json.el: Add pretty-print option (bug#12634).
3839 (json-encoding-separator, json-encoding-default-indentation)
3840 (json--encoding-current-indentation, json-encoding-pretty-print)
3841 (json-encoding-lisp-style-closings): New vars.
3842 (json--with-indentation): New macro.
3843 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3844 (json-encode-array): Use it to obey json-encoding-pretty-print.
3845 (json-pretty-print-buffer, json-pretty-print): New commands.
3846
3847 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3848
3849 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3850 Extract `ruby-syntax-propertize-expansions'.
3851 (ruby-syntax-propertize-expansions): Only change syntax on
3852 certain string delimiters, to punctuation. This way the common
3853 functions like forward-word and thing-at-point still work.
3854 (ruby-match-expression-expansion): Improve readability.
3855 (ruby-block-contains-point): New function.
3856 (ruby-add-log-current-method): Handle several edge cases.
3857
3858 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3859
3860 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3861 unload-feature finishes even when aborting an ongoing edebug session.
3862 Also, do not worry about edebug-mode, unload-feature takes care of it.
3863
3864 2012-12-13 Andreas Schwab <schwab@suse.de>
3865
3866 * net/tls.el (tls-program): Update customize type.
3867
3868 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3869
3870 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3871 (edebug-setup-hook, cl-read-load-hooks): Use it.
3872 (edebug-unload-function): New function. (Bug#13163)
3873
3874 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3875
3876 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3877 Otherwise, there could be errors in autoloading. (Bug#13151)
3878
3879 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3880
3881 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3882 sequences.
3883
3884 2012-12-13 Alan Mackenzie <acm@muc.de>
3885
3886 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3887 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3888 around `forward-comment' not recognizing ^M as whitespace.
3889
3890 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3891
3892 * progmodes/python.el (python-skeleton-class)
3893 (python-skeleton-def): Do not add space after defun name.
3894
3895 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3898 (cl--symbol-function): Remove (now that funbound is like nil).
3899
3900 2012-12-12 Glenn Morris <rgm@gnu.org>
3901
3902 * button.el (button--area-button-p): Fix typo.
3903
3904 2012-12-12 Sam Steingold <sds@gnu.org>
3905
3906 * frame.el (frame-maximization-style): New user option.
3907 (toggle-frame-maximized): Toggle frame maximization according to
3908 `frame-maximization-style', bound to <f11>.
3909 (cycle-frame-maximized): Cycle between all maximization styles and
3910 non-maximized frame, bound to shift-<f11>.
3911
3912 2012-12-12 David Cadé <codename68@gmail.com>
3913
3914 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3915
3916 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3917
3918 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3919 (eieio-override-prin1): Don't quote kewords and booleans.
3920 (object-write) <eieio-default-superclass>: Don't put closing parens
3921 on new line, avoid needless empty lines, align values that are objects
3922 with the slot keyword (instead of beginning on the same line).
3923 (eieio-list-prin1): Align value with slot keyword; increase
3924 eieio-print-depth before printing members of the list.
3925
3926 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3929 a display text-property.
3930 (report-emacs-bug-hook): Don't bother deleting it any more.
3931
3932 * hilit-chg.el (highlight-save-buffer-state): Delete.
3933 Use with-silent-modifications instead.
3934 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3935
3936 * button.el: Handle buttons in display text-properties.
3937 (button--area-button-p, button--area-button-string):
3938 Use (STRING . STRING-POS) representation instead of just STRING.
3939
3940 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3941
3942 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3943 subdirectory be skipped.
3944
3945 2012-12-11 Glenn Morris <rgm@gnu.org>
3946
3947 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3948
3949 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3950 Treat preprocessor lines embedded in continuations like comments.
3951 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3952
3953 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3954
3955 * calc/calc.el (calc-standard-date-formats): Add more date
3956 formats.
3957 * calc/calc-forms.el (math-parse-iso-date): New function.
3958 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3959 (math-parse-iso-date-validate): Add extra error checking.
3960 (calc-date-notation): Add ability to access new date formats.
3961
3962 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3965 font-lock as well as when there's no text-property.
3966
3967 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3968
3969 * hi-lock.el: Refine the choice of default face.
3970 (hi-lock-keyword->face): New function. Use it wherever we used
3971 cadadadr instead.
3972 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3973 (hi-lock--last-face): Remove var.
3974 (hi-lock--unused-faces): New var to replace it.
3975 (hi-lock-read-face-name): Use/maintain it.
3976 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3977 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3978 if it has another face.
3979
3980 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3981
3982 * subr.el (w32notify-handle-event): New function.
3983 (inotify-handle-event): Doc fix.
3984
3985 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3986
3987 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3988
3989 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3990
3991 * simple.el (just-one-space): Doc fix.
3992
3993 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3994
3995 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3996
3997 2012-12-10 Le Wang <l26wang@gmail.com>
3998
3999 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4000 narrowed buffer (bug#12361).
4001
4002 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4003
4004 * vc/vc-hooks.el (vc-state): Doc fix.
4005
4006 2012-12-10 Glenn Morris <rgm@gnu.org>
4007
4008 * mail/rmail.el (rmail-maybe-display-summary):
4009 Preserve buffer, in case select-window changes it. (Bug#13066)
4010
4011 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4012
4013 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4014 cl-load-hook where they belong.
4015
4016 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4019
4020 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4021
4022 Parallelize byte compilation on MS-Windows.
4023 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4024 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4025 (WINS_BASIC): Define as concatenation of the above.
4026 (compile): Subdivide into 4 separate and independent jobs that can
4027 be run in parallel.
4028 (compile0-CMD, compile0-SH): New targets for compiling
4029 COMPILE_FIRST files, which are prerequisites for the rest of the
4030 byte-compilation.
4031 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4032 New targets for parallel compilation with cmd.exe.
4033 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4034 compiling under a Unixy shell.
4035
4036 2012-12-09 Chong Yidong <cyd@gnu.org>
4037
4038 * simple.el (set-mark-default-inactive): Delete this
4039 accidentally-introduced option.
4040 (set-mark-command, exchange-point-and-mark): Remove calls.
4041
4042 2012-12-09 Glenn Morris <rgm@gnu.org>
4043
4044 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4045 Respect a defcustom's :set function, if appropriate. (Bug#109)
4046 (eval-defun): Doc fix.
4047
4048 2012-12-08 Juri Linkov <juri@jurta.org>
4049
4050 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4051 (Info-fontify-node, Info-bookmark-make-record): Remove the
4052 file extension from Info-current-file (Bug#13016).
4053
4054 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4055
4056 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4057 point, still provide some default.
4058 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4059 names, since we don't use it right now. Actually return the list.
4060 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4061
4062 2012-12-07 Chong Yidong <cyd@gnu.org>
4063
4064 * novice.el (disabled-command-function): Remove a spurious help
4065 xref (Bug#13043). Suggested by Kelly Dean.
4066
4067 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4068 syntax is specified (Bug#13025).
4069
4070 * info.el (Info-set-mode-line): Remove the file extension from
4071 Info-current-file if there is one (Bug#13016).
4072
4073 2012-12-07 Glenn Morris <rgm@gnu.org>
4074
4075 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4076 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4077 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4078 and rmail-mime-decoded. (Bug#9841)
4079
4080 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4081 (batch-unrmail, unrmail): Doc fixes.
4082 (unrmail): Respect unrmail-mbox-format.
4083 * mail/rmail.el (rmail-mbox-format): New option.
4084 (rmail-show-message-1): Respect rmail-mbox-format.
4085
4086 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4089
4090 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4091
4092 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4093 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4094 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4095 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4096 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4097 (cl-progv): Don't rely on dynamic scoping to find the body.
4098 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4099 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4100 (cl-declaim): Use backquotes.
4101 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4102 Use "cl--" prefix for the object's tag.
4103
4104 * ses.el: Use advice-add/remove.
4105 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4106 (copy-region-as-kill, yank): Use advice-add.
4107 (ses-unload-function): Use advice-remove.
4108
4109 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4110
4111 * button.el: Make them work in header-lines (bug#12817).
4112 (button-map): Add bindings for header-line and mode-line use.
4113 (button-get, button-put, button-label): `button' may now be a string.
4114 (button-activate): Don't make it a defsubst.
4115 (button--area-button-p, button--area-button-string): New functions.
4116 (make-text-button): Fix the return value when `beg' was a string.
4117 (push-button): Handle the mode-line case.
4118
4119 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4122 (sql-signum): Remove. Use `cl-signum' instead.
4123 (sql-read-passwd): Remove; use read-passwd instread.
4124 (sql-get-login-ext): Use read-string.
4125 (sql-get-login): Use dolist and pcase.
4126 (sql--completion-table): Rename from sql-try-completion.
4127 Use complete-with-action.
4128 (sql-mode): Don't change abbrev-all-caps globally.
4129 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4130 (sql-postgres-completion-object): Initialize vars in their `let'.
4131 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4132 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4133 (sql-comint-interbase): Use a single append, without setq.
4134 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4135
4136 * hi-lock.el: Rework the default face and the serialize regexp code.
4137 (hi-lock--auto-select-face-defaults): Remove.
4138 (hi-lock-string-serialize-serial): Remove.
4139 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4140 make weak.
4141 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4142 equal string.
4143 (hi-lock-set-pattern): Adjust accordingly.
4144 (hi-lock--regexps-at-point): Simplify accordingly.
4145 (hi-lock--auto-select-face-defaults): Remove.
4146 (hi-lock--last-face): New var to replace it.
4147 (hi-lock-read-face-name): Rewrite (bug#11095).
4148 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4149
4150 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4151
4152 * net/tramp.el (tramp-replace-environment-variables):
4153 Hide compiler warning.
4154 (tramp-file-name-for-operation): Remove `executable-find',
4155 `start-process', `call-process' and `call-process-region'.
4156
4157 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4158
4159 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4160 compatibility.
4161
4162 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4163
4164 2012-12-06 Chong Yidong <cyd@gnu.org>
4165
4166 * ffap.el (ffap-replace-file-component): Fix typo.
4167
4168 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4171 fix open-paren-like token test (bug#12785).
4172
4173 2012-12-06 Glenn Morris <rgm@gnu.org>
4174
4175 * mail/rmailsum.el (rmail-new-summary): Tweak for
4176 rmail-maybe-display-summary changing buffer. (Bug#13066)
4177
4178 2012-12-06 Juri Linkov <juri@jurta.org>
4179
4180 * info.el (Info-fontify-node): Don't hide the last newline.
4181 (Bug#12272)
4182
4183 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4184
4185 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4186 so as to enable message-read-from-minibuffer to expand mail aliases.
4187
4188 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4191 the `intangible' property.
4192 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4193
4194 2012-12-05 Deniz Dogan <deniz@dogan.se>
4195
4196 * net/rcirc.el (rcirc-urls): Update documentation.
4197 (rcirc-condition-filter): New function.
4198 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4199 and exclude consecutive duplicate URLs (Bug#6082).
4200
4201 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4202
4203 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4204 Check return code of copy command.
4205
4206 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4207 Use group `tramp'. Add version.
4208
4209 2012-12-05 Chong Yidong <cyd@gnu.org>
4210
4211 * ffap.el (ffap-url-regexp): Don't require matching at front of
4212 string (Bug#4952).
4213 (ffap-url-p): If only a substring matches, return that.
4214 (ffap-url-at-point): Use the return value of ffap-url-p.
4215 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4216 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4217 (ffap-guess-file-name-at-point): Likewise.
4218 (ffap-replace-file-component): Fix typo.
4219
4220 * info.el (info-display-manual): Add existing Info buffers, whose
4221 files may not be in Info-directory-list, to the completion.
4222 (info--manual-names): New helper function.
4223
4224 2012-12-05 Glenn Morris <rgm@gnu.org>
4225
4226 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4227 New functions, for detecting and resolving conflicts. (Bug#10709)
4228
4229 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4230
4231 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4232 (hi-lock-auto-select-face-defaults): New buffer local variable.
4233 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4234 (hi-lock-unface-buffer): Prompt user with useful defaults.
4235 With prefix arg, unhighlight all hi-lock patterns in buffer.
4236
4237 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4240
4241 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4242
4243 * Makefile.in (TRAMP_SRC):
4244 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4245
4246 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4247
4248 * net/tramp-adb.el: New package.
4249
4250 2012-12-04 Chong Yidong <cyd@gnu.org>
4251
4252 * terminal.el: Move to obsolete/.
4253
4254 * longlines.el: Move to obsolete/.
4255
4256 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4257 Remove code referring to longlines mode.
4258
4259 2012-12-03 Juri Linkov <juri@jurta.org>
4260
4261 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4262
4263 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4264
4265 * textmodes/ispell.el (ispell-init-process)
4266 (ispell-start-process, ispell-internal-change-dictionary):
4267 Make sure personal dictionary name is expanded after initial
4268 `default-directory' value. Use expanded strings for
4269 keep/restart checks and for value (Bug#13019).
4270
4271 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4272
4273 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4274
4275 2012-12-03 Leo Liu <sdl.web@gmail.com>
4276
4277 * files.el (dir-locals-read-from-file): Check file non-empty
4278 before reading. (Bug#13038)
4279
4280 2012-12-03 Glenn Morris <rgm@gnu.org>
4281
4282 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4283 Remove any version extension before checking filename. (Bug#13006)
4284 (jka-compr-compression-info-list): Belated :version bump.
4285
4286 2012-12-03 Chong Yidong <cyd@gnu.org>
4287
4288 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4289
4290 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4291 (buffer-menu): Doc fix (Bug#12294).
4292
4293 2012-12-03 Roland Winkler <winkler@gnu.org>
4294
4295 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4296 of diary-show-all-entries in the diary buffer (Bug#12994).
4297
4298 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4299
4300 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4301 "<STDIN>". This is binary safe.
4302
4303 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4304
4305 * calc/calc-forms.el (math-absolute-from-iso-dt)
4306 (math-date-to-iso-dt, math-parse-iso-date-validate)
4307 (math-iso-dt-to-date): New functions.
4308 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4309 (math-fd-isoweekday): New variables.
4310 (calc-date-notation, math-parse-standard-date, math-format-date)
4311 (math-format-date-part): Add support for more formatting codes.
4312
4313 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4314
4315 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4316 current buffer's file name when called interactively (Bug#12488).
4317
4318 2012-12-02 Juri Linkov <juri@jurta.org>
4319
4320 * info.el (info-display-manual): Don't clobber an existing Info
4321 buffer (Bug#10770). Add completion (Bug#10771).
4322
4323 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4324
4325 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4326 before using it for comparison (Bug#5297).
4327
4328 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4329
4330 * textmodes/css-mode.el (css-current-defun-name): New function.
4331 (css-mode): Use it.
4332
4333 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4334 (html-mode): Use it.
4335
4336 2012-12-01 Chong Yidong <cyd@gnu.org>
4337
4338 Modularize add-log-current-defun (Bug#2224).
4339 Suggested by Jari Aalto.
4340
4341 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4342 (add-log-current-defun): Move mode-specific code to other files.
4343 (add-log-lisp-like-modes, add-log-c-like-modes)
4344 (add-log-tex-like-modes): Variables deleted.
4345
4346 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4347 (lisp-mode-variables): Use it.
4348
4349 * progmodes/cc-mode.el (c-common-init):
4350 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4351 add-log-current-defun-function.
4352
4353 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4354 (m4-mode): Use it.
4355
4356 * progmodes/perl-mode.el (perl-current-defun-name): New.
4357 (perl-mode): Use it.
4358
4359 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4360 Use lisp-current-defun-name.
4361
4362 * textmodes/tex-mode.el (tex-current-defun-name): New.
4363 (tex-common-initialization): Use it.
4364
4365 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4366 (texinfo-mode): Use it.
4367
4368 2012-12-01 Chong Yidong <cyd@gnu.org>
4369
4370 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4371 * progmodes/autoconf.el (autoconf-mode):
4372 * progmodes/js.el (js-mode):
4373 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4374 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4375 * progmodes/perl-mode.el (perl-mode):
4376 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4377 * textmodes/css-mode.el (css-mode):
4378 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4379 (sgml-tags-invisible, sgml-guess-indent):
4380 * textmodes/tex-mode.el (tex-common-initialization)
4381 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4382 (doctex-mode, plain-tex-mode, latex-mode):
4383 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4384
4385 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4386
4387 * vc/vc-hg.el (vc-hg-next-revision):
4388 Ensure use of default "tip" output format. (Bug#6968)
4389
4390 2012-12-01 Kim F. Storm <storm@cua.dk>
4391
4392 * startup.el (fancy-startup-tail): Add a clickable link
4393 (Bug#2176).
4394
4395 2012-12-01 Chong Yidong <cyd@gnu.org>
4396
4397 * startup.el (fancy-startup-tail): Improve the message about
4398 auto-save files (Bug#2176).
4399
4400 * files.el (recover-session): Improve the descriptive message, and
4401 use substitute-command-keys.
4402
4403 2012-12-01 Glenn Morris <rgm@gnu.org>
4404
4405 * ido.el (ido-file-internal):
4406 Handle other-window, other-frame for dired. (Bug#13036)
4407
4408 2012-11-30 Glenn Morris <rgm@gnu.org>
4409
4410 * icomplete.el (icomplete-separator): Fix :version.
4411
4412 2012-11-30 Chong Yidong <cyd@gnu.org>
4413
4414 * shell.el (shell): For C-u M-x shell, use an inactive shell
4415 buffer as the default (Bug#1975).
4416 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4417 (shell-mode): Use them to reapply ansi colorization if Shell mode
4418 is re-enabled.
4419
4420 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4421
4422 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4423
4424 2012-11-30 Samuel Bronson <naesten@gmail.com>
4425
4426 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4427 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4428
4429 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4430
4431 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4432 by move-to-column (Bug#3234).
4433
4434 2012-11-30 Chong Yidong <cyd@gnu.org>
4435
4436 * longlines.el (longlines-wrap-line, longlines-encode-region):
4437 Preserve text properties (Bug#1425).
4438
4439 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4440
4441 * vc/vc.el (vc-register): Allow registering a file which is
4442 already registered with a different backend (Bug#10589).
4443
4444 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4445 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * icomplete.el: Change separator; add ido-style commands.
4448 (icomplete-show-key-bindings): Remove custom var.
4449 (icomplete-get-keys): Remove function.
4450 (icomplete-forward-completions, icomplete-backward-completions):
4451 New commands.
4452 (icomplete-minibuffer-map): New var.
4453 (icomplete-minibuffer-setup): Use it.
4454 (icomplete-exhibit): Don't delay if the list of completions is known.
4455 (icomplete-separator): New custom.
4456 (icomplete-completions): Use it.
4457 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4458 (minibuffer-force-complete-and-exit): New command.
4459 (minibuffer--complete-and-exit): New function extracted from
4460 minibuffer-complete-and-exit.
4461 (minibuffer-complete-and-exit): Use it.
4462
4463 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4464 error message when the file doesn't exist (bug#12974).
4465
4466 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4467
4468 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4469
4470 2012-11-29 Glenn Morris <rgm@gnu.org>
4471
4472 * files.el (hack-dir-local-variables): Warn if try to set
4473 coding via dir-locals, since it doesn't work. (Bug#7169)
4474
4475 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4476 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4477 Set buffer-local value of desktop-save-buffer.
4478 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4479 New functions.
4480 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4481 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4482
4483 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4484 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4485 Doc fix.
4486 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4487 Doc fixes.
4488
4489 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4490
4491 * calc/calc-forms.el (calc-date-notation): Fix regexp
4492 used to find time codes. Fix symbol for seconds.
4493
4494 2012-11-27 Glenn Morris <rgm@gnu.org>
4495
4496 * emacs-lisp/derived.el (derived-mode-make-docstring):
4497 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4498
4499 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4502 lexically scoped variables (bug#13005).
4503
4504 2012-11-27 Glenn Morris <rgm@gnu.org>
4505
4506 * vc/vc-hooks.el (vc-mistrust-permissions):
4507 Default to t, to avoid data-loss. (Bug#11490)
4508
4509 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4510
4511 * progmodes/python.el (python-indent-guess-indent-offset):
4512 If indentation is guessed make python-indent-offset buffer-local.
4513
4514 Fix Imenu regression.
4515 * progmodes/python.el (python-nav-beginning-of-defun):
4516 Fix forward movement when statement(s) separates point from defun.
4517 (python-imenu-prev-index-position): New function.
4518
4519 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4520
4521 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4522
4523 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4524 Don't set buffer-file-type. Return nil. (Bug#12989)
4525
4526 2012-11-27 Glenn Morris <rgm@gnu.org>
4527
4528 * hippie-exp.el (hippie-expand-try-functions-list):
4529 Re-autoload it. (Bug#12982)
4530
4531 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4532
4533 * descr-text.el (describe-char-padded-string):
4534 Call internal-char-font only on GUI frames. (Bug#11964)
4535
4536 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4537
4538 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4539 and obsoletion message.
4540
4541 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4544 the constructs to keep outside of the `cl-block' (bug#12977).
4545
4546 2012-11-27 Chong Yidong <cyd@gnu.org>
4547
4548 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4549 keep reading until we get the up-event anyway, in order to process
4550 the up-event for mouse-1-click-follows-link (Bug#12971).
4551
4552 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4555 base function is not yet defined (bug#12965).
4556 (ad-activate-advised-definition): Use ad-compile-function.
4557 (ad-activate): Use cond.
4558
4559 2012-11-25 Leo Liu <sdl.web@gmail.com>
4560
4561 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4562 (Bug#12979)
4563
4564 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4565
4566 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4567 reftex-section-info-function in order to be compatible with
4568 Texinfo integration.
4569
4570 * textmodes/reftex.el (reftex-section-pre-regexp)
4571 (reftex-section-post-regexp, reftex-section-info-function):
4572 New variable.
4573 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4574 reftex-section-post-regexp, and reftex-section-info-function in order
4575 to be compatible with Texinfo integration.
4576
4577 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4578 use reftex-section-pre-regexp variable in order to be compatible with
4579 Texinfo integration.
4580
4581 2012-11-25 Chong Yidong <cyd@gnu.org>
4582
4583 * faces.el: Make face-spec-set more analogous to setq.
4584 (face-spec-set): Change the third arg to specify whether this
4585 function is being called via defface, customize, or a third party.
4586 Set the appropriate symbol properties. Clear the override spec if
4587 setting via Custom. Initialize face if necessary. (Bug#4988)
4588 (face-spec-recalc): Allow theme faces to completely replace the
4589 defface spec, in the same way as custom faces (Bug#8454).
4590
4591 * cus-face.el (custom-declare-face): Move face initialization to
4592 face-spec-set.
4593 (custom-theme-set-faces): Don't initialize the face name here, as
4594 that is now done in face-spec-set.
4595
4596 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4597 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4598 Simplify by using the new arg to face-spec-set.
4599
4600 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4601 reset face-override-spec too, and use custom-declare-face.
4602
4603 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4604
4605 * term/ns-win.el (ns-initialize-window-system): Move creation of
4606 fontsets here (Bug#11964).
4607
4608 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4609
4610 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4611 cell renaming.
4612
4613 2012-11-24 Chong Yidong <cyd@gnu.org>
4614
4615 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4616 obsolete.
4617
4618 * custom.el (custom-theme-set-variables): Use a topological sort
4619 for ordering by custom dependencies (Bug#12952).
4620 (custom--sort-vars, custom--sort-vars-1): New functions.
4621
4622 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4625 lexical-binding (bug#12938).
4626
4627 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4628
4629 * image-mode.el (image-transform-check-size): Use assertions only
4630 for images of type imagemagick.
4631
4632 Otherwise no error, image-transform-fit-to-{width,height} is
4633 silently ignored, as before. Doc fix.
4634
4635 2012-11-24 Chong Yidong <cyd@gnu.org>
4636
4637 * faces.el (color-defined-p): Doc fix (Bug#12853).
4638
4639 2012-11-24 Juri Linkov <juri@jurta.org>
4640
4641 * dired.el (dired-mark): Add optional arg `interactive'.
4642 Check for `use-region-p' if `interactive' is non-nil.
4643 (dired-unmark, dired-flag-file-deletion): Add optional arg
4644 `interactive'. Call `dired-mark' with the arg `interactive'.
4645 (Bug#10624)
4646
4647 * wdired.el: Revert 2012-10-17 change partly and replace it with
4648 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4649 (wdired-finish-edit): Add marks for new file names to
4650 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4651 after `revert-buffer'.
4652 (wdired-do-renames): Remove calls to `dired-remove-file',
4653 `dired-add-file', `dired-add-entry'. (Bug#11795)
4654
4655 2012-11-24 Alan Mackenzie <acm@muc.de>
4656
4657 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4658
4659 Fix bugs in the state cache. Enhance a debugging mechanism.
4660 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4661 "brace at column zero" strategy for C++.
4662 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4663 (c-parse-state-point): New variable.
4664 (c-record-parse-state-state): Record old parse state with
4665 `copy-tree'. Record previous value of point.
4666 (c-debug-parse-state-double-cons): New debugging function.
4667 (c-debug-parse-state): Call the above new function.
4668 (c-toggle-parse-state-debug): Output a confirmatory message.
4669
4670 * progmodes/cc-mode.el (c-before-change, c-after-change):
4671 Call c-invalidate-state-cache from `c-before-change' instead of
4672 `c-after-change'.
4673
4674 2012-11-23 Chong Yidong <cyd@gnu.org>
4675
4676 * find-cmd.el (find-constituents): Add executable, ipath,
4677 readable, samefile, writable, daystart, regextype (Bug#12856).
4678
4679 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4682
4683 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4684
4685 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4686 definition. This fixes a bootstrap failure.
4687 (calc-gregorian-switch): In menu, put dates before regions.
4688 This is easier to follow, lines up better in the menu, and lets us
4689 coalesce regions that switch at the same time. Give country
4690 names, not "Vatican", as that's better for non-expert users.
4691 Use names that are stable between the date of switch and now, e.g.,
4692 Bohemia and Moravia (which existed then and now) and not
4693 Czechoslovakia (which didn't exist then and doesn't exist now).
4694 What is now the U.S. mostly did not switch at the same time as
4695 Britain, so omit the U.S. Correct spelling of "Britain".
4696 Catholic Switzerland was too much of a mess, so omit it.
4697
4698 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4699
4700 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4701 after the variable is changed.
4702
4703 2012-11-21 Daniel Colascione <dancol@dancol.org>
4704
4705 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4706 in SQL declarations for font-lock.
4707 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4708
4709 2012-11-21 Glenn Morris <rgm@gnu.org>
4710
4711 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4712 (face-italic-p): Add optional argument "inherit".
4713
4714 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4715 Remove -p suffix from names, for consistency with other set-face-*.
4716 (set-face-inverse-video): Fix interactive spec.
4717 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4718 * textmodes/table.el (table--update-cell-face):
4719 Use set-face-inverse-video rather than now obsolete alias.
4720
4721 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4722
4723 * simple.el (line-move): Don't call line-move-partial if
4724 scroll-conservatively is in effect. (Bug#12927)
4725
4726 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4729 Fallback on completion-at-point rather than
4730 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4731 (eshell-cmpl-initialize): Setup completion-at-point.
4732
4733 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4734
4735 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4736
4737 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4738
4739 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4740 are remote, check out-of-band property for both.
4741
4742 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4745 code rewrite.
4746
4747 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4748
4749 More minor time fixes.
4750 * calendar/time-date.el: Commentary fix.
4751 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4752 too much other code depends on (0 0) time stamps.
4753 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4754 Add a couple of FIXME comments.
4755
4756 Minor cleanup for times as lists of four integers.
4757 * files.el (dir-locals-directory-cache):
4758 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4759 Doc fixes.
4760 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4761 * ps-bdf.el (bdf-file-newer-than-time):
4762 Process four-integers time stamps, not two. Doc fixes.
4763
4764 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * uniquify.el (uniquify-managed): Use defvar-local.
4767 (rename-buffer, create-file-buffer): Advise with advice-add.
4768 (uniquify-unload-function): Unadvise accordingly.
4769
4770 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4771 (trace-buffer): Don't purecopy.
4772 (trace-entry-message, trace-exit-message): Add `context' arg.
4773 (trace--timer): New var.
4774 (trace-make-advice): Adjust for use in nadvice.
4775 Add `context' argument. Delay `display-buffer' via a timer.
4776 (trace-function-internal): Use advice-add.
4777 (trace--read-args): New function.
4778 (trace-function-foreground, trace-function-background): Use it.
4779 (trace-function): Rename to trace-function-foreground and redefine as
4780 an alias to that new name.
4781 (untrace-function, untrace-all): Adjust to the use of nadvice.
4782
4783 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4784
4785 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4786
4787 * subr.el (called-interactively-p-functions): New var.
4788 (internal--called-interactively-p--get-frame): New macro.
4789 (called-interactively-p, interactive-p): Rewrite in Lisp.
4790 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4791 (called-interactively-p-functions): Use it.
4792 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4793 (called-interactively-p-functions): Use it.
4794 * allout.el (allout-called-interactively-p): Don't assume
4795 called-interactively-p is a subr.
4796
4797 2012-11-20 Glenn Morris <rgm@gnu.org>
4798
4799 * profiler.el (profiler-report-mode-map): Add a menu.
4800 No need to bind `q' because we derive from special-mode.
4801 (profiler-report-find-entry): Handle calls from the menu-bar.
4802
4803 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4804
4805 * emacs-lisp/byte-run.el (defun-declarations-alist):
4806 Allow a compiler-macro to be a lambda expression.
4807
4808 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4809 eval-when-compile.
4810 (python-syntax-context): Add compiler-macro.
4811 (python-font-lock-keywords): Simplify with De Morgan.
4812
4813 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4814
4815 * files.el (load-file): Require match in minibuffer selection, as was
4816 the case in Emacs-20 before we changed the spec to allow .elc files
4817 (bug#12935).
4818
4819 * json.el: Don't require cl since we don't use it.
4820 * color.el: Don't require cl.
4821 (color-complement): `caddr' -> `nth 2'.
4822
4823 * calendar/time-date.el (time-to-seconds): De-obsolete.
4824
4825 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4826
4827 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4828 year numbers.
4829 (math-date-to-julian-dt): Adjust the initial approximation for the
4830 year to deal with the new definition of the DATE.
4831
4832 2012-11-19 Daniel Colascione <dancol@dancol.org>
4833
4834 * term/w32-win.el (cygwin-convert-path-from-windows):
4835 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4836
4837 2012-11-18 Chong Yidong <cyd@gnu.org>
4838
4839 * filecache.el (file-cache--read-list): New function.
4840 (file-cache-add-directory-list, file-cache-add-file-list)
4841 (file-cache-delete-file-list, file-cache-delete-directory-list):
4842 Use it to read a list of files or directories (Bug#12846).
4843 (file-cache-add-file, file-cache-add-directory)
4844 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4845 (file-cache-delete-directory): Print an message.
4846
4847 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4848
4849 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4850 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4851
4852 2012-11-18 Glenn Morris <rgm@gnu.org>
4853
4854 * image.el (insert-image, insert-sliced-image): Doc fix.
4855
4856 2012-11-18 Chong Yidong <cyd@gnu.org>
4857
4858 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4859 (Bug#12810).
4860
4861 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4862
4863 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4864 response when the target file is in a subdirectory (Bug#12757).
4865
4866 2012-11-18 Chong Yidong <cyd@gnu.org>
4867
4868 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4869
4870 2012-11-18 Glenn Morris <rgm@gnu.org>
4871
4872 * emacs-lisp/cl-lib.el (face-underline-p):
4873 Use set-face-underline rather than the alias set-face-underline-p.
4874
4875 * window.el (with-temp-buffer-window): Doc fix.
4876 * subr.el (with-output-to-temp-buffer):
4877 Add doc xref to with-temp-buffer-window.
4878
4879 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4882 * calc/calc.el (math-format-date-cache): Declare.
4883
4884 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4885
4886 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4887 It also uses January 1, 1 AD as its day number 1.
4888 * calc/calc-forms.el (math-julian-date-beginning)
4889 (math-julian-date-beginning-int): Implement this.
4890
4891 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4892
4893 * descr-text.el (quail-find-key):
4894 * dired.el (desktop-file-name):
4895 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4896 * generic-x.el (comint-mode, comint-exec):
4897 * image-dired.el (widget-forward):
4898 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4899 (speedbar-change-expand-button-char)
4900 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4901 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4902 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4903 (widget-field-action, widget-value-set):
4904 * speedbar.el (imenu--make-index-alist):
4905 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4906 (ring-length, ring-insert):
4907 * vcursor.el (compare-windows-skip-whitespace):
4908 * woman.el (dired-get-filename):
4909 Declare functions.
4910
4911 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4912
4913 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4914
4915 * calc/calc.el (calc-gregorian-switch): New variable.
4916
4917 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4918 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4919 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4920 (math-leap-year-p): Add option to distinguish between Julian
4921 and Gregorian calendars.
4922 (math-day-number): Use `math-day-in-year' to do the computations.
4923 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4924 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4925 to do the computations.
4926 (math-date-to-dt): Use `math-date-to-julian-dt' and
4927 `math-date-to-gregorian-dt' to do the computations.
4928 (calcFunc-weekday, math-format-date-part): Use the new version of
4929 the DATE to determine the weekday.
4930 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4931 when necessary.
4932
4933 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4934
4935 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4936 Cygwin; otherwise use 'file:'. (Bug#12914)
4937 (cygwin-convert-path-from-windows): Declare, to avoid
4938 byte-compiler warnings.
4939
4940 2012-11-17 Andreas Politz <politza@fh-trier.de>
4941
4942 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4943 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4944 prefix and negative numeric prefix args (Bug#12795).
4945
4946 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4947
4948 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4949 Don't signal an error with a score that is too low to add to the
4950 list of top scores. (Bug#12779)
4951
4952 2012-11-17 Chong Yidong <cyd@gnu.org>
4953
4954 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4955
4956 * filecache.el (file-cache-add-file): Handle relative file name in
4957 the argument (Bug#12694).
4958
4959 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4960
4961 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4962
4963 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4966
4967 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4968
4969 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4970
4971 * window.el (enlarge-window, shrink-window): Don't mention return
4972 value in doc-string (Bug#12896).
4973 (window--display-buffer): Don't resize frames - it won't work
4974 with all window managers and defeat pop-up-frame-alist.
4975 (display-buffer-alist): In doc-string explain that CONDITION can
4976 be a function and which arguments are passed to it (Bug#12854).
4977 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4978 expressions (Bug#12854).
4979 (display-buffer): Pass ACTION argument to
4980 display-buffer-assq-regexp.
4981
4982 2012-11-16 Glenn Morris <rgm@gnu.org>
4983
4984 * window.el (fit-frame-to-buffer-bottom-margin)
4985 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4986
4987 * faces.el (face-underline-p): Use face-attribute-specified-or.
4988
4989 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4990
4991 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4992
4993 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4996
4997 2012-11-16 Glenn Morris <rgm@gnu.org>
4998
4999 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5000 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5001
5002 * faces.el (face-underline-p): Doc fix. Handle :underline being
5003 things other than `t' (a string, a list).
5004 (face-inverse-video-p): Doc fix.
5005 (set-face-underline): Rename it back from set-face-underline-p.
5006 Doc fix. Allow interactive input of values other than t.
5007 (read-face-attribute): Apply formatting to :underline,
5008 since like :box and :stipple it can take list values.
5009
5010 * term.el (ansi-term): Don't let C-x escape-char binding
5011 clobber the more standard C-c binding. (Bug#12842)
5012
5013 * subr.el (set-temporary-overlay-map): Doc fix.
5014
5015 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5016
5017 * window.el (record-window-buffer)
5018 (display-buffer-record-window): When copying the markers to
5019 window-point preserve window-point-insertion-type. (Bug#12588)
5020
5021 2012-11-16 Glenn Morris <rgm@gnu.org>
5022
5023 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5024 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5025 Use new names for hooks rather than obsolete aliases.
5026
5027 2012-11-15 Daniel Colascione <dancol@dancol.org>
5028
5029 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5030 prefix instead of "file:" so that when FILE-NAME begins with "//",
5031 as it does when the target file is on a network share, url-handler
5032 isn't confused.
5033
5034 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5037 a preactivated advice from an old advice.el; they're not compatible!
5038
5039 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5040
5041 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5042 Fix string-spec case.
5043
5044 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5045
5046 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5049 (advice--buffer-local-function-sample): New var.
5050 (advice--set-buffer-local, advice--buffer-local): New functions.
5051 (add-function, remove-function): Use them.
5052
5053 2012-11-15 Drew Adams <drew.adams@oracle.com>
5054
5055 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5056
5057 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5060 potential binding of print-gensym to t, and prettify (back)quotes in
5061 case they appear in args's default values (bug#12884).
5062
5063 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5066 (advice-eval-interactive-spec): New function.
5067 (advice--make-interactive-form): Support around advice (bug#12844).
5068
5069 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5070
5071 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5072 more strict. Add docstring.
5073 (ruby-expression-expansion-re): Extract from
5074 `ruby-match-expression-expansion'.
5075 (ruby-syntax-propertize-function): After everything else, search
5076 for expansions in string literals, mark their insides as
5077 whitespace syntax and save match data for font-lock.
5078 (ruby-font-lock-keywords): Use the 2nd group from expression
5079 expansion matches.
5080 (ruby-match-expression-expansion): Use the match data saved to the
5081 text property in ruby-syntax-propertize-function.
5082
5083 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5086 (bug#12879).
5087
5088 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5089
5090 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5091 start/end keyword a bit harder. Works with different values of N.
5092 Add more comments.
5093 (ruby-end-of-block): Update accordingly.
5094
5095 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * woman.el (woman-file-name): Don't mess with unread-command-events
5098 (bug#12861).
5099
5100 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5101 Remove out of date self-require hack.
5102 (ad-do-advised-functions): Use simple `dolist'.
5103 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5104 (ad-advice-definition): Redefine as functions.
5105 (ad-advice-classes): Move before first use.
5106 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5107 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5108 (ad--defalias-fset): Remove functions.
5109 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5110 (ad-get-orig-definition): Rewrite.
5111 (ad-make-advised-definition-docstring): Change base docstring.
5112 (ad-real-orig-definition): Rewrite.
5113 (ad-map-arglists): Change name of called function.
5114 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5115 (ad-make-advised-definition): Simplify.
5116 (ad-assemble-advised-definition): Tweak for new calling context.
5117 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5118 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5119 function and call ad-activate if needed.
5120 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5121 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5122 (ad-compile-function): Compile ad-Advice-*.
5123 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5124 (ad-start-advice, ad-stop-advice): Remove.
5125
5126 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5127
5128 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5129 period before class method names, not after. Remove handling of
5130 one impossible case. Add comments.
5131
5132 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * emacs-lisp/advice.el: Remove support for freezing.
5135 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5136 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5137 Remove support for `freeze'.
5138
5139 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5140 override the default.
5141 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5142 cl--dotimes/dolist.
5143 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5144 `cl' is loaded.
5145
5146 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5147 from add-advice.
5148 (advice--strip-macro): New function.
5149 (advice--defalias-fset): Use them to handle macros.
5150 (advice-add): Use them.
5151 (advice-member-p): Correctly handle macros.
5152
5153 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5154
5155 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5156 Never font-lock the beginning of singleton class as heredoc.
5157
5158 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5161
5162 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5163
5164 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5165 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5166 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5167
5168 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5169
5170 Fix end-of-defun misbehavior.
5171 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5172 python-beginning-of-defun-function. Handle nested defuns
5173 correctly.
5174 (python-nav-end-of-defun): Rename from
5175 python-end-of-defun-function. Ensure forward movement.
5176 (python-info-current-defun): Reimplement to work as intended
5177 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5178 parent defuns as soon as possible.
5179
5180 2012-11-13 Glenn Morris <rgm@gnu.org>
5181
5182 * progmodes/flymake.el (flymake-error-bitmap)
5183 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5184 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5185
5186 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5187
5188 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5189 backward, always stop at indentation. Reverts the change from
5190 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5191
5192 2012-11-13 Glenn Morris <rgm@gnu.org>
5193
5194 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5195 Add ibuffer-filter-by-derived-mode.
5196
5197 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5198 the same name shadowing each other.
5199
5200 * window.el (with-temp-buffer-window): Doc tweak.
5201
5202 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5203
5204 * help.el (temp-buffer-max-height):
5205 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5206 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5207
5208 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * emacs-lisp/nadvice.el: New package.
5211 * subr.el (special-form-p): New function.
5212 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5213 (elp-all-instrumented-list): Remove var.
5214 (elp-not-profilable): Remove elp-wrapper.
5215 (elp-profilable-p): Use autoloadp and special-form-p.
5216 (elp--advice-name): New const.
5217 (elp-instrument-function): Use advice-add.
5218 (elp--instrumented-p): New predicate.
5219 (elp-restore-function): Use advice-remove.
5220 (elp-restore-all, elp-reset-all): Use mapatoms.
5221 (elp-set-master): Use elp--instrumented-p.
5222 (elp--make-wrapper): Rename from elp-wrapper, return a function
5223 suitable for advice-add. Use cl-inf.
5224 (elp-results): Use mapatoms+elp--instrumented-p.
5225 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5226 (debug-function-list): Remove var.
5227 (debug): Rename arg, and then let-bind it explicitly inside.
5228 (debugger-setup-buffer): Rename arg.
5229 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5230 (debugger-frame-number): Adjust to new debug-on-entry setup.
5231 (debug--implement-debug-on-entry): Rename from
5232 implement-debug-on-entry, add argument.
5233 (debugger-special-form-p): Remove, use special-form-p instead.
5234 (debug-on-entry): Use advice-add.
5235 (debug--function-list): New function.
5236 (cancel-debug-on-entry): Use it, along with advice-remove.
5237 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5238 (debugger-list-functions): Use debug--function-list instead of
5239 debug-function-list.
5240 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5241 (ad-special-form-p): Remove, use special-form-p instead.
5242 (ad-set-advice-info): Use add-function and remove-function.
5243 (ad--defalias-fset): Adjust accordingly.
5244
5245 2012-11-10 Glenn Morris <rgm@gnu.org>
5246
5247 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5248 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5249 (report-emacs-bug-create-existing-bugs-buffer)
5250 (report-emacs-bug-parse-query-results)
5251 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5252
5253 * term.el (term-default-fg-color, term-default-bg-color):
5254 Make obsolete, rather than just saying "deprecated" in the doc.
5255
5256 * term.el (term): Rename from `term-face'.
5257 (term-current-face, ansi-term-color-vector)
5258 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5259 Update all users.
5260
5261 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5262
5263 * server.el (server-create-window-system-frame): Handle Nextstep
5264 specially (Bug#12780).
5265
5266 2012-11-10 Glenn Morris <rgm@gnu.org>
5267
5268 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5269 Unautoload, and make obsolete. (Bug#7449)
5270
5271 2012-11-10 Chong Yidong <cyd@gnu.org>
5272
5273 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5274 rename from diff-remove-trailing-whitespace (Bug#12831).
5275
5276 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5279 miscompilation of trace.el.
5280
5281 2012-11-10 Glenn Morris <rgm@gnu.org>
5282
5283 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5284
5285 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5288 (bug#12812).
5289
5290 2012-11-10 Chong Yidong <cyd@gnu.org>
5291
5292 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5293 a defcustom with an appropriate :set function.
5294 (minibuffer-default--in-prompt-regexps): New function.
5295
5296 2012-11-10 Glenn Morris <rgm@gnu.org>
5297
5298 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5299 (define-modify-macro): Doc fixes.
5300
5301 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5302 (gv-define-simple-setter): Update doc of `fix-return'.
5303
5304 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5307 twice when `fix-return' is set (bug#12813).
5308
5309 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5310 gv-define-simple-setter (bug#12812).
5311
5312 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5313 (bug#12756).
5314
5315 2012-11-10 Glenn Morris <rgm@gnu.org>
5316
5317 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5318
5319 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5320 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5321 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5322 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5323
5324 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5325
5326 2012-11-10 Leo Liu <sdl.web@gmail.com>
5327
5328 * ido.el (ido-set-matches-1): Improve flex matching performance by
5329 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5330
5331 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5334 (ad--defalias-fset): New function.
5335 (ad-safe-fset): Remove.
5336 (ad-make-freeze-definition): Use cl-letf*.
5337
5338 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * subr.el (dolist): Don't bind VAR in RESULT.
5341
5342 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5343 (fset, documentation): Don't save real def since we don't advise.
5344 (ad-do-advised-functions): Remove problematic `result-form'.
5345 (ad-safe-fset): `ad-real-fset' => `fset'.
5346 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5347 uses CL's dolist internally.
5348 (ad-arglist): Remove unused arg `name'.
5349 (ad-docstring, ad-make-advised-docstring):
5350 `ad-real-documentation' => `documentation'.
5351 (warning-suppress-types): Declare.
5352 (ad-set-arguments): Simple CSE.
5353 (ad-recover-normality): Sanity check.
5354
5355 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5356 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5357
5358 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5359
5360 * ses.el: symbol to coordinate mapping is made by symbol property
5361 `ses-cell'. This means that the same mapping is done for all SES
5362 sheets. That is good enough for cells with standard A1 names, but
5363 not for named cell. So a hash map is added for the latter.
5364 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5365 (ses-sym-rowcol): Use hashmap for named cell.
5366 (ses-is-cell-sym-p): New defun.
5367 (ses-decode-cell-symbol): New defun.
5368 (ses-create-cell-variable): Add cell to hashmap when name is not
5369 A1-like.
5370 (ses-rename-cell): Check that cell new name is not already in
5371 spreadsheet with the use of ses-is-cell-sym-p
5372 (ses-rename-cell): Use hash map for named cells, but accept also
5373 renaming back to A1-like.
5374
5375 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * emacs-lisp/advice.el: Use new dynamic docstrings.
5378 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5379 Use dynamic-docstring-function instead of ad-advice-info.
5380 (ad--make-advised-docstring): New function extracted from
5381 ad-make-advised-docstring.
5382 (ad-make-advised-docstring): Use it.
5383 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5384 from sql-help.
5385 (sql-help): Use it with dynamic-docstring-function.
5386
5387 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5388
5389 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * files.el (hack-one-local-variable--obsolete): New function.
5392 (hack-one-local-variable): Use it for obsolete settings.
5393
5394 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5395 the new name.
5396
5397 * progmodes/js.el (js--filling-paragraph): New var.
5398 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5399 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5400 less sneaky.
5401
5402 2012-11-08 Julien Danjou <julien@danjou.info>
5403
5404 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5405 `auto-mode-alist' (Bug#12835).
5406
5407 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5410 (perl--prettify-symbols-alist): New const.
5411 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5412 New functions.
5413 (perl-font-lock-keywords-2): Use them.
5414 (perl-electric-noindent-p): New function.
5415 (perl-mode): Use it to set up electric-indent-mode.
5416 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5417 (perl-mode-map): Remove bindings for them.
5418 (perl-imenu-generic-expression, perl-outline-level):
5419 Match functions&packages in column>0.
5420
5421 * env.el (env--substitute-vars-regexp): New const.
5422 (substitute-env-vars): Use it. Add `only-defined' arg.
5423 * net/tramp.el (tramp-replace-environment-variables): Use it.
5424
5425 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5426 Byte-compile *before* eval in eval-and-compile.
5427 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5428 (byte-compile-file-form-autoload): Don't hide actual definition.
5429 (byte-compile-maybe-guarded): Accept `functionp' as well.
5430
5431 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5432
5433 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5434
5435 * notifications.el (notifications-get-server-information-method):
5436 New defconst.
5437 (notifications-get-capabilities): Fix docstring.
5438 (notifications-get-server-information): New defun.
5439
5440 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5441
5442 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5443 readability.
5444
5445 * textmodes/ispell.el: Experimental support for support debugging.
5446 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5447 buffer for ispell.
5448 (ispell-print-if-debug): New function to print stuff to
5449 `ispell-debug-buffer' if debugging is enabled.
5450 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5451 show some debugging info.
5452 (ispell-buffer-with-debug): New function that creates a debugging
5453 buffer and calls `ispell-buffer' with debugging enabled.
5454
5455 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5456 comment in autoconf mode. (Bug#12768)
5457
5458 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5459
5460 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5461 frame-first-window, frame-root-window, frame-selected-window,
5462 minibuffer-selected-window, minibuffer-window,
5463 window-absolute-pixel-edges, window-at, window-body-height,
5464 window-body-width, window-display-table, window-combination-limit,
5465 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5466 window-inside-edges, window-inside-pixel-edges, window-left-child,
5467 window-left-column, window-margins, window-next-buffers,
5468 window-next-sibling, window-new-normal, window-new-total,
5469 window-normal-size, window-parameter, window-parameters, window-parent,
5470 window-pixel-edges, window-point, window-prev-buffers,
5471 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5472 window-start, window-text-height, window-top-child, window-top-line,
5473 window-total-height, window-total-width and window-use-time to the list
5474 of functions without side-effects.
5475 (toplevel): Add window-valid-p to the list of error-free functions
5476 without side-effects.
5477
5478 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5479
5480 * textmodes/ispell.el (ispell-program-name):
5481 Update spellchecker parameters when customized.
5482
5483 2012-11-04 Glenn Morris <rgm@gnu.org>
5484
5485 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5486
5487 2012-11-04 Chong Yidong <cyd@gnu.org>
5488
5489 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5490 same-window-* variables.
5491
5492 2012-11-04 Juri Linkov <juri@jurta.org>
5493
5494 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5495 (isearch-describe-key, isearch-describe-mode): Use a display
5496 action instead of binding same-window-* variables (Bug#10040).
5497
5498 2012-11-03 Glenn Morris <rgm@gnu.org>
5499
5500 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5501 Rename handler properties back from cl-- to cl-. (Bug#12788)
5502
5503 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5504
5505 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5506
5507 * term/pc-win.el: Don't load term/internal from here.
5508
5509 * loadup.el: Load term/internal from here.
5510
5511 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5512
5513 * progmodes/python.el (inferior-python-mode): Fix hang in
5514 jit-lock (Bug#12645).
5515
5516 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (switch-to-visible-buffer)
5519 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5520
5521 2012-11-03 Glenn Morris <rgm@gnu.org>
5522
5523 * emacs-lisp/cl-lib.el (cl--random-time):
5524 Rename from cl-random-time. (Bug#12773)
5525 (cl--gensym-counter, cl--random-state): Update callers.
5526 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5527
5528 2012-11-03 Chong Yidong <cyd@gnu.org>
5529
5530 * cus-start.el: Make cursor-type customizable (Bug#11633).
5531
5532 2012-11-02 Glenn Morris <rgm@gnu.org>
5533
5534 * filecache.el: No need to load find-lisp when compiling.
5535 (find-lisp-find-files): Autoload it.
5536 (file-cache-add-directory-recursively): Don't require find-lisp.
5537
5538 * image.el (image-type-from-file-name): Trivial simplification.
5539
5540 * emacs-lisp/bytecomp.el (byte-compile-eval):
5541 Decouple "noruntime" and "cl-functions" warnings.
5542
5543 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5544
5545 * play/gomoku.el (gomoku-display-statistics): Update mode line
5546 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5547
5548 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5549
5550 * window.el (quit-restore-window): If the window has been
5551 created on an existing frame and ended up as the sole window on
5552 that frame, do not delete it (Bug#12764).
5553
5554 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5557 Rename from sh--inside-arithmetic-expression, handle more cases
5558 (bug#11263).
5559
5560 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5561 (sh-font-lock-open-heredoc): Use it (bug#12770).
5562
5563 2012-10-30 Glenn Morris <rgm@gnu.org>
5564
5565 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5566
5567 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5568
5569 2012-10-29 Chong Yidong <cyd@gnu.org>
5570
5571 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5572 function key is stored in a keyboard macro (Bug#4894).
5573
5574 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5575
5576 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5579 header comments".
5580 (diff-unified->context, diff-context->unified)
5581 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5582
5583 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5584
5585 * files.el (find-alternate-file): Only ask one question (bug#12487).
5586
5587 2012-10-29 Chong Yidong <cyd@gnu.org>
5588
5589 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5590 Suggested by Dan Nicolaescu (Bug#6326).
5591
5592 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5593
5594 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5595
5596 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5597
5598 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5599
5600 * face-remap.el (face-remap-add-relative): Handle the case where a
5601 face-remapping-alist entry is a cons cell (Bug#12762).
5602
5603 2012-10-29 Kevin Ryde <user42@zip.com.au>
5604
5605 * woman.el (woman-parse-numeric-value): Handle picas correctly
5606 (Bug#12639).
5607
5608 2012-10-29 Glenn Morris <rgm@gnu.org>
5609
5610 * emacs-lisp/cl.el (defsetf): Doc fix.
5611
5612 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5615 syntax to the matching opener, if any (bug#12547).
5616 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5617 matching open as a "case-(".
5618 (sh-smie-rc-grammar): Add a corresponding rule for it.
5619
5620 2012-10-28 Daniel Hackney <dan@haxney.org>
5621
5622 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5623 "PKGNAME-autoloads.el" in case we created it.
5624
5625 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5628 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5629 (completion--twq-all): Disable too-strict assertions.
5630
5631 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5632
5633 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5634
5635 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5636 text to match the real keybindings.
5637
5638 2012-10-27 Juri Linkov <juri@jurta.org>
5639
5640 * wdired.el (wdired-keep-marker-rename): New defcustom.
5641 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5642 (Bug#11795)
5643
5644 * dired.el (dired-keep-marker-rename): Add reference to
5645 `wdired-keep-marker-rename' in the docstring.
5646 Add default character value ?R to display initially in
5647 Customization UI instead of ?@.
5648
5649 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5650
5651 * window.el (display-buffer): In doc-string describe
5652 window-height and window-width alist entries.
5653
5654 * time.el (display-time-world): Restore fit-window-to-buffer
5655 behavior.
5656
5657 2012-10-27 Chong Yidong <cyd@gnu.org>
5658
5659 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5660
5661 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5662
5663 * minibuffer.el (completion-category-overrides): New completion
5664 category `bookmark' (bug#11131).
5665
5666 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5669 Silence bogus compiler warnings for ad-do-it.
5670
5671 * bookmark.el (bookmark-completing-read): Set the completion category
5672 to `bookmark' (bug#11131).
5673
5674 2012-10-26 Bastien <bzg@altern.org>
5675 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * face-remap.el: Use lexical-binding.
5678 (text-scale-adjust): Improve docstring. Use itself for the temporary
5679 overlay-map bindings, so as to repeat the "Use..." message each time.
5680
5681 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * emacs-lisp/macroexp.el (macroexp--expand-all):
5684 Obey byte-compile-warning-enabled-p (bug#12486).
5685
5686 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5687 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5688
5689 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5690
5691 * mouse.el (mouse-drag-line): Move last form into preceding when
5692 clause (Bug#12731).
5693
5694 * help.el (resize-temp-buffer-window): Fix doc-string.
5695
5696 2012-10-25 David Engster <deng@randomsample.de>
5697
5698 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5699 Remove. This feature is already integrated in imenu.
5700
5701 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5702 always loaded. Require `speedbar' unconditionally.
5703
5704 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5707
5708 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5709
5710 * net/ldap.el (ldap-search-internal): The official ldif format starts
5711 with a "version: 1" header (bug#12724).
5712
5713 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5714 (bug#12721).
5715
5716 2012-10-25 Glenn Morris <rgm@gnu.org>
5717
5718 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5719
5720 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * minibuffer.el (minibuffer-force-complete): Use one more marker
5723 for the temporary-overlay-map command (bug#12619).
5724
5725 2012-10-24 Chong Yidong <cyd@gnu.org>
5726
5727 * time.el (display-time-world-mode): Derive from special-mode.
5728 (display-time-world): Use display-buffer (Bug#12708).
5729 (display-time-world-mode-map): Variable deleted.
5730 (display-time-world-display): Wrap the final delete-char inside
5731 inhibit-read-only.
5732
5733 2012-10-24 Chong Yidong <cyd@gnu.org>
5734
5735 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5736 Doc fix.
5737
5738 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5739
5740 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * minibuffer.el (completion--all-sorted-completions-location): New var.
5743 (completion--cache-all-sorted-completions)
5744 (completion--flush-all-sorted-completions): Use it.
5745 (completion-in-region, completion-in-region--postch)
5746 (completion-at-point, completion-help-at-point): Use markers in
5747 completion-in-region--data (bug#12619).
5748
5749 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * progmodes/compile.el (compilation-start): Try to handle common
5752 quoting of `cd' argument (bug#12640).
5753
5754 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5755 (bug#12671).
5756
5757 2012-10-23 Glenn Morris <rgm@gnu.org>
5758
5759 * progmodes/gud.el (gud-menu-map):
5760 Check gdb-active-process is bound. (Bug#12358)
5761
5762 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * repeat.el (repeat): Set real-this-command (bug#12232).
5765
5766 * htmlfontify.el (hfy-post-html-hook):
5767 * filesets.el (filesets-cache-fill-content-hook):
5768 * arc-mode.el (archive-extract-hook):
5769 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5770 * net/rcirc.el (rcirc-sentinel-functions)
5771 (rcirc-receive-message-functions, rcirc-activity-functions)
5772 (rcirc-print-functions):
5773 * net/dbus.el (dbus-event-error-functions):
5774 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5775 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5776 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5777 * term/sun.el (sun-raw-prefix-hooks):
5778 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5779
5780 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5781
5782 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5783 Set `tramp-chunksize' to 1. This improves the performance.
5784 (tramp-smb-wait-for-output): Add timeout to
5785 `tramp-accept-process-output' calls.
5786
5787 2012-10-23 Chong Yidong <cyd@gnu.org>
5788
5789 * faces.el (font-list-limit): Define as an obsolete variable.
5790
5791 * startup.el (command-line):
5792 * cus-start.el: Don't refer to font-list-limit.
5793
5794 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5795
5796 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * subr.el (internal-temp-output-buffer-show): Rename from
5799 temp-output-buffer-show, since previously compiled files expect this name.
5800
5801 2012-10-23 Glenn Morris <rgm@gnu.org>
5802
5803 * image.el (image-type-from-file-name): If multiple types match,
5804 return the first one that is supported. (Bug#9045)
5805
5806 2012-10-22 Glenn Morris <rgm@gnu.org>
5807
5808 * image.el (imagemagick-enabled-types): Doc fix.
5809
5810 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5811
5812 * progmodes/which-func.el (which-func-current): The hash-table may have
5813 an explicit nil (bug#12338).
5814
5815 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * electric.el (electric-pair-delete-selection-self-insert-function):
5818 Rename to electric-pair-will-use-region, return a boolean.
5819 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5820
5821 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5822 (delete-selection-pre-hook): Use use-region-p.
5823 (delete-selection-self-insert-function): Remove.
5824 (self-insert-command): Obey self-insert-uses-region-functions.
5825 (self-insert-iso): Revert to previous setting, since we don't actually
5826 know what that command does.
5827 (delete-selection-self-insert-hooks): Remove.
5828
5829 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5830
5831 * delsel.el (delete-selection-helper): New function, extracted from
5832 delete-selection-pre-hook.
5833 (delete-selection-pre-hook): Use it.
5834 (delete-selection-self-insert-function): New function.
5835 (delete-selection-self-insert-hooks): New hook.
5836 (self-insert-command, self-insert-iso): Use it.
5837 * electric.el (electric-pair-syntax): New function, extracted from
5838 electric-pair-post-self-insert-function.
5839 (electric-pair-post-self-insert-function): Use it.
5840 (electric-pair-delete-selection-self-insert-function): New function.
5841 (electric-pair-mode): Require delsel and setup
5842 delete-selection-self-insert-hooks (bug#11520).
5843
5844 2012-10-20 Chong Yidong <cyd@gnu.org>
5845
5846 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5847 no changes to show (Bug#12586).
5848
5849 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5850 list explicitly (Bug#12571).
5851
5852 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5853
5854 * progmodes/flymake.el (flymake-create-temp-inplace):
5855 Use file-truename.
5856
5857 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5858
5859 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5860
5861 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5862
5863 * calc/calc-units.el (math-extract-units): Properly extract powers
5864 of units.
5865
5866 2012-10-20 Daniel Colascione <dancol@dancol.org>
5867
5868 * frame.el (make-frame): Set x-display-name as we used to in order
5869 to unbreak creating an X11 frame from an Emacs daemon started
5870 without a display.
5871
5872 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5875 the same completion-field (bug#12221).
5876
5877 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5878
5879 * emacs-lisp/debug.el (debug): Record height of debugger window
5880 also when debugger will be back (Bug#8789).
5881
5882 2012-10-18 Chong Yidong <cyd@gnu.org>
5883
5884 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5885 Convert to defcustom.
5886 (gdb-get-source-file): Don't bind pop-up-windows.
5887
5888 * progmodes/gud.el (gud-display-line): Don't specially re-use
5889 other frames for the gdb-mi case (Bug#12648).
5890
5891 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * emacs-lisp/advice.el: Clean up commentary a bit.
5894 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5895 (byte-code-function-p): Never redefine.
5896
5897 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5898
5899 2012-10-18 Glenn Morris <rgm@gnu.org>
5900
5901 * dired.el (dired-sort-toggle): Some ls implementations only allow
5902 a single option string. (Bug#12666)
5903
5904 * minibuffer.el (completion-cycle-threshold): Doc fix.
5905
5906 2012-10-17 Kenichi Handa <handa@gnu.org>
5907
5908 * international/mule.el (set-keyboard-coding-system):
5909 Recover input meta mode when the new coding system doesn not use 8-bit.
5910 Supply TERMINAL arg to set-input-meta-mode.
5911
5912 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5913
5914 * wdired.el (wdired-old-marks): New variable.
5915 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5916 (wdired-do-renames): Move point with renamed file and don't lose
5917 mark status (Bug#11795).
5918
5919 2012-10-16 Juri Linkov <juri@jurta.org>
5920
5921 * replace.el (query-replace-help): Mention multi-buffer replacement
5922 keys in the Help message. (Bug#12655)
5923
5924 2012-10-15 Chong Yidong <cyd@gnu.org>
5925
5926 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5927
5928 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5929
5930 * window.el (display-buffer): Doc fix.
5931
5932 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5933 Adjust the msft regexp to the output of Studio 2010, and move msft
5934 before edg-1. See the discussion on emacs-devel,
5935 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5936 for the details.
5937
5938 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5941 (oset): Move uses of object-class-fast macro after its definition.
5942
5943 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5944
5945 2012-10-13 Chong Yidong <cyd@gnu.org>
5946
5947 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5948 enabled, re-enable it (Bug#11963).
5949
5950 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5951
5952 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5953 non-nil, restore window configuration (Bug#12623).
5954
5955 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * help-fns.el (describe-variable, describe-function-1):
5958 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5959
5960 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5961
5962 2012-10-12 Glenn Morris <rgm@gnu.org>
5963
5964 * mail/rmailsum.el (rmail-header-summary):
5965 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5966
5967 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5968
5969 * progmodes/python.el (python-mode-map):
5970 Replace subtitute-key-definition with proper command remapping.
5971 (python-nav--up-list): Fix behavior for blocks on the same level.
5972
5973 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5976
5977 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5978 changes to the format of load-history.
5979
5980 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5981 completion-ignore-case in case that var is buffer-local (bug#12615).
5982
5983 2012-10-11 Kenichi Handa <handa@gnu.org>
5984
5985 * international/eucjp-ms.el: Re-generated.
5986
5987 2012-10-10 Kenichi Handa <handa@gnu.org>
5988
5989 * select.el (xselect--encode-string): If a coding is specified for
5990 selection, and that is compatible with COMPOUND_TEXT, use it.
5991
5992 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5993
5994 * window.el (switch-to-buffer-preserve-window-point): New option.
5995 (switch-to-buffer):
5996 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5997
5998 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5999
6000 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6001 Don't document nil as a useful value (bug#12583).
6002
6003 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6004
6005 * net/tramp.el (tramp-debug-message):
6006 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6007 (with-tramp-progress-reporter): Rename from
6008 `tramp-with-progress-reporter'.
6009 (with-tramp-file-property, with-tramp-connection-property):
6010 Move from tramp-cache.el, rename from `with-file-property' and
6011 `with-connection-property', respectively.
6012
6013 * net/tramp-cache.el: Remove `with-file-property' and
6014 `with-connection-property'.
6015
6016 * net/tramp.el:
6017 * net/tramp-gvfs.el:
6018 * net/tramp-sh.el:
6019 * net/tramp-smb.el: Adapt callees.
6020
6021 * net/trampver.el: Update release number.
6022
6023 2012-10-09 Glenn Morris <rgm@gnu.org>
6024
6025 * w32-fns.el (set-message-beep):
6026 * term/w32-win.el (set-message-beep): Update declarations.
6027
6028 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6031 (mode-line-widen, mode-line-input-method-map)
6032 (mode-line-coding-system-map, mode-line-remote)
6033 (mode-line-unbury-buffer, mode-line-bury-buffer)
6034 (mode-line-next-buffer, mode-line-previous-buffer):
6035 Replace save-selected-window+select-window => with-selected-window.
6036
6037 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6038 * progmodes/cc-vars.el (bq-process): Remove, unused.
6039
6040 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6041
6042 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6043
6044 Implemented `backward-up-list'-like navigation.
6045 * progmodes/python.el (python-nav-up-list)
6046 (python-nav-backward-up-list): New functions.
6047 (python-mode-map): Define substitute key for backward-up-list to
6048 python-nav-backward-up-list.
6049
6050 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6051
6052 * progmodes/python.el (python-fill-paragraph): Rename from
6053 python-fill-paragraph-function. Fixed fill-paragraph for
6054 decorators (Bug#12605).
6055
6056 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6057
6058 * progmodes/python.el (python-shell-output-filter): Handle extra
6059 carriage return in OSX (Bug#12409).
6060
6061 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6062
6063 Fix shell handling of unbalanced quotes and parens in output.
6064 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6065 (python-syntax-propertize-function): Use it.
6066 (python-shell-output-syntax-table): New var.
6067 (inferior-python-mode): Prevent unbalanced parens/quotes from
6068 previous output mess with current input context.
6069
6070 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6073 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6074
6075 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6076
6077 * ffap.el (ffap-replace-file-component): Support Tramp file name
6078 syntax, not only ange-ftp's one.
6079
6080 2012-10-08 Glenn Morris <rgm@gnu.org>
6081
6082 * cus-start.el (message-log-max): Set :version.
6083
6084 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6085
6086 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6087
6088 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6089 the minibuffer window (Bug#10851).
6090
6091 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6092
6093 Enhancements on forward-sexp movement.
6094 * progmodes/python.el (python-nav-beginning-of-statement)
6095 (python-nav-end-of-statement): Return point-marker.
6096 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6097 (python-info-current-symbol)
6098 (python-info-statement-starts-block-p): Rename from
6099 python-info-beginning-of-block-p.
6100 (python-info-statement-ends-block-p): Rename from
6101 python-info-end-of-block-p.
6102 (python-info-beginning-of-statement-p)
6103 (python-info-end-of-statement-p)
6104 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6105 New functions.
6106
6107 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6110 frame-selected-windows.
6111
6112 2012-10-08 Daniel Colascione <dancol@dancol.org>
6113
6114 * battery.el (battery-status-function): Check for
6115 w32-battery-status itself, not system-time windows-nt.
6116
6117 * frame.el: Require cl-lib.
6118 (display-format-alist): New variable mapping frame types to
6119 functions that initialize them.
6120 (window-system-for-display): New function: interprets
6121 display-format-alist.
6122 (make-frame-on-display): Remove existing display-selection logic
6123 and just forward to make-frame, which will now DTRT.
6124 (make-frame): Restructure to use window-system-for-display to
6125 figure out how to create a frame on a given display.
6126 (display-mouse-p): Look for frame-type w32, not a particular
6127 system-type.
6128
6129 * loadup.el: Load w32 lisp code when we have the w32 feature.
6130
6131 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6132 system-type windows-nt.
6133
6134 * server.el (server-create-window-system-frame): Look for window
6135 type.
6136 (server-proces-filter): Only force a window system when windows-nt
6137 _and_ w32. Explain why.
6138
6139 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6140 of window systems we configure for the mode.
6141
6142 * startup.el (command-line): Mark window system is initialized
6143 after we've done it.
6144
6145 * common-win.el (x-select-text): Look for w32, not windows-nt.
6146
6147 * ns-win.el: Require cl-lib. Add ourselves to
6148 display-format-alist.
6149 (ns-initialize-window-system): Assert we're not initialized twice.
6150
6151 * w32-win.el: Enable lexical binding; require cl-lib; add
6152 ourselves to display-format-alist.
6153 (w32-handle-dropped-file): Convert incoming dropped files from
6154 Windows paths to Cygwin ones before passing them on to the rest of
6155 Emacs.
6156 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6157 (w32-initialize-window-system): Assert we're not initialized twice.
6158
6159 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6160 (x-initialize-window-system): Assert we're not initialized twice.
6161
6162 * w32-common-fns.el: New File.
6163 (w32-version, w32-using-nt, w32-get-clipboard-data)
6164 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6165 (w32-charset-info-alist, x-last-selected, text)
6166 (x-get-selection-value, x-selection-value): Move here.
6167
6168 * w32-fns.el: Require w32-common-fns.
6169 (w32-version, w32-using-nt, w32-get-clipboard-data)
6170 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6171 (w32-charset-info-alist, x-last-selected, text)
6172 (x-get-selection-value, x-selection-value): Move to
6173 w32-common-fns.
6174
6175 * w32-vars.el:
6176 (w32-allow-system-shell, w32-system-shells): Define only in
6177 non-cygwin case.
6178
6179 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6182 (read-passwd): Remove a few more potential sources of leaks.
6183
6184 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6185
6186 * progmodes/python.el (inferior-python-mode)
6187 (python-shell-make-comint): Fix initialization of local
6188 variables copied from parent buffer.
6189
6190 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6191
6192 * term/ns-win.el (ns-read-file-name): Update declaration to match
6193 nsfns.m.
6194 (ns-respond-to-change-font): Change fontsize separately so we are sure
6195 it is set when font is acted upon.
6196
6197 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6198
6199 Enhancements to indentation.
6200 * progmodes/python.el (python-indent-context): Give priority to
6201 inside-string context. Make comments indentation markers.
6202 (python-indent-region): Do not mess with strings, unless it's the
6203 enclosing set of quotes.
6204
6205 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * window.el (internal--before-save-selected-window)
6208 (internal--after-save-selected-window): New functions extracted from
6209 save-selected-window. Make sure we return the `alist' we construct.
6210 (save-selected-window): Use them.
6211
6212 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6213 Use with-selected-window.
6214
6215 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6216 forms that define macros (bug#12593).
6217
6218 2012-10-07 Kenichi Handa <handa@gnu.org>
6219
6220 * international/mule-conf.el (compound-text-with-extensions):
6221 Add :mime-charset property as x-ctext.
6222
6223 2012-10-07 Stefan Merten <smerten@oekonux.de>
6224
6225 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6226 (rst-indent-literal-normal, rst-indent-literal-minimized)
6227 (rst-indent-comment): Correct :version tag.
6228 (rst-official-cvs-rev): Correct version string.
6229
6230 2012-10-07 Glenn Morris <rgm@gnu.org>
6231
6232 * mail/rmailmm.el (rmail-mime-process-multipart):
6233 Do not confuse a multipart message with an epilogue
6234 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6235
6236 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6237
6238 Fix shell output retrieval and comint-prompt-regexp init.
6239 * progmodes/python.el (inferior-python-mode):
6240 (python-shell-make-comint): Fix initialization of
6241 comint-prompt-regexp from copied file local variables.
6242 (python-shell-fetched-lines): Remove var.
6243 (python-shell-output-filter-in-progress): Rename from
6244 python-shell-fetch-lines-in-progress.
6245 (python-shell-output-filter-buffer): Rename from
6246 python-shell-fetch-lines-string.
6247 (python-shell-fetch-lines-filter): Delete function.
6248 (python-shell-output-filter): New function.
6249 (python-shell-send-string-no-output): Use them.
6250
6251 2012-10-07 Glenn Morris <rgm@gnu.org>
6252
6253 * hi-lock.el (hi-lock-process-phrase):
6254 Try to make it less fragile. (Bug#7161)
6255
6256 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6257
6258 2012-10-06 Glenn Morris <rgm@gnu.org>
6259
6260 * ehelp.el (electric-help-mode): Use help-mode rather than
6261 non-existent mode `help'.
6262 (electric-help-map): Use button-buffer-map. (Bug#10917)
6263
6264 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6265 (reftex-create-bibtex-footer): Fix custom types.
6266
6267 * progmodes/sh-script.el (sh-indent-after-continuation):
6268 Add explicit :group.
6269
6270 * textmodes/rst.el (rst-preferred-decorations)
6271 (rst-shift-basic-offset): Clarify obsolescence versions.
6272
6273 * profiler.el (profiler): Add missing group :version tag.
6274 * avoid.el (mouse-avoidance-banish-position):
6275 * proced.el (proced-renice-command):
6276 * calc/calc.el (calc-ensure-consistent-units):
6277 * calendar/icalendar.el (icalendar-import-format-uid):
6278 * net/tramp.el (tramp-save-ad-hoc-proxies):
6279 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6280 * progmodes/flymake.el (flymake-error-bitmap)
6281 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6282 * progmodes/sh-script.el (sh-indent-after-continuation):
6283 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6284 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6285 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6286 (vhdl-array-index-record-field-in-sensitivity-list)
6287 (vhdl-indent-comment-like-next-code-line):
6288 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6289 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6290 (reftex-cite-key-separator, reftex-create-bibtex-header)
6291 (reftex-create-bibtex-footer):
6292 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6293 (rst-indent-literal-normal, rst-indent-literal-minimized)
6294 (rst-indent-comment): Add missing custom :version tags.
6295
6296 * calendar/timeclock.el (timeclock-modeline-display):
6297 Add missing obsolete alias for renamed user option.
6298
6299 * strokes.el (strokes-modeline-string):
6300 * emulation/crisp.el (crisp-mode-modeline-string):
6301 * eshell/esh-mode.el (eshell-status-in-modeline):
6302 Aliases to defcustoms must come before the defcustom.
6303
6304 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6305 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6306 (cal-tex-cursor-week-monday): Doc fixes.
6307 (cal-tex-cursor-week2-summary): Doc fix.
6308 Rename from cal-tex-cursor-week-at-a-glance.
6309
6310 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6311 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6312
6313 * calendar/calendar.el (calendar-mode-map):
6314 Add cal-tex-cursor-week2-summary.
6315
6316 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6319
6320 * subr.el (read-passwd-map): New var.
6321 (read-passwd): Use `read-string' again.
6322 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6323
6324 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6325
6326 * register.el (append-to-register, prepend-to-register):
6327 Deactivate mark, as does `copy-to-register' (bug#12389).
6328
6329 2012-10-06 Chong Yidong <cyd@gnu.org>
6330
6331 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6332
6333 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6334
6335 * international/characters.el: Fix simple mistake ((car chars) ->
6336 elt), delete duplicated code.
6337
6338 2012-10-06 Glenn Morris <rgm@gnu.org>
6339
6340 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6341
6342 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6343
6344 * color.el (color-hsl-to-rgb): Fix incorrect results for
6345 small and large hue values. (Bug#12559)
6346
6347 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6348
6349 Enhancements to docstring formatting when filling paragraphs.
6350 * progmodes/python.el (python-fill-docstring-style): Rename from
6351 python-fill-string-style. Added new style.
6352 (python-fill-string): Use new style. Better checks for
6353 docstrings.
6354
6355 2012-10-05 Glenn Morris <rgm@gnu.org>
6356
6357 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6358
6359 * color.el (color-name-to-rgb, color-rgb-to-hex)
6360 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6361 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6362 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6363 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6364
6365 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6366
6367 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6368
6369 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6370 to get the correct size across symlinks.
6371
6372 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6373
6374 2012-10-04 Juri Linkov <juri@jurta.org>
6375
6376 * replace.el (query-replace-interactive): Declare obsolete.
6377 (query-replace-read-from): Add the last incremental search string
6378 to the list of default values accessible via M-n.
6379 (map-query-replace-regexp): Use `read-regexp'.
6380 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6381 (map-query-replace-regexp, replace-string, replace-regexp):
6382 Fix docstrings to replace mentions of `query-replace-interactive'
6383 with alternatives. (Bug#12526)
6384
6385 2012-10-04 Juri Linkov <juri@jurta.org>
6386
6387 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6388 (dired-pop-to-buffer): Declare obsolete.
6389 (dired-mark-pop-up): Doc fix.
6390
6391 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6392
6393 Allow user to set docstring style for fill-paragraph.
6394 * progmodes/python.el
6395 (python-fill-comment-function, python-fill-string-function)
6396 (python-fill-decorator-function, python-fill-paren-function):
6397 Remove :safe for defcustoms.
6398 (python-fill-string-style): New defcustom
6399 (python-fill-paragraph-function): Enhance context detection.
6400 (python-fill-string): Honor python-fill-string-style settings.
6401
6402 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6403
6404 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6405 after setting its buffer (Bug#10805).
6406
6407 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6408
6409 Fix cornercase for string syntax.
6410 * progmodes/python.el (python-syntax-propertize-function):
6411 Simplify and enhance the regexp for unescaped quotes. Now it also
6412 matches quotes in weird situations like the single quote in
6413 "something\"'".
6414 (python-syntax-stringify): Simplify num-quotes detecting code.
6415
6416 2012-10-03 Glenn Morris <rgm@gnu.org>
6417
6418 * help-macro.el (three-step-help):
6419 Revert 2012-09-29 change. (Bug#12567)
6420
6421 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6422
6423 * menu-bar.el (kill-this-buffer): Don't do anything when
6424 `menu-frame' is not alive or visible (Bug#8184).
6425
6426 * emacs-lisp/debug.el (debug): When quitting the debugger window
6427 restore current buffer (Bug#12502).
6428
6429 2012-10-02 Chong Yidong <cyd@gnu.org>
6430
6431 * progmodes/hideif.el (hif-lookup, hif-defined):
6432 Handle semantic-c-takeover-hideif.
6433
6434 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6435
6436 Change sampling interval units from ms to ns.
6437 * profiler.el (profiler-sampling-interval): Change units
6438 from ms to ns, multiplying the default by 1000000 so that
6439 it remains 1 ms.
6440 (profiler-report-cpu-line-format): Give enough room for
6441 the maximum counters on 64-bit hosts.
6442 (profiler-report-render-calltree-1): Call them "CPU samples",
6443 not "Time (ms)", since they are not milliseconds now (and
6444 never really were).
6445
6446 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6447
6448 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6449 Fix querying BBDB for entries without a last name (Bug#11580).
6450
6451 2012-10-02 Chong Yidong <cyd@gnu.org>
6452
6453 * emacs-lisp/eieio.el: Restore Version header.
6454
6455 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * vc/diff-mode.el (diff--auto-refine-data): New var.
6458 (diff-hunk): Use it to delay refinement.
6459 (diff-mode): Remove overlays when we turn off font-lock.
6460
6461 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6462 (table-initialize-table-fixed-width-mode)
6463 (table-set-table-fixed-width-mode): Remove functions.
6464 (table-command-list): Move initialization into declaration.
6465 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6466 (table-with-cache-buffer): Use `declare'.
6467 (table-span-cell): Simplify via CSE.
6468 (table-fixed-width-mode): Use define-minor-mode.
6469 (table-call-interactively, table-funcall, table-apply): Remove.
6470 (table-function): New function, to replace them.
6471
6472 * bookmark.el (bookmark-search-pattern): Remove var.
6473 (bookmark-read-search-input): Remove function.
6474 (bookmark-bmenu-search): Reimplement using a minibuffer.
6475
6476 * faces.el (modeline): Remove obsolete face name.
6477
6478 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6479 and give a non-nil default value.
6480 (add-change-log-entry): Simplify accordingly.
6481
6482 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6483
6484 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6485 (vc-git-log-edit-toggle-amend): New function.
6486 (vc-git-log-edit-toggle-signoff): New function.
6487 (vc-git-log-edit-mode): New major mode.
6488 (vc-git-log-edit-mode-map): Keymap for it.
6489 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6490
6491 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6492 header names.
6493 (log-edit-toggle-header): New function.
6494 (log-edit-extract-headers): Accept function values in HEADERS alist.
6495
6496 2012-10-01 David Engster <deng@randomsample.de>
6497
6498 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6499 from symbol property and change message to be more consistent with
6500 Emacs proper.
6501 (eieio-describe-generic): Add filename for each implementation.
6502 Fix indices for generic and normal methods.
6503 (eieio-method-def, eieio-class-def): New buttons.
6504 (eieio-help-find-method-definition)
6505 (eieio-help-find-class-definition): New functions.
6506 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6507 class, constructor and method definitions.
6508
6509 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6510 information in symbol property.
6511 (scoped-class): Remove.
6512 (eieio-slot-name-index, call-next-method): Check if it is bound.
6513
6514 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6515
6516 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6517 (eieio-custom-mode): New major mode.
6518 (eieio-customize-object): Use it.
6519
6520 2012-10-01 Eric Ludlam <zappo@gnu.org>
6521
6522 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6523 specifying the expected class, and whether subclassing is allowed.
6524 (eieio-persistent-convert-list-to-object):
6525 (eieio-persistent-validate/fix-slot-value)
6526 (eieio-persistent-slot-type-is-class-p): New functions.
6527 (eieio-named::slot-missing): Doc fix.
6528
6529 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6530 Stop using unused publd variable.
6531
6532 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6533 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6534 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6535 (eieio-speedbar-handle-click): Do not specify a class for the
6536 method. Fixes method invocation order problems with EDE.
6537
6538 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6541 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6542
6543 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6544
6545 * bookmark.el (bookmark-version-control): Give tags in the
6546 :type choices (Bug#12309), and improve doc string.
6547 (bookmark-write-file): Bind `print-circle' to `t' to allow
6548 circular custom bookmark types. (Bug#12503)
6549
6550 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6551
6552 Revert the FOLLOW-SYMLINKS change for file-attributes.
6553 * files.el (remote-file-name-inhibit-cache, after-find-file):
6554 * time.el (display-time-file-nonempty-p): Undo last change.
6555
6556 * profiler.el (profiler-sampling-interval): Change default back to 1.
6557 See Stefan Monnier in
6558 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6559
6560 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6561
6562 Shell output catching a la gud-gdb.
6563 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6564 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6565 New Vars.
6566 (python-shell-fetch-lines-filter): New function.
6567 (python-shell-send-string-no-output): Use them.
6568
6569 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6570
6571 * profiler.el (profiler-sampling-interval): Rename from
6572 profiler-sample-interval.
6573 (profiler-sampling-interval): Default to 10.
6574 (profiler-find-profile): New command (was profiler-find-log).
6575 (profiler-find-profile-other-window): New command.
6576 (profiler-find-profile-other-frame): New command.
6577 (profiler-profile): Introduce API-level data structure.
6578
6579 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6580
6581 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6582 * files.el (remote-file-name-inhibit-cache):
6583 * time.el (display-time-file-nonempty-p): Use it.
6584 * files.el (after-find-file): Don't chase links before calling
6585 file-exists-p, as file-exists-p already does the right thing.
6586
6587 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6588
6589 Merge from standalone RefTeX repository.
6590
6591 The following ChangeLog entries are shortened versions of the
6592 original ones with file paths adapted. A not so strongly edited
6593 version of the original ChangeLog can be found in the commit log.
6594
6595 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6596 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6597 Correctly handle new value type returned by `reftex-citation'.
6598
6599 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6600 that entries with whitespace at various places are found.
6601 Doc fix. Include entries that are cross-referenced from cited entries.
6602 Include @String definitions in the resulting bib file. Add header
6603 and footer defined in `reftex-create-bibtex-header' and
6604 `reftex-create-bibtex-footer'.
6605 (reftex-do-citation): Make it possible again to insert
6606 non-existent entries. Save match data when asking for optional
6607 arguments. Return all keys, not just the first one.
6608 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6609 all citations in the same line.
6610 (reftex-parse-bibtex-entry): Accept additional optional argument
6611 `raw' and keep quotes or braces if it is non-nil. Match fields
6612 containing hyphens besides word constituents.
6613 (reftex-get-string-refs): New function.
6614 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6615 and ask if it should be reread in case it did.
6616 (reftex-pop-to-bibtex-entry)
6617 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6618 entries with spaces or tabs in front of arguments.
6619 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6620 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6621 Match entries containing numbers and symbol constituents.
6622 (reftex-do-citation, reftex-figure-out-cite-format):
6623 Use `reftex-cite-key-separator'.
6624
6625 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6626 (reftex-mouse-view-crossref): Explain why point is set.
6627
6628 * textmodes/reftex-global.el: Whitespace changes.
6629
6630 * textmodes/reftex-index.el: Move provide statement to end of
6631 file.
6632 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6633 (reftex-index-visit-phrases-buffer): Set marker when visiting
6634 buffer. This allows for returning from the phrases file to the
6635 file one was just editing instead of the file where the last
6636 phrases was added from.
6637 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6638 punctuation syntax as it usually is not used as string quote in
6639 TeX-related modes and may occur unmatched. The change also
6640 prevents fontification of quoted content.
6641 (reftex-index-phrases-mode): Use it.
6642
6643 * textmodes/reftex-parse.el (reftex-parse-from-file):
6644 Move backward one char if a `\' was matched after a section macro.
6645 (reftex-parse-from-file): Use beginning of match instead of end as
6646 bound.
6647
6648 * textmodes/reftex-ref.el: Adapt creation of
6649 `reftex-<package>-<macro>' functions to new structure of
6650 `reftex-ref-style-alist'.
6651 (reftex-reference): Use `reftex-ref-style-list' function.
6652 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6653 reference macro if `reftex-ref-macro-prompt' is non-nil.
6654 (reftex-reference): Pass refstyle to `reftex-format-special'.
6655 Determine reference macro by looking at
6656 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6657 Use only one special format function.
6658 (reftex-varioref-vref, reftex-fancyref-fref)
6659 (reftex-fancyref-Fref): Remove definitions. The functions are now
6660 generated from `reftex-ref-style-alist'.
6661 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6662 Remove.
6663 (reftex-format-special): New function.
6664
6665 * textmodes/reftex-sel.el
6666 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6667 of `reftex-ref-style-alist'. Remove code for testing macro type.
6668 (reftex-select-toggle-varioref)
6669 (reftex-select-toggle-fancyref): Remove.
6670 (reftex-select-cycle-ref-style-internal)
6671 (reftex-select-cycle-ref-style-forward)
6672 (reftex-select-cycle-ref-style-backward): New functions.
6673 (reftex-select-label-map): Use `v' and `V' for general cycling
6674 through reference styles. Add `p' for switching between number
6675 and page reference types.
6676
6677 * textmodes/reftex-toc.el (reftex-re-enlarge):
6678 Call `enlarge-window' only if there is something to do because in Emacs
6679 the horizontal version throws an error even if the parameter is 0.
6680
6681 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6682 (reftex-plug-into-AUCTeX): Doc fix.
6683 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6684 string. Adapt to new name.
6685 (reftex-ref-style-alist): Change structure so that it is not
6686 possible to use multiple different package names within a style.
6687 Remove the symbols for symbols for macro type distinction.
6688 Add characters for macro selection.
6689 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6690 (reftex-create-bibtex-footer): New variables.
6691 (reftex-format-ref-function): Mention third argument of special
6692 format function.
6693 (reftex-ref-style-alist, reftex-ref-style-default-list):
6694 New variables.
6695 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6696 to new implementation. Mark as obsolete. Add compatibility code
6697 for honoring the variable values in case they are set.
6698 (reftex-cite-format-builtin, reftex-bibliography-commands):
6699 Add support for ConTeXt.
6700 (reftex-format-ref-function, reftex-format-cite-function):
6701 Fix custom type.
6702 (reftex-cite-key-separator): New variable.
6703
6704 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6705 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6706 `reftex-syntax-table' because parens have to retain their paren
6707 syntax in order for parsing of BibTeX entries like @book(...) to
6708 work.
6709 (reftex-in-comment): Do not error out if `comment-start-skip' is
6710 not set. Deal correctly with escaped comment characters.
6711 (reftex-tie-multifile-symbols): Add doc string.
6712 Initialize `reftex-ref-style-list'.
6713 (reftex-untie-multifile-symbols): Add doc string.
6714 (reftex-add-index-macros): Doc fix.
6715 (reftex-ref-style-activate, reftex-ref-style-toggle)
6716 (reftex-ref-style-list): New functions.
6717 (reftex-mode-menu): Use them. Adapt to new structure of
6718 `reftex-ref-style-alist'.
6719 (reftex-select-with-char): Kill the RefTeX Select buffer when
6720 done.
6721 (reftex-remove-if): New function.
6722 (reftex-erase-all-selection-and-index-buffers)
6723 (reftex-mode-menu): Reference styles are now computed from
6724 `reftex-ref-style-alist'. Fix typo.
6725 (reftex-report-bug): New function.
6726 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6727 algorithms with O(n log n). Introduce optional argument SORT (not
6728 yet used).
6729
6730 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6731
6732 Enhancements for triple-quote string syntax.
6733 * progmodes/python.el (python-syntax-propertize-function):
6734 Match both quote cases in one regexp.
6735 (python-syntax-stringify): Handle matches properly.
6736
6737 2012-09-30 Juri Linkov <juri@jurta.org>
6738
6739 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6740 to nil around the call to `insert' to prevent
6741 directory time modification by lock_file. (Bug#2295)
6742 * tar-mode.el (tar-summarize-buffer): Idem.
6743
6744 2012-09-30 Juri Linkov <juri@jurta.org>
6745
6746 * facemenu.el (list-colors-sort): Add option "Luminance".
6747 (list-colors-sort-key): Implement it.
6748
6749 * vc/diff-mode.el (diff-refine-removed):
6750 * vc/ediff-init.el (ediff-fine-diff-A):
6751 * vc/smerge-mode.el (smerge-refined-removed):
6752 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6753
6754 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6755
6756 * term/ns-win.el (x-file-dialog): New function.
6757
6758 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * ido.el (ido-max-directory-size): Default to nil; the current
6761 default is small for POSIX systems, and impractical on Windows 7
6762 now that lstat returns directory sizes for NTFS.
6763
6764 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6765
6766 In buffer display functions handle window-height/window-width
6767 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6768 * window.el (window--display-buffer): New argument ALIST.
6769 Obey window-height and window-width alist entries.
6770 (window--try-to-split-window): New argument ALIST.
6771 Bind window-combination-limit to t when the window's size shall be
6772 changed and window-combination-limit equals `window-size'.
6773 (display-buffer-in-atom-window)
6774 (display-buffer-in-major-side-window)
6775 (display-buffer-in-side-window, display-buffer-same-window)
6776 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6777 (display-buffer-pop-up-window, display-buffer-below-selected)
6778 (display-buffer-at-bottom, display-buffer-in-previous-window)
6779 (display-buffer-use-some-window): Adjust all callers of
6780 window--display-buffer and window--try-to-split-window.
6781 (fit-frame-to-buffer): New option.
6782 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6783 is non-nil.
6784 (display-buffer-in-major-side-window): Evaluate window-height /
6785 window-width alist entries.
6786
6787 * help.el (temp-buffer-resize-frames)
6788 (temp-buffer-resize-regexps): Remove options.
6789 (temp-buffer-resize-mode): Adjust doc-string.
6790 (resize-temp-buffer-window): Don't consult
6791 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6792 temp-buffer-resize-frames.
6793
6794 * dired.el (dired-mark-pop-up):
6795 Call display-buffer-below-selected with a fit-window-to-buffer alist
6796 entry.
6797
6798 2012-09-30 Chong Yidong <cyd@gnu.org>
6799
6800 * server.el (server-host): Document the security implications.
6801 (server-auth-key): Doc fix.
6802
6803 * startup.el (initial-buffer-choice): Doc fix.
6804
6805 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6806
6807 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6808 restriction change.
6809
6810 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6811
6812 * help-fns.el (help-fns--obsolete): Fix last change.
6813
6814 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6817 (minor-mode-map-alist): Remove redundant code.
6818
6819 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6820 visited in a buffer.
6821 (cvs-insert-visited-file): New function.
6822 (find-file-hook): Use it.
6823
6824 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6825
6826 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6827 chose face.
6828 (log-edit-empty-buffer-p): Don't require a space after a header.
6829
6830 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6831
6832 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6833
6834 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6835 a proper minor-mode.
6836
6837 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6838
6839 2012-09-29 Glenn Morris <rgm@gnu.org>
6840
6841 * winner.el (winner-mode): Remove variable (let define-minor-mode
6842 handle it).
6843 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6844 Doc fixes.
6845 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6846 (winner-mode): Use define-minor-mode.
6847
6848 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6849 the full definition in loaddefs, rather than duplicating it.
6850
6851 * help-macro.el (three-step-help): No need to autoload defcustom.
6852
6853 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6854 (inferior-lisp-program, inferior-lisp-load-command)
6855 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6856 No need to autoload defcustoms.
6857
6858 * hippie-exp.el (hippie-expand-try-functions-list)
6859 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6860 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6861 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6862 (hippie-expand-only-buffers): No need to autoload defcustoms.
6863 * progmodes/vhdl-mode.el (vhdl-line-expand):
6864 Explicitly load hippie-exp, so it does not get autoloaded
6865 while hippie-expand-try-functions-list is let-bound.
6866
6867 2012-09-28 Glenn Morris <rgm@gnu.org>
6868
6869 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6870
6871 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6872 Only "cl.el" counts as cl these days.
6873
6874 2012-09-28 Juri Linkov <juri@jurta.org>
6875
6876 Display archive errors in the echo area instead of inserting
6877 to the file buffer.
6878
6879 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6880 to STDERR-TEST that can be a regexp matching a successful output.
6881 Create a temporary file and redirect stderr to it. Search for
6882 STDERR-TEST in the stderr output and display it in the echo area
6883 if no match is found.
6884 (archive-extract-by-file): New function like
6885 `archive-extract-by-stdout' but extracting archives to files
6886 and looking for successful matches in stdout. Function body is
6887 mostly copied from `archive-rar-extract'.
6888 (archive-rar-extract): Use `archive-extract-by-file'.
6889 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6890
6891 2012-09-28 Leo Liu <sdl.web@gmail.com>
6892
6893 * pcomplete.el (pcomplete-show-completions):
6894 Use minibuffer-message to make pcomplete usable in minibuffer.
6895
6896 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6897
6898 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * type-break.el: Use lexical-binding.
6901 (type-break-mode): Use define-minor-mode.
6902
6903 * emacs-lisp/pcase.el (pcase--mark-used): New.
6904 (pcase--u1): Use it (bug#12512).
6905
6906 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6907 in load-history with the right file name.
6908
6909 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6910
6911 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6912 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6913 (doc-view-get-bounding-box): Make bounding box slicing work for
6914 ODF and DVI documents.
6915
6916 2012-09-28 Glenn Morris <rgm@gnu.org>
6917
6918 * type-break.el (type-break-mode, type-break-interval)
6919 (type-break-good-rest-interval, type-break-keystroke-threshold):
6920 No need to autoload.
6921 (type-break-good-rest-interval, type-break-keystroke-threshold):
6922 Add :set-after.
6923
6924 2012-09-28 Chong Yidong <cyd@gnu.org>
6925
6926 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6927 Add :version tag.
6928
6929 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6932
6933 2012-09-27 Glenn Morris <rgm@gnu.org>
6934
6935 * faces.el (x-display-name): Declare (for without-x builds).
6936
6937 * linum.el (linum-format): Don't autoload it. Improve :type.
6938
6939 * progmodes/tcl.el: Don't require outline when compiling.
6940 (outline-regexp, outline-level): Declare.
6941 * textmodes/sgml-mode.el: Don't require outline when compiling.
6942 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6943
6944 * term.el (term-ansi-reset):
6945 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6946
6947 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6948 files for RCS and SCCS. (Bug#9781)
6949
6950 2012-09-27 Chong Yidong <cyd@gnu.org>
6951
6952 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6953 change; value should be t.
6954
6955 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * image-mode.el: Use lexical-binding.
6958 (image-mode-winprops): Use t to stand for the window of
6959 a buffer that's not displayed.
6960 * doc-view.el (doc-view-new-window-function): Handle the new
6961 t in winprops.
6962 (doc-view-enlarge): Make it a real nop if the size is not changed.
6963 (doc-view-display): Handle the case where the buffer is not (yet?)
6964 displayed in any window.
6965 (doc-view-saved-settings): New var.
6966 (doc-view-mode): Use it.
6967 (doc-view-fallback-mode): Set it.
6968
6969 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6970 Set lexical-binding.
6971 (minibuffer-eldef-shorten-default): New var.
6972 (minibuffer-default-in-prompt-regexps): Use it for new default.
6973 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6974
6975 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6976
6977 * international/uni-bidi.el:
6978 * international/uni-category.el:
6979 * international/uni-name.el:
6980 * international/uni-numeric.el: Regenerate.
6981
6982 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6983 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * profiler.el: New file.
6986
6987 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6990 (testcover-reinstrument): Simplify with CSE.
6991
6992 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6993
6994 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6995
6996 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6997
6998 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6999 (verilog-auto-input, verilog-auto-insert-lisp)
7000 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7001 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7002 (verilog-auto-unused, verilog-auto-wire)
7003 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7004 newline. Reported by Andrew Jones.
7005 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7006 Reported by Brad Dobbie.
7007 (verilog-batch-delete-trailing-whitespace):
7008 Create verilog-batch-delete-trailing-whitespace.
7009 Reported by Brad Dobbie.
7010 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7011 parameters from another module. Reported by Dan Katz.
7012 (verilog-auto, verilog-auto-assign-modport)
7013 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7014 AUTOINOUTMODPORT for UVM interface module shell generation.
7015 Reported by Brad Dobbie.
7016 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7017 standard behavior.
7018 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7019 Reported by Matt Martin.
7020
7021 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7022
7023 * window.el (window--resize-child-windows): When resizing child
7024 windows proportionally, process them in reverse order to
7025 preserve the "when splitting a window the new one gets the odd
7026 line" behavior.
7027 (window--resize-root-window-vertically): When resizing the
7028 minibuffer window try to affect only windows at the bottom of the
7029 frame. (Bug#12419)
7030
7031 2012-09-25 Chong Yidong <cyd@gnu.org>
7032
7033 * subr.el (declare): Doc fix.
7034
7035 * help-fns.el (help-fns--obsolete): Handle macros properly.
7036
7037 2012-09-25 Chong Yidong <cyd@gnu.org>
7038
7039 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7040 this function obsolete.
7041
7042 * calendar/cal-x.el (calendar-two-frame-setup)
7043 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7044 * calendar/calendar.el (american-calendar, european-calendar)
7045 (calendar-for-loop):
7046 * comint.el (comint-dynamic-simple-complete)
7047 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7048 * desktop.el (desktop-load-default):
7049 * dired-x.el (dired-omit-here-always)
7050 (dired-hack-local-variables, dired-default-directory):
7051 * emacs-lisp/derived.el (derived-mode-class):
7052 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7053 * emacs-lock.el (toggle-emacs-lock):
7054 * epa.el (epa-display-verify-result):
7055 * epg.el (epg-sign-keys, epg-start-sign-keys)
7056 (epg-passphrase-callback-function):
7057 * eshell/esh-util.el (eshell-for):
7058 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7059 (eshell-add-to-window-buffer-names):
7060 * files.el (locate-file-completion):
7061 * imenu.el (imenu-example--create-c-index)
7062 (imenu-example--create-lisp-index)
7063 (imenu-example--lisp-extract-index-name)
7064 (imenu-example--name-and-position):
7065 * international/mule-cmds.el (princ-list):
7066 * international/mule-diag.el (decode-codepage-char):
7067 * international/mule-util.el (detect-coding-with-priority):
7068 * iswitchb.el (iswitchb-read-buffer):
7069 * mail/mailalias.el (mail-complete):
7070 * mail/sendmail.el (mail-sent-via):
7071 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7072 (mouse-major-mode-menu):
7073 * password-cache.el (password-read-and-add):
7074 * pcomplete.el (pcomplete-parse-comint-arguments):
7075 * progmodes/sh-script.el (sh-maybe-here-document):
7076 * replace.el (query-replace-regexp-eval):
7077 * savehist.el (savehist-load):
7078 * simple.el (choose-completion-delete-max-match):
7079 * term.el (term-dynamic-simple-complete):
7080 * vc/ediff-init.el (ediff-check-version):
7081 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7082 * vc/vc.el (vc-diff-switches-list):
7083 * view.el (view-return-to-alist-update): Likewise.
7084
7085 * subr.el (eval-next-after-load, makehash, insert-string)
7086 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7087 mark obsolete.
7088 (mode-line-inverse-video): Variable deleted.
7089
7090 * international/mule-util.el (string-to-sequence): Remove.
7091
7092 * calendar/calendar.el (calendar-version):
7093 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7094 (icalendar-convert-diary-to-ical):
7095 * cus-edit.el (custom-mode):
7096 * ansi-color.el (ansi-color-unfontify-region):
7097 * international/latin1-disp.el (latin1-char-displayable-p):
7098 * progmodes/cwarn.el (turn-on-cwarn-mode):
7099 * progmodes/which-func.el (which-func-update-1):
7100 Use define-obsolete-function-alias.
7101
7102 * net/newst-backend.el (newsticker-cache-filename):
7103 * net/newst-treeview.el (newsticker-groups-filename):
7104 Fix incorrect obsolescence declaration.
7105
7106 * allout.el (allout-passphrase-hint-string): Likewise.
7107 (allout-init): Use a declare form to mark obsolete.
7108
7109 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7110 this applies to functions.
7111
7112 * iswitchb.el (iswitchb-read-buffer): Move code of
7113 iswitchb-define-mode-map here, and delete that obsolete function.
7114
7115 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7116 font-lock-reference-face.
7117
7118 2012-09-25 Glenn Morris <rgm@gnu.org>
7119
7120 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7121 Doc fixes.
7122
7123 * eshell/em-term.el (eshell-term-name):
7124 Default to term-term-name. (Bug#12485)
7125
7126 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7127
7128 * progmodes/python.el (python-shell-send-buffer): Better handling
7129 of "if __name__ == '__main__':" conditionals when sending the buffer.
7130
7131 2012-09-24 Glenn Morris <rgm@gnu.org>
7132
7133 * eshell/esh-cmd.el (eshell-find-alias-function):
7134 Tighten up file-name regexp. (Bug#12499)
7135
7136 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7137
7138 Enhancements for triple-quote string syntax.
7139 * progmodes/python.el (python-quote-syntax): Remove.
7140 (python-syntax-propertize-function): New value.
7141 (python-syntax-count-quotes, python-syntax-stringify):
7142 New functions.
7143
7144 2012-09-24 Chong Yidong <cyd@gnu.org>
7145
7146 * mail/supercite.el (sc-version): Remove obsolete function.
7147 (sc-describe): Don't mark as obsolete, since it is bound.
7148 (sc-submit-bug-report): Remove.
7149
7150 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7151 (cvs-commit-buffer-require-final-newline): Remove.
7152 (log-edit-require-final-newline)
7153 (log-edit-changelog-full-paragraphs): Default to t.
7154
7155 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7156 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7157 * vc/vc.el (vc-checkout-carefully): Likewise.
7158
7159 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7160 (emerge-version): Remove.
7161
7162 * progmodes/compile.el (compile-internal): Remove.
7163 (compilation-parse-errors-function): Fix typo.
7164
7165 * international/mule.el (set-char-table-default): Remove.
7166 (set-coding-priority, make-coding-system, generic-char-p)
7167 (charset-list, charset-bytes, charset-id): Use declare to mark
7168 functions as obsolete.
7169
7170 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7171 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7172 * vc/vc-hooks.el (vc-default-registered): Don't use
7173 vc-master-templates.
7174
7175 * font-lock.el (font-lock-reference-face):
7176 Use define-obsolete-variable-alias.
7177
7178 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7179 * calendar/calendar.el (calendar-font-lock-keywords):
7180 * calendar/diary-lib.el (diary-font-lock-keywords)
7181 (diary-fancy-font-lock-keywords):
7182 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7183 * textmodes/reftex-index.el (reftex-insert-index):
7184 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7185 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7186 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7187 * progmodes/prolog.el (prolog-font-lock-keywords):
7188 * progmodes/idlwave.el (idlwave-idl-keywords):
7189 * progmodes/ada-mode.el (ada-font-lock-keywords):
7190 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7191
7192 2012-09-24 Glenn Morris <rgm@gnu.org>
7193
7194 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7195
7196 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7197
7198 * progmodes/python.el (python-indent-line): More consistent cursor
7199 movement behavior.
7200
7201 2012-09-23 Stefan Merten <smerten@oekonux.de>
7202
7203 * textmodes/rst.el: Fix compiler warning.
7204
7205 2012-09-23 Roland Winkler <winkler@gnu.org>
7206
7207 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7208 Transcribe also LaTeX hyphenation.
7209 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7210 bibtex-reformat-previous-options.
7211
7212 2012-09-23 Roland Winkler <winkler@gnu.org>
7213
7214 * proced.el (proced-renice-command): New variable.
7215 (proced-marked-processes): New function.
7216 (proced-with-processes-buffer): New macro.
7217 (proced-send-signal): Use them.
7218 (proced-renice): New command bound to r.
7219
7220 2012-09-23 Roland Winkler <winkler@gnu.org>
7221
7222 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7223 ibuffer-saved-filter-groups has one element, shortcut the call of
7224 completing-read. (Bug#12331)
7225
7226 2012-09-23 Chong Yidong <cyd@gnu.org>
7227
7228 * bindings.el (mode-line-toggle-read-only):
7229 * bs.el (bs-toggle-readonly):
7230 * buff-menu.el (Buffer-menu-toggle-read-only):
7231 * dired.el (dired-toggle-read-only):
7232 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7233
7234 2012-09-23 Chong Yidong <cyd@gnu.org>
7235
7236 * image.el (image-type-available-p): Adapt to init-image-library
7237 argument changes.
7238
7239 2012-09-22 Juri Linkov <juri@jurta.org>
7240
7241 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7242 `dired-toggle-read-only'. (Bug#12462)
7243
7244 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7245
7246 * subr.el (temp-output-buffer-show): New function.
7247 (with-output-to-temp-buffer): Call temp-output-buffer-show
7248 instead of internal-temp-output-buffer-show.
7249
7250 2012-09-22 Chong Yidong <cyd@gnu.org>
7251
7252 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7253 (Bug#12462).
7254
7255 * repeat.el (repeat): Doc fix (Bug#12348).
7256
7257 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7258 (Bug#10909).
7259
7260 * simple.el (shell-command-on-region): Doc fix.
7261 (read-only-mode): Doc fix.
7262
7263 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7264
7265 * emacs-lisp/timer.el (run-with-idle-timer)
7266 (timer-activate-when-idle): Warn against reinvoking an idle timer
7267 from within its own timer action. (Bug#12447)
7268
7269 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7270
7271 * cus-start.el (window-combination-limit): Add new optional
7272 values.
7273 * window.el (temp-buffer-window-show)
7274 (window--try-to-split-window): Handle new values of
7275 window-combination-limit (Bug#1806).
7276 (split-window): Test window-combination-limit for t instead of
7277 non-nil.
7278 (display-buffer-at-bottom): New buffer display action function.
7279 * help.el (temp-buffer-resize-regexps): New option.
7280 (temp-buffer-resize-mode): Rewrite doc-string.
7281 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7282 Don't resize reused window. Suggested by Glenn Morris.
7283
7284 2012-09-22 Stefan Merten <smerten@oekonux.de>
7285
7286 * textmodes/rst.el: Revamp section title faces.
7287 (rst-official-version)
7288 (rst-package-emacs-version-alist): Sync with official version
7289 V1.4.0.
7290 (rst-faces-defaults, rst-set-level-default)
7291 (rst-level-face-max, rst-level-face-base-color)
7292 (rst-level-face-base-light, rst-level-face-format-light)
7293 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7294 (rst-adornment-faces-alist): Match new setup.
7295 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7296 (rst-level-5, rst-level-6): New faces.
7297
7298 2012-09-22 Chong Yidong <cyd@gnu.org>
7299
7300 * simple.el (undo): Handle indirect buffers (Bug#8207).
7301
7302 2012-09-21 Leo Liu <sdl.web@gmail.com>
7303
7304 IDO: Disable match re-ordering for buffer switching.
7305 * ido.el (ido-buffer-disable-smart-matches): New variable.
7306 (ido-set-matches-1): Use it. (Bug#2042)
7307
7308 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7309
7310 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7311 Fix 2011-05-17 change. (Bug#12418)
7312
7313 2012-09-21 Leo Liu <sdl.web@gmail.com>
7314
7315 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7316
7317 2012-09-21 Glenn Morris <rgm@gnu.org>
7318
7319 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7320 Be more robust about locating simple.el.
7321
7322 2012-09-21 Glenn Morris <rgm@gnu.org>
7323
7324 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7325
7326 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7327
7328 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7329
7330 2012-09-20 Juri Linkov <juri@jurta.org>
7331
7332 * replace.el (query-replace-read-from): Use `read-regexp' instead
7333 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7334 (occur-read-primary-args): Use `read-regexp' instead of
7335 `read-string'.
7336 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7337 `read-from-minibuffer'.
7338 * isearch.el (isearch-occur): Use `read-regexp' instead of
7339 `read-string'.
7340 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7341 `read-from-minibuffer'.
7342 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7343 of `read-string'. (Bug#7567)
7344
7345 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7346 and allow accepting a list of strings prepended to a list of
7347 standard default values. Doc fix. (Bug#12321)
7348
7349 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7350
7351 * replace.el (read-regexp): Don't add ": " when PROMPT already
7352 ends with a colon and space. (Bug#12321)
7353
7354 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7355
7356 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7357 error.
7358
7359 2012-09-20 Stefan Merten <smerten@oekonux.de>
7360
7361 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7362 Fixes feature request bug#11711.
7363 (rst-mode): Create `imenu-create-index-function'.
7364 (rst-get-stripped-line): Delete after refactoring.
7365 (rst-section-tree, rst-section-tree-rec)
7366 (rst-section-tree-point): Refactor and document properly.
7367 (rst-imenu-find-adornments-for-position)
7368 (rst-imenu-convert-cell, rst-imenu-create-index):
7369 New function.
7370
7371 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7374 (macroexp--expand-all): Use it.
7375 (macroexp--funcall-and-return): Remove by folding it into its sole
7376 caller (macroexp--warn-and-return).
7377 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7378 Use macroexp--obsolete-warning.
7379
7380 * calc/calc.el: Fix last change by removing the whole chunk, since it
7381 was only needed back when Calc was not bundled.
7382
7383 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7384
7385 * emacs-lisp/debug.el (debug): Restore assignment to
7386 debugger-old-buffer removed on 2012-09-08.
7387
7388 2012-09-20 Juri Linkov <juri@jurta.org>
7389
7390 * dired-aux.el (dired-diff): Remove (require 'diff) since
7391 `diff-latest-backup-file' is now autoloaded.
7392
7393 2012-09-20 Chong Yidong <cyd@gnu.org>
7394
7395 * vc/diff.el (diff-latest-backup-file): Autoload.
7396
7397 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * calc/calc.el: Remove redundant autoload shape check.
7400 (sel-mode): Don't defvar.
7401 (calc-get-stack-element): Add `sel-mode' arg instead.
7402 (calc-top, calc-top-list): Pass it this additional argument.
7403 * calc/calc-store.el (calc-store-map):
7404 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7405 (calc-map-equation, calc-outer-product, calc-inner-product):
7406 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7407
7408 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7409
7410 2012-09-19 Juri Linkov <juri@jurta.org>
7411
7412 * dired-aux.el (dired-diff): Add (require 'diff) because
7413 `diff-latest-backup-file' is not autoloaded.
7414 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7415 of `dired-get-filename' to t to not report error when there is
7416 no default file on the current line.
7417
7418 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7421 macroexp--eval-if-compile.
7422 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7423 (macroexp--expand-all): Use them (bug#12371).
7424
7425 * doc-view.el (doc-view-guess-paper-size)
7426 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7427
7428 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7429
7430 New feature: set optimal slice from BoundingBox information.
7431 * doc-view.el (doc-view-mode-map): Add keybinding.
7432 (doc-view-menu): Add menu entry.
7433 (doc-view-set-slice): Adapt docstring.
7434 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7435 (doc-view-scale-bounding-box)
7436 (doc-view-set-slice-from-bounding-box): New functions.
7437 (doc-view-paper-sizes): New defvar.
7438
7439 2012-09-19 Glenn Morris <rgm@gnu.org>
7440
7441 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7442 (byte-compile-log-warning): Autoload. (Bug#12371)
7443
7444 * calendar/calendar.el (calendar-american-month-header)
7445 (calendar-european-month-header, calendar-iso-month-header)
7446 (calendar-month-header): New options.
7447 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7448 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7449
7450 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7451
7452 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7453
7454 2012-09-18 Juri Linkov <juri@jurta.org>
7455
7456 * dired-aux.el (dired-diff): Restore original functionality of
7457 getting the default value, but keep new feature of using the
7458 latest existing backup file (`diff-latest-backup-file').
7459
7460 2012-09-18 Juri Linkov <juri@jurta.org>
7461
7462 * dired.el (dired-mark): If the region is active in Transient Mark
7463 mode, mark all files in the active region. Doc fix.
7464 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7465 Doc fix. (Bug#10624)
7466
7467 2012-09-18 Juri Linkov <juri@jurta.org>
7468
7469 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7470 attributes for M-n are pulled from the file at point.
7471 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7472 Suggested by Drew Adams. (Bug#10624)
7473
7474 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7475
7476 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7477 whitespace after "end".
7478 (ruby-do-end-to-brace): Collapse block to one line if it fits
7479 within fill-column.
7480
7481 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7482
7483 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7484 value.
7485 (debug): Don't remove debugger window when debugger is expected
7486 to be back.
7487
7488 2012-09-18 Chong Yidong <cyd@gnu.org>
7489
7490 * custom.el (defface): Doc fix.
7491
7492 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7493
7494 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7495
7496 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7497 to initialize query-on-exit; then test that instead (bug#12288).
7498
7499 2012-09-17 Stefan Merten <smerten@oekonux.de>
7500
7501 * textmodes/rst.el: Add support for `testcover'.
7502 (rst-defcustom-testcover, rst-testcover-add-compose)
7503 (rst-testcover-add-1value): New functions.
7504 (rst-portable-mark-active-p): Replace by `use-region-p'.
7505 (rst-update-section, rst-classify-adornment)
7506 (rst-find-title-line): Mark `1value' forms.
7507 (rst-classify-adornment): Remove superfluous form.
7508 (rst-update-section, rst-get-adornments-around)
7509 (rst-adornment-complete-p, rst-get-next-adornment)
7510 (rst-adjust, rst-promote-region)
7511 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7512 (rst-find-pfx-in-region, rst-section-tree-rec)
7513 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7514 (rst-toc-node, rst-toc, rst-forward-section)
7515 (rst-iterate-leftmost-paragraphs)
7516 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7517 (rst-bullet-list-region)
7518 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7519 (rst-compile-find-conf, rst-compile)
7520 (rst-repeat-last-character): Fix style.
7521
7522 2012-09-17 Chong Yidong <cyd@gnu.org>
7523
7524 * comint.el (comint--complete-file-name-data): Don't add a space
7525 if the status is `sole'; that adds a gratuitous space in the
7526 completion-cycling case (Bug#12092).
7527
7528 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7529
7530 2012-09-17 Richard Stallman <rms@gnu.org>
7531
7532 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7533 only in the mime-shown mode, not in raw mode.
7534 (rmail-mime): Toggle off mime by displaying the message without
7535 mime processing. (Bug#12305)
7536
7537 * mail/rmail.el (rmail-retry-failure):
7538 Turn off mime processing first. (Bug#12037)
7539
7540 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7541
7542 2012-09-17 Chong Yidong <cyd@gnu.org>
7543
7544 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7545 (shell-dynamic-complete-functions): Convert to defcustom.
7546 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7547
7548 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7549 * comint.el (comint-prompt-read-only):
7550 * custom.el (defcustom):
7551 * hi-lock.el (hi-lock-mode):
7552 * ibuffer.el (ibuffer-formats):
7553 * ielm.el (ielm-prompt-read-only):
7554 * novice.el (disable-command):
7555 * saveplace.el (toggle-save-place):
7556 * speedbar.el (speedbar-supported-extension-expressions):
7557 * startup.el (auto-save-list-file-prefix, init-file-user)
7558 (after-init-hook, inhibit-startup-echo-area-message):
7559 * strokes.el (strokes-help):
7560 * time-stamp.el (time-stamp):
7561 * calendar/calendar.el (calendar, diary-file):
7562 * calendar/diary-lib.el (diary-mail-entries, diary)
7563 (diary-list-entries-hook):
7564 * calendar/holidays.el (holidays, calendar-holidays):
7565 * calendar/lunar.el (lunar-phases):
7566 * calendar/solar.el (sunrise-sunset):
7567 * emulation/edt.el (edt-load-keys):
7568 * emulation/viper.el (viper-mode):
7569 * eshell/em-alias.el (eshell-command-aliases-list):
7570 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7571 * international/ogonek.el (ogonek-information):
7572 * net/tramp-cmds.el (tramp-bug):
7573 * net/quickurl.el (quickurl-reread-hook-postfix):
7574 * play/decipher.el (decipher-font-lock-keywords):
7575 * progmodes/cc-styles.el (c-set-style):
7576 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7577 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7578 * progmodes/octave-mod.el (octave-mode):
7579 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7580 * progmodes/verilog-mode.el (verilog-read-defines):
7581 * textmodes/two-column.el (2C-mode): Likewise.
7582
7583 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7584
7585 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7586 that holds many addresses.
7587
7588 2012-09-16 Chong Yidong <cyd@gnu.org>
7589
7590 * align.el (align-areas): Call the indication function with
7591 positions instead of markers for arguments (Bug#12343).
7592
7593 * files.el (parse-colon-path): Use split-string (Bug#12351).
7594
7595 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7596 (display-buffer-function): Mark as obsolete.
7597
7598 * progmodes/compile.el (compilation-parse-errors): Accept list
7599 values similar to font-lock-keywords (Bug#12136).
7600 Suggested by Oleksandr Manzyuk.
7601 (compilation-error-regexp-alist): Doc fix.
7602
7603 2012-09-15 Glenn Morris <rgm@gnu.org>
7604
7605 * version.el (emacs-bzr-version-bzr): New function.
7606 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7607
7608 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7609 checkouts, check the parent dirstate matches the branch.
7610 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7611 empty string.
7612
7613 * version.el (emacs-bzr-version): Doc fix.
7614 (emacs-bzr-version-dirstate): New function.
7615 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7616 is local try and check that it matches the branch. If not, just
7617 use dirstate information. (Bug#12441)
7618
7619 2012-09-14 Juri Linkov <juri@jurta.org>
7620
7621 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7622 (Bug#12399)
7623
7624 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7625
7626 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7627
7628 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7629 Remove obsolete byte-compiler hack that tried to silence some warnings.
7630 (edebug-submit-bug-report): Remove.
7631 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7632 Remove aliases, use the un-prefixed name instead.
7633 (edebug-pop-to-buffer): Consider other frames.
7634 (edebug-original-read):: Make it more obvious that it's always defined.
7635 (edebug--make-form-data-entry, edebug--form-data-name)
7636 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7637 single-dashed name, and implement with cl-defstruct.
7638 (edebug-set-form-data-entry): Use the standard accessors.
7639 (edebug-make-top-form-data-entry): Use push.
7640 (edebug-no-match): Drop useless `funcall'.
7641 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7642 to functions.
7643 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7644 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7645 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7646 (easy-menu-define, with-custom-print): Remove redundant specs.
7647 (edebug-outside-overriding-local-map)
7648 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7649 (edebug--display): Bind unread-command-events directly to nil rather
7650 than binding it to unread-command-events and later setting it to nil.
7651 (edebug--display): Kill edebug-eval-buffer here...
7652 (edebug--recursive-edit): ...rather than here.
7653 Bind standard-output and standard-input.
7654 (edebug-eval): Check cl-macroexpand-all is fboundp.
7655 (edebug-temp-display-freq-count): Fix last change.
7656
7657 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7658 * subr.el (noreturn, 1value): Add `debug' spec.
7659 * emacs-lisp/advice.el: Require cl-lib.
7660 (ad-copy-tree): Remove, use copy-tree instead.
7661 (ad-dolist): Remove use dolist or cl-dolist instead.
7662 (ad-do-return): Remove, use cl-return instead.
7663 (defadvice): Add `debug' spec.
7664
7665 2012-09-13 Juri Linkov <juri@jurta.org>
7666
7667 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7668 (Bug#12399)
7669
7670 2012-09-13 Glenn Morris <rgm@gnu.org>
7671
7672 * calc/calc.el (math-compose-expr):
7673 * calc/calc-ext.el (math-compose-expr):
7674 * progmodes/cc-defs.el (cl-macroexpand-all):
7675 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7676 (cl-macroexpand-all): Update declarations.
7677
7678 * vc/vc.el: No need to require ediff.
7679 (ediff-load-version-control): Declare.
7680 (ediff-vc-internal): Fix declaration.
7681 (vc-version-ediff): Require ediff.
7682
7683 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7684
7685 Use a more backwards-compatible timer format (Bug#12430).
7686 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7687 being right after USECS, as that better supports old code that
7688 inadvisedly looked directly at the timer vector.
7689
7690 2012-09-13 Kenichi Handa <handa@gnu.org>
7691
7692 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7693 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7694 `coding-priority' property of these language environment.
7695
7696 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7697
7698 Fix glitches caused by addition of psec to timers (Bug#12430).
7699 * image.el (image-animate-timer):
7700 * time.el (display-time-world-timer):
7701 Use timer--function and timer--args rather than raw access to
7702 timer vector.
7703
7704 2012-09-13 Glenn Morris <rgm@gnu.org>
7705
7706 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7707 If not compiling a file, try using load-file-name.
7708
7709 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7712 Fix last change.
7713 (edebug-update-eval-list): Use `push'.
7714
7715 * emacs-lisp/edebug.el: Use lexical-binding.
7716 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7717 Mark unused args with underscore.
7718 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7719 (edebug-form-data): Use defvar-local.
7720 (edebug-make-before-and-after-form, edebug-make-after-form):
7721 Use backquote.
7722 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7723 Not dynamically scoped any more.
7724 (edebug--enter-trace): Add arguments `function' and `args'.
7725 Rename from edebug-enter-trace.
7726 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7727 (edebug--update-coverage): Add `after-index' and `value' args.
7728 Rename from edebug-update-coverage.
7729 (edebug-slow-after): Call it accordingly.
7730 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7731 edebug-recursive-edit.
7732 (edebug--display): Call it accordingly. Add args `value',
7733 `offset-index', and `arg-mode'. Rename from edebug-display.
7734 (edebug-debugger, edebug): Call it accordingly.
7735 (edebug-eval-display-list): Use dolist.
7736
7737 2012-09-12 Juri Linkov <juri@jurta.org>
7738
7739 * info.el (Info-search): Don't check for isearch-mode and
7740 isearch-regexp before let-binding search-spaces-regexp to
7741 Info-search-whitespace-regexp.
7742 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7743 search-whitespace-regexp if isearch-lax-whitespace or
7744 isearch-regexp-lax-whitespace is non-nil.
7745 (Info-mode): Don't set local variable search-whitespace-regexp.
7746 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7747
7748 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7751 (debugger-env-macro): Remove support for unread-command-char.
7752
7753 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7754 the temporary map re-appearing on emulation-mode-map-alists.
7755
7756 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7757 since 22.1.
7758
7759 * ehelp.el (with-electric-help): Accept functions in
7760 electric-help-form-to-execute.
7761 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7762 And replace unread-command-char -> unread-command-events.
7763
7764 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7765
7766 Sync with Tramp 2.2.6.
7767
7768 * net/tramp.el (tramp-accept-process-output): Don't use
7769 JUST-THIS-ONE in the XEmacs case.
7770
7771 * net/trampver.el: Update release number.
7772
7773 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7774
7775 * emacs-lisp/debug.el (debugger-previous-window-height):
7776 New variable.
7777 (debug): When debugger-jumping-flag is non-nil try to restore
7778 height of debugger window. (Bug#8789)
7779
7780 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7783 overriding-local-map and pre/post-command-hook here.
7784 (edebug-recursive-edit): Do it here instead (bug#12345).
7785 (edebug-outside-unread-command-char): Remove all uses of
7786 unread-command-char.
7787
7788 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7789 inhibit-debugger is bound instead.
7790
7791 2012-09-11 Bastien Guerry <bzg@gnu.org>
7792
7793 * subr.el (set-temporary-overlay-map): Add a docstring.
7794 (Bug#12346)
7795
7796 2012-09-11 Bastien Guerry <bzg@gnu.org>
7797
7798 * minibuffer.el (completion-table-subvert): Fix docstring.
7799 (Bug#12347)
7800
7801 2012-09-11 Bastien Guerry <bzg@gnu.org>
7802
7803 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7804
7805 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7806
7807 * progmodes/sql.el: Version 3.1
7808 (sql-db2-escape-newlines): New variable.
7809 (sql-escape-newlines-filter): Use it.
7810
7811 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7814
7815 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7816
7817 * vc/diff-mode.el (diff-mode-menu):
7818 Bind diff-remove-trailing-whitespace.
7819
7820 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7823 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7824 (emacs-lisp-byte-code-mode): New functions.
7825 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7826 (eval-defun-2): Remove bogus interactive spec.
7827 (lisp-indent-line): Remove redundant whole-exp code, now done in
7828 indent-according-to-mode.
7829 (save-match-data): Remove redundant indent data.
7830
7831 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7832 Use `declare'.
7833
7834 2012-09-09 Juri Linkov <juri@jurta.org>
7835
7836 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7837 (replace-lax-whitespace, query-replace-regexp)
7838 (query-replace-regexp-eval, replace-regexp): Doc fix.
7839 (perform-replace, replace-highlight): Let-bind
7840 isearch-lax-whitespace to replace-lax-whitespace and
7841 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7842
7843 * isearch.el (isearch-query-replace): Let-bind
7844 replace-lax-whitespace to isearch-lax-whitespace and
7845 replace-regexp-lax-whitespace to
7846 isearch-regexp-lax-whitespace. (Bug#10885)
7847
7848 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7851
7852 2012-09-09 Alan Mackenzie <acm@muc.de>
7853
7854 * progmodes/cc-engine.el (c-state-cache-init):
7855 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7856 (c-record-parse-state-state):
7857 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7858
7859 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7860
7861 * register.el (register-separator): Rename from
7862 separator-register. All uses changed. Doc fix.
7863 (register): Fix version.
7864
7865 2012-09-09 Chong Yidong <cyd@gnu.org>
7866
7867 * replace.el (query-replace-map): Bind four new symbols for
7868 requesting window scrolling.
7869
7870 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7871 query-replace-map (Bug#8948).
7872
7873 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7874
7875 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7876 since they are now in query-replace-map.
7877
7878 * window.el (scroll-other-window-down): Make the arg optional.
7879
7880 2012-09-09 Chong Yidong <cyd@gnu.org>
7881
7882 * files.el (hack-local-variables-confirm): Use quit-window to kill
7883 the *Local Variables* buffer.
7884
7885 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7886
7887 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7888 not just expect to be at its beginning. Adjust callees.
7889 Succeed when do-end block has no space before the pipe character.
7890 (ruby-brace-to-do-end): When the original block is one-liner,
7891 convert to multiline. Reindent the result.
7892
7893 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7894
7895 * register.el (register): New group.
7896 (separator-register): New user option.
7897 (increment-register): Route it to `append-to-register', if
7898 register contains text. Implication is that `C-x r +' can now be
7899 used for appending to a text register (bug#12217).
7900 (append-to-register, prepend-to-register): Add separator based on
7901 `separator-register'.
7902
7903 2012-09-08 Alan Mackenzie <acm@muc.de>
7904
7905 AWK Mode: make auto-newline work when there's "==" in the pattern.
7906 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7907 correctly.
7908 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7909 Test more rigorously for "=" token.
7910
7911 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7912
7913 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7914 Only fail when reached LIMIT.
7915
7916 2012-09-08 Chong Yidong <cyd@gnu.org>
7917
7918 * dired.el (dired-mode-map): Don't bind M-=.
7919
7920 * dired-aux.el (dired-diff): Use backup file as default.
7921
7922 2012-09-08 Drew Adams <drew.adams@oracle.com>
7923
7924 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7925
7926 2012-09-08 Chong Yidong <cyd@gnu.org>
7927
7928 * subr.el (syntax-after, syntax-class): Doc fix.
7929
7930 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7931
7932 * window.el (display-buffer-in-previous-window): New buffer
7933 display action function.
7934
7935 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7936 (debugger-previous-window): New variable.
7937 (debug): Rewrite using display-buffer-in-previous-window,
7938 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7939
7940 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7943
7944 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7945
7946 * progmodes/python.el (python-shell-send-string):
7947 When default-directory is remote, create temp file on remote
7948 filesystem.
7949 (python-shell-send-file): When file is remote, pass local view of
7950 file paths to remote Python interpreter. (Bug#12340)
7951
7952 2012-09-07 Chong Yidong <cyd@gnu.org>
7953
7954 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7955
7956 * files.el (after-find-file): Don't fail on a read-only buffer if
7957 require-final-newline is `visit' or `visit-save' (Bug#11156).
7958
7959 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7960
7961 * userlock.el (ask-user-about-supersession-threat):
7962 Use read-char-choice (Bug#12093).
7963
7964 2012-09-07 Chong Yidong <cyd@gnu.org>
7965
7966 * subr.el (buffer-narrowed-p): New function.
7967
7968 * ses.el (ses-widen):
7969 * simple.el (count-words--buffer-message):
7970 * net/browse-url.el (browse-url-of-buffer): Use it.
7971
7972 * simple.el (count-words-region): Don't signal an error if there
7973 is a non-nil prefix arg and the mark is not set.
7974
7975 * help.el (describe-key-briefly): Allow the message to be seen
7976 when invoked from the minibuffer (Bug#7014).
7977
7978 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7979
7980 * progmodes/ruby-mode.el (ruby-end-of-defun)
7981 (ruby-beginning-of-defun): Simplify, allow indentation before
7982 block beginning and end keywords.
7983 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7984 (ruby-end-of-defun): Expect that the point is at the beginning of
7985 the defun.
7986
7987 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7990 (bug#12367).
7991 (cl--make-usage-args): Strip _ from argument names.
7992
7993 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7994
7995 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7996 obsolete alias speedbar-key-map.
7997 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7998 (vhdl-index-menu-init): Don't use obsolete variable
7999 font-lock-maximum-size.
8000
8001 2012-09-06 Chong Yidong <cyd@gnu.org>
8002
8003 * frame.el (window-system-version): Mark as obsolete.
8004
8005 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8006 of obsolete variable speedbar-key-map.
8007
8008 2012-09-06 Juri Linkov <juri@jurta.org>
8009
8010 * replace.el (replace-lax-whitespace): New defcustom.
8011 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8012 (replace-string, replace-regexp): Mention it in docstrings.
8013 (perform-replace, replace-highlight): Let-bind
8014 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8015 to the values of replace-lax-whitespace and regexp-flag.
8016 Don't let-bind search-whitespace-regexp. (Bug#10885)
8017
8018 * isearch.el (isearch-query-replace): Let-bind
8019 replace-lax-whitespace instead of let-binding
8020 replace-search-function and replace-re-search-function.
8021 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8022 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8023 (isearch-toggle-symbol): Set isearch-regexp to nil
8024 in isearch-word mode (like in isearch-toggle-word).
8025
8026 2012-09-06 Juri Linkov <juri@jurta.org>
8027
8028 * replace.el (replace-search-function)
8029 (replace-re-search-function): Set default values to nil.
8030 (perform-replace): Let-bind isearch-related variables based on
8031 replace-related values, call `isearch-search-fun' and let-bind
8032 the result to `search-function'. Remove code that sets
8033 `search-function' and `search-string' separately for
8034 `delimited-flag'.
8035 (replace-highlight): Add new argument `delimited-flag' and
8036 rename other arguments to the names used in `perform-replace'.
8037 Let-bind `isearch-word' to the argument `delimited-flag'.
8038 (Bug#10885, bug#10887)
8039
8040 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8041
8042 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8043 ruby-beginning-of-indent, simplify, allow all keywords to have
8044 indentation before them.
8045 (ruby-beginning-of-indent): Adjust for above. Search until the
8046 found point is not inside a string or comment.
8047 (ruby-font-lock-keywords): Allow symbols to start with "@"
8048 character, give them higher priority than variables.
8049 (ruby-syntax-propertize-function)
8050 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8051 matchers. Expression expansions are not comments when inside a
8052 string, and there comment syntax status is irrelevant.
8053 (ruby-match-expression-expansion): New function. Check that
8054 expression expansion is inside a string, and it's not escaped.
8055 (ruby-font-lock-keywords): Use it.
8056
8057 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8058
8059 * help.el (temp-buffer-max-height): New default value.
8060 (temp-buffer-resize-frames): New option.
8061 (resize-temp-buffer-window): Optionally resize frame.
8062
8063 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8064 (fit-frame-to-buffer): New function.
8065
8066 2012-09-05 Glenn Morris <rgm@gnu.org>
8067
8068 * emulation/cua-rect.el (cua--init-rectangles):
8069 * textmodes/picture.el (picture-mode-map):
8070 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8071 like forward-char and backward-char. (Bug#12317)
8072
8073 2012-09-05 Leo Liu <sdl.web@gmail.com>
8074
8075 * progmodes/flymake.el (flymake-warning-re): New variable.
8076 (flymake-parse-line): Use it.
8077
8078 2012-09-05 Glenn Morris <rgm@gnu.org>
8079
8080 * calendar/holidays.el (holiday-christian-holidays):
8081 Rename an entry. (Bug#12289)
8082
8083 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8086 (bug#12222).
8087
8088 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * loadup.el: Load macroexp. Remove hack.
8091 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8092 (macroexp--expand-all): Use it to get better warnings.
8093 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8094 (internal-macroexpand-for-load): New functions.
8095 (macroexp--pending-eager-loads): New var.
8096 (emacs-startup-hook): New hack to replace one in loadup.el.
8097 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8098 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8099 (cl-psetf): Simplify.
8100 (cl-defstruct): Add indent rule.
8101
8102 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8103
8104 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8105 over `user-mail-address' for the SMTP MAIL FROM envelope.
8106 (smtpmail-via-smtp): Ditto.
8107
8108 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8109
8110 * progmodes/ruby-mode.el: Clean up keybindings.
8111 (ruby-mode-map): Don't bind ruby-electric-brace,
8112 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8113 backward-kill-word, reindent-then-newline-and-indent.
8114 (ruby-mark-defun): Remove.
8115 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8116 (ruby-mode): Set local beginning-of-defun-function and
8117 end-of-defun-function values.
8118
8119 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8120
8121 * window.el (temp-buffer-window-setup-hook)
8122 (temp-buffer-window-show-hook): New hooks.
8123 (temp-buffer-window-setup, temp-buffer-window-show)
8124 (with-temp-buffer-window): New functions.
8125 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8126 (special-display-popup-frame): Make sure the window used shows BUFFER.
8127
8128 * help.el (temp-buffer-resize-mode): Fix doc-string.
8129 (resize-temp-buffer-window): New optional argument WINDOW.
8130
8131 * files.el (recover-file, save-buffers-kill-emacs):
8132 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8133
8134 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8135
8136 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8137 remote definition of `default-directory', ensure we can connect.
8138
8139 2012-09-02 Juri Linkov <juri@jurta.org>
8140
8141 Toggle whitespace matching mode with M-s SPC.
8142 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8143
8144 * isearch.el (search-whitespace-regexp): Doc fix.
8145 Remove cons cell customization.
8146 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8147 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8148 New variables.
8149 (isearch-forward, isearch-forward-regexp): Doc fix.
8150 (isearch-toggle-lax-whitespace): New command.
8151 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8152 (re-search-forward-lax-whitespace)
8153 (re-search-backward-lax-whitespace): New functions.
8154 (isearch-whitespace-regexp): Remove function.
8155 (isearch-query-replace): Let-bind replace-search-function and
8156 replace-re-search-function.
8157 (isearch-occur): Let-bind search-spaces-regexp according to the
8158 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8159 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8160 condition for C-q SPC.
8161 (isearch-search-fun-default): Use new functions mentioned above.
8162 (isearch-search-forward, isearch-search-backward): Remove functions.
8163 (isearch-search): Don't let-bind search-spaces-regexp.
8164 (isearch-lazy-highlight-space-regexp): Remove variable.
8165 (isearch-lazy-highlight-lax-whitespace)
8166 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8167 (isearch-lazy-highlight-new-loop): Use them.
8168 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8169
8170 2012-09-02 Chong Yidong <cyd@gnu.org>
8171
8172 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8173
8174 2012-09-02 Glenn Morris <rgm@gnu.org>
8175
8176 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8177
8178 2012-09-01 Glenn Morris <rgm@gnu.org>
8179
8180 * term.el: Tidy up menu definitions.
8181 (term-mode-map): Use easymenu for In/Out, Complete menus.
8182 (term-pager-break-map): Initialize in the defvar.
8183 (term-terminal-menu, term-signals-menu): Define with easymenu.
8184 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8185 (term-pager-menu): New, extracted from term-process-pager.
8186 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8187 (term-update-mode-line): Propertize line/char and page items.
8188 (term-process-pager): Move keymap initialization elsewhere.
8189
8190 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8191
8192 * window.el (switch-to-prev-buffer): Handle additional values of
8193 BURY-OR-KILL argument. Don't switch in minibuffer window.
8194 (switch-to-next-buffer): Don't switch in minibuffer window.
8195 (quit-restore-window): New function based on quit-window.
8196 Handle additional values of former KILL argument.
8197 (quit-window): Call quit-restore-window with appropriate
8198 interpretation of KILL argument.
8199 (display-buffer-below-selected): New buffer display action
8200 function.
8201
8202 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * minibuffer.el (completion-at-point-functions): Complete docstring
8205 (bug#12254).
8206
8207 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8208
8209 Better seed support for (random).
8210 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8211 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8212 * play/mpuz.el, play/tetris.el, play/zone.el:
8213 * calc/calc-comb.el (math-init-random-base):
8214 * play/blackbox.el (bb-init-board):
8215 * play/life.el (life):
8216 * server.el (server-use-tcp):
8217 * type-break.el (type-break):
8218 Remove unnecessary call to (random t).
8219 * net/sasl.el (sasl-unique-id-function):
8220 Change (random t) to (random), now that the latter is more random.
8221 * play/life.el (life-initialized): Remove no-longer-needed var.
8222
8223 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8224
8225 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8226 Consider frame's buffer predicate when choosing the buffer.
8227 (Bug#12081)
8228
8229 2012-08-30 Richard Stallman <rms@gnu.org>
8230
8231 * simple.el (special-mode-map): Delete binding for `z'.
8232
8233 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8234
8235 * progmodes/compile.el (compilation-always-kill): Doc fix.
8236
8237 2012-08-30 Chong Yidong <cyd@gnu.org>
8238
8239 * window.el (display-buffer-reuse-frames): Make the obsolescence
8240 message more informative.
8241
8242 2012-08-30 Glenn Morris <rgm@gnu.org>
8243
8244 * paren.el (show-paren-delay):
8245 Add a :set function. Doc fix. (Bug#12297)
8246
8247 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8248
8249 * progmodes/compile.el (compilation-always-kill): New var.
8250 (compilation-start): Use it.
8251
8252 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8255 * files.el (read-only-mode): Move to simple.el.
8256
8257 * files.el (read-only-mode): New minor mode.
8258 (toggle-read-only): Use it and mark obsolete.
8259 (find-file--read-only):
8260 * vc/vc.el (vc-next-action, vc-checkout):
8261 * vc/vc-cvs.el (vc-cvs-checkout):
8262 * obsolete/vc-mcvs.el (vc-mcvs-update):
8263 * ffap.el (ffap--toggle-read-only): Update callers.
8264
8265 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8266
8267 * eshell/esh-ext.el (eshell-external-command): Do not examine
8268 remote shell scripts.
8269 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8270
8271 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8272 "/usr/local/sbin".
8273
8274 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8277
8278 2012-08-28 Leo Liu <sdl.web@gmail.com>
8279
8280 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8281 completion-at-point. (Bug#12220)
8282
8283 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8284
8285 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8286
8287 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8288
8289 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8290 be buffer-local; add delete-trailing-whitespace (bug#12259).
8291
8292 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8293
8294 * progmodes/hideif.el (hif-compress-define-list):
8295 Fix typo. (Bug#11951)
8296
8297 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8298
8299 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8300 buffer local setting.
8301
8302 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8303 rcirc-encode-coding-system.
8304
8305 2012-08-28 Leo Liu <sdl.web@gmail.com>
8306
8307 * net/rcirc.el (rcirc-split-message): New function.
8308 (rcirc-send-message): Use it. (Bug#12051)
8309
8310 2012-08-28 Juri Linkov <juri@jurta.org>
8311
8312 * info.el (Info-fontify-node): Hide empty lines at the end of
8313 the node. (Bug#12272)
8314
8315 2012-08-27 Drew Adams <drew.adams@oracle.com>
8316
8317 * dired.el (dired-pop-to-buffer): Make window start at beginning
8318 of buffer (Bug#12281).
8319
8320 2012-08-26 Chong Yidong <cyd@gnu.org>
8321
8322 * window.el (special-display-regexps, special-display-frame-alist)
8323 (special-display-buffer-names, special-display-function)
8324 (display-buffer-reuse-frames): Mark as obsolete.
8325
8326 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8327
8328 * help.el (help-print-return-message): Don't treat
8329 display-buffer-reuse-frames specially.
8330
8331 2012-08-26 Chong Yidong <cyd@gnu.org>
8332
8333 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8334 New variable, replacing gdb-frame-parameters.
8335 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8336 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8337 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8338 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8339 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8340 the functions directly with gdb-display-buffer-other-frame-action.
8341 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8342 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8343 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8344 (gdb-display-registers-buffer): Define directly.
8345 (def-gdb-display-buffer): Macro deleted.
8346 (gdb-display-buffer): Remove second and third args, callers don't
8347 use them. Defer to the default display-buffer behavior, apart
8348 from making windows dedicated.
8349 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8350
8351 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8352
8353 * window.el (display-buffer-pop-up-frame): Handle a
8354 pop-up-frame-parameters alist entry.
8355 (display-buffer): Document it.
8356
8357 2012-08-26 Chong Yidong <cyd@gnu.org>
8358
8359 * isearch.el (search-whitespace-regexp): Make string and nil
8360 values apply to both ordinary and regexp search. Allow a cons
8361 cell value to distinguish between the two.
8362 (isearch-whitespace-regexp, isearch-search-forward)
8363 (isearch-search-backward): New functions.
8364 (isearch-occur, isearch-search-fun-default, isearch-search)
8365 (isearch-lazy-highlight-new-loop): Use them.
8366 (isearch-forward, isearch-forward-regexp): Doc fix.
8367
8368 2012-08-26 Chong Yidong <cyd@gnu.org>
8369
8370 * faces.el (help-argument-name): Always inherit from italic
8371 (Bug#12213).
8372
8373 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8374
8375 * window.el (window--even-window-heights): Even heights when
8376 WINDOW and the selected window form a vertical combination.
8377 (display-buffer-use-some-window): Provide that window used gets
8378 sized back by quit-window. (Bug#11880) and (Bug#12091)
8379
8380 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8381
8382 Fix file time stamp problem with bzr and CVS (Bug#12001).
8383 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8384 in the file's time stamp, since the version control system loses
8385 that information.
8386
8387 2012-08-22 Juri Linkov <juri@jurta.org>
8388
8389 * info.el (Info-fontify-node): Hide the suffix of the
8390 Info file name in the header line. (Bug#12187)
8391
8392 2012-08-22 Glenn Morris <rgm@gnu.org>
8393
8394 * calendar/cal-tex.el (cal-tex-weekly-common):
8395 Restore leading blank page.
8396
8397 2012-08-22 Le Wang <l26wang@gmail.com>
8398
8399 * misc.el (forward-to-word, backward-to-word): Activate or extend
8400 the region under `shift-select-mode'. (Bug#12231)
8401
8402 2012-08-22 Bastien Guerry <bzg@gnu.org>
8403
8404 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8405 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8406 gives details on why the space is never needed.
8407
8408 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8409
8410 * window.el (walk-window-tree, window-with-parameter):
8411 New optional argument MINIBUF to control whether these functions
8412 should run on the minibuffer window.
8413 (window-at-side-list): Don't operate on minibuffer window.
8414 (window-in-direction): Simplify and rewrite doc-string.
8415 (window--size-ignore): Rename to window--size-ignore-p.
8416 Update callers.
8417 (display-buffer-in-atom-window, window--major-non-side-window)
8418 (window--major-side-window, display-buffer-in-major-side-window)
8419 (delete-side-window, display-buffer-in-side-window):
8420 New functions.
8421 (window--side-check, window-deletable-p, delete-window)
8422 (delete-other-windows, split-window): Handle side windows and
8423 atomic windows appropriately.
8424 (window--display-buffer): Call display-buffer-record-window also
8425 when the window buffer did not change.
8426
8427 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8428
8429 * help-fns.el (help-fns--key-bindings):
8430 Abbreviate non-symbol remap targets. (Bug#12174)
8431
8432 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8433
8434 * dired.el (dired-mark-remembered): Don't clobber point.
8435 (Bug#11795)
8436
8437 2012-08-22 Glenn Morris <rgm@gnu.org>
8438
8439 * progmodes/bug-reference.el (bug-reference): New custom group.
8440 (bug-reference-bug-regexp): Make it a defcustom.
8441
8442 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8443
8444 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8445 (js-paren-indent-offset, js-square-indent-offset)
8446 (js-curly-indent-offset): Add :safe (Bug#12257).
8447
8448 2012-08-22 Edward O'Connor <hober0@gmail.com>
8449
8450 * json.el (json-key-format): Add error properties.
8451 (json-encode-key): New function.
8452 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8453 Use json-encode-key.
8454
8455 2012-08-22 Glenn Morris <rgm@gnu.org>
8456
8457 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8458 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8459 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8460 Update for above change.
8461
8462 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8463
8464 * cus-face.el (custom-face-attributes): Fix customize type for the
8465 :underline attribute. (Bug#11805)
8466
8467 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8468
8469 * window.el (window-point-1, set-window-point-1): Remove.
8470 (window-in-direction, record-window-buffer)
8471 (set-window-buffer-start-and-point, split-window-below)
8472 (window--state-get-1, display-buffer-record-window):
8473 Replace calls to window-point-1 and set-window-point-1 by calls to
8474 window-point and set-window-point respectively.
8475
8476 2012-08-21 Glenn Morris <rgm@gnu.org>
8477
8478 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8479 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8480 Use it.
8481
8482 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8483 (cal-tex-shortday): New function.
8484 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8485 (cal-tex-cursor-filofax-daily): Use the above.
8486
8487 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8488 New functions.
8489 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8490 (cal-tex-cursor-filofax-week): Use them.
8491
8492 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8493 New constants.
8494 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8495 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8496
8497 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8498 (cal-tex-end-document): Don't rely on buffer name.
8499
8500 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8501 Use cal-tex-vspace.
8502 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8503 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8504 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8505 Use cal-tex-arg.
8506
8507 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8508 (cal-tex-cursor-week, cal-tex-cursor-week2)
8509 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8510 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8511 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8512 (cal-tex-insert-preamble, cal-tex-b-document)
8513 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8514 Improve cal-tex-cmd usage.
8515
8516 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8517 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8518 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8519 (cal-tex-weekly-paper): New function.
8520 (cal-tex-cursor-week, cal-tex-cursor-week2)
8521 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8522 (cal-tex-cursor-day): Use it.
8523
8524 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8525 (cal-tex-cursor-filofax-week): Remove leading blank page.
8526
8527 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8528 Add autoload cookie. For now at least, don't use color, since
8529 no other cal-tex function does.
8530
8531 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8532 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8533 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8534
8535 2012-08-21 Juri Linkov <juri@jurta.org>
8536
8537 * info.el (Info-file-attributes): New variable.
8538 (info-insert-file-contents): Add file attributes to
8539 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8540 `Info-toc-nodes' when previous modtime of the Info file is less
8541 than new modtime.
8542 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8543 of info.el. (Bug#12230)
8544
8545 2012-08-20 Glenn Morris <rgm@gnu.org>
8546
8547 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8548 * calendar/holidays.el (calendar-holiday-list):
8549 Report errors with display-warning rather than beep'n'sleep.
8550
8551 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8552
8553 * net/tramp.el (tramp-accept-process-output): Accept only output
8554 from PROC. Otherwise, process filters and sentinels might be
8555 confused. (Bug#12145)
8556
8557 2012-08-20 Chong Yidong <cyd@gnu.org>
8558
8559 * descr-text.el (describe-text-properties-1): Use overlays-in to
8560 report on empty overlays (Bug#3322).
8561
8562 2012-08-20 Glenn Morris <rgm@gnu.org>
8563
8564 * mail/rmailout.el (rmail-output-read-file-name):
8565 Trap and report errors in rmail-output-file-alist elements.
8566
8567 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8568 since most non-font-lock faces are not also variables).
8569
8570 2012-08-20 Edward Reingold <reingold@iit.edu>
8571
8572 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8573 New function. (Bug12160)
8574
8575 2012-08-19 Glenn Morris <rgm@gnu.org>
8576
8577 * mail/rmailout.el (rmail-output-read-file-name):
8578 Fix previous change (when the alist is nil or does not match).
8579
8580 2012-08-19 Chong Yidong <cyd@gnu.org>
8581
8582 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8583 (Bug#12228).
8584
8585 2012-08-18 Chong Yidong <cyd@gnu.org>
8586
8587 * simple.el (yank-handled-properties): New defcustom.
8588 (yank-excluded-properties): Add font-lock-face and category.
8589 (yank): Doc fix.
8590
8591 * subr.el (remove-yank-excluded-properties):
8592 Obey yank-handled-properties. The special handling of font-lock-face
8593 and category is now done this way, instead of being hard-coded.
8594 (insert-for-yank-1): Remove font-lock-face handling.
8595 (yank-handle-font-lock-face-property)
8596 (yank-handle-category-property): New function.
8597
8598 2012-08-17 Glenn Morris <rgm@gnu.org>
8599
8600 * mail/rmailout.el (rmail-output-read-file-name):
8601 Check rmail-output-file-alist against the full message body
8602 in the correct rmail buffer. (Bug#12214)
8603
8604 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8605
8606 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8607 Eliminate superfluous prompt. (Bug#12203)
8608
8609 2012-08-17 Chong Yidong <cyd@gnu.org>
8610
8611 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8612 font spec, set the font directly (Bug#3228).
8613
8614 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8615
8616 * window.el (delete-window): Fix last fix.
8617
8618 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8619
8620 * window.el (window-valid-p): Move to window.c.
8621 (window-child, window-child-count, window-last-child)
8622 (window-normalize-window, window-combined-p)
8623 (window-combinations, window-atom-root, window-min-size)
8624 (window-sizable, window-sizable-p, window-size-fixed-p)
8625 (window-min-delta, window-max-delta, window--resizable)
8626 (window--resizable-p, window-resizable, window-total-size)
8627 (window-full-height-p, window-full-width-p, window-body-size)
8628 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8629 (minimize-window, window-deletable-p, delete-window)
8630 (delete-other-windows, set-window-buffer-start-and-point)
8631 (next-buffer, previous-buffer, split-window, balance-windows-2)
8632 (set-window-text-height, window-buffer-height)
8633 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8634 (truncated-partial-width-window-p): Minor code adjustments.
8635 In doc-strings state whether the argument window has to denote a
8636 live, valid or any window.
8637
8638 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8639
8640 * progmodes/subword.el (subword-forward-function)
8641 (subword-backward-function, subword-forward-regexp)
8642 (subword-backward-regexp): New variables.
8643 (subword-forward, subword-forward-internal, subword-backward-internal):
8644 Use new variables, eg so that different "word" definitions
8645 can be easily used. (Bug#11411)
8646
8647 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8650 for composite selectors.
8651 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8652 operation just because we can't find a previous revision.
8653
8654 2012-08-15 Chong Yidong <cyd@gnu.org>
8655
8656 * frame.el (set-frame-font): Accept font objects.
8657
8658 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8661
8662 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8663
8664 * man.el (Man-overstrike-face, Man-underline-face)
8665 (Man-reverse-face): Remove variables.
8666 (Man-overstrike, Man-underline, Man-reverse): New faces.
8667 (Man-fontify-manpage): Use them instead of the variables.
8668 (Man-cleanup-manpage): Comment change.
8669 (Man-ansi-color-map): New variable.
8670 (Man-fontify-manpage): Use it.
8671 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8672
8673 Implement ANSI SGR parameters 22-27 (bug#12146).
8674 * ansi-color.el (ansi-colors): Doc fix.
8675 (ansi-color-context, ansi-color-context-region): Doc fix.
8676 (ansi-color--find-face): New function.
8677 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8678 Rename the local variable `face' to `codes' since it is now a list of
8679 ansi codes. Doc fix.
8680 (ansi-color-get-face): Remove.
8681 (ansi-color-parse-sequence): New function, derived from
8682 ansi-color-get-face.
8683 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8684 codes 22-27.
8685
8686 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * subr.el (read-passwd): Allow use from a minibuffer.
8689
8690 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8691
8692 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8693 inside comments and strings as identifiers.
8694
8695 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8696 expression to evaluate. This allows to evaluate expressions with
8697 embedded whitespace.
8698 (gud-tooltip-tips): Add a blank before the newline in the
8699 message-box text, for the benefit of message-box emulation on
8700 MS-Windows.
8701
8702 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8703 messages from GDB, pop them up in a tooltip to give feedback to
8704 user.
8705 (gdb-tooltip-print-1): Quote the expression to evaluate.
8706 This allows to evaluate expressions with embedded whitespace.
8707 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8708 if the TTY name is nil or empty (which happens when communicating
8709 with the inferior via pipes, e.g. on MS-Windows).
8710 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8711 don't send that to the GUD buffer.
8712
8713 2012-08-14 Glenn Morris <rgm@gnu.org>
8714
8715 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8716 Optimize away setq-default with no args, as for setq. (Bug#12195)
8717
8718 2012-08-14 Chong Yidong <cyd@gnu.org>
8719
8720 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8721
8722 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8723 (Bug#12085).
8724
8725 2012-08-14 Glenn Morris <rgm@gnu.org>
8726
8727 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8728
8729 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8730
8731 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8732 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8733 Use cached shell name.
8734
8735 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8736
8737 * progmodes/python.el (python-shell-send-string):
8738 (python-shell-send-setup-code): Do not use `format' with `message'.
8739
8740 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8741
8742 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8743 (ruby-percent-literal-beg-re): New constant.
8744 (ruby-syntax-general-delimiters-goto-beg): Rename to
8745 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8746 (ruby-syntax-propertize-general-delimiters): Rename to
8747 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8748 popular term. Adjust comments everywhere.
8749 (ruby-syntax-propertize-percent-literal): Only propertize when not
8750 inside a simple string or comment. When the literal is unclosed,
8751 leave the text after it unpropertized.
8752 (ruby-syntax-methods-before-regexp): New constant.
8753 (ruby-syntax-propertize-function): Use it to recognize regexps.
8754 Don't look at the text after regexp, just use the whitelist.
8755
8756 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8757
8758 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8759 non-nil always load the compiled file if it exists. (Bug#12197)
8760
8761 2012-08-14 Chong Yidong <cyd@gnu.org>
8762
8763 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8764 (hi-lock-set-pattern): When deciding whether to use font lock or
8765 overlays, look at font-lock-mode instead of font-lock-fontified
8766 (Bug#12168).
8767 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8768 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8769
8770 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8771
8772 * subr.el (internal--after-with-selected-window): Fix typo
8773 (Bug#12193).
8774
8775 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8776
8777 Use `completion-table-dynamic' for completion functions.
8778 * progmodes/python.el
8779 (python-shell-completion--do-completion-at-point)
8780 (python-shell-completion--get-completions):
8781 Remove functions.
8782 (python-shell-completion-complete-at-point): New function.
8783 (python-completion-complete-at-point): Use it.
8784
8785 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8786
8787 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8788 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8789
8790 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * subr.el (function-get): Refine `autoload' arg so it can also
8793 autoload functions for gv.el (bug#12191).
8794 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8795 autoloads macros.
8796
8797 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8798 Prefer pcase-let over destructuring-bind.
8799 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8800 Also, remove whitespace as we go, rather than after accumulating the
8801 various places.
8802
8803 * subr.el (internal--before-with-selected-window)
8804 (internal--after-with-selected-window): Fix typo seleted->selected.
8805 (with-selected-window): Adjust callers.
8806 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8807
8808 2012-08-13 Bastien Guerry <bzg@gnu.org>
8809
8810 * window.el (special-display-popup-frame): Minor docstring
8811 enhancement. (Bug#12172)
8812
8813 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8814
8815 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8816 type 1-6.
8817 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8818 extended headers.
8819
8820 * files.el (hack-local-variables-filter): Remove useless eval.
8821
8822 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8823
8824 * subr.el (with-selected-window): Fix last change.
8825
8826 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * subr.el (internal--before-with-seleted-window)
8829 (internal--after-with-seleted-window): New functions.
8830 (with-selected-window): Use them, to replace dependency on
8831 tty-top-frame.
8832
8833 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8834
8835 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8836 binding for `newline'.
8837 (ruby-move-to-block): When moving backward, stop at block opening,
8838 not indentation.
8839 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8840 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8841 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8842 `ruby-toggle-block'.
8843
8844 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * ibuffer.el (ibuffer-do-toggle-read-only):
8847 * dired.el (dired-toggle-read-only):
8848 * buff-menu.el (Buffer-menu-toggle-read-only):
8849 * bindings.el (mode-line-toggle-read-only):
8850 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8851
8852 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8853
8854 * descr-text.el (describe-char): Put the overlays over the
8855 "displayed as" character.
8856
8857 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8858
8859 * calc/calc-units.el (math-default-units-table): Give an
8860 initial value.
8861 (math-put-default-units): Add options to put composite units and
8862 unit systems in the default units table.
8863 (calc-convert-units): Send composite units to
8864 `math-put-default-units' when appropriate.
8865
8866 2012-08-11 Glenn Morris <rgm@gnu.org>
8867
8868 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8869
8870 * tutorial.el (help-with-tutorial):
8871 * emacs-lisp/copyright.el (copyright-update-directory):
8872 * emacs-lisp/autoload.el (autoload-find-generated-file)
8873 (autoload-find-file): Disable local eval: (for insurance).
8874
8875 * files.el (hack-local-variables-filter): If an eval: form is not
8876 known to be safe, and enable-local-variables is :safe, then ignore
8877 the form totally, as is done for non-eval forms. (Bug#12155)
8878 This is CVE-2012-3479.
8879
8880 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8883 (rx-form): Simplify.
8884
8885 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8886
8887 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8888 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8889 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8890 (ruby-syntax-propertize-function): Adjust for changes in
8891 `ruby-syntax-propertize-heredoc'.
8892
8893 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8894
8895 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8896 binding (use `M-;' instead).
8897 (ruby-singleton-class-p): New function.
8898 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8899
8900 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8903
8904 2012-08-10 Chong Yidong <cyd@gnu.org>
8905
8906 * progmodes/python.el (python-shell-get-process-name): Don't mess
8907 with same-window-buffer-names.
8908
8909 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8910 (eshell-remove-from-window-buffer-names): Make obsolete.
8911 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8912 (eshell): Just use pop-to-buffer-same-window instead.
8913
8914 2012-08-10 Chong Yidong <cyd@gnu.org>
8915
8916 * bindings.el: Bind M-= back to count-words-region.
8917
8918 * simple.el (count-words-region): Accept a prefix arg for acting
8919 on the entire buffer.
8920 (count-words--buffer-message): New helper function.
8921
8922 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8925 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8926 (event-start, event-end): Use posn-at-point to return a more
8927 informative posn.
8928 (posnp): New function.
8929 * mouse.el (popup-menu-normalize-position): Use it.
8930
8931 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8932
8933 * mouse.el (popup-menu-normalize-position): New function.
8934 (popup-menu): Use `popup-menu-normalize-position' to normalize
8935 the form for POSITION argument.
8936
8937 * term/x-win.el (x-menu-bar-open):
8938 Use the value returend from (posn-at-point) as position
8939 passed to `popup-menu'.
8940
8941 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8942
8943 * calc/calccomp.el (math-compose-expr): Add extra argument
8944 indicating that parentheses should be put around products in
8945 denominators. Give multiplication precedence over division during
8946 composition.
8947
8948 2012-08-09 Chong Yidong <cyd@gnu.org>
8949
8950 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8951 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8952 (Man-untabify-command, manual-program): Convert to defcustom
8953 (Bug#10429).
8954
8955 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8956
8957 * descr-text.el (describe-char): Don't insert extra newlines
8958 (Bug#10127).
8959
8960 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8961 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8962
8963 * align.el (align-region): Delete temporary markers (Bug#10047).
8964 Plus some code cleanups.
8965
8966 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8967
8968 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8969 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8970 (python-shell-internal-last-output): Use make-local-variable
8971 instead of make-variable-buffer-local.
8972
8973 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8974
8975 * progmodes/python.el: Enhancements to forward-sexp.
8976 (python-nav-forward-sexp): Rename from
8977 python-nav-forward-sexp-function.
8978 (python-nav--forward-sexp, python-nav--backward-sexp):
8979 New functions.
8980
8981 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8982
8983 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8984 modes and simplification modes.
8985
8986 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * delsel.el (delete-selection-pre-hook): Don't propagate the
8989 file-supersession signals (bug#12161).
8990
8991 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8994 (cl-map-extents): Add compatibility aliases (bug#12135).
8995
8996 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8997
8998 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8999 tests by `ignore-error'.
9000 (tramp-find-shell): Open also a new shell, when cache is already
9001 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9002
9003 2012-08-08 Juri Linkov <juri@jurta.org>
9004
9005 * bookmark.el: Add `defaults' property to the bookmark record.
9006 (bookmark-current-buffer): Doc fix.
9007 (bookmark-make-record): Add `defaults' property with default values
9008 to the bookmark record.
9009 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9010 with `bookmark-insert-current-bookmark'.
9011 (bookmark-set): Get `defaults' property from the bookmark record
9012 and use it in `read-from-minibuffer'.
9013 (bookmark-insert-current-bookmark): Remove function.
9014
9015 * info.el (Info-bookmark-make-record): Add `defaults' property
9016 with values of canonical Info node name, the current Info file
9017 name and the current Info node name. (Bug#12107)
9018
9019 2012-08-08 Juri Linkov <juri@jurta.org>
9020
9021 * files.el (basic-save-buffer): Use `buffer-name' as the default
9022 of `read-file-name' when buffer is not visiting a file (bug#12128).
9023
9024 2012-08-08 Juri Linkov <juri@jurta.org>
9025
9026 * info.el (Info-isearch-search): Doc fix.
9027 (Info-search): Change search-failed message from "initial node" to
9028 "end of node" (bug#12078).
9029 (Info-isearch-search): Change `isearch-string-state' to
9030 `isearch--state-string'.
9031
9032 2012-08-08 Glenn Morris <rgm@gnu.org>
9033
9034 * language/persian.el: Remove file.
9035 * language/misc-lang.el: Move unique part of persian.el here.
9036 * loadup.el: Remove language/persian.
9037
9038 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9039
9040 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9041
9042 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9043
9044 * progmodes/python.el: Fix defsubst warning.
9045 (python-syntax-context) Rename from python-info-ppss-context.
9046 (python-syntax-context-type): Rename from
9047 python-info-ppss-context-type.
9048 (python-syntax-comment-or-string-p): Rename from
9049 python-info-ppss-comment-or-string-p.
9050
9051 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9052
9053 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9054
9055 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9056
9057 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9058 a defcustom that is quoted with backquote.
9059
9060 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9061 Fix handling of interactive spec when the body uses return.
9062 (math-do-arg-check, math-define-function-body): Use backquote forms.
9063 * calc/calc-ext.el (math-defcache): Likewise.
9064 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9065 * allout.el (allout-new-exposure): Likewise.
9066 * calc/calcalg2.el (math-tracing-integral): Likewise.
9067 * info.el (Info-last-menu-item): Likewise.
9068 * emulation/vip.el (vip-loop): Likewise.
9069 * textmodes/artist.el (artist-funcall): Likewise.
9070 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9071 Construct menu-item directly.
9072
9073 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9074 Don't declare.
9075
9076 2012-08-07 Chong Yidong <cyd@gnu.org>
9077
9078 * simple.el (deactivate-mark): Preserve text properties when
9079 saving the primary selection (Bug#8384).
9080
9081 2012-08-07 Kevin Ryde <user42@zip.com.au>
9082
9083 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9084 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9085 and continue processing (Bug#12110).
9086
9087 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9090 syntax-propertize-function (bug#10095).
9091
9092 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9095 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9096 describe-function-1.
9097 (describe-function-1): Use them. Move compiler macro after sig.
9098 (help-fns--compiler-macro): Use function-get. Assume we're already in
9099 standard-output. Adjust layout to new call order.
9100
9101 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9102 re-binding a symbol that has a symbol-macro (bug#12119).
9103
9104 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9105
9106 * language/persian.el: New file. (Bug#11812)
9107 * loadup.el: Add language/persian.el.
9108
9109 2012-08-06 Chong Yidong <cyd@gnu.org>
9110
9111 * window.el (window--maybe-raise-frame): New function.
9112 (window--display-buffer): Split off from here.
9113 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9114 (display-buffer-pop-up-window, display-buffer-use-some-window):
9115 Obey an inhibit-switch-frame action alist entry.
9116 (display-buffer): Update doc.
9117
9118 * replace.el (occur-after-change-function): Avoid losing focus by
9119 using the inhibit-switch-frame display parameter (Bug#12139).
9120
9121 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9122
9123 Make internal shell process buffer names start with space.
9124 * progmodes/python.el (python-shell-make-comint): Add optional
9125 argument INTERNAL.
9126 (run-python-internal): Use it.
9127 (python-shell-internal-get-or-create-process): Check for new
9128 internal buffer names.
9129
9130 2012-08-06 Glenn Morris <rgm@gnu.org>
9131
9132 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9133 Do less getting and setting of environment variables.
9134
9135 2012-08-05 Chong Yidong <cyd@gnu.org>
9136
9137 * proced.el (proced): Add substitution string to docstring to
9138 trigger autoloading of the proced library on C-h f (Bug#1768).
9139
9140 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9141 Don't show defvars which have no second argument (Bug#8638).
9142
9143 * imenu.el (imenu-generic-expression): Move documentation here
9144 from imenu--generic-function.
9145 (imenu--generic-function): Refer to imenu-generic-expression.
9146
9147 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9148
9149 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9150 indentation declaration.
9151 (viper-loop): Add indentation declaration (Bug#7025).
9152
9153 2012-08-05 Chong Yidong <cyd@gnu.org>
9154
9155 * help-fns.el (describe-variable): Add hyperlink for
9156 directory-local variables files. Improve buffer-local and
9157 permanent-local reporting; suggested by MON KEY (Bug#6644).
9158
9159 * help-mode.el (help-dir-local-var-def): New button type.
9160
9161 * files.el (kill-buffer-hook): Provide a defvar.
9162
9163 2012-08-05 Glenn Morris <rgm@gnu.org>
9164
9165 * eshell/esh-ext.el (eshell/addpath):
9166 Also update eshell-path-env. (Bug#12013)
9167
9168 2012-08-05 Chong Yidong <cyd@gnu.org>
9169
9170 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9171
9172 * fringe.el (fringe-styles): Add docstring.
9173 (fringe--check-mode): New function.
9174 (set-fringe-mode, set-fringe-style): Use it.
9175 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9176
9177 * files.el (set-auto-mode): Fix invalid setq call.
9178
9179 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * isearch.el: Misc simplification; use defstruct.
9182 (isearch-mode-map): Dense maps now work like sparse ones.
9183 (isearch--state): New defstruct.
9184 (isearch-string-state, isearch-message-state, isearch-point-state)
9185 (isearch-success-state, isearch-forward-state)
9186 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9187 (isearch-wrapped-state, isearch-barrier-state)
9188 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9189 replaced by defstruct's accessors.
9190 (isearch--set-state): Rename from isearch-top-state and change
9191 calling convention.
9192 (isearch-push-state): Use new isearch--get-state.
9193 (isearch-toggle-word): Disable regexp when enabling word.
9194 (isearch-message-prefix): Remove unused arg _c-q-hack.
9195 (isearch-message-suffix): Remove unused arg _ellipsis.
9196
9197 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9198
9199 * simple.el (list-processes--refresh): For a server use :host or
9200 :local as the address.
9201 (list-processes): Doc fix.
9202
9203 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9204
9205 * lisp/mpc.el: Support password in host argument.
9206 (mpc--proc-connect): Parse and use new password element.
9207 Set mpc-proc variable instead of returning process.
9208 (mpc-proc): Adjust accordingly.
9209
9210 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9211
9212 * whitespace.el (whitespace-display-mappings): Use Unicode
9213 codepoints, instead of emacs-mule codepoints. See
9214 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9215 for the details.
9216
9217 * files.el (file-truename): Don't skip symlink-chasing part on
9218 windows-nt. Incorporate the resolution of 8+3 short aliases on
9219 Windows into the loop that recursively chases symlinks.
9220 Compare directory and its parent case-insensitively on MS-Windows and
9221 MS-DOS.
9222
9223 2012-08-03 Chong Yidong <cyd@gnu.org>
9224
9225 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9226
9227 * sort.el (sort-regexp-fields): Doc fix.
9228
9229 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9230
9231 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9232 labels regex position point at the expected place.
9233
9234 2012-08-03 MON KEY <monkey@sandpframing.com>
9235
9236 * net/imap.el (imap-interactive-login, imap-authenticate)
9237 (imap-mailbox-lsub, imap-mailbox-list)
9238 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9239 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9240 (imap-parse-response): Doc fix.
9241
9242 2012-08-03 João Távora <joaotavora@gmail.com>
9243
9244 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9245 if sexp scanning does not move point (Bug#5734).
9246
9247 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9248
9249 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9250 Add listings, minted, and ctable packages.
9251 (reftex-label-alist-builtin): Move listings, minted, and ctable
9252 entries before LaTeX.
9253 (reftex-label-alist): Docfix.
9254
9255 2012-08-02 Bastien Guerry <bzg@gnu.org>
9256
9257 * replace.el (occur): Fix docstring (bug#12122).
9258
9259 2012-08-02 Glenn Morris <rgm@gnu.org>
9260
9261 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9262
9263 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9264
9265 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9266 * international/mule-cmds.el: Create
9267 inactivate-current-input-method-function as an obsolete alias for
9268 deactivate-current-input-method-function. See Katsumi Yamaoka in
9269 <http://bugs.gnu.org/10150#46>.
9270
9271 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9272
9273 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9274 of nested `if's.
9275
9276 2012-08-01 Glenn Morris <rgm@gnu.org>
9277
9278 * progmodes/autoconf.el (autoconf-definition-regexp):
9279 Add AH_TEMPLATE, adjust submatch numbering.
9280 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9281 (autoconf-current-defun-function): Update for above change.
9282 (autoconf-current-defun-function): First skip to end of current word.
9283
9284 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9285
9286 * calendar/cal-html.el (cal-html-insert-agenda-days):
9287 Fix typo. (Bug#12018)
9288
9289 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9290
9291 Shell processes: enhancements to startup and CEDET compatibility.
9292 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9293 (python-shell-make-comint): accept-process-output at startup.
9294 (run-python-internal): Set inferior-python-mode-hook to nil.
9295 (python-shell-internal-get-or-create-process): call sit-for.
9296 (python-preoutput-result): Add obsolete alias.
9297 (python-shell-internal-send-string): Use it.
9298 (python-shell-send-setup-code): Remove call to
9299 accept-process-output.
9300
9301 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9302
9303 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9304 (Bug#12108)
9305
9306 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9307
9308 * calc-mode.el (calc-basic-simplification-mode): Rename from
9309 `calc-limited-simplification-mode'.
9310 (calc-alg-simplification-mode): New function.
9311 (calc-set-simplify-mode): Adjust message.
9312
9313 * calc.el (calc-set-mode-line): Adjust mode line display for
9314 basic simplification mode.
9315
9316 * calc-help.el (calc-m-prefix-help): Update help message.
9317
9318 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9319 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9320
9321 2012-07-31 Bastien Guerry <bzg@gnu.org>
9322
9323 * man.el (man): Fix comment. (bug#12101)
9324
9325 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9326
9327 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9328 Don't return a non-nil value when no suitable buffer was found.
9329
9330 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9331
9332 * progmodes/python.el (run-python-internal): Disable font lock for
9333 internal shells.
9334
9335 2012-07-30 Stefan Merten <smerten@oekonux.de>
9336
9337 * textmodes/rst.el: Silence `checkdoc-ispell'.
9338 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9339 (rst-official-version, rst-official-cvs-rev)
9340 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9341 (rst-mode-map): New key binding.
9342
9343 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9344
9345 Update .PHONY listings in makefiles.
9346 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9347 autoloads, update-subdirs, updates, bzr-update, update-authors,
9348 compile-onefile, compile-calc, backup-compiled-files,
9349 compile-after-backup, compile-one-process, mh-autoloads,
9350 bootstrap-clean, distclean, maintainer-clean.
9351
9352 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9353
9354 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9355 (calc-set-mode-line): Don't display "AlgSimp ".
9356
9357 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9358 (calc-lim-simplify-mode): New function.
9359 (calc-set-simplify-mode): Default to 'alg.
9360 (calc-default-simplify-mode): Make algebraic simplifications
9361 the default.
9362
9363 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9364 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9365
9366 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9367 indicate new simplification modes.
9368
9369 * calc/README: Mention new default simplification mode.
9370
9371 * calc/calc.el (math-normalize-error): New variable.
9372 (math-normalize): Set `math-normalize-error' to t
9373 when there's an error.
9374
9375 * calc/calc-alg.el (math-simplify): Don't simplify when
9376 `math-normalize' returns an error.
9377
9378 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9379
9380 * international/mule-cmds.el (set-locale-environment): Revert last
9381 change, since display-graphic-p returns nil when this function is
9382 called during startup. Instead...
9383
9384 * term/w32console.el (terminal-init-w32console): ...setup the
9385 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9386
9387 2012-07-29 Juri Linkov <juri@jurta.org>
9388
9389 * simple.el (goto-line): Don't display default line number in the
9390 prompt because it should be displayed by `read-number' (bug#9952).
9391 Add the current line number to the defaults of `goto-line' to
9392 allow its easier modification by users with `M-n' (bug#9201).
9393
9394 * subr.el (read-number): Support multiple default values like in
9395 other minibuffer reading functions. Replace `read' with
9396 `string-to-number' for consistency with `number-to-string'.
9397
9398 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9399
9400 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9401 * emulation/viper-init.el (viper-deactivate-input-method-action):
9402 Rename from viper-inactivate-input-method-action.
9403 (viper-deactivate-input-method):
9404 Rename from viper-inactivate-input-method.
9405 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9406 * international/mule-cmds.el (deactivate-input-method):
9407 Rename from inactivate-input-method.
9408 Also run input-method-deactivate-hook.
9409 (deactivate-current-input-method-function):
9410 Rename from inactivate-current-input-method-function.
9411 (input-method-deactivate-hook): New hook.
9412 (input-method-inactivate-hook): Mark obsolete.
9413 (inactivate-input-method): Mark obsolete.
9414
9415 * international/quail.el (quail-activate):
9416 Also run quail-deactivate-hook.
9417 (quail-deactivate): Rename from quail-inactivate.
9418 * international/robin.el (robin-activate):
9419 Also run robin-deactivate-hook.
9420 (robin-deactivate): Rename from robin-inactivate.
9421
9422 2012-07-29 Chong Yidong <cyd@gnu.org>
9423
9424 * simple.el (indicate-copied-region): New function.
9425 (kill-ring-save): Split off from here.
9426
9427 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9428 (kill-rectangle): Set deactivate-mark to t on read-only error.
9429
9430 * register.el (copy-to-register, copy-rectangle-to-register):
9431 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9432 (append-to-register, prepend-to-register): Call indicate-copied-region.
9433
9434 2012-07-29 Juri Linkov <juri@jurta.org>
9435
9436 * simple.el (async-shell-command-buffer): New defcustom.
9437 (shell-command): Use it. (Bug#4719)
9438
9439 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9440
9441 * international/mule-cmds.el (set-locale-environment): In a
9442 console session on MS-Windows, set up keyboard and terminal
9443 encoding from the OEM codepage, not the ANSI codepage.
9444 (Bug#12055)
9445
9446 2012-07-28 Chong Yidong <cyd@gnu.org>
9447
9448 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9449 gdb-get-location.
9450
9451 2012-07-28 Leo Liu <sdl.web@gmail.com>
9452
9453 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9454 the alist (bug#12029).
9455
9456 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9457
9458 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9459 (compile-always, compile-first)
9460 ($(lisp)/calendar/cal-loaddefs.el)
9461 ($(lisp)/calendar/diary-loaddefs.el)
9462 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9463 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9464 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9465 instead of on update-subdirs.
9466 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9467
9468 2012-07-28 Chong Yidong <cyd@gnu.org>
9469
9470 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9471 directory if vc-deduce-backend returns nil (Bug#7350).
9472
9473 * simple.el (delete-trailing-lines): New option.
9474 (delete-trailing-whitespace): Obey it (Bug#11879).
9475
9476 2012-07-28 David Engster <deng@randomsample.de>
9477
9478 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9479 Explanation of new 'symbol-qnames feature in doc-strings.
9480 (xml-maybe-do-ns): Return expanded names as plain symbols if
9481 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9482 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9483
9484 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9485
9486 Consistent completion in inferior python with emacs -nw.
9487 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9488 binding in inferior-python-mode-map with "\t".
9489 (python-shell-completion-complete-at-point)
9490 (python-completion-complete-at-point): Remove interactive spec.
9491
9492 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9493
9494 * calc/calccomp.el (math-compose-expr): Undo previous change.
9495
9496 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9497
9498 * progmodes/python.el (python-mode-map): Add keybinding for
9499 run-python.
9500 (python-shell-make-comint): Fix pop-to-buffer call.
9501 (run-python): Autoload. New arg SHOW.
9502 (python-shell-get-or-create-process): Do not pop python process
9503 buffer.
9504
9505 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * notifications.el (notifications-on-action-signal)
9508 (notifications-on-closed-signal): Use also the bus address for the map.
9509 (notifications-notify, notifications-close-notification)
9510 (notifications-get-capabilities): Add optional argument BUS.
9511
9512 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9513
9514 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9515 Add support for the lstlisting and minted environments, and for the
9516 ctable macro.
9517 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9518 labels written in keyvals syntax.
9519
9520 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9521
9522 * calc/calccomp.el (math-compose-expr): Use parentheses when
9523 there is a product in the denominator of a fraction.
9524
9525 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9526
9527 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9528 ($(lisp)/calendar/diary-loaddefs.el)
9529 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9530 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9531 Fixes failures in parallel bootstrap because subdirs.el is being
9532 rewritten while the autoload files are built at the same time,
9533 which needs to load subdirs.el.
9534
9535 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9536
9537 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9538 (mouse-drag-line): Don't exit tracking when a switch-frame or
9539 switch-window event occurs (Bug#12006).
9540
9541 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * mouse.el (popup-menu): Fix last change.
9544
9545 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 Autoload from Lisp with more care. Follow aliases when looking for
9548 function properties.
9549 * subr.el (autoloadp): New function.
9550 (symbol-file): Use it.
9551 (function-get): New function.
9552 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9553 autoload-do-load.
9554 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9555 (lisp-indent-function):
9556 * emacs-lisp/gv.el (gv-get):
9557 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9558 * emacs-lisp/byte-opt.el (byte-optimize-form):
9559 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9560 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9561 Use function-get.
9562 * emacs-lisp/cl.el: Don't propagate function properties any more.
9563
9564 * speedbar.el (speedbar-add-localized-speedbar-support):
9565 * emacs-lisp/disass.el (disassemble-internal):
9566 * desktop.el (desktop-load-file):
9567 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9568 (describe-function-1):
9569 * emacs-lisp/find-func.el (find-function-noselect):
9570 * emacs-lisp/elp.el (elp-instrument-function):
9571 * emacs-lisp/advice.el (ad-has-proper-definition):
9572 * apropos.el (apropos-safe-documentation, apropos-macrop):
9573 * emacs-lisp/debug.el (debug-on-entry):
9574 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9575 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9576 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9577
9578 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9579
9580 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9581 function, not an obsolete variable (Bug#12046).
9582
9583 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9584
9585 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9586
9587 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9588
9589 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9590 window only if it is still live (Bug#12034).
9591
9592 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9593
9594 * subr.el (redirect-frame-focus): Add advertised calling
9595 convention (Bug#12030).
9596
9597 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9598
9599 Prefer typical American spelling for "acknowledgment".
9600 * vc/add-log.el (change-log-acknowledgment): Rename from
9601 change-log-acknowledgement, with an alias for the old name.
9602
9603 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9604
9605 * calc-alg.el (math-simplify-divide): Don't cross multiply
9606 in an equation when the lhs is a variable.
9607
9608 2012-07-24 Julien Danjou <julien@danjou.info>
9609
9610 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9611 Remove, unused.
9612
9613 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9614
9615 * startup.el (command-line): Don't display an empty user name in
9616 the error message about non-existent home directory, when
9617 init-file-user was set to an empty string. See
9618 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9619 for the details and context.
9620
9621 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9622
9623 * ses.el (ses-cell-formula-aset): New macro.
9624 (ses-cell-references-aset): New macro.
9625 (ses-cell-p): New function.
9626 (ses-rename-cell): Do no longer rely on complex operations like
9627 ses-cell-set-formula or ses-set-cell to change the cell and handle
9628 the undo at the same time, but rather use lower level new macros
9629 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9630 the undo directly. Refresh the mode line.
9631
9632 2012-07-21 Leo Liu <sdl.web@gmail.com>
9633
9634 * progmodes/cc-cmds.el (c-defun-name):
9635 Use match-string-no-properties instead for consistency.
9636
9637 2012-07-20 Leo Liu <sdl.web@gmail.com>
9638
9639 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9640 (Bug#7879)
9641
9642 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9643
9644 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9647 * progmodes/bug-reference.el, misearch.el: Provide themselves
9648 (bug#11915).
9649
9650 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9651 of narrowed buffer (bug#11966).
9652
9653 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9654
9655 * ses.el (ses-rename-cell): Set new name also in reference list of
9656 cells of which the renamed cell depends.
9657
9658 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9659
9660 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9661 to check whether menu-bar is shown or not. If not shown,
9662 show the menu-bar as a popup menu instead of using tmm.
9663 * mouse.el (popup-menu): Accept `point' as `position' argument.
9664
9665 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9666
9667 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9668 up inside string symbol literal (bug#11923).
9669
9670 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9671
9672 * startup.el (fancy-startup-text): Read the whole tutorial, not
9673 just its first 256 bytes. Prevents gibberish in display of the
9674 tutorial title.
9675
9676 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9677
9678 Drop idle buffer compaction due to an absence of the
9679 proved efficiency.
9680 * compact.el: Remove.
9681
9682 2012-07-19 Sam Steingold <sds@gnu.org>
9683
9684 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9685 vc-bzr-pull & vc-bzr-merge-branch.
9686 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9687 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9688 for consistency with compilation-error-regexp-alist.
9689 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9690 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9691 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9692 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9693
9694 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * emacs-lisp/chart.el: Use lexical-binding.
9697 (chart-emacs-storage): Don't hardcode the list of entries.
9698
9699 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9700
9701 Next round of tweaks caused by Fgarbage_collect changes.
9702 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9703
9704 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9705
9706 Compact buffers when idle.
9707 * compact.el: New file.
9708
9709 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * subr.el (eventp): Presume that if it looks vaguely like an event,
9712 it's an event (bug#10190).
9713
9714 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9715
9716 Enhancements to ppss related code (thanks Stefan).
9717 * progmodes/python.el (python-indent-context)
9718 (python-indent-calculate-indentation, python-indent-dedent-line)
9719 (python-indent-electric-colon, python-nav-forward-block)
9720 (python-mode-abbrev-table)
9721 (python-info-assignment-continuation-line-p): Simplify checks
9722 for ppss context.
9723 (python-info-continuation-line-p): Cleanup.
9724 (python-info-ppss-context): Do not catch 'quote.
9725 (python-info-ppss-context-type)
9726 (python-info-ppss-comment-or-string-p): Simplify.
9727
9728 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9729
9730 * progmodes/python.el: Enhancements to eldoc support.
9731 (python-info-current-symbol): New function.
9732 (python-eldoc-at-point): Use python-info-current-symbol.
9733 (python-info-current-defun): Fix cornercase on first defun scan.
9734 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9735 and signal error when no inferior python process is available.
9736
9737 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9738
9739 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9740 assume it's always t.
9741 (vc-git-registered): Remove caching, the function is only called
9742 once.
9743 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9744
9745 2012-07-18 Chong Yidong <cyd@gnu.org>
9746
9747 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9748
9749 * simple.el (count-words): Report on narrowing (Bug#9959).
9750
9751 * bindings.el: Bind M-= to count-words.
9752
9753 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9754
9755 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9756
9757 * progmodes/sh-script.el (sh-imenu-generic-expression):
9758 Capture a function with `function' keyword and without parentheses
9759 like "function FOO" (bug#11856).
9760
9761 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9762
9763 * window.el (split-window-sensibly): Make WINDOW argument
9764 optional.
9765
9766 2012-07-18 Chong Yidong <cyd@gnu.org>
9767
9768 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9769
9770 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9771 and make C-x 8 RET exit isearch (Bug#11439).
9772
9773 * international/iso-transl.el: Move isearch-mode-map key
9774 definitions to isearch.el.
9775
9776 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9779 (eieio-defclass): Use gv-define-setter when possible.
9780
9781 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9782
9783 Reflect recent changes in Fgarbage_collect.
9784 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9785 reflect new format of data returned by Fgarbage_collect.
9786
9787 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9788
9789 New utility functions + python-info-ppss-context fix (Bug#11910).
9790 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9791 (python-info-ppss-comment-or-string-p): New functions.
9792 (python-info-ppss-context): Small fix for string check.
9793
9794 2012-07-17 Juri Linkov <juri@jurta.org>
9795
9796 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9797 (dired-do-async-shell-command): Don't add `*' at the end of the
9798 command (Bug#11815).
9799 (dired-do-shell-command): Doc fix.
9800 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9801 Join the individual commands using either "&" or ";" as the
9802 separator depending on the values of these trailing characters.
9803 At the end re-add the trailing "&". (Bug#10598)
9804
9805 * simple.el (async-shell-command): Sync the interactive spec with
9806 `shell-command'. Doc fix.
9807 (shell-command): Doc fix.
9808
9809 2012-07-17 Juri Linkov <juri@jurta.org>
9810
9811 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9812
9813 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9814
9815 Final renames and doc fixes for movement commands (bug#11899).
9816 * progmodes/python.el (python-nav-beginning-of-statement):
9817 Rename from python-nav-statement-start.
9818 (python-nav-end-of-statement): Rename from
9819 python-nav-statement-end.
9820 (python-nav-beginning-of-block): Rename from
9821 python-nav-block-start.
9822 (python-nav-end-of-block): Rename from python-nav-block-end.
9823
9824 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9825
9826 * progmodes/python.el (python-shell-send-string-no-output):
9827 Allow accept-process-output to quit, keeping shell process ready for
9828 future interactions (Bug#11868).
9829
9830 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9833
9834 * emacs-lisp/elint.el (elint-find-args-in-code):
9835 Use help-function-arglist, so as to handle lexical byte-code.
9836
9837 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9838 change (bug#11826).
9839
9840 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9843 Avoid spuriously marking the buffer as modified because of c-is-sws.
9844
9845 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9846 as not-a-comment (bug#11946).
9847
9848 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9849 for uninterned vars.
9850
9851 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9852 Use read-event since we don't really want to read chars but bytes.
9853
9854 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9855 $$..$$ but also $..$ using regexps (bug#11953).
9856 Use tex-verbatim for \url and \path.
9857 (tex-font-lock-keywords): Define as defconst like the others.
9858 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9859
9860 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9861
9862 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9863 alias for insert-char.
9864
9865 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9866
9867 * progmodes/python.el: Simplified imenu implementation.
9868 (python-nav-jump-to-defun): Remove command.
9869 (python-mode-map): Use `imenu' instead.
9870 (python-nav-list-defun-positions-cache)
9871 (python-imenu-include-defun-type, python-imenu-make-tree)
9872 (python-imenu-subtree-root-label, python-imenu-index-alist):
9873 Remove vars.
9874 (python-nav-list-defun-positions, python-nav-read-defun)
9875 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9876 (python-imenu-make-tree, python-imenu-create-index):
9877 Remove functions.
9878 (python-mode): Update to interact with imenu by setting
9879 `imenu-extract-index-name-function' only.
9880
9881 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9882
9883 * progmodes/python.el: Enhancements to navigation commands.
9884 (python-nav-backward-sentence)
9885 (python-nav-forward-sentence): Remove.
9886 (python-nav-backward-statement, python-nav-forward-statement)
9887 (python-nav-statement-start, python-nav-statement-end)
9888 (python-nav-backward-block, python-nav-forward-block)
9889 (python-nav-block-start, python-nav-block-end)
9890 (python-nav-forward-sexp-function)
9891 (python-info-current-line-comment-p)
9892 (python-info-current-line-empty-p): New functions.
9893 (python-indent-context): Use `python-nav-statement-start'.
9894
9895 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9896
9897 * eshell/em-ls.el (eshell/ls): Use `apply'.
9898
9899 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9900 multi-hops, instead of Tramp internals.
9901
9902 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9903
9904 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9905 when F1 and F2 are located on different hosts.
9906
9907 2012-07-14 Chong Yidong <cyd@gnu.org>
9908
9909 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9910 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9911 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9912 (xterm-mouse--read-event-sequence-1000)
9913 (xterm-mouse--read-event-sequence-1006): New functions. For old
9914 mouse protocol, handle M-mouse-X events correctly.
9915 (xterm-mouse-event): New arg specifying mouse protocol.
9916 (turn-on-xterm-mouse-tracking-on-terminal)
9917 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9918 sequence to toggle extended coordinates on newer XTerms.
9919 This appears to be harmless on terminals which do not support this.
9920
9921 2012-07-14 Leo Liu <sdl.web@gmail.com>
9922
9923 Add fringe bitmap indicators for flymake. (Bug#11253)
9924 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9925 (flymake-make-overlay): New arg BITMAP.
9926 (flymake-error-bitmap, flymake-warning-bitmap)
9927 (flymake-fringe-indicator-position): New user variables.
9928
9929 * fringe.el: New bitmap exclamation-mark.
9930
9931 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9932
9933 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9934 also (Bug#7879).
9935
9936 2012-07-14 Chong Yidong <cyd@gnu.org>
9937
9938 * electric.el (electric-pair-post-self-insert-function): Fix pair
9939 insertion in empty-region case (Bug#11520).
9940
9941 2012-07-14 Chong Yidong <cyd@gnu.org>
9942
9943 * bindings.el: Consolidate ctl-x-r-map bindings.
9944 Bind copy-rectangle-as-kill to C-x r w.
9945
9946 * rect.el, register.el: Move bindings to bindings.el.
9947
9948 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9949
9950 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9951
9952 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9953
9954 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9955
9956 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9957
9958 * bindings.el (top): Use `mapc' instead of `mapcar'.
9959
9960 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9961
9962 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9963
9964 * progmodes/sql.el (sql-comint): Suppress the check for program on
9965 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9966 (Bug#11908)
9967
9968 2012-07-13 Chong Yidong <cyd@gnu.org>
9969
9970 * bindings.el: Assign a non-nil permanent-local property to
9971 per-buffer variables which lack a default value (Bug#11930).
9972
9973 * help-fns.el (describe-variable): In the "automatically becomes
9974 local" notice, take note of permanent-local variables.
9975
9976 2012-07-13 Chong Yidong <cyd@gnu.org>
9977
9978 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9979 to allow printing the message when called from Lisp.
9980
9981 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9982 Remove toggle-read-only.
9983
9984 * bs.el (bs-toggle-readonly):
9985 * buff-menu.el (Buffer-menu-toggle-read-only):
9986 Remove with-no-warnings around toggle-read-only.
9987
9988 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9989 Remove with-no-warnings around toggle-read-only.
9990 (ffap-read-only, ffap-read-only-other-window)
9991 (ffap-read-only-other-frame): Callers changed.
9992
9993 * help-mode.el: Don't require view package.
9994 (help-mode-finish): Set buffer-read-only instead of calling
9995 toggle-read-only.
9996
9997 * bindings.el (mode-line-toggle-read-only):
9998 * dired.el (dired-toggle-read-only):
9999 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10000 with non-nil second arg.
10001
10002 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10003 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10004 directly.
10005
10006 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10007
10008 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10009 not incf.
10010
10011 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 More CL cleanups and reduction of use of cl.el.
10014 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10015 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10016 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10017 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10018 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10019 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10020 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10021 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10022 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10023 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10024 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10025 * eshell/em-cmpl.el, eshell/em-banner.el:
10026 * calendar/parse-time.el: Use cl-lib.
10027 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10028 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10029 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10030 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10031 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10032 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10033 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10034 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10035 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10036 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10037 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10038 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10039 `lambda' rather than with `quote'.
10040 (eshell-do-opt): Adjust accordingly.
10041 (eshell-process-option): Simplify.
10042 * eshell/esh-var.el:
10043 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10044 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10045 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10046 to `pcase--dontcare'.
10047 * emacs-lisp/cl.el (labels): Mark obsolete.
10048 (cl--letf, letf): Move to cl-lib.
10049 (cl--letf*, letf*): Remove.
10050 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10051 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10052 (cl-progv): Rewrite.
10053 (cl--letf, cl-letf): Move from cl.el.
10054 (cl-letf*): New macro.
10055 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10056
10057 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10058
10059 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10060
10061 2012-07-11 Chong Yidong <cyd@gnu.org>
10062
10063 * vc/log-edit.el (log-edit-vc-backend): New variable.
10064 (log-edit): Doc fix.
10065
10066 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10067 argument of log-edit to set up all local variables.
10068 (vc-start-logentry): New optional arg specifying VC backend.
10069
10070 * vc/vc.el (vc-checkin): Use it.
10071 (vc-deduce-fileset): Handle Log Edit buffers.
10072 (vc-diff): Make first argument optional too.
10073
10074 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10075
10076 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10077
10078 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10079 command, just in case. The function is not needed anymore.
10080 (eshell-external-command): Do not call `eshell-remote-command'.
10081
10082 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 Reduce use of (require 'cl).
10085 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10086 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10087 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10088 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10089 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10090 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10091 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10092 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10093 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10094 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10095 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10096 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10097 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10098 (byte-compile-unfold-bcf, byte-compile-check-variable):
10099 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10100 (byte-compile-nilconstp):
10101 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10102 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10103
10104 * emacs-lisp/gv.el (cond): Make it a valid place.
10105 (if): Simplify slightly.
10106
10107 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10108 (pcase--self-quoting-p): New function.
10109 (pcase--u1): Use it.
10110
10111 2012-07-10 Glenn Morris <rgm@gnu.org>
10112
10113 * emacs-lisp/authors.el (authors-fixed-entries):
10114 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10115
10116 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10117
10118 Rename configure.in to configure.ac (Bug#11603).
10119 * emacs-lisp/authors.el (authors-canonical-file-name):
10120 * progmodes/autoconf.el (autoconf-mode):
10121 Prefer configure.ac to configure.in.
10122
10123 2012-07-08 Chong Yidong <cyd@gnu.org>
10124
10125 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10126 Implement the mouse-1-click-follows-link handling properly.
10127
10128 * info.el (Info-link-keymap): Use follow-link mechanism for
10129 header-line links (Bug#374).
10130
10131 * simple.el (deactivate-mark): Do not set the primary selection
10132 if another program has acquired it (Bug#11772).
10133
10134 2012-07-07 Kevin Ryde <user42@zip.com.au>
10135
10136 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10137 (woman-decode-region): Replace escaped-escapes without destroying
10138 bold or underline (Bug#11552).
10139 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10140
10141 2012-07-07 Chong Yidong <cyd@gnu.org>
10142
10143 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10144 (interprogram-cut-function, interprogram-paste-function):
10145 Mention that we typically mean the clipboard.
10146
10147 2012-07-06 Glenn Morris <rgm@gnu.org>
10148
10149 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10150
10151 * files.el (toggle-read-only): Restrict message to interactive use.
10152
10153 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10154
10155 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10156
10157 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10158
10159 2012-07-06 Glenn Morris <rgm@gnu.org>
10160
10161 * Makefile.in (compile-one-process): Rename from "recompile".
10162
10163 * Makefile.in (bzr-update): "compile" is the same as "recompile
10164 autoloads", but parallelizable, so use that instead.
10165
10166 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10167
10168 * window.el (quit-window): Always restore window height when
10169 it's saved in quit-restore parameter (Bug#11810).
10170
10171 2012-07-06 Glenn Morris <rgm@gnu.org>
10172
10173 * simple.el (kill-whole-line): Doc tweak.
10174
10175 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10176
10177 * files.el (file-relative-name): Compare file names
10178 case-insensitively if on MS-Windows or MS-DOS, or if
10179 read-file-name-completion-ignore-case is non-nil. Don't use
10180 case-fold-search for this purpose. (Bug#11827)
10181
10182 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10183
10184 * calendar/cal-dst.el (calendar-current-time-zone):
10185 Return calendar-current-time-zone-cache if non-nil.
10186
10187 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10188 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10189
10190 * calendar/cal-dst.el (calendar-current-time-zone):
10191 Return calendar-current-time-zone-cache if non-nil.
10192
10193 2012-07-06 Glenn Morris <rgm@gnu.org>
10194
10195 * Makefile.in (cvs-update): Remove old alias.
10196
10197 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10198
10199 Sync with Tramp 2.2.6-pre.
10200
10201 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10202 compatible declaration.
10203
10204 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10205 Protect `list-load-path-shadows' call.
10206
10207 * net/tramp-compat.el (top): Require packages, which aren't
10208 autoloaded anymore for XEmacs. Protect call of
10209 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10210 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10211 it hurts at least for SXEmacs.
10212 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10213 standard-value for `temporary-file-directory'.
10214
10215 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10216 Redirect stderr to /dev/null.
10217 (tramp-sh-handle-write-region): uid and gid can be floats.
10218 Reported by Russell Sim <russell.sim@gmail.com>.
10219 (tramp-sh-handle-vc-registered): Hide errors.
10220 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10221 and `start-file-process'.
10222 (tramp-maybe-open-connection): Check also whether `non-essential'
10223 is bound.
10224
10225 2012-07-04 Chong Yidong <cyd@gnu.org>
10226
10227 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10228 (xml-parse-tag): Likewise, and avoid changing entity tables.
10229 (xml-syntax-table): Define from scratch, making sure not to give
10230 x2000 and other Unicode spaces whitespace syntax, since those are
10231 not spaces in XML.
10232 (xml-parse-fragment): Delete unused function.
10233 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10234 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10235 (xml-entity-ref, xml-pe-reference-re)
10236 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10237 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10238 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10239 (xml-entity-value-re): Use syntax references in regexps where
10240 possible; no need to define inside a let-binding.
10241 (xml-parse-dtd): Use xml-pe-reference-re.
10242 (xml-entity-or-char-ref-re): New defconst.
10243 (xml-parse-string, xml-substitute-special): Use it.
10244
10245 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10246
10247 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10248 (find-file--read-only): New function.
10249 (find-file-read-only, find-file-read-only-other-window)
10250 (find-file-read-only-other-frame): Use it.
10251 (insert-file-contents-literally): Don't `fset'.
10252 (get-free-disk-space): Use locate-dominating-file.
10253
10254 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10255 function is already compiled.
10256
10257 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10258
10259 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10260
10261 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10262 files on the same host.
10263
10264 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10265
10266 * help-fns.el (describe-function-1): Only call
10267 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10268
10269 2012-07-03 Chong Yidong <cyd@gnu.org>
10270
10271 * xml.el: Protect parser against XML bombs.
10272 (xml-entity-expansion-limit): New variable.
10273 (xml-parse-string, xml-substitute-special): Use it.
10274 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10275
10276 2012-07-03 Glenn Morris <rgm@gnu.org>
10277
10278 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10279 Allow linking to specific messages in debbugs reports (eg 123#5).
10280
10281 2012-07-02 Chong Yidong <cyd@gnu.org>
10282
10283 * xml.el: Fix entity and character reference expansion, allowing
10284 them to expand into markup as per XML spec.
10285 (xml-default-ns): New variable.
10286 (xml-entity-alist): Use XML spec definitions for lt and amp.
10287 (xml-parse-region): Make first two arguments optional.
10288 Discard text properties.
10289 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10290 All callers changed.
10291 (xml-parse-tag): Call xml-parse-tag-1. For backward
10292 compatibility, this function should not modify buffer contents.
10293 (xml-parse-tag-1): Fix opening-tag regexp.
10294 (xml-parse-string): Rewrite, handling entity and character
10295 references properly.
10296 (xml--entity-replacement-text): Signal an error if a parameter
10297 entity is undefined.
10298
10299 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * comint.el (comint-output-filter): Filter out repeated prompts.
10302
10303 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10304 and file-name-absolute-p.
10305 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10306 internal calls.
10307
10308 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10309
10310 Spelling fixes.
10311 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10312 Rename from byte-compile--refiy-function. All uses changed.
10313
10314 2012-07-01 Chong Yidong <cyd@gnu.org>
10315
10316 * xml.el (xml--parse-buffer): New function. Move most of
10317 xml-parse-region here.
10318 (xml-parse-region): Copy region into a temporary buffer, since
10319 parameter entity substitution requires changing buffer contents.
10320 Use xml--parse-buffer.
10321 (xml-parse-file): Use xml--parse-buffer.
10322 (xml-parse-dtd): Make parameter entity substitution work right.
10323 Use proper regexps for ELEMENT declarations (Bug#7172).
10324
10325 2012-06-30 Glenn Morris <rgm@gnu.org>
10326
10327 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10328
10329 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10330 Remove outdated and unnecessary dbus declarations.
10331
10332 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10333
10334 * emacs-lisp/timer.el (timer-until): Subtract results of
10335 float-time, instead of taking float-time of the result of
10336 time-subtract, since float-time signals an error for negative time
10337 arguments.
10338
10339 2012-06-30 Chong Yidong <cyd@gnu.org>
10340
10341 * xml.el (xml-*-re): Convert defvars into defconsts, and
10342 eval-and-compile them so eval-and-compile works on derivatives.
10343 (xml--entity-replacement-text): Use eval-and-comple.
10344
10345 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10346
10347 * vc/vc-git.el (vc-git-registered): Use cache property
10348 `git-registered'.
10349 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10350 `vc-git-working-revision' in order to benefit from the cache.
10351 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10352
10353 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10354
10355 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10356 removed (likely outside Emacs). (Bug#11757)
10357
10358 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/cl-lib.el: Require macroexp.
10361
10362 2012-06-30 Chong Yidong <cyd@gnu.org>
10363
10364 * xml.el: Implement XML parameter entities.
10365 (xml-parameter-entity-alist): New variable.
10366 (xml-parse-region, xml-parse-fragment): Preserve previous values
10367 of xml-entity-alist and xml-parameter-entity-alist, so that
10368 repeated calls on different documents do not change them.
10369 (xml-parse-tag): Fix doctype regexp.
10370 (xml--entity-replacement-text): New function.
10371 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10372 properly requires url retrieval which is unimplemented.
10373 (xml-escape-string): Doc fix.
10374
10375 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10378
10379 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10380
10381 * fringe.el (fringe-mode): Doc fix.
10382
10383 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10384
10385 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10386 is non-nil.
10387 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10388 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10389
10390 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10391
10392 * calendar/cal-dst.el (calendar-current-time-zone):
10393 Return calendar-current-time-zone-cache if non-nil.
10394
10395 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10396
10397 * progmodes/which-func.el (which-func-format):
10398 Add mouse-face. (Bug#11698)
10399
10400 2012-06-29 Leo Liu <sdl.web@gmail.com>
10401
10402 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10403
10404 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * minibuffer.el (minibuffer-confirm-exit-commands):
10407 Add completion-at-point (bug#11725).
10408
10409 2012-06-29 Glenn Morris <rgm@gnu.org>
10410
10411 * progmodes/f90.el (f90-font-lock-keywords-2):
10412 Add some preprocessor elements. (Bug#10499)
10413
10414 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10417 Use syntax-propertize (bug#11739).
10418
10419 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10420
10421 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10422
10423 2012-06-28 Julien Danjou <julien@danjou.info>
10424
10425 * term.el (term-handle-colors-array): Use a set of new faces to
10426 color the terminal. Also uses :inverse-video property.
10427 (term-default-fg-color): Set to nil by default, deprecate in favor
10428 of `term-face'.
10429 (term-default-bg-color): Set to nil by default, deprecate in favor
10430 of `term-face'.
10431 (term-current-face): Use `term-face' by default.
10432 (term-bold-attribute): Variable deleted.
10433
10434 2012-06-28 Glenn Morris <rgm@gnu.org>
10435
10436 * simple.el (completion-list-mode-finish):
10437 Don't use toggle-read-only. (Since completion-list-mode has
10438 a special mode-class, it wasn't doing anything extra anyway.)
10439
10440 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 Make inlining of other-mode interpreted functions work (bug#11799).
10443 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10444 (byte-compile): Use it to fix compilation of lexical-binding closures.
10445 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10446 function, if needed.
10447
10448 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * help-mode.el (help-make-xrefs): Don't just withstand
10451 cyclic-variable-indirection but any error in documentation-property.
10452
10453 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10454 memory use.
10455 * bindings.el (bindings--define-key): New function.
10456 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10457 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10458 * bindings.el: Use it to purecopy define-key bindings.
10459
10460 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10461
10462 * emacs-lisp/cl.el (flet): Mark obsolete.
10463 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10464 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10465 * progmodes/js.el (js-c-fill-paragraph):
10466 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10467 (ebrowse-switch-member-buffer-to-derived-class):
10468 * play/5x5.el (5x5-solver): Use cl-flet.
10469
10470 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10471 (cl--symbol-function): New macro.
10472 (cl--letf, cl--letf*): Use it.
10473
10474 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10475 Strip "toggle-" if any.
10476
10477 2012-06-27 Glenn Morris <rgm@gnu.org>
10478
10479 * info.el (Info-default-directory-list): Move here from paths.el.
10480 * paths.el: Remove file, which is now empty.
10481 * loadup.el: No longer load "paths".
10482
10483 * custom.el (custom-initialize-delay): Doc fix.
10484
10485 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10486 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10487 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10488 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10489 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10490 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10491 * eshell/eshell.el (eshell-defgroup): Remove alias.
10492
10493 2012-06-27 Chong Yidong <cyd@gnu.org>
10494
10495 * help.el (help-enable-auto-load): New variable.
10496
10497 * help-fns.el (help-fns--autoloaded-p): New function.
10498 (describe-function-1): Refer to a function as "autoloaded" if it
10499 was autoloaded at any time in the past. Perform autoloading if
10500 help-enable-auto-load is non-nil.
10501
10502 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10503
10504 * makefile.w32-in (compile, compile-always): Depend on
10505 update-subdirs, not on subdirs.el. Otherwise, several different
10506 sub-targets of 'bootstrap' running in parallel could
10507 simultaneously write to subdirs.el, producing a garbled file.
10508
10509 2012-06-26 Sam Steingold <sds@gnu.org>
10510
10511 * files.el (file-name-base): New convenience function.
10512 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10513 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10514 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10515 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10516 * textmodes/ispell.el, textmodes/reftex-ref.el:
10517 * textmodes/tex-mode.el: Use it.
10518 Did not touch cedet and org because they are maintained elsewhere.
10519
10520 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10521
10522 * calendar/calendar.el (calendar-exit): Don't try to delete or
10523 iconify last frame. See:
10524 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10525
10526 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10527
10528 * server.el (server-process-filter): Remember dir in the
10529 process's `server-client-directory' properties.
10530
10531 2012-06-24 Chong Yidong <cyd@gnu.org>
10532
10533 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10534 non-tag text.
10535
10536 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10539
10540 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * help-fns.el (describe-variable): Don't croak when doc is not found.
10543 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10544 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10545 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10546 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10547 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10548 ((lambda ..) ..).
10549 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10550
10551 2012-06-23 Chong Yidong <cyd@gnu.org>
10552
10553 * info.el (Info-mouse-follow-link): Accept symbol values of
10554 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10555 (Info-fontify-node): Use Info-link-keymap for all navigation
10556 buttons, with link-args property to perform the desired action.
10557 (Info-link-keymap): Doc fix.
10558 (Info-next-link-keymap, Info-prev-link-keymap)
10559 (Info-up-link-keymap): Delete now-unused keymaps.
10560
10561 2012-06-23 Chong Yidong <cyd@gnu.org>
10562
10563 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10564
10565 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10566 system abbrevs.
10567
10568 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10569
10570 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10573 (bug#11719).
10574
10575 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10576 the requote function doesn't work properly (bug#11714).
10577
10578 2012-06-23 Glenn Morris <rgm@gnu.org>
10579
10580 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10581
10582 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 Further GV/CL cleanups.
10585 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10586 gv-expander.
10587 (gv--defun-declaration): New function.
10588 (defun-declarations-alist): Use it.
10589 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10590 (gv-place): Autoload.
10591 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10592 original definition of dotimes and dolist.
10593 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10594 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10595 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10596 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10597 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10598 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10599 to the function's definition.
10600 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10601 * window.el:
10602 * files.el:
10603 * faces.el:
10604 * env.el: Don't use CL.
10605
10606 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10607
10608 Support higher-resolution time stamps (Bug#9000).
10609
10610 * calendar/time-date.el (with-decoded-time-value): New arg
10611 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10612 (encode-time-value): New optional arg PICO. New type 3.
10613 (time-to-seconds) [!float-time]: Support the new picoseconds
10614 component if it's used.
10615 (seconds-to-time, time-subtract, time-add):
10616 Support ps-resolution time stamps as well.
10617
10618 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10619 (timerp): Timer vectors now have length 9, not 8.
10620 (timer--time): Support new-style (4-part) time stamps.
10621 (timer-next-integral-multiple-of-time): Time stamps now have
10622 picosecond resolution, so take a bit more care about rounding.
10623 (timer-relative-time, timer-inc-time): New optional arg psecs.
10624 (timer-set-time-with-usecs): Set psecs to 0.
10625 (timer--activate): Check psecs component, too.
10626
10627 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10628
10629 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10632 Move the non-essential binding to the post/pre-command-hook where it is
10633 more obviously correct.
10634
10635 * subr.el (read-passwd): Don't use a history at all.
10636 * savehist.el (savehist-save): Remove password saved accidentally
10637 because of the above bug.
10638
10639 2012-06-22 Bastien Guerry <bzg@gnu.org>
10640
10641 * files.el (toggle-read-only): Display a message telling whether
10642 the buffer is read-only or not (bug#11726).
10643
10644 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/gv.el: New file.
10647 * subr.el (push, pop): Extend to generalized variables.
10648 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10649 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10650 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10651 gv-define-simple-setter, and gv-define-expander.
10652 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10653 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10654 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10655 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10656 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10657 gv-letplace.
10658 (cl-defstruct): Don't define setf-method any more.
10659 * emacs-lisp/cl.el (flet): Don't autoload.
10660 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10661 (define-setf-expander, defsetf, define-modify-macro)
10662 (cl-struct-setf-expander): Move from cl-lib.el.
10663 * emacs-lisp/syntax.el:
10664 * emacs-lisp/ewoc.el:
10665 * emacs-lisp/smie.el:
10666 * emacs-lisp/cconv.el:
10667 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10668 (timer--time): Use gv-define-simple-setter.
10669 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10670 to avoid coding-system problems in subr.el. Adjust all users.
10671 (macroexp--maxsize, macroexp-small-p): New functions.
10672 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10673 * scroll-bar.el (scroll-bar-mode):
10674 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10675 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10676 * winner.el (winner-configuration, winner-make-point-alist)
10677 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10678 * files.el (locate-file-completion-table): Avoid list*.
10679
10680 2012-06-22 Chong Yidong <cyd@gnu.org>
10681
10682 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10683 (dired-create-files): Doc fix (Bug#11329).
10684 (dired-do-copy): Doc fix (Bug#11334).
10685 (dired-mark-read-string): Doc fix (Bug#11553).
10686
10687 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10688 Doc fix (Bug#11326).
10689 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10690 (dired-dwim-target): Doc fix.
10691
10692 * wdired.el (wdired-mode): Doc fix.
10693
10694 2012-06-22 Glenn Morris <rgm@gnu.org>
10695
10696 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10697 (pcmpl-rpm-cache-stamp-file): New constant.
10698 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10699 (pcmpl-rpm-packages): Optionally cache list of packages.
10700
10701 * pcmpl-rpm.el (pcmpl-rpm): New group.
10702 (pcmpl-rpm-query-options): New option.
10703 (pcmpl-rpm-packages): No need to inline it.
10704 Use pcmpl-rpm-query-options.
10705
10706 * calendar/calendar.el (calendar-in-read-only-buffer):
10707 Avoid some needless mode changes.
10708
10709 2012-06-21 Chong Yidong <cyd@gnu.org>
10710
10711 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10712 (desktop-path): Remove . from the default value (Bug#10977).
10713 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10714
10715 2012-06-20 Chong Yidong <cyd@gnu.org>
10716
10717 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10718
10719 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10720
10721 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10722 (bug#11201).
10723
10724 2012-06-20 Chong Yidong <cyd@gnu.org>
10725
10726 * term.el (term-window-width): Handle the case of a missing right
10727 fringe (Bug#8837).
10728 (term-check-size): Use window-text-height (Bug#5445).
10729 (term-mode): Use define-derived-mode. Minor cleanups.
10730 Set font-lock-defaults (Bug#7692).
10731 (term-move-columns, term-insert-char, term-emulate-terminal)
10732 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10733
10734 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10735
10736 * net/ange-ftp.el (ange-ftp-get-passwd):
10737 Bind `enable-recursive-minibuffers'.
10738 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10739
10740 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10741
10742 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10743
10744 2012-06-19 Glenn Morris <rgm@gnu.org>
10745
10746 * progmodes/python.el (python-mode): Derive from prog-mode.
10747
10748 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10749
10750 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10751 (edt-user-menu-bar-update-buffers): New functions.
10752 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10753
10754 2012-06-19 Chong Yidong <cyd@gnu.org>
10755
10756 * subr.el (with-selected-window): Preserve the selected window's
10757 terminal's top-frame (Bug#4702).
10758
10759 * window.el (save-selected-window): Likewise.
10760
10761 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * progmodes/python.el (python-rx-constituents): Move backquote.
10764 (python-skeleton-define, python-define-auxiliary-skeleton):
10765 Use `declare'.
10766
10767 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * minibuffer.el (read-file-name-default): Revert the patch from
10770 2012-06-17.
10771
10772 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10775 (pcase--u1, pcase--q1): Don't use apply-partially.
10776
10777 2012-06-18 Glenn Morris <rgm@gnu.org>
10778
10779 * progmodes/python.el (python-proc, python-buffer)
10780 (python-send-receive, python-send-string): Fix obsolete versions.
10781
10782 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10783
10784 * window.el (special-display-p): Completely remove stringp
10785 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10786
10787 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10788
10789 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10790
10791 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10792
10793 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10794 * net/tramp-sh.el (tramp-maybe-open-connection):
10795 Throw if `non-essential' is non-nil.
10796
10797 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10798
10799 * window.el (special-display-p): Signal an error if BUFFER-NAME
10800 is not a string (Bug#11713).
10801
10802 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10803
10804 * progmodes/python.el (python-info-beginning-of-backslash):
10805 Rename from python-info-beginning-of-backlash, as a spelling fix.
10806
10807 2012-06-17 Chong Yidong <cyd@gnu.org>
10808
10809 * term.el (term-emulate-terminal): If term-check-size is called,
10810 move point to the process mark without resetting point (Bug#4635).
10811
10812 2012-06-17 Glenn Morris <rgm@gnu.org>
10813
10814 * international/mule-cmds.el (mule-menu-keymap)
10815 (set-language-environment, set-locale-environment): Doc tweaks.
10816
10817 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10818
10819 * cus-face.el (custom-face-attributes): Add wave-style underline
10820 attribute.
10821 * faces.el (set-face-attribute): Update docstring to describe
10822 wave-style underline attribute.
10823
10824 2012-06-16 Chong Yidong <cyd@gnu.org>
10825
10826 * term/xterm.el (terminal-init-xterm): Discard input before
10827 querying background mode (Bug#10959).
10828
10829 2012-06-16 Stefan Merten <smerten@oekonux.de>
10830
10831 * textmodes/rst.el: Added and corrected some comments.
10832 (rst-re-alist-def): Improve symbol syntax.
10833 (rst-mode-syntax-table): Correct syntax entries.
10834 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10835 (rst-official-version, rst-official-cvs-rev): Update version
10836 information.
10837
10838 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10839
10840 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10841 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10842
10843 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10844
10845 * progmodes/python.el: New python.el merge.
10846 (python-guess-indent): Obsolete var.
10847 (python-indent-guess-indent-offset): New defcustom.
10848 (python-indent): Obsolete var.
10849 (python-indent-offset): New defcustom.
10850 (python-python-command, python-jython-command): Delete var.
10851 (python-shell-interpreter): New defcustom.
10852 (python-pdbtrack-do-tracking-p): Delete var.
10853 (python-pdbtrack-activate): New defcustom.
10854 (python-use-skeletons): Obsolete var.
10855 (python-skeleton-autoinsert): New defcustom.
10856 (inferior-python-filter-regexp, python-continuation-offset)
10857 (python-honour-comment-indentation, python-indent-string-contents)
10858 (python-jython-packages, python-mode-hook)
10859 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10860 (python-shell-prompt-alist)
10861 (python-source-modes): Delete defcustoms.
10862 (python-check-buffer-name, python-eldoc-setup-code)
10863 (python-eldoc-string-code, python-ffap-setup-code)
10864 (python-ffap-string-code, python-fill-comment-function)
10865 (python-fill-decorator-function, python-fill-paren-function)
10866 (python-fill-string-function, python-imenu-include-defun-type)
10867 (python-imenu-make-tree, python-imenu-subtree-root-label)
10868 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10869 (python-shell-compilation-regexp-alist)
10870 (python-shell-completion-module-string-code)
10871 (python-shell-completion-pdb-string-code)
10872 (python-shell-completion-setup-code)
10873 (python-shell-completion-string-code)
10874 (python-shell-enable-font-lock, python-shell-exec-path)
10875 (python-shell-extra-pythonpaths)
10876 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10877 (python-shell-process-environment)
10878 (python-shell-prompt-block-regexp)
10879 (python-shell-prompt-output-regexp)
10880 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10881 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10882 (python-shell-virtualenv-path): New defcustoms.
10883 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10884 (inferior-python-mode-syntax-table, python--prompt-regexp)
10885 (python-buffer, python-command python-python-command)
10886 (python-default-template, python-imports, python-indent-index)
10887 (python-indent-list, python-indent-list-length)
10888 (python-mode-running, python-pdbtrack-is-tracking-p)
10889 (python-preoutput-continuation, python-preoutput-leftover)
10890 (python-preoutput-result, python-preoutput-skip-next-prompt)
10891 (python-prev-dir/file, python-recursing)
10892 (python-saved-check-command, python-version-checked)
10893 (python-which-func-length-limit)
10894 (view-return-to-alist): Delete vars.
10895 (python-check-custom-command, python-dotty-syntax-table)
10896 (python-imenu-index-alist, python-indent-current-level)
10897 (python-indent-dedenters, python-indent-levels)
10898 (python-nav-beginning-of-defun-regexp)
10899 (python-nav-list-defun-positions-cache)
10900 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10901 (python-shell-internal-buffer)
10902 (python-skeleton-available): New vars.
10903 (def-python-skeleton): Delete macro.
10904 (python-skeleton-define): New macro.
10905 (python-define-auxiliary-skeleton, python-rx): New macros.
10906 (python-insert-class): Delete command.
10907 (python-skeleton-class): New command.
10908 (python-insert-def): Delete command.
10909 (python-skeleton-def): New command.
10910 (python-insert-for): Delete command.
10911 (python-skeleton-for): New command.
10912 (python-insert-if): Delete command.
10913 (python-skeleton-if): New command.
10914 (python-insert-try/except, python-insert-try/finally): Delete commands.
10915 (python-skeleton-try): New command.
10916 (python-insert-while): Delete command.
10917 (python-skeleton-while): New command.
10918 (python-backspace): Delete command.
10919 (python-indent-dedent-line-backspace): New command.
10920 (python-electric-colon): Delete command.
10921 (python-indent-electric-colon): New command.
10922 (python-guess-indent): Delete command.
10923 (python-indent-guess-indent-offset): New command.
10924 (python-shift-left): Delete command.
10925 (python-indent-shift-left): New command.
10926 (python-shift-right): Delete command.
10927 (python-indent-shift-right): New command.
10928 (python-find-function): Delete command.
10929 (python-nav-jump-to-defun): New command.
10930 (python-next-statement): Delete command.
10931 (python-nav-forward-sentence): New command.
10932 (python-previous-statement): Delete command.
10933 (python-nav-backward-sentence): New command.
10934 (python-fill-paragraph): Delete command.
10935 (python-fill-paragraph-function): New command.
10936 (python-send-buffer): Delete command.
10937 (python-shell-send-buffer): New command.
10938 (python-send-defun): Delete command.
10939 (python-shell-send-defun): New command.
10940 (python-send-region, python-send-region-and-go): Delete commands.
10941 (python-shell-send-region)
10942 (python-shell-switch-to-shell): New commands.
10943 (python-send-string): Delete command.
10944 (python-shell-send-string): New command.
10945 (python-switch-to-python): Delete command.
10946 (python-shell-switch-to-shell): New command.
10947 (python-describe-symbol): Delete command.
10948 (python-eldoc-at-point): New command.
10949 (python--set-prompt-regexp, python-args-to-list)
10950 (python-after-info-look, python-check-version)
10951 (python-check-comint-prompt, python-find-imports)
10952 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10953 (python-unload-function, python-expand-template)
10954 (python-maybe-jython, python-preoutput-filter)
10955 (python-pdbtrack-get-source-buffer)
10956 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10957 (python-pdbtrack-toggle-stack-tracking)
10958 (python-pdbtrack-track-stack-file, python-initial-text)
10959 (python-first-word, python-comment-line-p, python-send-command)
10960 (python-setup-brm, python-sentinel, python-set-proc)
10961 (python-skip-out, python-input-filter, python-outdent-p)
10962 (python-outline-level, python-backslash-continuation-line-p)
10963 (python-end-of-block, python-end-of-statement, python-mark-block)
10964 (python-beginning-of-block, python-beginning-of-statement)
10965 (python-blank-line-p, python-beginning-of-string)
10966 (python-open-block-statement-p): Delete functions.
10967 (python-indent-line, python-indent-line-1): Delete functions.
10968 (python-indent-line): New function.
10969 (python-indentation-levels): Delete function.
10970 (python-indent-calculate-levels): New function.
10971 (python-proc): Delete function.
10972 (python-shell-get-process): New function.
10973 (python-send-receive): Delete function.
10974 (python-shell-send-string-no-output): New function.
10975 (python-module-path): Delete function.
10976 (python-ffap-module-path): New function.
10977 (python-completion-at-point)
10978 (python-symbol-completions): Delete functions.
10979 (python-completion-complete-at-point): New function.
10980 (python-load-file): Delete function.
10981 (python-shell-send-file): New function.
10982 (python-calculate-indentation): Delete function.
10983 (python-indent-calculate-indentation): New function.
10984 (python-skip-comments/blanks): Delete function.
10985 (python-util-forward-comment): New function.
10986 (python-continuation-line-p): Delete function.
10987 (python-info-continuation-line-p): New function.
10988 (python-which-func, python-current-defun): Delete function.
10989 (python-info-current-defun): New function.
10990 (python-beginning-of-defun): Delete function.
10991 (python-nav-beginning-of-defun): New function.
10992 (python-close-block-statement-p)
10993 (python-block-end-p): Delete function.
10994 (python-info-closing-block): New function.
10995 (python-comint-output-filter-function)
10996 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10997 (python-fill-comment, python-fill-decorator, python-fill-paren)
10998 (python-fill-string, python-imenu-make-element-tree)
10999 (python-imenu-make-tree, python-imenu-tree-assoc)
11000 (python-indent-context, python-indent-dedent-line)
11001 (python-indent-line-function)
11002 (python-indent-post-self-insert-function)
11003 (python-indent-toggle-levels)
11004 (python-info-assignment-continuation-line-p)
11005 (python-info-beginning-of-backlash)
11006 (python-info-block-continuation-line-p)
11007 (python-info-closing-block-message)
11008 (python-info-line-ends-backslash-p)
11009 (python-info-looking-at-beginning-of-defun)
11010 (python-info-ppss-context, python-info-ppss-context-type)
11011 (python-nav-list-defun-positions, python-nav-read-defun)
11012 (python-nav-sentence-end, python-nav-sentence-start)
11013 (python-pdbtrack-comint-output-filter-function)
11014 (python-pdbtrack-set-tracked-buffer)
11015 (python-shell-calculate-exec-path)
11016 (python-shell-calculate-process-environment)
11017 (python-shell-completion--do-completion-at-point)
11018 (python-shell-completion--get-completions)
11019 (python-shell-completion-complete-at-point)
11020 (python-shell-completion-complete-or-indent)
11021 (python-shell-get-or-create-process)
11022 (python-shell-get-process-name)
11023 (python-shell-internal-get-or-create-process)
11024 (python-shell-internal-get-process-name)
11025 (python-shell-internal-send-string, python-shell-make-comint)
11026 (python-shell-parse-command, python-shell-send-setup-code)
11027 (python-skeleton-add-menu-items)
11028 (python-util-clone-local-variables, python-util-position)
11029 (run-python-internal, python-indentation-levels)
11030 (python-nav-beginning-of-defun)
11031 (python-completion-complete-at-point): New functions.
11032 (run-python): Change arguments. New API requirements.
11033
11034 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11037 (bug#11649).
11038
11039 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11040 (macroexp--expand-all): Use it.
11041
11042 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11043 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11044 Use `cl-function' instead.
11045
11046 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11047
11048 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11049 Suggested by Stefan Monnier while discussing bug#11657.
11050
11051 2012-06-14 Sam Steingold <sds@gnu.org>
11052
11053 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11054
11055 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11056
11057 * play/doctor.el (doctor-doc): Remove parameter and use
11058 doctor-sent instead of sent.
11059 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11060
11061 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * files.el: Require cl-lib.
11064 (file-name-non-special): Replace case -> cl-case.
11065
11066 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11067
11068 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11069 mapping from #' to function*.
11070
11071 2012-06-13 Chong Yidong <cyd@gnu.org>
11072
11073 * mouse.el (mouse-drag-track): Do not set the mark if the user
11074 releases the mouse without selecting anything (Bug#11588).
11075
11076 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11079 as well (bug#11646).
11080
11081 * loadup.el: Count byte-code functions as well.
11082
11083 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11084 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11085
11086 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11087 (bug#11649). Add cl-defun and cl-defmacro.
11088
11089 2012-06-13 Drew Adams <drew.adams@oracle.com>
11090
11091 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11092 Fix last change.
11093
11094 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11095
11096 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11097 Otherwise, it blocks in batch mode.
11098
11099 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11100
11101 * help-mode.el (bookmark-make-record-default): Declare.
11102
11103 2012-06-13 Chong Yidong <cyd@gnu.org>
11104
11105 * emacs-lisp/package.el (list-packages): Compute a list of
11106 packages that are newly-available since the last list-packages
11107 invocation.
11108 (package-menu--new-package-list): New var.
11109 (package-menu--generate, package-menu--print-info)
11110 (package-menu--status-predicate, package-menu-mark-install):
11111 Handle new status label "new".
11112
11113 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11114
11115 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11116 conversion to backquotes.
11117
11118 2012-06-12 Chong Yidong <cyd@gnu.org>
11119
11120 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11121 Rename from gud-inhibit-global-bindings.
11122
11123 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11124
11125 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11126 hook from nxml-glyph-set-hook.
11127
11128 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11129 declaration.
11130
11131 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11132
11133 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11134 Convert to defcustom.
11135
11136 2012-06-12 Drew Adams <drew.adams@oracle.com>
11137
11138 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11139 New functions.
11140 (help-mode): Use them.
11141
11142 2012-06-11 Glenn Morris <rgm@gnu.org>
11143
11144 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11145 Use preprocessor face for directives.
11146 (fortran-directive-re): Doc fix.
11147
11148 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11151 conversion to backquotes (bug#11652).
11152
11153 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11154 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11155 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11156 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11157 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11158 (cl-ninth, cl-tenth): Mark them as inlinable.
11159 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11160 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11161 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11162 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11163 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11164 (cl-list*, cl-adjoin): Don't put an autoload manually.
11165 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11166 (cl--compiler-macro-list*): Add autoload cookie.
11167 (cl--compiler-macro-cXXr): New function.
11168
11169 * help-fns.el (help-fns--compiler-macro): New function extracted from
11170 describe-function-1; follow aliases and use `compiler-macro' property.
11171 (describe-function-1): Use it.
11172
11173 2012-06-11 Chong Yidong <cyd@gnu.org>
11174
11175 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11176 is uninstalled, if imagemagick is installed.
11177
11178 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * emacs-lisp/cl-lib.el: Use lexical-binding.
11181 (cl-map-extents, cl-maclisp-member): Remove.
11182 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11183 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11184 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11185 * emacs-lisp/cl-extra.el: Use lexical-binding.
11186 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11187 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11188 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11189 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11190 * emacs-lisp/cl-seq.el: Use lexical-binding.
11191 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11192 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11193 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11194 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11195 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11196 CL's internals.
11197
11198 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11199
11200 Sync with Tramp 2.2.6-pre.
11201
11202 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11203 `print-length' and `print-level' to nil, in order to avoid
11204 truncation. Reported by Christopher Schmidt
11205 <christopher@ristopher.com>.
11206
11207 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11208
11209 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11210 New defmacro.
11211 (tramp-compat-copy-directory): Add optional argument
11212 COPY-CONTENTS. It is not handled yet.
11213
11214 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11215 (tramp-ftp-file-name-p): Simplify.
11216
11217 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11218 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11219 connection vector.
11220
11221 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11222 (tramp-methods): Do not use `tramp-password-end-of-line'.
11223 (tramp-completion-function-alist-putty): Handle UNIX case.
11224 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11225 (tramp-do-file-attributes-with-stat)
11226 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11227 gid as real numbers. They could run out of integer range on cygwin.
11228 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11229 (tramp-sh-handle-expand-file-name): Handle hops.
11230 (tramp-open-connection-setup-interactive-shell):
11231 Use `tramp-cleanup'. Move check for busyboxes ...
11232 (tramp-find-shell): ... here. Simplify implementation.
11233 Set "remote-shell" property also for alternative shells.
11234 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11235 If failing, a regular file would be written otherwise.
11236 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11237 (tramp-find-inline-encoding): Cache the coding commands in the
11238 process cache. Apply test command on the remote side, if defined.
11239 (tramp-find-inline-compress): Cache the compress commands in the
11240 process cache.
11241 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11242 when requested. Handle hops.
11243 (tramp-current-connection): New defvar.
11244 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11245 Throw `suppress', if there was a failed connection shortly before.
11246 Handle user interrupt. (Bug#10187)
11247 (tramp-get-inline-compress, tramp-get-inline-coding):
11248 Read connection properties from the process cache.
11249
11250 * net/tramp-smb.el (tramp-smb-server-version)
11251 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11252 New defconsts.
11253 (tramp-smb-prompt): Extend for powershell prompt.
11254 (tramp-smb-file-name-handler-alist): Add handlers for
11255 `process-file', `shell-command' and `start-file-process'.
11256 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11257 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11258 (tramp-smb-file-name-p): Simplify.
11259 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11260 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11261 (tramp-smb-shell-quote-argument): New defuns.
11262 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11263 Implement using "tar". By this, time-stamps are preserved.
11264 (tramp-smb-handle-copy-file): Handle also the case of directories.
11265 (tramp-smb-do-file-attributes-with-stat)
11266 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11267 Use `tramp-get-connection-buffer').
11268 (tramp-smb-handle-rename-file): Use "rename", when source and
11269 target are on the same share.
11270 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11271 Use `tramp-smb-server-version'.
11272 (tramp-smb-wait-for-output): Remove prompt.
11273
11274 * net/tramp.el (top): Require 'cl.
11275 (tramp-methods, tramp-rsh-end-of-line):
11276 Remove `tramp-password-end-of-line' from docstring.
11277 (tramp-save-ad-hoc-proxies): New defcustom.
11278 (tramp-completion-function-alist): Adapt docstring.
11279 (tramp-default-password-end-of-line): Remove defcustom.
11280 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11281 (tramp-user-regexp, tramp-file-name-regexp-unified)
11282 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11283 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11284 (tramp-remote-file-name-spec-regexp): New defconst.
11285 (tramp-file-name-structure): Extend structure for hops.
11286 (tramp-get-method-parameter): Move up.
11287 (tramp-file-name-p, tramp-dissect-file-name)
11288 (with-parsed-tramp-file-name): Handle hops.
11289 (tramp-file-name-hop): New defun.
11290 (tramp-make-tramp-file-name): New optional arg HOP.
11291 (tramp-message-show-progress-reporter-message): New defvar.
11292 (tramp-with-progress-reporter): Use it. We cannot use
11293 `tramp-message-show-message' here, because this suppresses also
11294 error buffers.
11295 (tramp-error-with-buffer): Suppress buffer view, if
11296 `tramp-message-show-message' is nil.
11297 Use `tramp-get-connection-buffer'.
11298 (tramp-cleanup): New defun.
11299 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11300 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11301 an error unchanged.
11302 (tramp-completion-handle-file-name-all-completions): Handle hops.
11303 Fix an error when called from ido.
11304 (tramp-completion-dissect-file-name): Use better local variable
11305 name. Add hop to the vector.
11306 (tramp-handle-insert-file-contents): Use progress-reporter for the
11307 whole scenario.
11308 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11309 to `t'.
11310 (tramp-check-for-regexp): Simplify search.
11311 (tramp-enter-password): Remove it. Move implementation ...
11312 (tramp-action-password): ... here.
11313 (tramp-mode-string-to-int, tramp-local-host-p)
11314 (tramp-make-tramp-temp-file, tramp-read-passwd)
11315 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11316 Set tramp-autoload cookie.
11317
11318 * net/trampver.el: Update release number.
11319
11320 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11321 Michael Albinus <michael.albinus@gmx.de>
11322
11323 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11324 (tramp-parse-group, tramp-parse-file)
11325 (tramp-parse-shostkeys-sknownhosts): New defuns.
11326 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11327 (tramp-parse-shosts-group, tramp-parse-sconfig)
11328 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11329 (tramp-parse-sknownhosts, tramp-parse-hosts)
11330 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11331 Use them.
11332 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11333 (tramp-parse-putty-group): Don't narrow.
11334 (tramp-parse-putty): Make a loop.
11335 (tramp-file-name-handler): Catch the `suppress' signal.
11336
11337 2012-06-11 Chong Yidong <cyd@gnu.org>
11338
11339 * image.el (imagemagick-register-types): Put the ImageMagick entry
11340 at the end of image-type-file-name-regexps.
11341
11342 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11343
11344 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11345 (pcase, pcase-let*, pcase-dolist): Use them.
11346
11347 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * emacs-lisp/pcase.el (pcase--let*): New function.
11350 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11351 (pcase--expand): Use macroexp-let².
11352
11353 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11356 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11357 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11358 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11359 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11360 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11361
11362 2012-06-10 Glenn Morris <rgm@gnu.org>
11363
11364 * mail/rmail.el (rmail-yank-current-message): Leave point at
11365 correct position. (Bug#11660)
11366
11367 2012-06-10 Chong Yidong <cyd@gnu.org>
11368
11369 * allout-widgets.el: Fix code header.
11370
11371 2012-06-10 Chong Yidong <cyd@gnu.org>
11372
11373 * cus-edit.el (customize-changed-options-previous-release):
11374 Bump to 24.1.
11375
11376 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11377
11378 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11379
11380 2012-06-09 Chong Yidong <cyd@gnu.org>
11381
11382 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11383
11384 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11385
11386 * window.el (special-display-popup-frame): Don't use
11387 window--display-buffer (Bug#11651).
11388
11389 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11390
11391 Fix parallel builds: make sure loaddefs.el is not being written
11392 while Lisp files are compiled.
11393 (compile): Don't depend on 'mh-autoloads'.
11394 (compile-CMD, compile-SH): Depend on 'autoloads'.
11395 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11396
11397 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11398
11399 2012-06-09 Chong Yidong <cyd@gnu.org>
11400
11401 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11402 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11403 Doc fixes (Bug#11225).
11404
11405 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11408 a function if there's a clear indication that it has a compiler-macro.
11409 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11410 (macro-declarations-alist): Add arglist to declaration functions.
11411 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11412 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11413 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11414 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11415 Also add autoload to find the compiler macro.
11416 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11417 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11418 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11419 (cl--compiler-macro-get): New functions, replacing calls to
11420 cl-define-compiler-macro.
11421 (cl-typep) [compiler-macro]: Use macroexp-let².
11422
11423 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11424
11425 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11426 string properly, fixes Bug#11473.
11427
11428 2012-06-08 Chong Yidong <cyd@gnu.org>
11429
11430 * faces.el (set-face-attribute): Doc fix.
11431 (modify-face): Don't use :bold and :italic.
11432 (error, warning, success): Tweak definitions.
11433
11434 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11435 (custom-modified, custom-set, custom-changed, custom-themed)
11436 (custom-saved, custom-button, custom-button-mouse)
11437 (custom-button-pressed, custom-state, custom-comment-tag)
11438 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11439 (custom-group-subtitle): Use new-style face specs.
11440 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11441 (custom-set-face, custom-changed-face, custom-saved-face)
11442 (custom-button-face, custom-button-pressed-face)
11443 (custom-documentation-face, custom-state-face)
11444 (custom-comment-face, custom-comment-tag-face)
11445 (custom-variable-tag-face, custom-variable-button-face)
11446 (custom-face-tag-face, custom-group-tag-face-1)
11447 (custom-group-tag-face): Remove obsolete face alias.
11448
11449 * epa.el (epa-validity-high, epa-validity-medium)
11450 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11451 (epa-field-name, epa-field-body):
11452 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11453 (font-lock-keyword-face, font-lock-builtin-face)
11454 (font-lock-function-name-face, font-lock-variable-name-face)
11455 (font-lock-type-face, font-lock-constant-face):
11456 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11457 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11458 * speedbar.el (speedbar-button-face, speedbar-file-face)
11459 (speedbar-directory-face, speedbar-tag-face)
11460 (speedbar-selected-face, speedbar-highlight-face)
11461 (speedbar-separator-face):
11462 * whitespace.el (whitespace-newline, whitespace-space)
11463 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11464 (whitespace-line, whitespace-space-before-tab)
11465 (whitespace-space-after-tab, whitespace-indentation)
11466 (whitespace-empty):
11467 * emulation/cua-base.el (cua-global-mark):
11468 * eshell/em-prompt.el (eshell-prompt):
11469 * net/newst-plainview.el (newsticker-new-item-face)
11470 (newsticker-old-item-face, newsticker-immortal-item-face)
11471 (newsticker-obsolete-item-face, newsticker-date-face)
11472 (newsticker-statistics-face, newsticker-default-face):
11473 * net/newst-reader.el (newsticker-feed-face)
11474 (newsticker-extra-face, newsticker-enclosure-face):
11475 * net/newst-treeview.el (newsticker-treeview-face)
11476 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11477 (newsticker-treeview-immortal-face)
11478 (newsticker-treeview-obsolete-face)
11479 (newsticker-treeview-selection-face):
11480 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11481 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11482 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11483 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11484 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11485 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11486 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11487 (mpuz-text):
11488 * progmodes/vera-mode.el (vera-font-lock-number)
11489 (vera-font-lock-function, vera-font-lock-interface):
11490 * textmodes/table.el (table-cell): Use new-style face specs, and
11491 don't use the old :bold and :italic attributes.
11492
11493 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11494 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11495 (ebrowse-member-class, ebrowse-progress): Likewise.
11496 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11497 (ebrowse-file-name-face, ebrowse-default-face)
11498 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11499 (ebrowse-progress-face): Remove obsolete faces.
11500
11501 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11502 Inherit from error and warning faces respectively.
11503
11504 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11505 Likewise.
11506 (flyspell-incorrect-face, flyspell-duplicate-face):
11507 Remove obsolete aliases.
11508
11509 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11510
11511 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11512 Avoid infloop.
11513
11514 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * startup.el (argv, argi): Make lexically scoped.
11517 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11518 * emacs-lisp/cl-macs.el: Use lexical-binding.
11519 Rename cl-bind-* to cl--bind-*.
11520 * files.el: Don't require `cl' since it doesn't use it.
11521 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11522
11523 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11524
11525 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11526 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11527 instead of calling external sort utility.
11528 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11529
11530 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11531
11532 * descr-text.el (describe-char): Mention how to insert the
11533 character, if the current input method doesn't support it.
11534 See the discussion in this thread for the details:
11535 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11536
11537 2012-06-08 Sam Steingold <sds@gnu.org>
11538
11539 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11540 XF86Back to previous-buffer.
11541 (minibuffer-local-map): Bind them to next-history-element and
11542 previous-history-element respectively.
11543 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11544 help-go-back respectively.
11545 * info.el (Info-mode-map): Bind them to Info-history-forward and
11546 Info-history-back respectively.
11547 These are the keys next to Up on the ThinkPad keyboard.
11548
11549 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11550
11551 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11552 * emacs-lisp/cl-macs.el: Provide itself.
11553 (cl--labels-convert-cache): New var.
11554 (cl--labels-convert): New function.
11555 (cl-flet, cl-labels): New implementation with new semantics, relying on
11556 lexical-binding.
11557 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11558 (cl-closure-vars, cl--function-convert-cache)
11559 (cl--function-convert): Move from cl-macs.el.
11560 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11561 rename by removing the "cl-" prefix.
11562 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11563
11564 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11567 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11568 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11569 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11570 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11571 (cl-hash-table-count): Add old compatibility aliases.
11572
11573 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11574 Use macroexpand-all-environment instead.
11575 (cl--old-macroexpand): New var.
11576 (cl--sm-macroexpand): New function.
11577 (cl-symbol-macrolet): Use it during macro expansion.
11578 (cl--function-convert-cache): New var.
11579 (cl--function-convert): New function, extracted from
11580 cl-macroexpand-all.
11581 (cl-lexical-let): Use it.
11582
11583 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11584 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11585 (cl-member): Remove old alias.
11586
11587 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11588 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11589 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11590 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11591 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11592 (cl-macroexpand-cmacs): Remove var.
11593 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11594 Use macroexpand-all instead.
11595
11596 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11599 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11600 (macroexp-copyable-p): New functions and macros.
11601 * emacs-lisp/edebug.el (edebug-unwrap):
11602 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11603 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11604 (pcase--let*): Remove.
11605 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11606 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11607 macroexp-const-p instead.
11608 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11609
11610 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11611 instead of "cl-" for internal definitions. Use macroexp-const-p.
11612 (cl-old-bc-file-form): Remove var.
11613 (cl-const-exprs-p): Remove fun.
11614 (cl-labels, cl-macrolet): Use backquote.
11615 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11616 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11617 (cl-define-setf-expander): Rename from cl-define-setf-method.
11618 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11619
11620 * international/mule-cmds.el: Don't require CL.
11621 (view-hello-file): Don't use `letf'.
11622
11623 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * tmm.el (tmm-prompt): Use string-prefix-p.
11626 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11627 (tmm-add-prompt): Use minibuffer-completion-help.
11628 (tmm-delete-map): Remove.
11629
11630 * subr.el (kbd): Make it its own function.
11631
11632 2012-06-07 Stefan Merten <smerten@oekonux.de>
11633
11634 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11635 Silence compiler warnings. Fix versions.
11636 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11637 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11638 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11639 (rst-package-emacs-version-alist): Correct Emacs version to
11640 represent major merge with upstream.
11641 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11642
11643 2012-06-06 Glenn Morris <rgm@gnu.org>
11644
11645 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11646 Only print environment variables if set.
11647
11648 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11651 (macroexp--cons): Rename from maybe-cons.
11652 (macroexp--accumulate): Rename from macroexp-accumulate.
11653 (macroexp--all-forms): Rename from macroexpand-all-forms.
11654 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11655 (macroexp--expand-all): Rename from macroexpand-all-1.
11656
11657 2012-06-06 Sam Steingold <sds@gnu.org>
11658
11659 * calendar/calendar.el (calendar-in-read-only-buffer):
11660 Call `special-mode' to enable the standard read-only keybindings.
11661
11662 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11665 with "loading" messages (bug#11635).
11666
11667 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11668
11669 * files.el (enable-remote-dir-locals): New option.
11670 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11671
11672 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11673 Ensure, that the temp directory is local.
11674
11675 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11676 `temporary-file-directory'.
11677
11678 * progmodes/python.el (python-send-region): Ensure, that the
11679 temporary file is created also in the remote case.
11680
11681 2012-06-06 Glenn Morris <rgm@gnu.org>
11682
11683 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11684 (vc-rcs-update-changelog): Use it.
11685
11686 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11687
11688 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11689 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11690 (vc-sccs-diff): Replace use of the external vcdiff script.
11691
11692 2012-06-05 Glenn Morris <rgm@gnu.org>
11693
11694 * ledit.el: Move to obsolete/.
11695
11696 2012-06-05 Sam Steingold <sds@gnu.org>
11697
11698 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11699 patch (Bug#11140).
11700
11701 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * emacs-lisp/cust-print.el: Move to obsolete.
11704
11705 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11706 compiler-macro expansion.
11707
11708 Add native compiler-macro support.
11709 * emacs-lisp/macroexp.el (macroexpand-all-1):
11710 Support compiler-macros directly. Properly follow aliases and apply
11711 the compiler macros more thoroughly.
11712 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11713 macroexpand now properly follows aliases.
11714 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11715 (cl-compiler-macroexpand): Use new prop.
11716 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11717
11718 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11719
11720 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11721
11722 * window.el (get-lru-window, get-mru-window, get-largest-window):
11723 New argument NOT-SELECTED to avoid picking the selected window.
11724 (window--display-buffer-1, window--display-buffer-2): Replace by
11725 new function window--display-buffer
11726 (display-buffer-same-window, display-buffer-reuse-window)
11727 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11728 Use window--display-buffer.
11729 (display-buffer-use-some-window): Remove temporary dedication
11730 hack by calling get-lru-window and get-largest-window with
11731 NOT-SELECTED argument non-nil. Call window--display-buffer.
11732
11733 2012-06-05 Glenn Morris <rgm@gnu.org>
11734
11735 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11736 Replace external vcdiff script.
11737
11738 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11741
11742 2012-06-04 Chong Yidong <cyd@gnu.org>
11743
11744 * image.el (imagemagick-types-inhibit): Revert last change.
11745 Add INFO and M.
11746 (imagemagick-enabled-types): Remove CIN and EPS*.
11747
11748 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 * emacs-lisp/cl-lib.el: Rename from cl.el.
11751 * emacs-lisp/cl.el: New compatibility file.
11752 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11753 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11754 to obey the "cl-" prefix.
11755 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11756
11757 2012-06-03 Glenn Morris <rgm@gnu.org>
11758
11759 * emacs-lisp/authors.el (authors-aliases): Addition.
11760
11761 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11762 Fix :version.
11763
11764 2012-06-03 Stefan Merten <smerten@oekonux.de>
11765
11766 * textmodes/rst.el: Add comments.
11767 (rst-transition, rst-adornment): New faces.
11768 (rst-adornment-faces-alist): Make default safe to reevaluate.
11769 Fixes
11770 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11771 Improve customization tags.
11772 (rst-define-level-faces): Clarify meaning.
11773
11774 2012-06-03 Chong Yidong <cyd@gnu.org>
11775
11776 * progmodes/compile.el (compilation-mode-line-fail)
11777 (compilation-mode-line-run, compilation-mode-line-exit):
11778 New faces.
11779 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11780
11781 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11782
11783 * progmodes/which-func.el (which-func-update-ediff-windows):
11784 New function. Use it in ediff-select-hook (Bug#11478).
11785
11786 2012-06-03 Chong Yidong <cyd@gnu.org>
11787
11788 * bindings.el: Remove explicit help text from format-mode-line.
11789 It is now supplied by mode-line-default-help-echo.
11790 (mode-line-front-space, mode-line-end-spaces)
11791 (mode-line-misc-info): New variables.
11792 (mode-line-modes, mode-line-position): Move the default value to
11793 the variable definition.
11794 (mode-line-default-help-echo): New defcustom.
11795 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11796 (mode-line-modified-help-echo): New functions.
11797 (mode-line-mule-info, mode-line-modified): Use them.
11798 (mode-line-eol-desc, propertized-buffer-identification):
11799 Consistency fixes for help text.
11800 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11801 set-buffer-file-coding-system (Bug#289).
11802 (mode-line-mule-info-help-echo): Update help text.
11803
11804 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * simple.el (execute-extended-command): Set real-this-command
11807 (bug#11506).
11808
11809 2012-06-02 Chong Yidong <cyd@gnu.org>
11810
11811 Remove incorrect uses of "modeline" in comments, docstrings, and
11812 function/variable names (Bug#10329).
11813
11814 * cus-edit.el (mode-line):
11815 * dframe.el (dframe-mouse-hscroll):
11816 * emacs-lisp/re-builder.el:
11817 * emacs-lisp/easy-mmode.el (define-minor-mode):
11818 * frame.el (set-frame-name):
11819 * help.el (lookup-minor-mode-from-indicator):
11820 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11821 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11822 (c-toggle-hungry-state):
11823 * progmodes/antlr-mode.el (antlr-language-alist):
11824 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11825 * progmodes/vhdl-mode.el (vhdl-mode):
11826 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11827 * term/ns-win.el (ns-face-at-pos):
11828 * term/sup-mouse.el (sup-mouse-report):
11829 * textmodes/flyspell.el (flyspell-mode-line-string):
11830 * textmodes/ispell.el (ispell-highlight-face):
11831 * textmodes/reftex-global.el:
11832 * vc/vc-arch.el (vc-arch-mode-line-string):
11833 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11834 * vc/vc-git.el (vc-git-mode-line-string):
11835 * vc/vc-hooks.el (vc-display-status)
11836 (vc-default-mode-line-string):
11837 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11838
11839 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11840
11841 * dired.el (dired-sort-set-mode-line): Rename from
11842 dired-sort-set-modeline. All callers changed.
11843
11844 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11845 eshell-status-in-modeline.
11846
11847 * foldout.el (foldout-mode-line-string): Rename from
11848 foldout-modeline-string. All callers changed.
11849 (foldout-update-mode-line): Rename from foldout-update-modeline.
11850
11851 * subr.el (redraw-modeline): Make into obsolete alias.
11852
11853 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11854 timeclock-modeline-display. Make old name an alias.
11855 (timeclock-update-mode-line): Likewise. All callers changed.
11856 (timeclock-mode-line-display): No need to check before using
11857 add-hook.
11858 (timeclock-relative, timeclock-day-over-hook)
11859 (timeclock-use-elapsed, timeclock-mode-string)
11860 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11861
11862 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11863 crisp-mode-modeline-string.
11864
11865 * play/solitaire.el (solitaire-build-mode-line): Rename from
11866 solitaire-build-modeline. All callers changed.
11867
11868 * play/zone.el (zone-hiding-mode-line): Rename from
11869 zone-hiding-modeline. All callers changed.
11870 (zone): Remove unusued `modeline-hidden-level' property.
11871
11872 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11873 xscheme-modeline-initialize. All callers changed.
11874
11875 * strokes.el (strokes-lighter): Rename from
11876 strokes-modeline-string.
11877
11878 * textmodes/sgml-mode.el (html-face-tag-alist)
11879 (html-tag-face-alist): Use mode-line face instead of obsolete
11880 alias modeline.
11881
11882 2012-06-02 Stefan Merten <smerten@oekonux.de>
11883
11884 * textmodes/rst.el: Always require `cl'.
11885 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11886
11887 2012-06-02 Chong Yidong <cyd@gnu.org>
11888
11889 * image.el (imagemagick-enabled-types): Rename from
11890 imagemagick-types-enable. Add many more types.
11891 (imagemagick-types-inhibit): Change default to nil.
11892 (imagemagick-filter-types): Caller changed.
11893
11894 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * emacs-lisp/cl-macs.el: Use backquotes.
11897 (cl-transform-function-property): Use eval-and-compile rather than
11898 abusing `require'.
11899 (defstruct): Use declare-function instead of with-no-warnings.
11900
11901 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11902 (byte-compile-output-docform): Re-add the print-circle bindings.
11903 (byte-compile-fix-header): Use #$ just because it's shorter.
11904 (byte-compile-output-file-form): Remove defun/defmacro.
11905
11906 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11907
11908 * simple.el (choose-completion): Remove now obsolete binding for
11909 owindow.
11910
11911 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11912
11913 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11914 in order to avoid "Stack overflow in regexp matcher".
11915
11916 2012-05-31 Glenn Morris <rgm@gnu.org>
11917
11918 * image.el: For clarity, call imagemagick-register-types at
11919 top-level, rather than relying on a custom :initialize.
11920 (imagemagick-types-enable): New option. (Bug#11557)
11921 (imagemagick-filter-types): New function. (Bug#7406)
11922 (imagemagick-register-types): Use imagemagick-filter-types.
11923 If disabling support, remove elements altogether rather
11924 than using an impossible regexp.
11925 (imagemagick-types-inhibit): Give it the default init function.
11926
11927 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11930 Handle arbitrary file name lengths (Bug#11585).
11931
11932 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11933
11934 * desktop.el (desktop-read): Clear previous and next buffers for
11935 all windows and bury *Messages* buffer (bug#11556).
11936
11937 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11938
11939 Add `declare' for `defun'. Align `defmacro's with it.
11940 * emacs-lisp/easy-mmode.el (define-minor-mode)
11941 (define-globalized-minor-mode): Don't autoload the var definitions.
11942 * emacs-lisp/byte-run.el: Use lexical-binding.
11943 (defun-declarations-alist, macro-declarations-alist): New vars.
11944 (defmacro, defun): Use them.
11945 (make-obsolete, define-obsolete-function-alias)
11946 (make-obsolete-variable, define-obsolete-variable-alias):
11947 Use `declare'.
11948 (macro-declaration-function): Mark obsolete.
11949 * emacs-lisp/autoload.el: Use lexical-binding.
11950 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11951
11952 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11953
11954 * textmodes/ispell.el (ispell-with-no-warnings):
11955 Define as a macro.
11956 (ispell-kill-ispell, ispell-change-dictionary):
11957 Use `called-interactively-p' for Emacs instead of obsolete
11958 `interactive-p'.
11959
11960 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11963 (macro-declaration-function): Move var from C code.
11964 (macro-declaration-function): Define function with defalias.
11965 * emacs-lisp/macroexp.el (macroexpand-all-1):
11966 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11967 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11968 defun/defmacro any more.
11969 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11970 Provide fallback for unknown arglist.
11971 (byte-compile-arglist-warn): Change calling convention.
11972 (byte-compile-output-file-form): Move print-vars binding.
11973 (byte-compile-output-docform): Simplify accordingly.
11974 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11975 (byte-compile-defmacro-declaration): Remove.
11976 (byte-compile-file-form-defmumble): Generalize to defalias.
11977 (byte-compile-output-as-comment): Return byte-positions.
11978 Simplify callers accordingly.
11979 (byte-compile-lambda): Use `assert'.
11980 (byte-compile-defun, byte-compile-defmacro): Remove.
11981 (byte-compile-file-form-defalias):
11982 Use byte-compile-file-form-defmumble.
11983 (byte-compile-defalias-warn): Remove.
11984
11985 2012-05-29 Stefan Merten <smerten@oekonux.de>
11986
11987 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11988 possible. Fix authors. Improve comments. Improve loading of `cl'.
11989
11990 (rst-mode-abbrev-table): Merge definition.
11991 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11992 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11993
11994 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11995
11996 * calendar/icalendar.el
11997 (icalendar-export-region): Export UID properly.
11998
11999 2012-05-29 Leo Liu <sdl.web@gmail.com>
12000 * calendar/icalendar.el (icalendar-import-format):
12001 Add `icalendar-import-format-uid' (Bug#11525).
12002 (icalendar-import-format-uid): New.
12003 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12004 Export UID.
12005
12006 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12009 different alternative patterns.
12010 (pcase-codegen): Be more careful to preserve identity.
12011 (pcase--u1): Don't forget to mark vars as used.
12012
12013 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12014 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12015 (byte-compile-from-buffer): ...rather than here.
12016
12017 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12018 functions from byte-compile-function-environment.
12019
12020 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12021
12022 * window.el (window-deletable-p): Avoid deleting the root window
12023 of a frame with an active minibuffer.
12024
12025 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12026
12027 * simple.el (choose-completion): Use quit-window (Bug#11567).
12028
12029 2012-05-29 Chong Yidong <cyd@gnu.org>
12030
12031 * whitespace.el (whitespace-cleanup): Fix usage of
12032 whitespace-empty-at-bob-regexp (Bug#11492).
12033
12034 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12035
12036 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12037 revert (Bug#11488).
12038
12039 2012-05-29 Juri Linkov <juri@jurta.org>
12040
12041 * isearch.el (isearch-mode-map): Bind `M-s _' to
12042 `isearch-toggle-symbol'. Bind `M-s c' to
12043 `isearch-toggle-case-fold'.
12044 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12045 (isearch-forward): Add `M-s _' to the docstring.
12046 (isearch-forward-symbol, isearch-toggle-case-fold)
12047 (isearch-symbol-regexp): New functions. (Bug#11381)
12048
12049 2012-05-29 Juri Linkov <juri@jurta.org>
12050
12051 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12052 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12053 a function, call it to get the regexp.
12054 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12055 property `isearch-message-prefix' instead of the string "word ".
12056 (isearch-search-fun-default): For the case of `isearch-word',
12057 return a lambda that calls re-search-forward/re-search-backward
12058 with a regexp returned by `word-search-regexp' or by the function
12059 in `isearch-word'.
12060
12061 2012-05-29 Juri Linkov <juri@jurta.org>
12062
12063 * isearch.el (isearch-search-fun-default): New function.
12064 (isearch-search-fun): Move default part to the new function
12065 `isearch-search-fun-default'.
12066 (isearch-search-fun-function): Set the default value to
12067 `isearch-search-fun-default'. (Bug#11381)
12068
12069 * comint.el (comint-history-isearch-end):
12070 Use `isearch-search-fun-default'.
12071 (comint-history-isearch-search): Use `isearch-search-fun-default'
12072 and remove spacial case for `isearch-word'.
12073 (comint-history-isearch-wrap): Remove spacial case for
12074 `isearch-word'.
12075
12076 * hexl.el (hexl-isearch-search-function):
12077 Use `isearch-search-fun-default'.
12078
12079 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12080 Use `word-search-regexp' for `isearch-word'.
12081
12082 * misearch.el (multi-isearch-search-fun):
12083 Use `isearch-search-fun-default'.
12084
12085 * simple.el (minibuffer-history-isearch-search):
12086 Use `isearch-search-fun-default' and remove spacial case for
12087 `isearch-word'.
12088 (minibuffer-history-isearch-wrap): Remove spacial case for
12089 `isearch-word'.
12090
12091 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12092 Remove spacial case for `isearch-word'.
12093 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12094
12095 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12096
12097 Decrease XEmacs incompatibilities.
12098 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12099 Use `string-match'.
12100 (flyspell-delete-region-overlays): Use alternative definition for
12101 XEmacs.
12102 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12103 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12104 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12105 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12106 `define-obsolete-face-alias' under XEmacs, but old method.
12107
12108 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12109 `with-no-warnings' definition or Emacs alias.
12110 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12111 (ispell-word): Do not use `region-p' if XEmacs.
12112
12113 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12114
12115 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12116 Check for `ispell-dictionary-base-alist' instead of full
12117 `ispell-dictionary-alist'.
12118 (ispell-init-process): Show spellchecker when starting new Ispell
12119 process.
12120
12121 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12124 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12125
12126 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12127
12128 * version.el (motif-version-string, gtk-version-string)
12129 (ns-version-string): Declare.
12130
12131 2012-05-27 Juri Linkov <juri@jurta.org>
12132
12133 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12134 after the `eval-defun-1' specialcaseing
12135 like in `edebug-eval-defun' (bug#10181).
12136
12137 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12138 like in `eval-defun-1'.
12139
12140 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12141
12142 * mail/sendmail.el (mail-yank-region):
12143 Recognize rmail-yank-current-message in addition to insert-buffer.
12144 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12145 a *mail* buffer created through rmail-start-mail with sendmail as
12146 mail-user-agent.
12147
12148 2012-05-27 Chong Yidong <cyd@gnu.org>
12149
12150 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12151 Default to 256 (Bug#11267).
12152
12153 * help.el (describe-mode): Doc fix.
12154
12155 2012-05-26 Glenn Morris <rgm@gnu.org>
12156
12157 * w32-fns.el (w32-init-info): Remove.
12158 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12159
12160 * info.el (info-initialize): For self-contained NS builds, put the
12161 included info/ directory at the front. (Bug#2791)
12162
12163 * paths.el (Info-default-directory-list): Make it a defcustom,
12164 mainly so that we can use custom-initialize-delay.
12165
12166 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * subr.el (buffer-has-markers-at): Mark obsolete.
12169
12170 * subr.el (lambda): Use declare.
12171
12172 * emacs-lisp/lisp-mode.el (lambda):
12173 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12174
12175 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12176
12177 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12178
12179 2012-05-26 Glenn Morris <rgm@gnu.org>
12180
12181 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12182
12183 2012-05-25 Glenn Morris <rgm@gnu.org>
12184
12185 * paths.el: Remove no-byte-compile.
12186 * loadup.el: No need to load paths.el uncompiled.
12187
12188 * image.el (imagemagick-types-inhibit): Doc fix.
12189
12190 * version.el: Remove no-byte-compile and associated formatting.
12191 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12192 is ancient code from when there was an "inc-vers.el".
12193
12194 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 * progmodes/gdb-mi.el: Minor style changes.
12197 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12198 Turn into minor modes.
12199 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12200 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12201 (gdb-shell): Remove unneeded let-binding.
12202 (gdb-get-many-fields): Eliminate O(n²) behavior.
12203
12204 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12205
12206 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12207 platforms that don't link in fontset.c.
12208
12209 2012-05-25 Juri Linkov <juri@jurta.org>
12210
12211 Use the same diff color scheme as in modern VCSes (bug#10181).
12212
12213 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12214 to avoid confusion with `diff-added' that now uses green colors.
12215 (diff-removed): Use shades of red.
12216 (diff-added): Use shades of green.
12217 (diff-changed): Leave just the yellow color.
12218 (diff-use-changed-face): New variable.
12219 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12220 how to highlight context diff changes.
12221 (diff-refine-change): Use shades of yellow.
12222 (diff-refine-removed): New face that uses shades of red.
12223 (diff-refine-added): New face that uses shades of green.
12224 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12225 `diff-refine-removed' in the call to `smerge-refine-subst'
12226 depending on the value of `diff-use-changed-face'.
12227
12228 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12229 (smerge-other): Use shades of green.
12230 (smerge-base): Use shades of yellow.
12231 (smerge-refined-change): Empty face.
12232 (smerge-refined-removed): New face that uses shades of red.
12233 (smerge-refined-added): New face that uses shades of green.
12234 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12235 args `props-r' and `props-a', and use them. Doc fix.
12236 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12237 on its value use different faces `smerge-refined-change',
12238 `smerge-refined-removed', `smerge-refined-added' in the call to
12239 `smerge-refine-subst'.
12240
12241 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12242 Add face condition `min-colors 88' with shades of red.
12243 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12244 `min-colors 88' with shades of green.
12245 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12246 `min-colors 88' with shades of yellow.
12247
12248 2012-05-24 Glenn Morris <rgm@gnu.org>
12249
12250 * paths.el (prune-directory-list, remote-shell-program): Move to...
12251 * files.el (prune-directory-list, remote-shell-program): ...here.
12252 For the latter, delay initialization, prefer ssh, just search PATH.
12253
12254 * paths.el (term-file-prefix): Move to faces.el (the only user).
12255 * faces.el (term-file-prefix): Move here, make it a defcustom.
12256
12257 * paths.el (news-directory, news-path, news-inews-program):
12258 Move to gnus/nnspool.el.
12259
12260 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12261
12262 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12263 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12264 Make the latter a defcustom, with a delayed initialization.
12265
12266 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12267 These were deleted from Gnus itself late 2010.
12268
12269 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12270
12271 * progmodes/which-func.el (which-func-ff-hook):
12272 Check against user-error, not error.
12273
12274 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12275 cl-specs.el, which no longer exists.
12276
12277 2012-05-22 Glenn Morris <rgm@gnu.org>
12278
12279 * info.el (info-emacs-bug): New command.
12280 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12281 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12282
12283 2012-05-21 Glenn Morris <rgm@gnu.org>
12284
12285 * makefile.w32-in (update-subdirs-SH):
12286 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12287
12288 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12291
12292 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12293 Simplify Maven regexp, and make sure the file can't start with a space
12294 (bug#11517).
12295
12296 2012-05-21 Glenn Morris <rgm@gnu.org>
12297
12298 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12299 Scrap superfluous subshells.
12300
12301 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12302
12303 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12304 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12305
12306 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12307
12308 * calc/calc.el (calc-ensure-consistent-units): New variable.
12309
12310 * calc/calc-units.el (math-consistent-units-p)
12311 (math-check-unit-consistency): New functions.
12312 (calc-quick-units, calc-convert-units):
12313 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12314 is non-nil.
12315 (calc-extract-units): Fix typo.
12316
12317 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12320
12321 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12322 (flyspell-default-deplacement-commands): Don't spell check after
12323 repeated window/frame switches (e.g. triggered by mouse-movement).
12324 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12325 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12326 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12327 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12328 Remove unused vars.
12329 (flyspell-get-casechars, flyspell-get-not-casechars):
12330 Simplify; Don't bother removing a ] just to add it back.
12331 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12332
12333 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12334
12335 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12336 New functions.
12337 (math-function-table): Add support for more C functions.
12338
12339 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12340
12341 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12342 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12343 Protect delay handling for otherchars against empty otherchars.
12344
12345 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12348 their respective macro declarations.
12349 * skeleton.el (define-skeleton):
12350 * progmodes/compile.el (define-compilation-mode):
12351 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12352 (define-ibuffer-filter):
12353 * emacs-lisp/generic.el (define-generic-mode):
12354 * emacs-lisp/easy-mmode.el (define-minor-mode)
12355 (define-globalized-minor-mode):
12356 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12357 * emacs-lisp/byte-run.el (defsubst):
12358 * custom.el (deftheme): Add doc-string metadata.
12359
12360 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12361
12362 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12363
12364 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12367
12368 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12369 * emacs-lisp/cl-macs.el: Idem.
12370 * emacs-lisp/cl-specs.el: Remove.
12371
12372 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 Minor renaming of internal CL functions and variables.
12375 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12376 (cl--position): Rename from cl-position.
12377 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12378 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12379 (cl--random-state): Rename from *random-state*.
12380
12381 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12384 parens around the arg list (bug#11499).
12385
12386 2012-05-17 Juri Linkov <juri@jurta.org>
12387
12388 * isearch.el (word-search-regexp, word-search-backward)
12389 (word-search-forward, word-search-backward-lax)
12390 (word-search-forward-lax): Move functions from search.c
12391 (bug#10145, bug#11381).
12392
12393 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12394
12395 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12396 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12397 Delay for otherchars as for normal word components.
12398
12399 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * minibuffer.el (completion--sifn-requote): Fix last change.
12402 (minibuffer-local-must-match-filename-map):
12403 Move define-obsolete-variable-alias before its var.
12404
12405 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12406
12407 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12408
12409 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12410 behavior.
12411 (completion--string-equal-p): New function.
12412 (completion--twq-all): Use it to get better assertion failure data.
12413
12414 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12415 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12416 (shell--requote-argument): New functions.
12417 (shell-completion-vars): Use them.
12418 (shell--parse-pcomplete-arguments): Rename from
12419 shell-parse-pcomplete-arguments.
12420 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12421 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12422 Obey comint-file-name-quote-list.
12423
12424 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12425 (smie-indent-keyword): Use it.
12426
12427 2012-05-14 Stefan Merten <smerten@oekonux.de>
12428
12429 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12430
12431 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * net/rlogin.el (rlogin-mode-map): Fix last change.
12434
12435 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12436
12437 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12438 the following \r\n using a single `process-send-string', since the
12439 Lotus SMTP server refuses to accept any commands if they are sent
12440 with two `process-send-string's (Bug#11444).
12441
12442 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * shell.el (shell-parse-pcomplete-arguments):
12445 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12446
12447 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12448
12449 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12450 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12451 (image-transform-width, image-transform-fit-width): New functions.
12452 (image-transform-properties): Use them.
12453 (image-transform-check-size): New function.
12454 (image-toggle-display-image): Use it (for testing).
12455 (image-transform-set-rotation): Reduce angle mod 360.
12456 Delete obsolete comment.
12457
12458 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12459
12460 * image-mode.el: Fix scaling (bug#11399).
12461 (image-transform-resize): Doc fix.
12462 (image-transform-properties): Default scale is 1 and height should
12463 be an integer.
12464
12465 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12466
12467 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12468 than hard-coding `car', to fix misbehavior when moving forward.
12469
12470 2012-05-13 Chong Yidong <cyd@gnu.org>
12471
12472 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12473 (tabulated-list-entries, tabulated-list-padding)
12474 (tabulated-list-sort-key): Make permanent-local.
12475
12476 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12477 (electric-buffer-list): Put electric buffer menu
12478 command descriptions in this docstring, instead of the docstring
12479 of electric-buffer-menu-mode. Code cleanups.
12480 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12481 Electric-buffer-menu-mode.
12482 (electric-buffer-update-highlight): Minor code cleanup.
12483
12484 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12485
12486 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12487 (Bug#11447)
12488
12489 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12490
12491 Move define-obsolete-variable-alias before the var's definition.
12492 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12493 * tooltip.el (tooltip-hook):
12494 * textmodes/reftex-toc.el (reftex-toc-map):
12495 * textmodes/reftex-sel.el (reftex-select-label-map)
12496 (reftex-select-bib-map):
12497 * textmodes/reftex-index.el (reftex-index-map)
12498 (reftex-index-phrases-map):
12499 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12500 * progmodes/meta-mode.el (meta-mode-map):
12501 * novice.el (disabled-command-hook):
12502 * loadhist.el (unload-hook-features-list):
12503 * frame.el (blink-cursor):
12504 * files.el (find-file-not-found-hooks, write-file-hooks)
12505 (write-contents-hooks):
12506 * emulation/tpu-edt.el (GOLD-map):
12507 * emacs-lock.el (emacs-lock-from-exiting):
12508 * emacs-lisp/generic.el (generic-font-lock-defaults):
12509 * emacs-lisp/chart.el (chart-map):
12510 * dos-fns.el (register-name-alist):
12511 * dired-x.el (dired-omit-files-p):
12512 * desktop.el (desktop-enable):
12513 * cus-edit.el (custom-mode-hook):
12514 * buff-menu.el (buffer-menu-mode-hook):
12515 * bookmark.el (bookmark-read-annotation-text-func)
12516 (bookmark-exit-hooks):
12517 * allout.el (allout-mode-deactivate-hook)
12518 (allout-exposure-change-hook, allout-structure-added-hook)
12519 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12520 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12521 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12522 comes before the corresponding variable's definition.
12523
12524 2012-05-12 Chong Yidong <cyd@gnu.org>
12525
12526 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12527 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12528 (Buffer-menu-mode-map): Bind it.
12529 (Buffer-menu--pretty-name): Add a mouse-face property.
12530
12531 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12534 (prolog-upper-case-string, prolog-lower-case-string)
12535 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12536 (prolog-use-smie, prolog-smie-grammar): New vars.
12537 (prolog-smie-forward-token, prolog-smie-backward-token)
12538 (prolog-smie-rules): New funs.
12539 (prolog-comment-indent): Remove.
12540 (prolog-mode-variables): Use default comment indentation instead.
12541 Setup SMIE.
12542 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12543 (prolog-mode): Don't call them any more.
12544 (prolog-electric-colon, prolog-electric-dash)
12545 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12546
12547 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12548
12549 * minibuffer.el (completion--twq-all): Again, allow case differences.
12550
12551 * term.el: Move keymap initialization code to be more idiomatic.
12552 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12553 (term-terminal-menu): Move initialization into declaration.
12554 (term-escape-char): Let the user set it in her .emacs.
12555
12556 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12557 Provide SMIE-based indentation (not enabled by default yet).
12558 (sh-mode-map): Don't bind electric keys.
12559 Use electric-pair-mode instead of skeleton-pair.
12560 (sh-assignment-regexp): Fit within 80 columns.
12561 (sh-indent-supported): Specify actual shell name instead of boolean.
12562 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12563 (sh-maybe-here-document): Use it. Make obsolete.
12564 (sh-electric-here-document-mode) New minor mode.
12565 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12566 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12567 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12568 (sh-smie-rc-grammar, sh-use-smie): New vars.
12569 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12570 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12571 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12572 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12573 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12574 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12575 (sh-set-shell): Use smie-setup if requested.
12576
12577 * term.el (term-set-escape-char): Properly set term-escape-char.
12578 See http://stackoverflow.com/questions/10524656.
12579
12580 2012-05-10 Chong Yidong <cyd@gnu.org>
12581
12582 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12583 Use url-generic-parse-url, and handle host names and Windows
12584 filenames properly.
12585 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12586 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12587 URL schemes to work on.
12588 (ffap--toggle-read-only): New function.
12589 (ffap-read-only, ffap-read-only-other-window)
12590 (ffap-read-only-other-frame): Use it.
12591 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12592 necessary for ffap-url-unwrap-remote.
12593
12594 2012-05-10 Dave Abrahams <dave@boostpro.com>
12595
12596 * cus-start.el (create-lockfiles): Add it.
12597
12598 2012-05-09 Chong Yidong <cyd@gnu.org>
12599
12600 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12601 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12602
12603 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12606
12607 2012-05-09 Chong Yidong <cyd@gnu.org>
12608
12609 * ansi-color.el (ansi-color-process-output): Check for validity of
12610 comint-last-output-start before using it. This avoids a bad
12611 interaction with gdb-mi's input/output buffer.
12612
12613 2012-05-09 Glenn Morris <rgm@gnu.org>
12614
12615 * files.el (dir-locals-read-from-file):
12616 Mention dir-locals in any error message.
12617
12618 2012-05-09 Chong Yidong <cyd@gnu.org>
12619
12620 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12621 package (Bug#11410).
12622
12623 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12624 variables into description.
12625
12626 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12629 shell-delimiter-argument-list (bug#11348).
12630 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12631
12632 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12633
12634 * textmodes/rst.el: Silence byte-compiler warnings.
12635 (rst-re-alist, rst-reset-section-caches): Move around.
12636 (rst-re): Use `characterp', not `char-valid-p'.
12637 (font-lock-beg, font-lock-end): Declare.
12638
12639 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12640 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12641
12642 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12643
12644 2012-05-08 Glenn Morris <rgm@gnu.org>
12645
12646 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12647
12648 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12649
12650 * vc/log-edit.el: Add GNU coding standards highlighting.
12651 (log-edit-font-lock-gnu-style)
12652 (log-edit-font-lock-gnu-keywords): New vars.
12653 (log-edit-font-lock-keywords): New fun.
12654 (log-edit-mode): Don't fold case in font-lock.
12655 (log-edit-font-lock-keywords): Do not assume case-folding.
12656
12657 * imenu.el: Misc cleanup. Make docstrings out of comments.
12658 Use lexical-binding.
12659 (imenu--index-alist, imenu--last-menubar-index-alist)
12660 (imenu-menubar-modified-tick): Use defvar-local.
12661 (imenu--split-menu): Remove unused var.
12662 (imenu--cleanup-seen): Declare as global.
12663 (imenu--cleanup): Use dolist.
12664
12665 * subr.el (defvar-local): Add debug spec and doc-string position.
12666
12667 2012-05-08 Glenn Morris <rgm@gnu.org>
12668
12669 * language/burmese.el, language/cham.el, language/czech.el:
12670 * language/english.el, language/georgian.el, language/greek.el:
12671 * language/japanese.el, language/khmer.el, language/korean.el:
12672 * language/lao.el, language/misc-lang.el, language/romanian.el:
12673 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12674 * language/thai.el, language/utf-8-lang.el:
12675 Remove no-byte-compile setting.
12676
12677 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12678
12679 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12680
12681 * progmodes/make-mode.el (makefile-browse):
12682 Remove unnecessary interactive. (Bug#11324)
12683
12684 2012-05-07 Glenn Morris <rgm@gnu.org>
12685
12686 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12687
12688 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12689
12690 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * loadup.el: Preload newcomment.el.
12693 * newcomment.el: Move autoload-only code to toplevel.
12694
12695 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12696 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12697 Handle new :right-align column property.
12698 (tabulated-list-print-col): Idem, plus use `display' text-property to
12699 try and preserve alignment for variable pitch fonts.
12700
12701 2012-05-07 Chong Yidong <cyd@gnu.org>
12702
12703 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12704 (tabulated-list-use-header-line): New var.
12705 (tabulated-list-init-header): Use it.
12706 (tabulated-list-print-fake-header): New function.
12707 (tabulated-list-print): Use it.
12708 (tabulated-list-sort-button-map): Add non-header-line commands.
12709 (tabulated-list-init-header): Add column name property to basic
12710 labels as well.
12711 (tabulated-list-col-sort): Handle non-header-line button case.
12712 (tabulated-list--sort-by-column-name): Fix a corner case.
12713
12714 * buff-menu.el (list-buffers--refresh):
12715 Handle Buffer-menu-use-header-line.
12716
12717 2012-05-06 Chong Yidong <cyd@gnu.org>
12718
12719 * buff-menu.el: Convert to Tabulated List mode.
12720 (Buffer-menu-buffer+size-width): Make obsolete.
12721 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12722 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12723 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12724 documentation into docstring of buffer-menu.
12725 (Buffer-menu-toggle-files-only): Add an informative message.
12726 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12727 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12728 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12729 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12730 (Buffer-menu-execute, Buffer-menu-select)
12731 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12732 (Buffer-menu-bury): Use Tabulated List machinery.
12733 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12734 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12735 Delete.
12736 (list-buffers--refresh): New function.
12737 (list-buffers-noselect): Use it.
12738 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12739 (Buffer-menu--pretty-file-name): New helper functions.
12740
12741 * loadup.el: Preload tabulated-list.
12742
12743 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12744 tabulated-list-sort-column.
12745 (tabulated-list-init-header): Add the initial aligning space even
12746 if tabulated-list-padding is zero.
12747
12748 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12749
12750 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12751 whose cdr is not a cons cell correctly (bug#11038).
12752
12753 2012-05-06 Chong Yidong <cyd@gnu.org>
12754
12755 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12756 Accept additional plist in column descriptors.
12757 (tabulated-list-init-header): Obey it.
12758 (tabulated-list-get-entry): New function.
12759 (tabulated-list-put-tag): Use it. Use string-width instead of
12760 length.
12761 (tabulated-list--column-number): New function.
12762 (tabulated-list-print): Use it.
12763 (tabulated-list-print-col): New function.
12764 Set `tabulated-list-column-name' property on each column's text.
12765 (tabulated-list-print-entry): Use it.
12766 (tabulated-list-delete-entry, tabulated-list-set-col):
12767 New functions.
12768 (tabulated-list-sort-column): New command (Bug#11337).
12769
12770 * buff-menu.el (list-buffers): Move C-x C-b binding from
12771 buff-menu.el to bindings.el.
12772
12773 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12774 :advertised-binding feature.
12775
12776 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12777
12778 * progmodes/compile.el (compilation-internal-error-properties):
12779 Calculate start position correctly when end-col is set but
12780 end-line is not (Bug#11382).
12781
12782 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12783
12784 * man.el (Man-unindent): Use text-property-default-nonsticky to
12785 prevent untabify from inheriting face properties (Bug#11408).
12786
12787 2012-05-05 Stefan Merten <smerten@oekonux.de>
12788
12789 * textmodes/rst.el: Major merge with upstream development up to
12790 Docutils SVN r7399 / rst.el V1.2.1.
12791
12792 Clarify maintainership and authors.
12793
12794 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12795 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12796 (rst-official-version, rst-official-cvs-rev, rst-version)
12797 (rst-package-emacs-version-alist): New functions and variables
12798 for version information.
12799
12800 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12801 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12802 (rst-mode-syntax-table, rst-mode): New and corrected functions
12803 and variables representing reStructuredText features.
12804
12805 (rst-re): New function for reStructuredText regexes. Use in
12806 many places.
12807
12808 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12809 (rst-mode-map): Rebind keys.
12810
12811 (rst-mode-lazy, rst-font-lock-keywords)
12812 (rst-font-lock-extend-region)
12813 (rst-font-lock-extend-region-internal)
12814 (rst-font-lock-extend-region-extend)
12815 (rst-font-lock-find-unindented-line-limit)
12816 (rst-font-lock-find-unindented-line-match)
12817 (rst-adornment-level, rst-font-lock-adornment-level)
12818 (rst-font-lock-adornment-match)
12819 (rst-font-lock-handle-adornment-pre-match-form)
12820 (rst-font-lock-handle-adornment-matcher): Major revision of
12821 font-locking. Integrate with other code. Use `jit-lock-mode'.
12822
12823 (rst-preferred-adornments, rst-adjust-hook)
12824 (rst-new-adornment-down, rst-preferred-bullets)
12825 (rst-preferred-bullets, rst-indent, rst-indent-width)
12826 (rst-indent-field, rst-indent-literal-normal)
12827 (rst-indent-literal-minimized, rst-indent-comment): Change,
12828 extend and improve customization.
12829
12830 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12831 (rst-normalize-cursor-position, rst-get-decoration)
12832 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12833 (rst-rstrip, rst-toc-insert-find-delete-contents)
12834 (rst-shift-fill-region, rst-compute-bullet-tabs)
12835 (rst-debug-print-tabs, rst-debug-mark-found)
12836 (rst-shift-region-guts, rst-shift-region-right)
12837 (rst-shift-region-left, rst-use-char-classes)
12838 (rst-font-lock-keywords-function)
12839 (rst-font-lock-indentation-point)
12840 (rst-font-lock-find-unindented-line-begin)
12841 (rst-font-lock-find-unindented-line-end)
12842 (rst-font-lock-find-unindented-line)
12843 (rst-font-lock-adornment-point, rst-font-lock-level)
12844 (rst-adornment-level-alist): Remove functions and variables.
12845
12846 (rst-compare-adornments, rst-get-adornment-match)
12847 (rst-suggest-new-adornment, rst-get-adornments-around)
12848 (rst-adornment-complete-p, rst-get-next-adornment)
12849 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12850 (rst-straighten-adornments): Standardize function names to
12851 use "adornment" instead of "decoration". Correct callers.
12852 Similar standardizing in many places.
12853
12854 (rst-update-section, rst-adjust, rst-promote-region)
12855 (rst-enumerate-region, rst-bullet-list-region)
12856 (rst-repeat-last-character): Correct use of `interactive'.
12857
12858 (rst-classify-adornment, rst-find-all-adornments)
12859 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12860 (rst-find-leftmost-column, rst-repeat-last-character):
12861 Refactor functions.
12862
12863 (rst-find-title-line, rst-reset-section-caches)
12864 (rst-get-adornments-around, rst-adjust-adornment-work)
12865 (rst-arabic-to-roman, rst-roman-to-arabic)
12866 (rst-insert-list-pos, rst-insert-list-new-item)
12867 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12868 New functions.
12869
12870 (rst-all-sections, rst-section-hierarchy)
12871 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12872 New variables.
12873
12874 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12875 configuration instead of only buffer. Change where necessary.
12876
12877 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12878 (rst-shift-region, rst-adaptive-fill): New functions for
12879 indentation and filling.
12880
12881 (rst-comment-line-break, rst-comment-indent)
12882 (rst-comment-insert-comment, rst-comment-region)
12883 (rst-uncomment-region): New functions for handling comments.
12884
12885 (rst-compile): Quote shell arguments.
12886
12887 (rst-compile-pdf-preview, rst-compile-slides-preview):
12888 Delete temporary files after use.
12889
12890 2012-05-05 Glenn Morris <rgm@gnu.org>
12891
12892 * calendar/cal-html.el: Optionally include holidays in the output.
12893 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12894 (cal-html-holidays): New option.
12895 (cal-html-css-default): Add holiday entry.
12896 (holiday-in-range): Autoload it.
12897 (cal-html-htmlify-entry): Add optional class argument.
12898 (cal-html-htmlify-list): Add optional holidays argument.
12899 (cal-html-insert-agenda-days): Include holidays in the output.
12900 (cal-html-one-month): Maybe include holidays.
12901
12902 * calendar/holidays.el (holiday-in-range):
12903 Move here from cal-tex-list-holidays.
12904 * calendar/cal-tex.el (cal-tex-list-holidays):
12905 Make it an obsolete alias for holiday-in-range. Update all callers.
12906
12907 2012-05-05 Chong Yidong <cyd@gnu.org>
12908
12909 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12910 Nextstep.
12911
12912 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12913
12914 * files.el (file-auto-mode-skip): New var.
12915 (set-auto-mode-1): Use it.
12916
12917 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * repeat.el: Use lexical-binding.
12920 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12921 (repeat-undo-count): Remove.
12922 (repeat):
12923 * progmodes/octave-mod.el (octave-abbrev-start):
12924 * progmodes/f90.el (f90-abbrev-start):
12925 * face-remap.el (text-scale-adjust):
12926 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12927
12928 * emacs-lisp/pcase.el (pcase--let*): New function.
12929 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12930 a bit more.
12931 (pcase--split-pred): Be more clever about ruling out overlap between
12932 a predicate and some constant pattern.
12933 (pcase--q1): Use `null' instead of (eq foo nil).
12934
12935 * subr.el (setq-local, defvar-local): New macros.
12936 (kbd): Redefine as an alias.
12937 (with-selected-window): Leave unrelated frames alone.
12938 (set-temporary-overlay-map): New function.
12939
12940 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12941
12942 * subr.el (user-error): New function.
12943 * window.el (switch-to-buffer):
12944 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12945 (smerge-match-conflict):
12946 * simple.el (previous-matching-history-element)
12947 (next-matching-history-element, goto-history-element, undo-more)
12948 (undo-start):
12949 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12950 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12951 (next-file, tags-loop-scan, list-tags, complete-tag):
12952 * progmodes/compile.el (compilation-loop):
12953 * mouse.el (mouse-minibuffer-check):
12954 * man.el (Man-bgproc-sentinel, Man-goto-page):
12955 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12956 (Info-history-forward, Info-follow-reference, Info-menu)
12957 (Info-extract-menu-item, Info-extract-menu-counting)
12958 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12959 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12960 (Info-next-reference, Info-prev-reference, Info-index)
12961 (Info-index-next, Info-follow-nearest-node)
12962 (Info-copy-current-node-name):
12963 * imenu.el (imenu--make-index-alist)
12964 (imenu-default-create-index-function, imenu-add-to-menubar):
12965 * files.el (basic-save-buffer, recover-file):
12966 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12967 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12968 (checkdoc-message-text, checkdoc-defun):
12969 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12970 * cus-edit.el (customize-changed-options, customize-rogue)
12971 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12972 (custom-variable-mark-to-reset-standard)
12973 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12974 (custom-file):
12975 * completion.el (check-completion-length):
12976 * comint.el (comint-search-arg)
12977 (comint-previous-matching-input-string-position)
12978 (comint-previous-matching-input)
12979 (comint-replace-by-expanded-history-before-point, comint-send-input)
12980 (comint-copy-old-input, comint-backward-matching-input)
12981 (comint-goto-process-mark, comint-set-process-mark):
12982 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12983 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12984
12985 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * dabbrev.el (dabbrev--ignore-case-p): New function.
12988 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12989 Use it.
12990
12991 * files.el (automount-dir-prefix): Mark as obsolete.
12992
12993 2012-05-04 Glenn Morris <rgm@gnu.org>
12994
12995 * patcomp.el, play/bruce.el: Move to obsolete/.
12996
12997 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12998
12999 Fix minor Y10k bugs.
13000 * arc-mode.el (archive-unixdate):
13001 * autoinsert.el (auto-insert-alist):
13002 * calc/calc-forms.el (math-this-year):
13003 * emacs-lisp/copyright.el (copyright-current-year)
13004 (copyright-update-year, copyright):
13005 * tar-mode.el (tar-clip-time-string):
13006 * time.el (display-time-update):
13007 Don't assume years have 4 digits.
13008
13009 2012-05-04 Chong Yidong <cyd@gnu.org>
13010
13011 * dos-w32.el (file-name-buffer-file-type-alist)
13012 (direct-print-region-use-command-dot-com):
13013 * ffap.el (ffap-menu-regexp):
13014 * find-file.el (ff-special-constructs):
13015 * follow.el (follow-debug):
13016 * forms.el (forms--debug):
13017 * iswitchb.el (iswitchb-all-frames):
13018 * ido.el (ido-all-frames):
13019 * emacs-lisp/timer.el (timer-max-repeats):
13020 * mail/feedmail.el (feedmail-mail-send-hook)
13021 (feedmail-mail-send-hook-queued):
13022 * mail/footnote.el (footnote-signature-separator):
13023 * mail/mailabbrev.el (mail-alias-separator-string)
13024 (mail-abbrev-mode-regexp):
13025 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13026 * progmodes/idlwave.el (idlwave-libinfo-file)
13027 (idlwave-default-completion-case-is-down)
13028 (idlwave-library-routines): Convert defvars to defcustoms.
13029
13030 * mail/rmail.el (rmail-decode-mime-charset):
13031 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13032 (idlwave-shell-fix-inserted-breaks)
13033 (idlwave-shell-activate-alt-keybindings)
13034 (idlwave-shell-use-breakpoint-glyph):
13035 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13036
13037 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13040
13041 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13042
13043 * progmodes/verilog-mode.el (font-lock-keywords):
13044 Fix mis-highligting auto. Reported by Craig Barner.
13045 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13046 defines from global name space. Reported by Dan Dever.
13047 (verilog-auto-reset, verilog-auto-reset-widths)
13048 (verilog-auto-tieoff): Support using unbased numbers for
13049 AUTORESET and AUTOTIEOFF.
13050 (verilog-submit-bug-report): Update variable list.
13051 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13052 parenthesis from not matching. Reported by Michael Rytting.
13053 (verilog-auto-template-lint): Fix hash error when linting modules
13054 with no used templates.
13055 (verilog-warn, verilog-warn-error)
13056 (verilog-warn-fatal): When non-interactive report multiple
13057 warnings before exiting. Suggested by Brad Dobbie.
13058 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13059 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13060 to report unused template errors. Reported by Brad Dobbie.
13061 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13062 nets, bug438. Reported by Vns Blore.
13063 (verilog-auto-inout-module, verilog-auto-reg)
13064 (verilog-read-decls, verilog-read-sub-decls-sig)
13065 (verilog-signals-edit-wire-reg, verilog-signals-with):
13066 Fix passing of Verilog data types in ANSI input/output ports
13067 such as "output logic" into the AUTOs. Special case "wire" and
13068 "reg" for backwards compatibility presuming Verilog 2001.
13069 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13070 (verilog-preprocess): Fix replication of preprocess output.
13071 Reported by Brad Dobbie.
13072 (verilog-auto-inst-interfaced-ports):
13073 Create verilog-auto-inst-interfaced-ports, bug429.
13074 Reported by Julian Gorfajn.
13075 (verilog-after-save-font-hook)
13076 (verilog-before-save-font-hook): New variable.
13077 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13078 (verilog-save-font-mods): Wrap disabling fontification, reported
13079 by David Rogoff.
13080 (verilog-do-indent, verilog-pretty-declarations-auto)
13081 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13082 Reported by Pierre-David Pfister.
13083 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13084 of class declarations, bug292. Reported by Kevin Heilman.
13085 (verilog-read-decls): Fix 'parameter type' not appearing in
13086 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13087 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13088 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13089 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13090 Reported by David Kravitz.
13091
13092 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13093
13094 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13095 assignment with tests in ifs and for loops.
13096 (verilog-extended-complete-re, verilog-complete-reg): Change so
13097 that DPI inport functions don't look like fuction declarations.
13098 (verilog-pretty-expr): Don't line up assignment
13099 operations to the test and increment in if and for loops
13100 (verilog-extended-complete-re, verilog-complete-reg): Change so
13101 that DPI inport functions don't look like fuction declarations.
13102
13103 2012-05-03 Kenichi Handa <handa@m17n.org>
13104
13105 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13106 decoding, and show a warning message without signaling an error
13107 (Bug#11282).
13108
13109 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13110
13111 * emacs-lisp/bytecomp.el
13112 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13113 since cconv.el might have introduced :fun-body, internal-make-closure,
13114 and friends for bytecomp to handle (bug#11391).
13115 * custom.el (defcustom): Avoid ((λ ..) ..).
13116
13117 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13120
13121 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13122
13123 * notifications.el (dbus-debug):
13124 * term/linux.el (gpm-mouse-enable):
13125 * term/screen.el (xterm-register-default-colors): Declare.
13126
13127 2012-05-02 Chong Yidong <cyd@gnu.org>
13128
13129 * cus-start.el (gc-cons-percentage, exec-suffixes)
13130 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13131 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13132 (make-cursor-line-fully-visible, void-text-area-pointer)
13133 (font-list-limit): Add customization data.
13134
13135 * allout.el (allout-exposure-change-functions)
13136 (allout-structure-added-functions)
13137 (allout-structure-deleted-functions)
13138 (allout-structure-shifted-functions): Rename abnormal hooks from
13139 *-hook, and convert to defcustoms.
13140 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13141 Convert to defcustoms.
13142 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13143
13144 * allout-widgets.el: Hook callers changed.
13145
13146 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13147
13148 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13149 the yanked message in preference to the default value of
13150 buffer-file-coding-system.
13151
13152 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13153
13154 * window.el (display-buffer--action-function-custom-type):
13155 Fix entry.
13156
13157 2012-05-02 Alan Mackenzie <acm@muc.de>
13158
13159 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13160
13161 2012-05-01 Glenn Morris <rgm@gnu.org>
13162
13163 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13164
13165 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13166
13167 * cus-edit.el (custom-variable-documentation): Simplify with format.
13168
13169 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13170 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * simple.el (suggest-key-bindings, execute-extended-command):
13173 Move from keyboard.c.
13174
13175 2012-05-01 Chong Yidong <cyd@gnu.org>
13176
13177 * follow.el: Eliminate advice.
13178 (set-process-filter, process-filter, sit-for): Advice deleted.
13179 (follow-mode-off-hook): Obsolete hook removed.
13180 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13181 Vars deleted.
13182 (follow-auto): Use a :set function.
13183 (follow-mode): Rewritten. Don't advise process filters.
13184 (follow-switch-to-current-buffer-all, follow-scroll-up)
13185 (follow-scroll-down): Assume follow-mode is bound.
13186 (follow-comint-scroll-to-bottom)
13187 (follow-align-compilation-windows): New functions.
13188 (follow--window-sorter): New function.
13189 (follow-all-followers): Use it to explicitly sort windows by their
13190 positions; don't make assumptions about next-window order.
13191 (follow-windows-start-end, follow-delete-other-windows-and-split)
13192 (follow-calc-win-start): Doc fix.
13193 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13194 vertical-motion unnecessarily.
13195 (follow-adjust-window): New function.
13196 (follow-post-command-hook): Use it.
13197 (follow-call-set-process-filter, follow-call-process-filter)
13198 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13199 (follow-stop-intercept-process-output, follow-generic-filter):
13200 Functions deleted.
13201 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13202 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13203 New functions, replacing advice on scroll-bar-* commands.
13204 (follow-mwheel-scroll): New function (Bug#4112).
13205
13206 * comint.el (comint-adjust-point): New function.
13207 (comint-postoutput-scroll-to-bottom): Use it.
13208 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13209
13210 2012-05-01 Glenn Morris <rgm@gnu.org>
13211
13212 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13213 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13214 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13215 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13216 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13217 Remove no-byte-compile setting.
13218
13219 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13222 all-completions code to not return a number in the last cdr.
13223
13224 2012-04-30 Leo Liu <sdl.web@gmail.com>
13225
13226 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13227 read-only error.
13228
13229 2012-04-29 Chong Yidong <cyd@gnu.org>
13230
13231 * follow.el (follow-calc-win-end): Rewrite to handle partial
13232 screen lines correctly (Bug#8390).
13233 (follow-avoid-tail-recenter): Minor cleanup.
13234
13235 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 Avoid the obsolete `assoc' package.
13238 * speedbar.el (speedbar-refresh): Avoid adelete.
13239 (speedbar-file-lists): Simplify and avoid aput.
13240 * man.el (Man--sections, Man--refpages): New vars, replacing
13241 Man-sections-alist and Man-refpages-alist.
13242 (Man-build-section-alist, Man-build-references-alist):
13243 Use them; avoid aput.
13244 (Man--last-section, Man--last-refpage): New vars.
13245 (Man-follow-manual-reference): Use them.
13246 Use the `default' arg of completing-read.
13247 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13248
13249 2012-04-27 Chong Yidong <cyd@gnu.org>
13250
13251 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13252
13253 * startup.el (x-apply-session-resources): New function.
13254
13255 * term/ns-win.el (ns-initialize-window-system):
13256 * term/w32-win.el (w32-initialize-window-system):
13257 * term/x-win.el (x-initialize-window-system): Use it to properly
13258 set menu-bar-mode and other vars from X resources, even if the
13259 initial frame is not a window-system frame (Bug#2299).
13260
13261 * subr.el (read-key): Avoid running filter function when setting
13262 up temporary tool bar entries (Bug#9922).
13263
13264 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13265
13266 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13267 (Bug#11344)
13268
13269 2012-04-27 Chong Yidong <cyd@gnu.org>
13270
13271 * select.el (xselect--encode-string): New function, split from
13272 xselect-convert-to-string.
13273 (xselect-convert-to-string): Use it.
13274 (xselect-convert-to-filename, xselect-convert-to-os)
13275 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13276 returned strings are properly encoded (Bug#11315).
13277
13278 2012-04-27 Chong Yidong <cyd@gnu.org>
13279
13280 * simple.el (delete-active-region): Move to killing custom group.
13281
13282 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13283
13284 * progmodes/which-func.el (which-func-current): Quote %
13285 characters for mode-line processing.
13286
13287 2012-04-27 Chong Yidong <cyd@gnu.org>
13288
13289 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13290 reaching eob (Bug#11286).
13291
13292 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13293
13294 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13295 (gdb): Make it buffer-local and init to zero.
13296 (gdb-control-commands-regexp): New variable.
13297 (gdb-send): Don't wrap in "-interpreter-exec console" if
13298 gdb-control-level is positive. Increment gdb-control-level
13299 whenever the command matches gdb-control-commands-regexp, and
13300 decrement it each time the command is "end". (Bug#11279)
13301
13302 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13303
13304 * window.el (adjust-window-trailing-edge, enlarge-window)
13305 (shrink-window, window-resize):
13306 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13307 windows (Bug#11276).
13308
13309 2012-04-27 Chong Yidong <cyd@gnu.org>
13310
13311 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13312 fix "missing prefix" warning. All callers changed.
13313
13314 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13315
13316 * emacs-lisp/assoc.el: Move to obsolete/.
13317
13318 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13321
13322 * term/ns-win.el (ns-define-service):
13323 * progmodes/pascal.el (pascal-goto-defun):
13324 * progmodes/js.el (js--read-tab):
13325 * progmodes/etags.el (tags-lazy-completion-table):
13326 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13327 * emacs-lisp/ewoc.el (ewoc--wrap):
13328 * emacs-lisp/assoc.el (aput, adelete, amake):
13329 * doc-view.el (doc-view-convert-current-doc):
13330 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13331
13332 2012-04-26 Chong Yidong <cyd@gnu.org>
13333
13334 * image.el (image-type-from-buffer): Only return supported image
13335 type (Bug#9045).
13336
13337 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13338 value, for symmetry with diff-end-of-hunk.
13339 (diff-split-hunk, diff-find-source-location)
13340 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13341 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13342 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13343 compute the relevant hunk or file properly (Bug#6005).
13344 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13345
13346 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13347
13348 * vc/vc-mtn.el:
13349 * vc/vc-hg.el:
13350 * vc/vc-git.el:
13351 * vc/vc-dir.el:
13352 * vc/vc-cvs.el:
13353 * vc/vc-bzr.el:
13354 * vc/vc-arch.el:
13355 * vc/vc.el: Replace lexical-let by lexical-binding.
13356 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13357 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13358 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13359
13360 2012-04-26 Chong Yidong <cyd@gnu.org>
13361
13362 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13363 (diff-mode-shared-map): Bind it to / and [remap undo].
13364
13365 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13366 (ediff-window-setup-function): Use it as the default, to set up
13367 windows based on whether the current frame is graphical (Bug#2138).
13368 (ediff-choose-window-setup-function-automatically): Make obsolete.
13369
13370 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13371
13372 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * ffap.el: Remove old code for obsolete package.
13375 (ffap-complete-as-file-p): Remove.
13376
13377 Use completion-table-with-quoting for comint and pcomplete.
13378 * comint.el (comint--unquote&requote-argument)
13379 (comint--unquote-argument, comint--requote-argument): New functions.
13380 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13381 (comint-quote-filename): Use regexp-opt-charset.
13382 (comint--common-suffix, comint--common-quoted-suffix)
13383 (comint--table-subvert): Remove.
13384 (comint-unquote-function, comint-requote-function): New vars.
13385 (comint--complete-file-name-data): Use them with
13386 completion-table-with-quoting.
13387 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13388 * pcomplete.el (pcomplete-arg-quote-list)
13389 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13390 (pcomplete-unquote-argument-function): Default to non-nil.
13391 (pcomplete-unquote-argument): Simplify.
13392 (pcomplete--common-quoted-suffix): Remove.
13393 (pcomplete-requote-argument-function): New var.
13394 (pcomplete--common-suffix): New function.
13395 (pcomplete-completions-at-point): Use completion-table-with-quoting
13396 and completion-table-subvert.
13397
13398 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13399 (minibuffer--double-dollars): Preserve properties.
13400 (completion--sifn-requote): New function.
13401 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13402
13403 * minibuffer.el: Add support for completion of quoted/escaped data.
13404 (completion-table-with-quoting, completion-table-subvert): New funs.
13405 (completion--twq-try, completion--twq-all): New functions.
13406 (completion--nth-completion): New function.
13407 (completion-try-completion, completion-all-completions): Use it.
13408
13409 2012-04-25 Leo Liu <sdl.web@gmail.com>
13410
13411 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13412 Use compilation-message if available to find real filename.
13413
13414 2012-04-25 Chong Yidong <cyd@gnu.org>
13415
13416 * vc/diff-mode.el (diff-setup-whitespace): New function.
13417 (diff-mode): Use it.
13418
13419 * vc/diff.el (diff-sentinel):
13420 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13421 Whitespace mode variables based on diff style (Bug#8612).
13422
13423 2012-04-25 Leo Liu <sdl.web@gmail.com>
13424
13425 * progmodes/python.el (python-send-region): Add suffix .py to the
13426 temp file.
13427
13428 * files.el (auto-mode-alist): Use javascript-mode instead.
13429
13430 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13431
13432 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13433
13434 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13435 (soap-resolve-references-for-array-type): Hack to prevent self
13436 references, see Bug#9.
13437 (soap-parse-envelope): Report the contents of the 'detail' node
13438 when receiving a fault reply.
13439 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13440
13441 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13442 (soap-inspect-simple-type): New function.
13443
13444 * net/soap-client.el (soap-simple-type): New struct.
13445 (soap-default-xsd-types, soap-default-soapenc-types)
13446 (soap-decode-basic-type, soap-encode-basic-type):
13447 support unsignedInt and double basic types.
13448 (soap-resolve-references-for-simple-type)
13449 (soap-parse-simple-type, soap-encode-simple-type): New function.
13450 (soap-parse-schema): Parse xsd:simpleType declarations.
13451
13452 * net/soap-client.el (soap-default-xsd-types)
13453 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13454 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13455 the local name of "soapenc:Array".
13456 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13457 decoding integer, byte and anyURI xsd types.
13458
13459 2012-04-25 Chong Yidong <cyd@gnu.org>
13460
13461 * cus-edit.el (custom-buffer-create-internal): Update header text.
13462
13463 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13464
13465 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13466 settings on 'system-type', not on 'window-system'. On MS-Windows,
13467 set interactive-mode on in GDB.
13468
13469 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13470
13471 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13472 (ruby-syntax-propertize-regexp): Remove.
13473 (ruby-syntax-propertize-function): Split regexp into chunks.
13474 Match following code directly.
13475
13476 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13477
13478 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13479 (ruby-syntax-propertize-regexp): New function.
13480 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13481 by a special keyword.
13482
13483 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13484 (ruby-syntax-general-delimiters-goto-beg)
13485 (ruby-syntax-propertize-general-delimiters): New functions.
13486 (ruby-syntax-propertize-function): Use them to handle GDL.
13487 (ruby-font-lock-keywords): Move old handling of GDL...
13488 (ruby-font-lock-syntactic-keywords): .. to here.
13489 (ruby-calculate-indent): Adjust indentation for GDL.
13490
13491 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13492
13493 * notifications.el (top): Remove unneeded declarations.
13494 (notifications-specification-version): Change to "1.2".
13495 (notifications-interface, notifications-notify-method)
13496 (notifications-close-notification-method): Fix docstring.
13497 (notifications-get-capabilities-method): New defconst.
13498 (notifications-notify): Add :action-items, :resident and
13499 :transient hints. Change "image_data" to "image-data" and
13500 "image_path" to "image-path".
13501 (notifications-get-capabilities): New defun.
13502
13503 2012-04-24 Leo Liu <sdl.web@gmail.com>
13504
13505 * progmodes/python.el: Move hideshow setup to the end.
13506
13507 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13508
13509 * window.el (handle-select-window): Clear echo area since this is
13510 no more done by read_char (Bug#11304).
13511
13512 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13515 and `/ M' to filter-derived-mode.
13516 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13517 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13518 (ibuffer-mark-by-mode): Use default rather than initial-input.
13519 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13520
13521 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13522
13523 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13524 (ibuffer-filter-by-derived-mode): New filter.
13525 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13526
13527 2012-04-23 Andreas Politz <politza@fh-trier.de>
13528
13529 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13530
13531 2012-04-23 Chong Yidong <cyd@gnu.org>
13532
13533 * cus-edit.el (customize-apropos, customize-apropos-options):
13534 Disable matching of non-option variables (Bug#11176).
13535 (customize-option, customize-option-other-window)
13536 (customize-changed-options): Doc fix.
13537 (customize-apropos-options, customize-apropos-faces)
13538 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13539
13540 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13541 Fix word list splitting (Bug#11132).
13542 (apropos-symbol, apropos-keybinding, apropos-label)
13543 (apropos-property, apropos-function-button)
13544 (apropos-variable-button, apropos-misc-button): New faces.
13545 (apropos-symbol-face, apropos-keybinding-face)
13546 (apropos-label-face, apropos-property-face, apropos-match-face):
13547 Variables removed (Bug#8396).
13548 (apropos-library-button, apropos-format-plist, apropos-print)
13549 (apropos-print-doc, apropos-describe-plist): Callers changed.
13550
13551 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13552
13553 * net/xesam.el (xesam-mode-map): Use let-bound map in
13554 initialization. (Bug#11292)
13555
13556 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13557
13558 Preserve ispell session localwords when switching back to
13559 original buffer.
13560
13561 * textmodes/ispell.el (ispell-buffer-session-localwords):
13562 New buffer-local variable to hold buffer session localwords.
13563 (ispell-kill-ispell): Add option 'clear to delete session
13564 localwords.
13565 (ispell-command-loop, ispell-change-dictionary)
13566 (ispell-buffer-local-words): Preserve session localwords when
13567 needed.
13568
13569 * textmodes/flyspell.el (flyspell-process-localwords)
13570 (flyspell-do-correct): Preserve session localwords when needed.
13571
13572 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13573
13574 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13575 using obsolete `translation-table-for-input'.
13576 (ispell-word, ispell-process-line, ispell-complete-word):
13577 Use plain `insert' instead of removed `ispell-insert-word'.
13578
13579 2012-04-22 Chong Yidong <cyd@gnu.org>
13580
13581 * cus-edit.el (custom-variable-menu)
13582 (custom-variable-reset-saved, custom-face-menu)
13583 (custom-face-reset-saved): If there is no saved value, make the
13584 "reset-saved" operation bring back the default (Bug#9509).
13585 (custom-face-state): Properly detect themed faces.
13586
13587 * faces.el (face-spec-set): Stop supporting deprecated form of
13588 third arg.
13589
13590 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13591
13592 Move functions from C to Lisp. Make non-blocking method calls
13593 the default. Implement further D-Bus standard interfaces.
13594
13595 * net/dbus.el (dbus-message-internal): Declare function.
13596 Remove unneeded function declarations.
13597 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13598 (dbus-message-type-method-return, dbus-message-type-error)
13599 (dbus-message-type-signal): Declare variables. Remove local
13600 definitions.
13601 (dbus-interface-dbus, dbus-interface-peer)
13602 (dbus-interface-introspectable, dbus-interface-properties)
13603 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13604 Adapt docstring.
13605 (dbus-interface-objectmanager): New defconst.
13606 (dbus-call-method, dbus-call-method-asynchronously)
13607 (dbus-send-signal, dbus-method-return-internal)
13608 (dbus-method-error-internal, dbus-register-service)
13609 (dbus-register-signal, dbus-register-method): New defuns, moved
13610 from dbusbind.c
13611 (dbus-call-method-handler, dbus-setenv)
13612 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13613 New defuns.
13614 (dbus-call-method-non-blocking): Make it an obsolete function.
13615 (dbus-unregister-object, dbus-unregister-service)
13616 (dbus-handle-event, dbus-register-property)
13617 (dbus-property-handler): Obey the new structure of
13618 `bus-registered-objects'.
13619 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13620 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13621 Use `dbus-call-method'.
13622
13623 2012-04-22 Chong Yidong <cyd@gnu.org>
13624
13625 * cus-edit.el (custom-commands, custom-reset-menu)
13626 (Custom-reset-standard): Tweak labels.
13627 (custom-reset-button-menu): Change default to t.
13628 (custom-buffer-create-internal): For the custom-reset-button-menu
13629 case, put the revert button first.
13630 (custom-group-subtitle): New face.
13631 (custom-group-value-create): Align docstring to a specific column.
13632
13633 * wid-edit.el (widget-documentation-link-add): Don't handle
13634 indentation in this function.
13635 (widget-documentation-string-indent-to): New function.
13636 (widget-documentation-string-value-create): Use it.
13637
13638 * autorevert.el (auto-revert):
13639 * epg-config.el (epg):
13640 * ibuffer.el (ibuffer):
13641 * mpc.el (mpc):
13642 * ses.el (ses):
13643 * eshell/eshell.el (eshell):
13644 * net/ange-ftp.el (ange-ftp):
13645 * progmodes/ebnf2ps.el (postscript):
13646 * progmodes/flymake.el (flymake):
13647 * progmodes/prolog.el (prolog):
13648 * progmodes/verilog-mode.el (verilog-mode):
13649 * progmodes/which-func.el (which-func):
13650 * term/xterm.el (xterm):
13651 * textmodes/picture.el (picture):
13652 * textmodes/tildify.el (tildify):
13653 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13654 customization buffers.
13655
13656 2012-04-22 Alan Mackenzie <acm@muc.de>
13657
13658 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13659 Adding a ) can hide the resulting (..) from searches. Fix it.
13660 Bound the backward search to the position of the existing (.
13661
13662 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13663
13664 * progmodes/verilog-mode.el (verilog-mode): Check whether
13665 which-func-modes is t before adding verilog-mode.
13666 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13667
13668 2012-04-21 Leo Liu <sdl.web@gmail.com>
13669
13670 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13671
13672 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13673
13674 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13675 filling of the last column of a table (Bug#5635).
13676 (woman-find-next-control-line): New arg, specifying an additional
13677 regexp component for the control line.
13678 (woman2-roff-buffer): Use it.
13679 (woman-break-table): New function.
13680 (woman2-TS): Use it.
13681
13682 2012-04-21 Chong Yidong <cyd@gnu.org>
13683
13684 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13685 (woman-horizontal-escapes, woman-negative-vertical-space)
13686 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13687 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13688
13689 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * minibuffer.el (completion-file-name-table): Complete user names.
13692
13693 2012-04-20 Leo Liu <sdl.web@gmail.com>
13694
13695 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13696 and pcase-let*.
13697
13698 2012-04-20 Chong Yidong <cyd@gnu.org>
13699
13700 * server.el (server-execute): Respect initial-buffer-choice if it
13701 is a string and there are no files to open (Bug#2825).
13702 (server-create-window-system-frame, server-create-tty-frame):
13703 Don't switch buffers here.
13704 (server-process-filter): Only try to open a window system frame if
13705 compiled with graphical support (Bug#8314).
13706
13707 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13708
13709 * battery.el (battery-echo-area-format): Display remaining time
13710 for sysfs backend too (Bug#11269).
13711 (battery-linux-sysfs): Fix conditional for the charge.
13712
13713 2012-04-20 Chong Yidong <cyd@gnu.org>
13714
13715 * progmodes/gdb-mi.el (gdb): Revert previous change.
13716 (gdb-inferior-io--init-proc): New function.
13717 (gdb-init-1): Use it.
13718 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13719 responsible for allocating a new pty and hooking it to gdb when
13720 the old pty gets an EIO due to process exit.
13721 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13722 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13723 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13724
13725 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13726
13727 * window.el (window-min-size, window-sizable, window-min-delta)
13728 (window-max-delta, window--resizable, window-resizable)
13729 (window-total-size, window-full-height-p, window-full-width-p)
13730 (window-in-direction, window--resize-mini-window, window-resize)
13731 (window--resize-child-windows-normal)
13732 (window--resize-child-windows, window--resize-siblings)
13733 (window--resize-this-window, adjust-window-trailing-edge)
13734 (enlarge-window, shrink-window): Doc fixes.
13735
13736 2012-04-20 Chong Yidong <cyd@gnu.org>
13737
13738 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13739 New function to call delete-process on the gdb-inferior buffer's pty.
13740 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13741 pty process (Bug#11273).
13742 (gdb-update): New arg to suppress talking to the gdb process.
13743 (gdb-done-or-error): Use it.
13744 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13745 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13746 sentinel not being called.
13747
13748 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13749
13750 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13751
13752 2012-04-20 Glenn Morris <rgm@gnu.org>
13753
13754 * net/network-stream.el (open-network-stream): Doc fix.
13755
13756 2012-04-20 Chong Yidong <cyd@gnu.org>
13757
13758 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13759
13760 2012-04-20 Alan Mackenzie <acm@muc.de>
13761
13762 Ensure searching for keywords is case sensitive.
13763
13764 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13765 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13766 (c-defun-name, c-mark-function, c-cpp-define-name)
13767 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13768 (c-context-line-break): Bind case-fold-search to nil.
13769
13770 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13771 Bind case-fold-search to nil.
13772
13773 2012-04-20 Chong Yidong <cyd@gnu.org>
13774
13775 * mail/sendmail.el (mail-bury): Call return action with the right
13776 Rmail buffer (Bug#11242).
13777
13778 * server.el (server-process-filter): Handle corner case where both
13779 tty and nowait options are present (Bug#11102).
13780
13781 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13782
13783 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13784 (top level): Put into the executable the ident-style '$Id:' tag on
13785 windows-nt as well.
13786
13787 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * electric.el (electric-indent-post-self-insert-function): Check that
13790 electric-indent-mode is enabled in current buffer.
13791
13792 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13793
13794 * imenu.el (imenu-progress-message): Restore; it is "used" in
13795 erc/erc-imenu.el and net/snmp-mode.el.
13796
13797 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13798
13799 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13800 (mouse-avoidance-nudge-mouse): Remove unused binding.
13801
13802 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13803
13804 * descr-text.el (describe-char):
13805 * progmodes/python.el (python-describe-symbol):
13806 Don't call `toggle-read-only', set `buffer-read-only'.
13807
13808 * imenu.el (imenu-default-goto-function): Mark unused args.
13809 (imenu-progress-message): Remove obsolete macro; all callers changed.
13810
13811 * subr.el (keymap-canonicalize): Remove unused binding.
13812 (read-passwd): Mark unused arg.
13813
13814 * tutorial.el (tutorial--display-changes): Remove unused binding.
13815 (tutorial--save-tutorial-to): Remove unused variable.
13816
13817 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13818 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13819 (package-generate-autoloads, package-menu--generate)
13820 (package-menu--find-upgrades): Remove unused bindings.
13821
13822 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13823 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13824 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13825 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13826 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13827 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13828 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13829 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13830 (cua-delete-char-rectangle): Mark unused args.
13831 (cua-align-rectangle): Remove unused binding.
13832
13833 * mail/rmail.el (compilation--message->loc)
13834 (epa--find-coding-system-for-mime-charset): Declare.
13835
13836 * net/dbus.el (dbus-register-service): Declare.
13837 (dbus-name-owner-changed-handler): Remove unused binding.
13838
13839 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13840 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13841 (nxml-scan-backward-within): Mark unused arg.
13842 (nxml-dynamic-markup-word): Remove unused binding.
13843
13844 * mouse.el (mouse-menu-major-mode-map):
13845 * emacs-lisp/authors.el (authors-scan-change-log)
13846 (authors-add-to-author-list):
13847 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13848 * emacs-lisp/smie.el (smie-auto-fill):
13849 * mail/sendmail.el (mail-bury):
13850 * mail/unrmail.el (unrmail):
13851 * net/tls.el (open-tls-stream):
13852 * textmodes/picture.el (picture-mouse-set-point):
13853 Remove unused bindings.
13854
13855 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13856
13857 * net/tramp.el (tramp-action-password): Let-bind
13858 `enable-recursive-minibuffers' to t.
13859
13860 2012-04-18 Sam Steingold <sds@gnu.org>
13861
13862 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13863 instead of 'string to accommodate values like [f11].
13864 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13865 * progmodes/gdb-mi.el: Likewise.
13866
13867 2012-04-18 Leo Liu <sdl.web@gmail.com>
13868
13869 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13870 current buffer.
13871 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13872 LOCAL is nil.
13873
13874 2012-04-18 Chong Yidong <cyd@gnu.org>
13875
13876 * simple.el (line-move): Use forward-line if in batch mode
13877 (Bug#11053).
13878
13879 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13880
13881 * files.el (after-find-file): Do not try to add a final newline if
13882 the buffer is read-only (Bug#11156).
13883
13884 2012-04-17 Richard Stallman <rms@gnu.org>
13885
13886 * mail/rmail.el (rmail-start-mail):
13887 Pass (rmail-mail-return...) for the return-action.
13888 Pass (rmail-yank-current-message...) for the yank-action.
13889 (rmail-yank-current-message): New function.
13890 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13891 (rmail-reply): Likewise.
13892 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13893
13894 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13895 buffer, not the last. Reject temp buffers. Use the rmail-mode
13896 buffer, not newbuf.
13897
13898 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13899
13900 * server.el (server-ensure-safe-dir): Simplify.
13901
13902 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * emacs-lisp/smie.el: Provide smarter auto-filling.
13905 (smie-auto-fill): New function.
13906 (smie-setup): Use it.
13907
13908 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13909
13910 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13911
13912 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13913 (comment-indent): Use it.
13914
13915 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13916
13917 * ses.el: The overall change is to add cell renaming, that is
13918 setting fancy names for cell symbols other than name matching
13919 "\\`[A-Z]+[0-9]+\\'" regexp .
13920 (ses-localvars): Add ses--renamed-cell-symb-list.
13921 (ses-create-cell-variable): New defun.
13922 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13923 (ses-relocate-formula): Relocate formulas only for cells the
13924 symbols of which are not renamed, i.e. symbols whose names do not
13925 match regexp "\\`[A-Z]+[0-9]+\\'".
13926 (ses-relocate-all): Relocate values only for cells the symbols of
13927 which are not renamed.
13928 (ses-load): Create cells variables as the (ses-cell ...) are read,
13929 in order to check row col consistency with cell symbol name only
13930 for cells that are not renamed.
13931 (ses-replace-name-in-formula): New defun.
13932 (ses-rename-cell): New defun.
13933
13934 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13935
13936 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13937 New option (bug#11118).
13938 (perl-calculate-indent): Respect it.
13939
13940 2012-04-17 Glenn Morris <rgm@gnu.org>
13941
13942 * dired-aux.el (dired-mark-read-string): Doc fix.
13943
13944 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13945
13946 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13947 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13948
13949 2012-04-17 Glenn Morris <rgm@gnu.org>
13950
13951 * mouse.el (mouse-drag-track):
13952 * speedbar.el (speedbar-frame-mode):
13953 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13954
13955 2012-04-16 Leo Liu <sdl.web@gmail.com>
13956
13957 * progmodes/python.el: Trivial cleanup.
13958
13959 2012-04-16 Glenn Morris <rgm@gnu.org>
13960
13961 * vc/vc.el (vc-string-prefix-p):
13962 * vc/pcvs-util.el (cvs-string-prefix-p):
13963 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13964 * mpc.el (mpc-string-prefix-p):
13965 Make all of these into obsolete aliases for string-prefix-p.
13966 Update callers.
13967 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13968
13969 * textmodes/two-column.el: Move custom options to the start.
13970 (frame-width): Remove compat definition.
13971 (2C-associate-buffer, 2C-dissociate):
13972 Use with-current-buffer rather than save-excursion.
13973 (2C-dissociate): Force a mode-line update.
13974 (2C-autoscroll): Use ignore-errors.
13975
13976 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13977 Autoload trivia.
13978
13979 * emacs-lisp/cl-extra.el (*random-state*):
13980 Remove unnecessary declaration.
13981
13982 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13983
13984 * play/cookie1.el (cookie-snarf):
13985 Give an explicit error if input file cannot be read.
13986
13987 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13988
13989 * progmodes/perl-mode.el (c-macro-expand):
13990 Remove unnecessary autoload (it is in loaddefs.el).
13991
13992 * textmodes/picture.el (picture-desired-column)
13993 (picture-update-desired-column): Convert comments to doc-strings.
13994 (picture-substitute): Remove function.
13995 (picture-mode-map): Initialize in the defvar.
13996
13997 * woman.el: Remove eval-after-load for tar-mode.
13998 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13999 (woman-tar-extract-file): Autoload it.
14000
14001 * frame.el (automatic-hscrolling): Make this alias obsolete.
14002
14003 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14004
14005 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14006 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14007 (ispell-dictionary-base-alist): Revert to original XEmacs
14008 friendly version for default. [:alpha:] will be added in
14009 `ispell-set-spellchecker-params' if needed.
14010
14011 2012-04-16 Chong Yidong <cyd@gnu.org>
14012
14013 * image.el (imagemagick--file-regexp): New variable.
14014 (imagemagick-register-types): Use it.
14015 (imagemagick-types-inhibit): Add :set function. Allow new value
14016 of t to inhibit all types.
14017
14018 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14019 so we can preload it.
14020
14021 * loadup.el (fboundp): Preload regexp-opt, needed by
14022 imagemagick-register-types.
14023
14024 2012-04-15 Chong Yidong <cyd@gnu.org>
14025
14026 * frame.el (scrolling): Remove nearly unused customization group.
14027
14028 * scroll-all.el (scroll-all-mode): Move to windows group.
14029
14030 2012-04-15 Chong Yidong <cyd@gnu.org>
14031
14032 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14033
14034 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14037 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14038
14039 2012-04-15 Glenn Morris <rgm@gnu.org>
14040
14041 * simple.el (process-file-side-effects): Doc fix.
14042
14043 2012-04-15 Glenn Morris <rgm@gnu.org>
14044
14045 * international/mule-cmds.el (set-language-environment): Doc fix.
14046
14047 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14048
14049 * server.el (server-auth-key, server-generate-key): Doc fixes.
14050 (server-get-auth-key): Doc fix. Use `string-match-p'.
14051 (server-start): Reflow docstring.
14052
14053 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14054
14055 * server.el (server-generate-key): `called-interactively-p'
14056 requires a parameter.
14057
14058 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14059
14060 * server.el (server-auth-key): New variable.
14061 (server-generate-key, server-get-auth-key): New function.
14062 (server-start): Use the new variable and functions to allow
14063 setting a permanent server key (bug#9423).
14064
14065 2012-04-14 Leo Liu <sdl.web@gmail.com>
14066
14067 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14068
14069 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14070
14071 Spelling fixes.
14072 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14073 Emacs uses American spelling.
14074
14075 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14076
14077 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14078 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14079 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14080 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14081
14082 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * progmodes/which-func.el (which-func-modes): Change default.
14085
14086 2012-04-14 Kim F. Storm <storm@cua.dk>
14087
14088 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14089 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14090
14091 2012-04-14 Chong Yidong <cyd@gnu.org>
14092
14093 * custom.el (custom-theme-set-variables): Doc fix.
14094
14095 2012-04-14 Glenn Morris <rgm@gnu.org>
14096
14097 * international/mule.el (set-auto-coding-for-load): Doc fix.
14098
14099 2012-04-14 Alan Mackenzie <acm@muc.de>
14100
14101 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14102 imenu work again for Objective C Mode. Correct the *-index values,
14103 these having been disturbed by a previous change in 2011-08.
14104
14105 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14106 Correct two search limits.
14107
14108 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14111
14112 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14113
14114 * international/characters.el: Fix sorting.
14115
14116 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14117
14118 * international/characters.el: Add more missing Latin case pairs.
14119
14120 2012-04-14 Glenn Morris <rgm@gnu.org>
14121
14122 * files.el (dir-locals-set-class-variables): Doc fix.
14123
14124 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14125
14126 * international/characters.el: Add set-case-syntax-pair call for
14127 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14128 counterpart. (Bug#11209)
14129
14130 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14131
14132 2012-04-14 Glenn Morris <rgm@gnu.org>
14133
14134 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14135
14136 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14137
14138 * textmodes/ispell.el (ispell-dictionary-base-alist):
14139 Add data for Hebrew.
14140
14141 2012-04-14 Chong Yidong <cyd@gnu.org>
14142
14143 * net/rcirc.el (rcirc-cmd-quit):
14144 Revert 2012-03-18 change (Bug#11192).
14145
14146 2012-04-14 Glenn Morris <rgm@gnu.org>
14147
14148 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14149
14150 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14151
14152 * minibuffer.el (completion-in-region-mode-map):
14153 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14154
14155 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14156
14157 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14158
14159 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14160
14161 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14162 to allow `C-M-f' and `C-M-b' to move to the nearest path
14163 separator (bug#9511).
14164
14165 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14166
14167 * avoid.el: Require cl when compiling. And also move the
14168 `provide' to the end.
14169
14170 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14171
14172 * avoid.el (mouse-avoidance-banish-position): New variable.
14173 (mouse-avoidance-banish-destination): Use it (bug#10165).
14174
14175 2012-04-13 Leo Liu <sdl.web@gmail.com>
14176
14177 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14178
14179 2012-04-13 Ken Brown <kbrown@cornell.edu>
14180
14181 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14182 this is no longer needed now that cygstart understands file:// URLs.
14183 (browse-url-filename-alist): For the same reason, don't modify
14184 file:// URLs on Cygwin.
14185
14186 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14189 the region on shift if the binding is already shifted (bug#11221).
14190
14191 2012-04-12 Glenn Morris <rgm@gnu.org>
14192
14193 * mail/mailpost.el: Move to obsolete/.
14194
14195 2012-04-12 Drew Adams <drew.adams@oracle.com>
14196
14197 * imenu.el (imenu--generic-function): Ignore invisible definitions
14198 (bug#10123).
14199
14200 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14201
14202 * hexl.el (hexl-bits): New variable.
14203 (hexl-options): Mention the variable in the doc string.
14204 (hexl-rulerise, hexl-line-displen): New functions.
14205 (hexl-mode): Mention the new variable.
14206 (hexl-mode, hexl-current-address, hexl-current-address):
14207 Use the displen.
14208 (hexl-ascii-start-column): New function.
14209 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14210 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14211
14212 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14213
14214 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14215 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14216 the encoding, as expected by hunspell.
14217
14218 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * battery.el (battery--linux-sysfs-regexp): New const.
14221 (battery-status-function): Use it. Remove yeeloong special case.
14222 (battery-yeeloong-sysfs): Remove.
14223 (battery-echo-area-format): Remove yeeloong special case.
14224
14225 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14228 Reported by Noah Friedman.
14229
14230 * subr.el (read-passwd): Use read-string.
14231
14232 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14233
14234 * vcursor.el (vcursor-move): Increase the priority of the overlay
14235 (bug#9663).
14236
14237 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14238
14239 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14240 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14241
14242 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14243
14244 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14245 define-minor-mode (bug#10760).
14246
14247 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14248
14249 * progmodes/grep.el (rgrep): Tweak the find command line so
14250 that directories matching `grep-find-ignored-files' won't be
14251 pruned (bug#10351).
14252
14253 2012-04-11 Chong Yidong <cyd@gnu.org>
14254
14255 * startup.el (command-line): Remove support for long-obsolete
14256 variable font-lock-face-attributes.
14257
14258 2012-04-11 Glenn Morris <rgm@gnu.org>
14259
14260 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14261
14262 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 * window.el (window--state-get-1): Obey window-point-insertion-type.
14265
14266 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14267
14268 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14269 to previous function when point is on the first character of a
14270 function. Take care of that in `narrow-to-defun' (bug#6157).
14271
14272 2012-04-11 Glenn Morris <rgm@gnu.org>
14273
14274 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14275 not just file-errors.
14276
14277 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14278 (vc-bzr-sha1): Use internal sha1.
14279
14280 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14283
14284 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14285
14286 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14287 that start in the middle of the line (bug#10496).
14288
14289 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14290
14291 * battery.el (battery-linux-proc-acpi): Only one battery is
14292 discharged at a time, but that seems to confuse battery.el when
14293 computing `rate-type' for the battery not being discharged
14294 (bug#10332).
14295
14296 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14297
14298 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14299
14300 * international/quail.el: Use dolist and simplify.
14301 (quail-define-package, quail-update-keyboard-layout)
14302 (quail-define-rules): Use dolist.
14303 (quail-insert-kbd-layout, quail-get-translation): CSE.
14304
14305 * tmm.el: Use dolist, remove left over hook.
14306 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14307 Use dolist.
14308 (calendar-load-hook): Don't mess with it.
14309
14310 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14311 Use derived-mode-p. Run the diff asynchronously.
14312
14313 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14314
14315 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14316
14317 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14318
14319 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14320 (list-dynamic-libraries--loaded): New function.
14321 (list-dynamic-libraries--refresh): Use it.
14322
14323 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14324
14325 * progmodes/python.el (python-fill-paragraph):
14326 Make python-fill-region in a multiline string work when font-lock is
14327 disabled (bug#7018).
14328
14329 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14330
14331 * language/european.el (cp775): Add oem/legacy (en)coding on
14332 DOS/MS Windows for the Baltic languages. There are still plenty
14333 of texts written in this encoding/codepage (bug#6519).
14334
14335 2012-04-10 Glenn Morris <rgm@gnu.org>
14336
14337 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14338 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14339
14340 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14341
14342 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14343 next-line "n" and previous-line "p" in order to make recentf more
14344 consistent with ibuffer, dired or org-mode (bug#9387).
14345
14346 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14347
14348 * image.el (put-image): Return the overlay created instead of the
14349 optional input string (bug#7834). Note that this may break code
14350 that is (for some reason or other) depending on `put-image'
14351 returning the string.
14352
14353 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14354
14355 * simple.el (zap-to-char): Allow zapping using input methods
14356 (bug#1580).
14357
14358 * textmodes/fill.el (fill-region): Leave point and mark where they
14359 were before filling (bug#5399).
14360
14361 2012-04-09 Glenn Morris <rgm@gnu.org>
14362
14363 * version.el (emacs-bzr-get-version):
14364 Handle lightweight checkouts of local branches.
14365
14366 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14367
14368 * international/characters.el: Recover lost case pairs. (Bug#11209)
14369
14370 2012-04-09 Chong Yidong <cyd@gnu.org>
14371
14372 * custom.el (custom-variable-p): Return nil for non-symbol
14373 arguments instead of signaling an error.
14374 (user-variable-p): Obsolete alias for custom-variable-p.
14375
14376 * apropos.el (apropos-variable):
14377 * files-x.el (read-file-local-variable):
14378 * simple.el (set-variable):
14379 * woman.el (woman-mini-help):
14380 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14381
14382 2012-04-09 Glenn Morris <rgm@gnu.org>
14383
14384 * startup.el (normal-top-level): Don't look for leim-list.el
14385 in places where it will not be found. (Bug#910)
14386
14387 * international/mule-cmds.el (set-default-coding-systems):
14388 * files.el (normal-mode):
14389 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14390 This function was removed with ucs-tables.el in 2008.
14391
14392 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14393
14394 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14395 ispell-encoding8-command to "-i", without a trailing space.
14396 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14397 separate command-line arguments, to specify the encoding, since
14398 that's how hunspell expects it.
14399
14400 2012-04-08 Glenn Morris <rgm@gnu.org>
14401
14402 * loadup.el: Load bindings before cus-start.
14403 This reduces somewhat the number of "rogue" settings in emacs -Q.
14404
14405 2012-04-07 Glenn Morris <rgm@gnu.org>
14406
14407 * version.el (emacs-bzr-get-version): New function.
14408 (emacs-bzr-version): New variable.
14409 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14410 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14411
14412 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14413
14414 * international/uni-bidi.el, international/uni-category.el:
14415 * international/uni-combining.el, international/uni-decimal.el:
14416 * international/uni-decomposition.el, international/uni-digit.el:
14417 * international/uni-lowercase.el, international/uni-mirrored.el:
14418 * international/uni-name.el, international/uni-numeric.el:
14419 * international/uni-titlecase.el, international/uni-uppercase.el:
14420 Update for Unicode 6.1.
14421
14422 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14423
14424 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14425
14426 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14427
14428 * window.el (shrink-window): Mention the `window-min-height'
14429 variable in the doc string.
14430
14431 2012-04-05 Bastien Guerry <bzg@altern.org>
14432
14433 * color.el (color-lighten-name): Fix typo.
14434
14435 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * server.el (server--on-display-p): New function.
14438 (server--on-display-p): Use it.
14439
14440 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14441
14442 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14443 (bug#11145).
14444
14445 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14446
14447 * comint.el (comint--common-quoted-suffix): Check string boundary
14448 before comparing (bug#11158).
14449 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14450
14451 2012-04-04 Chong Yidong <cyd@gnu.org>
14452
14453 * minibuffer.el (completion-extra-properties): Doc fix.
14454
14455 * subr.el (delayed-warnings-hook): Doc fix.
14456
14457 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14458
14459 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14460 selection (Bug#11159).
14461 (epa-insert-keys): Inform that the default public key will be
14462 exported if no key is selected.
14463
14464 2012-04-04 Richard Stallman <rms@gnu.org>
14465
14466 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14467
14468 2012-04-03 Chong Yidong <cyd@gnu.org>
14469
14470 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14471 mail-insert-file, not its obsolete alias mail-attach-file.
14472
14473 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14474
14475 * notifications.el (notifications-notify): Fix docstring.
14476
14477 2012-04-02 Glenn Morris <rgm@gnu.org>
14478
14479 * emacs-lisp/authors.el (authors-aliases): Another addition.
14480
14481 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14482
14483 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14484 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14485 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14486
14487 2012-04-01 Chong Yidong <cyd@gnu.org>
14488
14489 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14490 Handle root directory properly.
14491 (copy-directory): Caller changed.
14492
14493 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14494 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14495
14496 2012-03-31 Glenn Morris <rgm@gnu.org>
14497
14498 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14499
14500 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14501
14502 * calendar/calendar.el (calendar-window-list)
14503 (calendar-hide-window): Restore. (Bug#11140)
14504 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14505
14506 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14507
14508 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14509
14510 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14511 Check if file is a symlink (Bug#10489).
14512
14513 * files.el (copy-directory): Likewise.
14514
14515 2012-03-30 Chong Yidong <cyd@gnu.org>
14516
14517 * image.el (imagemagick-types-inhibit)
14518 (imagemagick-register-types): Doc fix.
14519
14520 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14521
14522 * textmodes/ispell.el (ispell-get-extended-character-mode):
14523 Disable extended-char-mode for hunspell. hunspell does not support it
14524 and treats ~word as ordinary words in pipe mode.
14525
14526 2012-03-30 Glenn Morris <rgm@gnu.org>
14527
14528 * tutorial.el (help-with-tutorial): Ensure local variables don't
14529 happen to make the buffer read-only. (Bug#11127)
14530
14531 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14532
14533 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14534 (perl-calculate-indent): Return `noindent' in strings.
14535
14536 2012-03-28 Sam Steingold <sds@gnu.org>
14537
14538 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14539 instead of the broken adhockery which does not prevent calendar
14540 buffers from being displayed at random after exit.
14541 (calendar-window-list, calendar-hide-window): Remove the broken
14542 adhockery.
14543
14544 2012-03-28 Glenn Morris <rgm@gnu.org>
14545
14546 * replace.el (query-replace-map): Doc fix.
14547
14548 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14549
14550 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14551 contents. (Bug#11109)
14552
14553 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14556 (bug#11077).
14557 (avl-tree--check, avl-tree--check-node): New funs.
14558
14559 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14560
14561 * window.el (switch-to-visible-buffer): New option.
14562 (switch-to-prev-buffer, switch-to-next-buffer):
14563 Observe switch-to-visible-buffer. Make sure that checking for a window
14564 showing a buffer already is done on the same frame.
14565
14566 2012-03-27 Glenn Morris <rgm@gnu.org>
14567
14568 * startup.el (mail-host-address): Doc fix.
14569
14570 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14571
14572 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14573 than 197 variables.
14574
14575 2012-03-26 Ami Fischman <ami@fischman.org>
14576
14577 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14578
14579 2012-03-26 Glenn Morris <rgm@gnu.org>
14580
14581 * files.el (save-buffers-kill-emacs): Doc fix.
14582
14583 * startup.el (normal-top-level, command-line, command-line-1):
14584 Give them doc strings.
14585
14586 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14587
14588 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14589 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14590
14591 2012-03-25 Chong Yidong <cyd@gnu.org>
14592
14593 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14594 theme if it was previously enabled before (Bug#11031).
14595
14596 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14597 spec with custom-face-get-current-spec if its :shown-value is not
14598 determined yet (Bug#9337).
14599 (customize-create-theme, custom-theme-revert): Doc fixes.
14600
14601 * button.el (button-at): Minor addition to docstring.
14602
14603 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14604
14605 * vc/vc.el (vc-merge): Fix a prompt.
14606
14607 2012-03-24 Chong Yidong <cyd@gnu.org>
14608
14609 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14610 point (Bug#9623).
14611
14612 * button.el (button-at): Minor addition to docstring.
14613
14614 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14615
14616 * newcomment.el (comment-choose-indent): No space after BOL.
14617
14618 2012-03-22 Sam Steingold <sds@gnu.org>
14619
14620 * window.el (switch-to-prev-buffer): Revert last patch because the
14621 bug turned out to be an advertised feature (Elisp manual 28.14).
14622
14623 2012-03-22 Glenn Morris <rgm@gnu.org>
14624
14625 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14626 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14627
14628 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14629
14630 * net/network-stream.el (network-stream-open-starttls): Make error
14631 message under Windows be less misleading.
14632
14633 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14634
14635 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14636 understands (bug#9942).
14637
14638 2012-03-22 Chong Yidong <cyd@gnu.org>
14639
14640 * simple.el (end-of-visible-line): Handle return value of
14641 next-single-property-change properly (Bug#9371).
14642
14643 2012-03-22 Kenichi Handa <handa@m17n.org>
14644
14645 * international/quail.el (quail-insert-kbd-layout): Fix previous
14646 change. To avoid unwanted bidi reordering, use
14647 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14648
14649 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14650
14651 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14652 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14653 (ruby-beginning-of-indent): Be more careful with the difference
14654 between word-boundary and symbol boundary.
14655 (ruby-mode-syntax-table): Make : a symbol constituent.
14656
14657 2012-03-21 Andreas Politz <politza@fh-trier.de>
14658
14659 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14660
14661 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14662
14663 * progmodes/etags.el (tags-completion-at-point-function):
14664 Improve last fix.
14665
14666 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14667
14668 2012-03-21 Sam Steingold <sds@gnu.org>
14669
14670 * progmodes/etags.el (tags-completion-at-point-function):
14671 Avoid the error when point is inside the pattern.
14672
14673 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14674
14675 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14676 line (Bug#10855).
14677
14678 2012-03-21 Drew Adams <drew.adams@oracle.com>
14679
14680 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14681
14682 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14683
14684 * ido.el (ido-set-current-directory, ido-read-internal)
14685 (ido-choose-completion-string, ido-completion-help): Handle nil
14686 value of ido-completion-buffer (Bug#11008).
14687
14688 2012-03-21 Sam Steingold <sds@gnu.org>
14689
14690 * window.el (switch-to-prev-buffer): Do not switch to a visible
14691 window previous buffer, just like with the frame previous buffers.
14692
14693 2012-03-21 Chong Yidong <cyd@gnu.org>
14694
14695 * faces.el (make-face, make-empty-face, copy-face):
14696 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14697 Doc fixes.
14698
14699 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14702 (widget-complete): Remove broken use of it.
14703
14704 2012-03-20 Chong Yidong <cyd@gnu.org>
14705
14706 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14707 Use string-width and truncate-string-width to handle arbitrary
14708 characters.
14709
14710 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14711
14712 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14713 to draw rectangles, not squares. (Regression introduced by revno
14714 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14715
14716 2012-03-18 Chong Yidong <cyd@gnu.org>
14717
14718 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14719 it is not yet defined (for temacs).
14720
14721 2012-03-18 Leo Liu <sdl.web@gmail.com>
14722
14723 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14724 prefix.
14725
14726 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14727
14728 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14729 (ispell-choices-win-default-height, ispell-silently-savep)
14730 (ispell-dictionary-alist, ispell-encoding8-command)
14731 (ispell-check-version, ispell-aspell-find-dictionary)
14732 (ispell-valid-dictionary-list, ispell-words-keyword)
14733 (ispell-get-word, ispell-internal-change-dictionary)
14734 (ispell-region, ispell-skip-region-list)
14735 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14736 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14737 (ispell-message-text-end, ispell-message)
14738 (ispell-buffer-local-parsing): Doc fix.
14739
14740 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14741
14742 * htmlfontify.el: Add support for code block fontification for ODT
14743 export (Bug #9914).
14744 (hfy-optimisations): Define new option
14745 `body-text-only'
14746 (hfy-fontify-buffer): Honor above setting.
14747 (hfy-begin-span, hfy-end-span): New routines factored out form
14748 `hfy-fontify-buffer'.
14749 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14750 that permit insertion of custom tags.
14751 (hfy-fontify-buffer): Use above handlers.
14752 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14753 (hfy-face-to-css): Re-defined to be a variable.
14754 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14755 over multiple runs. This is made possible by having the caller let
14756 bind a special variable `hfy-user-sheet-assoc'.
14757 (htmlfontify-string): New defun.
14758 (hfy-compile-face-map): Make sure that the last char in the
14759 buffer is correctly fontified.
14760 (hfy-face-resolve-face): Whitespace only change.
14761
14762 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14763
14764 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14765 message more clear.
14766
14767 2012-03-16 Leo Liu <sdl.web@gmail.com>
14768
14769 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14770
14771 2012-03-16 Alan Mackenzie <acm@muc.de>
14772
14773 Further optimize the handling of large macros.
14774
14775 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14776 limit to a call of `c-literal-limits'.
14777 (c-determine-+ve-limit): New function.
14778 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14779 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14780 In CASE 5B, restrict a search limit to 500.
14781 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14782
14783 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14784 Restrict macro bounds to +-500 from after-change's BEG END.
14785
14786 2012-03-16 Leo Liu <sdl.web@gmail.com>
14787
14788 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14789
14790 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14791
14792 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14793 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14794
14795 2012-03-16 Glenn Morris <rgm@gnu.org>
14796
14797 * view.el (view-buffer, view-buffer-other-window)
14798 (view-buffer-other-frame): Doc fixes re special mode-class.
14799
14800 * subr.el (eval-after-load): If named feature is provided not from
14801 a file, run after-load forms. (Bug#10946)
14802
14803 * calendar/calendar.el (calendar-insert-at-column):
14804 Handle non-unit-width characters a bit better. (Bug#10978)
14805
14806 2012-03-15 Chong Yidong <cyd@gnu.org>
14807
14808 * emacs-lisp/ring.el (ring-extend): New function.
14809 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14810
14811 * comint.el (comint-read-input-ring)
14812 (comint-add-to-input-history): Grow comint-input-ring lazily.
14813
14814 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14815
14816 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14817 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14818
14819 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14820 (imenu-add-to-menubar): Don't add a redundant index.
14821 (imenu-update-menubar): Handle a dynamically composed keymap.
14822
14823 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14824
14825 * mail/sendmail.el (mail-encode-header):
14826 Bind rfc2047-encode-encoded-words to nil.
14827
14828 2012-03-13 Glenn Morris <rgm@gnu.org>
14829
14830 * calendar/calendar.el (calendar-string-spread):
14831 Handle non-unit-width characters a bit better. (Bug#10978)
14832
14833 2012-03-13 Leo Liu <sdl.web@gmail.com>
14834
14835 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14836 directory and file as argument (Bug#10822).
14837
14838 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14839
14840 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14841 For dynamically generated code, follow $PC.
14842 (gdb-disassembly-handler-custom): Handle no function name case.
14843
14844 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14845
14846 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14847 * emulation/ws-mode.el (ws-query-replace):
14848 * sort.el (sort-regexp-fields):
14849 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14850
14851 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * dabbrev.el: Fix cycle completion order (bug#10963).
14854 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14855 (dabbrev-completion): Don't use an obarray; provide
14856 a cycle-sort-function.
14857
14858 2012-03-12 Leo Liu <sdl.web@gmail.com>
14859
14860 * simple.el (kill-new): Use equal-including-properties for comparison.
14861 (kill-do-not-save-duplicates): Doc fix.
14862
14863 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14864
14865 * dabbrev.el: Fix cycle completion (bug#10963).
14866 Use lexical binding and wrap to 80 columns.
14867 (dabbrev-completion): Delay computing the list of completions.
14868
14869 2012-03-12 Kenichi Handa <handa@m17n.org>
14870
14871 * international/quail.el (quail-insert-kbd-layout): Surround each
14872 row by LRO and PDF instead of inserting many LRMs. Pad the left
14873 and right of each non-spacing marks. Insert invisible space
14874 between lower and upper characters to prevent composition.
14875
14876 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14877
14878 * minibuffer.el (minibuffer-complete): Don't get confused when the
14879 function is run twice via different commands (bug#10958).
14880 (complete-with-action): Fix docstring.
14881
14882 2012-03-12 Chong Yidong <cyd@gnu.org>
14883
14884 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14885 (nxml-completion-at-point-function): New function.
14886 (nxml-mode): Use it.
14887 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14888
14889 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14890 Load generated autoloads file before byte compiling (Bug#10970).
14891 (package--make-autoloads-and-compile): New helper fun.
14892
14893 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14894
14895 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14896
14897 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14898
14899 * autorevert.el (auto-revert-handler): Ensure, that
14900 file-readable-p is applied only for local files or in
14901 auto-revert-tail-mode.
14902
14903 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14904
14905 * server.el (server-eval-at): Handle non-tcp connections.
14906 Decode result string.
14907
14908 * server.el (server-msg-size): New constant.
14909 (server-reply-print): New function.
14910 (server-eval-and-print): Use it.
14911 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14912 Handle -print-nonl.
14913
14914 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14915
14916 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14917 (Bug#10987).
14918
14919 2012-03-11 Chong Yidong <cyd@gnu.org>
14920
14921 * simple.el (goto-line): Doc fix (Bug#9938).
14922
14923 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14924
14925 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14926 when finished (Bug#10963).
14927
14928 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14929
14930 * window.el (split-window-below): Fix bug in case where
14931 split-window-keep-point is nil (Bug#10971).
14932
14933 2012-03-11 Juri Linkov <juri@jurta.org>
14934
14935 * replace.el (replace-highlight): Set isearch-word to nil
14936 unconditionally. (Bug#10887)
14937
14938 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14939
14940 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14941 mairix-replace-illegal-chars; all callers changed. Don't remove
14942 ^, ~, and = characters: they are meaningful in mairix search specs.
14943 (mairix-widget-create-query): Add usage information about mairix
14944 search forms: negating words, searching for substrings, etc.
14945
14946 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14947
14948 * international/fontset.el (font-encoding-alist): Add an entry for
14949 ksx1001 (Bug#5667).
14950
14951 2012-03-10 Richard Stallman <rms@gnu.org>
14952
14953 * mail/sendmail.el (mail-encode-header):
14954 Set rfc2047-encode-encoded-words.
14955
14956 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14957
14958 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14959 view buffer means not swapped.
14960 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14961 (rmail-write-region-annotate): Error if real text has disappeared.
14962
14963 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14964
14965 2012-03-10 Chong Yidong <cyd@gnu.org>
14966
14967 * emulation/cua-rect.el (cua--init-rectangles):
14968 * emulation/cua-base.el (cua--init-keymaps):
14969 Add delete-forward-char to remappings (Bug#9666).
14970
14971 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14972
14973 * speedbar.el (speedbar-unhighlight-one-tag-line):
14974 Avoid unhighlighting due to frame switching (Bug#10275).
14975
14976 2012-03-10 Chong Yidong <cyd@gnu.org>
14977
14978 * minibuffer.el (completion-in-region, completion-help-at-point):
14979 Give the completion field overlay a high priority (Bug#6830).
14980
14981 * dired.el (dired-goto-file): Recognize absolute file name
14982 listings (Bug#7126).
14983 (dired-goto-file-1): New helper function.
14984 (dired-toggle-read-only): Inhibit warnings.
14985
14986 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14987
14988 * net/dbus.el (dbus-property-handler): Return empty array if
14989 there are no properties.
14990
14991 2012-03-09 Leo Liu <sdl.web@gmail.com>
14992
14993 * savehist.el (savehist-printable): Stricter check for string
14994 value (Bug#10937).
14995
14996 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14997
14998 * mail/smtpmail.el (smtpmail-send-it):
14999 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15000 valid mbox format.
15001
15002 2012-03-09 Glenn Morris <rgm@gnu.org>
15003
15004 * files.el (dir-locals-find-file):
15005 Don't check result is regular, readable.
15006 (dir-locals-read-from-file): Demote errors.
15007
15008 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15009
15010 * international/quail.el (quail-insert-kbd-layout):
15011 Insert invisible LRM characters before each character in a keyboard
15012 layout cell, to prevent their reordering by bidi display engine.
15013 For details, see the discussion in
15014 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15015
15016 2012-03-08 Alan Mackenzie <acm@muc.de>
15017
15018 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15019 the starting position; make it extend the marked region when
15020 invoked repeatedly - all under appropriate circumstances.
15021 Fixes bugs #5525, #10906.
15022
15023 2012-03-08 Glenn Morris <rgm@gnu.org>
15024
15025 * files.el (locate-dominating-file, dir-locals-find-file):
15026 Undo 2012-03-06 change.
15027
15028 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15029
15030 * international/quail.el (quail-help):
15031 Force bidi-paragraph-direction be left-to-right. See discussion in
15032 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15033 for the reason.
15034
15035 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15036
15037 Avoid superfluous registering of signals. (Bug#10807)
15038
15039 * notifications.el (notifications-on-action-object)
15040 (notifications-on-close-object): New defvars.
15041 (notifications-on-action-signal, notifications-on-closed-signal):
15042 Unregister the signal if not needed any longer.
15043 (notifications-notify): Register `notifications-action-signal' or
15044 `notifications-closed-signal', if :on-action or :on-close has been
15045 passed as argument.
15046
15047 2012-03-07 Chong Yidong <cyd@gnu.org>
15048
15049 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15050 non-X platforms.
15051
15052 2012-03-06 Glenn Morris <rgm@gnu.org>
15053
15054 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15055 (x-disown-selection-internal, x-get-selection-internal):
15056 Doc fix (add arglist signatures). (Bug#10783)
15057
15058 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15059
15060 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15061 Handle breakpoints with no "type".
15062
15063 2012-03-06 Glenn Morris <rgm@gnu.org>
15064
15065 * files.el (locate-dominating-file): Add optional predicate argument.
15066 (dir-locals-find-file): Make use of above change.
15067
15068 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15069
15070 * info.el (Info-insert-dir): Also try "dir.gz".
15071
15072 2012-03-06 Glenn Morris <rgm@gnu.org>
15073
15074 * files.el (dir-locals-find-file):
15075 Ignore non-readable or non-regular files. (Bug#10928)
15076
15077 * files.el (locate-dominating-file): Doc fix.
15078
15079 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15080
15081 * calendar/calendar.el (calendar-set-mode-line):
15082 `getenv' returns a string. (Bug#10951)
15083
15084 2012-03-05 Leo Liu <sdl.web@gmail.com>
15085
15086 * simple.el (backward-delete-char-untabify): Constrain point to
15087 field (Bug#10939).
15088
15089 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15090
15091 2012-03-05 Chong Yidong <cyd@gnu.org>
15092
15093 * simple.el (count-words): If called from Lisp, return the word
15094 count, for symmetry with `count-lines'. Arglist changed.
15095 (count-words--message): Args changed. Consolidate counting code
15096 from count-words and count-words-region.
15097 (count-words-region): Caller changed.
15098 (count-lines-region): Make it an obsolete alias.
15099
15100 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15101
15102 * saveplace.el (save-place-to-alist)
15103 (save-place-ignore-files-regexp): Allow value nil to disable this
15104 feature.
15105
15106 2012-03-04 Chong Yidong <cyd@gnu.org>
15107
15108 * faces.el (face-spec-reset-face): For the default face, reset the
15109 attributes to default values (Bug#10748).
15110
15111 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15112
15113 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15114 previous patch: Check `message-send-mail-function', and not the
15115 default function (bug#10897).
15116
15117 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15118
15119 * notifications.el (notifications-on-action-signal)
15120 (notifications-on-closed-signal): Check for unique service name of
15121 incoming event. Fix error in removing entry.
15122 (top): Register for signals with wildcard service name.
15123 (notifications-notify): Use daemon unique service name for map entries.
15124
15125 2012-03-04 Chong Yidong <cyd@gnu.org>
15126
15127 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15128
15129 2012-03-04 Glenn Morris <rgm@gnu.org>
15130
15131 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15132 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15133 (expand-abbrev, define-abbrev-table): Doc fixes.
15134
15135 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15136
15137 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15138 `message-default-send-mail-function' and not `send-mail-function'
15139 when doing the prompting for `sendmail-query-once' before sending
15140 in Message buffers (bug#10897).
15141
15142 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15143 This is inconsistent with all the other stream functions, which leave
15144 the setting up to the higher levels (if so wanted) (bug#10931).
15145
15146 2012-03-02 Alan Mackenzie <acm@muc.de>
15147
15148 Depessimize the handling of very large macros.
15149
15150 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15151 (c-macro-cache-syntactic): New variables to implement a one
15152 element macro cache.
15153 (c-invalidate-macro-cache): New function.
15154 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15155 Adapt to use the new cache.
15156 (c-state-safe-place): Use better the cache of safe positions.
15157 (c-state-semi-nonlit-pos-cache)
15158 (c-state-semi-nonlit-pos-cache-limit):
15159 New variables for...
15160 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15161 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15162 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15163 Use c-state-semi-safe-place.
15164
15165 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15166 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15167
15168 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15169
15170 * jka-compr.el (jka-compr-call-process):
15171 Apply `file-accessible-directory-p' only when the default directory is
15172 not remote.
15173
15174 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15175
15176 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15177 access of FILE2, if FILE1 does not exist.
15178
15179 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15180 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15181
15182 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15183 Add "PAGER=" to `process-environment'.
15184
15185 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15186
15187 * progmodes/sql.el: Bug fix
15188 (sql-get-login-ext): Save login values in globals.
15189 (sql-get-login): Use new version of `sql-get-login-ext'.
15190 (sql-interactive-mode): Set global `sql-connection' to nil.
15191 (sql-connect): Set global values for connection.
15192 (sql-product-interactive): Save global values as buffer local.
15193
15194 2012-02-29 Leo Liu <sdl.web@gmail.com>
15195
15196 * abbrev.el (define-abbrevs): Reset sys to nil.
15197
15198 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15199
15200 * files.el (file-equal-p): Rename from `files-equal-p'.
15201 Return nil when one or both files don't exist.
15202 (file-subdir-of-p): Now only top directory must exists,
15203 return nil if it doesn't.
15204 (copy-directory): No need to test with `file-subdir-of-p' after
15205 creating dir.
15206 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15207 to `file-equal-p'.
15208
15209 2012-02-28 Glenn Morris <rgm@gnu.org>
15210
15211 * shell.el (shell-mode):
15212 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15213 * play/landmark.el (landmark-font-lock-face-O):
15214 * play/handwrite.el (handwrite):
15215 * play/gomoku.el (gomoku-O):
15216 * net/browse-url.el (browse-url-browser-display):
15217 * international/mule.el (define-charset):
15218 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15219 * filesets.el (filesets-find-file-delay):
15220 * eshell/em-xtra.el (eshell-xtra):
15221 * eshell/em-unix.el (eshell-grep):
15222 * emulation/viper.el (viper-mode):
15223 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15224 * emacs-lisp/easymenu.el (easy-menu-define):
15225 * calendar/timeclock.el (timeclock-use-display-time):
15226 * bs.el (bs-mode):
15227 * bookmark.el (bookmark-save-flag):
15228 Doc fix (standardize possessive apostrophe usage).
15229
15230 2012-02-27 Chong Yidong <cyd@gnu.org>
15231
15232 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15233 Fix key-binding lookup for ESC key (Bug#9146).
15234
15235 * font-lock.el (font-lock-specified-p): Rename from
15236 font-lock-spec-present. Callers changed.
15237
15238 2012-02-27 Daniel Hackney <dan@haxney.org>
15239
15240 * emacs-lisp/package.el (package-compute-transaction):
15241 Handle holding a package version to t in package-load-list.
15242
15243 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15244
15245 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15246 (tramp-get-inode, tramp-get-device): Use cached values.
15247
15248 2012-02-26 Alan Mackenzie <acm@muc.de>
15249
15250 Check there is a font-lock specification before doing initial
15251 fontification.
15252
15253 * font-core.el (font-lock-mode): Move the conditional from
15254 :after-hook to font-lock-initial-fontify.
15255 (font-lock-default-function): Move the check for a specification
15256 to font-lock-spec-present.
15257
15258 * font-lock.el (font-lock-initial-fontify): Call ...
15259 (font-lock-spec-present): New function.
15260
15261 2012-02-26 Jim Blandy <jimb@red-bean.com>
15262
15263 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15264 (gdb-send): Apply it to the operand of the '-interpreter-exec
15265 console' command, so that we can pass arguments with (say) quotes
15266 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15267
15268 2012-02-26 Chong Yidong <cyd@gnu.org>
15269
15270 * help-fns.el (describe-function-1): Clarify description of
15271 remapping (Bug#10844).
15272
15273 * files.el (files-equal-p): Doc fix.
15274 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15275 and quit the loop once a mismatch is found.
15276
15277 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15278
15279 * bs.el (bs--show-with-configuration): Don't throw an error
15280 if the window cannot be split; otherwise, subsequent calls to
15281 bs-show fail, restoring a stale window config. (Bug#10882)
15282
15283 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15284
15285 * term/ns-win.el (global-map): Bind ns-drag-file to
15286 ns-find-file (Bug#5855, Bug#10050).
15287
15288 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15289
15290 * calendar/parse-time.el (parse-time-string): Allow extractor to
15291 return nil.
15292
15293 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15294
15295 * net/tramp.el (tramp-file-name-for-operation):
15296 Add `files-equal-p' and `file-subdir-of-p'.
15297
15298 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15299 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15300 Add COPY-CONTENTS argument.
15301
15302 2012-02-25 Chong Yidong <cyd@gnu.org>
15303
15304 Add custom groups for VC backends, for consistency with vc-bzr.
15305
15306 * vc/vc-arch.el (vc-arch):
15307 * vc/vc-cvs.el (vc-cvs):
15308 * vc/vc-git.el (vc-git):
15309 * vc/vc-hg.el (vc-hg):
15310 * vc/vc-mtn.el (vc-mtn):
15311 * vc/vc-rcs.el (vc-rcs):
15312 * vc/vc-sccs.el (vc-sccs):
15313 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15314 All relevant defcustoms reassigned.
15315
15316 2012-02-25 Chong Yidong <cyd@gnu.org>
15317
15318 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15319
15320 * term/x-win.el (x-initialize-window-system): Reduce default for
15321 x-selection-timeout to 5 seconds (Bug#8869).
15322
15323 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15324
15325 * files.el (files-equal-p, file-subdir-of-p): New functions.
15326 (copy-directory): Error when trying to copy a directory on itself.
15327 Add missing copy-contents arg to tramp handler.
15328 * dired-aux.el (dired-copy-file-recursive): Same.
15329 (dired-create-files): Modify destination when source is equal to
15330 dest when copying files.
15331 Return also when dest is a subdir of source. (Bug#10489)
15332
15333 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15334
15335 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15336 (Bug#10874)
15337
15338 2012-02-23 Alan Mackenzie <acm@muc.de>
15339
15340 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15341 parameter "after-hook:" to allow the expansion to run code after
15342 the execution of the mode hooks.
15343
15344 * font-lock.el (font-lock-initial-fontify): New function extracted
15345 from font-lock-mode-internal.
15346
15347 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15348 :after-hook.
15349
15350 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15351
15352 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15353 (completion--cache-all-sorted-completions): New function.
15354 (completion-all-sorted-completions): Use it.
15355 (completion--do-completion, minibuffer-force-complete):
15356 Use it to re-instate the flush hook.
15357
15358 * icomplete.el (icomplete-completions): Replace last fix with a better
15359 one (bug#10850).
15360
15361 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15362
15363 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15364 when it might call us back infinitely (bug#10797).
15365
15366 2012-02-23 Glenn Morris <rgm@gnu.org>
15367
15368 * minibuffer.el (completion-category-overrides): Doc fix.
15369
15370 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15373 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15374
15375 2012-02-23 Glenn Morris <rgm@gnu.org>
15376
15377 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15378 (authors-obsolete-files-regexps, authors-ignored-files)
15379 (authors-ambiguous-files, authors-renamed-files-alist):
15380 Add more entries.
15381
15382 2012-02-23 Juri Linkov <juri@jurta.org>
15383
15384 * isearch.el (isearch-occur): Sync interactive spec with occur's
15385 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15386
15387 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15388
15389 2012-02-22 Juri Linkov <juri@jurta.org>
15390
15391 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15392 (ucs-insert): Doc fix. Check for hex digits in the string.
15393 Don't display `nil' in the error message. (Bug#10857)
15394
15395 2012-02-22 Alan Mackenzie <acm@muc.de>
15396
15397 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15398
15399 2012-02-22 Glenn Morris <rgm@gnu.org>
15400
15401 * ffap.el (ffap-c-path):
15402 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15403
15404 2012-02-22 Chong Yidong <cyd@gnu.org>
15405
15406 * custom.el (load-theme): Doc fix.
15407
15408 2012-02-22 Glenn Morris <rgm@gnu.org>
15409
15410 * dired-x.el (dired-guess-shell-alist-default):
15411 Remove escape sequences from nroff output. (Bug#172)
15412
15413 2012-02-21 Glenn Morris <rgm@gnu.org>
15414
15415 * vc/emerge.el (emerge-defvar-local):
15416 Set `permanent-local' property rather than unused `preserved'.
15417
15418 * textmodes/picture.el (picture-delete-char): New alias.
15419 (picture-mode-map): Use it. (Bug#10860)
15420 (picture-mode): Doc fix.
15421
15422 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15423
15424 * newcomment.el (uncomment-region-default): Remove unused binding.
15425
15426 2012-02-21 Glenn Morris <rgm@gnu.org>
15427
15428 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15429 (picture-self-insert, picture-tab-chars): Doc fix.
15430 (picture-mode-map): Fix C-a, C-e.
15431
15432 2012-02-20 Glenn Morris <rgm@gnu.org>
15433
15434 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15435
15436 2012-02-20 Leo Liu <sdl.web@gmail.com>
15437
15438 * icomplete.el (icomplete-completions): Check FROM arg before
15439 passing to substring (Bug#10850).
15440
15441 2012-02-19 Chong Yidong <cyd@gnu.org>
15442
15443 * comint.el: Require ansi-color.
15444 (comint-output-filter-functions): Add ansi-color-process-output.
15445
15446 * ansi-color.el: Don't set comint-output-filter-functions; it is
15447 now in the initial value defined in comint.el.
15448 (ansi-color-apply-face-function): New variable.
15449 (ansi-color-apply-on-region): Use it.
15450 (ansi-color-apply-overlay-face): New function.
15451
15452 * shell.el (shell): No need to require ansi-color.
15453 (shell-mode): Use ansi-color-apply-face-function to highlight
15454 color escapes using font-lock-face property (Bug#10835).
15455
15456 2012-02-19 Chong Yidong <cyd@gnu.org>
15457
15458 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15459 mode-line formats (Bug#10839).
15460
15461 2012-02-18 Glenn Morris <rgm@gnu.org>
15462
15463 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15464
15465 * mail/undigest.el (unforward-rmail-message): Doc fix.
15466
15467 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15468
15469 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15470
15471 * international/characters.el (script-list): Sync with the latest
15472 Unicode Character Database.
15473
15474 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15475
15476 * international/titdic-cnv.el: Remove duplicate coding tag.
15477 * language/cham.el: Likewise.
15478 * language/tai-viet.el: Likewise.
15479
15480 2012-02-18 Glenn Morris <rgm@gnu.org>
15481
15482 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15483 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15484 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15485 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15486 * calendar/holidays.el (holiday-bahai-holidays)
15487 (calendar-holidays, list-holidays):
15488 Use utf-8 Bahá'í in doc-strings, menus, etc.
15489
15490 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15491
15492 * saveplace.el (save-place-ignore-files-regexp): New variable
15493 allowing for excluding files from saving their location of point.
15494 The default value matches the temporary commit message editing
15495 files from Git, SVN, Bazaar, and Mercurial.
15496 (save-place-to-alist): Use it.
15497
15498 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15499 Stefan Monnier <monnier@iro.umontreal.ca>
15500
15501 * newcomment.el (uncomment-region-default): Don't leave extra space
15502 when an arg is provided (bug#8150).
15503
15504 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15505
15506 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15507
15508 2012-02-17 Glenn Morris <rgm@gnu.org>
15509
15510 * net/socks.el: Require network-stream. (Bug#10599)
15511
15512 2012-02-17 Kenichi Handa <handa@m17n.org>
15513
15514 * international/charprop.el:
15515 * international/uni-name.el:
15516 * international/uni-old-name.el:
15517 * international/uni-comment.el: Regenerate.
15518
15519 2012-02-16 Glenn Morris <rgm@gnu.org>
15520
15521 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15522 Interactively in calendar buffer, give an error if not on a date.
15523
15524 2012-02-15 Glenn Morris <rgm@gnu.org>
15525
15526 * shell.el (shell-delimiter-argument-list):
15527 Revert 2011-02-17 change. (Bug#8027)
15528
15529 2012-02-15 Chong Yidong <cyd@gnu.org>
15530
15531 * minibuffer.el (completion-at-point-functions): Doc fix.
15532
15533 * custom.el (defcustom): Doc fix; note use of defvar.
15534
15535 2012-02-15 Glenn Morris <rgm@gnu.org>
15536
15537 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15538 Doc fixes.
15539
15540 2012-02-14 Glenn Morris <rgm@gnu.org>
15541
15542 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15543
15544 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15545
15546 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15547 way the ports list is computed.
15548 (smtpmail-query-smtp-server): Prompt the user for a port number if
15549 we can't connect to any of the standard ports (bug#10810).
15550
15551 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15552
15553 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15554
15555 2012-02-13 Glenn Morris <rgm@gnu.org>
15556
15557 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15558
15559 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15560
15561 * net/gnutls.el (gnutls-trustfiles): New variable.
15562 (gnutls-negotiate): Use it.
15563
15564 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15565
15566 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15567 does its stuff if Gnus is running.
15568
15569 2012-02-13 Alan Mackenzie <acm@muc.de>
15570
15571 Fix a loop in c-set-fl-decl-start.
15572
15573 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15574 c-backward-syntactic-ws actually moves backwards.
15575
15576 2012-02-13 Leo Liu <sdl.web@gmail.com>
15577
15578 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15579 beginning so that all \C-o chars are removed.
15580
15581 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15582
15583 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15584
15585 2012-02-12 Alan Mackenzie <acm@muc.de>
15586
15587 Fix infinite loop with long macros.
15588 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15589
15590 2012-02-12 Chong Yidong <cyd@gnu.org>
15591
15592 * window.el (display-buffer): Doc fix (Bug#10785).
15593
15594 2012-02-12 Glenn Morris <rgm@gnu.org>
15595
15596 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15597 (x-disown-selection-internal, x-get-selection-internal):
15598 Sync docs with the xselect.c versions.
15599
15600 * allout-widgets.el: Add missing license notice.
15601
15602 2012-02-11 Glenn Morris <rgm@gnu.org>
15603
15604 * select.el (x-get-selection-internal, x-own-selection-internal)
15605 (x-disown-selection-internal):
15606 * x-dnd.el (x-get-selection-internal): Update declarations.
15607
15608 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15609
15610 * window.el (window-sides-slots):
15611 * tool-bar.el (tool-bar-position):
15612 * term/xterm.el (xterm-extra-capabilities):
15613 * ses.el (ses-self-reference-early-detection):
15614 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15615 (verilog-auto-wire-type)
15616 (verilog-auto-delete-trailing-whitespace)
15617 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15618 (verilog-auto-tieoff-declaration):
15619 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15620 (sql-oracle-statement-starters, sql-oracle-scan-on):
15621 * progmodes/prolog.el (prolog-align-comments-flag)
15622 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15623 (prolog-left-indent-regexp, prolog-paren-indent-p)
15624 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15625 (prolog-types, prolog-mode-specificators)
15626 (prolog-determinism-specificators, prolog-directives)
15627 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15628 (prolog-electric-dot-flag)
15629 (prolog-electric-dot-full-predicate-template)
15630 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15631 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15632 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15633 (prolog-program-switches, prolog-prompt-regexp)
15634 (prolog-debug-on-string, prolog-debug-off-string)
15635 (prolog-trace-on-string, prolog-trace-off-string)
15636 (prolog-zip-on-string, prolog-zip-off-string)
15637 (prolog-use-standard-consult-compile-method-flag)
15638 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15639 (prolog-imenu-max-lines, prolog-info-predicate-index)
15640 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15641 (prolog-char-quote-workaround):
15642 * progmodes/cc-vars.el (c-defun-tactic):
15643 * net/tramp.el (tramp-encoding-command-interactive)
15644 (tramp-local-end-of-line):
15645 * net/soap-client.el (soap-client):
15646 * net/netrc.el (netrc-file):
15647 * net/gnutls.el (gnutls):
15648 * minibuffer.el (completion-category-overrides)
15649 (completion-cycle-threshold)
15650 (completion-pcm-complete-word-inserts-delimiters):
15651 * man.el (Man-name-local-regexp):
15652 * mail/feedmail.el (feedmail-display-full-frame):
15653 * international/characters.el (glyphless-char-display-control):
15654 * eshell/em-ls.el (eshell-ls-date-format):
15655 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15656 (lisp-lambda-list-keyword-parameter-indentation)
15657 (lisp-lambda-list-keyword-parameter-alignment):
15658 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15659 * dired-x.el (dired-omit-verbose):
15660 * cus-theme.el (custom-theme-allow-multiple-selections):
15661 * calc/calc.el (calc-highlight-selections-with-faces)
15662 (calc-lu-field-reference, calc-lu-power-reference)
15663 (calc-note-threshold):
15664 * battery.el (battery-mode-line-limit):
15665 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15666 (archive-7z-update):
15667 * allout.el (allout-prefixed-keybindings)
15668 (allout-unprefixed-keybindings)
15669 (allout-inhibit-auto-fill-on-headline)
15670 (allout-flattened-numbering-abbreviation):
15671 * allout-widgets.el (allout-widgets-auto-activation)
15672 (allout-widgets-icons-dark-subdir)
15673 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15674 (allout-widgets-theme-dark-background)
15675 (allout-widgets-theme-light-background)
15676 (allout-widgets-item-image-properties-emacs)
15677 (allout-widgets-item-image-properties-xemacs)
15678 (allout-widgets-run-unit-tests-on-load)
15679 (allout-widgets-time-decoration-activity)
15680 (allout-widgets-hook-error-post-time)
15681 (allout-widgets-track-decoration):
15682 Add missing :version tags to new defcustoms and defgroups.
15683
15684 * progmodes/sql.el (sql-ansi-statement-starters)
15685 (sql-oracle-statement-starters): Add custom type.
15686
15687 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15688 (prolog-system-version): Give it a type.
15689
15690 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15691
15692 * term/pc-win.el (x-select-text, x-selection-owner-p)
15693 (x-own-selection-internal, x-disown-selection-internal)
15694 (x-get-selection-internal): Sync doc strings and argument lists
15695 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15696
15697 2012-02-11 Leo Liu <sdl.web@gmail.com>
15698
15699 * progmodes/python.el (python-end-of-statement): Fix infinite
15700 loop. (Bug#10788)
15701
15702 2012-02-10 Glenn Morris <rgm@gnu.org>
15703
15704 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15705 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15706
15707 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15708
15709 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15710 about SMTP before checking the From header.
15711
15712 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15713 into own function for reuse by emacsbug.el.
15714
15715 2012-02-10 Leo Liu <sdl.web@gmail.com>
15716
15717 * subr.el (condition-case-unless-debug): Rename from
15718 condition-case-no-debug. All callers changed.
15719 (with-demoted-errors): Fix caller.
15720
15721 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15722 * nxml/rng-valid.el (rng-do-some-validation):
15723 * emacs-lisp/package.el (package-refresh-contents)
15724 (package-menu-execute):
15725 * desktop.el (desktop-create-buffer):
15726 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15727
15728 2012-02-10 Glenn Morris <rgm@gnu.org>
15729
15730 * textmodes/bibtex.el:
15731 Add missing :version tags for new/changed defcustoms.
15732
15733 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15734
15735 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15736
15737 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15738 (smtpmail-via-smtp): Use it, or fall back on the From address.
15739 (smtpmail-send-it): Ditto.
15740
15741 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15742
15743 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15744 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15745 (byte-compile-tmp-var): New const.
15746 (byte-compile-defvar): Use it to minimize .elc size.
15747 Just use `defvar' rather than simulate it (bug#10761).
15748
15749 2012-02-09 Glenn Morris <rgm@gnu.org>
15750
15751 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15752
15753 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15754 Add :version tags.
15755
15756 * progmodes/compile.el (compilation-error-screen-columns)
15757 (compilation-first-column, compilation-filter-start): Doc fixes.
15758
15759 * vc/log-view.el (log-view-toggle-entry-display):
15760 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15761
15762 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15763 (report-emacs-bug-can-use-xdg-email):
15764 (report-emacs-bug-insert-to-mailer): Doc fixes.
15765 (report-emacs-bug): Message fix.
15766
15767 * net/browse-url.el (browse-url-can-use-xdg-open)
15768 (browse-url-xdg-open): Doc fixes.
15769
15770 * electric.el (electric-indent-mode, electric-pair-mode)
15771 (electric-layout-rules, electric-layout-mode): Doc fixes.
15772 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15773
15774 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15775
15776 * server.el (server-unselect-display): Don't inadvertently kill
15777 the current buffer. (Bug#10729)
15778
15779 2012-02-08 Glenn Morris <rgm@gnu.org>
15780
15781 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15782 (sql-list-table): Doc fixes.
15783
15784 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15785 Comment out (does nothing).
15786
15787 * completion.el (dynamic-completion-mode):
15788 * dirtrack.el (dirtrack-debug-mode):
15789 * electric.el (electric-layout-mode):
15790 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15791 * face-remap.el (text-scale-mode, buffer-face-mode):
15792 * iimage.el (iimage-mode):
15793 * image-mode.el (image-transform-mode):
15794 * minibuffer.el (completion-in-region-mode):
15795 * scroll-lock.el (scroll-lock-mode):
15796 * simple.el (next-error-follow-minor-mode):
15797 * tar-mode.el (tar-subfile-mode):
15798 * tooltip.el (tooltip-mode):
15799 * vcursor.el (vcursor-use-vcursor-map):
15800 * wid-browse.el (widget-minor-mode):
15801 * emulation/tpu-edt.el (tpu-edt-mode):
15802 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15803 * international/iso-ascii.el (iso-ascii-mode):
15804 * language/thai-util.el (thai-word-mode):
15805 * mail/supercite.el (sc-minor-mode):
15806 * net/goto-addr.el (goto-address-mode):
15807 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15808 * progmodes/cwarn.el (cwarn-mode):
15809 * progmodes/flymake.el (flymake-mode):
15810 * progmodes/glasses.el (glasses-mode):
15811 * progmodes/hideshow.el (hs-minor-mode):
15812 * progmodes/pascal.el (pascal-outline-mode):
15813 * textmodes/enriched.el (enriched-mode):
15814 * vc/smerge-mode.el (smerge-mode):
15815 Doc fixes (minor mode argument).
15816
15817 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15818
15819 * ls-lisp.el (ls-lisp-sanitize): New function.
15820 (ls-lisp-insert-directory): Use it to fix or remove any elements
15821 in file-alist with missing attributes. (Bug#4673)
15822
15823 2012-02-07 Alan Mackenzie <acm@muc.de>
15824
15825 Fix spurious recognition of c-in-knr-argdecl.
15826
15827 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15828 putative K&R region.
15829
15830 2012-02-07 Alan Mackenzie <acm@muc.de>
15831
15832 * progmodes/cc-engine.el (c-forward-objc-directive):
15833 Prevent looping in "#pragma mark @implementation".
15834
15835 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15836
15837 * notifications.el (notifications-on-closed-signal): Make `reason'
15838 optional. (Bug#10744)
15839
15840 2012-02-07 Glenn Morris <rgm@gnu.org>
15841
15842 * emacs-lisp/easy-mmode.el (define-minor-mode):
15843 Doc fixes for the macro and the mode it defines.
15844
15845 * image.el (imagemagick-types-inhibit): Doc fix.
15846
15847 * cus-start.el (imagemagick-render-type): Add it.
15848
15849 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15850
15851 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15852 Set the default at load time, too, so that `font-lock-fontify-buffer'
15853 can be called without setting up the entire mode first. This fixes
15854 a bug in `mm-inline-text' with C MIME parts.
15855
15856 2012-02-06 Chong Yidong <cyd@gnu.org>
15857
15858 * simple.el (list-processes--refresh): Delete exited processes
15859 (Bug#8094).
15860
15861 * comint.el (comint-next-prompt): next-single-char-property-change
15862 and prev-single-char-property-change never return nil (Bug#8657).
15863
15864 * custom.el (defcustom): Doc fix (Bug#9711).
15865
15866 2012-02-05 Chong Yidong <cyd@gnu.org>
15867
15868 * cus-edit.el (custom-variable-reset-backup): Quote the value
15869 before storing it in the customized-value property (Bug#6712).
15870 (custom-display): Add a customization type tag.
15871 (custom-buffer-create-internal): Improve tooltip message.
15872
15873 * wid-edit.el (widget-field-value-get): New optional arg to
15874 suppress trailing whitespace truncation.
15875 (character): Use it (Bug#2689).
15876
15877 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15878
15879 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15880 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15881
15882 2012-02-05 Chong Yidong <cyd@gnu.org>
15883
15884 * cus-edit.el (custom-variable-value-create): For mismatched
15885 types, show the current value (Bug#7600).
15886
15887 * custom.el (defcustom): Doc fix.
15888
15889 2012-02-05 Glenn Morris <rgm@gnu.org>
15890
15891 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15892
15893 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15894
15895 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15896 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15897 (pp-last-sexp): Use `looking-at-p'.
15898
15899 2012-02-04 Glenn Morris <rgm@gnu.org>
15900
15901 * files.el (revert-buffer):
15902 Doc fix (mention revert-buffer-in-progress-p).
15903
15904 * emacs-lisp/ert-x.el (ert-simulate-command):
15905 Check deferred-action-list (which is obsolete) is bound.
15906
15907 * subr.el (with-wrapper-hook): Doc fixes.
15908
15909 * simple.el (filter-buffer-substring-functions)
15910 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15911
15912 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15913
15914 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15915 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15916
15917 2012-02-04 Leo Liu <sdl.web@gmail.com>
15918
15919 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15920
15921 2012-02-04 Glenn Morris <rgm@gnu.org>
15922
15923 * image.el (image-extension-data): Add obsolete alias.
15924
15925 * isearch.el (isearch-update): Doc fix.
15926
15927 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15928
15929 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15930
15931 2012-02-03 Glenn Morris <rgm@gnu.org>
15932
15933 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15934 (image-animate-timeout): Doc fix.
15935
15936 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15937
15938 2012-02-02 Glenn Morris <rgm@gnu.org>
15939
15940 * server.el (server-auth-dir): Doc fix.
15941 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15942
15943 * subr.el (run-mode-hooks): Doc fix.
15944
15945 2012-02-02 Juri Linkov <juri@jurta.org>
15946
15947 * image-mode.el (image-toggle-display-image): Remove tautological
15948 `major-mode' from the `derived-mode-p' test.
15949
15950 2012-02-02 Kenichi Handa <handa@m17n.org>
15951
15952 * composite.el (compose-region): Cancel previous change.
15953
15954 2012-02-02 Kenichi Handa <handa@m17n.org>
15955
15956 * composite.el (compose-region, compose-string): Signal error for
15957 a null string component (Bug#6988).
15958
15959 2012-02-01 Chong Yidong <cyd@gnu.org>
15960
15961 * view.el (view-buffer-other-window, view-buffer-other-frame):
15962 Handle special modes like view-buffer (Bug#10650).
15963 (view-buffer): Simplify.
15964
15965 * frame.el (set-frame-font): Tweak meaning of third argument.
15966
15967 * dynamic-setting.el (font-setting-change-default-font):
15968 Use set-frame-font (Bug#9982).
15969
15970 2012-02-01 Glenn Morris <rgm@gnu.org>
15971
15972 * progmodes/compile.el (compilation-internal-error-properties):
15973 Respect compilation-first-column in the "*compilation*" buffer.
15974
15975 * emacs-lisp/easy-mmode.el (define-minor-mode):
15976 Relax :variable's test for a named function.
15977
15978 2012-01-31 Alan Mackenzie <acm@muc.de>
15979
15980 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15981 off by one error.
15982
15983 2012-01-31 Chong Yidong <cyd@gnu.org>
15984
15985 * frame.el (set-frame-font): New arg ALL-FRAMES.
15986
15987 * menu-bar.el (menu-set-font): Use set-frame-font.
15988
15989 * faces.el (face-spec-reset-face): Don't apply unspecified
15990 attribute values to the default face.
15991
15992 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15993
15994 * progmodes/cwarn.el (cwarn): Remove dead link.
15995 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15996 Remove * from defcustom docstrings.
15997 (turn-on-cwarn-mode): Make obsolete.
15998 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15999 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16000
16001 2012-01-31 Glenn Morris <rgm@gnu.org>
16002
16003 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16004 Fix :variable handling of mode a symbol not equal to modefun.
16005 Allow named functions to be used as the cdr of :variable.
16006
16007 2012-01-30 Glenn Morris <rgm@gnu.org>
16008
16009 * emacs-lisp/authors.el (authors-fixed-entries):
16010 Remove reference to deleted file rnewspost.el.
16011
16012 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16013
16014 * window.el (window-with-parameter): Remove unused variable `windows'.
16015 (window--side-check): Remove unused variable `code'.
16016 (window--resize-siblings): Remove unused variable `first'.
16017 (adjust-window-trailing-edge): Remove unused variable `failed'.
16018 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16019 Use `let', not `let*'.
16020 (balance-windows-2): Remove unused variable `found'.
16021 (window--state-put-2): Remove unused variable `splits'.
16022 (window-state-put): Remove unused variable `selected'.
16023 (same-window-p): Use `string-match-p'.
16024 (display-buffer-assq-regexp): Remove unused variable `value'.
16025 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16026 Mark argument ALIST as ignored.
16027 (pop-to-buffer): Remove unused variable `old-window'.
16028
16029 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16030
16031 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16032 and .lzma compressed files.
16033
16034 2012-01-29 Chong Yidong <cyd@gnu.org>
16035
16036 * frame.el (window-system-default-frame-alist): Doc fix.
16037
16038 * dynamic-setting.el (font-setting-change-default-font): Don't
16039 change the default face if SET-FONT argument is non-nil (Bug#9982).
16040
16041 2012-01-29 Samuel Bronson <naesten@gmail.com>
16042
16043 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16044
16045 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16046
16047 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16048 breakpoints in files outside current directory (Bug#6098).
16049
16050 2012-01-29 Chong Yidong <cyd@gnu.org>
16051
16052 * progmodes/python.el: Require ansi-color at top-level.
16053
16054 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16055 Define and use in Emacs Lisp mode (Bug#9360).
16056 (lisp-mode-abbrev-table): Add doc.
16057 (lisp-mode-variables): Don't set local-abbrev-table.
16058 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16059
16060 2012-01-28 Roland Winkler <winkler@gnu.org>
16061
16062 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16063
16064 2012-01-28 Roland Winkler <winkler@gnu.org>
16065
16066 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16067 (bibtex-set-dialect): Use it. Either set global values of
16068 dialect-dependent variables or bind these variables buffer-locally
16069 (Bug#10254).
16070 (bibtex-mode): Call bibtex-set-dialect via
16071 hack-local-variables-hook.
16072 (bibtex-dialect): Update docstring.
16073 Add safe-local-variable predicate.
16074 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16075 bibtex-set-dialect.
16076 (bibtex-mode-map): Define menu for each dialect.
16077 (bibtex-entry): Fix docstring.
16078
16079 2012-01-28 Chong Yidong <cyd@gnu.org>
16080
16081 * eshell/esh-arg.el (eshell-quote-argument): New function.
16082
16083 * eshell/esh-ext.el (eshell-invoke-batch-file):
16084 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16085 first arg to eshell-parse-command (Bug#10523).
16086
16087 2012-01-28 Drew Adams <drew.adams@oracle.com>
16088
16089 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16090 `default-directory' is non-nil.
16091
16092 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16093
16094 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16095 line that displays system-configuration-options. (Bug#9924)
16096
16097 2012-01-28 Drew Adams <drew.adams@oracle.com>
16098
16099 * descr-text.el (describe-char): Show information about POS, in
16100 addition to information about the character at POS. Improve and
16101 update the doc string. Change "code point" to "code point in
16102 charset", to avoid confusion with the character's Unicode code
16103 point shown above that. (Bug#10129)
16104
16105 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16106
16107 * descr-text.el (describe-char): Show the raw character, not only
16108 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16109 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16110 for the reasons.
16111
16112 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16113
16114 * emacs-lisp/package.el (package-install):
16115 Run package-refresh-contents if there is no archive yet (Bug#9798).
16116
16117 2012-01-28 Chong Yidong <cyd@gnu.org>
16118
16119 * emacs-lisp/package.el (package-maybe-load-descriptor):
16120 New function, split from package-maybe-load-descriptor.
16121 (package-maybe-load-descriptor): Use it.
16122 (package-download-transaction): Fully load required packages
16123 inside the loop, so that `require' calls work (Bug#10593).
16124 (package-install): No need to call package-initialize now.
16125
16126 2012-01-28 Chong Yidong <cyd@gnu.org>
16127
16128 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16129
16130 * tooltip.el (tooltip-mode): Doc fix.
16131 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16132
16133 * frame.el (set-cursor-color): Doc fix (Bug#352).
16134
16135 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16136 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16137
16138 * cus-edit.el (custom-buffer-create-internal): Fix search button
16139 action (Bug#10542).
16140 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16141
16142 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16143
16144 * dired.el (dired-mark-files-regexp):
16145 Include any subdirectory components. (Bug#10445)
16146
16147 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16148
16149 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16150 Handle [host]:port syntax. (Bug#10533)
16151
16152 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16153
16154 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16155
16156 2012-01-26 Glenn Morris <rgm@gnu.org>
16157
16158 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16159 * term.el (term-raw-escape-map): Use Control-X-prefix.
16160 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16161
16162 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16163
16164 * window.el (window-state-get, window--state-get-1): Don't deal
16165 with fixed-sizeness of windows. Simplify code.
16166
16167 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16168
16169 * window.el (window--state-get-1, window--state-put-2):
16170 Don't save and restore the mark.
16171
16172 2012-01-25 Chong Yidong <cyd@gnu.org>
16173
16174 * custom.el (custom-variable-p): Doc fix.
16175
16176 2012-01-25 Glenn Morris <rgm@gnu.org>
16177
16178 * dired.el (dired-goto-file): Handle some of the more common
16179 characters that `ls -b' escapes. (Bug#10596)
16180
16181 * progmodes/compile.el (compilation-next-error-function):
16182 Respect compilation-first-column in the "*compilation*" buffer.
16183 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16184
16185 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16186
16187 2012-01-24 Glenn Morris <rgm@gnu.org>
16188
16189 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16190
16191 2012-01-24 Julien Danjou <julien@danjou.info>
16192
16193 * color.el (color-rgb-to-hsl): Fix value computing.
16194 (color-hue-to-rgb): New function.
16195 (color-hsl-to-rgb): New function.
16196 (color-clamp, color-saturate-hsl, color-saturate-name)
16197 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16198 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16199
16200 2012-01-24 Glenn Morris <rgm@gnu.org>
16201
16202 * vc/vc-rcs.el (vc-rcs-create-tag):
16203 * vc/vc-sccs.el (vc-sccs-create-tag):
16204 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16205
16206 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16207
16208 * eshell/esh-util.el (eshell-read-hosts-file):
16209 Skip comment lines. (Bug#10549)
16210
16211 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16212
16213 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16214
16215 * subr.el (display-delayed-warnings): Doc fix.
16216 (collapse-delayed-warnings): New function to collapse identical
16217 adjacent warnings.
16218 (delayed-warnings-hook): Add it.
16219
16220 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16221
16222 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16223
16224 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16225 (tramp-default-user-alist): Don't add "pscp".
16226 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16227 property "login-as", if set. (Bug#10530)
16228
16229 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16230
16231 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16232 "plink1" and "psftp". (Bug#10530)
16233
16234 2012-01-21 Kenichi Handa <handa@m17n.org>
16235
16236 * international/mule-cmds.el (prefer-coding-system): Show a
16237 warning message if the default value of file-name-coding-system
16238 was not changed.
16239
16240 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16241
16242 * windmove.el (windmove-reference-loc):
16243 Fix windmove-reference-loc miscalculation.
16244
16245 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16246
16247 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16248 default unit.
16249
16250 2012-01-21 Glenn Morris <rgm@gnu.org>
16251
16252 * international/mule.el (auto-coding-alist): Add .tbz.
16253
16254 * files.el (local-enable-local-variables): Doc fix.
16255 (inhibit-local-variables-regexps): Rename from
16256 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16257 Doc fix. Add some extensions from auto-coding-alist.
16258 (inhibit-local-variables-suffixes):
16259 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16260 (inhibit-local-variables-p):
16261 New function, extracted from set-auto-mode-1.
16262 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16263 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16264 (hack-local-variables): Doc fix. Make the mode-only case
16265 respect enable-local-variables and friends.
16266 Respect inhibit-local-variables-regexps for file-locals, but
16267 not for directory-locals.
16268 (set-visited-file-name):
16269 Take account of inhibit-local-variables-regexps.
16270 Whether it applies may change as the file name is changed.
16271 * jka-cmpr-hook.el (jka-compr-install):
16272 * jka-compr.el (jka-compr-uninstall):
16273 Update for inhibit-first-line-modes-suffixes name change.
16274
16275 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16276
16277 * help-macro.el (make-help-screen): Temporarily restore original
16278 binding for minor-mode-map-alist (Bug#10454).
16279
16280 2012-01-19 Julien Danjou <julien@danjou.info>
16281
16282 * color.el (color-name-to-rgb): Use the white color to find the max
16283 color component value and return correctly computed values.
16284 (color-name-to-rgb): Add missing float conversion for max value.
16285
16286 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16287
16288 * window.el (window--state-get-1, window-state-get): Do not use
16289 special state value for window-persistent-parameters.
16290 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16291 (window--state-put-2): Reset all window parameters to nil before
16292 assigning values of persistent parameters.
16293
16294 2012-01-18 Alan Mackenzie <acm@muc.de>
16295
16296 Eliminate sluggishness and hangs in fontification of "semicolon
16297 deserts".
16298
16299 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16300 Change value 10000 -> 3000.
16301 (c-state-safe-place): Reformulate so it doesn't stack up an
16302 infinite number of wrong entries in c-state-nonlit-pos-cache.
16303 (c-determine-limit-get-base, c-determine-limit): New functions to
16304 determine backward search limits disregarding literals.
16305 (c-find-decl-spots): Amend commenting.
16306 (c-cheap-inside-bracelist-p): New function which detects "={".
16307
16308 * progmodes/cc-fonts.el
16309 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16310 backward search.
16311 (c-font-lock-declarations): Fix an occurrence of point being
16312 undefined. Check additionally for point being in a bracelist or
16313 near a macro invocation without a semicolon so as to avoid a
16314 fruitless time consuming search for a declarator. Give a more
16315 precise search limit for declarators using the new
16316 c-determine-limit.
16317
16318 2012-01-18 Glenn Morris <rgm@gnu.org>
16319
16320 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16321 (set-auto-mode): Doc fixes.
16322
16323 2012-01-17 Glenn Morris <rgm@gnu.org>
16324
16325 * isearch.el (search-nonincremental-instead): Fix doc typo.
16326
16327 * dired.el (dired-insert-directory): Handle newlines in directory name.
16328 (dired-build-subdir-alist): Unescape newlines in directory name.
16329
16330 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16331
16332 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16333 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16334 (tramp-action-terminal): Use it. (Bug#10530)
16335
16336 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16337
16338 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16339
16340 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16341
16342 * window.el (window-state-ignored-parameters): Remove variable.
16343 (window--state-get-1): Rename argument MARKERS to IGNORE.
16344 Handle persistent window parameters. Make copy of clone-of
16345 parameter only if requested. (Bug#10348)
16346 (window--state-put-2): Install a window parameter only if it has
16347 a non-nil value or an existing parameter shall be overwritten.
16348
16349 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16350
16351 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16352
16353 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16354
16355 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16356 don't pass the (nil) value of `upnode' to string-match.
16357
16358 2012-01-14 Chong Yidong <cyd@gnu.org>
16359
16360 * startup.el (command-line): Fix X resource class for cursorColor.
16361 Fix values recognized by the cursorBlink resource.
16362
16363 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16364
16365 * epg.el (epg--make-temp-file): Avoid permission race condition
16366 when running on old Emacs versions (bug#10403).
16367
16368 2012-01-14 Glenn Morris <rgm@gnu.org>
16369
16370 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16371
16372 2012-01-13 Alan Mackenzie <acm@muc.de>
16373
16374 Fix filling for when filladapt mode is enabled.
16375
16376 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16377 c-mask-paragraph, pass in `fill-paragraph' rather than
16378 `fill-region-as-paragraph'. (This is a reversion of a previous
16379 change.)
16380 * progmodes/cc-mode.el (c-basic-common-init):
16381 Make fill-paragraph-handle-comment buffer local and set it to nil.
16382
16383 2012-01-13 Glenn Morris <rgm@gnu.org>
16384
16385 * dired.el (dired-switches-escape-p): New function.
16386 (dired-insert-directory): Use dired-switches-escape-p.
16387 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16388
16389 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16390
16391 2012-01-12 Glenn Morris <rgm@gnu.org>
16392
16393 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16394 changes in adaptive-fill-regexp. (Bug#10276)
16395
16396 2012-01-11 Alan Mackenzie <acm@muc.de>
16397
16398 Fix Emacs bug #10463 - put `widen's around the critical spots.
16399
16400 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16401 widen around each invocation of c-state-pp-to-literal. Remove an
16402 unused let variable.
16403
16404 2012-01-11 Glenn Morris <rgm@gnu.org>
16405
16406 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16407 Doc fix.
16408
16409 2012-01-10 Chong Yidong <cyd@gnu.org>
16410
16411 * net/network-stream.el (network-stream-open-starttls):
16412 Avoid emitting a confusing error message when the server gives a bad
16413 response to the capability command.
16414
16415 2012-01-10 Glenn Morris <rgm@gnu.org>
16416
16417 * mail/unrmail.el (unrmail): Tweak previous change.
16418
16419 2012-01-09 Chong Yidong <cyd@gnu.org>
16420
16421 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16422
16423 2012-01-08 Alan Mackenzie <acm@muc.de>
16424
16425 Optimize font locking in long enum definitions.
16426
16427 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16428 arm to a cond form to handle enums.
16429 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16430 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16431
16432 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16433
16434 * files.el (move-file-to-trash): Preserve default file modes on error.
16435 (Bug#10401)
16436
16437 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
16439 * faces.el (set-face-attribute): Clarify the meaning of the nil
16440 frame (bug#10294).
16441
16442 * subr.el (with-selected-frame): Mention that the selected frame
16443 is restored (bug#9980).
16444
16445 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16446 (bug#9759).
16447
16448 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16449 (password-read): Don't autoload unused function.
16450
16451 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16452
16453 * progmodes/which-func.el (which-func-mode): Turn into a
16454 non-interactive function and mark as obsolete (bug#10428).
16455
16456 2012-01-06 Chong Yidong <cyd@gnu.org>
16457
16458 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16459 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16460 functions, along with 1 and -1.
16461
16462 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16463
16464 * time.el (display-time-load-average)
16465 (display-time-default-load-average): Doc fixes. See the thread
16466 starting at
16467 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16468 for the details.
16469
16470 2012-01-06 Glenn Morris <rgm@gnu.org>
16471
16472 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16473 has no messages. (Bug#10377)
16474
16475 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16476 than Info-edit. (Bug#10385)
16477
16478 * time.el (display-time-load-average, display-time-next-load-average):
16479 Doc fixes.
16480
16481 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16482 local setting of buffer-read-only to the input buffer. (Bug#10419)
16483
16484 * calendar/calendar.el (calendar-mode):
16485 Locally set scroll-margin to 0. (Bug#10379)
16486
16487 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16488
16489 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16490
16491 2012-01-05 Glenn Morris <rgm@gnu.org>
16492
16493 * eshell/em-unix.el (diff-no-select): Autoload it.
16494 (eshell/diff): Use diff-no-select. (Bug#10420)
16495
16496 2012-01-05 Chong Yidong <cyd@gnu.org>
16497
16498 * shell.el (shell-dynamic-complete-functions): Revert last change.
16499 (shell-command-completion-function): New function.
16500 (shell-completion-vars): Use it to implement
16501 shell-completion-execonly (Bug#10417).
16502
16503 * custom.el (enable-theme): Don't set custom-safe-themes.
16504
16505 * cus-theme.el (custom-theme-merge-theme):
16506 Ignore custom-enabled-themes and custom-safe-themes.
16507
16508 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16509
16510 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16511 first prompt in `sql-interacive-mode'.
16512 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16513 keywords.
16514 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16515 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16516 context of original buffer. Invoke `sql-login-hook'.
16517
16518 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16519
16520 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16521 letters in cite-prefix.
16522
16523 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16524
16525 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16526
16527 2012-01-03 Chong Yidong <cyd@gnu.org>
16528
16529 * shell.el (shell-dynamic-complete-functions):
16530 Put pcomplete-completions-at-point, so as to try
16531 comint-filename-completion first (Bug#10417).
16532
16533 2012-01-02 Richard Stallman <rms@gnu.org>
16534
16535 * battery.el (battery-status-function):
16536 Detect when to use battery-yeeloong-sysfs.
16537 (battery-echo-area-format): Add string for Yeeloong.
16538 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16539 (battery-yeeloong-sysfs): New function.
16540
16541 2012-01-02 Chong Yidong <cyd@gnu.org>
16542
16543 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16544 (dirtrack): Merge code for handling relative filenames in prompt
16545 from shell-dir-cookie-watcher.
16546 (dirtrack-debug-message): New arg to avoid excess format calls.
16547
16548 * shell.el (shell-dir-cookie-re): Variable deleted.
16549 (shell-dir-cookie-watcher): Function deleted.
16550 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16551 with dirtrack-mode.
16552
16553 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16554
16555 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16556 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16557 libgnutls-26.dll.
16558
16559 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16560
16561 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16562
16563 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16564
16565 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16566 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16567
16568 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16569
16570 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16571 also for alternative shells.
16572 (tramp-open-connection-setup-interactive-shell): Check, whether
16573 the shell is a busybox.
16574 (tramp-send-command): Don't suppress multiple prompts for
16575 busyboxes, it hurts.
16576
16577 2011-12-28 Chong Yidong <cyd@gnu.org>
16578
16579 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16580 (gdb-get-source-file): Move mode line update to
16581 gdb-get-source-file (Bug#10087).
16582
16583 2011-12-25 Chong Yidong <cyd@gnu.org>
16584
16585 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16586 gud-gdb-marker-filter without taking it as an argument.
16587 (gud-gdb-run-command-fetch-lines): Caller changed.
16588 (gud-gdb-completion-function): New variable.
16589 (gud-gdb-completion-at-point): Use it.
16590 (gud-gdb-completions-1): Split from gud-gdb-completions.
16591
16592 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16593 function as separate arguments.
16594 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16595 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16596 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16597 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16598 (gdb-stopped, def-gdb-auto-update-trigger)
16599 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16600 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16601 Callers changed.
16602 (gud-gdbmi-completions): New function.
16603 (gdb): Use it for generating the completion table.
16604
16605 2011-12-24 Alan Mackenzie <acm@muc.de>
16606
16607 Introduce a mechanism to widen the region used in context font
16608 locking. Use this to protect declarations from losing their contexts.
16609
16610 * progmodes/cc-langs.el (c-before-font-lock-functions):
16611 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16612 (c-before-context-fontification-functions): New defvar, a list of
16613 functions to be run just before context (etc.) font locking.
16614
16615 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16616 New, functionality extracted from
16617 c-neutralize-syntax-in-and-mark-CPP.
16618 (c-in-after-change-fontification): New variable.
16619 (c-after-change): Set c-in-after-change-fontification.
16620 (c-set-fl-decl-start): Rejig its interface, so it can be called
16621 from both after-change and context fontifying.
16622 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16623 New functions.
16624 (c-standard-font-lock-fontify-region-function): New variable.
16625 (c-font-lock-fontify-region): New function.
16626
16627 2011-12-24 Juri Linkov <juri@jurta.org>
16628
16629 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16630 (Bug#10348)
16631
16632 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16633
16634 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16635 existence of source file. (Bug#10325)
16636
16637 2011-12-23 Alan Mackenzie <acm@muc.de>
16638
16639 Fix unstable fontification inside templates.
16640
16641 * progmodes/cc-langs.el (c-before-font-lock-functions):
16642 Newly created from the singular version. The (c c++ objc) entry now
16643 additionally has c-set-fl-decl-start. The other languages (apart
16644 from AWK) have that as a single entry.
16645
16646 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16647 The functionality for "local" declarations has been extracted to
16648 c-set-fl-decl-start.
16649
16650 * progmodes/cc-mode.el (c-common-init, c-after-change):
16651 Changes due to pluralisation of c-before-font-lock-functions.
16652 (c-set-fl-decl-start): New function, extracted from
16653 c-font-lock-enclosing-decls and enhanced.
16654
16655 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16656
16657 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16658
16659 2011-12-22 Juri Linkov <juri@jurta.org>
16660
16661 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16662
16663 2011-12-22 Chong Yidong <cyd@gnu.org>
16664
16665 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16666
16667 2011-12-21 Drew Adams <drew.adams@oracle.com>
16668
16669 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16670
16671 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16672
16673 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16674
16675 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16676
16677 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16678 highlighting and support. Fix up comments for capitalization.
16679 (cfengine-mode-debug): New var.
16680 (cfengine3-mode): Change the modeline indicator to "CFE3".
16681 (cfengine3-font-lock-keywords): Improve defun highlighting.
16682 (cfengine2-actions): Rename from `cfengine-actions'.
16683 (cfengine2-font-lock-keywords): Rename from
16684 `cfengine-font-lock-keywords'.
16685 (cfengine2-imenu-expression): Rename from
16686 `cfengine-imenu-expression'.
16687 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16688 (cfengine2-beginning-of-defun): Rename from
16689 `cfengine-beginning-of-defun'.
16690 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16691 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16692 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16693 modeline indicator to "CFE2".
16694 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16695 (cfengine-mode-abbrevs): Mark obsolete.
16696
16697 2011-12-21 Chong Yidong <cyd@gnu.org>
16698
16699 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16700 filename argument.
16701
16702 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16703
16704 * window.el (window-normalize-buffer-to-display): Remove.
16705 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16706
16707 2011-12-19 Chong Yidong <cyd@gnu.org>
16708
16709 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16710 Don't signal an error in a predicate function; return non-nil.
16711 (vc-dir-mark-file): Move the error here.
16712 (vc-dir-mark-unmark): If acting on the region, keep going if one
16713 of the entries cannot be marked/unmarked.
16714 (vc-dir-mark-all-files): If current entry is a directory, mark
16715 only child files, as documented.
16716
16717 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16718
16719 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16720 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16721 addition.
16722
16723 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16724
16725 * term/ns-win.el (ns-get-selection-internal)
16726 (ns-store-selection-internal): Declare.
16727 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16728 Declare as obsolete.
16729 (ns-get-pasteboard, ns-paste-secondary):
16730 Use ns-get-selection-internal.
16731 (ns-set-pasteboard, ns-copy-including-secondary):
16732 Use ns-store-selection-internal.
16733
16734 2011-12-17 Chong Yidong <cyd@gnu.org>
16735
16736 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16737 (vc-deduce-fileset): Doc fix.
16738
16739 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16740
16741 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16742
16743 2011-12-13 Sam Steingold <sds@gnu.org>
16744
16745 * man.el (Man-getpage-in-background): When running under a
16746 window-system, ignore $MANWIDTH and $COLUMNS.
16747
16748 2011-12-15 Kenichi Handa <handa@m17n.org>
16749
16750 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16751 (setup-ethiopic-environment-internal): Comment out key-binding for
16752 ethio-toggle-punctuation.
16753
16754 2011-12-13 Alan Mackenzie <acm@muc.de>
16755
16756 Add the switch statement to AWK Mode.
16757
16758 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16759 "default" to the keywords regexp.
16760
16761 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16762 expression as the rest.
16763 (c-nonlabel-token-key): Allow string literals for AWK.
16764 Refactor for the other modes.
16765
16766 Large brace-block initialisation makes CC Mode slow: Fix.
16767 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16768 routines. Limit backward searching in c-font-lock-enclosing.decl.
16769
16770 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16771 pp-state and literal type in addition to the limits.
16772 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16773 (c-state-literal-at): Use the above new defun.
16774 (c-slow-in-literal, c-fast-in-literal): Remove.
16775 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16776
16777 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16778 being in a literal. Add a limit for backward searching.
16779
16780 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16781 c-slow-in-literal.
16782
16783 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16784
16785 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16786
16787 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16788
16789 * window.el (delete-other-windows): Use correct frame in call to
16790 window-with-parameter.
16791
16792 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16793
16794 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16795 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16796 (makefile-gmake-statements, makefile-makepp-statements):
16797 Use it and add new makepp keywords.
16798 (makefile-makepp-font-lock-keywords): Add new patterns.
16799 (makefile-match-function-end): Match new [...] and [[...]].
16800
16801 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16802
16803 * ses.el (ses-call-printer-return, ses-cell-property-get)
16804 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16805 (ses-create-cell-variable, ses-reset-header-string)
16806 (ses-cell-set-formula, ses-repair-cell-reference-all)
16807 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16808 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16809 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16810 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16811 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16812 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16813 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16814 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16815 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16816 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16817 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16818 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16819
16820 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16821
16822 * ses.el: The overall change is to add cell renaming, that is
16823 setting fancy names for cell symbols other than name matching
16824 "\\`[A-Z]+[0-9]+\\'" regexp .
16825 (ses-create-cell-variable): New defun.
16826 (ses-relocate-formula): Relocate formulas only for cells the
16827 symbols of which are not renamed, i.e. symbols whose names do not
16828 match regexp "\\`[A-Z]+[0-9]+\\'".
16829 (ses-relocate-all): Relocate values only for cells the symbols of
16830 which are not renamed.
16831 (ses-load): Create cells variables as the (ses-cell ...) are read,
16832 in order to check row col consistency with cell symbol name only
16833 for cells that are not renamed.
16834 (ses-replace-name-in-formula): New defun.
16835 (ses-rename-cell): New defun.
16836
16837 2011-12-11 Chong Yidong <cyd@gnu.org>
16838
16839 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16840 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16841
16842 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16843
16844 * window.el (other-window): Fix docstring.
16845
16846 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16847
16848 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16849 `from' or `to' address before taking its substring.
16850 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16851 encoded name is chopped in the middle of the encoded string, and
16852 thus displayed encoded.
16853
16854 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16855
16856 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16857
16858 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16859
16860 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16861 to use texinfo-update-node and commands that call it if the
16862 Texinfo file uses @node lines without next/prev/up pointers.
16863 Correct outdated description about texinfo-master-menu.
16864 (texinfo-all-menus-update, texinfo-master-menu)
16865 (texinfo-update-node, texinfo-every-node-update)
16866 (texinfo-multiple-files-update): Doc fix. Warn against updating
16867 all the @node lines.
16868 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16869 argument is numeric. Explain better in the doc string what the
16870 function really does.
16871 (texinfo-insert-master-menu-list): Improve the error message
16872 displayed if there's no menu in the Top node.
16873 (Bug#2975) See also this thread:
16874 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16875
16876 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16877
16878 * speedbar.el (speedbar-supported-extension-expressions):
16879 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16880
16881 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16882
16883 * printing.el (pr-mode-alist):
16884 * simple.el (filter-buffer-substring-functions)
16885 (completion-list-insert-choice-function):
16886 * window.el (window-with-parameter, window-atom-root)
16887 (window-sides-slots, window-size-fixed, window-min-delta)
16888 (window-max-delta, window--resize-mini-window)
16889 (window--resize-child-windows-normal, window-tree)
16890 (delete-other-windows, quit-window, split-window)
16891 (display-buffer-record-window, special-display-buffer-names)
16892 (special-display-regexps, special-display-popup-frame)
16893 (same-window-p, split-window-sensibly)
16894 (display-buffer-overriding-action, display-buffer-alist)
16895 (display-buffer-base-action, display-buffer, switch-to-buffer)
16896 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16897 (fit-window-to-buffer, recenter-positions)
16898 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16899 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16900 and remove unneeded backslashes in docstrings.
16901
16902 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16903
16904 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16905
16906 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16907 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16908 end in ".mk".
16909 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16910 when reading the makefile (bug#10116).
16911
16912 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16915 (bug#10116).
16916
16917 2011-12-06 Glenn Morris <rgm@gnu.org>
16918
16919 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16920
16921 2011-12-06 Chong Yidong <cyd@gnu.org>
16922
16923 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16924
16925 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16926
16927 * textmodes/table.el (table-shorten-cell): Fix typo.
16928
16929 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16930
16931 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16932
16933 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16934
16935 * descr-text.el (describe-char): Fix display of strong
16936 right-to-left characters and directional embeddings and overrides.
16937
16938 * simple.el (what-cursor-position): Fix display of codepoints of
16939 strong right-to-left characters.
16940
16941 2011-12-05 Chong Yidong <cyd@gnu.org>
16942
16943 * faces.el (read-color): Doc fix.
16944
16945 2011-12-05 Glenn Morris <rgm@gnu.org>
16946
16947 * align.el (align--set-marker): Add doc-string.
16948 Don't try to move something that is not a marker. (Bug#10216)
16949
16950 2011-12-04 Glenn Morris <rgm@gnu.org>
16951
16952 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16953 overly zealous deletion of trailing whitespace.
16954
16955 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16956
16957 * server.el (server-delete-client): On Windows, do not try to delete
16958 the only terminal.
16959 (server-process-filter): On Windows, treat requests for a tty frame as
16960 if they were for a GUI frame if the running server is in GUI mode.
16961
16962 2011-12-03 Glenn Morris <rgm@gnu.org>
16963
16964 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16965
16966 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16967
16968 * electric.el: Streamline electric-indent's hook.
16969 (electric-indent-chars): Revert to simple list.
16970 (electric-indent-functions): New var.
16971 (electric-indent-post-self-insert-function): Use it.
16972
16973 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16974 there's no inferior buffer (bug#10196).
16975 (prolog-consult-compile): Don't use toggle-read-only.
16976
16977 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16978
16979 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16980 interrupt. (Bug#10187)
16981
16982 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16985 (bug#9160).
16986
16987 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16988 (bug#10191).
16989
16990 2011-12-02 Juri Linkov <juri@jurta.org>
16991
16992 * info.el (Info-search): Display "end of manual" when Isearch
16993 reaches the end of single-file Info manual. (Bug#9918)
16994
16995 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16996
16997 * isearch.el (isearch-message-prefix): Run the input method part
16998 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16999
17000 2011-12-02 Juri Linkov <juri@jurta.org>
17001
17002 * isearch.el (isearch-occur): Use `word-search-regexp' for
17003 `isearch-word'.
17004 (isearch-search-and-update): Add condition for `isearch-word' and
17005 call `word-search-regexp'. (Bug#10145)
17006
17007 2011-12-01 Glenn Morris <rgm@gnu.org>
17008
17009 * eshell/em-hist.el (eshell-hist-initialize):
17010 Handle eshell-history-size nil and HISTSIZE set or unset.
17011 (eshell-history-file-name, eshell-history-size): Fix custom type.
17012
17013 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17014
17015 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17016
17017 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17018
17019 * progmodes/verilog-mode.el (verilog-pretty-expr):
17020 Rework verilog-pretty-expr to handle new assignment operators in system
17021 verilog, such as += *= and the like.
17022 (verilog-assignment-operator-re): Regular expression to find the
17023 assigment operator in a verilog assignment.
17024 (verilog-assignment-operation-re): Regular expression to find an
17025 assignment statement for pretty-expr.
17026 (verilog-in-attribute-p): Query returns true if point is in an
17027 attribute context; used to skip these for expression line up from
17028 pretty-expr.
17029 (verilog-in-parameter-p): Query returns true if point is in an
17030 parameter definition context; used to skip these for expression
17031 line up from pretty-expr.
17032 (verilog-in-parenthesis-p): Query returns true if point is in a
17033 parenthetical expression, specifically ( ) but not [ ] or { };
17034 used by pretty-expr.
17035 (verilog-just-one-space): If there is no space, don't add one.
17036 (verilog-get-lineup-indent-2): Specifically skip just attribute
17037 contexts for expression lineup, rather than skipping all
17038 parenthetical expressions.
17039 (verilog-calculate-indent): Fix comment, and fix indent.
17040 (verilog-do-indent): Indent declarations in lists (suggested by
17041 Joachim Lechner).
17042 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17043 skeleton items.
17044 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17045 by Alain Mellan).
17046
17047 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17048
17049 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17050 parameters with embedded comments. Reported by Ray Stevens.
17051 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17052 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17053 Reported by Tim Holt.
17054 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17055 instantiated by upper module causing wrong expansion until AUTOed a
17056 second time. Reported by K C Buckenmaier.
17057 (verilog-diff-auto): Fix showing .* as a difference when
17058 `verilog-auto-star-save' off. Reported by Dan Dever.
17059 (verilog-auto-reset, verilog-read-always-signals)
17060 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17061 temporary signals in reset list if
17062 verilog-auto-reset-blocking-in-non is nil, and match assignment
17063 style to each signal's assignment type, bug381.
17064 Reported by Thomas Esposito.
17065 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17066 (verilog-uvm-statement-re): Support UVM indentation and
17067 highlighting, with old OVM keywords only.
17068 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17069 Support AUTOTIEOFF creating non-wire data types.
17070 Suggested by Jonathan Greenlaw.
17071 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17072 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17073 (verilog-inject-sense, verilog-read-inst-pins)
17074 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17075 Fix mismatching parenthesis inside commented out code when deleting
17076 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17077 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17078 non-numeric vector width. Reported by Alex Reed.
17079 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17080 detecting signals with parameter widths. Reported by Alex Reed.
17081 (verilog-auto-delete-trailing-whitespace):
17082 With `verilog-auto-delete-trailing-whitespace' remove trailing
17083 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17084 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17085 Fix verilog-scan-cache corruption when running user AUTO expansion
17086 hooks that call indentation routines.
17087 (verilog-simplify-range-expression): Fix typo ignoring lower case
17088 identifiers.
17089 (verilog-delete-auto): Fix delete-autos to also remove user created
17090 automatics, as long as they start with AUTO.
17091 (verilog-batch-diff-auto, verilog-diff-auto)
17092 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17093 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17094 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17095 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17096 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17097 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17098 is disabled and its cache will get corrupt, causing AUTOS not to
17099 expand. Instead use only -quick functions.
17100 (verilog-scan-region): Fix scanning over escaped quotes.
17101 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17102 (verilog-re-search-backward-quick)
17103 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17104 related functions now ignore strings, to fix misparsing of strings
17105 with magic comments embedded in them.
17106 (verilog-read-auto-template):
17107 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17108 Reported by Brad Dobbie.
17109 (verilog-read-auto-template):
17110 Fix 'verilog-auto-inst-template-numbers' with comments.
17111 Reported by Brad Dobbie.
17112 (verilog-auto-inst, verilog-auto-inst-param)
17113 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17114 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17115 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17116 debugging templates without merge conflicts, bug357.
17117 Reported by Brad Dobbie.
17118 (verilog-read-auto-template):
17119 Fix verilog-auto-inst-template-numbers with multiple templates.
17120 Reported by Brad Dobbie.
17121 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17122 abbrevs so user won't be asked to save.
17123 (verilog-read-auto-lisp-present): Fix to start at beginning of
17124 buffer in case called outside of verilog-auto.
17125 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17126 to "X-2". Reported by Matthew Myers.
17127 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17128 all inputs from module templates. Reported by Leith Johnson.
17129 (verilog-module-inside-filename-p): Fix locating programs as with
17130 modules.
17131 (verilog-auto-inst-port): Fix vl-width expressions when using
17132 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17133 (verilog-decls-get-regs, verilog-decls-get-signals,
17134 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17135 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17136 verilog-read-decls): Combine reg and wire structures into one var
17137 structure to represent SystemVerilog concepts.
17138 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17139 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17140 (verilog-auto-wire-type, verilog-insert-definition):
17141 Add verilog-auto-wire-type and AUTOLOGIC to support using
17142 SystemVerilog "logic" keyword instead of "wire"/"reg".
17143 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17144 to declares outputs that also have assignments (presumably in an
17145 ifdef or generate if so there's not a driver conflict).
17146 Reported by Matthew Myers.
17147 (verilog-auto-declare-nettype, verilog-insert-definition):
17148 Add verilog-auto-declare-nettype to fix declarations using
17149 `default_nettype none. Reported by Julian Gorfajn.
17150 (verilog-read-always-signals-recurse, verilog-read-decls)
17151 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17152 malformed end statement, bug325. Reported by Joshua Wise and
17153 Andrew Drake.
17154 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17155 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17156 when expanding .* in interfaces, bug320.
17157 Reported by Pierre-David Pfister.
17158 (verilog-read-module-name): Fix import statements between module
17159 name and open parenthesis, bug317.
17160 Reported by Pierre-David Pfister.
17161 (verilog-simplify-range-expression): Fix simplification of
17162 multiplications inside AUTOWIRE connections, bug303.
17163 (verilog-auto-inst-port): Support parameter expansion in
17164 multidimensional arrays.
17165 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17166 after "assert property". Reported by Julian Gorfajn.
17167 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17168 with multiplication, bug303.
17169 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17170 Reported by Jan Frode Lonnum.
17171
17172 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17173
17174 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17175 (hfy-shell-file-name, hfy-shell):
17176 * international/fontset.el (x-decompose-font-name): Fix typos.
17177
17178 2011-11-29 Ken Brown <kbrown@cornell.edu>
17179
17180 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17181 (gdb-version): Remove defvar.
17182 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17183 (gdb-gud-context-command, gdb-non-stop-handler)
17184 (gdb-current-context-command, gdb-stopped): Use it.
17185 (gdb-init-1): Enable pretty printing here.
17186 (gdb-non-stop-handler): Don't enable pretty-printing here.
17187 Check to see if the target supports non-stop mode; if not, turn off
17188 non-stop mode. Use the following.
17189 (gdb-check-target-async): New defun.
17190 (gud-watch, gdb-stopped): Fix whitespace.
17191 (gdb-get-source-file): Don't try to display the source file if
17192 `gdb-main-file' is nil.
17193
17194 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17195
17196 * align.el: Try to generate fewer markers (bug#10047).
17197 (align--set-marker): New macro.
17198 (align-region): Use it.
17199
17200 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17201
17202 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17203
17204 2011-11-29 Chong Yidong <cyd@gnu.org>
17205
17206 * indent.el (indent-for-tab-command, indent-according-to-mode):
17207 Doc fix.
17208 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17209
17210 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17211
17212 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17213 aware of remote file names. (Bug#10124)
17214
17215 2011-11-29 Chong Yidong <cyd@gnu.org>
17216
17217 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17218
17219 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17220
17221 * files.el (find-file): Don't use force-same-window (bug#10144).
17222 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17223 use pop-to-buffer if the selected window can't be used.
17224 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17225
17226 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17227
17228 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17229 special-mode-map.
17230
17231 2011-11-28 Chong Yidong <cyd@gnu.org>
17232
17233 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17234
17235 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17236
17237 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17238 gdb-get-source-file-list on gdb-create-source-file-list.
17239
17240 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17241
17242 * whitespace.el (whitespace-newline): Use a different foreground
17243 color for 16-color light-background displays.
17244
17245 2011-11-24 Chong Yidong <cyd@gnu.org>
17246
17247 * window.el (display-buffer--special-action): Doc fix.
17248
17249 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17250
17251 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17252 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17253 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17254 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17255 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17256 (avl-tree-stack-first):
17257 * emacs-lisp/cconv.el (cconv--analyse-use):
17258 * net/gnutls.el (gnutls-negotiate): Fix typos.
17259
17260 2011-11-24 Glenn Morris <rgm@gnu.org>
17261
17262 * lpr.el (lpr-windows-system, lpr-lp-system):
17263 * mail/binhex.el (binhex-begin-line):
17264 * progmodes/grep.el (grep-history, grep-find-history):
17265 * textmodes/flyspell.el:
17266 * vc/pcvs-defs.el (cvs-global-menu):
17267 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17268 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17269 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17270
17271 * net/tls.el: Fix case of "GnuTLS".
17272
17273 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17274
17275 * version.el (emacs-build-system): Give it a doc-string.
17276
17277 2011-11-24 Juri Linkov <juri@jurta.org>
17278
17279 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17280
17281 2011-11-24 Glenn Morris <rgm@gnu.org>
17282
17283 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17284 if called on a non-mime message just toggle the headers. (Bug#8006)
17285
17286 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17287
17288 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17289 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17290 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17291 (allout-rebullet-heading, allout-open-sibtopic)
17292 (allout-toggle-current-subtree-encryption)
17293 (allout-toggle-subtree-encryption, allout-encrypt-string)
17294 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17295 (allout-distinctive-bullets-string, allout-auto-activation):
17296 * window.el (window-normalize-buffer-to-display):
17297 * progmodes/verilog-mode.el (verilog-batch-indent):
17298 * textmodes/bibtex.el (bibtex-field-braces-opt)
17299 (bibtex-field-strings-opt):
17300 * vc/cvs-status.el (cvs-tree-merge):
17301 Fix typos.
17302
17303 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17304
17305 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17306 `non-essential' to t, in order to avoid remote connections.
17307
17308 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17309
17310 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17311 On MS-DOS and MS-Windows, compare with loaddefs.el
17312 case-insensitively.
17313
17314 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17315
17316 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17317
17318 2011-11-23 Glenn Morris <rgm@gnu.org>
17319
17320 * paths.el (rmail-file-name): Reformat the doc-string so that it
17321 is picked up.
17322
17323 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17324 (rmail-auto-file): Ignore case in the "special" field names,
17325 as mail-fetch-field does for all others.
17326
17327 * mail/rmail.el (rmail-forward):
17328 * mail/rmailkwd.el (rmail-set-label):
17329 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17330 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17331
17332 * mail/rmail.el (rmail-current-message): Doc fix.
17333
17334 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17335
17336 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17337
17338 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17339
17340 2011-11-22 Glenn Morris <rgm@gnu.org>
17341
17342 * mail/rmailmm.el (test-rmail-mime-handler)
17343 (test-rmail-mime-bulk-handler)
17344 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17345
17346 2011-11-21 Juri Linkov <juri@jurta.org>
17347
17348 * calc/calc.el (calc-read-key-sequence):
17349 Let-bind `input-method-function' to nil. (Bug#10018)
17350
17351 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17352
17353 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17354 Tell the caller that the next line needs recomputation, even
17355 though it doesn't start a sexp (bug#10094).
17356
17357 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17358
17359 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17360
17361 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17362
17363 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17364 Use force-same-window.
17365
17366 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17367
17368 * descr-text.el (describe-char-unicode-data):
17369 * json.el (json-string-escape):
17370 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17371 (Footnote-unicode, Footnote-style-p):
17372 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17373
17374 2011-11-20 Chong Yidong <cyd@gnu.org>
17375
17376 * window.el (replace-buffer-in-windows): Restore interactive spec.
17377
17378 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17379
17380 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17381
17382 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17383 (byte-compile-global-not-obsolete-vars): New var.
17384 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17385 Use it.
17386 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17387
17388 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17389
17390 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17391 * progmodes/pascal.el (electric-pascal-equal):
17392 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17393 * xml.el (xml-substitute-special): Fix typos.
17394
17395 2011-11-20 Glenn Morris <rgm@gnu.org>
17396
17397 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17398 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17399 Doc fixes.
17400 (rmail-decode-mime-charset): Mark as obsolete.
17401
17402 * mail/rmailsum.el (rmail-message-regexp-p-1):
17403 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17404 Before using mime functions, check they are set. (Bug#10077)
17405
17406 2011-11-19 Juri Linkov <juri@jurta.org>
17407
17408 * info.el (Info-finder-find-node): Use `package--builtins' instead
17409 of `package-alist'. Use node names formed by the pattern "Keyword "
17410 and the keyword name.
17411
17412 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17413
17414 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17415
17416 2011-11-19 Juri Linkov <juri@jurta.org>
17417
17418 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17419 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17420 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17421 `old-history', `old-history-forward'. Add let-binding
17422 `window-selected'. Remove calls to `kill-buffer',
17423 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17424 before calling `Info-find-node', so `Info-find-node-2' will reread
17425 the Info file. Restore window positions only when `window-selected'
17426 is non-nil.
17427
17428 2011-11-19 Juri Linkov <juri@jurta.org>
17429
17430 * isearch.el (isearch-lazy-highlight-new-loop):
17431 Remove condition `(not isearch-error)'. (Bug#9918)
17432
17433 * misearch.el (multi-isearch-search-fun): Add condition
17434 `(not bound)' to ignore lazy-highlighting search.
17435 Add the search-failed message "end of multi" when the end of
17436 multi-sequence is reached. Uncapitalize the search-failed
17437 message "Repeat for next buffer".
17438
17439 * info.el (Info-search): Add the search-failed message
17440 "end of the manual" when the end of the manual is reached
17441 in Isearch mode.
17442
17443 2011-11-19 Juri Linkov <juri@jurta.org>
17444
17445 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17446 Use non-destructive `remove' instead of `delete' because
17447 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17448 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17449
17450 2011-11-19 Juri Linkov <juri@jurta.org>
17451
17452 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17453 to nil instead of binding `search-ring' and `regexp-search-ring'.
17454 (Bug#9185)
17455
17456 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17457
17458 * simple.el (line-move): Force movement by logical lines for any
17459 hscrolled window, not only when auto-hscroll-mode is on.
17460 (line-move-visual): Update doc string to that effect. (Bug#10076)
17461
17462 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17463
17464 * language/european.el (macintosh): Define as alias for mac-roman.
17465
17466 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17467
17468 * mail/rmailmm.el (rmail-mime-display-header)
17469 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17470 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17471 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17472 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17473 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17474 of a raw aref.
17475 (rmail-mime-entity-segment): To get past the tagline, move forward
17476 2 more lines, to account for the 2 empty lines that precede and
17477 follow the line with the buttons.
17478 (rmail-mime-update-tagline): Move one more line, to get past the
17479 empty line that follows the buttons in the tagline. (Bug#9520)
17480
17481 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17482
17483 * window.el (window-max-delta-1, window-min-delta-1)
17484 (window-min-size-1, window-state-get-1, window-state-put-1)
17485 (window-state-put-2): Use "window--" prefix.
17486
17487 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17490 (smie-warning-count): New var.
17491 (smie-set-prec2tab): Use it.
17492 (smie-bnf->prec2): Improve warnings. Add docstring.
17493 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17494 (smie-bnf--set-class): New function.
17495 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17496 corner case.
17497
17498 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17499 (compilation-error-properties, compilation-move-to-column):
17500 Handle compilation-first-column while in the target buffer.
17501
17502 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17503 Don't hardcode point-min==1.
17504
17505 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17506 (eshell-rewrite-for-command): Remove workaround.
17507 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17508 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17509 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17510
17511 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17512
17513 2011-11-17 Glenn Morris <rgm@gnu.org>
17514
17515 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17516 Ignore buffer-local generated-autoload-file if it is the same
17517 as the global value. (Bug#10049)
17518
17519 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17520
17521 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17522 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17523 (reftex-toc-previous-heading, reftex-toc-max-level)
17524 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17525 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17526 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17527 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17528 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17529 (reftex-toc-rename-label, reftex-toc-visit-location)
17530 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17531 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17532 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17533 leaving "*toc*" only for references to the buffer.
17534
17535 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17536
17537 * window.el (window-resize, delete-window, split-window):
17538 Replace window-splits by window-combination-resize.
17539 * cus-start.el (window-splits): Replace by window-combination-resize.
17540
17541 2011-11-17 Glenn Morris <rgm@gnu.org>
17542
17543 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17544 Make bash entry derive from sh entry, not shell entry.
17545
17546 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17547
17548 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17549 local file name.
17550
17551 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17552
17553 * menu-bar.el (menu-bar-file-menu):
17554 * printing.el (pr-ps-utility):
17555 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17556 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17557 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17558 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17559 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17560 (icalendar--convert-cyclic-to-ical)
17561 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17562 (icalendar--convert-ical-to-diary)
17563 (icalendar--convert-recurring-to-diary)
17564 (icalendar--convert-non-recurring-all-day-to-diary)
17565 (icalendar-import-format-sample):
17566 * progmodes/idlw-shell.el (idlwave-shell-mode):
17567 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17568 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17569 (vhdl-ps-print-init): Fix typos.
17570
17571 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17572
17573 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17574 FSF and collapse date sequence, obscure author/maintainer email address
17575 better, remove extra version line, track relocation of author's webpage.
17576
17577 * progmodes/python.el (python-pdbtrack-input-prompt)
17578 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17579 regular python pdb prompts. Adjustments shamelessly taken exactly as
17580 suggested in EmacsWiki page (tiny change):
17581 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17582
17583 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * expand.el (expand-pos, expand-index, expand-point):
17586 Remove redundant info from docstring.
17587 (expand-add-abbrevs): Doc fix.
17588 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17589 (expand-sample-perl-mode-expand-list): Fix typos.
17590
17591 * net/dbus.el (dbus-event-member-name):
17592 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17593 * term/pc-win.el (msdos-create-frame-with-faces):
17594 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17595
17596 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17597
17598 * window.el (split-window, window-state-get-1)
17599 (window-state-put-1, window-state-put-2): Rename occurrences of
17600 window-nest to window-combination-limit.
17601 * cus-start.el (window-nest): Rename to window-combination-limit.
17602
17603 2011-11-16 Chong Yidong <cyd@gnu.org>
17604
17605 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17606 regexp (Bug#10033).
17607
17608 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17609
17610 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17611 `completing-read' will remove *Completions* and will preserve
17612 current-buffer for us.
17613 (tmm-add-prompt): Users of *Completions* will always (re)set its
17614 major mode.
17615 (tmm-old-comp-map): Remove.
17616
17617 2011-11-16 Glenn Morris <rgm@gnu.org>
17618
17619 * mail/rmailedit.el: Require rmailmm when compiling.
17620 (rmail-old-mime-state): New declaration.
17621 (rmail-edit-current-message): If editing a mime message,
17622 edit the "raw" message from the mbox buffer.
17623 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17624
17625 2011-11-15 Glenn Morris <rgm@gnu.org>
17626
17627 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17628 which wasn't being used. Add optional arg to force given state.
17629 (rmail-mime): Add optional arg to force given state.
17630
17631 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17632
17633 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17634 * frame.el (display-mm-dimensions-alist):
17635 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17636 (outline-move-subtree-down):
17637 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17638 (newsticker--treeview-do-get-node):
17639 * net/quickurl.el (quickurl-list-buffer-name):
17640 * progmodes/dcl-mode.el (dcl-mode):
17641 * progmodes/gdb-mi.el (gdb-mapcar*):
17642 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17643
17644 2011-11-15 Glenn Morris <rgm@gnu.org>
17645
17646 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17647 in a boolean sense, so just make it a boolean, and fix the doc.
17648 (rmail-show-mime-function, rmail-mime-feature)
17649 (rmail-require-mime-maybe): Doc fixes.
17650 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17651
17652 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17653
17654 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17655
17656 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17657 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17658 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17659 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17660
17661 2011-11-15 Glenn Morris <rgm@gnu.org>
17662
17663 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17664 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17665 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17666 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17667 (rmail-mime, rmail-show-mime): Doc fixes.
17668
17669 * term/ns-win.el (mode-line-frame-identification):
17670 Leave it alone. (Bug#10051)
17671
17672 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17673
17674 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17675 Handle empty buffers. (Bug#9978)
17676
17677 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17678
17679 * international/mule.el (define-charset):
17680 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17681 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17682 * progmodes/verilog-mode.el (verilog-backward-token):
17683 * textmodes/ispell.el (lookup-words):
17684 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17685
17686 2011-11-14 Glenn Morris <rgm@gnu.org>
17687
17688 * progmodes/executable.el
17689 (executable-make-buffer-file-executable-if-script-p):
17690 Handle file-modes returning nil.
17691
17692 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17693 message - not necessary, and causes problems. (Bug#9831)
17694
17695 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17696
17697 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17698
17699 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17700 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17701 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17702
17703 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17704
17705 * window.el (window-resize, delete-window): Use window-splits
17706 variable instead of function.
17707 (window-state-get-1, window-state-put-2, window-state-put):
17708 Don't deal with windows' splits status.
17709
17710 2011-11-12 Glenn Morris <rgm@gnu.org>
17711
17712 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17713 (apropos-documentation): Doc fixes.
17714
17715 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17716
17717 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17718 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17719
17720 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17721
17722 * electric.el (electric-indent-post-self-insert-function): Make it
17723 possible for a char to only indent in some circumstances.
17724 (electric-indent-mode): Simplify.
17725
17726 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17727
17728 * window.el (windows-with-parameter): Remove unused function.
17729 (windows-at-side): Rename to window-at-side-list.
17730 (window-check, window-atom-check, window-atom-check-1)
17731 (window-side-check, window-size-ignore, window-size-fixed-1)
17732 (window-in-direction-2): Prefix with "window--".
17733 (window-tree-1): Rename to window--subtree, fix doc-string.
17734
17735 2011-11-11 Glenn Morris <rgm@gnu.org>
17736
17737 * subr.el (eval-after-load): If FILE is already loaded,
17738 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17739
17740 2011-11-10 Glenn Morris <rgm@gnu.org>
17741
17742 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17743 Call svn via vc-svn-command rather than vc-do-command.
17744 (vc-svn-command): Add --non-interactive. (Bug#9993)
17745 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17746
17747 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17748 Add toggle-read-only. (Bug#7292)
17749 * files.el (toggle-read-only): Mention that it should only
17750 be used interactively. (Bug#10006)
17751
17752 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17753
17754 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17755 Adjust regexp for OCaml warnings.
17756
17757 * electric.el (electric-pair-post-self-insert-function): Let user
17758 turn it off buffer-locally (bug#9932).
17759
17760 * progmodes/python.el (python-beginning-of-statement):
17761 Rewrite (bug#2703).
17762
17763 * progmodes/compile.el: Better handle TABs (bug#9749).
17764 (compilation-internal-error-properties)
17765 (compilation-next-error-function): Obey the target buffer's
17766 compilation-error-screen-columns.
17767
17768 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17769
17770 * progmodes/meta-mode.el: Remove obsolete comments.
17771 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17772 Fix typos in docstrings.
17773
17774 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17775
17776 * window.el (window-size-fixed-p): Rewrite doc-string.
17777 (window-resizable-p): Rename to window--resizable-p. Update callers.
17778 (window--resizable): New function. Make all callers of
17779 window-resizable call window--resizable instead.
17780 (window-resizable): Rewrite in terms of window--resizable.
17781
17782 2011-11-08 Glenn Morris <rgm@gnu.org>
17783
17784 * progmodes/delphi.el (delphi-mode-syntax-table):
17785 Let define-derived-mode define a proper syntax table. (Bug#9994)
17786
17787 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17788
17789 * window.el: Stay away from defsubst.
17790 (window-list-no-nils): Remove.
17791 (window-state-get-1, window-state-get): Use backquote instead.
17792
17793 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17794
17795 * emacs-lisp/find-func.el (find-function-read):
17796 Fix incorrect use of default argument in `completing-read'.
17797
17798 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17799
17800 * window.el (display-buffer-function, special-display-function):
17801 Mention display-buffer-record-window but do not mention
17802 help-setup parameter in doc-strings.
17803 (window-min-delta): Fix doc-string typo.
17804
17805 2011-11-08 Chong Yidong <cyd@gnu.org>
17806
17807 * window.el (window-total-height, window-total-width): Doc fix.
17808 (window-body-size): Move from C.
17809 (window-body-height, window-body-width): Move to C.
17810
17811 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17812
17813 * window.el: Make special-display like display-buffer-alist (bug#9532).
17814 (display-buffer--special-action): New function, morphed
17815 from display-buffer--special.
17816 (display-buffer): Use it to handle special-display-buffers at higher
17817 priority (just after display-buffer-alist).
17818 (display-buffer-fallback-action, display-buffer--other-frame-action)
17819 (pop-to-buffer-same-window): Remove display-buffer--special.
17820
17821 2011-11-07 Glenn Morris <rgm@gnu.org>
17822
17823 * calendar/cal-menu.el (cal-menu-set-date-title):
17824 Do nothing if not in a calendar. (Bug#9976)
17825
17826 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * files.el (find-file): Always use selected-window.
17829
17830 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17831
17832 * window.el (window-combinations): Make WINDOW argument
17833 mandatory. Rewrite doc-string.
17834 (walk-window-subtree, window-atom-check, window-min-delta)
17835 (window-max-delta, window--resize-this-window)
17836 (window--resize-root-window-vertically, window-tree)
17837 (balance-windows, window-state-put): Rewrite doc-strings as to
17838 not mention the term "subwindow".
17839 (window--resize-subwindows-skip-p): Rename to
17840 window--resize-child-windows-skip-p.
17841 (window--resize-subwindows-normal): Rename to
17842 window--resize-child-windows-normal.
17843 (window--resize-subwindows): Rename to
17844 window--resize-child-windows.
17845 (window-or-subwindow-p): Rename to window--in-subtree-p.
17846
17847 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17848
17849 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17850 Ensure that mbox format messages end in two newlines (Bug#9974).
17851
17852 2011-11-06 Chong Yidong <cyd@gnu.org>
17853
17854 * window.el (window-combination-p): Function deleted; its
17855 side-effect is not used in any existing code.
17856 (window-combinations, window-combined-p): Call window-*-child
17857 directly.
17858
17859 2011-11-05 Chong Yidong <cyd@gnu.org>
17860
17861 * window.el (window-valid-p): Rename from window-any-p.
17862 (window-size-ignore, window-state-get): Callers changed.
17863 (window-normalize-window): Rename from window-normalize-any-window.
17864 New arg LIVE-ONLY, replacing window-normalize-live-window.
17865 (window-normalize-live-window): Delete.
17866 (window-combination-p, window-combined-p, window-combinations)
17867 (walk-window-subtree, window-atom-root, window-min-size)
17868 (window-sizable, window-sizable-p, window-size-fixed-p)
17869 (window-min-delta, window-max-delta, window-resizable)
17870 (window-resizable-p, window-full-height-p, window-full-width-p)
17871 (window-current-scroll-bars, window-point-1, set-window-point-1)
17872 (window-at-side-p, window-in-direction, window-resize)
17873 (adjust-window-trailing-edge, maximize-window, minimize-window)
17874 (window-deletable-p, delete-window, delete-other-windows)
17875 (record-window-buffer, unrecord-window-buffer)
17876 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17877 (quit-window, split-window, window-state-put)
17878 (set-window-text-height, fit-window-to-buffer)
17879 (shrink-window-if-larger-than-buffer): Callers changed.
17880
17881 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17882
17883 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17884 rfc2047-decode-string.
17885 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17886 warnings.
17887
17888 * window.el (window-body-height, window-body-width): Mention in
17889 the doc string that the return values are in frame's canonical
17890 units. (Bug#9949)
17891
17892 2011-11-03 Alan Mackenzie <acm@muc.de>
17893
17894 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17895 change in cc-engine.el.
17896
17897 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17898
17899 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17900
17901 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17902
17903 * window.el (quit-window): Call unrecord-window-buffer after
17904 showing another buffer in the window. (Bug#9937)
17905 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17906
17907 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17908
17909 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17910 Accept status with more than 9 shelves. (Bug#9935)
17911 Reported by Colin D Bennett <colin@gibibit.com>.
17912
17913 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17914
17915 * help.el (with-help-window): Don't reference
17916 temp-buffer-show-specifiers in doc-string.
17917
17918 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17919
17920 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17921 menu-item.
17922
17923 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17924
17925 * whitespace.el: New version 13.2.2.
17926 (whitespace-newline-mode): Disable properly. Reported by Sarah
17927 <EmacsWiki>.
17928
17929 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17930
17931 * net/newst-treeview.el: Remove "Time-stamp".
17932 (newsticker--group-manage-orphan-feeds): Do not call
17933 newsticker--treeview-tree-update.
17934 (newsticker-treeview-update, newsticker-treeview):
17935 Call newsticker--treeview-tree-update if necessary.
17936
17937 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17938
17939 * window.el (window-iso-combination-p, window-iso-combined-p)
17940 (window-iso-combinations): Remove "iso-" infix.
17941 Suggested by Chong Yidong.
17942 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17943 (window-max-delta-1, window-resize, window--resize-siblings)
17944 (window--resize-this-window, adjust-window-trailing-edge)
17945 (split-window, balance-windows-1)
17946 (shrink-window-if-larger-than-buffer):
17947 * calendar/calendar.el (calendar-generate-window):
17948 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17949
17950 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17951
17952 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17953 in place (bug#9907).
17954 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17955 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17956 (eshell-structure-basic-command, eshell-rewrite-while-command)
17957 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17958 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17959 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17960 (eshell-do-pipelines-synchronously, eshell-eval-command):
17961 Use backquotes and prefer setq to set.
17962 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17963 (eshell-macrop): Use functionp.
17964 (eshell-do-eval): Handle multiple expressions in `while' body.
17965
17966 2011-10-30 Chong Yidong <cyd@gnu.org>
17967
17968 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17969 instead of set-mark (Bug#9810).
17970
17971 2011-10-30 Chong Yidong <cyd@gnu.org>
17972
17973 * window.el (split-window-below, split-window-right): Rename from
17974 split-window-above-each-other and split-window-side-by-side
17975 respectively. All callers changed.
17976 (split-window-sensibly, split-window-sensibly): Use them.
17977 (split-window-keep-point): Doc fix.
17978
17979 * isearch.el: Add isearch-scroll property to split-window-below
17980 and split-window-right.
17981
17982 * follow.el (follow-mode):
17983 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17984 * progmodes/ada-xref.el (ada-gdb-application):
17985 * emulation/vip.el (vip-buffer-in-two-windows):
17986 * image-dired.el (image-dired-dired-with-window-configuration):
17987 * dired-x.el (dired-do-find-marked-files):
17988 * dired.el (dired-pop-to-buffer):
17989 * bs.el (bs--show-with-configuration):
17990 * vc/emerge.el (emerge-setup-windows):
17991 * textmodes/two-column.el (2C-two-columns):
17992 * textmodes/reftex-toc.el (reftex-toc):
17993 * progmodes/gdb-mi.el (gdb-setup-windows):
17994 * progmodes/fortran.el (fortran-window-create):
17995 * net/newst-treeview.el (newsticker--treeview-window-init):
17996 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17997 * emulation/tpu-edt.el (tpu-gold-map):
17998 * emulation/crisp.el (crisp-mode-map):
17999 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18000
18001 2011-10-29 Chong Yidong <cyd@gnu.org>
18002
18003 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18004
18005 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18006
18007 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18008 forged Ispell output (Bug#7904).
18009
18010 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18011
18012 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18013
18014 * doc-view.el: Avoid ugly errors about not finding nil.
18015 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18016 (doc-view-dvipdf-program, doc-view-unoconv-program)
18017 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18018 Avoid nil or absolute file name as default value.
18019 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18020
18021 2011-10-28 Alan Mackenzie <acm@muc.de>
18022
18023 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18024
18025 2011-10-28 Alan Mackenzie <acm@muc.de>
18026
18027 Amend the handling of c-beginning/end-of-defun in nested declaration
18028 scopes.
18029
18030 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18031 cc-langs.el. Change it to a defcustom.
18032
18033 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18034 cc-vars.el.
18035
18036 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18037 Prevent "class foo : bar" being spuriously recognized as a label.
18038
18039 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18040 Add parameter `inclusive' (to include enclosing braces in the region).
18041 (c-widen-to-enclosing-decl-scope): New function.
18042 (c-while-widening-to-decl-block): New macro.
18043 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18044 outward for defun boundaries, and correspondingly change symbol
18045 `respect-enclosure' to `go-outward'.
18046 (c-declaration-limits): Change algorithm to report only the "innermost"
18047 defun's boundaries.
18048
18049 2011-10-28 Deniz Dogan <deniz@dogan.se>
18050
18051 * net/rcirc.el (rcirc-mode): Use hard newlines.
18052
18053 2011-10-28 Alan Mackenzie <acm@muc.de>
18054
18055 Amend to indent and fontify macros "which include their own semicolon"
18056 correctly, using the "virtual semicolon" mechanism.
18057
18058 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18059
18060 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18061 Recode to scan one line at a time rather than having \n and \r
18062 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18063 (c-forward-label): Amend for virtual semicolons.
18064 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18065
18066 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18067 of the new C macros.
18068
18069 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18070 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18071 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18072 (c-opt-cpp-macro-define): Make into a full language variable.
18073 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18074 AWK Mode (including \n, \r) removed, no longer needed.
18075
18076 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18077 Invoke c-make-macro-with-semi-re.
18078
18079 * progmodes/cc-vars.el (c-macro-with-semi-re):
18080 (c-macro-names-with-semicolon): New variables.
18081 (c-make-macro-with-semi-re): New function.
18082
18083 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18084
18085 * vc/log-edit.el: Fill empty field rather than adding new one.
18086 (log-edit-add-field): New function.
18087 (log-edit-insert-changelog): Use it.
18088
18089 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18090
18091 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18092
18093 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18094
18095 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18096 (gdb--check-interpreter): New function.
18097 (gdb): Use it.
18098
18099 2011-10-27 Glenn Morris <rgm@gnu.org>
18100
18101 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18102 (least-positive-float, least-negative-float)
18103 (least-positive-normalized-float, least-negative-normalized-float)
18104 (float-epsilon, float-negative-epsilon):
18105 Remove unnecessary declarations.
18106
18107 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18108 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18109 (least-positive-float, least-negative-float)
18110 (least-positive-normalized-float, least-negative-normalized-float)
18111 (float-epsilon, float-negative-epsilon): Add doc-strings,
18112 based on those in cl.texi.
18113
18114 * files.el (set-visited-file-name): If the major-mode changed,
18115 reload the local variables. (Bug#9796)
18116
18117 2011-10-27 Chong Yidong <cyd@gnu.org>
18118
18119 * subr.el (change-major-mode-after-body-hook): New hook.
18120 (run-mode-hooks): Run it.
18121
18122 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18123 Use change-major-mode-before-body-hook.
18124
18125 * simple.el (fundamental-mode):
18126 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18127 change introducing fundamental-mode-hook.
18128
18129 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18130
18131 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18132
18133 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18134
18135 * ido.el (ido-file-name-all-completions-1): Do not require
18136 tramp.el explicitly. (Bug#7583)
18137
18138 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18139
18140 * progmodes/octave-mod.el:
18141 * progmodes/octave-inf.el: Update maintainer.
18142
18143 2011-10-26 Chong Yidong <cyd@gnu.org>
18144
18145 * subr.el (with-wrapper-hook): Rewrite doc.
18146
18147 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18148
18149 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18150 filenames "/method:foo:". (Bug#9793)
18151
18152 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18153
18154 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18155 (bug#9865).
18156
18157 2011-10-24 Glenn Morris <rgm@gnu.org>
18158
18159 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18160
18161 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18162
18163 * notifications.el: Add the requirement of a running D-Bus session
18164 bus to the Commentary.
18165
18166 2011-10-24 Juri Linkov <juri@jurta.org>
18167
18168 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18169 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18170 (Bug#9364)
18171
18172 2011-10-24 Juri Linkov <juri@jurta.org>
18173
18174 * info.el (Info-following-node-name-re): Add newline to the list
18175 of allowed characters for leading space. (Bug#9824)
18176
18177 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 * progmodes/octave-inf.el (inferior-octave-mode-map):
18180 Fix C-c C-h binding.
18181 * progmodes/octave-mod.el (octave-help): Remove.
18182
18183 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18184
18185 Sync with Tramp 2.2.3.
18186
18187 * net/tramp-cache.el (top): Pacify byte-compiler using
18188 `init-file-user' and `site-run-file'.
18189
18190 * net/trampver.el: Update release number.
18191
18192 2011-10-23 Chong Yidong <cyd@gnu.org>
18193
18194 * files.el (toggle-read-only): Remove obsolete comment about
18195 version control.
18196
18197 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18198 for toggle-read-only. Note that this hasn't called vc-next-action
18199 since 2008-05-02, though it wasn't documented at the time.
18200
18201 * vc/ediff-init.el (ediff-toggle-read-only-function):
18202 Use toggle-read-only.
18203
18204 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18205
18206 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18207 of c-parse-state.
18208
18209 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18210 correct faulty logical expression.
18211 (c-parse-state-state, c-record-parse-state-state):
18212 (c-replay-parse-state-state): New defvar/defuns.
18213 (c-debug-parse-state): Use new functions.
18214
18215 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18216
18217 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18218 last fix. Use window-in-direction correctly.
18219
18220 2011-10-21 Chong Yidong <cyd@gnu.org>
18221
18222 * progmodes/idlwave.el (idlwave-mode):
18223 * progmodes/vera-mode.el (vera-mode): No need to set
18224 require-final-newline; that's done in prog-mode.
18225 Suggested by Stefan Monnier.
18226
18227 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18228
18229 * mouse.el (mouse-drag-window-above)
18230 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18231 (mouse-drag-mode-line-1, mouse-drag-header-line)
18232 (mouse-drag-vertical-line-rightward-window): Remove.
18233 (mouse-drag-line): New function.
18234 (mouse-drag-mode-line, mouse-drag-header-line)
18235 (mouse-drag-vertical-line): Call mouse-drag-line.
18236 * window.el (window-at-side-p, windows-at-side): New functions.
18237
18238 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18239
18240 * tar-mode.el (tar-grind-file-mode):
18241 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18242
18243 2011-10-21 Chong Yidong <cyd@gnu.org>
18244
18245 * progmodes/idlwave.el (idlwave-mode):
18246 * progmodes/vera-mode.el (vera-mode):
18247 Use mode-require-final-newline.
18248
18249 2011-10-20 Glenn Morris <rgm@gnu.org>
18250
18251 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18252
18253 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18254
18255 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18256
18257 2011-10-20 Chong Yidong <cyd@gnu.org>
18258
18259 * emulation/cua-base.el (cua-mode):
18260 * mail/footnote.el (footnote-mode):
18261 * mail/mailabbrev.el (mail-abbrevs-mode):
18262 * net/xesam.el (xesam-minor-mode):
18263 * progmodes/bug-reference.el (bug-reference-mode):
18264 * progmodes/cap-words.el (capitalized-words-mode):
18265 * progmodes/compile.el (compilation-minor-mode)
18266 (compilation-shell-minor-mode):
18267 * progmodes/gud.el (gud-tooltip-mode):
18268 * progmodes/hideif.el (hide-ifdef-mode):
18269 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18270 * progmodes/subword.el (subword-mode):
18271 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18272 * progmodes/which-func.el (which-function-mode):
18273 * term/tvi970.el (tvi970-set-keypad-mode):
18274 * term/vt100.el (vt100-wide-mode):
18275 * textmodes/flyspell.el (flyspell-mode):
18276 * textmodes/ispell.el (ispell-minor-mode):
18277 * textmodes/nroff-mode.el (nroff-electric-mode):
18278 * textmodes/paragraphs.el (use-hard-newlines):
18279 * textmodes/refill.el (refill-mode):
18280 * textmodes/reftex.el (reftex-mode):
18281 * textmodes/rst.el (rst-minor-mode):
18282 * textmodes/sgml-mode.el (html-autoview-mode)
18283 (sgml-electric-tag-pair-mode):
18284 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18285 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18286 * emulation/crisp.el (crisp-mode):
18287 * emacs-lisp/eldoc.el (eldoc-mode):
18288 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18289 minor mode behavior.
18290
18291 2011-10-19 Juri Linkov <juri@jurta.org>
18292
18293 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18294 the list of hard-coded chars with escape-glyph face.
18295
18296 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18297
18298 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18299
18300 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18301
18302 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18303 running process.
18304
18305 2011-10-19 Glenn Morris <rgm@gnu.org>
18306
18307 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18308 Ignore ignored files. (Bug#9726)
18309
18310 2011-10-19 Chong Yidong <cyd@gnu.org>
18311
18312 Doc fix for minor modes, stating that an omitted argument enables
18313 the mode unconditionally when called from Lisp.
18314
18315 * abbrev.el (abbrev-mode):
18316 * allout.el (allout-mode):
18317 * autoinsert.el (auto-insert-mode):
18318 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18319 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18320 (global-auto-revert-mode):
18321 * battery.el (display-battery-mode):
18322 * composite.el (global-auto-composition-mode)
18323 (auto-composition-mode):
18324 * delsel.el (delete-selection-mode):
18325 * desktop.el (desktop-save-mode):
18326 * dired-x.el (dired-omit-mode):
18327 * dirtrack.el (dirtrack-mode):
18328 * doc-view.el (doc-view-minor-mode):
18329 * double.el (double-mode):
18330 * electric.el (electric-indent-mode, electric-pair-mode):
18331 * emacs-lock.el (emacs-lock-mode):
18332 * epa-hook.el (auto-encryption-mode):
18333 * follow.el (follow-mode):
18334 * font-core.el (font-lock-mode):
18335 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18336 * help.el (temp-buffer-resize-mode):
18337 * hilit-chg.el (highlight-changes-mode)
18338 (highlight-changes-visible-mode):
18339 * hi-lock.el (hi-lock-mode):
18340 * hl-line.el (hl-line-mode, global-hl-line-mode):
18341 * icomplete.el (icomplete-mode):
18342 * ido.el (ido-everywhere):
18343 * image-file.el (auto-image-file-mode):
18344 * image-mode.el (image-minor-mode):
18345 * iswitchb.el (iswitchb-mode):
18346 * jka-cmpr-hook.el (auto-compression-mode):
18347 * linum.el (linum-mode):
18348 * longlines.el (longlines-mode):
18349 * master.el (master-mode):
18350 * mb-depth.el (minibuffer-depth-indicate-mode):
18351 * menu-bar.el (menu-bar-mode):
18352 * minibuf-eldef.el (minibuffer-electric-default-mode):
18353 * mouse-sel.el (mouse-sel-mode):
18354 * msb.el (msb-mode):
18355 * mwheel.el (mouse-wheel-mode):
18356 * outline.el (outline-minor-mode):
18357 * paren.el (show-paren-mode):
18358 * recentf.el (recentf-mode):
18359 * reveal.el (reveal-mode, global-reveal-mode):
18360 * rfn-eshadow.el (file-name-shadow-mode):
18361 * ruler-mode.el (ruler-mode):
18362 * savehist.el (savehist-mode):
18363 * scroll-all.el (scroll-all-mode):
18364 * scroll-bar.el (scroll-bar-mode):
18365 * server.el (server-mode):
18366 * shell.el (shell-dirtrack-mode):
18367 * simple.el (auto-fill-mode, transient-mark-mode)
18368 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18369 (line-number-mode, column-number-mode, size-indication-mode)
18370 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18371 * strokes.el (strokes-mode):
18372 * time.el (display-time-mode):
18373 * t-mouse.el (gpm-mouse-mode):
18374 * tool-bar.el (tool-bar-mode):
18375 * tooltip.el (tooltip-mode):
18376 * type-break.el (type-break-mode-line-message-mode)
18377 (type-break-query-mode):
18378 * view.el (view-mode):
18379 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18380 (global-whitespace-mode, global-whitespace-newline-mode):
18381 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18382
18383 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18384 Fix autogenerated docstring.
18385
18386 2011-10-19 Juri Linkov <juri@jurta.org>
18387
18388 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18389 by checking environment variables "DESKTOP_SESSION" and
18390 "XDG_CURRENT_DESKTOP". (Bug#9779)
18391
18392 2011-10-19 Juri Linkov <juri@jurta.org>
18393
18394 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18395 (browse-url-chromium-program, browse-url-chromium-arguments):
18396 New defcustoms.
18397 (browse-url-default-browser): Check for `browse-url-chromium' and
18398 call `browse-url-chromium-program'.
18399 (browse-url-chromium): New command. (Bug#9779)
18400
18401 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18402
18403 * facemenu.el (list-colors-duplicates): On Windows, detect more
18404 duplicates by assuming that only colors matching "^System" are
18405 special "system colors". (Bug#9722)
18406
18407 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18408
18409 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18410 to distinguish the author from the committer.
18411
18412 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18413
18414 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18415
18416 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18417
18418 * international/mule.el (sgml-html-meta-auto-coding-function):
18419 Add support for detecting encoding in HTML5 specified only as
18420 <meta charset="UTF-8">. Implementation just makes http-equiv and
18421 content-type parts from HTML4 encoding string optional. (Bug#9716)
18422
18423 2011-10-18 Glenn Morris <rgm@gnu.org>
18424
18425 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18426
18427 2011-10-18 Chong Yidong <cyd@gnu.org>
18428
18429 * faces.el (cursor): Doc fix.
18430
18431 2011-10-17 Chong Yidong <cyd@gnu.org>
18432
18433 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18434
18435 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18436
18437 * dirtrack.el (dirtrack): Support shell buffers with path
18438 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18439
18440 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18441
18442 * json.el: Bump version to 1.3 and note change in History.
18443 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18444
18445 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18446
18447 * comint.el (comint-insert-input, comint-send-input)
18448 (comint-get-old-input-default, comint-backward-matching-input)
18449 (comint-next-prompt): Use nil instead of `input' for field property of
18450 past user input (bug#114).
18451
18452 * minibuffer.el (completion--replace): Inherit surrounding properties
18453 (bug#114).
18454 (minibuffer-complete-and-exit): Use it.
18455
18456 * comint.el (comint--table-subvert): Quote the all-completions output
18457 (bug#9160).
18458
18459 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18460
18461 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18462
18463 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18464 window on right of selected. (Bug#9350) Reword other window
18465 entries and separate them from frame entries.
18466
18467 2011-10-15 Glenn Morris <rgm@gnu.org>
18468
18469 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18470 Doc fixes.
18471
18472 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18473
18474 * net/network-stream.el (network-stream-open-starttls):
18475 Improve detection of failure due to lack of TLS support.
18476
18477 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18478 putting the input text in front and in bold.
18479
18480 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18481
18482 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18483
18484 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18485 empty buffer.
18486
18487 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18488 unread-command-events rather than pushing yet-another event.
18489
18490 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18491
18492 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18493 the explanation of the possible choices. Make the options passed
18494 to completing-read shorter.
18495
18496 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18497
18498 * textmodes/flyspell.el (flyspell-large-region): Make sure
18499 extended character mode is used if defined (Bug#1339).
18500
18501 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18502
18503 * simple.el (what-cursor-position): Fix the display of the
18504 character info for LRE, LRO, RLE, and RLO characters by appending
18505 an invisible PDF.
18506
18507 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18508
18509 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18510 even in case of error; add debug spec; simplify data flow.
18511 (with-timeout-handler): Remove.
18512
18513 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18514
18515 Fix Bug#6019, Bug#9315.
18516
18517 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18518 complete `buffer-file-name', the local file name part could look
18519 remotely (for example on VMS).
18520
18521 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18522 `tramp-run-real-handler'.
18523 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18524 already quoted by '"'.
18525
18526 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18527 Let `file-name-handler-alist' be nil, the local file name part
18528 could look remotely (for example on VMS).
18529
18530 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18531
18532 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18533 from here...
18534 (flyspell-post-command-hook): ...to here.
18535
18536 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18537
18538 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18539 if not needed.
18540 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18541 using completion. Protect against "slow" callers.
18542 Remove the "message hack".
18543
18544 2011-10-11 Juri Linkov <juri@jurta.org>
18545
18546 * isearch.el (isearch-lazy-highlight-word): New variable.
18547 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18548 Use it. (Bug#9727)
18549
18550 2011-10-11 Glenn Morris <rgm@gnu.org>
18551
18552 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18553 like f90-previous-statement does.
18554
18555 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18556
18557 * eshell/eshell.el (eshell-command): History should be saved
18558 only in interactive use, to avoid error.
18559
18560 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18561
18562 * minibuffer.el (completion-file-name-table): Fix last change,
18563 i.e. ignore normal errors but not the other ones.
18564
18565 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18566
18567 * window.el (special-display-buffer-names)
18568 (special-display-regexps): Remove some remnants of earlier
18569 changes from doc-strings.
18570 (quit-windows-on): New function.
18571
18572 * vc/vc.el (vc-revert, vc-rollback):
18573 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18574 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18575 (Bug#6183) (Bug#7074) (Bug#7447)
18576
18577 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18578
18579 * window.el (frame-auto-hide-function): Add version tag.
18580 (Bug#9699)
18581
18582 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18583
18584 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18585 condition.
18586
18587 2011-10-09 Leo Liu <sdl.web@gmail.com>
18588
18589 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18590 (Bug#9701)
18591
18592 2011-10-08 Glenn Morris <rgm@gnu.org>
18593
18594 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18595 before the first code statement zero indent. (Bug#9690)
18596
18597 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18598
18599 * simple.el (count-words-region): Always count in the region.
18600 Report the number of lines and characters too.
18601 (count-words): New command, which counts in the buffer if the
18602 region is inactive, as count-words-region used to.
18603 (count-words--message): New function. Handle plurals.
18604 (count-lines-region): Make it an alias for count-words-region.
18605
18606 * bindings.el (esc-map): Replace count-lines-region with
18607 count-words-region.
18608
18609 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18610
18611 * window.el (window--delete): Delete dedicated frame
18612 unconditionally when argument KILL is non-nil. (Bug#9699)
18613 (switch-to-buffer): Fix doc-string typo.
18614
18615 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18616
18617 * eshell/eshell.el (eshell-command): Avoid using hooks.
18618
18619 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18620
18621 * bindings.el ([M-left],[M-right]): Bind to left-word and
18622 right-word respectively.
18623
18624 2011-10-07 Glenn Morris <rgm@gnu.org>
18625
18626 * cus-start.el (debug-on-quit): Fix custom type.
18627
18628 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18629
18630 * subr.el (define-key-after): Clarify that the function is not
18631 useful for non-menu keymaps.
18632
18633 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18634
18635 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18636
18637 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18638 in current minibuffer (Fix bug with recursive minibuffers).
18639
18640 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18641
18642 * progmodes/gdb-mi.el (gdb): Doc fix.
18643
18644 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18645
18646 * window.el (frame-auto-hide-function): New option replacing
18647 frame-auto-delete. Suggested by Stefan Monnier.
18648 (window--delete): Call frame-auto-hide-function instead of
18649 investigating frame-auto-delete.
18650 (window-point-1, set-window-point-1): New functions.
18651 (window-in-direction, record-window-buffer, window-state-get-1)
18652 (display-buffer-record-window): Use window-point-1 instead of
18653 window-point.
18654 (set-window-buffer-start-and-point): Use set-window-point-1.
18655
18656 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18657
18658 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18659
18660 2011-10-05 Glenn Morris <rgm@gnu.org>
18661
18662 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18663 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18664
18665 2011-10-05 Leo Liu <sdl.web@gmail.com>
18666
18667 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18668 works with buffer object.
18669
18670 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18671
18672 * mpc.el (mpc-tool-bar-map): Add labels.
18673
18674 2011-10-04 Glenn Morris <rgm@gnu.org>
18675
18676 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18677
18678 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18679
18680 * window.el (window--delete): New function.
18681 (frame-auto-delete): Resuscitate option.
18682 (bury-buffer, replace-buffer-in-windows)
18683 (quit-window): Rewrite using window--delete.
18684 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18685 Pass display-buffer-mark-dedicated to window--display-buffer-2
18686 (Bug#9639).
18687
18688 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18689
18690 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18691 returns a list (bug#9554). Add remote file name completion.
18692 * comint.el (comint--table-subvert): Curry and get quote&unquote
18693 functions as arguments.
18694 (comint--complete-file-name-data): Adjust call accordingly.
18695 * pcomplete.el (pcomplete--table-subvert): Remove.
18696 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18697
18698 * minibuffer.el (completion-table-case-fold): Use currying.
18699 (completion--styles-type, completion--cycling-threshold-type):
18700 New constants.
18701 (completion-styles, completion-category-overrides)
18702 (completion-cycle-threshold): Use them.
18703 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18704 completion-table-case-fold.
18705
18706 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18707
18708 * minibuffer.el (completion-category-overrides): Fix type of styles
18709 and add more user friendly tags (bug#9660).
18710
18711 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18712
18713 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18714 (mule-input-method-string): New widget.
18715 (default-input-method, language-info-custom-alist): Use it.
18716
18717 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18718
18719 * pcomplete.el: Require comint.
18720 (pcomplete--common-suffix): Remove.
18721 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18722 (pcomplete--table-subvert): Sync with comint--table-subvert.
18723 (pcomplete--entries): Use comint-completion-file-name-table.
18724 * comint.el (comint-unquote-filename): Simplify.
18725 (comint-completion-file-name-table): New function (bug#9616).
18726 (comint--complete-file-name-data): Use it.
18727
18728 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18729 (pcmpl-gnu-tar-buffer): Remove.
18730 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18731 around. Make sure pcomplete-suffix-list is only changed temporarily.
18732 Don't look inside the tar's file if it's too large.
18733
18734 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18735
18736 * cus-edit.el (custom-mode-map):
18737 * epa.el (epa-key-list-mode-map):
18738 * man.el (Man-mode-map):
18739 * startup.el (splash-screen-keymap):
18740 * simple.el (special-mode-map): Use scroll-up-command and
18741 scroll-down-command.
18742
18743 * progmodes/idlw-help.el (idlwave-help-mode-map):
18744 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18745 * net/newst-plainview.el (newsticker-mode-map):
18746 * emulation/ws-mode.el (wordstar-mode-map):
18747 * emulation/vi.el (vi-com-map):
18748 * calc/calc-graph.el (calc-graph-show-dumb):
18749 * term/sun.el (terminal-init-sun):
18750 * term/ns-win.el (global-map):
18751 * progmodes/grep.el (grep-mode-map):
18752 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18753 * mail/rmail.el (rmail-mode-map):
18754 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18755
18756 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18757 custom-safe-themes as special.
18758
18759 2011-10-01 Julien Danjou <julien@danjou.info>
18760
18761 * notifications.el (notifications-notify): Fix docstring.
18762
18763 2011-10-01 Per Starbäck <per@starback.se>
18764
18765 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18766
18767 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18768
18769 * startup.el (command-line-1): Fix last fix by inserting
18770 initial-scratch-message into *scratch* before displaying it.
18771 (Bug#9605) and (Bug#9636)
18772
18773 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18774
18775 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18776 window is hscrolled, move by logical lines. (Bug#9607)
18777 (line-move-visual): Update the doc string to the above effect.
18778
18779 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18780
18781 * window.el (display-buffer-record-window): When WINDOW is the
18782 selected window use `point' instead of `window-point'. (Bug#9626)
18783
18784 * startup.el (command-line-1): Use insert-before-markers when
18785 inserting initial-scratch-message. (Bug#9605)
18786
18787 * help.el (help-window): Remove variable.
18788
18789 2011-09-29 Glenn Morris <rgm@gnu.org>
18790
18791 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18792
18793 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18794
18795 * descr-text.el (describe-char-categories): Accept category
18796 descriptions more than one line long.
18797
18798 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18799
18800 * simple.el (delete-trailing-whitespace): Fix last change.
18801
18802 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18803 Don't confuse "y => 3" as the beginning of a `y' operation.
18804
18805 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18806 object has more than 4 slots (bug#9613).
18807
18808 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18809
18810 * subr.el (with-output-to-temp-buffer):
18811 * net/quickurl.el (quickurl, quickurl-browse-url):
18812 Fix typos in docstrings.
18813
18814 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18815
18816 * minibuffer.el (completion-styles)
18817 (completion-category-overrides): Cross reference each other in doc
18818 strings.
18819
18820 2011-09-27 Glenn Morris <rgm@gnu.org>
18821
18822 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18823 to split-string. (Bug#9606)
18824
18825 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18826
18827 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18828 (bug#9615).
18829
18830 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18831
18832 * emacs-lisp/package.el (list-packages): Fix echo area message.
18833
18834 2011-09-27 Leo Liu <sdl.web@gmail.com>
18835
18836 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18837
18838 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18839
18840 * net/dbus.el (dbus-unregister-object): Don't release services for
18841 registered signals. (Bug#9581)
18842
18843 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18844
18845 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18846 function that picks between cfengine 2 and 3 support
18847 automatically. Update docs accordingly.
18848
18849 2011-09-22 Kenichi Handa <handa@m17n.org>
18850
18851 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18852 ZERO.
18853 (indian-itrans-v5-table-for-tamil): New variable.
18854 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18855
18856 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18857
18858 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18859 that's true if the current command involved collapsing of text.
18860 It's reset to false at the beginning of the next command.
18861 (allout-post-command-business): Move the cursor to the beginning
18862 of entry if the cursor is hidden and collapsing activity just
18863 happened.
18864
18865 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18866
18867 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18868 tracking (Bug#9541).
18869
18870 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18871
18872 * net/newst-reader.el (newsticker-html-renderer)
18873 (newsticker-show-news): Automatically load html rendering package
18874 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18875 because w3m-fill-column is let-bound" and the error "Symbol's value
18876 as variable is void: w3m-fill-column".
18877
18878 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18879
18880 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18881 Release services only if they are defined. (Bug#9581)
18882
18883 2011-09-23 Richard Stallman <rms@gnu.org>
18884
18885 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18886 distinguish start of paragraph from start of its text.
18887
18888 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18889
18890 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18891 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18892 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18893
18894 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18895
18896 * international/mule-diag.el (mule-diag): Insert a newline after
18897 each fontset description.
18898
18899 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18900
18901 * simple.el (delete-trailing-whitespace):
18902 Document last change; simplify.
18903
18904 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18905
18906 * simple.el (delete-trailing-whitespace): Also delete
18907 extra newlines at the end of the buffer.
18908
18909 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18910 (picture-newline): Use forward-line so as to ignore fields.
18911
18912 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18913
18914 * subr.el (with-wrapper-hook): Fix edebug spec.
18915
18916 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18917
18918 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18919 (bug#4538).
18920
18921 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18922
18923 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18924 Fix nasty bug using wrong cached values.
18925
18926 2011-09-23 Alan Mackenzie <acm@muc.de>
18927
18928 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18929
18930 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18931
18932 * window.el (pop-to-buffer): Ensure right window is selected if we
18933 chose another frame.
18934
18935 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18936
18937 * simple.el (what-cursor-position): Use get-char-property-change
18938 and next-single-char-property-change, to be able to show display
18939 properties that come from overlays as well as text properties.
18940
18941 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18944
18945 * cmuscheme.el (run-scheme, switch-to-scheme):
18946 * cus-edit.el (customize-group, custom-buffer-create)
18947 (customize-browse):
18948 * info.el (info):
18949 * shell.el (shell):
18950 * mail/sendmail.el (mail):
18951 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18952
18953 2011-09-22 Richard Stallman <rms@gnu.org>
18954
18955 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18956 move back only to line beg, don't move back over blank lines.
18957
18958 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18959
18960 * files.el (copy-directory): Set directory attributes only in case
18961 they could be retrieved from the source directory. (Bug#9565)
18962
18963 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18964
18965 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18966 (hs-find-block-beginning, hs-hide-level-recursive):
18967 Ignore strings as well as comments. (Bug#9502)
18968
18969 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18970
18971 * progmodes/sql.el (sql-comint-postgres):
18972 Convert port number to a string. (Bug#9566)
18973
18974 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18975
18976 * window.el (quit-window): Undedicate window when switching to
18977 previous buffer. Reported by Thierry Volpiatto
18978 <thierry.volpiatto@gmail.com>.
18979 (special-display-popup-frame): When popping up a new frame reset
18980 its previous buffers to nil. Simplify code.
18981
18982 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18983
18984 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18985 and process filter, as done also in `shell-command'.
18986
18987 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18988
18989 * window.el (set-window-buffer-start-and-point):
18990 Call set-window-start with NOFORCE argument t.
18991 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18992 (quit-window): Reword doc-string. Handle new format of
18993 quit-restore parameter. Don't delete window if it has a
18994 previous buffer we can show instead of the present one.
18995 (display-buffer-record-window): Rewrite using a new format for
18996 the quit-restore window parameter
18997 (special-display-popup-frame, display-buffer-same-window)
18998 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18999 (display-buffer-pop-up-window, display-buffer-use-some-window):
19000 Adapt symbol passed to display-buffer-record-window.
19001 * help.el (help-window-setup): Handle new format of quit-restore
19002 parameter.
19003
19004 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19005
19006 * faces.el (face-list): Fix docstring (bug#9564).
19007
19008 * window.el (display-buffer--action-function-custom-type):
19009 Don't include internal functions in the Custom interface.
19010
19011 2011-09-20 Juri Linkov <juri@jurta.org>
19012
19013 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19014 (Info-forward-node, Info-backward-node, Info-next-preorder)
19015 (Info-last-preorder): Use it. (Bug#9528)
19016
19017 2011-09-20 Juri Linkov <juri@jurta.org>
19018
19019 * info.el (Info-last-preorder): Visit last menu item only when
19020 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19021
19022 2011-09-20 Julien Danjou <julien@danjou.info>
19023
19024 * password-cache.el (password-cache-remove): Remove entries even if the
19025 value is nil, so that password with a nil value (negative caching) is
19026 possible to invalidate.
19027
19028 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19029
19030 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19031 all whitespace around breakpoint. (Bug#9553)
19032 (f90-find-breakpoint): Only break at whitespace inside a comment.
19033
19034 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19035
19036 * minibuffer.el (completion-file-name-table): Keep track of errors.
19037 (completion-table-with-predicate): Handle the case where pred1 is nil.
19038 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19039
19040 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19041
19042 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19043 (debugger-return-value): Signal an error if the debugging context does
19044 not await any return value.
19045
19046 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19047 * image-mode.el (image-toggle-display-text)
19048 (image-toggle-display-image): Stay away from evil `intangible'.
19049
19050 2011-09-19 Leo Liu <sdl.web@gmail.com>
19051
19052 * replace.el (occur-revert-arguments): Make it permanent-local.
19053 (occur-mode): Don't call font-lock-defontify.
19054
19055 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19056
19057 * net/ldap.el (ldap-search-internal): Don't push empty search
19058 result (Bug#9508).
19059
19060 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19061
19062 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19063
19064 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19065
19066 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19067 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19068
19069 2011-09-18 Juri Linkov <juri@jurta.org>
19070
19071 * buff-menu.el (Buffer-menu-mode-map):
19072 * dired.el (dired-mode-map):
19073 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19074 (lisp-interaction-mode-map):
19075 * emacs-lisp/package.el (package-menu-mode-map):
19076 * epa.el (epa-key-list-mode-map):
19077 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19078 (menu-bar-options-menu):
19079 * outline.el (outline-mode-menu-bar-map):
19080 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19081 * vc/vc-dir.el (vc-dir-menu-map):
19082 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19083 Capitalize non-function content words in menu item strings.
19084
19085 * dired.el (dired-mode-map): Add menu item for
19086 `image-dired-dired-toggle-marked-thumbs'.
19087
19088 2011-09-18 Juri Linkov <juri@jurta.org>
19089
19090 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19091 to `isearch-case-fold-search' and restore its original value
19092 after the `isearch-mode' call.
19093
19094 2011-09-18 Juri Linkov <juri@jurta.org>
19095
19096 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19097 because `zgrep' returns 1 for successful matches (bug#9226).
19098
19099 2011-09-18 Juri Linkov <juri@jurta.org>
19100
19101 * info.el (Info-extract-menu-node-name): Check the second match
19102 for empty string (second test-case of bug#9528).
19103 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19104 intermediate nodes to the history (first test-case of bug#9528).
19105
19106 2011-09-18 Juri Linkov <juri@jurta.org>
19107
19108 * info.el (Info-mode-syntax-table): New variable.
19109 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19110
19111 2011-09-18 Juri Linkov <juri@jurta.org>
19112
19113 * info.el (Info-file-supports-index-cookies):
19114 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19115 outputs one more line for long file names (bug#4142).
19116
19117 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19118
19119 * newcomment.el (comment-normalize-vars): If prompting for
19120 comment-start, set comment-start-skip too (Bug#8424).
19121
19122 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19123
19124 * icomplete.el: Fix previous fix of Bug#5849.
19125 (icomplete-mode): Don't set completion-show-inline-help.
19126 (icomplete-minibuffer-setup): Set completion-show-inline-help
19127 locally during icompletion.
19128
19129 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19130
19131 * woman.el (woman2-process-escapes): Don't delete unrecognized
19132 escapes (Bug#7843).
19133
19134 * files.el (inhibit-first-line-modes-regexps): Add image files.
19135 (hack-local-variables-prop-line): Return nil for malformed
19136 prop-lines (Bug#9044).
19137
19138 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19139
19140 * net/tramp.el (top): Don't require 'shell.
19141 (tramp-methods): Fix docstring.
19142 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19143 Return complete remote file name. Handle "smb" case.
19144 Use `tramp-tmpdir', if defined for the respective method.
19145 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19146
19147 * net/tramp-compat.el (top): Require 'shell.
19148
19149 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19150 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19151 `tramp-current-host'.
19152 (tramp-get-remote-tmpdir): Remove.
19153
19154 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19155 `tramp-tmpdir' entries.
19156 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19157 (tramp-smb-handle-file-attributes): Ignore errors.
19158 (tramp-smb-wait-for-output): Check also for process end.
19159
19160 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19161
19162 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19163 when sending QUIT (bug#9312).
19164
19165 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19166
19167 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19168 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19169 occur-mode-display-occurrence.
19170 (occur-edit-mode): Add usage message.
19171 (occur-cease-edit): New command.
19172 (occur-after-change-function): Use text properties to find the
19173 position of the prefix text.
19174 (occur-engine): Set stickiness of prefix text properties.
19175
19176 2011-09-17 Glenn Morris <rgm@gnu.org>
19177
19178 * progmodes/etags.el (complete-tag):
19179 Fix call to completion-in-region. (Bug#9526)
19180
19181 2011-09-17 Juri Linkov <juri@jurta.org>
19182
19183 * textmodes/ispell.el (ispell-word): Add to the error message
19184 the word, ispell program name and current dictionary (bug#9121).
19185 (ispell-tex-arg-end): Capitalize "error" in the error message.
19186
19187 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19188
19189 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19190 check. (Bug#4251)
19191
19192 2011-09-17 Juri Linkov <juri@jurta.org>
19193
19194 * window.el (window-safe-min-height, window-safe-min-width):
19195 Fix typos (followup to bug#9522).
19196
19197 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19198
19199 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19200
19201 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19202
19203 * simple.el (line-move): If goal-column is set, move by logical
19204 lines, not by display lines. (Bug#971)
19205 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19206 to reflect the above change.
19207
19208 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19209
19210 * image.el (imagemagick-register-types): Use regexp-opt.
19211
19212 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19213
19214 * window.el (display-buffer-base-action): Rename from
19215 display-buffer-default-action. Make default value empty.
19216 (display-buffer-overriding-action): Convert to defvar.
19217 (display-buffer-fallback-action): New var.
19218
19219 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19220
19221 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19222 declaration.
19223 (package--add-to-archive-contents): If there is a duplicate entry
19224 with an older version, remove it.
19225 (package-menu-mark-delete, package-menu-mark-install)
19226 (package-menu-mark-unmark): Make unused args optional.
19227 (package-menu-mark-obsolete-for-deletion):
19228 Use package-menu-get-status instead of a regexp search.
19229 (package-menu-get-status): Use tabulated-list-entry.
19230 (package-menu-mark-upgrades): New command.
19231 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19232 (package-menu-execute): Do installation before deletion.
19233 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19234 instead of checking major-mode.
19235 (package-menu--find-upgrades): New function.
19236
19237 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19238
19239 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19240 passwords in the log buffer.
19241 (smtpmail-process-filter): Update the process marker so that the
19242 "broken by peer" status message is inserted in the right place.
19243
19244 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19245
19246 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19247 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19248 bibtex-completion-at-point-function.
19249 (bibtex-completion-at-point-function): Use them.
19250
19251 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19252
19253 * mpc.el (mpc-constraints-tag-lookup): New function.
19254 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19255 also to browser "album|playlist".
19256
19257 2011-09-14 Juri Linkov <juri@jurta.org>
19258
19259 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19260 (isearch-edit-string): Use length of `isearch-string' when
19261 `isearch-fail-pos' returns nil.
19262 (isearch-message): Remove duplicate code and call
19263 `isearch-fail-pos' with arg `t'.
19264
19265 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19266
19267 * replace.el (occur-mode-goto-occurrence): Don't force using other
19268 window (Bug#9499).
19269
19270 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19271
19272 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19273
19274 * window.el (display-buffer-window): Remove.
19275 (display-buffer-record-window): Use help-setup window parameter
19276 instead of variable display-buffer-window.
19277 (display-buffer-function, special-display-buffer-names)
19278 (special-display-function): Mention help-setup parameter instead
19279 of display-buffer-window in doc-string.
19280 * help.el (help-window-setup): New argument help-window.
19281 Use help-window-setup parameter instead of display-buffer-window.
19282 Reword some messages.
19283 (with-help-window): Pass window used for displaying the buffer
19284 to help-window-setup. Don't set display-buffer-window.
19285
19286 2011-09-13 Glenn Morris <rgm@gnu.org>
19287
19288 * emacs-lisp/debug.el (debugger-make-xrefs):
19289 Preserve point. (Bug#9462)
19290
19291 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19292
19293 * window.el (window-deletable-p): Use next-frame.
19294
19295 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19296
19297 * window.el (window-auto-delete): Remove.
19298 (window-deletable-p): Remove argument FORCE. Don't deal with
19299 dedication and previous buffers.
19300 (switch-to-prev-buffer): Don't delete window.
19301 (delete-windows-on): Delete a window's frame if and only if the
19302 window is dedicated.
19303 (replace-buffer-in-windows): Delete buffer's window or frame if
19304 and only if window is dedicated.
19305 (quit-window): Handle quit-restore as before last change.
19306 (bury-buffer): Delete window only if window-deletable-p returns t.
19307
19308 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19309
19310 * window.el (window-deletable-p): Never delete the last frame on a
19311 given terminal.
19312
19313 2011-09-13 Glenn Morris <rgm@gnu.org>
19314
19315 * help.el (describe-key-briefly): Copy previous standard-output change.
19316
19317 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19318
19319 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19320
19321 2011-09-13 Glenn Morris <rgm@gnu.org>
19322
19323 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19324 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19325
19326 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19327
19328 * dired-aux.el (dired-mark-read-string): Don't return default
19329 value on empty input (Bug#9361).
19330 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19331 Omit initial minibuffer contents.
19332 (dired-do-chmod): Signal an error on empty input.
19333 (dired-mark-read-string): Don't return default on empty input.
19334
19335 * files.el (file-modes-symbolic-to-number): Doc fix.
19336
19337 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19338
19339 * international/mule-cmds.el (ucs-completions): Remove.
19340 (read-char-by-name): Use complete-with-action instead; add metadata.
19341
19342 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19343
19344 * window.el (display-buffer--action-function-custom-type)
19345 (display-buffer--action-custom-type): New vars.
19346 (display-buffer-alist, display-buffer-default-action)
19347 (display-buffer-overriding-action): Add defcustom types.
19348
19349 * frame.el (delete-other-frames): Doc fix (Bug#276).
19350
19351 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19352
19353 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19354
19355 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19356
19357 Change modes that used same-window-* vars to use switch-to-buffer.
19358
19359 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19360 Use switch-to-buffer.
19361
19362 * cus-edit.el (customize-group, custom-buffer-create)
19363 (customize-browse, custom-buffer-create-other-window):
19364 Use switch-to-buffer or switch-to-buffer-other-window.
19365
19366 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19367 (Info-prev, Info-up, Info-speedbar-goto-node)
19368 (info-display-manual): Use switch-to-buffer.
19369 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19370
19371 * mail/sendmail.el (mail): Use switch-to-buffer.
19372 (mail-recover): Use switch-to-buffer-other-window.
19373
19374 * cmuscheme.el (run-scheme, switch-to-scheme):
19375 * ielm.el (ielm):
19376 * shell.el (shell):
19377 * net/rlogin.el (rlogin):
19378 * net/telnet.el (telnet, rsh):
19379 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19380
19381 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19382
19383 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19384
19385 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19386
19387 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19388 so don't mention it (bug#9301).
19389 (dired-sort-toggle-or-edit): Clarify string further.
19390
19391 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19392 match `x', `w32' and `ns', like the manual says (bug#9029).
19393
19394 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19395 (process-kill-buffer-query-function): Mention the buffer name in
19396 the query.
19397
19398 * image-mode.el (image-next-line): The line parameter is mandatory
19399 (bug#9258).
19400
19401 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19402 which can be useful (bug#9301).
19403
19404 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19405
19406 * subr.el (match-string): Mention that the current buffer should
19407 be the same as the search was done in (bug#9282).
19408
19409 * facemenu.el: Disable the remove-* commands if the mark isn't
19410 active (bug#9162).
19411
19412 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19413
19414 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19415 of display-buffer.
19416 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19417
19418 * replace.el (occur-mode-goto-occurrence)
19419 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19420 and display-buffer.
19421
19422 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19423 display-buffer.
19424
19425 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19426 special-display and same-window variables.
19427 (mail-other-window): Use switch-to-buffer-other-window.
19428 (mail-other-frame): USe switch-to-buffer-other-frame.
19429
19430 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19431 Use display-buffer-other-frame.
19432 (gdb-display-gdb-buffer): Use pop-to-buffer.
19433
19434 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19435
19436 * progmodes/python.el: Don't set same-window-buffer-names.
19437
19438 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19439
19440 * window.el (display-buffer-alist): Add *Python*.
19441
19442 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19443
19444 * window.el (display-buffer-alist): Add entry for buffers
19445 previously handled same-window-*.
19446 (display-buffer-alist, display-buffer-default-action)
19447 (display-buffer-overriding-action): Mark as risky.
19448 (display-buffer-alist): Document action function changes.
19449 (display-buffer--same-window-action)
19450 (display-buffer--other-frame-action): New variables.
19451 (switch-to-buffer, display-buffer-other-frame): Use them.
19452 (display-buffer): Rename reuse-frame entry to reusable-frames.
19453 (display-buffer-reuse-selected-window): Function deleted.
19454 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19455 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19456 (display-buffer-special): New function.
19457 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19458 display-buffer-reuse-or-pop-window. Split off special-display
19459 part into display-buffer-special.
19460 (display-buffer-use-some-window): Don't perform any special
19461 pop-up-frames handling.
19462 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19463 (display-buffer--maybe-same-window): Rename from
19464 display-buffer-maybe-same-window.
19465
19466 * info.el: Don't set same-window-regexps.
19467 (info-setup): New function.
19468 (info-other-window, info): Call it.
19469
19470 * cus-edit.el: Don't set same-window-regexps.
19471 (customize-group): New argument.
19472 (customize-group-other-window): Use it.
19473 (customize-face, customize-face-other-window): Likewise.
19474 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19475
19476 * net/rlogin.el:
19477 * net/telnet.el:
19478 * progmodes/gud.el: Don't set same-window-regexps.
19479
19480 * cmuscheme.el:
19481 * ielm.el:
19482 * shell.el:
19483 * mail/sendmail.el:
19484 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19485
19486 2011-09-10 Juri Linkov <juri@jurta.org>
19487
19488 * isearch.el (isearch-edit-string): Remove obsolete mention of
19489 `C-w' (`isearch-yank-word-or-char') from docstring.
19490 (isearch-query-replace): Fix typo in docstring (bug#9466).
19491
19492 2011-09-10 Juri Linkov <juri@jurta.org>
19493
19494 * paren.el (show-paren-function): Don't show escaped parens.
19495 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19496
19497 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19498
19499 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19500 (mm-default-file-encoding): Remove autoload forms, they are
19501 replaced with autoload cookies in mml.el and mm-encode.el.
19502 (mail-add-attachment): New command.
19503 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19504 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19505 the doc string.
19506 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19507
19508 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19509
19510 * simple.el (count-words-region): Use buffer if there's no region
19511 (bug#9429).
19512
19513 2011-09-09 Juri Linkov <juri@jurta.org>
19514
19515 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19516 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19517 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19518
19519 2011-09-09 Alan Mackenzie <acm@muc.de>
19520
19521 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19522 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19523
19524 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19525
19526 Fix for Savannah bug#9392.
19527 * simple.el (mail-encode-mml): New defvar.
19528
19529 * mail/rmail.el (mail-encode-mml): Add a defvar.
19530 (rmail-enable-mime-composing): Default to t.
19531 (rmail-forward): Use MIME method of forwarding only if both
19532 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19533 Set mail-encode-mml non-nil if the MIME method was used.
19534
19535 * mail/sendmail.el (mml-to-mime): Add autoload form.
19536 (mail-encode-mml): Add a defvar.
19537 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19538 to nil.
19539 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19540 message through mml-to-mime, and reset mail-encode-mml to nil.
19541
19542 2011-09-09 Glenn Morris <rgm@gnu.org>
19543
19544 * woman.el (woman-if-body): When processing an .el block,
19545 do not delete the next .el block as well. (Bug#9447)
19546 (woman-special-characters): Add oq, cq, and hy characters.
19547
19548 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19549
19550 * window.el (window-deletable-p): Make sure window is live before
19551 invoking window-prev-buffers.
19552
19553 2011-09-08 Leo Liu <sdl.web@gmail.com>
19554
19555 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19556
19557 2011-09-08 Juri Linkov <juri@jurta.org>
19558
19559 * progmodes/compile.el (compilation-environment): Make it
19560 a defcustom (bug#8340).
19561
19562 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19563
19564 * window.el (frame-auto-delete): Rename to window-auto-delete.
19565 Make it control auto-deletion of windows and/or frames.
19566 (window-deletable-p): New argument FORCE. Rewrite conditions
19567 for deleting window/frame. (Bug#9419)
19568 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19569 Rewrite handling of case when window/frame can be deleted.
19570 (delete-windows-on): Call window-deletable-p with new FORCE
19571 argument t. (Bug#9456)
19572
19573 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19574
19575 * help-mode.el (help-mode): Restore autoload.
19576
19577 2011-09-07 Juri Linkov <juri@jurta.org>
19578
19579 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19580 `compilation-environment'. Set buffer-local
19581 `compilation-environment' to `thisenv' later after (funcall mode).
19582 (Bug#8340)
19583
19584 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19585 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19586 instead of replacing its value. (Bug#8340)
19587
19588 2011-09-07 Juri Linkov <juri@jurta.org>
19589
19590 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19591 based on text properties put by `grep-filter' instead of matching
19592 escape sequences.
19593 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19594 to the value of `grep-error-screen-columns' (bug#9438).
19595
19596 2011-09-07 Juri Linkov <juri@jurta.org>
19597
19598 * simple.el (next-error-highlight, next-error-highlight-no-select):
19599 Doc fix (bug#9432).
19600
19601 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19602
19603 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19604 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19605
19606 2011-09-07 Leo Liu <sdl.web@gmail.com>
19607
19608 * net/rcirc.el (rcirc-mode): Conditionally initialize
19609 rcirc-input-ring.
19610
19611 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19612
19613 * emacs-lisp/find-func.el (find-function-C-source): Only set
19614 find-function-C-source-directory after checking that we found a source
19615 file there (bug#9440).
19616
19617 2011-09-06 Alan Mackenzie <acm@muc.de>
19618
19619 * isearch.el (isearch-other-meta-char): Wherever a key list is
19620 unread, "unread" the prefix arg, too. This fixes bug #8901.
19621
19622 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19623
19624 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19625
19626 2011-09-05 Juri Linkov <juri@jurta.org>
19627
19628 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19629
19630 2011-09-05 Juri Linkov <juri@jurta.org>
19631
19632 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19633 keeping point where processing of grep matches begins, and
19634 continue to delete remaining escape sequences from the same point.
19635 (grep-filter): Make leading zero optional in "0?1;31m" because
19636 git-grep emits "\033[1;31m" escape sequences unlike expected
19637 "\033[01;31m" as GNU Grep does (bug#9408).
19638 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19639
19640 2011-09-05 Juri Linkov <juri@jurta.org>
19641
19642 * subr.el (y-or-n-p): Capitalize "yes".
19643
19644 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19645
19646 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19647 `tramp-cache-unload-hook' where appropriate.
19648 (tramp-methods): Rename `tramp-remote-sh' to
19649 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19650 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19651
19652 * net/tramp-sh.el (top): Don't require 'shell.
19653 (tramp-methods): Add `tramp-remote-shell' and
19654 `tramp-remote-shell-args' entries.
19655 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19656 (tramp-sh-handle-shell-command): Remove.
19657 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19658 Use `tramp-remote-shell'.
19659
19660 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19661
19662 * mail/sendmail.el (sendmail-query-once-function): Delete.
19663 (sendmail-query-once): Save directly to send-mail-function.
19664 Update message-send-mail-function too.
19665
19666 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19667
19668 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19669
19670 * progmodes/python.el (python-mode-map): Use correct function to
19671 start python interpreter from menu-bar (as reported by Geert
19672 Kloosterman).
19673 (inferior-python-mode-map): Fix typo.
19674 (python-shell-map): Remove.
19675
19676 2011-09-03 Deniz Dogan <deniz@dogan.se>
19677
19678 * net/rcirc.el (rcirc-print): Simplify code for
19679 rcirc-scroll-show-maximum-output. There is no need to walk
19680 through all windows to find the right one.
19681
19682 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19683
19684 * help.el (help-return-method): Doc fix.
19685
19686 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19687
19688 * window.el (window-deletable-p): Don't return a non-nil value
19689 when there's a buffer that was shown in the window before.
19690 (Bug#9419)
19691 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19692 Set window's previous buffers to nil.
19693
19694 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19695
19696 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19697 newline before and after the tag line, so it doesn't interfere
19698 with determining the paragraph direction of bidirectional text.
19699
19700 2011-09-03 Leo Liu <sdl.web@gmail.com>
19701
19702 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19703
19704 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19705
19706 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19707 (pop-to-buffer): Change interactive spec. Pass second argument
19708 directly to display-buffer.
19709 (display-buffer): Fix interactive spec. Use functionp to
19710 distinguish between a function and a list of functions.
19711
19712 * abbrev.el (edit-abbrevs):
19713 * arc-mode.el (archive-extract):
19714 * autoinsert.el (auto-insert):
19715 * bookmark.el (bookmark-bmenu-list):
19716 * files.el (find-file):
19717 * view.el (view-buffer):
19718 * progmodes/compile.el (compilation-goto-locus):
19719 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19720
19721 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19722
19723 * window.el (display-buffer-alist): Doc fix.
19724 (display-buffer): Add docstring. Don't treat
19725 display-buffer-default specially.
19726 (display-buffer-reuse-selected-window)
19727 (display-buffer-same-window, display-buffer-maybe-same-window)
19728 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19729 (display-buffer-pop-up-window)
19730 (display-buffer-reuse-or-pop-window)
19731 (display-buffer-use-some-window): New functions.
19732 (display-buffer-default-action): Use them.
19733 (display-buffer-default): Delete.
19734 (pop-to-buffer-1): Fix choice of actions.
19735
19736 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19737
19738 * minibuffer.el (completion--insert-strings): Don't get confused by
19739 completion entries that end with an LF char.
19740
19741 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19742
19743 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19744
19745 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19746
19747 * window.el (display-buffer): Restore interactive spec.
19748 (display-buffer-same-window, display-buffer-other-window):
19749 New functions.
19750 (pop-to-buffer-1): New function. Use the above.
19751 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19752 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19753
19754 * view.el (view-buffer-other-window, view-buffer-other-frame):
19755 Just use pop-to-buffer.
19756
19757 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19758
19759 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19760
19761 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19762
19763 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19764
19765 2011-08-31 Richard Stallman <rms@gnu.org>
19766
19767 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19768 of the separation of rmail-view-buffer from rmail-buffer.
19769 If you say no to "replace original", the decrypt is in the
19770 view buffer. If you say yes, the decrypt goes into the
19771 rmail buffer also.
19772
19773 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19774
19775 * window.el (display-buffer-window): Rewrite doc-string.
19776 (display-buffer-record-window): New function.
19777 (display-buffer-macro-specifiers)
19778 (display-buffer-even-window-sizes, display-buffer-set-height)
19779 (display-buffer-set-width, display-buffer-in-window)
19780 (display-buffer-reuse-window, display-buffer-split-specifiers)
19781 (display-buffer-side-specifiers, display-buffer-split-window-1)
19782 (display-buffer-split-window, display-buffer-split-atom-window)
19783 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19784 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19785 (display-buffer-other-window-means-other-frame)
19786 (display-buffer-normalize-special)
19787 (display-buffer-normalize-default)
19788 (display-buffer-normalize-argument)
19789 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19790 (display-buffer-normalize-specifiers, display-buffer-frame)
19791 (display-buffer-same-window, display-buffer-same-frame)
19792 (display-buffer-other-window)
19793 (display-buffer-same-frame-other-window)
19794 (display-buffer-other-frame, pop-to-buffer-same-window)
19795 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19796 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19797 (switch-to-buffer-same-frame)
19798 (switch-to-buffer-other-window-same-frame)
19799 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19800 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19801 (display-buffer-alist-set): Remove.
19802 (display-buffer-function, special-display-buffer-names)
19803 (special-display-regexps, special-display-function):
19804 In doc-string refer to display-buffer-window and quit-restore
19805 parameter.
19806 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19807 (special-display-frame-alist, special-display-popup-frame)
19808 (same-window-buffer-names, same-window-regexps, same-window-p)
19809 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19810 (split-window-preferred-function, split-height-threshold)
19811 (split-width-threshold, window-splittable-p)
19812 (split-window-sensibly, window--try-to-split-window)
19813 (window--frame-usable-p, even-window-heights)
19814 (window--even-window-heights, window--display-buffer-1)
19815 (window--display-buffer-2, display-buffer-other-frame):
19816 Restore old Emacs 23 code, order and doc-strings where applicable.
19817 (display-buffer-default, display-buffer-assq-regexp): New functions.
19818 (display-buffer-alist): Rewrite doc-string.
19819 (display-buffer-default-action)
19820 (display-buffer-overriding-action): New variables.
19821 (display-buffer, switch-to-buffer): Rewrite.
19822 (pop-to-buffer): Restore Emacs 23 behavior but use
19823 window-normalize-buffer-to-display.
19824 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19825 Restore Emacs 23 behavior but use
19826 window-normalize-buffer-to-switch-to.
19827 (pop-to-buffer-same-window): Rewrite.
19828 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19829 Rewrite using Emacs 23 options.
19830
19831 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19832
19833 * net/tramp.el (tramp-root-regexp): Remove.
19834 (tramp-completion-file-name-regexp-unified)
19835 (tramp-completion-file-name-regexp-separate)
19836 (tramp-completion-file-name-regexp-url): Don't use leading volume
19837 letter on w32 systems. (Bug#5303, Bug#9311)
19838 (tramp-drop-volume-letter): Simplify definition.
19839 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19840
19841 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19842
19843 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19844 (bug#9356).
19845
19846 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19847
19848 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19849
19850 2011-08-29 Juri Linkov <juri@jurta.org>
19851
19852 * isearch.el (isearch-done): Don't display message "Mark saved"
19853 when arg `edit' is non-nil to prevent its flicker in the echo area.
19854
19855 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19856
19857 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19858 obsolete packages for deletion.
19859
19860 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19861
19862 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19863 (help-mode): Derive help-mode from special-mode. Don't invoke
19864 view-mode from help-mode.
19865 (help-xref-override-view-map): Remove.
19866 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19867 view-mode is not used anymore.
19868
19869 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19870
19871 * server.el (server-port): Doc fix.
19872
19873 * cus-theme.el (custom-theme-choose-mode): Inherit from
19874 special-mode (Bug#9124).
19875 (custom-theme-choose-mode-map): Add special-mode to parent.
19876
19877 2011-08-28 Alan Mackenzie <acm@muc.de>
19878
19879 * progmodes/cc-fonts.el
19880 (c-make-font-lock-BO-decl-search-function): New function.
19881 (c-basic-matchers-after - "Fontify the clauses after various
19882 keywords"): Extract the three keyword lists for the 3 erroneous
19883 constructs from the list of four, and use the new function above
19884 in place of an old one.
19885
19886 2011-08-28 Deniz Dogan <deniz@dogan.se>
19887
19888 * net/rcirc.el (rcirc-insert-prev-input)
19889 (rcirc-insert-next-input): Remove unused argument.
19890
19891 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19892
19893 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19894
19895 2011-08-27 Alan Mackenzie <acm@muc.de>
19896
19897 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19898 handle function pointer parameters properly.
19899
19900 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19901
19902 * window.el (display-buffer-reuse-window): Fix case where
19903 selected window was reused with non-nil OTHER-WINDOW argument.
19904 (Bug#9381)
19905
19906 2011-08-27 Deniz Dogan <deniz@dogan.se>
19907
19908 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19909 oftc's NickServ messages.
19910
19911 2011-08-27 Glenn Morris <rgm@gnu.org>
19912
19913 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19914
19915 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19916
19917 * emacs-lisp/package.el (package-install): Call package-initialize
19918 if called interactively.
19919
19920 2011-08-26 Leo Liu <sdl.web@gmail.com>
19921
19922 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19923
19924 2011-08-25 Juri Linkov <juri@jurta.org>
19925
19926 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19927 `search-whitespace-regexp' (bug#9364).
19928
19929 2011-08-25 Juri Linkov <juri@jurta.org>
19930
19931 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19932 `regexp-search-ring' to their global values to protect from
19933 updating by `read-from-minibuffer' (bug#9185).
19934
19935 2011-08-25 Juri Linkov <juri@jurta.org>
19936
19937 * textmodes/ispell.el (ispell-command-loop): Add newline
19938 at the end of the "Use option `i'..." line.
19939
19940 2011-08-25 Juri Linkov <juri@jurta.org>
19941
19942 * battery.el (display-battery-mode): If `battery-status-function'
19943 or `battery-mode-line-format' is nil, display the message and set
19944 `display-battery-mode' to nil (bug#9363).
19945
19946 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19947
19948 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19949 bidi-string-mark-left-to-right; they are unnecessary now.
19950
19951 2011-08-25 Deniz Dogan <deniz@dogan.se>
19952
19953 * net/quickurl.el: Documentation typo fixes.
19954
19955 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19956
19957 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19958
19959 2011-08-25 Glenn Morris <rgm@gnu.org>
19960
19961 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19962
19963 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19964 (smtpmail-via-smtp): Handle nil response from smtp.
19965
19966 2011-08-24 Juri Linkov <juri@jurta.org>
19967
19968 * proced.el (proced-marked): Inherit from `error' instead of
19969 `font-lock-warning-face'.
19970
19971 * ibuffer.el (ibuffer-marked-face): Change default face from
19972 `font-lock-warning-face' to `warning'.
19973 (ibuffer-deletion-face): Change default face from
19974 `font-lock-type-face' to `error'.
19975
19976 * battery.el (battery-update): Use the face `error' instead of
19977 `font-lock-warning-face' (bug#6117).
19978
19979 2011-08-24 Juri Linkov <juri@jurta.org>
19980
19981 * faces.el (success): Change face color from "Green3" to
19982 "ForestGreen" on light background (bug#9353).
19983
19984 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19985
19986 * window.el (quit-window): Rename from quit-restore-window.
19987 Use same arglist as old quit-window.
19988 (frame-auto-delete): Doc fix.
19989
19990 * view.el (view-mode-exit): Use quit-window.
19991
19992 2011-08-24 Juri Linkov <juri@jurta.org>
19993
19994 * isearch.el (isearch-ring-adjust1): Start visiting previous
19995 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19996 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19997 for empty search string (when the last search string is reused
19998 automatically) to adjust the isearch ring to the last element and
19999 prepare the correct index for further M-p commands (bug#9185).
20000
20001 2011-08-24 Kenichi Handa <handa@m17n.org>
20002
20003 * international/ucs-normalize.el: If decomposition property of
20004 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20005 nil.
20006 (nfd, nfkd): Likewise.
20007
20008 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20009
20010 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20011 from process filters aren't reliably transmitted to the surrounding
20012 accept-process-output.
20013 (mpc-proc-check): New function.
20014 (mpc-proc-sync): Use it (bug#8293)
20015
20016 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20017
20018 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20019 Add compatibility functions (bug#9313).
20020
20021 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20022
20023 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20024
20025 * international/uni-bidi.el: Regenerate.
20026
20027 2011-08-23 Kenichi Handa <handa@m17n.org>
20028
20029 * international/charprop.el:
20030 * international/uni-bidi.el:
20031 * international/uni-category.el:
20032 * international/uni-combining.el:
20033 * international/uni-comment.el:
20034 * international/uni-decimal.el:
20035 * international/uni-decomposition.el:
20036 * international/uni-digit.el:
20037 * international/uni-lowercase.el:
20038 * international/uni-mirrored.el:
20039 * international/uni-name.el:
20040 * international/uni-numeric.el:
20041 * international/uni-old-name.el:
20042 * international/uni-titlecase.el:
20043 * international/uni-uppercase.el: Regenerate.
20044
20045 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20046
20047 * help.el (help-window-setup): Fix message displayed when other
20048 window is reused. (Bug#9341)
20049
20050 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20051
20052 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20053 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20054
20055 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20056 Mark obsolete.
20057 * shell.el (shell-parse-pcomplete-arguments): New function.
20058 (shell-completion-vars): Use it instead (bug#9160).
20059
20060 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20061
20062 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20063 strings and comments (bug#9333).
20064
20065 * emacs-lisp/debug.el (debug-arglist): New function.
20066 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20067 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20068
20069 2011-08-22 Juri Linkov <juri@jurta.org>
20070
20071 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20072 Revert regexp that highlights output switches to its old
20073 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20074
20075 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20076 to check for empty output (bug#9226).
20077
20078 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20079
20080 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20081 symbol-constituent as the default, as that stops font-lock from
20082 working properly (Bug#8843).
20083
20084 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20085
20086 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20087 `coding-system-for-*' around the process open call to avoid
20088 auth-source side effects.
20089 (smtpmail-try-auth-methods): Expand the secret password.
20090 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20091 probe hangs.
20092
20093 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20094
20095 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20096
20097 * emacs-lisp/find-func.el (find-function-noselect): New arg
20098 lisp-only.
20099
20100 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20101 signal an error for built-in functions (Bug#6664).
20102
20103 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20104
20105 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20106 (smtpmail-try-auth-methods): Use it.
20107
20108 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20109
20110 * font-lock.el (font-lock-fontify-region)
20111 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20112 (font-lock-default-unfontify-buffer)
20113 (font-lock-default-fontify-region)
20114 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20115
20116 * progmodes/compile.el (compilation-error-properties):
20117 Fix confusion between file struct and message struct (Bug#9319).
20118 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20119 `ant' regexp.
20120
20121 * net/browse-url.el (browse-url-firefox): Don't call
20122 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20123
20124 2011-08-20 Glenn Morris <rgm@gnu.org>
20125
20126 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20127
20128 * tutorial.el (tutorial--default-keys): Update some default bindings.
20129
20130 * files.el (hack-local-variables): Fully ignore case for "mode:".
20131
20132 2011-08-20 Alan Mackenzie <acm@muc.de>
20133
20134 Resolve invalid use of a regexp in regexp-opt.
20135
20136 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20137 detection for a java annotation.
20138
20139 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20140 detection for a java annotation.
20141
20142 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20143 handling for java.
20144 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20145
20146 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20147
20148 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20149 (Bug#9274).
20150
20151 2011-08-20 Alan Mackenzie <acm@muc.de>
20152
20153 Fontify CPP expressions correctly when starting in the middle of
20154 such a construct. Mainly for when jit-lock etc. starts a chunk
20155 here.
20156
20157 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20158 variable.
20159 (c-make-font-lock-search-form): New function, extracted from
20160 c-make-font-lock-search-function.
20161 (c-make-font-lock-search-function): Use the above function.
20162 (c-make-font-lock-context-search-function): New function.
20163 (c-cpp-matchers): Enhance the preprocessor expression case with
20164 the above function
20165 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20166 which takes an expression.
20167
20168 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20169
20170 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20171
20172 * window.el (display-buffer-reuse-window)
20173 (display-buffer-pop-up-window): Don't reuse or split a side
20174 window.
20175
20176 2011-08-19 Glenn Morris <rgm@gnu.org>
20177
20178 * files.el (hack-local-variables-prop-line, hack-local-variables):
20179 Downcase "Mode:". (Bug#9331)
20180
20181 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20182
20183 * international/characters.el: Add L and R categories.
20184
20185 * subr.el (bidi-string-mark-left-to-right): Rename from
20186 string-mark-left-to-right. Use category search.
20187
20188 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20189
20190 2011-08-18 Juri Linkov <juri@jurta.org>
20191
20192 * faces.el (error, warning, success): New faces with definitions
20193 copied from old default values of `font-lock-warning-face',
20194 `compilation-warning', `compilation-info' (bug#6117).
20195
20196 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20197
20198 * progmodes/compile.el (compilation-error): Inherit from `error'.
20199 (compilation-warning): Inherit from `warning'.
20200 (compilation-info): Inherit from `success'.
20201
20202 * dired.el (dired-marked): Inherit from `warning'.
20203 (dired-flagged): Inherit from `error'.
20204
20205 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20206
20207 * mail/smtpmail.el (auth-source): Require to avoid problems with
20208 binding variables (bug#9298). Also clean up some unused
20209 autoloads.
20210
20211 * net/network-stream.el (network-stream-open-starttls):
20212 Support using starttls.el without using gnutls-cli.
20213
20214 2011-08-17 Juri Linkov <juri@jurta.org>
20215
20216 * progmodes/grep.el (rgrep): Handle the case when
20217 `grep-find-command' is a cons cell (bug#9278).
20218
20219 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20220
20221 * window.el (display-buffer-pop-up-frame): Run frame creation
20222 function with BUFFER current (as special-display-popup-frame
20223 does). Reported by Drew Adams.
20224
20225 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20226
20227 * epa-mail.el: Simplify GnuPG group expansion using
20228 epg-expand-group.
20229 (epa-mail-group-alist, epa-mail-group-modtime)
20230 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20231 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20232 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20233 Remove.
20234
20235 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20236
20237 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20238
20239 2011-08-16 Alan Mackenzie <acm@muc.de>
20240
20241 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20242 Correct, to avoid the inside of macros.
20243
20244 2011-08-16 Richard Stallman <rms@gnu.org>
20245
20246 * epa-mail.el: Handle GnuPG group definitions.
20247 (epa-mail-group-alist, epa-mail-group-modtime)
20248 (epa-mail-gnupg-conf-file): New variables.
20249 (epa-mail-parse-groups, epa-mail-sync-groups)
20250 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20251 (epa-mail-expand-recipients): New functions.
20252 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20253
20254 * mail/rmail.el (rmail-epa-decrypt): New command.
20255
20256 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20257 Don't bind buffer-read-only, just inhibit-read-only.
20258 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20259 (epa-decrypt-armor-in-region): Make error message clearer.
20260
20261 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20262
20263 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20264 and "a2b" to "ab" for `prefix'.
20265
20266 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20267
20268 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20269 filter groups.
20270 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20271 Fourquet (Bug#8804).
20272
20273 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20274
20275 * startup.el (argi): Declare as global variable (bug#9275).
20276
20277 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20278
20279 * subr.el (string-mark-left-to-right): Search the entire string
20280 for RTL script, not just the terminating character. Doc fix.
20281
20282 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20283
20284 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20285 New function.
20286 (js--regexp-literal, js-syntax-propertize-function): Remove.
20287 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20288 (js-mode-map): Don't rebind electric keys.
20289 (js-insert-and-indent): Remove.
20290 (js-mode): Setup electric-layout and electric-indent instead.
20291
20292 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20293
20294 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20295
20296 * epa.el (epa-progress-callback-function): Fix the logic of
20297 displaying progress.
20298 * epa-file.el (epa-file-insert-file-contents): Make progress
20299 display more user-friendly.
20300 (epa-file-write-region): Ditto.
20301
20302 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20303
20304 * subr.el (string-mark-left-to-right): New function.
20305
20306 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20307 Use string-mark-left-to-right.
20308 (list-buffers-noselect): Caller changed.
20309
20310 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20311 Use string-mark-left-to-right.
20312 (tabulated-list-print): Recenter after moving point.
20313
20314 2011-08-10 Juri Linkov <juri@jurta.org>
20315
20316 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20317 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20318 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20319
20320 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20321
20322 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20323 (Bug#7554).
20324
20325 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20326
20327 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20328 character. (Bug#6594)
20329
20330 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20331
20332 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20333 (image-dired--with-db-file): New macro.
20334 (image-dired-write-tags, image-dired-remove-tag)
20335 (image-dired-create-gallery-lists, image-dired-write-comments)
20336 (image-dired-get-comment, image-dired-mark-tagged-files)
20337 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20338 (image-dired-gallery-generate): Use insert-file-contents.
20339
20340 * time.el (display-time-world-list, display-time-world-display):
20341 * time-stamp.el (time-stamp-string):
20342 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20343 set-time-zone-rule (Bug#7337).
20344
20345 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20346
20347 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20348 (epg-error-to-string, epg-errors-to-string): New function.
20349 (epg-wait-for-completion): Reverse errors list.
20350 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20351 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20352 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20353 (epg-sign-keys, epg-generate-key-from-file)
20354 (epg-generate-key-from-string): Format errors by using
20355 epg-errors-to-string (bug#9255).
20356 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20357
20358 2011-08-07 Juri Linkov <juri@jurta.org>
20359
20360 * faces.el (list-faces-display): Remove extra angle bracket
20361 from `help-mode-map'.
20362
20363 * info.el (Info-history-toc-nodes): Doc fix.
20364
20365 * longlines.el (longlines-mode): Doc fix.
20366
20367 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20368
20369 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20370 of statements and in a few more cases (bug#9183).
20371
20372 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20373 New functions.
20374 (cl-transform-lambda): Use them (bug#9239).
20375
20376 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20377
20378 * window.el (display-buffer-same-window)
20379 (display-buffer-same-frame, display-buffer-other-window)
20380 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20381 (pop-to-buffer-other-window)
20382 (pop-to-buffer-same-frame-other-window)
20383 (pop-to-buffer-other-frame): Make them defuns.
20384 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20385
20386 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20387
20388 * subr.el (make-composed-keymap): Move from C. Change calling
20389 convention, and improve docstring to bring attention to a subtle point.
20390 * minibuffer.el (completing-read-default): Adjust accordingly.
20391
20392 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20393
20394 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20395 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20396
20397 * net/trampver.el: Update release number.
20398
20399 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20400
20401 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20402 "in" (bug#9190).
20403
20404 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20405
20406 * mail/sendmail.el (sendmail-query-once): Restore the current
20407 buffer after querying (bug#9074).
20408
20409 * dired.el (dired-flagged): Use different faces for marked and
20410 flagged files (bug#6117).
20411
20412 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20413 (bug#4433).
20414
20415 * ido.el (ido-mode): Switch off the message if called
20416 non-interactively.
20417
20418 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20419 before 587, since it appears that that's more likely to work for
20420 more people.
20421
20422 * cus-edit.el (custom-file): When running under emacs -q, always
20423 refuse to save the customizations, even if the .emacs file doesn't
20424 exist.
20425
20426 * info.el: Remove the `Info-beginning-of-buffer' function
20427 (bug#8325).
20428
20429 * net/network-stream.el (network-stream-open-starttls):
20430 Use `starttls-available-p' to see whether starttls.el can be used.
20431
20432 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20433
20434 * window.el (display-buffer-in-window): Don't set dedicated status
20435 of window here (Bug#9215).
20436 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20437 (display-buffer-pop-up-side-window)
20438 (display-buffer-in-side-window): Set dedicated status of window here.
20439
20440 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20441
20442 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20443 before binding generated-autoload-file.
20444
20445 2011-08-01 Deniz Dogan <deniz@dogan.se>
20446
20447 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20448
20449 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20450
20451 Sync with Tramp 2.2.2.
20452
20453 * net/trampver.el: Update release number.
20454
20455 2011-07-30 Juri Linkov <juri@jurta.org>
20456
20457 * dired-aux.el (dired-touch-initial): Remove function.
20458 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20459 current time, and `default' to the last modification time of the
20460 current marked file (bug#6887).
20461
20462 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20463
20464 * simple.el (goto-line): Use string-to-number to provide a
20465 numeric argument to read-number (bug#9163).
20466
20467 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20468
20469 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20470 connection process, it could be nil.
20471
20472 2011-07-27 Leo Liu <sdl.web@gmail.com>
20473
20474 Simplify url handling in rcirc-mode.
20475
20476 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20477 (rcirc-browse-url-at-mouse): Remove.
20478 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20479
20480 2011-07-26 Alan Mackenzie <acm@muc.de>
20481
20482 Fontify bitfield declarations properly.
20483
20484 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20485 (c-symbol-chars): Now exported as a lang variable.
20486 (c-not-primitive-type-keywords): New lang variable.
20487
20488 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20489 QT keyword "more" to prevent "more slots: ...." being spuriously
20490 parsed as a bitfield declaration.
20491
20492 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20493 Refactor and enhance to handle bitfield declarations.
20494 (c-punctuation-in): New function.
20495 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20496 declarations properly.
20497
20498 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20499
20500 * calendar/icalendar.el (icalendar--all-events): Take care of
20501 multiple vcalendars in a single file.
20502 (icalendar--convert-float-to-ical): Checkdoc fixes.
20503
20504 2011-07-25 Deniz Dogan <deniz@dogan.se>
20505
20506 * image.el (insert-image): Clarifying docstring.
20507
20508 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20509
20510 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20511 `tramp-send-command-and-check' if there is no error.
20512 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20513
20514 2011-07-22 Alan Mackenzie <acm@muc.de>
20515
20516 Prevent cc-langs.elc being loaded at run time.
20517
20518 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20519 cc-langs.
20520
20521 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20522 "(require 'cc-langs)". Quote a form so it will evaluate at
20523 (cc-mode's) compilation time.
20524
20525 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20526
20527 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20528 loading. (Bug#9114)
20529
20530 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20531
20532 * window.el (display-buffer-pop-up-window)
20533 (display-buffer-pop-up-side-window)
20534 (display-buffer-in-side-window): Call display-buffer-set-height
20535 and display-buffer-set-width after setting the new window's
20536 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20537
20538 2011-07-20 Sam Steingold <sds@gnu.org>
20539
20540 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20541 (etags-tags-included-tables): Call `convert-standard-filename' on
20542 the file names contained in TAGS so that windows Emacs can handle
20543 TAGS files created by cygwin ctags.
20544
20545 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20546
20547 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20548 which apparently didn't work.
20549
20550 2011-07-19 Roland Winkler <winkler@gnu.org>
20551
20552 * proced.el (proced-send-signal): For *Marked Processes* buffer
20553 put point at beginning of buffer.
20554
20555 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20556
20557 * proced.el (proced-format): Make header lines align with the text
20558 (bug#1779).
20559
20560 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20561
20562 * view.el (view-buffer): Allow running in `special' modes if we're
20563 visiting a file (bug#8615).
20564
20565 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20566
20567 * window.el (display-buffer-alist-of-strings-p)
20568 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20569 New functions.
20570 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20571 more accurately.
20572
20573 2011-07-18 Alan Mackenzie <acm@muc.de>
20574
20575 Fontify declarators properly when, e.g., a jit-lock chunk begins
20576 inside a declaration.
20577
20578 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20579
20580 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20581 New function.
20582 (c-complex-decl-matchers): Insert reference to
20583 c-font-lock-enclosing-decls.
20584
20585 * progmodes/cc-engine.el (c-backward-single-comment):
20586 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20587 to nil around calls to (forward-comment -1).
20588
20589 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20590
20591 * image.el (put-image): Doc typo fix.
20592
20593 * progmodes/etags.el (tags-search): Doc typo fix.
20594
20595 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20596 password if we get errors 550 to 554.
20597
20598 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20599
20600 * net/gnutls.el (gnutls-log-level): Remove.
20601
20602 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20603 indentation character (bug#6380).
20604
20605 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20606
20607 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20608 to clarify what the problem is (bug#4291).
20609
20610 * simple.el (current-kill): Clarify what
20611 `interprogram-paste-function' does (bug#7500).
20612 (auto-fill-mode): Document `auto-fill-function' in relation to
20613 `auto-fill-mode' (bug#2470).
20614
20615 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20616
20617 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20618 method if slot is read-only (bug#9035).
20619
20620 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20621
20622 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20623 * window.el (pop-to-buffer): Select window used even if it was
20624 selected before, see discussion of (Bug#8615), (Bug#6954).
20625 Pass argument NORECORD on to select-frame-set-input-focus.
20626
20627 2011-07-15 Glenn Morris <rgm@gnu.org>
20628
20629 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20630 Respect help-form.
20631
20632 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20633
20634 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20635 (gnutls-negotiate): Use it.
20636
20637 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20638
20639 * net/gnutls.el (gnutls-negotiate):
20640 Upcase `gnutls-algorithm-priority'.
20641
20642 2011-07-15 Glenn Morris <rgm@gnu.org>
20643
20644 * jka-compr.el (jka-compr-verbose): Move from here...
20645 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20646 Add missing :version tag.
20647 * info.el: No need to require jka-compr when compiling.
20648
20649 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20650
20651 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20652 (gnutls-negotiate): Use it.
20653
20654 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20655
20656 * info.el (Info-beginning-of-buffer): New command.
20657 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20658 announcing `b' as the key (bug#8325).
20659 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20660
20661 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20662
20663 * international/mule-cmds.el
20664 (describe-specified-language-support): Make the error message
20665 clearer (bug#8905).
20666
20667 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20668
20669 * isearch.el (isearch-barrier): Add a doc string, since it's
20670 mentioned in a function doc string (bug#8678).
20671
20672 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20673
20674 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20675 buffer argument (Bug#9083) and self-identifying label argument.
20676
20677 2011-07-15 Glenn Morris <rgm@gnu.org>
20678
20679 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20680
20681 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20682
20683 * man.el (Man-fontify-manpage): Fix message when formatting the
20684 man page (bug#7929).
20685
20686 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20687
20688 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20689 argument LRM; if non-nil, append an invisible LRM character to the
20690 buffer name.
20691 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20692 last argument non-nil, when formatting buffer names.
20693 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20694 paragraph direction.
20695
20696 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20697
20698 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20699 the man page name (bug#7929).
20700
20701 * image.el (put-image): Mention the `put-image' overlay property
20702 (bug#7834).
20703
20704 * scroll-bar.el (set-scroll-bar-mode): Mention that
20705 `scroll-bar-mode' lists the values (bug#7772).
20706
20707 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20708 command (bug#7729).
20709
20710 * rect.el (apply-on-rectangle): Return the point after the last
20711 operation.
20712 (string-rectangle): Go to the point after the last operation
20713 (bug#7522).
20714
20715 * printing.el (pr-toggle-region): Clarify the documentation
20716 slightly (bug#7493).
20717
20718 * time.el (display-time-update):
20719 Allow `display-time-mail-function' to return nil (bug#7158).
20720 Fix suggested by Detlev Zundel.
20721
20722 * vc/diff.el (diff): Clarify the order the file names are read
20723 (bug#7111).
20724
20725 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20726 the doc string (bug#7015).
20727
20728 * font-lock.el (font-lock-maximum-decoration): Mention what
20729 numeric levels mean (bug#6935).
20730
20731 * startup.el (initial-buffer-choice): Don't mention the `none'
20732 selection, which is against policy.
20733
20734 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20735
20736 * window.el (display-buffer-normalize-special):
20737 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20738
20739 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20740
20741 * subr.el (version<, version<=, version=): Mention "-CVS" and
20742 "-12345" alpha version numbers.
20743
20744 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20745
20746 * bindings.el: Add advertised binding for set-mark-command
20747 (Bug#5772).
20748
20749 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20750
20751 * bindings.el (mode-line-other-buffer):
20752 * bookmark.el (bookmark-bmenu-2-window):
20753 * bs.el (bs-cycle-next, bs-cycle-previous):
20754 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20755 switch-to-buffer.
20756
20757 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20758 Delete.
20759
20760 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20761
20762 * follow.el (follow-debug-message, follow-redisplay):
20763 * jka-cmpr-hook.el (with-auto-compression-mode):
20764 Fix typos in docstrings.
20765
20766 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20767
20768 * subr.el (with-silent-modifications): Clarify somewhat what the
20769 macro inhibits (bug#6525).
20770
20771 * simple.el (eval-expression): Note what it does if called
20772 interactively (bug#6495).
20773
20774 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20775
20776 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20777 Use pop-to-buffer buffer-or-name if it is nil.
20778
20779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20780 Remove switch-to-buffer.
20781
20782 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20783
20784 * files.el (make-directory): Clarify that an error will be raised
20785 if there's an error (bug#6397).
20786
20787 * startup.el (initial-buffer-choice): Add `none' as a choice
20788 (bug#6234).
20789
20790 * subr.el (add-hook): Clarify section about buffer-local hooks
20791 (bug#6218).
20792
20793 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20794
20795 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20796
20797 * tabify.el (untabify): Preserve the current column so that point
20798 doesn't move (bug#6032).
20799
20800 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20801
20802 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20803 Rewrite to avoid awkward possessive "s" (bug#5986).
20804
20805 2011-07-13 Glenn Morris <rgm@gnu.org>
20806
20807 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20808 (dired-insert-directory): Give a message the first time
20809 if ls is found not to support --dired.
20810
20811 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20812
20813 * simple.el (toggle-truncate-lines): Clarify what is toggled
20814 (bug#5580). Text by Drew Adams.
20815
20816 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20817
20818 * simple.el (blink-matching-open): Make the error message from the
20819 last change less verbose.
20820
20821 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20822
20823 * font-lock.el (font-lock-comment-face): Use the high contrast
20824 "yellow" color for font-lock-comment-face on low color terminals
20825 using a dark background color (bug#4221).
20826
20827 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20828
20829 * dired.el (dired-insert-set-properties): Make the doc string
20830 reflect what it does now (bug#5325).
20831
20832 * simple.el (blink-matching-open): Say that we were unable to find
20833 the match within the limit, if we're limited (bug#5122).
20834
20835 * international/mule-cmds.el (prefer-coding-system): Add an
20836 example (bug#4869).
20837
20838 * progmodes/etags.el (tags-search): Document `file-list-form'
20839 (bug#4731).
20840
20841 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20842
20843 * net/browse-url.el (browse-url-default-browser)
20844 (browse-url-browser-function): Make the default browser choice a
20845 bit more logical (bug#4300). Also clean up the doc string.
20846
20847 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20848
20849 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20850 binary endings (bug#4440).
20851
20852 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20853
20854 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20855 which can be pretty annoying (bug#8971).
20856
20857 * jka-compr.el (jka-compr-verbose): New variable, and use
20858 throughout (bug#8971).
20859
20860 * info.el (Info-find-file): Fall back on the installation
20861 directory if we can't find the info node anywhere else.
20862
20863 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20864
20865 * vc/vc.el (vc-revert-file):
20866 Don't set file time-stamp in the past. (Bug#5181)
20867
20868 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20869
20870 * files.el (after-find-file): Give a better error message when
20871 trying to find a symlink that points to a file that doesn't exist
20872 (bug#4398).
20873
20874 * progmodes/cc-vars.el: Remove (probably) misleading comment
20875 (bug#4396).
20876
20877 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20878
20879 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20880
20881 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20882
20883 * mouse-sel.el: Hack restoring functionality, while keeping
20884 compatibility with 2010-07-03 changes to mouse selection.
20885 (mouse-sel-primary-overlay): New var.
20886 (mouse-sel-selection-alist): Use it.
20887 (mouse-sel-mode): Doc fix; remove points that are default features
20888 of mouse.el.
20889
20890 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20891
20892 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20893 Fix previous fix (bug#2490).
20894
20895 2011-07-12 Roland Winkler <winkler@gnu.org>
20896
20897 * textmodes/bibtex.el (bibtex-initialize):
20898 Use pop-to-buffer-same-window.
20899 (bibtex-search-entries): Fix interactive call.
20900
20901 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20902
20903 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20904 Fontise bytecomp Error lines more correctly (bug#2490).
20905 Fix suggested by Johan Bockgård.
20906
20907 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20908
20909 * dired-x.el (dired-guess-default): Use `delete-dups'.
20910
20911 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20912
20913 * dired.el (dired-mark-prompt):
20914 * dired-aux.el (dired-read-shell-command): Doc fix.
20915
20916 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20917
20918 * mail/sendmail.el (sendmail-query-once):
20919 Use `customize-save-variable' unconditionally, now that it works under
20920 emacs -Q.
20921
20922 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20923
20924 * cus-edit.el (custom-file): Take an optional no-error variable.
20925 (customize-save-variable): Set the variable, and give a warning if
20926 running under "emacs -q".
20927
20928 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20929
20930 * loadhist.el (unload-feature-special-hooks):
20931 Add `auto-coding-functions', `fill-nobreak-predicate' and
20932 `find-directory-functions' (bug#5327).
20933
20934 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20935
20936 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20937
20938 * cus-edit.el (custom-guess-name-alist): -alist variables should
20939 use the `alist' type (bug#3120). Suggested by Drew Adams.
20940
20941 * printing.el: Add documentation to all the `pr-toggle-' commands.
20942
20943 2011-07-11 Leo Liu <sdl.web@gmail.com>
20944
20945 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20946 backends where it makes sense (bug#2623).
20947
20948 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20949
20950 * dired-x.el (dired-guess-default): Remove duplicate shell command
20951 entries (bug#2028).
20952 (dired-guess-default): Fix grammar in doc string (bug#2028).
20953 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20954
20955 * subr.el (remove-duplicates): New conveniency function.
20956
20957 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20958
20959 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20960 (bug#1526).
20961
20962 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20963
20964 * window.el (display-buffer-normalize-default): Don't invert
20965 meaning of even-window-heights. Reported by Eli Zaretskii
20966 <eliz@gnu.org>.
20967
20968 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20969
20970 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20971
20972 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20973
20974 * window.el (display-buffer): Fix arguments to
20975 display-buffer-reuse-window in last change.
20976
20977 * faces.el (link): Use a less saturated blue on light backgrounds.
20978
20979 * startup.el (fancy-startup-text, fancy-about-text)
20980 (fancy-startup-tail): Use font-lock faces, for background safety.
20981
20982 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20983
20984 * emulation/viper-cmd.el (viper-change-state-to-vi):
20985 Limit triggering of abbrev expansion (Bug#9038).
20986
20987 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20988
20989 * window.el (display-buffer-default-specifiers): Remove.
20990 (display-buffer-macro-specifiers): Remove default specifiers.
20991 (display-buffer-alist): Default to nil.
20992 (display-buffer-reuse-window): New optional argument other-window.
20993 (display-buffer-pop-up-window): Allow splitting internal
20994 windows. Check whether a live window was created.
20995 (display-buffer-other-window-means-other-frame)
20996 (display-buffer-normalize-arguments): Rename to
20997 display-buffer-normalize-argument and rewrite. Set the
20998 other-window specifier.
20999 (display-buffer-normalize-special): New function.
21000 (display-buffer-normalize-options): Rename to
21001 display-buffer-normalize-default and rewrite.
21002 (display-buffer-normalize-options-inhibit): Remove.
21003 (display-buffer-normalize-specifiers): Rewrite.
21004 (display-buffer): Process other-window specifier and call
21005 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21006 more faithfully.
21007 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21008 (display-buffer-alist-set): Don't handle 'unset default values.
21009 (display-buffer-in-window, display-buffer-alist-set):
21010 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21011 <tassilo@member.fsf.org>.
21012
21013 2011-07-09 Leo Liu <sdl.web@gmail.com>
21014
21015 * register.el (insert-register): Restore accidental change on
21016 2011-06-26. (Bug#9028)
21017
21018 2011-07-09 Glenn Morris <rgm@gnu.org>
21019
21020 * subr.el (remq): Handle the empty list. (Bug#9024)
21021
21022 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21023
21024 * mail/sendmail.el (send-mail-function): No longer delay custom
21025 initialization.
21026 * custom.el (custom-initialize-delay): Doc fix.
21027
21028 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21029
21030 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21031
21032 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21033
21034 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21035 human-friendly prompt.
21036
21037 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21038
21039 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21040 provided by a particular plugin.
21041
21042 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21043
21044 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21045 save customizations (with "emacs -Q"), just set the variable
21046 instead of erroring out.
21047
21048 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21049
21050 2011-07-08 Juri Linkov <juri@jurta.org>
21051
21052 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21053 (archive-zip-update-case): Use 7z if found by `executable-find'.
21054 The order of searching the available programs is the same as in
21055 `archive-zip-extract' (bug#8968).
21056
21057 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21058
21059 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21060 (menu-bar-options-menu): Tweak descriptions.
21061
21062 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21063
21064 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21065 menu items into verb phrases (bug#1421). Also refill to fit under
21066 80 columns.
21067
21068 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21069
21070 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21071 (Info-read-node-name): Doc fix (Bug#1084).
21072
21073 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21074 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21075 (end-of-sexp, beginning-of-sexp)
21076 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21077 (forward-symbol, forward-same-syntax, word-at-point)
21078 (sentence-at-point): Doc fix (Bug#1144).
21079
21080 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21081
21082 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21083 should cover it (bug#1281).
21084
21085 * cus-edit.el (custom-show): Mark as obsolete.
21086
21087 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21088 negotiation fails, then possibly try again with a non-encrypted
21089 connection (bug#9017).
21090
21091 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21092 be used.
21093
21094 2011-07-07 Richard Stallman <rms@gnu.org>
21095
21096 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21097 property, and handle its changed format.
21098 Look for the correct line number.
21099 Use file's line contents (but not past first =) to find
21100 correct line in message.
21101
21102 2011-07-07 Kenichi Handa <handa@m17n.org>
21103
21104 * international/characters.el (build-unicode-category-table):
21105 Delete it.
21106 (unicode-category-table): Set it by unicode-property-table-internal.
21107
21108 * international/mule-cmds.el (char-code-property-alist): Move to
21109 to src/chartab.c.
21110 (get-char-code-property): Call unicode-property-table-internal to
21111 load a file. Call get-unicode-property-internal where necessary.
21112 (put-char-code-property): Call unicode-property-table-internal to
21113 load a file. Call put-unicode-property-internal where necessary.
21114 put-unicode-property-internal where necessary.
21115 (char-code-property-description):
21116 Call unicode-property-table-internal to load a file.
21117
21118 * international/charprop.el:
21119 * international/uni-bidi.el:
21120 * international/uni-category.el:
21121 * international/uni-combining.el:
21122 * international/uni-comment.el:
21123 * international/uni-decimal.el:
21124 * international/uni-decomposition.el:
21125 * international/uni-digit.el:
21126 * international/uni-lowercase.el:
21127 * international/uni-mirrored.el:
21128 * international/uni-name.el:
21129 * international/uni-numeric.el:
21130 * international/uni-old-name.el:
21131 * international/uni-titlecase.el:
21132 * international/uni-uppercase.el: Regenerate.
21133
21134 * loadup.el: Load international/charprop.el before
21135 international/characters.
21136
21137 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21138
21139 * window.el (next-buffer, previous-buffer): Signal an error if
21140 called from a minibuffer window.
21141
21142 * bindings.el: Revert 2011-07-04 change.
21143
21144 2011-07-06 Richard Stallman <rms@gnu.org>
21145
21146 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21147 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21148 Treat markers like ints.
21149 (rmail-mime-entity): Doc fix.
21150
21151 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21152
21153 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21154 defcustom again for backwards compatibility.
21155
21156 * simple.el (shell-command-on-region): Fill.
21157
21158 * dired-aux.el (dired-kill-line): Add a doc string.
21159
21160 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21161 to "\\sw\\|\\s_" (bug#358).
21162
21163 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21164 (dired-unmark-backward): Ditto.
21165 (dired-flag-backup-files): Ditto.
21166
21167 * dired-x.el (dired-mark-sexp): Ditto.
21168
21169 2011-07-06 Richard Stallman <rms@gnu.org>
21170
21171 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21172 (rmail-mime-entity): New arg TRUNCATED.
21173 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21174 New functions.
21175 (rmail-mime-save): Warn if entity is truncated.
21176 (rmail-mime-toggle-hidden): Likewise, for showing.
21177 (rmail-mime-process-multipart): Record when an entity is truncated.
21178
21179 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21180 if ENTITY is a string.
21181
21182 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21183
21184 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21185 of faces when `M-C-x'-ing their definitions (bug#8378).
21186 Also clean up the code slightly.
21187
21188 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21189 because that makes the colors go away.
21190
21191 * mail/sendmail.el (send-mail-function): Change the default to
21192 `sendmail-query-once'.
21193 (sendmail-query-once): Add an autoload cookie.
21194
21195 * net/network-stream.el (network-stream-open-starttls): Try using
21196 a plain connection even if the server offered STARTTLS, and we
21197 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21198 capability. This should make smtpmail.el work in slightly more
21199 configurations.
21200
21201 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21202
21203 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21204 New defun.
21205 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21206
21207 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21208
21209 * progmodes/sql.el: Version 3.0
21210 (sql-product-alist): Add product :completion-object,
21211 :completion-column, and :statement attributes.
21212 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21213 (sql-mode-syntax-table): Mark all punctuation.
21214 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21215 ansi keywords.
21216 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21217 (sql-mode-oracle-font-lock-keywords): Improve.
21218 (sql-oracle-show-reserved-words): New function for development.
21219 (sql-product-font-lock): Simplify for source code buffers.
21220 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21221 New functions.
21222 (sql-highlight-product): Set product specific syntax table.
21223 (sql-mode-map): Add statement movement functions.
21224 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21225 New variable.
21226 (sql-statement-regexp, sql-beginning-of-statement)
21227 (sql-end-of-statement, sql-signum): New functions.
21228 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21229 (sql-show-sqli-buffer): Bug fix.
21230 (sql-interactive-mode): Store connection data as buffer local.
21231 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21232 with sql-interactive-mode.
21233 (sql-save-connection): Save buffer local settings.
21234 (sql-connection-menu-filter): Change menu entry name.
21235 (sql-product-interactive): Bug fix.
21236 (sql-preoutput-hold): New variable.
21237 (sql-interactive-remove-continuation-prompt): Bug fixes.
21238 (sql-debug-redirect): New variable.
21239 (sql-str-literal): New function.
21240 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21241 Redesign.
21242 (sql-oracle-save-settings, sql-oracle-restore-settings)
21243 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21244 (sql-completion-object, sql-completion-column)
21245 (sql-completion-sqlbuf): New variables.
21246 (sql-build-completions-1, sql-build-completions)
21247 (sql-try-completion): New functions.
21248 (sql-read-table-name): Use them.
21249 (sql-contains-names): New buffer local variable.
21250 (sql-list-all, sql-list-table): Use it.
21251 (sql-oracle-completion-types): New variable.
21252 (sql-oracle-completion-object, sql-sqlite-completion-object)
21253 (sql-postgres-completion-object): New functions.
21254
21255 2011-07-06 Glenn Morris <rgm@gnu.org>
21256
21257 * window.el (pop-to-buffer): Doc fix.
21258
21259 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21260
21261 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21262
21263 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21264
21265 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21266
21267 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21268
21269 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21270
21271 * button.el (button): Inherit from link face. Suggested by Dan
21272 Nicolaescu.
21273
21274 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21275
21276 * progmodes/gdb-mi.el: Fit in 80 columns.
21277 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21278 switch-to-buffer.
21279
21280 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21281 if imenu is simply not configured (bug#8941).
21282
21283 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21284
21285 * allout.el (allout-post-undo-hook): New allout outline-change
21286 event hook to signal undo activity.
21287 (allout-post-command-business): Run allout-post-undo-hook if an
21288 undo just occurred.
21289 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21290 * allout-widgets.el (allout-widgets-after-undo-function):
21291 Ensure the integrity of the current item's decoration after it has been
21292 in the vicinity of an undo.
21293 (allout-widgets-mode): Include allout-widgets-after-undo-function
21294 on the new allout-post-undo-hook.
21295
21296 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21297
21298 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21299 Let define-derived-mode define it.
21300 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21301 cycles of abbrev-table inheritance (bug#8998).
21302
21303 2011-07-05 Roland Winkler <winkler@gnu.org>
21304
21305 * textmodes/bibtex.el: Add support for biblatex.
21306 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21307 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21308 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21309 (bibtex-entry-alist, bibtex-field-alist): New variables.
21310 (bibtex-entry-field-alist): Obsolete alias for
21311 bibtex-BibTeX-entry-alist.
21312 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21313 (bibtex-set-dialect): New command.
21314 (bibtex-entry-type, bibtex-entry-head)
21315 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21316 Bind via bibtex-set-dialect.
21317 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21318 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21319 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21320 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21321 Define via bibtex-set-dialect.
21322 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21323 Obey bibtex-no-opt-remove-re.
21324 (bibtex-vec-push, bibtex-vec-incr): New functions.
21325 (bibtex-format-entry, bibtex-field-list)
21326 (bibtex-print-help-message, bibtex-validate)
21327 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21328
21329 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21330
21331 * progmodes/compile.el (compilation-goto-locus):
21332 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21333 * bs.el (bs-cycle-next, bs-cycle-previous):
21334 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21335 * bindings.el (mode-line-other-buffer):
21336 * autoinsert.el (auto-insert):
21337 * arc-mode.el (archive-extract):
21338 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21339
21340 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21341
21342 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21343 Fix check of `emacs-lock-unlockable-modes'.
21344 Coerce true values of `emacs-lock--try-unlocking' to t.
21345
21346 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21347
21348 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21349 * emacs-lock.el: New file.
21350
21351 2011-07-05 Julien Danjou <julien@danjou.info>
21352
21353 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21354 than `boundp' to check if face is set.
21355
21356 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21357
21358 * register.el (registerv-make):
21359 * window.el (window-min-height): Fix typos in docstrings.
21360
21361 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21362
21363 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21364 Update doc string.
21365
21366 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21367
21368 * server.el (server-execute): Catch quit and call
21369 `server-return-error' to pass the error back to emacsclient and
21370 close the connection (bug#8942).
21371
21372 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21373
21374 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21375 insecure exception for current topic. Also note that auto-saves
21376 are handled differently.
21377
21378 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21379 State variables for tracking auto-save inhibition situation.
21380
21381 (allout-write-contents-hook-handler): Rename from
21382 'allout-write-file-hook-handler', and describe how it depends on
21383 write-contents-functions sensitivity to non-nil value to prevent
21384 file write.
21385
21386 (allout-auto-save-hook-handler): Remove. auto-save does not check
21387 this in individual buffers, only in the starting buffer, so this
21388 is not the right way for us to inhibit auto-save in a buffer
21389 according to its condition.
21390
21391 (allout-mode): Use new allout-write-contents-hook-handler, and
21392 only with write-contents-functions. Remove auto-save provisions -
21393 they're implemented elsewhere.
21394
21395 (allout-before-change-handler): If undo is in progress, note that
21396 for attention of allout-post-command-business.
21397
21398 (allout-post-command-business): If the command we're following was
21399 an undo, check for change in the status of encrypted items and
21400 adjust auto-save inhibitions accordingly.
21401
21402 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21403 according to whether there are or aren't any plain-text topics
21404 pending encryption.
21405
21406 (allout-inhibit-auto-save-info-for-decryption):
21407 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21408 if there are plain-text topics pending encryption.
21409
21410 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21411 buffer-saved-size and some allout state to not inhibit auto-saves
21412 if there are no longer any plain-text topics pending encryption.
21413
21414 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21415 No longer provide for exemption of the current topic.
21416
21417 2011-07-04 Juri Linkov <juri@jurta.org>
21418
21419 Add 7z operations to delete and save changed members (bug#8968).
21420 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21421 New defcustoms.
21422 (archive-7z-write-file-member): New function.
21423 (archive-7z-summarize): Fix the number of dashes in the
21424 listing output.
21425
21426 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21427
21428 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21429 (bug#8958).
21430
21431 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21432
21433 * bindings.el: Ignore next-buffer and previous-buffer in
21434 minibuffer-local-map.
21435
21436 * font-lock.el (font-lock-builtin-face): Change light background
21437 color to dark slate blue (Bug#6693).
21438
21439 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21440
21441 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21442
21443 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21444
21445 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21446 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21447 Add switch-to-buffer.
21448
21449 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21450
21451 * isearch.el (isearch-search-fun-function): Clarify further the
21452 meaning of the function returned.
21453
21454 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21455
21456 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21457
21458 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21459 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21460 Use it.
21461 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21462 `tramp-default-remote-path' does not exist.
21463 (tramp-send-command-and-read): New optional argument NOERROR.
21464 (tramp-open-connection-setup-interactive-shell)
21465 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21466 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21467 (tramp-process-sentinel): Flush also process' connection property.
21468 (tramp-sh-handle-start-file-process): Do not set process
21469 sentinel. It is done now ...
21470 (tramp-maybe-open-connection): ... here. (Bug#8929)
21471
21472 2011-07-04 MON KEY <monkey@sandpframing.com>
21473
21474 * play/animate.el (animate-string): Doc fixes and allow changing
21475 the buffer name (bug#5417).
21476
21477 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21478
21479 * play/animate.el (animation-buffer-name): Rename from *animate*.
21480
21481 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21482
21483 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21484 This is simpler and helps future-proof the code.
21485 (timer-until): Use time-subtract and float-time.
21486 (timer--time-less-p): Use time-less-p.
21487
21488 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21489
21490 * type-break.el (timep): Use the value of `float-time' to avoid a
21491 byte-compiler warning.
21492
21493 * server.el (server-eval-and-print): Return any result, even nil.
21494
21495 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21496
21497 * type-break.el: Accept time formats that the builtins accept.
21498 (timep, type-break-time-difference): Accept any format that
21499 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21500 This is simpler and helps future-proof the code.
21501 (type-break-time-difference): Round rather than ignoring
21502 subseconds components.
21503
21504 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21505
21506 * info.el (Info-apropos-matches): Make non-interactive, since it
21507 doesn't seem to do anything useful as a command (bug#8829).
21508
21509 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21510
21511 * frame.el (frame-background-mode, frame-set-background-mode):
21512 Move from faces.el.
21513 (frame-default-terminal-background): New function.
21514
21515 * custom.el (custom-push-theme): Don't record faces in `changed'
21516 theme; this doesn't work correctly for per-frame face settings.
21517 (disable-theme): Use face-set-after-frame-default to reset faces.
21518 (custom--frame-color-default): New function.
21519
21520 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21521
21522 * dired.el (dired-flagging-regexp): Remove unused variable
21523 (bug#8769).
21524
21525 2011-03-29 Kevin Ryde <user42@zip.com.au>
21526
21527 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21528 `perl-Test2' extend to match possible "fail #N" rep count
21529 (bug#8377).
21530
21531 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21532
21533 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21534 `smtpmail-via-smtp' now returns the error instead of nil.
21535
21536 * isearch.el (isearch-search-fun-function): Clarify the doc string
21537 (bug#8101).
21538
21539 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21540
21541 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21542 unnecessary spaces (bug#8987).
21543
21544 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21545
21546 * net/network-stream.el (open-network-stream): Use the
21547 :end-of-capability command thoughout.
21548
21549 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21550
21551 * net/network-stream.el (open-network-stream): Add the
21552 :end-of-capability command parameter, used by pop3.el.
21553
21554 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21555
21556 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21557
21558 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21559 for list)" (bug#6475).
21560
21561 * files.el (file-expand-wildcards): Ignore non-readable
21562 sub-directories while trying to find matches instead of signaling
21563 an error (bug#6297).
21564
21565 * man.el (Man-reference-regexp): Allow matching possible
21566 word-wrapped references (bug#6289).
21567
21568 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21569 for consistency with the other vc buffers (bug#6197).
21570 (vc-checkin): Ditto.
21571
21572 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21573
21574 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21575
21576 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21577
21578 * custom.el (defcustom): Clarify that :set is only used in the
21579 Customize user interface (bug#6089).
21580
21581 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21582 associated with a file, refuse to run instead of erroring out
21583 (bug#6084).
21584
21585 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21586 the doc string, since it appears that using `fill-column' always
21587 controls the width (bug#7845).
21588
21589 * simple.el (shell-command-on-region): Say where the error output
21590 went if `shell-command-default-error-buffer' is set (bug#6857).
21591
21592 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21593
21594 * allout.el (allout-yank-processing): Adjust cursor position for
21595 backwards-deleted space.
21596
21597 (allout-rebullet-heading): Register changes with
21598 allout-exposure-changed-hook, so the modified topic is properly
21599 decorated.
21600
21601 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21602
21603 * minibuffer.el (completion-in-region): Document PREDICATE
21604 (bug#7136).
21605
21606 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21607 of keyword/argument pairs (bug#6904).
21608
21609 * replace.el (multi-occur):
21610 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21611
21612 2011-07-02 Drew Adams <drew.adams@oracle.com>
21613
21614 * dired.el (dired-mark-if): Make the message about whether it's
21615 marking or unmarking clearer (bug#8523).
21616
21617 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21618
21619 * disp-table.el (display-table-print-array): New function.
21620 (describe-display-table): Use it to print the vectors more pretty
21621 (Bug#8859).
21622
21623 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21624
21625 * window.el (window-state-get-1): Don't assign clone numbers.
21626 Add clone-of item to list of window parameters.
21627 (window-state-put-2): Don't process clone numbers.
21628 (display-buffer-alist): Fix doc-string.
21629
21630 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21631
21632 * subr.el (remq): Don't allocate if it's not needed.
21633 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21634 (keymap--merge-bindings): New functions.
21635 (keymap-canonicalize): Use them to refine the canonicalization.
21636 * minibuffer.el (minibuffer-local-completion-map)
21637 (minibuffer-local-must-match-map): Move initialization from C.
21638 (minibuffer-local-filename-completion-map): Move initialization from C;
21639 don't inherit from anything here.
21640 (minibuffer-local-filename-must-match-map): Make obsolete.
21641 (completing-read-default): Use make-composed-keymap to combine
21642 minibuffer-local-filename-completion-map with either
21643 minibuffer-local-must-match-map or
21644 minibuffer-local-filename-completion-map.
21645
21646 2011-07-01 Glenn Morris <rgm@gnu.org>
21647
21648 * type-break.el (type-break-time-sum): Use dolist.
21649
21650 * textmodes/flyspell.el (flyspell-word-search-backward):
21651 Replace CL function.
21652
21653 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21654
21655 * mouse.el (mouse--strip-first-event): New function.
21656 (function-key-map): Use it to map fringe clicks to normal clicks
21657 by default.
21658
21659 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21660 (vc-bzr-revision-completion-table): Add support for annotate and date.
21661
21662 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21663 inherit from parent.
21664
21665 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21666
21667 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21668 (dired-show-file-type): Doc fixup (bug#8818).
21669
21670 * dired.el (dired-mode): Fix up the doc string as suggested by
21671 Drew Adams (bug#8817).
21672
21673 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21674 cookie, since the manual says that it should be possible to add
21675 this function to `find-file-hook' (bug#8709).
21676
21677 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21678
21679 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21680 here. Noted Ted Zlatanov as the maintainer.
21681 (cfengine-common-settings, cfengine-common-syntax): New functions
21682 to set up common things between `cfengine-mode' and
21683 `cfengine3-mode'.
21684 (cfengine3-mode): New mode.
21685 (cfengine3-defuns cfengine3-defuns-regex
21686 (cfengine3-class-selector-regex cfengine3-category-regex)
21687 (cfengine3-vartypes cfengine3-font-lock-keywords)
21688 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21689 (cfengine3-indent-line): Add from cfengine3.el.
21690
21691 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21692
21693 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21694
21695 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21696
21697 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21698
21699 * window.el (same-window-buffer-names, same-window-regexps)
21700 (same-window-p, special-display-frame-alist)
21701 (special-display-popup-frame, special-display-function)
21702 (special-display-buffer-names, special-display-regexps)
21703 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21704 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21705 (split-window-preferred-function, split-height-threshold)
21706 (split-width-threshold, even-window-heights)
21707 (display-buffer-mark-dedicated, window-splittable-p)
21708 (split-window-sensibly, window-safely-shrinkable-p):
21709 Un-obsolete.
21710 (display-buffer): Don't spread args with function specifier
21711 because special-display-popup-frame won't like it.
21712
21713 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21714
21715 Time-stamp simplifications and fixes.
21716 These improve accuracy slightly, and future-proof the code
21717 against some potential changes to current-time format.
21718
21719 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21720 by using time-since and float-time.
21721
21722 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21723 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21724 + NNN microseconds".
21725
21726 * type-break.el (type-break-time-sum): Rewrite using time-add.
21727
21728 * play/hanoi.el (hanoi-current-time-float): Remove.
21729 All uses replaced by float-time.
21730
21731 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21732 This yields a more-accurate answer.
21733 (rng-time-to-float): Remove; no longer needed.
21734
21735 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21736
21737 * calendar/timeclock.el (timeclock-seconds-to-time):
21738 Defalias to seconds-to-time, since they're the same thing.
21739
21740 * emacs-lisp/elp.el (elp-elapsed-time):
21741 * emacs-lisp/benchmark.el (benchmark-elapse):
21742 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21743
21744 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21745
21746 * window.el (bury-buffer): Don't iconify the only frame.
21747 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21748 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21749
21750 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21751
21752 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21753 Add mouse-yank-primary.
21754
21755 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21756
21757 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21758
21759 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21760
21761 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21762 (find-library-name): Use it to find relative load names when provided
21763 absolute file name (bug#8803).
21764
21765 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21766
21767 * textmodes/flyspell.el (flyspell-word): Consider words that
21768 differ only in case as potential doublons (bug#5687).
21769
21770 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21771 Remove two rather uninteresting debugging-like messages to make
21772 debbugs.el more silent.
21773
21774 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21775 a password-like phrase.
21776
21777 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21778
21779 * progmodes/cc-guess.el: New file.
21780
21781 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21782
21783 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21784 derived from `c-basic-common-init'.
21785
21786 * progmodes/cc-mode.el (top-level): Require cc-guess.
21787 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21788
21789 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21790
21791 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21792
21793 2011-06-30 Alan Mackenzie <acm@muc.de>
21794
21795 * progmodes/cc-engine.el (c-guess-continued-construct):
21796 Correct the handling of template-args-cont, particularly for when font
21797 lock is disabled. Name this case as "CASE G".
21798
21799 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21800
21801 * allout.el (allout-yank-processing): Fix injection of extra space
21802 between bullet and non-whitespace character in first topic when
21803 pasting, ensuring that the actual spacing in the pasted topic
21804 following the bullet char is preserved. This extra space was
21805 causing pasted encrypted topics to get a decrypted status even
21806 when the content was actually still encrypted. Now the decryption
21807 status from before the paste is preserved.
21808
21809 (allout-flag-region): Set all allout overlays so they evaporate
21810 when reduced to zero length (evanescent), to prevent overlay
21811 leakage.
21812
21813 2011-06-30 Glenn Morris <rgm@gnu.org>
21814
21815 * w32-fns.el (w32-charset-info-alist): Declare.
21816
21817 * find-dired.el (find-grep-options): Simplify.
21818
21819 * term/ns-win.el (ns-set-resource): Declare.
21820
21821 * ses.el (row, col): Declare dynamic variables honestly.
21822
21823 * textmodes/reftex-parse.el (index-tags): Declare.
21824
21825 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21826
21827 * cus-edit.el (customize-push-and-save): New function.
21828
21829 * files.el (hack-local-variables-confirm): Use it.
21830
21831 * custom.el (load-theme): New arg NO-CONFIRM.
21832 Use customize-push-and-save (Bug#8720).
21833 (custom-enabled-themes): Doc fix.
21834
21835 * cus-theme.el (customize-create-theme)
21836 (custom-theme-merge-theme): Callers to load-theme changed.
21837
21838 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21839
21840 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21841 short URLs have at least one dot in them (bug #7614).
21842
21843 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21844 nil, because using a pty is apparently too slow (bug #895).
21845
21846 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21847
21848 * mail/sendmail.el (sendmail-query-once): New function.
21849 (sendmail-query-once-function): New variable.
21850
21851 2011-06-29 Glenn Morris <rgm@gnu.org>
21852
21853 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21854
21855 * ses.el (top-level): Require cl when compiling.
21856 (ses-set-localvars): Fix error statement.
21857 Call it at compile time to silence a storm of warnings.
21858
21859 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21860
21861 * window.el (normalize-live-buffer): Rename to
21862 window-normalize-buffer.
21863 (normalize-live-frame): Rename to window-normalize-frame.
21864 (normalize-any-window): Rename to window-normalize-any-window.
21865 (normalize-live-window): Rename to window-normalize-live-window.
21866 (make-window-atom): Rename to window-make-atom.
21867 (window-resize-reset): Rename to window--resize-reset.
21868 (window-resize-reset-1): Rename to window--resize-reset-1.
21869 (resize-mini-window): Rename to window--resize-mini-window.
21870 (resize-subwindows-skip-p): Rename to
21871 window--resize-subwindows-skip-p.
21872 (resize-subwindows-normal): Rename to
21873 window--resize-subwindows-normal.
21874 (resize-subwindows): Rename to window--resize-subwindows.
21875 (resize-other-windows): Rename to window--resize-siblings.
21876 (resize-this-window): Rename to window--resize-this-window.
21877 (resize-root-window): Rename to window--resize-root-window.
21878 (resize-root-window-vertically): Rename to
21879 window--resize-root-window-vertically.
21880 (normalize-buffer-to-display): Rename to
21881 window-normalize-buffer-to-display.
21882 (normalize-buffer-to-switch-to): Rename to
21883 window-normalize-buffer-to-switch-to.
21884 Correspondingly update all callers of the functions listed
21885 above.
21886 (display-buffer-alist, display-buffer-normalize-arguments)
21887 (display-buffer-normalize-options, display-buffer)
21888 (display-buffer-alist-set): Use "function" instead of
21889 "fun-with-args".
21890
21891 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21892
21893 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21894 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21895 debbugs.gnu.org. Mention acknowledgment email.
21896
21897 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21898
21899 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21900 buffer multibyteness, since it shouldn't matter.
21901
21902 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21903
21904 * window.el (display-buffer-in-side-window): Handle dedicated
21905 windows as in display-buffer-reuse-window.
21906 (display-buffer-normalize-alist): Use value of override
21907 specifier.
21908 (display-buffer-normalize-specifiers): Use value of
21909 other-window-means-other-frame specifier.
21910 (display-buffer-alist): Rewrite some texts in widgets.
21911 (display-buffer): Spread arguments when calling function
21912 specified by fun-with-args.
21913
21914 2011-06-28 Deniz Dogan <deniz@dogan.se>
21915
21916 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21917 Unnest `let'.
21918
21919 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21920 selectors (Bug#5732).
21921 (css-proprietary-nmstart-re): Use `regexp-opt'.
21922
21923 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21924
21925 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21926 (eshell-ls-date-format): New defcustom.
21927 (eshell-ls-file): Use it.
21928
21929 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21930
21931 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21932
21933 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21934
21935 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21936 (ange-ftp-make-tmp-name): New arg.
21937 (ange-ftp-file-local-copy): Use it.
21938
21939 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21940
21941 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21942 no-conversion (Bug#8870).
21943
21944 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21945
21946 * window.el (window-right, window-left, window-child)
21947 (window-child-count, window-last-child)
21948 (window-iso-combination-p, walk-window-tree-1)
21949 (window-atom-check-1, window-tree-1, delete-window)
21950 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21951 new naming conventions - window-vchild, window-hchild,
21952 window-next and window-prev are now called window-top-child,
21953 window-left-child, window-next-sibling and window-prev-sibling
21954 respectively.
21955 (resize-window-reset): Rename to window-resize-reset.
21956 (resize-window-reset-1): Rename to window-resize-reset-1.
21957 (resize-window): Rename to window-resize.
21958 (window-min-height, window-min-width)
21959 (resize-mini-window, resize-this-window, resize-root-window)
21960 (resize-root-window-vertically, adjust-window-trailing-edge)
21961 (enlarge-window, shrink-window, maximize-window)
21962 (minimize-window, delete-window, quit-restore-window)
21963 (split-window, balance-windows, balance-windows-area-adjust)
21964 (balance-windows-area, window-state-put-2)
21965 (display-buffer-even-window-sizes, display-buffer-set-height)
21966 (display-buffer-set-width, set-window-text-height)
21967 (fit-window-to-buffer): Rename all "resize-window" prefixed
21968 calls to use the "window-resize" prefix convention.
21969 (display-buffer-alist): Fix symbol for label specifier.
21970 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21971 corresponding specifier.
21972 Reported by Juanma Barranquero <lekktu@gmail.com>.
21973
21974 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21975
21976 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21977 convention.
21978 (ses-call-printer): Does not pass an empty string to formatter when the
21979 cell is empty to keep from barking printer Calc math-format-value.
21980
21981 2011-06-27 Richard Stallman <rms@gnu.org>
21982
21983 * battery.el (battery-mode-line-limit): New variable.
21984 (battery-update): Handle it.
21985
21986 * mail/rmailmm.el (rmail-mime-process-multipart):
21987 Handle truncated messages.
21988
21989 2011-06-27 Glenn Morris <rgm@gnu.org>
21990
21991 * progmodes/flymake.el (flymake-err-line-patterns):
21992 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21993
21994 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21995
21996 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21997 (ses--clean-!, ses--clean-_): New functions.
21998 (ses-range): Add configurability of readout order, and conversion
21999 to Calc vector.
22000
22001 * ses.el (ses-repair-cell-reference-all): New function.
22002 (ses-cell-symbol): Set macro as safe, so that it can be used in
22003 formulas.
22004
22005 * ses.el: Update cycle detection algorithm.
22006 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22007 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22008 (ses-set-localvars): New function.
22009 (ses-make-cell): Add property-list as a cell element.
22010 (ses-cell-property-get-fun, ses-cell-property-get)
22011 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22012 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22013 New functions.
22014 (ses-cell-property-set, ses-cell-property-pop)
22015 (ses-cell-property-get-handle): New macro.
22016 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22017 New aliases, used for code readability.
22018 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22019 cycle detection.
22020 (ses-self-reference-early-detection): New defcustom.
22021 (ses-formula-references): Robustify against self-referring cells.
22022 (ses-mode): Use ses-set-localvars.
22023 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22024 before lauching the update processing.
22025 (ses-initialize-Dijkstra-attempt): New function.
22026 (ses-recalculate-cell): Update for cycle detection based on
22027 Dijkstra algorithm.
22028
22029 * ses.el: Fix commenting and indenting convention.
22030
22031 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22032
22033 * bs.el (bs-cycle-next): Complete last change.
22034
22035 2011-06-27 Drew Adams <drew.adams@oracle.com>
22036
22037 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22038
22039 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22040
22041 * net/network-stream.el (network-stream-open-starttls):
22042 Don't re-get capabilities unless we've reestablished connection.
22043 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22044
22045 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22046 to binary to possibly avoid line encoding issues on Windows (among
22047 other things).
22048
22049 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22050
22051 * net/network-stream.el (open-network-stream): Return an :error
22052 saying what the problem was, if possible.
22053
22054 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22055 server.
22056
22057 * net/network-stream.el (network-stream-open-starttls): If we
22058 wanted to use STARTTLS, and the server offered it, but we weren't
22059 able to because we had no STARTTLS support, then close the connection.
22060 (open-network-stream): Return an :error element, if present.
22061
22062 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22063
22064 * hl-line.el (hl-line-sticky-flag): Doc fix.
22065 (global-hl-line-sticky-flag): New option (Bug#8323).
22066 (global-hl-line-highlight): Obey it.
22067
22068 * vc/vc.el (vc-revert-show-diff): Default to t.
22069
22070 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22071
22072 * allout-widgets.el (allout-widgets-post-command-business):
22073 Stop decorating intermediate isearch matches. They're not being
22074 undecorated when an isearch is continued past, and isearch
22075 automatically collapses them. This leads to "widget leaks", where
22076 decorated items accumulate in collapsed areas. Lines with lots of
22077 hidden widgets can slow down cursor travel, substantially.
22078 Too much complicated machinery would be needed to ensure undecoration,
22079 so we're doing without this nicety.
22080
22081 (allout-widgets-tally-string): Don't try to do a hash-table-count
22082 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22083 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22084 *Messages* when allout-widgets-maintain-tally is t.
22085
22086 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22087
22088 * window.el (display-buffer-normalize-argument): Rename to
22089 display-buffer-normalize-arguments. Handle special meaning of
22090 LABEL argument. Respect special-display-function when popping up
22091 a new frame. Fix code searching for a window showing the buffer
22092 on another frame.
22093 (display-buffer-normalize-specifiers):
22094 Call display-buffer-normalize-arguments.
22095 (display-buffer-in-window): Don't undedicate the window if its
22096 buffer remains the same.
22097 Reported by Drew Adams <drew.adams@oracle.com>.
22098 (display-buffer-alist): Add choice for same-window macro
22099 specfier.
22100 (display-buffer): Mention special meaning of LABEL argument in
22101 doc-string. Fix quoting. Don't pop up a new frame even as
22102 fallback.
22103
22104 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22105
22106 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22107 avoid deleting the current window in some cases (bug#8911).
22108
22109 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22110
22111 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22112 (Bug#8934)
22113
22114 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22115
22116 * net/network-stream.el (network-stream-open-starttls):
22117 Use built-in TLS support if `gnutls-available-p' is true.
22118 (network-stream-open-tls): Ditto.
22119
22120 2011-06-26 Leo Liu <sdl.web@gmail.com>
22121
22122 * register.el (registerv): New struct.
22123 (registerv-make): New function.
22124 (jump-to-register, describe-register-1, insert-register):
22125 Support the jump-func, print-func and insert-func slot of a registerv
22126 struct. (Bug#8415)
22127
22128 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22129
22130 * vc/vc.el (vc-revert-show-diff): New defcustom.
22131 (vc-diff-internal): New arg specifying diff buffer.
22132 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22133 reuse an existing *vc-diff* buffer (Bug#8927).
22134
22135 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22136
22137 2011-06-26 Glenn Morris <rgm@gnu.org>
22138
22139 * progmodes/f90.el (f90-critical-indent): New option.
22140 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22141 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22142 (f90-mode): Doc fix.
22143 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22144 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22145 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22146 (f90-match-end): Handle block, critical.
22147
22148 2011-06-25 Glenn Morris <rgm@gnu.org>
22149
22150 * calendar/diary-lib.el (diary-included-files): Doc fix.
22151 (diary-include-files): New function, extracted from
22152 diary-include-other-diary-files and diary-mark-included-diary-files.
22153 (diary-include-other-diary-files, diary-mark-included-diary-files):
22154 Just call diary-include-files.
22155 (diary-mark-entries): Reset diary-included-files on first call.
22156
22157 * calendar/diary-lib.el (diary-mark-entries)
22158 (diary-mark-included-diary-files):
22159 Visit included diary-files in temp buffers.
22160
22161 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22162 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22163 (f90-start-block-re, f90-imenu-generic-expression)
22164 (f90-looking-at-program-block-start, f90-no-block-limit):
22165 Add support for submodules.
22166
22167 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22168 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22169
22170 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22171
22172 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22173 buffer-file-type before setting its value, to avoid disastrous
22174 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22175
22176 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22177
22178 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22179
22180 * ses.el (ses-unload-function):
22181 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22182
22183 * proced.el (proced-unload-function):
22184 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22185
22186 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22187
22188 * server.el (server-create-window-system-frame): Add parameters arg.
22189 (server-process-filter): Doc fix. Handle frame-parameters.
22190
22191 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22192
22193 Fix bug#8730, bug#8781.
22194
22195 * loadhist.el (unload--set-major-mode): New function.
22196 (unload-feature): Use it.
22197
22198 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22199 (python-unload-function): New function.
22200
22201 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22202
22203 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22204
22205 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22206
22207 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22208 the candidates list.
22209
22210 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22211
22212 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22213
22214 2011-06-23 Richard Stallman <rms@gnu.org>
22215
22216 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22217 (rmail-variables): Set next-error-move-function.
22218 (rmail-what-message): Take argument POS.
22219 (rmail-next-error-move): New function.
22220
22221 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22222
22223 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22224 messages for adjacent non-terminals.
22225
22226 2011-06-23 Richard Stallman <rms@gnu.org>
22227
22228 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22229 (rmail-show-message-1): Preserve buffer modified flag.
22230 (rmail-start-mail): Don't specify use of rmail-mail-return;
22231 that's done by mail-bury now.
22232 (rmail-mail-return): Handle arg NEWBUF.
22233
22234 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22235
22236 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22237 SIZE is a number.
22238
22239 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22240
22241 * window.el (get-lru-window, get-mru-window)
22242 (get-largest-window): Never return a minibuffer window.
22243 (display-buffer-pop-up-window): Fix a bug that could lead to
22244 reusing the minibuffer window.
22245 (display-buffer): Pass original specifier argument to
22246 display-buffer-function instead of the normalized one.
22247 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22248
22249 2011-06-22 Leo Liu <sdl.web@gmail.com>
22250
22251 * minibuffer.el (completing-read-function)
22252 (completing-read-default): Move from minibuf.c.
22253
22254 2011-06-22 Richard Stallman <rms@gnu.org>
22255
22256 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22257 to Rmail even if not started by a special Rmail command.
22258
22259 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22260 Copy the buffer currently showing just one message.
22261
22262 2011-06-22 Roland Winkler <winkler@gnu.org>
22263
22264 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22265 (bibtex-clean-entry): First delete the old key so that a
22266 customized algorithm for generating the new key does not get
22267 confused by the old key.
22268 (bibtex-url): Obey regexp of first step.
22269 (bibtex-search-entries): Do not use add-to-list with local
22270 list-var.
22271
22272 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22273
22274 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22275 stored a user name, then query for the password first, instead of
22276 waiting for SMTP to give an error message and the trying again.
22277
22278 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22279
22280 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22281 BUFFER in call-process.
22282
22283 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22284
22285 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22286 QUIT twice.
22287 (smtpmail-try-auth-methods): Require user name and password from
22288 auth-source.
22289
22290 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22291
22292 * window.el (display-buffer-default-specifiers)
22293 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22294 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22295 (split-window): Normalize SIDE argument (Bug#8916).
22296
22297 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22298 (special-display-frame-alist, special-display-popup-frame):
22299 Remove duplicate declarations. These are now in window.el.
22300
22301 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22302
22303 * mail/smtpmail.el (smtpmail-via-smtp):
22304 Set :use-starttls-if-possible so that we always use STARTTLS if the
22305 server supports it. SMTP servers that support STARTTLS commonly
22306 require it.
22307
22308 * net/network-stream.el (network-stream-open-starttls): Support
22309 upgrading to STARTTLS always, even if we don't have built-in support.
22310 (open-network-stream): Add the :always-query-capabilities keyword.
22311
22312 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22313 upgrades with `open-network-stream', and rely solely on
22314 auth-source for all credentials. Big changes throughout the file,
22315 but in particular:
22316 (smtpmail-auth-credentials): Remove.
22317 (smtpmail-starttls-credentials): Remove.
22318 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22319 MAIL FROM, too.
22320
22321 * net/network-stream.el (network-stream-open-starttls):
22322 Provide support for client certificates both for external and built-in
22323 STARTTLS.
22324 (auth-source): Require.
22325 (open-network-stream): Document the :client-certificate keyword.
22326 (network-stream-certificate): Change cert-cert to cert and
22327 cert-key to key.
22328
22329 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22330
22331 * net/tramp-cache.el (top): Don't load the persistency file when
22332 "emacs -Q" has been called.
22333
22334 2011-06-21 Tim Harper <timcharper@gmail.com>
22335
22336 * term/ns-win.el (ns-initialize-window-system):
22337 Set application-specific `ApplePressAndHoldEnabled' system
22338 resource to NO as it is not yet supported by the NS port.
22339
22340 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22341
22342 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22343 (list-dynamic-libraries): ...not here.
22344
22345 2011-06-21 Leo Liu <sdl.web@gmail.com>
22346
22347 * subr.el (sha1): Implement sha1 using secure-hash.
22348
22349 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22350
22351 * window.el (display-buffer-alist): In default value do not
22352 enforce searching a window on any but the selected frame.
22353 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22354 (display-buffer-select-window): Remove function.
22355 (display-buffer-in-window): When a window on another frame gets
22356 reused, do not select it any more but just raise its frame if
22357 necessary (Bug#8851) and (Bug#8856).
22358 (display-buffer-normalize-options): Handle pop-up-frames related
22359 options more faithfully.
22360 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22361 window if it is on another frame.
22362 (display-buffer-alist, display-buffer-default-specifiers):
22363 Don't make new frame unsplittable by default.
22364 (display-buffer-normalize-argument): Fix doc-string typo and use
22365 'same-frame-other-window instead of 'other-window when associating
22366 with display-buffer-macro-specifiers.
22367
22368 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22369
22370 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22371 New functions.
22372 (5x5-mode-map, 5x5-mode-menu): Bind them.
22373 (5x5-draw-grid): Tweak the solver's rendering.
22374
22375 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22376
22377 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22378 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22379
22380 2011-06-21 Drew Adams <drew.adams@oracle.com>
22381
22382 * menu-bar.el: Use function variable instead of switch-to-buffer.
22383 (menu-bar-select-buffer-function): New variable.
22384 (menu-bar-update-buffers): Use it (bug#8876).
22385
22386 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22387
22388 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22389 variable's status.
22390
22391 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22392
22393 * x-dnd.el (x-dnd-version-from-flags)
22394 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22395 and long as number (Bug#8899).
22396 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22397
22398 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22399
22400 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22401 (completion-try-completion, completion-all-completions): Compute the
22402 metadata argument if it's missing; make it optional (bug#8795).
22403
22404 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22405 (widget-complete): Use new :completion-function property.
22406 (widget-completions-at-point): New function.
22407 (default): Use :completion-function instead of :complete.
22408 (widget-default-completions): Rename from widget-default-complete;
22409 Rewrite.
22410 (widget-string-complete, widget-file-complete, widget-color-complete):
22411 Remove functions.
22412 (file, symbol, function, variable, coding-system, color):
22413 * international/mule-cmds.el (default-input-method, charset)
22414 (language-info-custom-alist):
22415 * cus-edit.el (face): Use new property :completions.
22416
22417 * progmodes/pascal.el (pascal-completions-at-point): New function.
22418 (pascal-mode): Use it.
22419 (pascal-mode-map): Use completion-at-point.
22420 (pascal-toggle-completions): Make obsolete.
22421 (pascal-complete-word, pascal-show-completions):
22422 * progmodes/octave-mod.el (octave-complete-symbol):
22423 Redefine as obsolete alias.
22424 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22425 Signal absence of completion info for old Octave,
22426 (inferior-octave-complete): Redefine as obsolete alias.
22427 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22428 (meta-completions-at-point): Rename from meta-complete-symbol and
22429 adapt it for use on completion-at-point-functions.
22430 (meta-common-mode): Use it.
22431 (meta-looking-at-backward, meta-match-buffer): Remove.
22432 (meta-complete-symbol): Redefine as obsolete alias.
22433 (meta-common-mode-map): Use completion-at-point.
22434 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22435 (makefile-mode-map): Use completion-at-point.
22436 (makefile-completions-at-point): Rename from makefile-complete and
22437 adapt it for use on completion-at-point-functions.
22438 (makefile-mode): Use it.
22439 (makefile-complete): Redefine as obsolete alias.
22440
22441 2011-06-20 Deniz Dogan <deniz@dogan.se>
22442
22443 * net/rcirc.el: Delete trailing whitespaces once and for all.
22444
22445 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22446
22447 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22448
22449 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22450
22451 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22452
22453 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22454
22455 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22456
22457 * window.el (display-buffer-other-window-means-other-frame):
22458 Call display-buffer-normalize-alist.
22459 (display-buffer-normalize-specifiers-1): Rename to
22460 display-buffer-normalize-argument. New argument other-frame.
22461 Rewrite.
22462 (display-buffer-normalize-specifiers-2): Rename to
22463 display-buffer-normalize-options.
22464 (display-buffer-normalize-alist-1): New function.
22465 (display-buffer-normalize-specifiers-3): Rename to
22466 display-buffer-normalize-alist.
22467 Call display-buffer-normalize-alist-1.
22468 (display-buffer-normalize-options-inhibit): New variable.
22469 (display-buffer-normalize-specifiers): Rewrite calling
22470 display-buffer-normalize-alist,
22471 display-buffer-normalize-argument, and
22472 display-buffer-normalize-options. Don't call the latter if
22473 display-buffer-normalize-options-inhibit is non-nil.
22474 (frame-auto-delete): New option.
22475 (window-deletable-p): Use frame-auto-delete.
22476 (window-list-no-nils, window-state-ignored-parameters)
22477 (window-state-get-1, window-state-get, window-state-put-list)
22478 (window-state-put-1, window-state-put-2, window-state-put):
22479 New functions.
22480 (display-buffer-normalize-options): Move special-display-p group
22481 after pop-up-frame group (Bug#8851) and (Bug#8856).
22482
22483 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22484
22485 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22486 groups (Bug#8776).
22487 (rx-submatch-n): New function.
22488 (rx): Document it.
22489
22490 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22491 (Bug#8768).
22492
22493 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22494
22495 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22496
22497 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22498 anytime existing face settings are present (Bug#8889).
22499
22500 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22501 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22502 Remove unused argument.
22503
22504 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22505
22506 * window.el (display-buffer-default-specifiers):
22507 Remove pop-up-frame. Add pop-up-window-min-height,
22508 pop-up-window-min-width, and another reuse-window specifier
22509 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22510 (display-buffer-normalize-specifiers-2):
22511 Handle split-height-threshold and split-width-threshold also when
22512 pop-up-windows is unset. Add a reuse-window specifier for the
22513 case popping up a new window fails.
22514 (special-display-popup-frame): Remove double quoting.
22515 (display-buffer-normalize-specifiers-1): Fix thinko.
22516
22517 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22518
22519 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22520 according to comint-completion-addsuffix.
22521
22522 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22523 (pcomplete-suffix-list): Mark as obsolete.
22524 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22525 pcomplete-seen in the closure.
22526 (pcomplete-comint-setup): Setup completion-at-point as well.
22527 (pcomplete--entries): New function.
22528 (pcomplete--env-regexp): New var.
22529 (pcomplete-entries): Rewrite to work with partial-completion and
22530 without relying on pcomplete-suffix-list.
22531 (pcomplete-pare-list): Remove, unused.
22532
22533 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22534
22535 * window.el (display-buffer-alist): Set pop-up-window-min-height
22536 and pop-up-window-min-width in default value. Reported by
22537 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22538 other-window-means-other-frame.
22539 (display-buffer-macro-specifiers): Comment out entry for
22540 other-window specifier.
22541 (display-buffer-other-window-means-other-frame): New function.
22542 (display-buffer-normalize-specifiers-1): New arguments
22543 buffer-name and label. Treat other-window case specially.
22544 (display-buffer-normalize-specifiers-2): Treat other-window case
22545 specially.
22546 (display-buffer-normalize-specifiers-3): New function.
22547 (display-buffer-normalize-specifiers):
22548 Call display-buffer-normalize-specifiers-3.
22549
22550 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22551
22552 * window.el (same-window-p): Fix two typos introduced when
22553 adding with-no-warnings.
22554 (display-buffer-normalize-specifiers-1): Don't check
22555 pop-up-frames for 'unset initialization.
22556 (display-buffer-normalize-specifiers-2): Major rewrite using
22557 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22558 (pop-up-frames, display-buffer-reuse-frames)
22559 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22560 Suggested by David Engster <deng@randomsample.de>.
22561 (even-window-heights): Initialize to 'unset.
22562 (display-buffer-alist-set): Handle new 'unset initializations.
22563 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22564 other window case.
22565
22566 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22567
22568 * window.el (display-buffer-normalize-specifiers-1):
22569 Respect current value of pop-up-frames for most reasonable values of
22570 second argument of display-buffer (Bug#8865).
22571 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22572 (switch-to-buffer-other-window-same-frame)
22573 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22574 Adams (Bug#8875).
22575 (display-buffer): Don't check noninteractive when calling
22576 display-buffer-pop-up-frame.
22577 (display-buffer-pop-up-frame): Never pop up a frame in
22578 noninteractive mode (Bug#8857).
22579 (enlarge-window, shrink-window): Don't report an error when the
22580 window can't be resized as requested (Bug#8862).
22581
22582 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22583
22584 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22585
22586 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22587
22588 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22589
22590 2011-06-15 Alan Mackenzie <acm@muc.de>
22591
22592 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22593 for declarators, disable knr checking to speed up for normal files.
22594 2: Refactor, replacing a sequence of nested if forms by a cond form.
22595
22596 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22597
22598 * net/network-stream.el (open-network-stream): Add the keyword
22599 :always-query-capabilities for the case where you want to force a
22600 `plain' network connection, but the protocol still requires the
22601 capabilitiy command (i.e., SMTP and EHLO).
22602
22603 * subr.el (process-live-p): Rename from `process-alive-p' for
22604 consistency with other `-live-p' functions.
22605
22606 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22607
22608 * window.el (same-window-buffer-names, same-window-regexps)
22609 (special-display-frame-alist, special-display-popup-frame)
22610 (special-display-function, special-display-buffer-names)
22611 (special-display-regexps, pop-up-frame-alist)
22612 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22613 (pop-up-windows, split-window-preferred-function)
22614 (split-height-threshold, split-width-threshold, even-window-heights)
22615 (display-buffer-mark-dedicated): Don't encourage the use of
22616 display-buffer-alist from Elisp code.
22617
22618 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22619
22620 * progmodes/python.el (python-mode): Derive from prog-mode.
22621 * progmodes/ps-mode.el (ps-mode):
22622 * progmodes/mixal-mode.el (mixal-mode):
22623 * progmodes/cfengine.el (cfengine-mode):
22624 * progmodes/ld-script.el (ld-script-mode): Likewise.
22625
22626 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22627
22628 * window.el (display-buffer-alist): Trim default value to avoid
22629 popping up a new frame (Bug#8857) or reusing an arbitrary window
22630 on another frame.
22631 (display-buffer): Do not fall back on popping up a new frame in
22632 batch mode (Bug#8857).
22633
22634 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22635
22636 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22637 (custom-theme-summary): New function.
22638 (customize-themes): Use it.
22639
22640 2011-06-13 Glenn Morris <rgm@gnu.org>
22641
22642 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22643
22644 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22645
22646 * help.el (help-window): Remove variable.
22647 (help-window-point-marker, temp-buffer-max-height)
22648 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22649 (help-print-return-message): Don't set help-window.
22650 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22651 (help-window-setup-finish): Remove.
22652 (help-window-display-message, help-window-setup)
22653 (with-help-window): Major rewrite based on new
22654 display-buffer-window variable.
22655
22656 * help-mode.el (help-mode-finish): Remove help-window related
22657 code.
22658
22659 * view.el (view-exits-all-viewing-windows): Remove reference to
22660 view-return-to-alist in doc-string.
22661 (view-return-to-alist): Make obsolete.
22662 (view-buffer): Call pop-to-buffer-same-window and remove
22663 undo-window code.
22664 (view-buffer-other-window): Call pop-to-buffer-other-window and
22665 simplify code. Ignore second argument.
22666 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22667 simplify code. Ignore second argument.
22668 (view-return-to-alist-update): Make obsolete.
22669 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22670 Rewrite using quit-restore window parameters.
22671 (view-mode-exit): Rename second argument to EXIT-ONLY.
22672 Rewrite using quit-restore-window.
22673 (View-exit, View-exit-and-edit, View-leave, View-quit)
22674 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22675 appropriate arguments.
22676 (view-end-message): Use quit-restore window parameter.
22677
22678 * window.el (display-buffer-function): Rewrite doc-string.
22679 (display-buffer-window, display-buffer-alist): New variables.
22680 (display-buffer-split-specifiers)
22681 (display-buffer-side-specifiers)
22682 (display-buffer-macro-specifiers): New constants.
22683 (display-buffer-even-window-sizes, display-buffer-set-height)
22684 (display-buffer-set-width, display-buffer-select-window)
22685 (display-buffer-in-window, display-buffer-reuse-window)
22686 (display-buffer-split-window-1, display-buffer-split-window)
22687 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22688 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22689 (display-buffer-in-side-window, normalize-buffer-to-display)
22690 (display-buffer-normalize-specifiers-1)
22691 (display-buffer-normalize-specifiers-2)
22692 (display-buffer-normalize-specifiers, display-buffer-frame):
22693 New functions.
22694 (display-buffer): Major rewrite.
22695 (display-buffer-other-window, display-buffer-other-frame)
22696 (pop-to-buffer, switch-to-buffer-other-window)
22697 (switch-to-buffer-other-frame): Rewrite.
22698 (display-buffer-same-window, display-buffer-same-frame)
22699 (display-buffer-same-frame-other-window)
22700 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22701 (pop-to-buffer-other-window)
22702 (pop-to-buffer-same-frame-other-window)
22703 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22704 (switch-to-buffer-other-window-same-frame): New functions.
22705 (same-window-p, special-display-p): Rewrite disabling warnings.
22706 Make obsolete.
22707 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22708 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22709 Make obsolete
22710 (same-window-buffer-names, same-window-regexps)
22711 (special-display-frame-alist, special-display-popup-frame)
22712 (special-display-function, special-display-buffer-names)
22713 (special-display-regexps, pop-up-frame-alist)
22714 (pop-up-frame-function, split-window-preferred-function)
22715 (split-height-threshold, split-width-threshold)
22716 (even-window-heights): Make obsolete.
22717
22718 2011-06-12 Glenn Morris <rgm@gnu.org>
22719
22720 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22721 Misc simplifications.
22722
22723 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22724
22725 * window.el (window-safely-shrinkable-p): Restore function which
22726 was inadvertently removed in change from 2011-06-11. Declare as
22727 obsolete.
22728
22729 * calendar/calendar.el (calendar-generate-window):
22730 Use window-iso-combined-p instead of combination of one-window-p and
22731 window-safely-shrinkable-p.
22732
22733 2011-06-12 Glenn Morris <rgm@gnu.org>
22734
22735 * progmodes/fortran.el (fortran-mode-syntax-table):
22736 * progmodes/f90.el (f90-mode-syntax-table):
22737 Set % to punctuation. (Bug#8820)
22738 (f90-find-tag-default): Remove, no longer needed.
22739
22740 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22741
22742 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22743
22744 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22745
22746 * image.el (image-animated-p): Return animation delay in seconds.
22747 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22748 (image-animate-timeout): Remove DELAY argument. Don't assume
22749 every subimage has the same delay; get it from image-animated-p.
22750 (image-animate): Caller changed.
22751
22752 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22753
22754 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22755 to ignored backtrace functions.
22756
22757 2011-06-11 Glenn Morris <rgm@gnu.org>
22758
22759 * calendar/appt.el (appt-disp-window-function): Doc fix.
22760 (appt-check): Handle overlapping appointments. (Bug#8337)
22761
22762 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22763
22764 * window.el (window-tree-1, window-tree): New functions, moving
22765 the latter to window.el.
22766 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22767 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22768 (bw-refresh-edges): Remove.
22769 (balance-windows-1, balance-windows-2): New functions.
22770 (balance-windows): Rewrite in terms of window tree functions,
22771 balance-windows-1 and balance-windows-2.
22772 (bw-adjust-window): Remove.
22773 (balance-windows-area-adjust): New function with functionality of
22774 bw-adjust-window but using resize-window.
22775 (set-window-text-height): Rewrite doc-string.
22776 Use normalize-live-window and resize-window.
22777 (enlarge-window-horizontally, shrink-window-horizontally):
22778 Rename argument to DELTA.
22779 (window-buffer-height): New function.
22780 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22781 Rewrite using new window resize routines.
22782 (kill-buffer-and-window, mouse-autoselect-window-select):
22783 Use ignore-errors instead of condition-case.
22784 (quit-window): Call delete-frame instead of delete-windows-on
22785 for the only buffer on frame.
22786
22787 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22788
22789 * loadup.el (top-level): Load window before files for the sake
22790 of replace-buffer-in-windows.
22791
22792 * files.el (read-buffer-to-switch)
22793 (switch-to-buffer-other-window)
22794 (switch-to-buffer-other-frame, display-buffer-other-frame):
22795 Move to window.el.
22796
22797 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22798 (previous-buffer): Move to window.el.
22799
22800 * bindings.el (unbury-buffer): Move to window.el.
22801
22802 * window.el (delete-other-windows-vertically): Move after
22803 definition of delete-other-windows.
22804 (other-window, delete-windows-on, replace-buffer-in-windows):
22805 Move here from window.c.
22806 (record-window-buffer, unrecord-window-buffer)
22807 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22808 (switch-to-next-buffer): New functions.
22809 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22810 from simple.el. Call switch-to-next-buffer.
22811 (previous-buffer): Move here from simple.el.
22812 Call switch-to-prev-buffer.
22813 (bury-buffer): Move here from buffer.c. Switch to previous
22814 buffer when window cannot be deleted.
22815 (unbury-buffer): Move here from bindings.el.
22816 (ctl-x-map): Move binding for other-window from window.c to
22817 here.
22818 (read-buffer-to-switch, switch-to-buffer-other-window)
22819 (switch-to-buffer-other-frame): Move here from files.el.
22820 (normalize-buffer-to-switch-to): New functions.
22821 (switch-to-buffer): Move here from buffer.c.
22822 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22823
22824 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22825
22826 * window.el (window-min-height, window-min-width): Move here
22827 from window.c. Add defcustoms and rewrite doc-strings.
22828 (resize-mini-window, resize-window): New functions.
22829 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22830 Move here from window.c.
22831 (maximize-window, minimize-window): New functions.
22832 (delete-window, delete-other-windows, split-window): Move here
22833 from window.c.
22834 (window-split-min-size): New function.
22835 (split-window-keep-point): Mention split-window-above-each-other
22836 instead of split-window-vertically.
22837 (split-window-above-each-other, split-window-vertically):
22838 Rename split-window-vertically to split-window-above-each-other
22839 and provide defalias for old definition.
22840 (split-window-side-by-side, split-window-horizontally):
22841 Rename split-window-horizontally to split-window-side-by-side
22842 and provide defalias for the old definition.
22843 (ctl-x-map): Move bindings for delete-window,
22844 delete-other-windows and enlarge-window here from window.c.
22845 Replace bindings for split-window-vertically and
22846 split-window-horizontally by bindings for
22847 split-window-above-each-other and split-window-side-by-side.
22848
22849 * cus-start.el (all): Remove entries for window-min-height and
22850 window-min-width. Add entries for window-splits and
22851 window-nest.
22852
22853 2011-06-09 Glenn Morris <rgm@gnu.org>
22854
22855 * calendar/appt.el (appt-mode-line): New function.
22856 (appt-check, appt-disp-window): Use it.
22857
22858 * files.el (hack-one-local-variable-eval-safep):
22859 Allow minor-modes with explicit +/-1 arguments.
22860
22861 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22862
22863 * term/xterm.el (xterm): Add defgroup.
22864 (xterm-extra-capabilities): Add defcustom to supply known xterm
22865 capabilities, skip querying them, or query them (default).
22866 (terminal-init-xterm): Use it.
22867 (terminal-init-xterm-modify-other-keys): New function to set up
22868 modifyOtherKeys support to simplify `terminal-init-xterm'.
22869
22870 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22871
22872 * window.el (resize-window-reset, resize-window-reset-1)
22873 (resize-subwindows-skip-p, resize-subwindows-normal)
22874 (resize-subwindows, resize-other-windows, resize-this-window)
22875 (resize-root-window, resize-root-window-vertically)
22876 (window-deletable-p, window-or-subwindow-p)
22877 (frame-root-window-p): New functions.
22878
22879 2011-06-09 Glenn Morris <rgm@gnu.org>
22880
22881 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22882 (ange-ftp-get-files): Use it.
22883
22884 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22885
22886 * mail/sendmail.el (mail-recover-1, mail-recover):
22887 * files.el (recover-file, recover-session):
22888 Handle dired-listing-switches not being just a single short option.
22889
22890 2011-06-09 Glenn Morris <rgm@gnu.org>
22891
22892 * calendar/appt.el (appt-display-message, appt-disp-window):
22893 Handle lists of appointments.
22894
22895 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22896
22897 * window.el (one-window-p): Move down in code.
22898 Rewrite doc-string.
22899 (window-current-scroll-bars): Rewrite doc-string.
22900 Normalize live window argument.
22901 (walk-windows, get-window-with-predicate, count-windows):
22902 Rewrite doc-string. Use window-list-1.
22903 (window-in-direction-2, window-in-direction, get-mru-window):
22904 New functions.
22905
22906 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22907
22908 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22909 Doc fix (Bug#8713).
22910
22911 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22912
22913 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22914
22915 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22916
22917 * loadhist.el (unload-feature-special-hooks):
22918 Add `comint-output-filter-functions'.
22919
22920 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22921
22922 * calendar/appt.el (appt-check): Move some initializations into the let.
22923
22924 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22925
22926 * window.el (window-height): Defalias to window-total-height.
22927 (window-width): Defalias to window-body-width.
22928
22929 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22930
22931 * image-mode.el (image-toggle-animation): New command.
22932 (image-mode-map): Bind it to RET.
22933 (image-mode): Update message.
22934 (image-toggle-display-image): Avoid a spurious cache flush.
22935 (image-transform-rotation): Doc fix.
22936 (image-transform-properties): Return quickly in the normal case.
22937 (image-animate-loop): Rename from image-animate-max-time.
22938
22939 * image.el (image-animate-max-time): Move to image-mode.el.
22940 (create-animated-image): Remove unnecessary function.
22941 (image-animate): Rename from image-animate-start. New arg.
22942 (image-animate-stop): Remove; just use image-animate-timer.
22943 (image-animate-timer): Use car-safe.
22944 (image-animate-timeout): Rename argument.
22945
22946 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22947
22948 * window.el (get-lru-window, get-largest-window): Move here from
22949 window.c. Rename first argument to ALL-FRAMES.
22950 Rephrase doc-strings.
22951 (get-buffer-window-list): Rewrite using window-list-1.
22952 Rephrase doc-string.
22953 (window-safe-min-height, window-safe-min-width): New constants.
22954 (window-size-ignore, window-min-size, window-min-size-1)
22955 (window-sizable, window-sizable-p, window-size-fixed-1)
22956 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22957 (window-max-delta-1, window-max-delta, window-resizable)
22958 (window-resizable-p, window-total-height, window-total-width)
22959 (window-body-width): New functions.
22960 (window-full-height-p, window-full-width-p): Rewrite using
22961 window-total-size.
22962 (window-body-height): Rewrite using window-body-size.
22963
22964 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22965
22966 * window.el (window-right, window-left, window-child)
22967 (window-child-count, window-last-child, window-any-p)
22968 (normalize-live-buffer, normalize-live-frame)
22969 (normalize-any-window, normalize-live-window)
22970 (window-iso-combination-p, window-iso-combined-p)
22971 (window-iso-combinations)
22972 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22973 (windows-with-parameter, window-with-parameter)
22974 (window-atom-root, make-window-atom, window-atom-check-1)
22975 (window-atom-check, window-side-check, window-check):
22976 New functions.
22977 (ignore-window-parameters, window-sides, window-sides-vertical)
22978 (window-sides-slots): New variables.
22979 (window-size-fixed): Move down in code. Minor doc-string fix.
22980
22981 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22982
22983 * comint.el (comint-dynamic-complete-as-filename)
22984 (comint-dynamic-complete-filename): Correctly call
22985 completion-in-region.
22986
22987 2011-06-05 Deniz Dogan <deniz@dogan.se>
22988
22989 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22990 in last change.
22991
22992 2011-06-05 Deniz Dogan <deniz@dogan.se>
22993
22994 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22995 (rcirc): Use it to prompt for encryption.
22996
22997 2011-06-05 Roland Winkler <winkler@gnu.org>
22998
22999 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23000 (bibtex-search-entries): New command bound to C-c C-a.
23001 (bibtex-display-entries): New function.
23002
23003 2011-06-05 Roland Winkler <winkler@gnu.org>
23004
23005 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23006 (bibtex-insert-kill): After yanking insert newline if necessary.
23007 (bibtex-initialize): Call bibtex-string-files-init only once.
23008 (bibtex-mode): Do not call easy-menu-add.
23009 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23010 (bibtex-yank): Set arg properly if nil.
23011
23012 2011-06-05 Roland Winkler <winkler@gnu.org>
23013
23014 * textmodes/bibtex.el (bibtex-search-entry-globally):
23015 New variable.
23016 (bibtex-search-entry): Use it.
23017
23018 2011-06-05 Roland Winkler <winkler@gnu.org>
23019
23020 * textmodes/bibtex.el (bibtex-entry-format): New option
23021 sort-fields.
23022 (bibtex-format-entry, bibtex-reformat): Honor this option.
23023 (bibtex-parse-entry): Return fields in proper order.
23024
23025 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23026
23027 * doc-view.el (doc-view-remove-if): Move computation of result out
23028 of `dolist' to silence misleading lexical-binding warning.
23029
23030 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23031
23032 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23033 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23034
23035 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23036
23037 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23038 "SunOS 5.10".
23039
23040 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23041
23042 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23043 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23044 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23045 (tramp-parse-putty):
23046 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23047 (tramp-completion-function-alist-ssh)
23048 (tramp-completion-function-alist-telnet)
23049 (tramp-completion-function-alist-su)
23050 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23051 cookie.
23052
23053 * net/tramp-ftp.el:
23054 * net/tramp-sh.el:
23055 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23056 load "tramp.el" `tramp-set-completion-function'.
23057
23058 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23059
23060 * shell.el: Require and use pcomplete.
23061 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23062 (shell-completion-vars): Set pcomplete-default-completion-function.
23063
23064 2011-06-04 Deniz Dogan <deniz@dogan.se>
23065
23066 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23067 `memq' (Bug#8799).
23068
23069 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23070
23071 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23072
23073 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23074
23075 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23076 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23077 * vc/log-view.el (log-view-beginning-of-defun):
23078 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23079 (smerge-refine-forward, smerge-refine-chopup-region):
23080 Silence warning for unused `dotimes' counter variables.
23081
23082 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23083
23084 * net/tramp.el (tramp-with-progress-reporter): Rename from
23085 with-progress-reporter. Use `declare'.
23086 * net/tramp-smb.el:
23087 * net/tramp-sh.el:
23088 * net/tramp-gvfs.el: Update all uses.
23089
23090 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23091
23092 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23093 buffer isn't killed before making it current.
23094
23095 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23096
23097 Silence various byte-compiler warnings.
23098 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23099 `access-type' and new obsolescence format.
23100 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23101 new format.
23102 (byte-compile-check-variable): New `access-type' argument.
23103 Only warn if the access-type is obsolete.
23104 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23105 (byte-compile-variable-set): Adjust callers.
23106 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23107 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23108 setting it as obsolete.
23109 * simple.el (minibuffer-completing-symbol):
23110 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23111 access as obsolete.
23112 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23113 obsolete yet.
23114 * international/quail.el (quail-mouse-choose-completion): Remove unused
23115 code referring to obsolete var.
23116 (quail-choose-completion-string): Remove.
23117 * server.el (server-clients-with, server-kill-buffer-query-function)
23118 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23119 * proced.el (proced-send-signal):
23120 * emacs-lisp/lisp.el (lisp-complete-symbol):
23121 Replace completion-annotate-function with completion-extra-properties.
23122
23123 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23124
23125 * simple.el (goto-line): Use read-number.
23126 (overriding-map-is-bound): Remove.
23127 (saved-overriding-map): Change default.
23128 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23129 Take the map as argument.
23130 (universal-argument, negative-argument, digit-argument): Use it.
23131 (restore-overriding-map): Adjust.
23132 (do-auto-fill): Use fill-forward-paragraph.
23133 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23134
23135 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23136 (minibuffer-inactive-mode): New major mode.
23137 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23138 the *Messages* buffer" hack.
23139 (mouse-popup-menubar): Don't burp if the event is a normal key.
23140
23141 Miscellaneous tweaks.
23142 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23143 lexical scoping as in subr.el's dolist and dotimes.
23144 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23145 Silence compiler warning.
23146 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23147 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23148 * international/ccl.el (ccl-compile): Trivial simplification.
23149 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23150 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23151 `printflag' argument.
23152 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23153 Purecopy the whole obsolescence data.
23154
23155 2011-06-01 Leo Liu <sdl.web@gmail.com>
23156
23157 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23158 improve doc-string as suggested by Marco Pessotto
23159 <melmothx@gmail.com>.
23160 (rcirc-print): Fix last change.
23161
23162 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23163
23164 * minibuffer.el (complete-with-action): Return nil for the metadata and
23165 boundaries of non-functional tables.
23166 (completion-table-dynamic): Return nil for the metadata.
23167 (completion-table-with-terminator): Add default case, using
23168 complete-with-action.
23169 (completion--metadata): New function.
23170 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23171 to try and avoid pathological performance problems.
23172 (completion--embedded-envvar-table): Return `category' metadata.
23173
23174 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23175
23176 * subr.el (process-alive-p): New tiny convenience function.
23177
23178 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23179
23180 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23181 content but also its previous major mode.
23182
23183 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23184
23185 * emacs-lisp/debug.el (debug): Restore the previous content of the
23186 *Backtrace* buffer when we exit with C-M-c.
23187
23188 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23189
23190 * minibuffer.el: Add metadata method to completion tables.
23191 (completion-category-overrides): New defcustom.
23192 (completion-metadata, completion--field-metadata)
23193 (completion-metadata-get, completion--styles)
23194 (completion--cycle-threshold): New functions.
23195 (completion-try-completion, completion-all-completions):
23196 Add `metadata' argument to choose completion-styles.
23197 (completion--do-completion): Use metadata to choose cycling.
23198 (completion-all-sorted-completions): Use metadata for sorting.
23199 Remove :completion-cycle-penalty which is not needed any more.
23200 (completion--try-word-completion): Add `metadata' argument.
23201 (minibuffer-completion-help): Check metadata for annotation function
23202 and sorting.
23203 (completion-file-name-table): Return `category' metadata.
23204 (minibuffer-completing-file-name): Make obsolete.
23205 * simple.el (minibuffer-completing-symbol): Make obsolete.
23206 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23207 completion-try-completion.
23208
23209 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23210
23211 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23212
23213 2011-05-30 Leo Liu <sdl.web@gmail.com>
23214
23215 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23216 (rcirc-print): Decode all incoming messages (bug#8744).
23217 (rcirc-decode-coding-system): Allow value nil for automatic coding
23218 system detection.
23219
23220 2011-06-01 Glenn Morris <rgm@gnu.org>
23221
23222 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23223
23224 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23225
23226 * image.el (image-animate-max-time): Allow nil and t values.
23227 Default to nil.
23228 (create-animated-image): Doc fix.
23229 (image-animate-start): Remove second arg; just use
23230 image-animate-max-time.
23231 (image-animate-timeout): Doc fix. Args changed.
23232
23233 * image-mode.el (image-toggle-display-image): Ensure that the
23234 image spec passed to the animate timer is the same object as in
23235 the buffer's display property (Bug#6981).
23236 (image-transform-properties): Doc fix.
23237
23238 * image.el (image-animate-max-time): Default to nil.
23239
23240 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23241
23242 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23243 entire buffer list (Bug#8184).
23244
23245 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23246
23247 * image.el (imagemagick-types-inhibit)
23248 (imagemagick-register-types): Doc fix.
23249
23250 2011-05-29 Deniz Dogan <deniz@dogan.se>
23251
23252 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23253 default.
23254
23255 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23256
23257 * select.el: Don't perform clipboard-manager saving in hooks;
23258 leave the hooks empty.
23259
23260 2011-05-28 Leo Liu <sdl.web@gmail.com>
23261
23262 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23263 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23264 (occur-edit-mode): New major mode (Bug#8463).
23265 (occur-after-change-function): New function.
23266 (occur-engine): Give Occur tags a read-only property.
23267
23268 2011-05-28 Kevin Ryde <user42@zip.com.au>
23269
23270 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23271
23272 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23273
23274 * bindings.el (help-echo): Make the initial non-indicator dash
23275 empty on graphical terminals (Bug#7295).
23276
23277 * files.el (auto-mode-alist): Move config rule after the
23278 in-stripping one (Bug#8547).
23279
23280 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23281
23282 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23283 setting (Bug#8740).
23284
23285 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23286
23287 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23288 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23289 (Bug#8539).
23290
23291 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23292
23293 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23294
23295 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23296
23297 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23298 (hs-hide-block-at-point, hs-find-block-beginning)
23299 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23300 (Bug#8279).
23301
23302 2011-05-28 Glenn Morris <rgm@gnu.org>
23303
23304 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23305
23306 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23307
23308 * help-fns.el (describe-function-1): If the function is a derived
23309 major mode, print the parent mode.
23310
23311 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23312 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23313
23314 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23315
23316 * minibuffer.el (completion--capf-wrapper): Check applicability before
23317 returning non-nil for non-exclusive completion data.
23318 * progmodes/etags.el (tags-completion-at-point-function):
23319 * info-look.el (info-lookup-completions-at-point): Mark as
23320 non-exclusive.
23321 (info-complete): Adjust accordingly.
23322
23323 * info-look.el: Convert to lexical-binding and completion-at-point.
23324 (info-lookup-completions-at-point): New function.
23325 (info-complete): Use it and completion-in-region.
23326
23327 2011-05-28 Drew Adams <drew.adams@oracle.com>
23328
23329 * isearch.el: Let M-e start with point at the first mismatched char.
23330 (isearch-fail-pos): New function.
23331 (isearch-edit-string): Use it.
23332
23333 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23334
23335 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23336
23337 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23338
23339 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23340 traversal functions for avl-trees.
23341 (avl-tree--stack): New struct.
23342 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23343 (avl-tree-enter): Add optional `updatefun' arg.
23344 (avl-tree--do-enter): Add optional `updatefun' arg.
23345 Change return value.
23346 (avl-tree-delete): Add optional `test' and `nilflag' args.
23347 (avl-tree--do-delete): Add `test' and `nilflag' args.
23348 Change return value.
23349 (avl-tree-member): Add optional `nilflag'
23350 (avl-tree-member-p): New function.
23351 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23352 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23353 (avl-tree-stack-empty-p): New functions.
23354
23355 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23356 avl-tree--del-balance1 and make it work both ways.
23357 (avl-tree--del-balance2): Remove.
23358 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23359 make it work both ways.
23360 (avl-tree--enter-balance2): Remove.
23361 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23362 New macros.
23363 (avl-tree--mapc, avl-tree-map): Add direction argument.
23364
23365 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23366
23367 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23368
23369 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23370
23371 * select.el: Support clipboard managers with built-in function
23372 x-clipboard-manager-save, via delete-frame-functions and
23373 kill-emacs-hook.
23374 (xselect-convert-to-targets): Add MULTIPLE target to list.
23375 (xselect-convert-to-save-targets): New function.
23376
23377 2011-05-27 Kenichi Handa <handa@m17n.org>
23378
23379 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23380 let-binding rfc2047-encode-encoded-words to nil.
23381
23382 2011-05-27 Glenn Morris <rgm@gnu.org>
23383
23384 * mail/emacsbug.el: Don't require url-util.
23385
23386 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23387
23388 * files.el (set-auto-mode):
23389 Also respect mode: entries at the end of the file. (Bug#8586)
23390
23391 2011-05-26 Glenn Morris <rgm@gnu.org>
23392
23393 * files.el (hack-local-variables-prop-line, hack-local-variables):
23394 Downcase mode names, as seems to be traditional.
23395 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23396
23397 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23398 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23399
23400 2011-05-25 Julien Danjou <julien@danjou.info>
23401
23402 * textmodes/rst.el (rst-define-level-faces): Do not define face
23403 symbol if it is already defined.
23404
23405 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23406
23407 * play/5x5.el (5x5-new-game, 5x5-randomize):
23408 Reset 5x5-solver-output to nil when a new grid is cast.
23409 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23410 these debugging traces, as defmacro breaks the compiled code.
23411
23412 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23413
23414 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23415
23416 2011-05-24 Leo Liu <sdl.web@gmail.com>
23417
23418 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23419 (vc-bzr-sha1): Adapt.
23420
23421 * sha1.el: Remove. Function `sha1' is now builtin.
23422
23423 * bindings.el: Provide sha1 feature.
23424
23425 2011-05-24 Kenichi Handa <handa@m17n.org>
23426
23427 * mail/sendmail.el: Require `rfc2047'.
23428 (mail-insert-from-field): Do not perform RFC2047 encoding.
23429 (mail-encode-header): New function.
23430 (sendmail-send-it): Set buffer-file-coding-system of the work
23431 buffer to the return value of select-message-coding-system.
23432 Call mail-encode-header.
23433
23434 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23435
23436 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23437
23438 * mail/supercite.el (sc-default-cite-frame):
23439 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23440
23441 2011-05-24 Glenn Morris <rgm@gnu.org>
23442
23443 * progmodes/python.el (brm-menu): Declare.
23444
23445 * emulation/viper.el (viper-set-hooks): Declare.
23446
23447 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23448 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23449 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23450 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23451 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23452 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23453
23454 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23455
23456 Add an :exit-function for completion-at-point.
23457
23458 * minibuffer.el (completion--done): New fun.
23459 (completion--do-completion): Use it. New arg `expect-exact'.
23460 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23461 since completion--do-completion does it for us now.
23462 (minibuffer-force-complete): Use completion--done and
23463 completion--replace. Handle sole-completion case with more care.
23464 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23465 (completion-extra-properties): New var.
23466 (completion-annotate-function): Make obsolete.
23467 (minibuffer-completion-help): Adjust accordingly.
23468 Use completion-list-insert-choice-function.
23469 (completion-at-point, completion-help-at-point):
23470 Bind completion-extra-properties.
23471 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23472 * simple.el (completion-list-insert-choice-function): New var.
23473 (completion-setup-function): Preserve it.
23474 (choose-completion): Pay attention to it, shuffle the code a bit.
23475 (choose-completion-string): New arg `insert-function'.
23476
23477 * textmodes/bibtex.el: Convert to lexical binding.
23478 (bibtex-mode-map): Use completion-at-point.
23479 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23480 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23481 (bibtex-complete): Define as obsolete alias.
23482 (bibtex-complete-internal): Remove.
23483 (bibtex-format-entry): Remove unused sub-group in regexp.
23484 * shell.el (shell--command-completion-data)
23485 (shell-environment-variable-completion):
23486 * pcomplete.el (pcomplete-completions-at-point):
23487 * comint.el (comint--complete-file-name-data): Use :exit-function
23488 instead of completion-table-with-terminator so it also works for
23489 choose-completion.
23490
23491 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23492
23493 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23494
23495 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23496 (bug#8710).
23497
23498 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23499
23500 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23501
23502 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23503 customization variable and implement: If non-nil, auto-fill will
23504 be inhibited while on topic's header line.
23505
23506 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23507
23508 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23509 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23510 always have a solution in grid size = 5 cases.
23511 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23512 (5x5-solver-output, 5x5-log-buffer): New vars.
23513 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23514 Make these variables buffer local to achieve 5x5 multi-session-ness.
23515 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23516 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23517 (5x5-solve-suggest): New funs.
23518 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23519 randomize a grid so that we ensure that there is always a solution.
23520 (5x5-make-random-grid): Allow other movement than flipping.
23521
23522 2011-05-23 Kevin Ryde <user42@zip.com.au>
23523
23524 * emacs-lisp/advice.el (ad-read-advised-function):
23525 Use `function-called-at-point' as the default, if it has
23526 advice and passes PREDICATE.
23527
23528 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23529
23530 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23531 byte-compile-lambda if it's actually a lambda.
23532
23533 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23534 Fix function quoting. Use backquote better.
23535
23536 2011-05-22 Yuanle Song <sylecn@gmail.com>
23537
23538 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23539 matching (Bug#8516).
23540
23541 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23542
23543 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23544 different face (Bug#8178).
23545
23546 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23547
23548 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23549 defface (Bug#8144).
23550
23551 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23552
23553 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23554 funcall as well (bug#8712). Warn when performing those conversions.
23555 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23556
23557 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23558
23559 2011-05-22 Glenn Morris <rgm@gnu.org>
23560
23561 * files.el (hack-local-variables-prop-line): Small simplifications.
23562 (hack-local-variables, hack-local-variables-prop-line):
23563 If MODE-ONLY, return the mode, rather than just `t'.
23564
23565 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23566
23567 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23568
23569 2011-05-21 Glenn Morris <rgm@gnu.org>
23570
23571 * files.el (hack-local-variables-prop-line, hack-local-variables):
23572 If only interested in the mode, don't bother doing the other stuff.
23573
23574 * image-mode.el (image-after-revert-hook):
23575 Redraw all frames on which the image is visible. (Bug#8567)
23576
23577 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23578
23579 * wid-edit.el (widget-checklist-match-inline):
23580 Fix 2011-04-19 change. (Bug#8649)
23581
23582 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23583
23584 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23585 Also allow singlespace after single-letter capitals followed by a dot.
23586
23587 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23588 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23589
23590 2011-05-20 Nix <nix@esperi.org.uk>
23591
23592 * files.el (basic-save-buffer-2):
23593 Fix handling of break-hardlink-on-save with non-existent files.
23594
23595 2011-05-19 Deniz Dogan <deniz@dogan.se>
23596
23597 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23598 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23599
23600 2011-05-19 Glenn Morris <rgm@gnu.org>
23601
23602 * progmodes/f90.el (f90-type-def-re):
23603 Handle "type, bind(c)". (Bug#8691)
23604
23605 * emacs-lisp/autoload.el (batch-update-autoloads):
23606 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23607
23608 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23609
23610 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23611 property for the correct connection in case of multihops.
23612
23613 2011-05-18 Glenn Morris <rgm@gnu.org>
23614
23615 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23616 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23617
23618 Rationalize calendar handling of day and month abbrev-arrays.
23619 * calendar/calendar.el (calendar-customized-p): New function.
23620 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23621 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23622 Add :set function.
23623 (calendar-abbrev-length, calendar-day-abbrev-array)
23624 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23625 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23626 Elements may no longer be nil.
23627 (calendar-day-name, calendar-month-name):
23628 Update for changed nature of abbrev arrays.
23629 * calendar/diary-lib.el (diary-name-pattern):
23630 Update for changed nature of abbrev arrays.
23631 (diary-mark-entries-1): Update calendar-make-alist calls.
23632 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23633 * calendar/cal-html.el (cal-html-day-abbrev-array):
23634 Simply inherit from calendar-day-abbrev-array.
23635
23636 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23637
23638 * progmodes/grep.el (grep-mode): Disable default
23639 compilation-directory-matcher setting (bug#8684).
23640
23641 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23642
23643 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23644 instead of "head" and "tail". There were problems with SunOS 5.9,
23645 and it performs better.
23646
23647 2011-05-17 Glenn Morris <rgm@gnu.org>
23648
23649 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23650
23651 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23652 Replace obsolete function.
23653
23654 * shell.el (pcomplete-parse-arguments-function): Declare.
23655
23656 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23657 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23658 (appt-check): Doc fixes.
23659 (appt-disp-window-function, appt-delete-window-function):
23660 Remove needless special case in custom :type.
23661 (appt-display-count): Default to 0, not nil.
23662 (appt-check): Reset appt-display-count to 0, not nil.
23663
23664 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23665
23666 * progmodes/python.el (python-font-lock-keywords):
23667 Add the Python 3.X keyword "nonlocal" (bug#8639).
23668
23669 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23670
23671 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23672
23673 2011-05-16 Kevin Ryde <user42@zip.com.au>
23674
23675 * info-look.el (makefile-automake-mode): New setups, looking in
23676 automake manual, then makefile-mode.
23677 (makefile-mode): Remove automake manual, have it just in
23678 makefile-automake-mode since there's various things different or
23679 not relevant to plain make.
23680 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23681 believe a hypothetical automake-mode would go to makefile-mode,
23682 not the other way around.
23683
23684 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23685
23686 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23687 hunk-end tags (Bug#8672).
23688
23689 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23690 vc-annotate-show-diff-revision-at-line (Bug#8671).
23691
23692 2011-05-14 Glenn Morris <rgm@gnu.org>
23693
23694 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23695 in the middle of an existing one with multiple authors. (Bug#8645)
23696 (change-log-font-lock-keywords): Also handle multiple author lines
23697 with leading tabs. (Bug#8644)
23698
23699 * calendar/appt.el (appt-check): Rename some local variables.
23700 Some simplification/reordering.
23701
23702 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23703 (feedmail-sendmail-f-doesnt-sell-me-out)
23704 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23705 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23706 (feedmail-queue-runner-message-sender): Set :version.
23707 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23708 (bbdb-dwim-net-address, vm-mail): Declare.
23709 (feedmail-binmail-gnulinuxish-template):
23710 Rename from feedmail-binmail-linuxish-template.
23711 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23712 Use insert-buffer-substring.
23713
23714 2011-05-14 Bill Carpenter <bill@carpenter.org>
23715
23716 * mail/feedmail.el (feedmail-patch-level): Increase.
23717 (feedmail-debug): New custom group.
23718 (feedmail-confirm-outgoing-timeout)
23719 (feedmail-sendmail-f-doesnt-sell-me-out)
23720 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23721 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23722 (feedmail-sender-line, feedmail-from-line)
23723 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23724 (feedmail-spray-this-address)
23725 (feedmail-spray-address-fiddle-plex-list)
23726 (feedmail-queue-use-send-time-for-date)
23727 (feedmail-queue-use-send-time-for-message-id)
23728 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23729 (feedmail-buffer-eating-function):
23730 Doc fixes.
23731 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23732 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23733 (feedmail-message-action-scroll-down): New functions.
23734 (feedmail-queue-directory, feedmail-queue-draft-directory):
23735 Use expand-file-name.
23736 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23737 Remove C-v help entry.
23738 (feedmail-queue-buffer-file-name): New variable.
23739 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23740 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23741 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23742 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23743 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23744 (feedmail-message-action-toggle-spray)
23745 (feedmail-run-the-queue-no-prompts)
23746 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23747 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23748 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23749 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23750 (feedmail-envelope-deducer, feedmail-fiddle-from)
23751 (feedmail-fiddle-sender, feedmail-default-date-generator)
23752 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23753 (feedmail-fiddle-spray-address)
23754 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23755 (feedmail-fiddle-list-of-fiddle-plexes)
23756 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23757 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23758 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23759 Change default. Doc fix.
23760 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23761 (feedmail-binmail-linuxish-template): New constant.
23762 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23763 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23764 (feedmail-send-it): Add debug call.
23765 Use feedmail-queue-buffer-file-name, and
23766 feedmail-send-it-immediately-wrapper.
23767 (feedmail-message-action-send): Add debug call.
23768 Use feedmail-send-it-immediately-wrapper.
23769 (feedmail-queue-express-to-queue): Add debug call.
23770 Run feedmail-queue-express-hook.
23771 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23772 (feedmail-message-action-help-blat):
23773 Rename from feedmail-queue-send-edit-prompt-help-first.
23774 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23775 Check line-endings. Handle errors better.
23776 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23777 Doc fix. Add debug call.
23778 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23779 Use feedmail-queue-send-edit-prompt-inner.
23780 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23781 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23782 from feedmail-queue-send-edit-prompt.
23783 (feedmail-queue-send-edit-prompt-help)
23784 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23785 (feedmail-tidy-up-slug): Add debug call.
23786 Respect feedmail-queue-slug-suspect-regexp.
23787 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23788 (feedmail-dump-message-to-queue): Add debug call.
23789 Expand queue-directory.
23790 (feedmail-dump-message-to-queue): Change message slightly.
23791 Use feedmail-say-chatter.
23792 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23793 (feedmail-send-it-immediately-wrapper): New function.
23794 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23795 Insert empty string rather than newline. Handle full-frame case.
23796 Use catch/throw. Use feedmail-say-chatter.
23797 (feedmail-fiddle-from): Try mail-host-address.
23798 (feedmail-default-message-id-generator): Doc fix.
23799 Bind system-time-locale. Handle missing end.
23800 (feedmail-fiddle-x-mailer): Add debug call.
23801 Handle feedmail-x-mailer-line being nil.
23802 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23803 Add debug call. Use buffer-substring-no-properties.
23804 (feedmail-say-debug, feedmail-say-chatter): New functions.
23805 (feedmail-find-eoh): Give an explicit error.
23806
23807 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23808
23809 * net/newst-treeview.el (newsticker-treeview-face): Change default
23810 family from helvetica to sans.
23811 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23812 etc/images/newsticker.
23813
23814 * net/newst-reader.el (newsticker-feed-face): Change default
23815 family from helvetica to sans.
23816
23817 * net/newst-plainview.el (newsticker-new-item-face)
23818 (newsticker-old-item-face, newsticker-immortal-item-face)
23819 (newsticker-obsolete-item-face, newsticker-date-face)
23820 (newsticker-statistics-face): Change default family from
23821 helvetica to sans.
23822 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23823 etc/images/newsticker.
23824
23825 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23826 (newsticker--process-auto-mark-filter-match): Tell user about
23827 auto-marking.
23828
23829 2011-05-13 Didier Verna <didier@xemacs.org>
23830
23831 Common Lisp indentation improvements on defmethod and lambda-lists.
23832 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23833 TODO entries.
23834 (lisp-lambda-list-keyword-parameter-indentation)
23835 (lisp-lambda-list-keyword-parameter-alignment)
23836 (lisp-lambda-list-keyword-alignment): New customizable user options.
23837 (lisp-indent-defun-method): Improve docstring.
23838 (extended-loop-p): Fix comment.
23839 (lisp-indent-lambda-list-keywords-regexp): New variable.
23840 (lisp-indent-lambda-list): New function.
23841 (lisp-indent-259): Use it.
23842 (lisp-indent-defmethod): Support for more than one
23843 method qualifier and properly indent methods lambda-lists.
23844 (defgeneric): Provide a missing common-lisp-indent-function property.
23845
23846 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23847
23848 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23849 bounds for the empty string (bug#8667).
23850
23851 2011-05-13 Glenn Morris <rgm@gnu.org>
23852
23853 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23854
23855 * mail/sendmail.el (sendmail-program): Try executable-find first.
23856 (sendmail-send-it): `sendmail-program' cannot be unbound.
23857
23858 * calendar/appt.el (appt-make-list): Simplify.
23859 (appt-time-msg-list): Doc fix.
23860 (appt-check): Change mode-line message at the time of the appointment.
23861
23862 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23863
23864 * progmodes/ld-script.el (ld-script-keywords)
23865 (ld-script-builtins): Update keywords list.
23866
23867 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23868
23869 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23870
23871 * shell.el (shell-completion-vars): New function.
23872 (shell-mode):
23873 * simple.el (read-shell-command): Use it.
23874 (blink-matching-open): No need for " [...]" in minibuffer-message.
23875
23876 2011-05-12 Glenn Morris <rgm@gnu.org>
23877
23878 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23879 (appt-check): Simplify.
23880
23881 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23882
23883 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23884 literal "/dev/null".
23885
23886 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23887
23888 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23889 Fix typo.
23890
23891 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23892
23893 * progmodes/which-func.el (which-function):
23894 Use add-log-current-defun instead of add-log-current-defun-function,
23895 which might not be defined (Bug#8260).
23896
23897 2011-05-12 Glenn Morris <rgm@gnu.org>
23898
23899 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23900 Let byte-compile-initial-macro-environment always take precedence.
23901
23902 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23903
23904 * net/rcirc.el: Add support for SSL/TLS connections.
23905 (rcirc-server-alist): New field `encryption'.
23906 (rcirc): Check `encryption' settings.
23907 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23908 Merge make-local-variable into `set'.
23909 (rcirc--connection-open-p): New function.
23910 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23911 the process is not a network process (e.g. running gnutls-cli).
23912 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23913 Make rcirc-(en|de)code-coding-system local here.
23914 (rcirc-mode): Merge make-local-variable into `set'.
23915 (rcirc-parent-buffer): Make permanent buffer-local.
23916 (rcirc-multiline-minor-mode): Don't do it here.
23917 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23918 there's no server buffer.
23919
23920 2011-05-11 Glenn Morris <rgm@gnu.org>
23921
23922 * newcomment.el (comment-kill): Prefix "unused" local.
23923
23924 * term/w32console.el (get-screen-color): Declare.
23925
23926 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23927 Handle symbol elements of byte-compile-initial-macro-environment.
23928
23929 2011-05-10 Leo Liu <sdl.web@gmail.com>
23930
23931 * bookmark.el (bookmark-bmenu-mode-map):
23932 Bind bookmark-bmenu-search to `/'.
23933
23934 * mail/footnote.el: Convert to utf-8 encoding.
23935 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23936 (Footnote-unicode): New function.
23937 (footnote-style-alist): Add unicode style to the list.
23938 (footnote-style): Doc fix.
23939
23940 2011-05-10 Jim Meyering <meyering@redhat.com>
23941
23942 Fix doubled-word typos.
23943 * international/quail.el (quail-insert-kbd-layout): and and -> and
23944 * kermit.el: and and -> and
23945 * net/ldap.el (ldap-search-internal): to to -> to
23946 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23947 * progmodes/js.el (js-mode): and and -> and
23948 * textmodes/artist.el (artist-move-to-xy): at at -> at
23949 (artist-draw-region-trim-line-endings): if if -> if
23950 And Safetyc -> Safety.
23951 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23952
23953 2011-05-10 Glenn Morris <rgm@gnu.org>
23954 Stefan Monnier <monnier@iro.umontreal.ca>
23955
23956 * files.el (hack-one-local-variable-eval-safep):
23957 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23958
23959 2011-05-10 Glenn Morris <rgm@gnu.org>
23960
23961 * calendar/diary-lib.el (diary-list-entries-hook)
23962 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23963 (diary-nongregorian-marking-hook, diary-list-entries)
23964 (diary-include-other-diary-files, diary-mark-entries)
23965 (diary-mark-included-diary-files): Doc fixes.
23966
23967 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23968
23969 * misc.el: Require tabulated-list.el during compilation.
23970
23971 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23972
23973 * progmodes/compile.el (compilation-start):
23974 Run compilation-filter-hook for the async case too.
23975 (compilation-filter-hook): Doc fix.
23976
23977 2011-05-09 Deniz Dogan <deniz@dogan.se>
23978
23979 * wdired.el: Remove outdated installation comment. Fix usage
23980 comment.
23981
23982 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23983
23984 * misc.el: Implement new command `list-dynamic-libraries'.
23985 (list-dynamic-libraries--loaded-only-p): New variable.
23986 (list-dynamic-libraries--refresh): New function.
23987 (list-dynamic-libraries): New command.
23988
23989 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23990
23991 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23992 Fix the ant regexp to handle end-line and end-column info from jikes.
23993 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23994 higher priority to avoid clobbering by gnu.
23995
23996 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23997
23998 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23999 if the face has existing theme settings (Bug#8454).
24000
24001 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24002
24003 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24004 Only match variables declared via `my' or `our' (Bug#8261).
24005
24006 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24007 special file names `.' and `..' (Bug#8259).
24008
24009 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24010
24011 * progmodes/grep.el (grep-mode-font-lock-keywords):
24012 Remove buffer-changing entries.
24013 (grep-filter): New function.
24014 (grep-mode): Add it to compilation-filter-hook.
24015
24016 * progmodes/compile.el (compilation-filter-hook)
24017 (compilation-filter-start): New defvars.
24018 (compilation-filter): Call compilation-filter-hook prior to
24019 updating the process mark.
24020
24021 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24022
24023 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24024
24025 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24026
24027 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24028 mailclient-send-it even if window-system is nil. (Bug#8595)
24029
24030 * term/w32console.el (terminal-init-w32console):
24031 Call get-screen-color and use its output to set the frame
24032 background-mode. (Bug#8597)
24033
24034 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24035
24036 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24037 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24038 New functions.
24039 (defgeneric, eieio--defmethod): Use them.
24040 (eieio-defgeneric): Remove.
24041 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24042
24043 2011-05-07 Glenn Morris <rgm@gnu.org>
24044
24045 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24046 Use let rather than let*.
24047 (timeclock-find-discrep): Remove unused local.
24048
24049 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24050
24051 * calendar/appt.el (appt-time-msg-list): Doc fix.
24052
24053 2011-05-06 Noah Friedman <friedman@splode.com>
24054
24055 * apropos.el (apropos-print-doc): Only use
24056 emacs-lisp-docstring-fill-column when it is bound to an integer,
24057 per that variable's documentation.
24058
24059 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24060
24061 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24062 and warnings are not silently discarded (e.g. use -d instead of -P).
24063
24064 2011-05-06 Glenn Morris <rgm@gnu.org>
24065
24066 * calendar/appt.el (appt-message-warning-time): Doc fix.
24067 (appt-warning-time-regexp): New option.
24068 (appt-make-list): Respect appt-message-warning-time.
24069
24070 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24071 New options.
24072 (diary-add-to-list): Strip comments from the displayed string.
24073 (diary-mode): Set comment-start and comment-end.
24074
24075 * vc/diff-mode.el (smerge-refine-subst): Declare.
24076 (diff-refine-hunk): Don't require smerge-mode when compiling.
24077
24078 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24079
24080 * simple.el (list-processes): Return nil as the docstring says.
24081
24082 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24083
24084 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24085 to "".
24086 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24087 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24088 determining of binary transfer. (Bug#7383)
24089
24090 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24091
24092 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24093 Fix port computation bug. (Bug#8618)
24094
24095 2011-05-05 Glenn Morris <rgm@gnu.org>
24096
24097 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24098
24099 * simple.el (shell-dynamic-complete-functions)
24100 (comint-dynamic-complete-functions): Declare.
24101
24102 * net/network-stream.el (gnutls-negotiate):
24103 * simple.el (tabulated-list-print): Fix declarations.
24104
24105 * progmodes/gud.el (syntax-symbol, syntax-point):
24106 Remove unnecessary and incorrect declarations.
24107
24108 * emacs-lisp/check-declare.el (check-declare-scan):
24109 Handle byte-compile-initial-macro-environment in bytecomp.el.
24110
24111 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24112
24113 Fix earlier half-done eieio-defmethod change (bug#8338).
24114 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24115 Streamline and change calling convention.
24116 (defmethod): Adjust accordingly and simplify.
24117 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24118 new eieio--defmethod.
24119 (slot-boundp): Minor CSE simplification.
24120
24121 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24122
24123 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24124 (glasses-make-readable): Use glasses-separate-capital-groups.
24125
24126 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24127
24128 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24129 (warning-series): Doc fix.
24130 (display-warning): Don't try to create the buffer if we just found it.
24131
24132 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24133
24134 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24135 (autoload-find-generated-file): New function.
24136 (generate-file-autoloads): Bind generated-autoload-file to
24137 buffer-file-name.
24138 (update-file-autoloads, update-directory-autoloads):
24139 Use autoload-find-generated-file. If called interactively, prompt for
24140 output file (Bug#7989).
24141 (batch-update-autoloads): Doc fix.
24142
24143 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24144
24145 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24146
24147 2011-05-04 Glenn Morris <rgm@gnu.org>
24148
24149 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24150 function, so it follows changes in calendar-date-style.
24151 (diary-fancy-date-matcher): New function.
24152 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24153 (diary-fancy-font-lock-fontify-region-function):
24154 Use diary-fancy-date-pattern as a function.
24155
24156 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24157 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24158
24159 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24160
24161 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24162 instead of positional arguments. Allow :keylist and :crlfiles
24163 arguments.
24164 (open-gnutls-stream): Call it.
24165
24166 * net/network-stream.el (network-stream-open-starttls): Adjust to
24167 call `gnutls-negotiate' with :process and :hostname arguments.
24168
24169 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24170
24171 * minibuffer.el (completion--message): New function.
24172 (completion--do-completion, minibuffer-complete)
24173 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24174 (completion--do-completion): Don't ignore completion-auto-help when in
24175 icomplete-mode.
24176
24177 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24178 internal encoding (e.g. tibetan zero is not whitespace).
24179 (global-whitespace-mode): Prefer save-current-buffer.
24180 (whitespace-trailing-regexp): Remove useless save-match-data.
24181 (whitespace-empty-at-bob-regexp): Minor simplification.
24182
24183 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24184
24185 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24186
24187 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24188
24189 * textmodes/ispell.el (ispell-add-per-file-word-list):
24190 Use `concat' to create string for insertion.
24191
24192 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24193
24194 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24195 Avoid open-line which runs post-self-insert-hook.
24196 (bibtex-fill-entry): Remove unused `end' var.
24197
24198 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24199
24200 * textmodes/ispell.el (ispell-add-per-file-word-list):
24201 Protect against `nil' value of `comment-start' (Bug#8579).
24202
24203 2011-05-03 Leo Liu <sdl.web@gmail.com>
24204
24205 * isearch.el (isearch-yank-pop): New command.
24206 (isearch-mode-map): Bind it to `M-y'.
24207 (isearch-forward): Mention it.
24208
24209 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24210
24211 * simple.el (minibuffer-complete-shell-command): Remove.
24212 (minibuffer-local-shell-command-map): Use completion-at-point.
24213 (read-shell-command): Setup completion vars here instead.
24214 (read-expression-map): Bind TAB to symbol completion.
24215
24216 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24217 error directly rather via storing it into `results'.
24218
24219 2011-05-02 Leo Liu <sdl.web@gmail.com>
24220
24221 * vc/diff.el: Fix description.
24222
24223 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24224
24225 * server.el (server-eval-at): New function.
24226
24227 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24228
24229 * net/network-stream.el (open-network-stream): Take a :nowait
24230 parameter and pass it on to `make-network-process'.
24231 (network-stream-open-plain): Ditto.
24232
24233 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24234
24235 * faces.el (face-spec-set-match-display): Don't match toolkit
24236 options on terminal frames.
24237
24238 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24239
24240 * progmodes/pascal.el: Use lexical binding.
24241 (pascal-mode-map): Remove author preferences.
24242
24243 * pcomplete.el (pcomplete-std-complete): Don't abuse
24244 completion-at-point.
24245
24246 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24247
24248 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24249 removing code that has been dead since 1991 or so.
24250
24251 * startup.el (command-line): When warning about "_emacs", use a
24252 delayed warning to allow the user to filter it out.
24253
24254 2011-04-28 Deniz Dogan <deniz@dogan.se>
24255
24256 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24257 user has not joined.
24258
24259 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24260
24261 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24262 aren't any completions at point.
24263
24264 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24265
24266 * subr.el (display-delayed-warnings): New function.
24267 (delayed-warnings-hook): New variable.
24268
24269 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24270
24271 * minibuffer.el (completion-at-point, completion-help-at-point):
24272 Don't presume that a given completion-at-point-function will always
24273 use the same calling convention.
24274
24275 * pcomplete.el (pcomplete-completions-at-point):
24276 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24277 pcomplete-seen is non-nil.
24278 (pcomplete-comint-setup): Also recognize the new comint/shell
24279 completion functions.
24280 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24281 pcomplete-seen is non-nil.
24282
24283 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24284
24285 * calendar/icalendar.el (diary-lib): Add require statement.
24286 (icalendar--create-uid): Read out a uid from a text-property on
24287 the first character in the entry. This allows for code to add its
24288 own uid to the entry.
24289 (icalendar--convert-float-to-ical): Add export of
24290 `diary-float'-entries save for those with the optional DAY
24291 argument.
24292
24293 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24294
24295 * subr.el (shell-quote-argument): Use alternate escaping strategy
24296 when we spot a variable reference in a string.
24297
24298 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24299
24300 * cus-start.el (all): Define customization for debug-on-event.
24301
24302 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24303
24304 * subr.el (shell-quote-argument): Escape correctly under Windows.
24305
24306 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24307
24308 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24309
24310 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24311
24312 * net/tramp.el (tramp-process-actions): Add POS argument.
24313 Delete region between POS and (pos).
24314
24315 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24316 Use `nil' position in `tramp-process-actions' call.
24317 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24318
24319 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24320 position in `tramp-process-actions' call.
24321
24322 * net/trampver.el: Update release number.
24323
24324 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24325
24326 * custom.el (defcustom): Obey lexical-binding.
24327
24328 Fix octave-inf completion problems reported by Alexander Klimov.
24329 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24330 Inherit from octave-mode-syntax-table.
24331 (inferior-octave-mode): Set info-lookup-mode.
24332 (inferior-octave-completion-at-point): New function.
24333 (inferior-octave-complete): Use it and completion-in-region.
24334 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24335 comint-filename-completion.
24336 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24337 symbol elements which shouldn't be word elements.
24338 (octave-font-lock-keywords, octave-beginning-of-defun)
24339 (octave-function-header-regexp): Adjust regexps accordingly.
24340 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24341
24342 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24343
24344 * net/gnutls.el (gnutls-errorp): Declare before first use.
24345
24346 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24347
24348 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24349 verify-error, and verify-hostname-error parameters. Check whether
24350 default trustfile exists before going to use it. Add missing
24351 argument to gnutls-message-maybe call. Return value.
24352 Reported by Claudio Bley <claudio.bley@gmail.com>.
24353 (open-gnutls-stream): Add usage example.
24354
24355 * net/network-stream.el (network-stream-open-starttls): Give host
24356 parameter to `gnutls-negotiate'.
24357 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24358 * subr.el (shell-quote-argument): Escape correctly under Windows.
24359
24360 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24361
24362 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24363 Use correct match group (bug#8438).
24364
24365 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24366
24367 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24368 (package-menu--generate): New arg specifying packages to show.
24369 (package-menu-refresh, package-menu-execute, list-packages):
24370 Callers changed.
24371 (package-show-package-list): New function, replacing deleted
24372 package--list-packages (renamed because it is non-internal).
24373
24374 * finder.el (finder-list-matches): Use package-show-package-list
24375 instead of deleted package--list-packages.
24376
24377 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24378 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24379 (vc-annotate-mode-map): Bind it to RET.
24380
24381 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24382
24383 * progmodes/etags.el (next-file): Don't use set-buffer to change
24384 buffers (Bug#8478).
24385
24386 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24387
24388 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24389
24390 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24391 (apropos-accumulator): Doc fix.
24392 (apropos-function, apropos-macro, apropos-command)
24393 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24394 (apropos-plist): Add face property.
24395 (apropos-symbols-internal): Fix indentation.
24396 (apropos-print): Simplify help, and recognize apropos-multi-type.
24397 (apropos-print-doc): Use button-type-get to extract the button's
24398 face property. Fill docstring (Bug#8352).
24399
24400 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24401
24402 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24403
24404 * play/mpuz.el (mpuz-silent): Doc fix.
24405 (mpuz-mode-map): Use mapc.
24406 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24407 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24408 Fix typos in docstrings.
24409
24410 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24411 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24412
24413 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24414
24415 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24416
24417 * minibuffer.el (completion--do-completion): Avoid the "Next char
24418 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24419
24420 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24421 mouse-2 into unread-command-events, it is interpreted correctly.
24422
24423 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24424 (image-toggle-display): Doc fix.
24425
24426 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24427
24428 * textmodes/page.el (what-page): Use line-number-at-pos to
24429 calculate line number (Bug#6825).
24430
24431 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24432
24433 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24434 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24435 Pass argument NO-DEFAULT to `find-tag-interactive'.
24436
24437 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24438
24439 Lexical-binding cleanup.
24440
24441 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24442 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24443 * progmodes/ada-prj.el (ada-prj-initialize-values)
24444 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24445 (ada-prj-show-value):
24446 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24447 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24448 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24449 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24450 * progmodes/bug-reference.el (bug-reference-push-button):
24451 * progmodes/fortran.el (fortran-line-length):
24452 * progmodes/glasses.el (glasses-change):
24453 * progmodes/octave-mod.el (octave-fill-paragraph):
24454 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24455 (python-pdbtrack-grub-for-buffer, python-sentinel):
24456 * progmodes/sql.el (sql-save-connection):
24457 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24458 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24459 Mark unused parameters.
24460
24461 * progmodes/compile.el (compilation--flush-directory-cache)
24462 (compilation--flush-parse, compile-internal): Mark unused parameters.
24463 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24464 (compilation-next-error-function): Remove unused variable `timestamp'.
24465
24466 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24467 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24468
24469 * progmodes/dcl-mode.el (dcl-end-of-command):
24470 Remove unused variable `start'.
24471 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24472 (dcl-option-value-basic, dcl-option-value-offset)
24473 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24474 Mark unused parameters.
24475 (dcl-save-local-variable): Remove unused variable `val'.
24476 (mode): Declare.
24477
24478 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24479 Mark unused parameters.
24480 (delphi-ignore-changes): Move before first use.
24481 (delphi-charset-token-at): Remove unused variable `start'.
24482 (delphi-else-start): Remove unused variable `if-count'.
24483 (delphi-comment-block-start, delphi-comment-block-end):
24484 Remove unused variable `kind'.
24485 (delphi-indent-line): Remove unused variable `new-point'.
24486
24487 * progmodes/ebrowse.el (ebrowse-files-list)
24488 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24489 Mark unused parameters. Don't quote `lambda'.
24490 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24491 Don't quote `lambda'.
24492 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24493 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24494 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24495 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24496 Use `ignore-errors'.
24497 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24498 (ebrowse-view/find-file-and-search-pattern)
24499 (ebrowse-view/find-member-declaration/definition):
24500 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24501 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24502 Rename parameter PREFIX-ARG to PREFIX.
24503 (ebrowse-tags-read-name): Remove unused variables `start' and
24504 `member-info'.
24505 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24506 to `tags-file'.
24507
24508 * progmodes/etags.el (local-find-tag-hook): Declare.
24509 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24510 Mark unused parameters.
24511
24512 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24513 (executable-interpret): Mark unused parameter.
24514
24515 * progmodes/flymake.el (flymake-process-sentinel)
24516 (flymake-after-change-function)
24517 (flymake-create-temp-with-folder-structure)
24518 (flymake-get-include-dirs-dot): Mark unused parameters.
24519 (flymake-safe-delete-directory): Remove unused variable `err'.
24520
24521 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24522 (speedbar-timer-fn, speedbar-line-text)
24523 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24524 (speedbar-center-buffer-smartly): Declare functions.
24525 (gdb-find-watch-expression): Remove unused variable `array'.
24526 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24527 (gdb-starting): Mark unused parameters.
24528 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24529 (gdb-table-string): Remove unused variable `res'.
24530 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24531 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24532 (gdb-display-buffer): Remove unused variable `cur-size'.
24533
24534 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24535 allow lexical-binding compilation.
24536 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24537 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24538 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24539 Mark unused parameters.
24540 (gud-gdb-marker-filter): Remove unused variable `match'.
24541 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24542 lambda expressions and funcall them, instead of using `fset'.
24543
24544 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24545 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24546
24547 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24548 variable `header-beg'; use `let'.
24549
24550 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24551 `restart', `last-sexp' and `at-do'.
24552
24553 * progmodes/js.el (js--debug): Mark unused parameter.
24554 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24555 (js--splice-into-items): Remove unused variable `item'.
24556 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24557
24558 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24559 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24560 (makefile-complete): Remove unused variable `try'.
24561 (makefile-fill-paragraph, makefile-match-function-end):
24562 Mark unused parameters.
24563
24564 * progmodes/octave-inf.el (inferior-octave-complete):
24565 Remove unused variable `proc'.
24566 (inferior-octave-output-digest): Mark unused parameter.
24567
24568 * progmodes/perl-mode.el (perl-calculate-indent):
24569 Remove unused variable `err'.
24570
24571 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24572 (prolog-indent-line): Mark unused parameters.
24573 (prolog-indent-line): Remove unused variable `beg'.
24574
24575 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24576 (reporter-dont-compact-list): Declare.
24577
24578 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24579 Remove unused variable `char'.
24580 (sh-debug): Mark unused parameter.
24581 (sh-get-indent-info): Remove unused variable `start'.
24582 (sh-calculate-indent): Remove unused variable `var'.
24583
24584 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24585 (simula-electric-keyword): Remove unused variable `null'.
24586 (simula-search-backward, simula-search-forward): Remove unused
24587 variables `begin' and `end'.
24588
24589 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24590 Remove unused variable `pos'.
24591 (vera-electric-tab, vera-comment-uncomment-region):
24592 Mark unused parameters.
24593 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24594
24595 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24596
24597 * emacs-lisp/package.el (package--builtins, package-alist)
24598 (package-load-descriptor, package-built-in-p, package-activate)
24599 (define-package, package-installed-p)
24600 (package-compute-transaction, package-buffer-info)
24601 (package--push): Doc fix. Distinguish more clearly between
24602 version strings and version lists.
24603
24604 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24605
24606 Lexical-binding cleanup.
24607
24608 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24609 (5x5-make-mutate-best):
24610 * play/fortune.el (fortune-in-buffer):
24611 * play/gomoku.el (gomoku-init-display):
24612 * play/solitaire.el (solitaire, solitaire-do-check):
24613 * play/tetris.el (tetris-default-update-speed-function):
24614 Mark unused parameters.
24615
24616 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24617 (bubbles--shift): Remove unused variable `char-org'.
24618 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24619 (bubbles--show-images): Remove unused variable `char'.
24620
24621 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24622 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24623 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24624 (decipher-analyze-buffer): Use ?\s.
24625 (decipher-make-checkpoint): Remove unused variable `mapping'.
24626
24627 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24628
24629 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24630 Remove unused variable `result'; use `let'.
24631
24632 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24633 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24634 (gametree-children-shown-p, gametree-compute-reduced-score):
24635 Use `ignore-errors'.
24636
24637 * play/handwrite.el (ps-lpr-switches): Declare.
24638 (handwrite): Remove unused variables `pmin' and `lastp'.
24639
24640 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24641
24642 * play/landmark.el (landmark-init-display)
24643 (landmark-update-naught-weights): Mark unused parameters.
24644 (landmark-y): Remove unused variable `noise'. Simplify.
24645 (landmark-human-plays): Remove unused variable `score'.
24646
24647 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24648 (mpuz-try-proposal): Remove unused variable `game'.
24649
24650 * play/zone.el (life-patterns): Declare.
24651
24652 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24653
24654 * vc/vc.el (ediff-vc-internal): Declare function.
24655
24656 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24657
24658 * shell.el: Use lexical-binding and std completion UI.
24659 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24660 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24661 comint-preoutput-filter-functions rather than on
24662 comint-output-filter-functions.
24663 (shell-command-completion, shell--command-completion-data)
24664 (shell-filename-completion, shell-environment-variable-completion)
24665 (shell-c-a-p-replace-by-expanded-directory): New functions.
24666 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24667 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24668 (shell-dynamic-complete-environment-variable): Use them.
24669 (shell-dynamic-complete-as-environment-variable)
24670 (shell-dynamic-complete-as-command): Remove.
24671 (shell-match-partial-variable): Match past point.
24672 * comint.el: Clean up use of completion-at-point-functions.
24673 (comint-completion-at-point): New function.
24674 (comint-mode): Use it completion-at-point-functions.
24675 (comint-dynamic-complete): Make it obsolete.
24676 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24677 (comint-c-a-p-replace-by-expanded-history): New function.
24678 (comint-dynamic-complete-functions)
24679 (comint-replace-by-expanded-history): Use it.
24680 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24681 termination strings. Try harder to avoid second try-completion.
24682 (completion-in-region-mode-map): Disable bindings that don't work yet.
24683
24684 * comint.el: Use lexical-binding. Require CL.
24685 (comint-dynamic-complete-functions): Use comint-filename-completion.
24686 (comint-completion-addsuffix): Tweak custom type.
24687 (comint-filename-completion, comint--common-suffix)
24688 (comint--common-quoted-suffix, comint--table-subvert)
24689 (comint--complete-file-name-data): New functions.
24690 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24691 (comint-dynamic-list-filename-completions): Use them.
24692 (comint-dynamic-simple-complete): Make obsolete.
24693
24694 * minibuffer.el (completion-in-region-mode):
24695 Keep completion-in-region-mode--predicate global.
24696 (completion-in-region--postch):
24697 Assume completion-in-region-mode--predicate is not null.
24698
24699 * progmodes/flymake.el (flymake-start-syntax-check-process):
24700 Obey `dir'. Simplify.
24701
24702 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24703 we're in VC after all.
24704
24705 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24706
24707 * vc/vc.el (vc-diff-build-argument-list-internal)
24708 (vc-version-ediff, vc-ediff): New commands.
24709 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24710
24711 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24712
24713 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24714 add sanity check.
24715
24716 * obsolete/erc-hecomplete.el: Make obsolete.
24717 * obsolete/: Standardize obsolescence info in the header.
24718
24719 2011-04-20 Glenn Morris <rgm@gnu.org>
24720
24721 * calendar/solar.el (solar-horizontal-coordinates):
24722 Use the longitude argument rather than `calendar-longitude'.
24723 (solar-date-next-longitude): Remove unused locals.
24724
24725 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24726
24727 * whitespace.el: New version 13.2.1.
24728
24729 2011-04-20 felix <EmacsWiki> (tiny change)
24730
24731 * whitespace.el (global-whitespace-mode): Keep highlight when
24732 switching between major modes on a file.
24733
24734 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24735
24736 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24737 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24738 multi-line comments as well.
24739
24740 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24741
24742 Lexical-binding cleanup.
24743
24744 * arc-mode.el (archive-mode-revert):
24745 * cmuscheme.el (scheme-interactively-start-process):
24746 * custom.el (custom-initialize-delay):
24747 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24748 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24749 * emacs-lock.el (emacs-lock-clear-sentinel):
24750 * ezimage.el (defezimage):
24751 * follow.el (follow-avoid-tail-recenter):
24752 * fringe.el (set-fringe-mode-1):
24753 * generic-x.el (bat-generic-mode-compile):
24754 * help-mode.el (help-info-variable, help-do-xref)
24755 (help-mode-revert-buffer):
24756 * help.el (view-emacs-todo):
24757 * iswitchb.el (iswitchb-completion-help):
24758 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24759 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24760 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24761 * locate.el (locate-update):
24762 * longlines.el (longlines-encode-region)
24763 (longlines-after-change-function):
24764 * outline.el (outline-isearch-open-invisible):
24765 * ps-def.el (declare-function, charset-dimension, char-width)
24766 (encode-char):
24767 * ps-mule.el (ps-mule-plot-string):
24768 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24769 (recentf-edit-list-select, recentf-edit-list-validate)
24770 (recentf-open-files-action):
24771 * rect.el (delete-whitespace-rectangle-line)
24772 (rectangle-number-line-callback):
24773 * register.el (window-configuration-to-register)
24774 (frame-configuration-to-register):
24775 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24776 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24777 (xselect-convert-to-targets, xselect-convert-to-delete)
24778 (xselect-convert-to-filename, xselect-convert-to-charpos)
24779 (xselect-convert-to-lineno, xselect-convert-to-colno)
24780 (xselect-convert-to-os, xselect-convert-to-host)
24781 (xselect-convert-to-user, xselect-convert-to-class)
24782 (xselect-convert-to-name, xselect-convert-to-integer)
24783 (xselect-convert-to-atom, xselect-convert-to-identity):
24784 * subr.el (declare, ignore, process-kill-without-query)
24785 (text-clone-maintain):
24786 * terminal.el (te-get-char, te-tic-sentinel):
24787 * tool-bar.el (tool-bar-make-keymap):
24788 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24789 * type-break.el (type-break-mode, type-break-noninteractive-query):
24790 * view.el (View-back-to-mark):
24791 * wid-browse.el (widget-browse-action, widget-browse-widget)
24792 (widget-browse-widgets, widget-browse-sexp):
24793 * widget.el (define-widget-keywords):
24794 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24795 Mark unused parameters.
24796
24797 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24798 (align-areas): Remove unused variable `look'.
24799 (align-region): Remove unused variables `real-end' and `pos-list'.
24800
24801 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24802
24803 * bindings.el (mode-line-modified, mode-line-remote):
24804 Mark unused parameters.
24805 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24806
24807 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24808 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24809
24810 * comint.el (comint-history-isearch-pop-state)
24811 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24812 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24813 (comint-substitute-in-file-name): Doc fix.
24814
24815 * completion.el (cmpl-statistics-block): Mark unused parameter.
24816 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24817 (save-completions-to-file, load-completions-from-file):
24818 Remove unused local variable `e'.
24819
24820 * composite.el (compose-chars): Remove unused variable `len'.
24821 (lgstring-insert-glyph): Remove unused variable `g'.
24822 (compose-glyph-string): Remove unused variables `ascent',
24823 `descent', `lbearing' and `rbearing'.
24824 (compose-glyph-string-relative): Remove unused variables
24825 `lbearing', `rbearing' and `wadjust'.
24826 (compose-gstring-for-graphic): Remove unused variables `header',
24827 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24828 (compose-gstring-for-terminal): Remove unused variables `header'
24829 and `nchars'. Use `let', not `let*'.
24830
24831 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24832 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24833 (Custom-buffer-done, custom-buffer-create-internal)
24834 (custom-browse-visibility-action, custom-browse-group-tag-action)
24835 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24836 (widget-magic-mouse-down-action, custom-toggle-parent)
24837 (custom-add-parent-links, custom-toggle-hide-variable)
24838 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24839 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24840 (custom-face-menu-create, custom-variable-menu-create, get)
24841 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24842 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24843 (customize-apropos): Remove unused variable `tests'.
24844 (custom-group-value-create): Remove unused variable `hidden-p'.
24845 (sort-fold-case): Declare.
24846
24847 * cus-theme.el (custom-reset-standard-faces-list)
24848 (custom-reset-standard-variables-list): Declare.
24849 (customize-create-theme, custom-theme-revert, custom-theme-write)
24850 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24851 Mark unused parameters.
24852
24853 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24854
24855 * delim-col.el (delimit-columns-max): Move defvar before first use.
24856
24857 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24858 (describe-char): Don't quote `lambda'. Mark unused parameter.
24859
24860 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24861 (auto-insert): Declare.
24862 (desktop-restore-file-buffer): Rename desktop-* parameters;
24863 mark unused ones.
24864 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24865 (desktop-buffer): Rename desktop-* parameters.
24866
24867 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24868 (dframe-reposition-frame-xemacs, dframe-help-echo)
24869 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24870 Mark unused parameters.
24871
24872 * dired-aux.el (backup-extract-version-start, overwrite-query)
24873 (overwrite-backup-query, rename-regexp-query)
24874 (rename-non-directory-query): Declare.
24875 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24876 (dired-add-entry): Remove unused variable `orig-file-name'.
24877 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24878 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24879 `dired-copy-preserve-time' directly.
24880 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24881 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24882
24883 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24884 (dired-virtual-revert, dired-make-relative-symlink):
24885 Mark unused parameters.
24886 (manual-program): Declare.
24887 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24888 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24889 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24890
24891 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24892
24893 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24894
24895 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24896 Declare.
24897
24898 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24899
24900 * electric.el (Electric-command-loop): Rename parameter
24901 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24902
24903 * expand.el (expand-in-literal): Remove unused variable `here'.
24904
24905 * facemenu.el (facemenu-add-new-color):
24906 Remove unused variable `docstring'.
24907
24908 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24909 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24910 (face-attr-construct): Mark unused parameter. Doc fix.
24911 (read-color): Remove unused variable `hex-string'.
24912
24913 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24914 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24915 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24916 (display-buffer-other-frame): Remove unused variable `old-window'.
24917 (kill-buffer-hook): Declare.
24918 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24919 Mark unused parameters.
24920 (after-find-file): Pass 1 to `auto-save-mode', not t.
24921
24922 * files-x.el (auto-insert): Declare.
24923 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24924
24925 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24926 variable `buf'. Mark unused parameter.
24927 (find-lisp-insert-directory): Mark unused parameter.
24928
24929 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24930 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24931 (format-common-tail): Remove, unused.
24932 (format-deannotate-region): Remove unused variable `loc'.
24933 (format-annotate-region): Remove unused variable `p'.
24934 (format-annotate-single-property-change): Remove unused variables
24935 `default' and `tail'.
24936
24937 * forms.el (read-file-filter): Declare.
24938 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24939
24940 * frame.el (frame-creation-function-alist): Mark unused parameter.
24941 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24942
24943 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24944 Remove unused parameters.
24945 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24946 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24947
24948 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24949 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24950 (hfy-prepare-tag-map): Mark unused parameters.
24951 (htmlfontify-buffer): Use `called-interactively-p'.
24952
24953 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24954 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24955 (ibuffer-do-occur): Mark unused parameters.
24956 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24957 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24958
24959 * ibuffer.el: Don't quote `lambda'.
24960 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24961 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24962 Mark unused parameters.
24963
24964 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24965 (ido-completing-read): Mark unused parameters.
24966 (ido-copy-current-word): Mark unused parameters;
24967 remove unused variable `name'.
24968 (ido-sort-merged-list): Remove unused parameter `dirs'.
24969
24970 * ielm.el (ielm-input-sender): Mark unused parameter.
24971 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24972 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24973 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24974 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24975 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24976
24977 * image-dired.el (image-dired-display-thumbs): Remove unused
24978 variables `curr-file' and `count'.
24979 (image-dired-remove-tag): Remove unused variable `start'.
24980 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24981 variable `curr-file'
24982 (image-dired-rotate-original): Remove unused variable `temp-file'.
24983 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24984 Remove unused variable `file'.
24985 (image-dired-gallery-generate): Remove unused variable `curr'.
24986 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24987
24988 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24989
24990 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24991
24992 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24993
24994 * isearch.el (minibuffer-history-symbol): Declare.
24995 (isearch-edit-string): Remove unused variable `err'.
24996 (isearch-message-prefix, isearch-message-suffix):
24997 Mark unused parameters.
24998
24999 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25000
25001 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25002
25003 * makesum.el (double-column): Remove unused variable `cnt'.
25004
25005 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25006 (ido-ignore-item-temp-list): Declare.
25007
25008 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25009 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25010 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25011 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25012 `mouse-col-delta'.
25013
25014 * mouse-sel.el (mouse-extend-internal):
25015 Remove unused variable `orig-window-frame'.
25016
25017 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25018 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25019 Move declarations before first use.
25020 (pcomplete-opt): Mark unused parameters; doc fix.
25021
25022 * proced.el (proced-revert): Mark unused parameter.
25023 (proced-send-signal): Remove unused variable `err'.
25024
25025 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25026 Rename parameter PREFIX-ARG to ARG.
25027 (ps-basic-plot-string, ps-basic-plot-whitespace):
25028 Mark unused parameters.
25029
25030 * replace.el (replace-count): Define.
25031 (occur-revert-function): Mark unused parameters.
25032 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25033 (isearch-case-fold-search, isearch-string): Declare.
25034 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25035 bind `case-fold-search'. Remove unused variables `beg' and `end',
25036 and simplify.
25037 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25038 COUNT and bind `replace-count'.
25039 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25040 to COUNT.
25041
25042 * savehist.el (print-readably, print-string-length): Declare.
25043
25044 * shadowfile.el (shadow-expand-cluster-in-file-name):
25045 Remove unused variable `cluster'.
25046 (shadow-copy-file): Remove unused variable `i'.
25047 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25048 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25049 (shadow-define-literal-group, shadow-define-regexp-group)
25050 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25051
25052 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25053 (shell): Use `called-interactively-p'.
25054 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25055
25056 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25057 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25058 (delete-backward-char): Remove unused variable `ocol'.
25059 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25060 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25061 (event-apply-hyper-modifier, event-apply-shift-modifier)
25062 (event-apply-control-modifier, event-apply-meta-modifier):
25063 Mark unused parameters.
25064 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25065 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25066
25067 * speedbar.el (speedbar-ignored-directory-expressions)
25068 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25069 (speedbar-find-file, speedbar-dir-follow)
25070 (speedbar-directory-buttons-follow, speedbar-tag-find)
25071 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25072 (speedbar-buffers-line-directory, speedbar-buffer-click):
25073 Mark unused parameters.
25074 (speedbar-tag-file): Remove unused variable `mode'.
25075 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25076
25077 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25078
25079 * talk.el (talk): Remove unused variable `display'.
25080
25081 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25082 (tar-write-region-annotate): Mark unused parameter.
25083
25084 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25085 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25086 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25087 warning by another.
25088
25089 * time-stamp.el (time-stamp-string-preprocess):
25090 Remove unused variable `require-padding'.
25091
25092 * tree-widget.el (widget-glyph-enable): Declare.
25093 (tree-widget-action): Mark unused parameter.
25094
25095 * w32-fns.el (x-get-selection): Mark unused parameter.
25096 (autoload-make-program, generated-autoload-file): Declare.
25097
25098 * wdired.el (wdired-revert): Mark unused parameters.
25099 (wdired-xcase-word): Remove unused variable `err'.
25100
25101 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25102 (whitespace-help-scroll): Remove unused variable `data-help'.
25103
25104 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25105 (widget-image-insert, widget-after-change, default)
25106 (widget-default-format-handler, widget-default-notify)
25107 (widget-default-prompt-value, widget-info-link-action)
25108 (widget-url-link-action, widget-function-link-action)
25109 (widget-variable-link-action, widget-file-link-action)
25110 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25111 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25112 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25113 (widget-insert-button-action, widget-delete-button-action, visibility)
25114 (widget-documentation-link-action, widget-documentation-string-action)
25115 (widget-const-prompt-value, widget-regexp-match, symbol)
25116 (widget-coding-system-prompt-value)
25117 (widget-key-sequence-value-to-external, sexp)
25118 (widget-sexp-value-to-internal, character, vector, cons)
25119 (widget-choice-prompt-value, widget-boolean-prompt-value)
25120 (widget-color--choose-action): Mark unused parameters.
25121 (widget-item-match-inline, widget-choice-match-inline)
25122 (widget-checklist-match, widget-checklist-match-inline)
25123 (widget-group-match): Rename parameter VALUES to VALS.
25124 (widget-field-value-set): Remove unused variable `size'.
25125 (widget-color-action): Remove unused variables `value' and `start'.
25126
25127 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25128 variable `dir'. Doc fix.
25129 (windmove-find-other-window): Don't pass it.
25130
25131 * window.el (count-windows): Mark unused parameter.
25132 (bw-adjust-window): Remove unused variable `err'.
25133
25134 * woman.el (woman-file-name): Remove unused variable `default'.
25135 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25136 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25137 (global-font-lock-mode): Declare.
25138 (woman-decode-region): Mark unused parameter.
25139 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25140
25141 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25142 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25143 (x-dnd-handle-moz-url): Remove unused variable `title'.
25144 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25145
25146 * xml.el (xml-parse-tag, xml-parse-attlist):
25147 Remove unused variable `pos'.
25148
25149 2011-04-19 Glenn Morris <rgm@gnu.org>
25150
25151 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25152 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25153 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25154 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25155 * calendar/cal-html.el (cal-html-insert-minical):
25156 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25157 (calendar-mark-date-pattern):
25158 Prefix "unused" locals.
25159
25160 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25161 optional argument `style'.
25162
25163 * calendar/appt.el (appt-make-list):
25164 * calendar/cal-china.el (calendar-chinese-date-string):
25165 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25166 (diary-hebrew-yahrzeit):
25167 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25168 * calendar/calendar.el (calendar-generate-window):
25169 * calendar/time-date.el (time-to-days):
25170 Remove unused local variables.
25171
25172 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25173
25174 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25175 glyphless-char-display table.
25176 (tabulated-list-glyphless-char-display): New var.
25177
25178 2011-04-18 Sam Steingold <sds@gnu.org>
25179
25180 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25181 to acknowledgments.
25182
25183 2011-04-17 Glenn Morris <rgm@gnu.org>
25184
25185 * calendar/diary-lib.el (diary-sexp-entry):
25186 * calendar/holidays.el (holiday-sexp):
25187 Set debug-on-error rather than the removed stack-trace-on-error.
25188
25189 2011-04-16 Glenn Morris <rgm@gnu.org>
25190
25191 * progmodes/f90.el: Use lexical-binding.
25192 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25193
25194 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25195
25196 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25197 (mail-mode): Setup mailalias completion here instead.
25198 * mail/mailalias.el: Use lexical-binding.
25199 (pattern, mailalias-done): Declare dynamic.
25200 (mail-completion-at-point-function): New function, from mail-complete.
25201 (mail-complete): Use it.
25202 (mail-completion-expand): New function.
25203 (mail-get-names): Use it.
25204 (mail-directory, mail-directory-process, mail-directory-stream):
25205 Don't use `pattern' for lexically bound arg.
25206
25207 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25208
25209 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25210 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25211 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25212
25213 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25214 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25215 (byte-interactive-p): Define them again, for use when inlining
25216 old code.
25217
25218 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25219
25220 * loadup.el: Use `string-to-number', not `string-to-int'.
25221
25222 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25223
25224 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25225 gud-gdb-complete-command.
25226 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25227 (gud-gdb-completion-at-point): New function.
25228 (gud-gdb-completions): Remove.
25229
25230 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25231
25232 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25233 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25234 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25235 whether `executable-find' is bound.
25236
25237 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25238
25239 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25240
25241 * minibuffer.el (completion-in-region-mode-predicate)
25242 (completion-in-region-mode--predicate): New vars.
25243 (completion-in-region, completion-in-region--postch)
25244 (completion-in-region-mode): Use them.
25245 (completion--capf-wrapper): Also return the hook function.
25246 (completion-at-point, completion-help-at-point):
25247 Adjust and provide a predicate.
25248
25249 Preserve arg names for advice of subr and lexical functions (bug#8457).
25250 * help-fns.el (help-function-arglist): Consolidate the subr and
25251 new-byte-code cases. Add argument `preserve-names' to extract names
25252 from the docstring when needed.
25253 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25254 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25255 (ad-arglist): Use help-function-arglist's new arg.
25256 (ad-definition-type): Use cond.
25257
25258 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25259
25260 * autorevert.el (auto-revert-handler):
25261 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25262 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25263 Don't quote lambda.
25264
25265 * image-mode.el (image-transform-set-scale):
25266 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25267
25268 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25269
25270 * net/network-stream.el (network-stream-open-starttls): Only do
25271 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25272 Upgrades via gnutls-cli are too slow to be done opportunistically.
25273
25274 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25275
25276 * dframe.el (dframe-current-frame): Remove spurious quote.
25277
25278 2011-04-12 Glenn Morris <rgm@gnu.org>
25279
25280 * calendar/cal-tex.el (cal-tex-end-document):
25281 Try to automatically use latin1 input if needed.
25282
25283 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25284 Don't try to cons a mark onto an empty element.
25285
25286 2011-04-11 Leo Liu <sdl.web@gmail.com>
25287
25288 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25289 buffers.
25290 (ido-kill-buffer-at-head): Support killing virtual buffers.
25291
25292 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25293
25294 * minibuffer.el (completion-show-inline-help): New var.
25295 (completion--do-completion, minibuffer-complete)
25296 (minibuffer-force-complete, minibuffer-complete-word):
25297 Inhibit minibuffer messages if completion-show-inline-help is nil.
25298
25299 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25300 to avoid interference from inline help (Bug#5849).
25301
25302 2011-04-10 Leo Liu <sdl.web@gmail.com>
25303
25304 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25305 Fix typo.
25306
25307 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25308
25309 * image-mode.el (image-toggle-display-image): Signal an error if
25310 not in Image mode.
25311 (image-transform-mode, image-transform-resize)
25312 (image-transform-set-rotation): Doc fix.
25313 (image-transform-set-resize): Delete.
25314 (image-transform-set-scale, image-transform-fit-to-height)
25315 (image-transform-fit-to-width): Handle image-toggle-display-image
25316 and image-transform-resize directly.
25317
25318 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25319
25320 * doc-view.el (doc-view-fit-width-to-window)
25321 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25322 New functions for fitting the shown image to the Emacs window size.
25323 (doc-view-mode-map): Add bindings for the new functions.
25324
25325 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25326
25327 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25328 Fix typo in docstring.
25329
25330 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25331
25332 * files.el (file-size-human-readable): Produce one digit after
25333 decimal, like "ls -lh" does.
25334
25335 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25336 the file size representation.
25337
25338 * simple.el (list-processes): If async subprocesses are not
25339 available, error out with a clear error message.
25340
25341 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25342
25343 * help.el (help-form-show): New function, to be called from C.
25344 Put help-form output in a buffer named differently than *Help*.
25345
25346 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25347
25348 * files.el (file-size-human-readable): New function.
25349
25350 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25351 computing the representation inline. Don't require `cl'.
25352
25353 2011-04-08 Glenn Morris <rgm@gnu.org>
25354
25355 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25356
25357 * net/browse-url.el (browse-url-firefox):
25358 Test system-type, not system-configuration.
25359
25360 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25361 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25362 Use log-edit-empty-buffer-p. (Bug#7598)
25363
25364 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25365 (rlogin-mode-map): Initialize in the defvar.
25366 (rlogin): Use ignore-errors.
25367
25368 * replace.el (occur-mode-map): Some fixes for menu items.
25369
25370 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25371
25372 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25373
25374 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25375
25376 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25377 issuing unused warnings.
25378
25379 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25380 macro directly.
25381
25382 * simple.el: Lisp reimplement of list-processes. Based on an
25383 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25384 (process-menu-mode): New major mode.
25385 (list-processes--refresh, list-processes):
25386 (process-menu-visit-buffer): New functions.
25387
25388 * files.el (save-buffers-kill-emacs): Don't assume any return
25389 value of list-processes, which is undocumented anyway.
25390
25391 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25392
25393 * emacs-lisp/tabulated-list.el: New file.
25394
25395 * emacs-lisp/package.el: Use Tabulated List mode.
25396 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25397 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25398 table format using Tabulated List mode variables.
25399 (package--push): New macro, replacing package-list-maybe-add.
25400 (package-menu--generate): Use package--push. Renamed from
25401 package--generate-package-list.
25402 (package-menu-refresh, list-packages): Use it.
25403 (package-menu--print-info): Rename from package-print-package.
25404 Return insertion data instead of inserting it directly.
25405 (package-menu-describe-package, package-menu-execute):
25406 Use tabulated-list-get-id.
25407 (package-menu-mark-delete, package-menu-mark-install)
25408 (package-menu-mark-unmark, package-menu-backup-unmark)
25409 (package-menu-mark-obsolete-for-deletion):
25410 Use tabulated-list-put-tag.
25411 (package--list-packages, package-menu-revert)
25412 (package-menu-get-package, package-menu-get-version)
25413 (package-menu-sort-by-column): Functions deleted.
25414 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25415 (package-menu--status-predicate, package-menu--version-predicate)
25416 (package-menu--name-predicate)
25417 (package-menu--description-predicate): Handle arguments in the
25418 Tabulated List format.
25419 (package-list-packages-no-fetch): Call list-packages.
25420
25421 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25422
25423 * files.el (after-find-file-from-revert-buffer): Remove variable.
25424 (after-find-file): Don't bind it.
25425 (revert-buffer-in-progress-p): New variable.
25426 (revert-buffer): Bind it.
25427 Pass nil for `after-find-file-from-revert-buffer'.
25428
25429 * saveplace.el (save-place-find-file-hook): Use new variable
25430 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25431
25432 2011-04-06 Glenn Morris <rgm@gnu.org>
25433
25434 * Makefile.in (AUTOGEN_VCS): New variable.
25435 (autoloads): Use $AUTOGEN_VCS.
25436
25437 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25438 * calendar/calendar.el (calendar-mode-map):
25439 Check for toolkit scroll bars. (Bug#8305)
25440
25441 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25442
25443 * minibuffer.el (completion-in-region--postch)
25444 (completion-in-region-mode): Remove unnecessary messages.
25445
25446 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25447
25448 * font-lock.el (font-lock-refresh-defaults):
25449 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25450 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25451
25452 * info.el (Info-directory-list, Info-read-node-name-2)
25453 (Info-split-parameter-string): Doc fixes.
25454 (Info-virtual-nodes): Reflow docstring.
25455 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25456 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25457 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25458 Fix typos in docstrings.
25459 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25460 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25461 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25462 (Info-restore-desktop-buffer): Mark unused parameters.
25463 (Info-directory-find-file, Info-directory-find-node)
25464 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25465 (Info-virtual-index-find-node, Info-apropos-find-file)
25466 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25467 Mark unused parameters; fix typos in docstrings.
25468 (Info-virtual-index): Remove unused local variable `nodename'.
25469
25470 2011-04-05 Deniz Dogan <deniz@dogan.se>
25471
25472 * net/rcirc.el: Update my e-mail address.
25473 (rcirc-mode-map): Remove M-o binding.
25474
25475 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25476
25477 * startup.el (command-line): Save the cursor's theme-face
25478 directly, instead of using face-override-spec.
25479
25480 * custom.el (load-theme): Minor optimization in assigning faces.
25481
25482 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25483
25484 * help-fns.el (describe-variable): Complete all variables having
25485 documentation, including keywords.
25486 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25487
25488 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25489
25490 Convert to lexical-binding.
25491
25492 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25493 (bs--get-marked-string, bs--get-modified-string)
25494 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25495 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25496 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25497
25498 * ehelp.el (electric-help-execute-extended)
25499 (electric-help-ctrl-x-prefix):
25500 * hexl.el (hexl-revert-buffer-function):
25501 * linum.el (linum-after-change, linum-after-scroll):
25502 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25503
25504 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25505
25506 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25507
25508 * epa-dired.el:
25509 * epa-mail.el:
25510 * epa-hook.el:
25511 * epa-file.el:
25512 * epa.el:
25513 * epg.el: Use lexical binding.
25514
25515 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25516
25517 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25518
25519 * textmodes/flyspell.el (flyspell-word): Recognize default
25520 dictionary case for flyspell-mark-duplications-exceptions.
25521 Use regexp matching for languages.
25522 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25523 default dictionary (Bug#7926).
25524
25525 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25526
25527 * emacs-lisp/package.el (package--with-work-buffer):
25528 Recognize https URLs.
25529
25530 * net/network-stream.el: Move from gnus/proto-stream.el.
25531 Change prefix to network-stream throughout.
25532 (open-protocol-stream): Merge into open-network-stream, leaving
25533 open-protocol-stream as an alias. Handle nil BUFFER args.
25534
25535 * subr.el (open-network-stream): Move to net/network-stream.el.
25536
25537 2011-04-02 Glenn Morris <rgm@gnu.org>
25538
25539 * find-dired.el (find-exec-terminator): New option.
25540 (find-ls-option): Test for -ls support.
25541 (find-ls-subdir-switches): Test for -b in find-ls-option.
25542 (find-dired, find-grep-dired): Doc fixes.
25543 (find-dired): Use find-exec-terminator.
25544
25545 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25546 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25547 (find-name-arg): Remove purecopy.
25548
25549 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25550 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25551 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25552 accordingly. Don't add the null-device if not needed.
25553
25554 * files.el (save-some-buffers): Doc fix.
25555
25556 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25557
25558 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25559
25560 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25561
25562 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25563 Use `dolist' rather than `mapcar'.
25564
25565 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25566
25567 Add lexical binding.
25568
25569 * subr.el (apply-partially): Use new closures rather than CL.
25570 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25571 (dolist, dotimes): Use slightly different expansion for lexical code.
25572 (functionp): Move to C.
25573 (letrec): New macro.
25574 (with-wrapper-hook): Use it and apply-partially instead of CL.
25575 (eval-after-load): Preserve lexical-binding.
25576 (save-window-excursion, with-output-to-temp-buffer): Turn them
25577 into macros.
25578
25579 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25580
25581 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25582 than the arglist.
25583 (help-add-fundoc-usage): Don't add `Not documented'.
25584 (help-function-arglist): Handle closures, subroutines, and new
25585 byte-code-functions.
25586 (help-make-usage): Remove leading underscores.
25587 (describe-function-1): Handle closures.
25588 (describe-variable): Use special-variable-p for completion.
25589
25590 * files.el (lexical-binding): Declare safe.
25591
25592 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25593 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25594 (pcase): Add `let' pattern.
25595 Change memoization so it actually works.
25596 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25597 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25598 <let>: New case.
25599
25600 * emacs-lisp/macroexp.el: Use lexical binding.
25601 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25602 Don't convert ' to #' without checking that it's indeed quoting
25603 a lambda.
25604
25605 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25606 Use eval-sexp-add-defvars.
25607 (eval-sexp-add-defvars): New fun.
25608
25609 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25610
25611 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25612 Don't autoload.
25613 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25614 than the internal `byte-compile-lambda'.
25615 (defmethod): Don't hide code under quotes.
25616 (eieio-defmethod): New `code' argument.
25617
25618 * emacs-lisp/eieio-comp.el: Remove.
25619
25620 * emacs-lisp/edebug.el (edebug-eval-defun)
25621 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25622 (edebug-toggle): Avoid `eval'.
25623
25624 * emacs-lisp/disass.el (disassemble-internal): Handle new
25625 `closure' objects.
25626 (disassemble-1): Handle new byte codes.
25627
25628 * emacs-lisp/cl.el (pushnew): Silence warning.
25629
25630 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25631 (cl-byte-compile-throw): Remove.
25632 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25633
25634 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25635 closures.
25636
25637 * emacs-lisp/cconv.el: New file.
25638
25639 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25640 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25641 (byte-compile-initial-macro-environment):
25642 Handle declare-function here.
25643 (byte-compile--lexical-environment): New var.
25644 (byte-stack-ref, byte-stack-set, byte-discardN)
25645 (byte-discardN-preserve-tos): New lap codes.
25646 (byte-interactive-p): Don't use any more.
25647 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25648 New macros.
25649 (byte-compile-lapcode): Use them and handle new lap codes.
25650 (byte-compile-obsolete): Remove.
25651 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25652 (byte-compile-arglist-warn): Check late def of inlinable funs.
25653 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25654 since they should have been expanded by now.
25655 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25656 (byte-compile-from-buffer): Remove unused second arg.
25657 (byte-compile-preprocess): New function.
25658 (byte-compile-toplevel-file-form): New function to distinguish
25659 file-form calls from outside from file-form calls from hunk-handlers.
25660 (byte-compile-file-form): Simplify.
25661 (byte-compile-file-form-defsubst): Remove.
25662 (byte-compile-file-form-defmumble): Simplify now that
25663 byte-compile-lambda always returns a byte-code-function.
25664 (byte-compile): Preprocess.
25665 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25666 Remove, not used any more.
25667 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25668 (byte-compile-make-args-desc): New funs.
25669 (byte-compile-lambda): Handle lexical functions. Always return
25670 a byte-code-function.
25671 (byte-compile-reserved-constants): New var, to make up room for
25672 closed-over variables.
25673 (byte-compile-constants-vector): Obey it.
25674 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25675 (byte-compile-macroexpand-declare-function): New function.
25676 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25677 byte-code-functions.
25678 (byte-compile-form): Check obsolescence here.
25679 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25680 (byte-compile-variable-ref): Remove.
25681 (byte-compile-dynamic-variable-op): New fun.
25682 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25683 (byte-compile-variable-set): New funs.
25684 (byte-compile-discard): Add 2 args.
25685 (byte-compile-stack-ref, byte-compile-stack-set)
25686 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25687 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25688 macroexpand-all instead.
25689 (byte-compile-quote-form): Remove.
25690 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25691 (byte-compile-bind, byte-compile-unbind): New funs.
25692 (byte-compile-let): Handle let* and lexical binding.
25693 (byte-compile-let*): Remove.
25694 (byte-compile-catch, byte-compile-unwind-protect)
25695 (byte-compile-track-mouse, byte-compile-condition-case):
25696 Handle a new :fun-body form, used for lexical scoping.
25697 (byte-compile-save-window-excursion)
25698 (byte-compile-with-output-to-temp-buffer): Remove.
25699 (byte-compile-defun): Simplify.
25700 (byte-compile-stack-adjustment): New fun.
25701 (byte-compile-out): Use it.
25702 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25703
25704 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25705 handler any more.
25706
25707 * emacs-lisp/byte-opt.el: Use lexical binding.
25708 (byte-inline-lapcode): Remove (to bytecomp).
25709 (byte-compile-inline-expand): Pay attention to inlining to/from
25710 lexically bound code.
25711 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25712 any more.
25713 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25714 any more and don't call compiler-macros.
25715 (byte-compile-splice-in-already-compiled-code): Remove.
25716 (byte-code): Don't inline any more.
25717 (disassemble-offset): Receive `bytes' as argument rather than via
25718 dynamic scoping.
25719 (byte-compile-tag-number): Declare before first use.
25720 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25721 `return' even if make-spliceable.
25722 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25723 obsolete interactive-p.
25724 (byte-optimize-lapcode): Optimize new lap-codes.
25725 Don't trip up on new form of `byte-constant' lap code.
25726
25727 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25728
25729 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25730
25731 * custom.el (custom-initialize-default, custom-declare-variable):
25732 Use `defvar'.
25733
25734 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25735 New variables.
25736 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25737 (COMPILE_FIRST): Add macroexp and cconv.
25738 * makefile.w32-in: Mirror changes in Makefile.in.
25739
25740 * vc/cvs-status.el:
25741 * vc/diff-mode.el:
25742 * vc/log-edit.el:
25743 * vc/log-view.el:
25744 * vc/smerge-mode.el:
25745 * textmodes/bibtex-style.el:
25746 * textmodes/css-mode.el:
25747 * startup.el:
25748 * uniquify.el:
25749 * minibuffer.el:
25750 * newcomment.el:
25751 * reveal.el:
25752 * server.el:
25753 * mpc.el:
25754 * emacs-lisp/smie.el:
25755 * doc-view.el:
25756 * dired.el:
25757 * abbrev.el: Use lexical binding.
25758
25759 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25760
25761 * info.el (info-display-manual): New function.
25762
25763 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25764
25765 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25766
25767 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25768
25769 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25770 an entry for that server in rcirc-authinfo. (Bug#8385)
25771
25772 2011-03-31 Glenn Morris <rgm@gnu.org>
25773
25774 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25775
25776 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25777
25778 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25779
25780 * progmodes/python.el (python-default-interpreter)
25781 (python-python-command-args, python-jython-command-args)
25782 (python-which-shell, python-which-args, python-which-bufname)
25783 (python-file-queue, python-comint-output-filter-function)
25784 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25785 variables and functions.
25786
25787 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25788
25789 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25790 (completion-in-region-mode): New minor mode.
25791 (completion-in-region): Use it.
25792 (completion-in-region--data, completion-in-region-mode-map): New vars.
25793 (completion-in-region--postch): New function.
25794 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25795 New vars.
25796 (completion--capf-wrapper): New function.
25797 (completion-at-point): Use it to track well-behavedness of
25798 hook functions.
25799 (completion-help-at-point): New command.
25800
25801 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25802
25803 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25804 syntax class to search for whitespace on a single line
25805 (Message-ID: <4D938140.4030905@redhat.com>).
25806
25807 2011-03-30 Leo Liu <sdl.web@gmail.com>
25808
25809 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25810 New commands.
25811 (edit-abbrevs-map): Bind them here.
25812 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25813
25814 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25815
25816 * allout.el (allout-hide-by-annotation, allout-flag-region):
25817 Reduce possibility of overlay leakage by making them volatile.
25818
25819 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25820 hash is not shared between buffers. Mode initialization is
25821 responsible for giving it a useful starting value.
25822 (allout-item-span): Reduce possibility of overlay leakage by
25823 making them volatile.
25824 (allout-widgets-count-buttons-in-region): Add diagnostic function
25825 for tracking down button overlay leaks.
25826
25827 2011-03-29 Leo Liu <sdl.web@gmail.com>
25828
25829 * ido.el (ido-read-internal): Use the default history var
25830 minibuffer-history if no HISTORY is specified.
25831
25832 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25833
25834 * net/imap.el (imap-shell-open, imap-process-connection-type):
25835 Use imap-process-connection-type for 'shell' streams as well as
25836 Kerberos, SSL, other subprocesses.
25837
25838 2011-03-28 Leo Liu <sdl.web@gmail.com>
25839
25840 * abbrev.el (abbrev-table-empty-p): New function.
25841 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25842 nonempty ones. (Bug#5937)
25843
25844 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25845
25846 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25847
25848 2011-03-27 Leo Liu <sdl.web@gmail.com>
25849
25850 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25851 for foreground and background colors.
25852 (ansi-color-make-color-map): Adapt.
25853
25854 2011-03-25 Leo Liu <sdl.web@gmail.com>
25855
25856 * midnight.el (midnight-time-float): Remove. Note it calculates
25857 the microsecond component incorrectly and seconds-to-time does the
25858 same job.
25859 Remove redundant (require 'timer).
25860
25861 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25862 (ido-completions): Remove unused arguments. (Bug#8329)
25863
25864 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25865
25866 * minibuffer.el (completion--flush-all-sorted-completions):
25867 Remove itself from hook.
25868 (completion-at-point): Let the functions perform the completion
25869 immediately and return nil or t.
25870 * comint.el (comint-dynamic-complete-functions): Now identical to
25871 completion-at-point-functions.
25872 (comint-dynamic-list-input-ring): Remove unused var `index'.
25873 (comint--match-partial-filename, comint--unquote&expand-filename):
25874 New funs, split from comint-match-partial-filename.
25875 (comint-dynamic-complete): Use completion-at-point.
25876 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25877
25878 2011-03-24 Drew Adams <drew.adams@oracle.com>
25879
25880 * thingatpt.el: Support `defun'.
25881
25882 2011-03-23 Leo Liu <sdl.web@gmail.com>
25883
25884 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25885
25886 * help-mode.el (help-mode-finish): Tweak regexp.
25887
25888 2011-03-23 Glenn Morris <rgm@gnu.org>
25889
25890 * eshell/esh-opt.el (eshell-eval-using-options):
25891 Do not bind unused local variable `eshell-option-stub'.
25892
25893 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25894
25895 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25896
25897 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25898 keymap variable in `with-no-warnings' to avoid a warning when the
25899 keymap has been already `defconst'ed.
25900
25901 2011-03-22 Leo Liu <sdl.web@gmail.com>
25902
25903 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25904 encode all chars in abbrevs; otherwise use emacs-mule or
25905 utf-8-emacs. (Bug#8308)
25906
25907 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25908
25909 * simple.el (backward-delete-char-untabify):
25910 Avoid warning about using `delete-backward-char'.
25911
25912 * image.el (image-type-file-name-regexps): Make it variable.
25913 `imagemagick-register-types' modifies it, and the user may want
25914 to add new extensions for known image types.
25915 (imagemagick-register-types): Throw error if not using ImageMagick.
25916
25917 2011-03-22 Leo Liu <sdl.web@gmail.com>
25918
25919 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25920 located before rcirc-prompt-end-marker.
25921 (rcirc-complete): Error if point is not after rcirc prompt.
25922 Handle the case when table is nil.
25923 (rcirc-user-authenticated): Define to fix compiler warning.
25924
25925 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25926
25927 * custom.el (custom--inhibit-theme-enable): Make it affect only
25928 custom-theme-set-variables and custom-theme-set-faces.
25929 (provide-theme): Ignore custom--inhibit-theme-enable.
25930 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25931 (custom-enabling-themes): Delete variable.
25932 (enable-theme): Accept only loaded themes as arguments.
25933 Ignore the special custom-enabled-themes variable.
25934 (custom-enabled-themes): Forbid themes from setting this.
25935 Eliminate use of custom-enabling-themes.
25936 (custom-push-theme): Quote "changed" custom var entry.
25937
25938 2011-03-21 Leo Liu <sdl.web@gmail.com>
25939
25940 * ido.el (ido-read-internal): Add ido-selected to history instead
25941 of user input.
25942
25943 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25944
25945 * subr.el (deferred-action-list, deferred-action-function):
25946 Mark obsolete.
25947
25948 2011-03-21 Leo Liu <sdl.web@gmail.com>
25949
25950 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25951 change on 2011-02-13 (bug#8309).
25952
25953 * minibuffer.el (read-file-name-function): Change default value.
25954 (read-file-name--defaults): Rename from read-file-name-defaults.
25955 (read-file-name-default): Rename from read-file-name.
25956 (read-file-name): Call read-file-name-function.
25957
25958 2011-03-21 Glenn Morris <rgm@gnu.org>
25959
25960 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25961 Doc fixes.
25962
25963 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25964
25965 * cus-theme.el: Add missing provide statement.
25966 (customize-create-theme): Extract theme value correctly.
25967 (custom-theme-visit-theme): Autoload.
25968 (customize-create-theme): Prompt before inserting default faces.
25969
25970 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25971
25972 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25973 units and musical notes.
25974
25975 2011-03-20 Leo Liu <sdl.web@gmail.com>
25976
25977 * ido.el (ido-read-internal): Use completing-read-default.
25978 (ido-completing-read): Fix compatibility with completing-read.
25979
25980 2011-03-20 Christian Ohler <ohler@gnu.org>
25981
25982 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25983 (ert-delete-all-tests): Use `called-interactively-p' rather than
25984 `interactive-p'.
25985 (ert--make-xrefs-region): Respect END.
25986
25987 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25988
25989 * dired-aux.el (dired-create-directory): Signal an error if the
25990 directory already exists (Bug#8246).
25991
25992 * facemenu.el (list-colors-display): Call list-faces-display
25993 inside with-help-window.
25994 (list-colors-print): Use display property to align the final
25995 column, instead of checking window-width.
25996
25997 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25998
25999 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26000 windows-nt systems.
26001 (emerge-protect-metachars): Quote correctly for ms-dos and
26002 windows-nt systems.
26003
26004 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26005
26006 * info.el (info-initialize): Replace all uses of `:' with
26007 path-separator for compatibility with non-Unix systems.
26008 Cache quoting of path-separator. (Bug#8258)
26009
26010 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26011
26012 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26013 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26014 (mouse-avoidance-mode): Fix typos in docstrings.
26015
26016 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26017
26018 * startup.el (package-subdirectory-regexp): Move from package.el.
26019 Omit \\` and \\', and let callers add them.
26020
26021 * emacs-lisp/package.el (package-strip-version)
26022 (package-load-all-descriptors): Add \\` and \\' to
26023 package-subdirectory-regexp before using it.
26024 (package-untar-buffer): New arg DIR; ensure that file untars only
26025 into this expected directory. Remove superfluous delete-region.
26026 (package-unpack): Caller changed.
26027 (package-tar-file-info): Use package-subdirectory-regexp.
26028
26029 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26030
26031 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26032 diff-mode-shared-map (bug#8284).
26033 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26034
26035 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26036
26037 * calendar/time-date.el (format-seconds): Use assoc instead of
26038 assoc-string, since assoc-string doesn't exist in XEmacs.
26039
26040 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26041
26042 * custom.el (custom-known-themes): Reflow docstring.
26043 (custom-theme-load-path): Fix typo in docstring.
26044 (load-theme): Fix typo in error message.
26045 (custom-available-themes, custom-variable-theme-value):
26046 Use `let', not `let*'.
26047
26048 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26049
26050 * calc/README: Mention inclusion of musical notes.
26051
26052 * calc/calc-units.el (calc-lu-quant): Rename from
26053 `calc-logunits-quantity'.
26054 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26055 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26056 (calc-db): Rename from `calc-dblevel'.
26057 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26058 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26059 (calc-np): Rename from `calc-nplevel'.
26060 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26061 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26062 (calc-lu-plus): Rename from `calc-logunits-add'.
26063 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26064 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26065 (calc-lu-minus): Rename from `calc-logunits-sub'.
26066 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26067 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26068 (calc-lu-times): Rename from `calc-logunits-mul'.
26069 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26070 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26071 (calc-lu-divide): Rename from `calc-logunits-div'.
26072 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26073 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26074
26075 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26076 functions being autoloaded.
26077
26078 * calc/calc.el (calc-lu-power-reference): Rename from
26079 `calc-logunits-power-reference'.
26080 (calc-lu-field-reference): Rename from
26081 `calc-logunits-field-reference'.
26082
26083 * calc/calc-help.el (calc-l-prefix-help):
26084 Mention musical note functions.
26085
26086 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26087
26088 * minibuffer.el (completion-all-sorted-completions):
26089 Use :completion-cycle-penalty text property if present.
26090
26091 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26092
26093 * allout.el (allout-yank-processing): Adjust for new rebulleting
26094 regime so bullet being yanked is used without prompting the user
26095 for a choice.
26096
26097 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26098
26099 * startup.el (command-line): Warn the user that _emacs is deprecated.
26100
26101 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26102
26103 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26104 (delphi-verbose, delphi-comment-face, delphi-string-face)
26105 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26106 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26107 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26108 (delphi-new-comment-line, delphi-font-lock-defaults)
26109 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26110 Fix typos in docstrings.
26111
26112 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26113
26114 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26115 Invert the roles of character and string values for INSTEAD, so a
26116 string is used for the more common case of a defaulting prompt.
26117
26118 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26119
26120 * progmodes/ruby-mode.el (ruby-backward-sexp):
26121 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26122 * play/gamegrid.el (gamegrid-make-face):
26123 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26124 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26125 * notifications.el (notifications-notify):
26126 * net/xesam.el (xesam-search-engines):
26127 * net/quickurl.el (quickurl-list-insert):
26128 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26129
26130 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26131
26132 * startup.el (command-line): Update package subdirectory regexp.
26133
26134 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26135
26136 * allout.el (allout-abbreviate-flattened-numbering)
26137 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26138
26139 * subr.el (read-char-choice): Only show the cursor after the prompt,
26140 not after the answer.
26141
26142 2011-03-15 Kevin Ryde <user42@zip.com.au>
26143
26144 * help-fns.el (variable-at-point): Skip leading quotes, if any
26145 (bug#8253).
26146
26147 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26148
26149 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26150 warning message.
26151
26152 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26153
26154 * shell.el (shell): When called interactively, offer to change the
26155 shell file name on remote hosts.
26156
26157 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26158
26159 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26160 integration for LDAP parameters. The host, base, user or binddn,
26161 and secret tokens can be specified in a netrc file, for instance.
26162 This is optional because an `auth-source' parameter must be
26163 specified in the search attributes.
26164
26165 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26166
26167 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26168
26169 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26170
26171 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26172 into declaration. Remove redundant and harmful binding.
26173
26174 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26175
26176 * files.el (file-ownership-preserved-p): Pass `integer' as an
26177 explicit 2nd argument to `file-attributes'. If the file's owner
26178 is the Administrators group on Windows, and the current user is
26179 Administrator, consider that a match.
26180
26181 * server.el (server-ensure-safe-dir): Consider server directory
26182 safe on MS-Windows if its owner is the Administrators group while
26183 the current Emacs user is Administrator. Use `=' to compare
26184 numerical UIDs, since they could be integers or floats.
26185
26186 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26187
26188 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26189
26190 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26191
26192 Sync with Tramp 2.2.1.
26193
26194 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26195
26196 * net/trampver.el: Update release number.
26197
26198 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26199
26200 * progmodes/compile.el (compilation--previous-directory): Fix up
26201 various nil/dead-marker mismatches (bug#8014).
26202 (compilation-directory-properties, compilation-error-properties):
26203 Don't call it at a position past the one we're about to change.
26204
26205 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26206 Disable obsolescence warnings in the file that declares it.
26207
26208 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26209
26210 * allout-widgets.el (allout-widgets-tally):
26211 Initialize allout-widgets-tally as a hash table rather than nil to
26212 prevent mode-line redisplay warnings. Also, clarify the module
26213 description and fix a comment typo.
26214
26215 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26216
26217 * help-fns.el (describe-variable): Don't complete keywords.
26218 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26219
26220 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26221
26222 * emacs-lisp/package.el (package-version-join): Impose a standard
26223 string representation for pre/alpha/beta version lists.
26224 (package-unpack-single): Standardize the directory name by passing
26225 it through package-version-join.
26226 (package-strip-rcs-id): Accept any version string that does not
26227 signal an error in version-to-list.
26228
26229 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26230
26231 * simple.el (delete-trailing-whitespace): Return nil for the
26232 benefit of `write-file-functions'.
26233
26234 2011-03-10 Glenn Morris <rgm@gnu.org>
26235
26236 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26237
26238 * vc/vc-git.el (vc-git-program): New option.
26239 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26240 (vc-git--call): Use it.
26241
26242 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26243
26244 * cus-edit.el (Custom-newline): If no button at point, look
26245 for a subgroup button at start-of-line. (Bug#2298)
26246
26247 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26248
26249 2011-03-10 Julien Danjou <julien@danjou.info>
26250
26251 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26252 `cursor-type' is nil.
26253
26254 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26255
26256 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26257
26258 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26259
26260 * allout.el: Change so yank of distinctive-bullet items
26261 preserves the existing header prefix, rebulleting it if necessary,
26262 rather than replacing it. This is necessary for proper operation
26263 of cooperative addons like allout-widgets.
26264 (allout-make-topic-prefix, allout-rebullet-heading):
26265 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26266 value as alternate bullet to be used, instead of prompting the user
26267 for a bullet character.
26268
26269 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26270
26271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26272 Do not use `tramp-file-name-port', because this returns also
26273 `tramp-default-port'.
26274
26275 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26276
26277 * net/rcirc.el (rcirc-handler-001): Remove useless
26278 with-rcirc-process-buffer.
26279 (rcirc-check-auth-status): Swap arguments to string-match.
26280
26281 2011-03-09 Glenn Morris <rgm@gnu.org>
26282
26283 * shell.el (shell-mode):
26284 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26285
26286 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26287 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26288
26289 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26290
26291 * emacs-lisp/package.el (package-refresh-contents)
26292 (package-menu-execute): Use condition-case-no-debug.
26293
26294 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26295
26296 * simple.el (shell-command-to-string): Use `process-file'.
26297
26298 * emacs-lisp/package.el (package-tar-file-info): Handle also
26299 remote files.
26300
26301 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26302 Use `equal' for upload base check.
26303
26304 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26305
26306 * textmodes/texinfo.el (texinfo-environments):
26307 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26308
26309 2011-03-08 Glenn Morris <rgm@gnu.org>
26310
26311 * cus-start.el (cursor-in-non-selected-windows):
26312 Fix :set quoting oddness. (Bug#8192)
26313
26314 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26315 in some setf expressions. (Bug#2159)
26316
26317 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26318
26319 * custom.el (custom-available-themes): Return themes in
26320 alphabetical order.
26321
26322 See ChangeLog.15 for earlier changes.
26323
26324 ;; Local Variables:
26325 ;; coding: utf-8
26326 ;; End:
26327
26328 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26329
26330 This file is part of GNU Emacs.
26331
26332 GNU Emacs is free software: you can redistribute it and/or modify
26333 it under the terms of the GNU General Public License as published by
26334 the Free Software Foundation, either version 3 of the License, or
26335 (at your option) any later version.
26336
26337 GNU Emacs is distributed in the hope that it will be useful,
26338 but WITHOUT ANY WARRANTY; without even the implied warranty of
26339 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26340 GNU General Public License for more details.
26341
26342 You should have received a copy of the GNU General Public License
26343 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.