* lisp/vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-25 Glenn Morris <rgm@gnu.org>
2
3 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
4
5 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * progmodes/opascal.el (opascal-set-token-property): Rename from
8 opascal-set-text-properties and only set `token' (bug#14134).
9 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10 (opascal-literal-text-properties): Remove.
11 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12 Adjust callers.
13
14 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15
16 * textmodes/remember.el (remember-handler-functions): Add an
17 option for a new handler `remember-store-in-files'.
18 (remember-data-directory, remember-directory-file-name-format):
19 New options.
20 (remember-store-in-files): New function to store remember notes
21 as separate files within a directory.
22
23 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24
25 * progmodes/compile.el (compilation-next-error-function):
26 Pass "formats" to compilation-find-file (bug#11777).
27
28 2013-04-24 Glenn Morris <rgm@gnu.org>
29
30 * vc/vc-bzr.el (vc-bzr-print-log):
31 * vc/vc-hg.el (vc-hg-print-log):
32 * vc/vc-svn.el (vc-svn-print-log):
33 Fix START-REVISION with LIMIT != 1. (Bug#14168)
34
35 * vc/vc-bzr.el (vc-bzr-print-log):
36 * vc/vc-cvs.el (vc-cvs-print-log):
37 * vc/vc-git.el (vc-git-print-log):
38 * vc/vc-hg.el (vc-hg-print-log):
39 * vc/vc-mtn.el (vc-mtn-print-log):
40 * vc/vc-rcs.el (vc-rcs-print-log):
41 * vc/vc-sccs.el (vc-sccs-print-log):
42 * vc/vc-svn.el (vc-svn-print-log):
43 * vc/vc.el (vc-print-log-internal): Doc fixes.
44
45 2013-04-23 Glenn Morris <rgm@gnu.org>
46
47 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
48 Remove venerable code attempting to avoid substitute-command-keys.
49
50 2013-04-23 Tassilo Horn <tsdh@gnu.org>
51
52 * textmodes/reftex-vars.el (reftex-label-regexps):
53 Call `reftex-compile-variables' after changes to this variable.
54
55 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
58 Use lexical-binding.
59 (jit-lock-force-redisplay): Use markers, check buffer's continued
60 existence and beware narrowed buffers.
61 (jit-lock-fontify-now): Adjust call accordingly.
62
63 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
66 to avoid misleading the user.
67
68 2013-04-22 Leo Liu <sdl.web@gmail.com>
69
70 * info-look.el: Prefer latex2e.info. (Bug#14240)
71
72 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
73
74 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
75
76 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
77 * net/tramp.el (tramp-call-process): ... here
78 (tramp-set-completion-function, tramp-parse-putty):
79 * net/tramp-adb.el (tramp-adb-execute-adb-command):
80 * net/tramp-gvfs.el (tramp-gvfs-send-command):
81 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
82 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
83 (tramp-call-local-coding-command): Use `tramp-call-process'
84 instead of `tramp-compat-call-process'.
85
86 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
87 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
88 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
89 (tramp-find-inline-compress):Improve traces.
90 (tramp-maybe-send-script): Check for Perl binary.
91 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
92
93 2013-04-22 Daiki Ueno <ueno@gnu.org>
94
95 * epg.el (epg-context-pinentry-mode): New function.
96 (epg-context-set-pinentry-mode): New function.
97 (epg--start): Pass --pinentry-mode option to gpg command.
98
99 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
100
101 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
102 `comint-dynamic-complete' is obsolete since 24.1, replaced by
103 `completion-at-point'. (Bug#13774)
104
105 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
106 default key binding for `describe-distribution' has been moved to
107 `C-h C-o'. (Bug#13970)
108
109 2013-04-21 Glenn Morris <rgm@gnu.org>
110
111 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
112 Add doc strings.
113 (vc-print-log): Clarify interactive prompt.
114
115 2013-04-20 Glenn Morris <rgm@gnu.org>
116
117 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
118 No longer include timestamp etc information.
119
120 2013-04-20 Roland Winkler <winkler@gnu.org>
121
122 * faces.el (read-face-name): Bug fix, return just one face if arg
123 multiple is nil. (Bug#14209)
124
125 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
128 (remove-function): Autoload.
129
130 * comint.el (comint-redirect-original-filter-function): Remove.
131 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
132 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
133 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
134 * progmodes/prolog.el (prolog-consult-compile):
135 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
136 Use add/remove-function instead.
137 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
138 (gud-tooltip-process-output, gud-tooltip-tips):
139 Use add/remove-function instead.
140 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
141 (scheme-interaction-mode, exit-scheme-interaction-mode):
142 Use add/remove-function instead.
143
144 * vc/vc-dispatcher.el: Use lexical-binding.
145 (vc--process-sentinel): Rename from vc-process-sentinel.
146 Change last arg to be the code to run. Don't use vc-previous-sentinel
147 and vc-sentinel-commands any more.
148 (vc-exec-after): Allow code to be a function. Use add/remove-function.
149 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
150
151 2013-04-19 Masatake YAMATO <yamato@redhat.com>
152
153 * progmodes/sh-script.el (sh-imenu-generic-expression):
154 Handle function names with a single character. (Bug#14111)
155
156 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
157
158 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
159 for subroutines defined in an eval (bug#14182).
160
161 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
162
163 * bookmark.el (bookmark-completing-read): Improve handling of empty
164 string (bug#14176).
165
166 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
169
170 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
171
172 New faster Imenu implementation (bug#14058).
173 * progmodes/python.el:
174 (python-imenu-prev-index-position):
175 (python-imenu-format-item-label-function)
176 (python-imenu-format-parent-item-label-function)
177 (python-imenu-format-parent-item-jump-label-function):
178 New vars.
179 (python-imenu-format-item-label)
180 (python-imenu-format-parent-item-label)
181 (python-imenu-format-parent-item-jump-label)
182 (python-imenu--put-parent, python-imenu--build-tree)
183 (python-imenu-create-index, python-imenu-create-flat-index)
184 (python-util-popn): New functions.
185 (python-mode): Set imenu-create-index-function to
186 python-imenu-create-index.
187
188 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * winner.el (winner-active-region): Use region-active-p, activate-mark
191 and deactivate-mark (bug#14225).
192
193 * simple.el (deactivate-mark): Don't inline it.
194
195 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
196
197 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
198
199 2013-04-18 Tassilo Horn <tsdh@gnu.org>
200
201 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
202 file extensions from the archive-mode entry in order to prefer
203 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
204
205 2013-04-18 Leo Liu <sdl.web@gmail.com>
206
207 * bindings.el (help-event-list): Add ?\?.
208
209 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * subr.el (with-wrapper-hook): Declare obsolete.
212 * simple.el (filter-buffer-substring-function): New hook.
213 (filter-buffer-substring): Use it.
214 (filter-buffer-substring-functions): Mark obsolete.
215 * minibuffer.el (completion-in-region-function): New hook.
216 (completion-in-region): Use it.
217 (completion-in-region-functions): Mark obsolete.
218 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
219 * abbrev.el (abbrev-expand-function): New hook.
220 (expand-abbrev): Use it.
221 (abbrev-expand-functions): Mark obsolete.
222 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
223 and :filter-return.
224
225 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
226
227 * progmodes/python.el (python-nav--syntactically): Fix cornercases
228 and do not care about match data.
229
230 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
233 completion tables when completing error conditions and
234 `declare' arguments.
235 (lisp-complete-symbol, field-complete): Mark as obsolete.
236 (check-parens): Unmatched parens are user errors.
237 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
238
239 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
240
241 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
242 command changed buffer (ie. `flyspell-pre-buffer' is not current
243 buffer), which prevents making decisions based on invalid value of
244 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
245 cause an error when `flyspell-pre-point' was nil after switching
246 buffers.
247 (flyspell-post-command-hook): No longer needs to change buffers when
248 checking pre-word. While at it remove unnecessary progn.
249
250 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
251
252 * textmodes/ispell.el (ispell-add-per-file-word-list):
253 Fix `flyspell-correct-word-before-point' error when accepting
254 words and `coment-padding' is an integer by using
255 `comment-normalize-vars' (Bug #14214).
256
257 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
258
259 New defun movement commands.
260 * progmodes/python.el (python-nav--syntactically)
261 (python-nav--forward-defun, python-nav-backward-defun)
262 (python-nav-forward-defun): New functions.
263
264 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
265
266 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
267 (python-syntax-context): Use named compiler-macro for backwards
268 compatibility with Emacs 24.x.
269
270 2013-04-17 Leo Liu <sdl.web@gmail.com>
271
272 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
273 octave-hide-process-buffer.
274
275 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
278 (bug#14216).
279
280 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
281
282 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
283 Fix adjustment of offset when receiving incomplete responses from GDB
284 (bug#14129).
285
286 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
289 python-mode-abbrev-table.
290 (python-skeleton-define): Adjust accordingly.
291 (python-mode-abbrev-table): New table that inherits from it so that
292 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
293
294 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
295 (abbrev-symbol): Use it.
296 (abbrev--before-point): Use it since we already handle inheritance.
297
298 2013-04-16 Leo Liu <sdl.web@gmail.com>
299
300 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
301 binding to info-lookup-symbol.
302
303 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
304
305 * minibuffer.el (completion--twq-all):
306 * term/ns-win.el (ns-initialize-window-system):
307 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
308
309 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
312 global bindings.
313
314 * doc-view.el (doc-view-start-process): Handle url-handler directories.
315
316 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
317
318 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
319 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
320 to nil.
321 (ruby-end-of-defun): Remove the unused arg, change the docstring
322 to reflect that this function is only used as the value of
323 `end-of-defun-function'.
324 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
325 to reflect an earlier change that beginning/end-of-defun functions
326 jump between methods in a class definition, as well as top-level
327 functions.
328
329 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * minibuffer.el (minibuffer-complete): Don't just scroll
332 a *Completions* that's been iconified.
333 (minibuffer-force-complete): Make sure repetitions do cycle when going
334 through completion-in-region -> minibuffer-complete.
335
336 2013-04-15 Alan Mackenzie <acm@muc.de>
337
338 Correct the placement of c-cpp-delimiters when there're #s not at
339 col 0.
340
341 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
342 place a submatch around the #.
343 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
344 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
345 on the #, not BOL.
346
347 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * emacs-lisp/nadvice.el: Properly test names when adding advice.
350 (advice--member-p): New arg `name'.
351 (advice--add-function, advice-member-p): Use it (bug#14202).
352
353 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
354
355 Reformulate java imenu-generic-expression.
356 The old expression contained ill formed regexps.
357
358 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
359 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
360 (cc-imenu-java-method-arg-regexp): New defconsts.
361 (cc-imenu-java-build-type-args-regex): New defun.
362 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
363 handling of spaces in the regexp.
364
365 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
366
367 * textmodes/ispell.el (ispell-command-loop): Remove
368 flyspell highlight of a word when ispell accepts it (bug #14178).
369
370 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
371
372 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
373 uses code from the previous `ange-ftp-run-real-handler'.
374 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
375 only in case that function exist. This is needed for proper
376 unloading of Tramp.
377
378 2013-04-15 Tassilo Horn <tsdh@gnu.org>
379
380 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
381
382 * textmodes/reftex.el (reftex-compile-variables): Use it.
383
384 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * files.el (normal-mode): Only use default major-mode if no other mode
387 was specified.
388
389 * emacs-lisp/trace.el (trace-values): New function.
390
391 * files.el: Allow : in local variables (bug#14089).
392 (hack-local-variable-regexp): New var.
393 (hack-local-variables-prop-line, hack-local-variables): Use it.
394
395 2013-04-13 Roland Winkler <winkler@gnu.org>
396
397 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
398 data before it gets modified by bibtex-beginning-of-entry.
399
400 2013-04-13 Roland Winkler <winkler@gnu.org>
401
402 * textmodes/bibtex.el (bibtex-url): Doc fix.
403
404 2013-04-13 Roland Winkler <winkler@gnu.org>
405
406 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
407 does not visit a BibTeX file, exclude it from the list of buffers
408 returned by bibtex-initialize.
409
410 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
411
412 * window.el (split-window): Remove interactive form, since as a
413 command this function is a special case of split-window-below.
414 Correct doc string.
415
416 2013-04-12 Roland Winkler <winkler@gnu.org>
417
418 * faces.el (read-face-name): Do not override value of arg default.
419 Allow single faces and strings as default values. Remove those
420 elements from return value that are not faces.
421 (describe-face): Simplify.
422 (face-at-point): New optional args thing and multiple so that this
423 function can provide the same functionality previously provided by
424 read-face-name.
425 (make-face-bold, make-face-unbold, make-face-italic)
426 (make-face-unitalic, make-face-bold-italic, invert-face)
427 (modify-face, read-face-and-attribute): Use face-at-point.
428
429 * cus-edit.el (customize-face, customize-face-other-window)
430 * cus-theme.el (custom-theme-add-face)
431 * face-remap.el (buffer-face-set)
432 * facemenu.el (facemenu-set-face): Use face-at-point.
433
434 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
435
436 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
437
438 2013-04-10 Tassilo Horn <tsdh@gnu.org>
439
440 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
441 off leading { and trailing } from field values.
442
443 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/timer.el (timer--check): New function.
446 (timer--time, timer-set-function, timer-event-handler): Use it.
447 (timer-set-idle-time): Simplify.
448 (timer--activate): CSE.
449 (timer-event-handler): Give more info in error message.
450 (internal-timer-start-idle): New function, moved from C.
451
452 * mpc.el (mpc-proc): Add `restart' argument.
453 (mpc-proc-cmd): Use it.
454 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
455 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
456 less often.
457
458 2013-04-10 Masatake YAMATO <yamato@redhat.com>
459
460 * progmodes/sh-script.el: Implement `sh-mode' own
461 `add-log-current-defun-function' (bug#14112).
462 (sh-current-defun-name): New function.
463 (sh-mode): Use the function.
464
465 2013-04-09 Bastien Guerry <bzg@gnu.org>
466
467 * simple.el (choose-completion-string): Fix docstring (bug#14163).
468
469 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
472
473 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
474 timer (bug#14156).
475
476 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
477
478 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
479 declaration.
480
481 2013-04-07 Leo Liu <sdl.web@gmail.com>
482
483 * pcmpl-x.el: New file.
484
485 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
486
487 Do not set x-display-name until X connection is established.
488 This is needed to prevent from weird situation described at
489 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
490 * frame.el (make-frame): Set x-display-name after call to
491 window system initialization function, not before.
492 * term/x-win.el (x-initialize-window-system): Add optional
493 display argument and use it.
494 * term/w32-win.el (w32-initialize-window-system):
495 * term/ns-win.el (ns-initialize-window-system):
496 * term/pc-win.el (msdos-initialize-window-system):
497 Add compatible optional display argument.
498
499 2013-04-06 Eli Zaretskii <eliz@gnu.org>
500
501 * files.el (normal-backup-enable-predicate): On MS-Windows and
502 MS-DOS compare truenames of temporary-file-directory and of the
503 file, so that 8+3 aliases (usually found in $TEMP on Windows)
504 don't fail comparison by compare-strings. Also, compare file
505 names case-insensitively on MS-Windows and MS-DOS.
506
507 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
510 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
511
512 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
513
514 * whitespace.el (whitespace-color-on, whitespace-color-off):
515 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
516
517 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
518
519 * ispell.el (ispell-set-spellchecker-params):
520 Really set `ispell-args' for all equivs.
521
522 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * ido.el (ido-completions): Use extra elements of ido-decorations
525 (bug#14143).
526 (ido-decorations): Update docstring.
527
528 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
529
530 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
531 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
532 nil during initialization, in order not to miss changes since the
533 file was opened. (Bug#14140)
534
535 2013-04-05 Leo Liu <sdl.web@gmail.com>
536
537 * kmacro.el (kmacro-call-macro): Fix bug#14135.
538
539 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
540
541 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
542
543 2013-04-04 Glenn Morris <rgm@gnu.org>
544
545 * electric.el (electric-pair-inhibit-predicate): Add :version.
546
547 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
550 when a package is required several times (bug#14082).
551
552 2013-04-04 Roland Winkler <winkler@gnu.org>
553
554 * faces.el (read-face-name): Behave as promised by the docstring.
555 Assume that arg default is a list of faces.
556 (describe-face): Call read-face-name with list of default faces.
557
558 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
559
560 * bookmark.el: Fix deletion of bookmarks (bug#13972).
561 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
562 (bookmark-bmenu-execute-deletions): Only skip first line if it's
563 the header.
564 (bookmark-exit-hook-internal): Save even if list is empty.
565
566 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
567
568 * emacs-lisp/package.el (package-pinned-packages): New var.
569 (package--add-to-archive-contents): Obey it (bug#14118).
570
571 2013-04-03 Alan Mackenzie <acm@muc.de>
572
573 Handle `parse-partial-sexp' landing inside a comment opener
574 (Bug#13244). Also adapt to the new values of element 7 of a parse
575 state.
576
577 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
578 parameter `not-in-delimiter'. Handle being inside comment opener.
579 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
580 character in case we're typing a '*' after a '/'.
581 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
582 instead by passing the parameter to c-state-pp-to-literal.
583
584 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
585 for elt. 7 of a parse state.
586
587 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
588
589 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
590 * international/latin1-disp.el, international/mule-util.el:
591 * language/cyril-util.el, language/european.el, language/ind-util.el:
592 * language/lao-util.el, language/thai.el, language/tibet-util.el:
593 * language/tibetan.el, language/viet-util.el:
594 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
595
596 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
599 (electric-pair-post-self-insert-function): Use it.
600 (electric-pair-default-inhibit): New function, extracted from
601 electric-pair-post-self-insert-function.
602
603 2013-03-31 Roland Winkler <winkler@gnu.org>
604
605 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
606
607 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
610
611 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
612
613 Un-indent after "pass" and "return" statements (Bug#13888)
614 * progmodes/python.el (python-indent-block-enders): New var.
615 (python-indent-calculate-indentation): Use it.
616
617 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
618
619 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
620 defun. Defining it as defalias could introduce too eager
621 byte-compiler optimization. (Bug#14030)
622
623 2013-03-30 Chong Yidong <cyd@gnu.org>
624
625 * iswitchb.el (iswitchb-read-buffer): Fix typo.
626
627 2013-03-30 Leo Liu <sdl.web@gmail.com>
628
629 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
630 (kmacro-execute-from-register): Pass the keyboard macro to
631 kmacro-call-macro or repeating won't work correctly.
632
633 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
634
635 * progmodes/subword.el: Back to using `forward-symbol'.
636
637 * subr.el (forward-whitespace, forward-symbol)
638 (forward-same-syntax): Move from thingatpt.el.
639
640 2013-03-29 Leo Liu <sdl.web@gmail.com>
641
642 * kmacro.el (kmacro-to-register): New command.
643 (kmacro-execute-from-register): New function.
644 (kmacro-keymap): Bind to 'x'. (Bug#14071)
645
646 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * mpc.el: Use defvar-local and setq-local.
649 (mpc--proc-connect): Connection failures are not bugs.
650 (mpc-mode-map): `follow-link' only applies to the buffer's content.
651 (mpc-volume-map): Bind to the up-events.
652
653 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
654
655 * progmodes/subword.el (superword-mode): Use `forward-sexp'
656 instead of `forward-symbol'.
657
658 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
661 (edebug--recursive-edit): Use it.
662 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
663 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
664
665 2013-03-28 Leo Liu <sdl.web@gmail.com>
666
667 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
668
669 2013-03-27 Eli Zaretskii <eliz@gnu.org>
670
671 * facemenu.el (list-colors-callback): New defvar.
672 (list-colors-redisplay): New function.
673 (list-colors-display): Install list-colors-redisplay as the
674 revert-buffer-function. (Bug#14063)
675
676 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
679 and suffixes don't overlap (bug#14061).
680
681 * case-table.el: Use lexical-binding.
682 (case-table-get-table): New function.
683 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
684
685 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
686
687 * progmodes/subword.el: Add `superword-mode' to do word motion
688 over symbol_words (parallels and leverages `subword-mode' which
689 does word motion inside MixedCaseWords).
690
691 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
692
693 * eshell/em-unix.el: Move su and sudo to...
694 * eshell/em-tramp.el: ...Eshell tramp module.
695
696 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
699 Change return value to be a sexp. Delay `get-buffer' to after
700 restoring the desktop (bug#13951).
701
702 2013-03-26 Leo Liu <sdl.web@gmail.com>
703
704 * register.el: Move semantic tag handling back to
705 cedet/semantic/senator.el. (Bug#14052)
706
707 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
710 into the prompt either (bug#13963).
711
712 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
715 part of "(error-foo)".
716
717 2013-03-24 Juri Linkov <juri@jurta.org>
718
719 * replace.el (list-matching-lines-prefix-face): New defcustom.
720 (occur-1): Pass `list-matching-lines-prefix-face' to the function
721 `occur-engine' if `face-differs-from-default-p' returns t.
722 (occur-engine): Add `,' inside backquote construct to evaluate
723 `prefix-face'. Propertize the prefix with the `prefix-face' face.
724 Pass `prefix-face' to the functions `occur-context-lines' and
725 `occur-engine-add-prefix'.
726 (occur-engine-add-prefix, occur-context-lines): Add optional arg
727 `prefix-face' and propertize the prefix with `prefix-face'.
728 (Bug#14017)
729
730 2013-03-24 Leo Liu <sdl.web@gmail.com>
731
732 * nxml/rng-valid.el (rng-validate-while-idle)
733 (rng-validate-quick-while-idle): Guard against deleted buffer.
734 (Bug#13999)
735
736 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
737 is the last entry in kill-buffer-hook.
738
739 * files.el (kill-buffer-hook): Doc fix.
740
741 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
742
743 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
744 Make it safe-local.
745
746 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
747
748 2013-03-23 Leo Liu <sdl.web@gmail.com>
749
750 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
751 Remove.
752
753 * nxml/rng-valid.el (rng-validate-mode)
754 (rng-after-change-function, rng-do-some-validation):
755 * nxml/rng-maint.el (rng-validate-buffer):
756 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
757 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
758 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
759 (nxml-extend-after-change-region): Use with-silent-modifications.
760
761 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
762 timer-idle-list.
763
764 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
765 (rng-next-error-1, rng-previous-error-1): Do not let-bind
766 timer-idle-list. (Bug#13999)
767
768 2013-03-23 Juri Linkov <juri@jurta.org>
769
770 * info.el (info-index-match): New face.
771 (Info-index, Info-apropos-matches): Add a nested subgroup to the
772 main pattern and add text properties with the new face to matches
773 in index entries relative to the beginning of the index entry.
774 (Bug#14015)
775
776 2013-03-21 Eric Ludlam <zappo@gnu.org>
777
778 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
779 Inhibit read only while inserting objects.
780
781 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
782
783 * progmodes/cfengine.el: Update docs to mention
784 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
785 symbol motion. Remove "_" from the word syntax.
786
787 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
788
789 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
790 syntax for both `cfengine2-mode' and `cfengine3-mode'.
791
792 2013-03-20 Juri Linkov <juri@jurta.org>
793
794 * info.el (Info-next-reference-or-link)
795 (Info-prev-reference-or-link): New functions.
796 (Info-next-reference, Info-prev-reference): Use them.
797 (Info-try-follow-nearest-node): Handle footnote navigation.
798 (Info-fontify-node): Fontify footnotes. (Bug#13989)
799
800 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
803 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
804
805 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
806
807 Suppress unnecessary non-ASCII chatter during build process.
808 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
809 (batch-skkdic-convert): Suppress most of the chatter.
810 It's not needed so much now that machines are faster,
811 and its non-ASCII component was confusing; see Dmitry Gutov in
812 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
813
814 2013-03-20 Leo Liu <sdl.web@gmail.com>
815
816 * ido.el (ido-chop): Fix bug#10994.
817
818 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
819
820 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
821 Remove vars.
822 (whitespace-color-on, whitespace-color-off):
823 Use `font-lock-fontify-buffer' (Bug#13817).
824
825 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
828 remapping in mode-line.
829 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
830
831 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
832
833 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
834 value for `whitespace-line' face (Bug#13875).
835 (whitespace-font-lock-keywords): Change description.
836 (whitespace-color-on): Don't save `font-lock-keywords' value, save
837 the constructed keywords instead.
838 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
839
840 2013-03-19 Leo Liu <sdl.web@gmail.com>
841
842 * progmodes/compile.el (compilation-display-error): New command.
843 (compilation-mode-map, compilation-minor-mode-map): Bind it to
844 C-o. (Bug#13992)
845
846 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
847
848 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
849
850 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
851
852 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
853
854 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
855
856 * net/tramp-compat.el (tramp-compat-user-error): New defun.
857
858 * net/tramp-adb.el (tramp-adb-handle-shell-command):
859 * net/tramp-gvfs.el (top):
860 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
861 (tramp-handle-shell-command): Use it.
862 (tramp-dissect-file-name): Raise an error when hostname is a
863 method name, and neither method nor user is specified.
864
865 * net/trampver.el: Update release number.
866
867 2013-03-18 Leo Liu <sdl.web@gmail.com>
868
869 Make sure eldoc can be turned off properly.
870 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
871 eldoc-mode.
872 (eldoc-display-message-p): Revert last change.
873 (eldoc-display-message-no-interference-p)
874 (eldoc-print-current-symbol-info): Tweak.
875
876 2013-03-18 Tassilo Horn <tsdh@gnu.org>
877
878 * doc-view.el (doc-view-new-window-function): Check the new window
879 overlay's display property instead the char property of the
880 buffer's first char. Use `with-selected-window' instead of
881 `save-window-excursion' with `select-window'.
882 (doc-view-document->bitmap): Check the current doc-view overlay's
883 display property instead the char property of the buffer's first char.
884
885 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
886
887 Automate the build of ja-dic.el (Bug#13984).
888 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
889 from the input, rather than assume that it's been done for us by the
890 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
891 the current date into a ja-dic.el comment, as that complicates
892 regression testing.
893
894 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * whitespace.el: Fix double evaluation.
897 (whitespace-space, whitespace-hspace, whitespace-tab)
898 (whitespace-newline, whitespace-trailing, whitespace-line)
899 (whitespace-space-before-tab, whitespace-indentation)
900 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
901 obsolete defvars.
902 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
903 (whitespace-color-on): Use a single font-lock-add-keywords call.
904 Fix double-evaluation of face variables.
905
906 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/tramp-adb.el (tramp-adb-parse-device-names):
909 Use `start-process' instead of `call-process'. Otherwise, the
910 function might be blocked under MS Windows. (Bug#13299)
911
912 2013-03-17 Leo Liu <sdl.web@gmail.com>
913
914 Extend eldoc to display info in the mode-line. (Bug#13978)
915 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
916 (eldoc-mode-line-string): New variable.
917 (eldoc-minibuffer-message): New function.
918 (eldoc-message-function): New variable.
919 (eldoc-message): Use it.
920 (eldoc-display-message-p)
921 (eldoc-display-message-no-interference-p):
922 Support eldoc-post-insert-mode.
923
924 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
925 (eval-expression): Run it.
926
927 2013-03-17 Roland Winkler <winkler@gnu.org>
928
929 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
930 strings in the list of return values.
931
932 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
933
934 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
935 radix before checking for HMS forms.
936
937 2013-03-16 Leo Liu <sdl.web@gmail.com>
938
939 * progmodes/scheme.el: Add indentation and font-locking for λ.
940 (Bug#13975)
941
942 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
945 token before point (bug#13942).
946
947 2013-03-16 Leo Liu <sdl.web@gmail.com>
948
949 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
950
951 2013-03-16 Eli Zaretskii <eliz@gnu.org>
952
953 * startup.el (command-line-normalize-file-name): Fix handling of
954 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
955 <xfq.free@gmail.com> in
956 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
957
958 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
959
960 Sync with Tramp 2.2.7.
961
962 * net/trampver.el: Update release number.
963
964 2013-03-14 Tassilo Horn <tsdh@gnu.org>
965
966 * doc-view.el Fix bug#13887.
967 (doc-view-insert-image): Don't modify overlay associated to
968 non-live windows, and implement horizontal centering of image in
969 case it's smaller than the window.
970 (doc-view-new-window-function): Force redisplay of new windows on
971 doc-view buffers.
972
973 2013-03-13 Karl Fogel <kfogel@red-bean.com>
974
975 * saveplace.el (save-place-alist-to-file): Don't sort
976 `save-place-alist', just pretty-print it (bug#13882).
977
978 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
979
980 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
981 whether `default-file-name-coding-system' is bound. It isn't in
982 XEmacs.
983
984 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
987 backquotes for `obsolete' (bug#13929).
988
989 * international/mule.el (find-auto-coding): Include file name in
990 obsolescence warning (bug#13922).
991
992 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
993
994 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
995 for CFEngine 3-specific indentation.
996 (cfengine3-indent-line): Use it. Fix up category regex.
997 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
998
999 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * type-break.el (type-break-file-name):
1002 * textmodes/remember.el (remember-data-file):
1003 * strokes.el (strokes-file):
1004 * shadowfile.el (shadow-initialize):
1005 * saveplace.el (save-place-file):
1006 * ps-bdf.el (bdf-cache-file):
1007 * progmodes/idlwave.el (idlwave-config-directory):
1008 * net/quickurl.el (quickurl-url-file):
1009 * international/kkc.el (kkc-init-file-name):
1010 * ido.el (ido-save-directory-list-file):
1011 * emulation/viper.el (viper-custom-file-name):
1012 * emulation/vip.el (vip-startup-file):
1013 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1014 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1015
1016 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1017
1018 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1019 * language/thai-word.el: Switch to UTF-8.
1020
1021 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1024
1025 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1026
1027 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1028 Use with-current-buffer and don't move point.
1029 (net-utils-run-simple): Remove useless code.
1030 (net-utils-remove-ctl-m): Remove unused custom.
1031
1032 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1033
1034 * international/characters.el (glyphless-set-char-table-range): New fun.
1035 (update-glyphless-char-display): Use it (bug#13744).
1036
1037 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1038
1039 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1040 namespaces in the syntax, indent closer for hanging brace
1041 correctly, allow single-quote delimited 'strings', and make
1042 `cfengine3-mode' the default.
1043
1044 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1045
1046 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1047 Use lexical-binding. Fix up docstring according to conventions.
1048 (gdbmi-debug-mode): New var.
1049 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1050 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1051 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1052 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1053 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1054 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1055 (gdbmi-bnf-incomplete-record-result): New functions.
1056 (gdb-car<): Remove function.
1057 (gdbmi-record-list): Remove variable.
1058 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1059 (gdbmi-bnf-result-state-configs): New const.
1060 (gud-gdbmi-marker-filter): Rewrite.
1061 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1062 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1063 Add `token' argument.
1064 (gdb-done, gdb-error): New functions.
1065 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1066
1067 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * term/xterm.el (xterm--report-background-handler): Don't burp
1070 upon timeout.
1071 (xterm--version-handler): Extract from terminal-init-xterm.
1072 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1073 Allow multiple handlers.
1074 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1075
1076 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1077 (xterm--report-background-handler, xterm--query): New functions.
1078 (terminal-init-xterm): Use them.
1079
1080 2013-03-11 Michael R. Mauger <michael@mauger.com>
1081
1082 * progmodes/sql.el Version 3.2
1083 Please note that my address changed to <michael@mauger.com>;
1084 the <mmaug@yahoo.com> address remains active.
1085 (sql-connection-alist): Updates documentation to fix bug#13715.
1086 (sql-connect): Handle missing `sql-connection-alist' correctly.
1087 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1088 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1089 property.
1090 (sql-default-value): New function.
1091 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1092 values were not used.
1093 (sql-rename-buffer): Make sure alternate buffer name has no text
1094 properties.
1095 (sql-input-sender, sql-execute-feature): Fetch variable with
1096 `buffer-local-value' rather than `with-current-buffer'.
1097 (sql-*): Use #' function syntax consistently.
1098 (sql-*): Use message/error/user-error consistently.
1099
1100 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * xt-mouse.el (xterm-mouse-event-read): Remove.
1103 (xterm-mouse--read-event-sequence-1000)
1104 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1105
1106 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * term/xterm.el (xterm-function-map): Support format used with
1109 formatOtherKeys=1 (bug#13839).
1110
1111 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1112 (with-no-warnings): Use `declare'.
1113
1114 * whitespace.el (whitespace-enable-predicate): New variable.
1115 (whitespace-enable-predicate): Use it.
1116
1117 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1118 (comint-output-filter, comint-update-fence):
1119 Use with-silent-modifications.
1120
1121 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1122
1123 * replace.el (occur-read-regexp-defaults-function): New var.
1124 (occur-read-regexp-defaults): New defun.
1125 (occur-read-primary-args): Propagate above change (bug#13892).
1126
1127 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1130
1131 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1132
1133 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1134
1135 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1136 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1137 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1138 New defconst.
1139 (tramp-gvfs-file-name-handler-alist) [directory-files]
1140 [directory-files-and-attributes, file-exists-p, file-modes]:
1141 Use Tramp default handler.
1142 [file-acl, file-selinux-context, process-file, set-file-acl]:
1143 [set-file-modes, set-file-selinux-context, shell-command]:
1144 [start-file-process]: Remove handler.
1145 [verify-visited-file-modtime]: New handler.
1146 (tramp-gvfs-dbus-string-to-byte-array)
1147 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1148 calls of `dbus-string-to-byte-array' and
1149 `tramp-gvfs-dbus-byte-array-to-string'.
1150 (tramp-gvfs-handle-copy-file)
1151 (tramp-gvfs-handle-delete-directory)
1152 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1153 (tramp-gvfs-handle-file-directory-p)
1154 (tramp-gvfs-handle-file-executable-p)
1155 (tramp-gvfs-handle-file-name-all-completions)
1156 (tramp-gvfs-handle-file-readable-p)
1157 (tramp-gvfs-handle-file-writable-p)
1158 (tramp-gvfs-handle-insert-directory)
1159 (tramp-gvfs-handle-insert-file-contents)
1160 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1161 (tramp-gvfs-handle-set-visited-file-modtime)
1162 (tramp-gvfs-handle-write-region): Rewrite.
1163 (tramp-gvfs-handle-file-acl)
1164 (tramp-gvfs-handle-file-selinux-context)
1165 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1166 (tramp-gvfs-handle-set-file-modes)
1167 (tramp-gvfs-handle-set-file-selinux-context)
1168 (tramp-gvfs-handle-shell-command)
1169 (tramp-gvfs-handle-start-file-process)
1170 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1171 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1172 over the symlinks. Fix user handling.
1173 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1174 of the D-Bus signals.
1175 (tramp-gvfs-connection-mounted-p): Handle different names of the
1176 D-Bus methods.
1177 (tramp-gvfs-mount-spec-entry): New defun.
1178 (tramp-gvfs-mount-spec): Use it.
1179 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1180 there is a share name. Handle different names of the D-Bus
1181 signals and methods. Set connection properties needed for
1182 `tramp-check-cached-permissions'.
1183 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1184 Return t or nil.
1185
1186 * net/tramp.el (tramp-backtrace): Move up.
1187 (tramp-error): Dump a backtrace into the debug buffer when
1188 `tramp-verbose > 9.
1189 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1190 (tramp-file-mode-permissions, tramp-get-local-uid)
1191 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1192 tramp-sh.el.
1193
1194 * net/tramp-sh.el (tramp-file-mode-type-map)
1195 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1196 (tramp-file-mode-permissions, tramp-get-local-uid)
1197 (tramp-get-local-gid): Move to tramp.el.
1198
1199 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 Separate mouse-1-click-follows-link from mouse-drag-region.
1202 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1203 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1204 (mouse-drag-line, mouse-drag-track):
1205 Remove mouse-1-click-follows-link code.
1206 (mouse--remap-link-click-p): Remove.
1207
1208 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1209
1210 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1211 (hi-lock-read-regexp-defaults): New defun.
1212 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1213 (hi-lock-face-phrase-buffer): Propagate above change.
1214 Update docstring (bug#13892).
1215
1216 * subr.el (find-tag-default-as-regexp): New defun.
1217 * replace.el (read-regexp): Propagate above change.
1218
1219 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1220
1221 * calc/calc-units.el (calc-convert-units): Fix the way that default
1222 new units are stored.
1223
1224 2013-03-07 Matthias Meulien <orontee@gmail.com>
1225
1226 * bookmark.el: Define a face to highlight bookmark names in
1227 bookmark menu buffers, where the default is a bold face similarly
1228 to buffer names in buffer menu buffers.
1229 (bookmark-menu-bookmark): New face to highlight bookmark names.
1230 (bookmark-insert-location): Remove duplicated text property to
1231 conform to buffer list (see `list-buffers').
1232 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1233 `bookmark-menu-bookmark' to bookmark names.
1234
1235 2013-03-07 Matthias Meulien <orontee@gmail.com>
1236 Karl Fogel <kfogel@red-bean.com>
1237
1238 * bookmark.el: Display the bookmark list header similarly to the
1239 buffer list header (see `list-buffers'), where the default is now
1240 an immovable/immutable header line.
1241 (bookmark-bmenu-use-header-line): New variable.
1242 (bookmark-bmenu-inline-header-height): New name for
1243 `bookmark-bmenu-header-height', to avoid confusion with the code
1244 for the new immovable header. All references changed.
1245 (bookmark-bmenu-set-header): New function.
1246 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1247 Conditionalize header construction accordingly.
1248 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1249 the inline header height.
1250 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1251 Conditionalize the skipping of the inline header height.
1252
1253 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1254
1255 * progmodes/js.el (js--multi-line-declaration-indentation):
1256 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1257
1258 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1259
1260 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1261 Only propertize regexp when not inside a string (Bug#13885).
1262
1263 2013-03-06 Alan Mackenzie <acm@muc.de>
1264
1265 Correct the position of point in some line-up functions.
1266 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1267 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1268 point at column 0 rather than at a random place in the line.
1269
1270 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1271
1272 * net/tramp-compat.el (tramp-compat-delete-directory):
1273 Implement TRASH argument.
1274
1275 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1276
1277 Keep pre-existing highlighting in completion candidates (Bug#13250).
1278 * minibuffer.el (completions-first-difference): State that the
1279 face is "added" in the docstring.
1280 (completions-common-part): Same. And don't inherit from default.
1281 (completion-hilit-commonality): Prepend 'completions-common-part
1282 and 'completion-first-difference faces to the 'face property,
1283 instead of replacing the value(s).
1284 (completion--insert-strings): Same with 'completions-annotations face.
1285 (completion-hilit-commonality): Use 'face instead of
1286 'font-lock-face, because it gets priority if the completion
1287 strings already have 'face set.
1288
1289 2013-03-04 Alan Mackenzie <acm@muc.de>
1290
1291 Replace `last-command-event' by `last-command-char' in XEmacs.
1292 * progmodes/cc-defs.el (c-last-command-char): New macro.
1293 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1294 (c-semi&comma-no-newlines-before-nonblanks)
1295 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1296 in place of `last-command-event'.
1297 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1298 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1299 (c-electric-paren, c-electric-continued-statement): Use the new
1300 macro in place of `last-command-event'.
1301
1302 2013-03-04 Glenn Morris <rgm@gnu.org>
1303
1304 * files.el (inhibit-local-variables-regexps):
1305 Add .diff and .patch. (Bug#13862)
1306
1307 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1310 whether the "su" command is available on the device.
1311
1312 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1313
1314 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1315 (tramp-adb-handle-process-file): Remove superfluous setting.
1316 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1317 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1318 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1319
1320 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1323 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1324 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1325 Use dict-key rather than dict-name for the error message.
1326
1327 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1328
1329 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1330 when reverting (bug#13831).
1331
1332 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1333
1334 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1335 Always expand affix-file before storing to protect against changed
1336 `default-directory'.
1337 (ispell-print-if-debug): Make sure message is printed at the end
1338 of the debug buffer.
1339
1340 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1341
1342 * net/tramp.el (tramp-obsolete-methods): New defconst.
1343 (tramp-warned-obsolete-methods): New defvar.
1344 (tramp-find-method): Check for obsolete methods. Map them to a
1345 replacement method if appropriate.
1346
1347 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1348 Remove methods.
1349 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1350 "ssh2" and "plink1".
1351
1352 2013-02-28 Dale Sedivec <dale@codefu.org>
1353
1354 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1355 Return valid syntax-table property value when converting
1356 quotes within text from string syntax to punctuation syntax (bug#13844).
1357
1358 2013-02-28 Juri Linkov <juri@jurta.org>
1359
1360 * dired-aux.el (dired-diff): If file at point is a backup file,
1361 use its original as the default value, and reverse the order
1362 of arguments to the `diff' call. Doc fix. (Bug#13772)
1363
1364 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1367 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1368
1369 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1370
1371 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1372
1373 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1374 Ask hunspell about available and default dictionaries.
1375 (ispell-parse-hunspell-affix-file): Extract relevant info from
1376 hunspell affix file.
1377 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1378 `ispell-dictionary-alist' entry for given dictionary after info
1379 provided by `ispell-parse-hunspell-affix-file'.
1380 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1381 of parsed hunspell dicts and associated affix files.
1382 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1383 of parsed hunspell dicts and associated parameters.
1384 (ispell-set-spellchecker-params):
1385 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1386 previously done.
1387 (ispell-start-process):
1388 Call `ispell-hunspell-fill-dictionary-entry' for current
1389 dictionary if it is not initialized.
1390
1391 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * imenu.el: Comment nitpicks.
1394
1395 2013-02-28 Sam Steingold <sds@gnu.org>
1396
1397 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1398 See <http://stackoverflow.com/questions/14720205>.
1399
1400 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1401
1402 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1403 (net-utils-mode): Use it.
1404 (net-utils--revert-cmd): New var.
1405 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1406 (traceroute): Use net-utils-run-simple.
1407
1408 2013-02-28 Glenn Morris <rgm@gnu.org>
1409
1410 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1411
1412 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1415 (doc-view-fallback-mode): Remove overlays here.
1416 (doc-view-toggle-display): Instead of here. Don't throw away
1417 image-mode-winprops-alist.
1418 (doc-view-goto-page): Don't mess with hscroll.
1419
1420 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1421
1422 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1423 &optional (bug#13819).
1424
1425 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1426
1427 * net/tramp-adb.el (tramp-adb-parse-device-names)
1428 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1429
1430 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1431
1432 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1433 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1434 defined. POSIX environments fall back to the "C" locale then and
1435 emit a warning, which shall be suppressed.
1436
1437 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1440 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1441
1442 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1445
1446 2013-02-25 Juri Linkov <juri@jurta.org>
1447
1448 * replace.el (read-regexp): Let-bind `default' to the first
1449 element of `defaults' if it's a list, otherwise it should be
1450 a string or nil. Let-bind `suggestions' to `defaults' if it's
1451 a list, otherwise make a list with the string value. Doc fix.
1452 (Bug#13805)
1453
1454 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1455
1456 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1457 that match "\`\.#", to avoid compiling lock files, even if they
1458 are readable (as they are on MS-Windows).
1459
1460 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * files.el (basic-save-buffer): Remove redundant directory-creation.
1463
1464 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1465
1466 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1467 Add option to force `pi' to remain symbolic.
1468 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1469 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1470 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1471 derivatives, when necessary.
1472
1473 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1474
1475 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1476 (ps-mode-octal-region): Use string-make-unibyte.
1477
1478 2013-02-23 Glenn Morris <rgm@gnu.org>
1479
1480 * emulation/viper-cmd.el (viper-submit-report):
1481 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1482 * progmodes/vera-mode.el (vera-mode-help-address):
1483 * textmodes/artist.el (artist-maintainer-address):
1484 * textmodes/reftex.el (reftex-report-bug):
1485 * vc/ediff-util.el (ediff-submit-report):
1486 Add bug-gnu-emacs to bug report address.
1487
1488 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1489 Remove bug report entries.
1490 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1491
1492 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1493 (byte-compile-file, byte-compile-from-buffer):
1494 Use separate input/output buffers for each level of recursive
1495 byte-compile-file calls. (Bug#13787)
1496
1497 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1498
1499 * net/tramp.el (tramp-methods): Fix docstring.
1500 (tramp-ssh-controlmaster-options): Rename it from
1501 `tramp-ssh-controlmaster-template'. Return a string.
1502 (tramp-default-method): Adapt check for
1503 `tramp-ssh-controlmaster-options'.
1504
1505 * net/tramp-sh.el (tramp-methods):
1506 Replace `tramp-ssh-controlmaster-template' by "%c".
1507 (tramp-do-copy-or-rename-file-out-of-band)
1508 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1509 that it is applied for the first hop only.
1510
1511 2013-02-22 Juri Linkov <juri@jurta.org>
1512
1513 * isearch.el (isearch-lazy-highlight-new-loop):
1514 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1515 to `isearch-other-end' if it is not nil. (Bug#13402)
1516
1517 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1518 to `match-beg'.
1519
1520 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1521 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1522 and `isearch-error' to nil.
1523
1524 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1525
1526 * progmodes/python.el (python-info-current-defun):
1527 Enhance match-data cluttering prevention.
1528
1529 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1532
1533 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1534 Handle multibyte file names.
1535
1536 2013-02-22 Glenn Morris <rgm@gnu.org>
1537
1538 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1539 (sgml-transformation-function): Give it a :set function.
1540 (sgml-tag): Doc fix.
1541
1542 * cmuscheme.el (scheme-buffer):
1543 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1544 * progmodes/tcl.el (inferior-tcl-buffer):
1545 * textmodes/tex-mode.el (tex-command): Doc fixes.
1546
1547 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1548
1549 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1550
1551 2013-02-21 Bastien Guerry <bzg@gnu.org>
1552
1553 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1554
1555 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1556
1557 * progmodes/python.el (python-info-current-defun):
1558 Enhance match-data cluttering prevention.
1559
1560 2013-02-21 Glenn Morris <rgm@gnu.org>
1561
1562 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1563 loaded while outline-regexp is let bound. (Bug#9584)
1564
1565 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1566
1567 * progmodes/python.el (python-info-current-defun): Fix failed
1568 defun name retrieval because of unwanted match-data cluttering.
1569
1570 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1573 defconst. Apply independent check for ControlPersist.
1574
1575 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1576 temporarily, via "env".
1577
1578 2013-02-21 Glenn Morris <rgm@gnu.org>
1579
1580 * info.el (Info-enable-edit): Remove.
1581 (Info-edit): Disable it rather than using Info-enable.
1582 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1583 (Info-cease-edit): Make editing of Info files obsolete.
1584
1585 * informat.el (Info-tagify):
1586 Handle buffers not visiting files. (Bug#13763)
1587
1588 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1589
1590 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1591
1592 2013-02-21 Glenn Morris <rgm@gnu.org>
1593
1594 * files.el (basic-save-buffer): Move check for existing parent
1595 directory after hooks. (Bug#13773)
1596
1597 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * simple.el (command-execute): Move from C. Add obsolete check.
1600 (extended-command-history): Move from C.
1601
1602 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1603
1604 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1605 (jka-compr-mode-alist-additions): Handle .txz suffix for
1606 XZ-compressed tar archives (bug#13770).
1607
1608 2013-02-20 Bastien Guerry <bzg@gnu.org>
1609
1610 * outline.el (outline-regexp, outline-heading-end-regexp):
1611 Make variables, not options (bug#13731).
1612
1613 2013-02-20 Glenn Morris <rgm@gnu.org>
1614
1615 * image.el (image-current-frame): Change from variable to function.
1616 (image-show-frame): Rename from image-nth-frame. Update callers.
1617 * image-mode.el (image-multi-frame): New variable.
1618 (image-mode-map, image-mode, image-goto-frame):
1619 Use image-multi-frame rather than image-current-frame.
1620 (image-mode, image-goto-frame): Use image-current-frame as
1621 function rather than as variable.
1622
1623 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1624 * emacs-lisp/cl-macs.el (cl--make-type-test)
1625 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1626
1627 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1630 (tramp-get-file-property, tramp-set-file-property)
1631 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1632 (tramp-flush-file-property, tramp-flush-directory-property):
1633 Rename argument to KEY.
1634 (tramp-flush-connection-property): Simplify a little bit.
1635 (tramp-connection-property-p): New defun.
1636 (top): Reapply saved values only if there isn't a corresponding
1637 entry in `tramp-connection-properties'.
1638
1639 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1640
1641 * progmodes/python.el (python-indent-context):
1642 Fix python-info-line-ends-backslash-p call.
1643 (python-info-line-ends-backslash-p)
1644 (python-info-beginning-of-backslash): Respect line-number argument.
1645 (python-info-current-line-comment-p):
1646 Fix behavior when not at beginning-of-line.
1647 (python-util-position): Remove function.
1648 (python-util-goto-line): New function.
1649
1650 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1651
1652 * eshell/em-unix.el (eshell/su): Require tramp.
1653 (eshell/sudo): Require tramp. Remove now unnecessary check.
1654
1655 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1656 `tramp-current-connection' in order to avoid an error when several
1657 commands are invoked in a short time in eshell and friends.
1658
1659 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 Cleanup some of EIEIO's namespace.
1662 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1663 Use it to define all the class-* and object-* field accessors (renamed
1664 to eieio--class-* and eieio--object-*). Update all uses.
1665 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1666 class-num-slots and object-num-slots.
1667 (eieio--check-type): New macro.
1668 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1669 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1670 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1671 (object-assoc-list-safe): Use it.
1672 (eieio-defclass): Tighten regexp.
1673 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1674 Remove unreachable code.
1675 (object-class-fast): Declare obsolete.
1676 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1677 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1678 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1679 Rename from class-name, object-name, object-set-name-string,
1680 object-class, object-class-name, class-parents, class-children,
1681 class-precedence-list, class-parent; with obsolete alias.
1682 (class-of, class-direct-superclasses, class-direct-subclasses):
1683 Declare obsolete.
1684 (eieio-defmethod): Use `memq'; remove unreachable code.
1685 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1686 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1687 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1688
1689 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1690
1691 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1692 commentary.
1693
1694 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1695
1696 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1697 Use font-lock-keyword-face for macros and special forms (bug#8345).
1698
1699 2013-02-17 Didier Verna <didier@didierverna.net>
1700
1701 * net/network-stream.el (network-stream-open-starttls):
1702 Check that response to the starttls-command is non-nil. (Bug#13706)
1703
1704 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1707 Don't assume all identifier chars have syntax word.
1708 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1709 Remove bar-not-symbol. Adjust callers.
1710 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1711
1712 2013-02-17 Leo Liu <sdl.web@gmail.com>
1713
1714 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1715
1716 2013-02-17 Glenn Morris <rgm@gnu.org>
1717
1718 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1719
1720 * image-mode.el (image-mode-map): Add image-dired menu entry.
1721
1722 * image-dired.el (tumme): Make this alias obsolete.
1723
1724 2013-02-16 Glenn Morris <rgm@gnu.org>
1725
1726 * image.el (image-animated-types): Remove.
1727 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1728 (image-animated-p): Make obsolete alias.
1729 (image-animate, image-nth-frame, image-animate-timeout):
1730 Use image-multi-frame-p.
1731 (image-animate-timeout): If no delay, use image-default-frame-delay.
1732 * image-mode.el (image-mode, image-toggle-animation):
1733 Use image-multi-frame-p. (Bug#763, bug#10739)
1734 (image-mode): Adjust startup message for a multi-frame image.
1735
1736 * image-mode.el (image-mode-map): Give it a menu.
1737
1738 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1739
1740 * net/tramp-cache.el (tramp-connection-properties): New customer
1741 option.
1742 (tramp-get-connection-property): Use it.
1743
1744 * net/tramp-compat.el (top): Require 'trampver.
1745
1746 * net/tramp-sh.el (tramp-remote-process-environment):
1747 Set tramp-autoload cookie.
1748
1749 2013-02-16 Kevin Ryde <user42@zip.com.au>
1750
1751 * info-look.el (info-lookup-select-mode): If major-mode has no
1752 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1753
1754 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1755
1756 * replace.el (read-regexp): Tighten the regexp that matches tag.
1757 When tag is retrieved with `find-tag-default', use regexp that
1758 matches tag at point. Also update docstring (Bug#13687).
1759
1760 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1761
1762 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1763 add watch for the file, not its parent directory, since w32notify
1764 sets up the watch for the directory internally. (Bug#13725)
1765
1766 2013-02-16 Glenn Morris <rgm@gnu.org>
1767
1768 * image.el (image-default-frame-delay): New variable.
1769 (image-animated-p): Use image-default-frame-delay.
1770 (image-minimum-frame-delay): New constant.
1771 (image-animate-timeout): Use image-minimum-frame-delay.
1772
1773 * image.el (image-nth-frame): New, split from image-animate-timeout.
1774 (image-animate-timeout): Use image-nth-frame.
1775 * image-mode.el (image-goto-frame, image-next-frame)
1776 (image-previous-frame): New commands.
1777 (image-mode-map): Add new frame commands.
1778
1779 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1780
1781 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1782 If col-desc already has help-echo, use it. (Bug#13563)
1783
1784 2013-02-16 Glenn Morris <rgm@gnu.org>
1785
1786 * image.el (image-current-frame): New variable.
1787 (image-animate-timeout): Set image-current-frame.
1788 * image-mode.el (image-mode): For animated images,
1789 display a frame counter via mode-line-process.
1790
1791 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1792
1793 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1796
1797 2013-02-15 Alan Mackenzie <acm@muc.de>
1798
1799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1800 global minor mode has been enabled, call the minor mode function
1801 for a new buffer once only, after the major mode hook, whilst
1802 allowing that hook explicitly to disable the minor mode.
1803 (MODE-disable-in-buffer): New (generated) function.
1804 (disable-MODE): New (generated) buffer local variable.
1805
1806 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1807
1808 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1809 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1810 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1811 `ido-next-match' and `ido-prev-match' resply.
1812 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1813 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1814 `icomplete-backward-completions' (Bug#13708).
1815
1816 2013-02-15 Glenn Morris <rgm@gnu.org>
1817
1818 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1819
1820 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1823 (goto-address-fontify-region): Use them instead of narrowing, so
1824 syntax-ppss has access to the whole buffer.
1825
1826 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1827
1828 * progmodes/python.el: Explain how to restore "cc-mode"-like
1829 forward-sexp movement in header documentation (Bug#13642).
1830 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1831 comments and strings (GH bug 114).
1832
1833 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1834
1835 * progmodes/python.el (python-info-current-defun): Fix current
1836 defun detection (Bug#13618).
1837
1838 2013-02-15 Chong Yidong <cyd@gnu.org>
1839
1840 * xml.el (xml-parse-string): Fix typo in handling of bad character
1841 references.
1842
1843 2013-02-15 Glenn Morris <rgm@gnu.org>
1844
1845 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1846
1847 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1848
1849 * net/tramp.el (tramp-debug-message):
1850 Add `tramp-condition-case-unless-debug'.
1851 (tramp-debug-on-error): New defvar.
1852 (tramp-condition-case-unless-debug): New defun.
1853 (tramp-file-name-handler): Use it.
1854
1855 2013-02-14 Juri Linkov <juri@jurta.org>
1856
1857 * info.el (Info-isearch-filter): Treat non-nil values of
1858 `search-invisible' including its default value `open'
1859 like the value `t' to match hidden text. (Bug#13402)
1860
1861 2013-02-14 Glenn Morris <rgm@gnu.org>
1862
1863 * help-fns.el (find-lisp-object-file-name): Give special treatment
1864 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1865
1866 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1867
1868 * net/quickurl.el (quickurl-save-urls):
1869 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1870
1871 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1872
1873 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1874 depth for unfinished percent literal. Not using it in the caller.
1875 (ruby-move-to-block): Jump over multiline literals of all types,
1876 ignoring code-looking contents inside them.
1877 (ruby-add-log-current-method): Improve performance at the expense
1878 of accuracy. `ruby-block-contains-point' is relatively slow, so
1879 only use it for method and singleton class blocks.
1880
1881 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1882
1883 Use ControlMaster where applicable. (Bug#13677)
1884
1885 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1886 replacing `tramp-detect-ssh-controlmaster'.
1887 (tramp-default-method): Use it.
1888
1889 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1890 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1891 arguments.
1892 [scpc, rsyncc]: Remove methods.
1893 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1894 and "ssh2_old".
1895 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1896 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1897
1898 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/package.el (package--initialized): Move before first use.
1901
1902 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1903
1904 * icomplete.el (icomplete-hide-common-prefix): New user option.
1905 (icomplete-first-match): New face.
1906 (icomplete-completions): Correct handling of "complete but not
1907 unique" (Bug#12638).
1908
1909 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1910
1911 * descr-text.el (describe-char): Display the script (bug#13698).
1912
1913 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * tmm.el: Use lexical-binding and current-active-maps.
1916 (tmm-menubar): Use map-keymap and pcase.
1917 (tmm--completion-table): New function.
1918 (tmm-prompt): Use it to fix the menu order.
1919 (tmm-get-keybind): Use current-active-maps.
1920
1921 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1922
1923 Add dired-hide-details-mode. (Bug#6799)
1924
1925 * locate.el (locate-mode): Set parent mode property to dired-mode.
1926
1927 * find-dired.el (find-dired): Call dired-insert-set-properties on
1928 initial information line. Set process mark on end of buffer.
1929 (find-dired-sentinel):
1930 Call dired-insert-set-properties on summary.
1931
1932 * dired.el (dired-hide-details-hide-symlink-targets)
1933 (dired-hide-details-hide-information-lines): New options.
1934 (dired-insert-directory):
1935 Set properties after final treatment of output.
1936 (dired-insert-set-properties):
1937 Set dired-hide-details-* properties.
1938 (dired-mode-map): Bind dired-hide-details-mode.
1939 (dired-mode): Set buffer-invisibility-spec to a list.
1940 (dired-next-line): Skip hidden lines.
1941 (dired-previous-line): Use dired-next-line.
1942 (dired-hide-details-mode): New minor mode.
1943 (dired-hide-details-update-invisibility-spec): New function.
1944
1945 2013-02-13 Glenn Morris <rgm@gnu.org>
1946
1947 * play/yow.el: Move to obsolete/. (Bug#9384)
1948
1949 2013-02-13 Juri Linkov <juri@jurta.org>
1950
1951 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1952 to select `ediff-control-frame' and set input focus correctly on Xfce.
1953 (Bug#12218)
1954
1955 2013-02-13 Juri Linkov <juri@jurta.org>
1956
1957 * image-mode.el (image-mode-map):
1958 * doc-view.el (doc-view-mode-map):
1959 * vc/ediff-util.el (ediff-setup-keymap):
1960 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1961
1962 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1963
1964 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1965 performance. Instead of recalculating indentation fully for each
1966 line, sum up indentation depth based only on visited lines.
1967 (ruby-parse-partial): Increase the depth after "do" even when END
1968 is right after it.
1969 (ruby-parse-partial): When END is in the middle of a percent
1970 literal, increase the depth if the delimiter chars belong to the
1971 paren syntax class.
1972
1973 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1974
1975 * play/fortune.el (fortune-compile): Also make the compiled file
1976 if it does not exist at all, not just if it is old. (Bug#5338)
1977
1978 2013-02-13 Glenn Morris <rgm@gnu.org>
1979
1980 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1981
1982 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1983
1984 * lisp/emacs-lisp/package.el (package-menu-execute):
1985 Add optional noquery argument. (Bug#13625)
1986
1987 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1988
1989 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1990 if DIR exists and PARENTS is non-nil.
1991
1992 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1993
1994 * progmodes/js.el (js--multi-line-declaration-indentation):
1995 Silence byte-compiler warning.
1996
1997 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1998
1999 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2000
2001 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2002 only if it doesn't exist.
2003
2004 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2005 Set process marker.
2006
2007 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2008
2009 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2010 UserInstallation when calling soffice to work around LibreOffice
2011 bug 37531.
2012
2013 2013-02-12 Glenn Morris <rgm@gnu.org>
2014
2015 * files.el (basic-save-buffer):
2016 Offer to create a non-existing directory. (Bug#3016)
2017
2018 * calc/calc-graph.el (calc-graph-show-dumb):
2019 * calendar/calendar.el (calendar-mode-map):
2020 * cus-edit.el (custom-mode-map):
2021 * ehelp.el (electric-help-map):
2022 * emulation/vip.el (vip-mode-map):
2023 * epa.el (epa-key-list-mode-map):
2024 * info.el (Info-mode-map):
2025 * mail/rmail.el (rmail-mode-map):
2026 * mail/rmailsum.el (rmail-summary-mode-map):
2027 * man.el (Man-mode-map):
2028 * net/newst-plainview.el (newsticker-mode-map):
2029 * progmodes/cpp.el (cpp-edit-mode-map):
2030 * progmodes/grep.el (grep-mode-map):
2031 * progmodes/idlw-help.el (idlwave-help-mode-map):
2032 * simple.el (special-mode-map):
2033 * startup.el (splash-screen-keymap):
2034 * view.el (view-mode-map):
2035 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2036
2037 2013-02-11 Elias Pipping <pipping@lavabit.com>
2038
2039 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2040 (bug#13679).
2041
2042 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2045
2046 2013-02-11 Glenn Morris <rgm@gnu.org>
2047
2048 * vc/diff.el (diff-use-labels): New variable.
2049 (diff-no-select): Use --label rather than -L, and first
2050 check that it is supported. (Bug#11067)
2051
2052 * files.el (enable-dir-local-variables): New variable.
2053 (hack-dir-local-variables): Respect enable-dir-local-variables.
2054 * tutorial.el (help-with-tutorial):
2055 Ignore directory-local variables. (Bug#11127)
2056
2057 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2058 (vc-svn-global-switches): ... to here. (Bug#13513)
2059
2060 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2061
2062 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2063 Handle "foo (bar, default: xxx): " prompts.
2064
2065 2013-02-10 Chong Yidong <cyd@gnu.org>
2066
2067 * files.el (basic-save-buffer-1): Do not set
2068 buffer-file-coding-system-explicit (Bug#4533).
2069
2070 * mail/emacsbug.el (report-emacs-bug): Change binding of
2071 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2072
2073 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2074
2075 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2076 * calc/calc-units.el (calc-convert-units): Use new variable.
2077
2078 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2079
2080 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2081
2082 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2083 buffer-file-type.
2084
2085 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2086 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2087 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2088 coding-system-for-write instead.
2089
2090 * jka-compr.el (jka-compr-write-region): Don't bind
2091 buffer-file-type.
2092
2093 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2094 buffer-file-type.
2095
2096 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2097 (insert-file-contents-literally): Remove reference to
2098 file-name-buffer-file-type-alist.
2099
2100 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2101 make-obsolete.
2102 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2103 (find-buffer-file-type-coding-system): Remove references to
2104 find-buffer-file-type-match, find-buffer-file-type, and
2105 buffer-file-type.
2106 Don't put find-buffer-file-type-coding-system into
2107 file-coding-system-alist.
2108 (find-file-binary, find-file-text): Bind coding-system-for-read
2109 instead of file-name-buffer-file-type-alist.
2110
2111 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2112
2113 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2114 converter (Bug#13622).
2115 (doc-view-unoconv-program): Make obsolete alias.
2116 (doc-view-odf->pdf-converter-program): New variable.
2117 (doc-view-odf->pdf-converter-function): New variable.
2118 (doc-view-mode-p): Use it.
2119 (doc-view-odf->pdf-converter-unoconv):
2120 Rename from `doc-view-odf->pdf-converter-unoconv'.
2121 (doc-view-odf->pdf-converter-soffice): New function.
2122 (doc-view-convert-current-doc):
2123 Use `doc-view-odf->pdf-converter-function'.
2124
2125 2013-02-09 Chong Yidong <cyd@gnu.org>
2126
2127 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2128 view-echo-area-messages (Bug#13340).
2129
2130 * help.el (view-echo-area-messages): Use display-buffer.
2131
2132 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2133 (Bug#13561).
2134
2135 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2138 Eval body right away, now that we do eager macroexpansion (bug#13605).
2139
2140 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2141 (fundamental-mode): Use run-mode-hooks.
2142
2143 * eshell/esh-proc.el (eshell/kill): Fix last change.
2144 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2145
2146 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2147
2148 * eshell/esh-proc.el (eshell/kill): Rewrite.
2149
2150 * eshell/em-ls.el (show-almost-all): Declare.
2151 (eshell-do-ls): Add support for -A argument.
2152
2153 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2154
2155 * icomplete.el (icomplete-forward-completions)
2156 (icomplete-backward-completions): Handle corner case (bug#13602).
2157
2158 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2161 be nil. Handle this. (Bug#13636)
2162
2163 2013-02-07 Richard Stallman <rms@gnu.org>
2164
2165 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2166 `save-buffer-coding-system'.
2167
2168 2013-02-07 Alan Mackenzie <acm@muc.de>
2169
2170 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2171 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2172 (c-parse-state-get-strategy): Don't return 'BOD any more.
2173 (c-append-lower-brace-pair-to-state-cache):
2174 Extra parameter HERE instead of narrowing.
2175 Widen to top of buffer before searching backwards for a brace pair.
2176 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2177 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2178 Narrow to parameter HERE, in place of being called narrowed.
2179 (c-remove-stale-state-cache): Extra parameter HERE in place of
2180 narrowing. Check there's an open brace in the cache before
2181 searching for its match.
2182 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2183 (c-parse-state-1): Don't narrow here for 'forward strategy,
2184 instead passing extra parameter HERE to several functions.
2185 Remove 'BOD strategy.
2186
2187 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2188
2189 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2190 used to install the package.
2191
2192 2013-02-06 Glenn Morris <rgm@gnu.org>
2193
2194 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2195 if we can't get user input. (Bug#6567)
2196
2197 * startup.el (command-line): If simple.el is missing,
2198 test and warn about for some possible causes.
2199
2200 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2201
2202 * cus-start.el (all): Add ns-use-native-fullscreen.
2203
2204 2013-02-05 Glenn Morris <rgm@gnu.org>
2205
2206 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2207
2208 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2209 Fix directory creation in fallback case.
2210
2211 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2212
2213 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2214 (vc-update-change-log): Use dolist.
2215
2216 2013-02-04 Chong Yidong <cyd@gnu.org>
2217
2218 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2219 code from ffap.el.
2220 (thing-at-point-beginning-of-url-regexp): New var.
2221 (thing-at-point-uri-schemes): Update list of URI schemes.
2222 (thing-at-point-url-regexp): Variable deleted.
2223 (thing-at-point-markedup-url-regexp): Disallow newlines.
2224 (thing-at-point-newsgroup-regexp)
2225 (thing-at-point-newsgroup-heads)
2226 (thing-at-point-default-mail-uri-scheme): New variables.
2227 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2228 method to find the possible bounds of the URI at point.
2229 New optional argument to find ill-formed URIs.
2230 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2231 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2232 the scheme-adding heuristics from ffap-url-at-point.
2233 (thing-at-point--bounds-of-well-formed-url): New function.
2234 Do parens matching to decide whether to include parens in the URI
2235 (Bug#9153).
2236
2237 * ffap.el: Require thingatpt.
2238 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2239 All URI-valid characters are now recognized (Bug#5673).
2240 (ffap-string-at-point): Use use-region-p.
2241 (ffap-url-regexp): Extra character is handled by thing-at-point.
2242 (ffap-string-at-point-mode-alist): Allow parentheses.
2243 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2244 Convert to aliases; code moved to thingatpt.el.
2245 (ffap-gnus-hook): Use setq-local.
2246
2247 2013-02-04 Glenn Morris <rgm@gnu.org>
2248
2249 * emacs-lisp/ert.el (ert--explain-format-atom):
2250 Don't try to print non-characters as characters. (Bug#13543)
2251
2252 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2253
2254 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2255 (tramp-backtrace): New defun.
2256 (tramp-handle-insert-file-contents): Use `visit' when inserting
2257 the local copy.
2258
2259 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2260 Use `remote-file-name-inhibit-cache'.
2261
2262 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2265 (bug#13614).
2266
2267 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2268 current-load-list (bug#13366).
2269
2270 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2271
2272 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2273 Identify g++ template instantiation trace. (Bug#12287)
2274 (compilation-mode-hook, compilation-start-hook)
2275 (compilation-window-height): Simplify docstrings. (Bug#13379)
2276
2277 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * mouse.el (mouse-drag-track): Always deactivate the mark before
2280 running the final event's command since that command is in charge of
2281 activating the mark if needed (bug#13523).
2282
2283 2013-02-02 Juri Linkov <juri@jurta.org>
2284
2285 * replace.el (perform-replace): Move let-bindings of isearch-*
2286 variables deeper to the loop that searches for the next match.
2287 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2288 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2289 (Bug#13579)
2290
2291 * isearch.el (isearch-search-fun-default): Check for null
2292 first element of isearch-cmds as a precaution when it's used
2293 with inactive isearch.
2294
2295 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2296
2297 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2298 error when buffer in question is narrowed so position 1 is out of
2299 visible part.
2300
2301 2013-02-02 Glenn Morris <rgm@gnu.org>
2302
2303 * textmodes/remember.el (remember-clipboard): Doc fix.
2304
2305 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2308 properties (bug#13179).
2309
2310 2013-02-02 Juri Linkov <juri@jurta.org>
2311
2312 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2313 instead of hard-coded default face `match'. (Bug#9438)
2314
2315 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2316
2317 * vc/vc-arch.el (vc-arch-registered):
2318 * vc/vc-bzr.el (vc-bzr-registered):
2319 * vc/vc-cvs.el (vc-cvs-registered):
2320 * vc/vc-git.el (vc-git-registered):
2321 * vc/vc-hg.el (vc-hg-registered):
2322 * vc/vc-mtn.el (vc-mtn-registered):
2323 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2324 (Bug#13139)
2325
2326 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2327 prefix argument. (Bug#11656)
2328
2329 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2332
2333 2013-02-01 Glenn Morris <rgm@gnu.org>
2334
2335 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2336 if the backend is known not to support it.
2337
2338 * imenu.el (imenu-default-create-index-function):
2339 Tweak infinite loop test to check for forward motion as well as none.
2340
2341 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2342
2343 * net/soap-client.el (soap-invoke): Encode the string for
2344 `url-request-data' as UTF-8.
2345 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2346
2347 2013-02-01 Glenn Morris <rgm@gnu.org>
2348
2349 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2350
2351 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2352
2353 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2354
2355 * net/tramp.el (tramp-tramp-file-p): Comment check for
2356 `string-as-unibyte'. The function does not exist on XEmacs, and
2357 likely we need another approach.
2358
2359 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2360 `tramp-gw-*' variables are bound.
2361
2362 2013-01-31 Glenn Morris <rgm@gnu.org>
2363
2364 * files.el (basic-save-buffer-2): Choose coding system for
2365 writing the file before backing it up, to reduce delay between
2366 backing up and writing the new version. (Bug#13522)
2367
2368 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2369
2370 * simple.el (cycle-spacing): New command.
2371 (just-one-space): Use it.
2372
2373 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2376 (opascal-newline-always-indents): Remove custom.
2377 (opascal-tab, opascal-newline): Remove commands.
2378 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2379 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2380 (opascal-save-match-data): Remove, use save-match-data instead.
2381 (opascal-save-state): Use with-silent-modifications.
2382
2383 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2384 (bug#13585).
2385
2386 2013-01-30 Juri Linkov <juri@jurta.org>
2387
2388 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2389 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2390 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2391
2392 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2395 column if we're just deleting the backslashes.
2396 (makefile-fill-paragraph): Use eolp.
2397
2398 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * autorevert.el (auto-revert-use-notify): Fix docstring.
2401
2402 2013-01-30 Leo Liu <sdl.web@gmail.com>
2403
2404 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2405
2406 2013-01-30 Glenn Morris <rgm@gnu.org>
2407
2408 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2409 unread-command-events twice in some cases. This tries to implement
2410 the 2012-07-26 changes in a different way. (Bug#13560)
2411
2412 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2413
2414 * progmodes/python.el
2415 (python-pdbtrack-comint-output-filter-function): Enhancements on
2416 stacktrace detection. (thanks @gnovak)
2417
2418 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2421 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2422 Use defvar-local.
2423 (jit-lock-register): Use setq-local.
2424
2425 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2426
2427 * calc-units.el (math-default-units-table): Remove initial value.
2428 (calc-convert-units): Treat expressions where all the units cancel as
2429 if they didn't have units.
2430
2431 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2432
2433 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2434 (tramp-completion-reread-directory-timeout): Fix type.
2435 (tramp-connection-min-time-diff): New defcustom.
2436
2437 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2438
2439 2013-01-30 Glenn Morris <rgm@gnu.org>
2440
2441 * imenu.el (imenu-default-create-index-function):
2442 Put back a version of the infinite loop test removed 2013-01-23.
2443
2444 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2445
2446 * progmodes/python.el (python-shell-parse-command):
2447 Find python-shell-interpreter with modified environment.
2448
2449 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2452
2453 2013-01-29 Alan Mackenzie <acm@muc.de>
2454
2455 Amend to fontify /regexp/s in actions correctly.
2456 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2457 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2458 are no longer included.
2459 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2460 What used to be these variables without "-line" in the name.
2461 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2462 (c-awk-non-arith-op-bra-re): Now also matches {.
2463 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2464 "return", and "case".
2465 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2466 by /.
2467 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2468 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2469
2470 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * autorevert.el (auto-revert-use-notify):
2473 Use `custom-initialize-default' for initialization. (Bug#13583)
2474
2475 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2476
2477 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2478 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2479 in `tramp-file-name-handler'.
2480 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2481 compatibility.
2482 (tramp-compute-multi-hops): Check, whether
2483 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2484
2485 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2488 (bug#13297).
2489
2490 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2493 checks made superfluous by the \_< operator.
2494 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2495 temporarily) broken indentation.
2496 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2497 Highlight nested constants, too. \_< broke that.
2498
2499 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2500
2501 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2502 instead of "\\b".
2503
2504 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2505
2506 * autorevert.el (auto-revert-handler): Notifications which result
2507 from a saved file shall not be taken into account. (Bug#13557)
2508
2509 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2510
2511 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2512 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2513 (lisp-mode): Pass t for it. (Bug#13556)
2514
2515 2013-01-25 Alan Mackenzie <acm@muc.de>
2516
2517 AWK Mode: Fix indentation bug at top level. Bug #12274.
2518
2519 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2520 just before CASE 5D.
2521
2522 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2523
2524 * net/socks.el (socks-nslookup-host): Use string-to-number.
2525
2526 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2527
2528 * autorevert.el (auto-revert-remote-files)
2529 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2530 (auto-revert-notify-enabled, auto-revert-use-notify)
2531 (auto-revert-notify-watch-descriptor-hash-list)
2532 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2533 (auto-revert-notify-event-descriptor)
2534 (auto-revert-notify-event-action)
2535 (auto-revert-notify-event-file-name): Doc fix.
2536 (global-auto-revert-mode): Reorder checks.
2537 (auto-revert-notify-rm-watch): Respect changed values of
2538 `auto-revert-notify-watch-descriptor-hash-list'.
2539 (auto-revert-notify-add-watch): Check for
2540 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2541 `inotify-add-watch'. Watch `default-directory' instead of
2542 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2543 has a changed meaning now. (Bug#13540)
2544 (auto-revert-notify-handler): Change implementation wrt events
2545 returning from a directory.
2546 (auto-revert-handler): Reorder implementation for checks of remote
2547 files.
2548 (auto-revert-buffers): Fix parentheses error.
2549
2550 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2551
2552 * progmodes/python.el: Enhancements to header documentation about
2553 skeletons. (Bug#5716)
2554
2555 * imenu.el (imenu-default-create-index-function): Remove useless
2556 infinite loop check. (Bug#13438)
2557
2558 2013-01-25 Alan Mackenzie <acm@muc.de>
2559
2560 Fix a bug in the state cache mechanism. Refactor this a bit.
2561
2562 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2563 `cache-pos' element from the return value.
2564 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2565 buffer to enable proper searching from beyond HERE. Amend the
2566 test for detecting the sought brace pair. Amend the value written
2567 to the "brace desert cache" when the brace isn't found.
2568 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2569 and several other variables analogously.
2570 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2571 parameter to a locally calculated variable.
2572 (c-parse-state-1): Change the calling conventions to the two
2573 defuns involving `cache-pos'.
2574
2575 2013-01-25 Chong Yidong <cyd@gnu.org>
2576
2577 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2578
2579 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2580
2581 * paren.el (show-paren-function): Make sure to set 'priority and
2582 'face only if the overlay does exist.
2583
2584 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2587
2588 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2589 basic attributes.
2590 (tramp-sh-handle-set-file-acl): Improve error checking.
2591
2592 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2593
2594 * doc-view.el (doc-view-display): Force mode line update until all
2595 document is converted. Suggested by Stefan Monnier (Bug#13164).
2596
2597 2013-01-23 Bastien Guerry <bzg@gnu.org>
2598
2599 * paren.el (show-paren-function): Make sure an overlay exists
2600 before trying to delete it. Also use `pos' as a position only
2601 when it is an integer.
2602
2603 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2604
2605 * play/gametree.el (gametree-break-line-here): Use point-marker.
2606
2607 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2608
2609 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2610 Mark descriptive parts with `display' property.
2611
2612 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2613
2614 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2615 New variable to map standard dict names to hunspell ones.
2616 (ispell-set-spellchecker-params): Make sure specific dict names
2617 are used for standard dicts with hunspell.
2618
2619 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2620
2621 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2622 chars for note (%N) and url (%U).
2623 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2624
2625 2013-01-21 Juri Linkov <juri@jurta.org>
2626
2627 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2628 in addition to existing separate binding `meta f10' in `global-map'.
2629 (Bug#13484)
2630
2631 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2632
2633 Improve XEmacs compatibility.
2634
2635 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2636
2637 * net/tramp-adb.el (top): Require `time-date'.
2638 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2639 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2640 Use `tramp-file-name-handler'.
2641 (tramp-adb-maybe-open-connection):
2642 Use `tramp-compat-set-process-query-on-exit-flag'.
2643
2644 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2645 Use `tramp-compat-funcall'.
2646
2647 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2648 `tramp-compat-funcall'.
2649
2650 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2651
2652 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2653 reimplementation using "adb shell command ..." instead of running
2654 remote shell interactively.
2655
2656 2013-01-20 Glenn Morris <rgm@gnu.org>
2657
2658 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2659 Add native profiler menu entries.
2660
2661 * profiler.el (profiler-running-p): New function.
2662 (profiler-cpu-profile): Use profiler-running-p.
2663 (profiler-report-mode-map): Add some more menu entries.
2664
2665 2013-01-19 Glenn Morris <rgm@gnu.org>
2666
2667 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2668 fixes 2012-12-07 change. (Bug#13499)
2669
2670 2013-01-19 Leo Liu <sdl.web@gmail.com>
2671
2672 * dired.el (dired-get-marked-files): Prune erroneous values due to
2673 last change. (Bug#13152)
2674
2675 2013-01-19 Glenn Morris <rgm@gnu.org>
2676
2677 * progmodes/etags.el (tags-table-check-computed-list):
2678 Preserve point in tags buffer. (Bug#13412)
2679
2680 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2681
2682 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2683 Chong Yidong <cyd@gnu.org>
2684
2685 * image-mode.el (image-next-file, image-previous-file):
2686 New commands (Bug#8453).
2687 (image-mode-map): Bind them to n and p.
2688 (image-mode--images-in-directory): New helper function.
2689
2690 2013-01-19 Chong Yidong <cyd@gnu.org>
2691
2692 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2693 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2694 save and restore the old window configuration.
2695
2696 2013-01-18 Leo Liu <sdl.web@gmail.com>
2697
2698 * progmodes/js.el: Tweak autoload cookie for alias.
2699
2700 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2703 buffer local, again. This was lost with the fix on 2013-01-12.
2704
2705 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2706
2707 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2708 order to support several eshell buffers in parallel.
2709
2710 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * autorevert.el (auto-revert-use-notify): In the :set function, do
2713 not modify `kill-buffer-hook'.
2714 (auto-revert-notify-rm-watch):
2715 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2716 (auto-revert-notify-add-watch): Do not call
2717 `auto-revert-notify-rm-watch', but add it to a buffer local
2718 `kill-buffer-hook'.
2719
2720 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2723 call to `eval' rather than a backquoted lambda.
2724
2725 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2728 to return an explicit nil.
2729 (advice--remove-function): Change accordingly.
2730
2731 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2732 the use of nadvice.el.
2733
2734 * progmodes/which-func.el (which-function): Silence imenu errors
2735 (bug#13433).
2736
2737 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2738
2739 * progmodes/sql.el (sql-imenu-generic-expression):
2740 (sql-mode-font-lock-object-name): Match schema qualified names.
2741 (sql-connect): Use string keys.
2742 (sql-product-interactive): Wait for interpreter prompt.
2743 (sql-comint-oracle): Set process coding based on NLS_LANG.
2744
2745 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2746
2747 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2748 (sql-interactive-remove-continuation-prompt):
2749 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2750
2751 2013-01-14 Leo Liu <sdl.web@gmail.com>
2752
2753 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2754 (Bug#13420)
2755
2756 2013-01-14 Glenn Morris <rgm@gnu.org>
2757
2758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2759 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2760
2761 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2762
2763 * progmodes/python.el (python-nav-end-of-statement):
2764 Fix cornercase when handling multiline strings.
2765
2766 2013-01-13 Richard Stallman <rms@gnu.org>
2767
2768 * mail/sendmail.el (mail-position-on-field): Add doc string.
2769
2770 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2771 Get current message boundaries and pass them to
2772 message-forward-make-body-mime. Minor style changes.
2773
2774 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2775
2776 * cus-start.el (all): Avoid warnings about
2777 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2778
2779 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2780
2781 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2782
2783 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2786 (jit-lock--debug-fontifying): New var.
2787 (jit-lock--debug-fontify): New function.
2788 * subr.el (condition-case-unless-debug): Don't prevent catching the
2789 error, just let the debbugger run.
2790 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2791 timer code and don't drop errors silently.
2792
2793 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2796 `permanent-local' property.
2797 (auto-revert-notify-handler): Use `file-equal-p'.
2798
2799 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2800
2801 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2802 file notification by ACTION. For filtering by file name, compare
2803 only the non-directory part of the file name.
2804
2805 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * autorevert.el: Use cl-lib instead of cl.
2808
2809 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2810 (vc-bzr-checkin): Use it.
2811 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2812 will preserve match-data.
2813
2814 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2815
2816 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2817 (js--declaration-keyword-re): New var.
2818 (js--multi-line-declaration-indentation): New function.
2819 (js--proper-indentation): Use it.
2820
2821 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2822
2823 * calc/calc.el (calc-highlight-selections-with-faces)
2824 (calc-dispatch):
2825 * comint.el (comint-history-isearch-message):
2826 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2827 * ffap.el (ffap-string-at-point-region, ffap-next)
2828 (ffap-string-at-point, ffap-string-around)
2829 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2830 (ffap-literally):
2831 * font-lock.el (font-lock-keywords-alist)
2832 (font-lock-removed-keywords-alist):
2833 * help-mode.el (help-xref-symbol-regexp):
2834 * info.el (Info-find-emacs-command-nodes):
2835 * international/mule.el (add-to-coding-system-list):
2836 * isearch.el (isearch-message-function, isearch-fail-pos):
2837 * misearch.el (multi-isearch-next-buffer-function):
2838 * newcomment.el (comment-box):
2839 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2840 (pr-setting-database):
2841 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2842 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2843 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2844 (pike-font-lock-keywords-3):
2845 * progmodes/compile.el (compile):
2846 * progmodes/etags.el (tags-table-files)
2847 (tags-table-files-function, tags-included-tables-function):
2848 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2849 (gdb-restore-windows):
2850 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2851 (ps-n-up-filling-database):
2852 * server.el (server-buffer, server-log):
2853 * simple.el (newline, delete-backward-char, delete-forward-char)
2854 (minibuffer-history-isearch-message, kill-line, track-eol)
2855 (temporary-goal-column):
2856 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2857 (flyspell-default-deplacement-commands):
2858 * textmodes/ispell.el (ispell-accept-output):
2859 * textmodes/sgml-mode.el (html-tag-help):
2860 * vc/compare-w.el (compare-ignore-whitespace)
2861 (compare-ignore-case, compare-windows-dehighlight):
2862 * vc/diff.el (diff):
2863 * whitespace.el (whitespace-point)
2864 (whitespace-font-lock-refontify, whitespace-bob-marker)
2865 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2866
2867 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2868
2869 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2870 (auto-revert-notify-rm-watch): Ignore errors.
2871 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2872 inotify, and '(size last-write-time) for w32notify.
2873 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2874 watch fails - this is a fallback to the file modification check.
2875 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2876 (auto-revert-notify-event-action)
2877 (auto-revert-notify-event-file-name): New defuns.
2878 (auto-revert-notify-handler): Use them. Implement first
2879 plausibility checks.
2880 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2881
2882 2013-01-11 Julien Danjou <julien@danjou.info>
2883
2884 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2885 max are almost equal. Also return the correct value for V which is
2886 already between 0 and 1.
2887
2888 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2889
2890 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2891
2892 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2893
2894 * autorevert.el (auto-revert-notify-rm-watch)
2895 (auto-revert-notify-add-watch): Fix typos in w32notify function
2896 names.
2897
2898 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * autorevert.el (auto-revert-notify-enabled): Move up.
2901 (auto-revert-use-notify): New defcustom.
2902 (auto-revert-mode, global-auto-revert-mode)
2903 (auto-revert-notify-add-watch, auto-revert-handler)
2904 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2905 `auto-revert-notify-enabled'.
2906
2907 2013-01-10 Elias Pipping <pipping@exherbo.org>
2908
2909 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2910 * doc-view.el (doc-view-document->bitmap):
2911 Use doc-view-single-page-converter-function instead of
2912 single-page-converter arg; adjust callers.
2913
2914 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2915
2916 * progmodes/which-func.el (which-function): Understand Semantic's use
2917 of overlays in imenu--index-alist.
2918
2919 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2920
2921 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2922 (Man-man-k-use-anchor): New var.
2923 (Man-parse-man-k): New function.
2924 (Man-completion-table): Use it.
2925 (man): Flush the completion cache between uses.
2926
2927 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * autorevert.el: Add file watch support.
2930 (auto-revert-notify-enabled): New defconst.
2931 (auto-revert-notify-watch-descriptor-hash-list)
2932 (auto-revert-notify-watch-descriptor)
2933 (auto-revert-notify-modified-p): New defvars.
2934 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2935 (auto-revert-notify-handler): New defuns.
2936 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2937 when mode is disabled.
2938 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2939 (auto-revert-buffers): Add file watches for active buffers.
2940
2941 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2942
2943 * cus-start.el (toplevel): Only allow float values for
2944 scroll-up-aggressively and scroll-down-aggressively.
2945 Allow any number for line-spacing.
2946
2947 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2950 (doc-view-pdf->png-converter-function): Use mupdf if available.
2951 (doc-view-djvu->png-converter-function)
2952 (doc-view-ps->png-converter-function): Remove.
2953 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2954 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2955 (doc-view-already-converted-p): Adjust accordingly.
2956 (doc-view-mode-p): Simplify.
2957 (doc-view-enlarge): Use setq-local.
2958 (doc-view-pdf->png-converter-ghostscript)
2959 (doc-view-djvu->png-converter-ddjvu)
2960 (doc-view-pdf->png-converter-mupdf): Rework to call
2961 doc-view-start-process directly.
2962 (doc-view-pdf/ps->png): Simplify accordingly.
2963 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2964 (doc-view-document->bitmap): Rename from doc-view-document->png.
2965 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2966 (doc-view-set-slice-from-bounding-box): Fix completion table.
2967 (doc-view-mode): Use add-hook for after-revert-hook.
2968
2969 2013-01-10 Glenn Morris <rgm@gnu.org>
2970
2971 * emacs-lisp/authors.el (authors-ignored-files)
2972 (authors-valid-file-names, authors-renamed-files-alist):
2973 Add some more entries.
2974
2975 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2978 `t' pseudo-window entry.
2979
2980 2013-01-10 Alan Mackenzie <acm@muc.de>
2981
2982 Fix bugs in the c-parse-state mechanism. Reuse some markers
2983 instead of continually generating new ones.
2984
2985 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2986 (c-state-old-cpp-end-marker): New variables.
2987 (c-append-lower-brace-pair-to-state-cache): Start a backward
2988 search for "}" definitively outside CPP constructs.
2989 (c-remove-stale-state-cache): Inform the caller of a need to
2990 search back for a brace pair in certain circumstances.
2991 (c-state-maybe-marker): New macro.
2992 (c-parse-state): Reuse markers when appropriate.
2993
2994 2013-01-10 Glenn Morris <rgm@gnu.org>
2995
2996 * simple.el (execute-extended-command): Doc fix.
2997 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2998
2999 2013-01-10 Chong Yidong <cyd@gnu.org>
3000
3001 * faces.el (read-face-name): Doc fix.
3002
3003 2013-01-10 Roland Winkler <winkler@gnu.org>
3004
3005 * emacs-lisp/crm.el: Allow any regexp for separators.
3006 (crm-default-separator): All spaces around the default comma separator.
3007 (crm--completion-command): New macro.
3008 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3009 (crm-complete-and-exit): Handle non-single-char separators.
3010
3011 2013-01-09 Elias Pipping <pipping@lavabit.com>
3012
3013 * doc-view.el: Add support for DjVu (bug#13164).
3014 (doc-view-djvu->png-converter-function): New config var.
3015 (doc-view-single-page-converter-function, doc-view--image-type)
3016 (doc-view--image-file-extension): New vars.
3017 (doc-view-mode): Initialize them.
3018 (doc-view-goto-page): Use them.
3019 (doc-view-mode-p): Add support for ddjvu.
3020 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3021 (doc-view-set-up-single-converter): New funs.
3022 (doc-view-pdf/ps->png): Extend for djvu.
3023 (doc-view-document->png): Rename from doc-view-pdf->png.
3024 (doc-view-convert-current-doc): Handle djvu.
3025 (doc-view-insert-image, doc-view-display)
3026 (doc-view-already-converted-p): Don't hardcode png.
3027 (doc-view-set-doc-type): Recognize djvu docs.
3028
3029 2013-01-09 Elias Pipping <pipping@lavabit.com>
3030
3031 * doc-view.el: Add support for mupdf converter (bug#13164).
3032 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3033 (doc-view-ps->png-converter-function): New config vars.
3034 (doc-view-pdf->png-converter-ghostscript)
3035 (doc-view-ps->png-converter-ghostscript)
3036 (doc-view-pdf->png-converter-mupdf): New functions.
3037 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3038
3039 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3040
3041 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3042 first in session cache: When `tramp-own-remote-path' is in
3043 `tramp-remote-path', the remote path is only set in the session
3044 cache.
3045
3046 2013-01-09 Glenn Morris <rgm@gnu.org>
3047
3048 * emacs-lisp/trace.el (trace-function-foreground)
3049 (trace-function-background): Doc fix.
3050
3051 2013-01-09 Juri Linkov <juri@jurta.org>
3052
3053 * international/mule-cmds.el (read-char-by-name): Move let-binding
3054 of completion-ignore-case around completing-read to fix regression
3055 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3056 `string-match-p' using the nil value of `case-fold-search' and
3057 `completion-ignore-case' in `completion-pcm--all-completions'.
3058 (Bug#12615).
3059
3060 2013-01-09 Glenn Morris <rgm@gnu.org>
3061
3062 * progmodes/compile.el (compilation-parse-errors):
3063 Fix typo. (Bug#13369)
3064
3065 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3066
3067 * comint.el (comint-send-input): Check size of buffer before
3068 waiting for process output, in case already accepted. (Bug#13290)
3069
3070 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3071
3072 Spelling fixes.
3073 * net/tramp-adb.el (tramp-adb-get-toolbox):
3074 Fix misspelling of 'unknown'.
3075
3076 2013-01-08 Juri Linkov <juri@jurta.org>
3077
3078 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3079 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3080 Use underline style wave on terminals that support it. (Bug#13000)
3081
3082 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3085 the predicate returns nil.
3086
3087 * simple.el: Use lexical-binding.
3088 (primitive-undo): Use pcase.
3089 (minibuffer-history-isearch-push-state): Use a closure.
3090
3091 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3092
3093 * simple.el (primitive-undo): Move from undo.c.
3094
3095 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3098 (cvs-mode-remove-handled): Use it (bug#13380).
3099
3100 * emacs-lisp/nadvice.el (advice--tweak): New function.
3101 (advice--remove-function, advice--subst-main): Use it.
3102
3103 * emacs-lisp/advice.el: Update commentary.
3104
3105 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3108 Remove spurious entry.
3109
3110 2013-01-08 Glenn Morris <rgm@gnu.org>
3111
3112 * net/tramp.el (tramp-default-host-alist): Add :version.
3113
3114 2013-01-08 Juri Linkov <juri@jurta.org>
3115
3116 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3117 single completion. (Bug#12456)
3118 (info--manual-names): Expand node completions into an explicit list
3119 before appending it to another list. Filter out internal buffers
3120 with the leading space in the buffer name. (Bug#10771)
3121
3122 2013-01-08 Juri Linkov <juri@jurta.org>
3123
3124 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3125 that defaults to the Top node.
3126 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3127 the short format (FILENAME) goes to the Top node.
3128 (Info-build-node-completions): Rename arg `file' to `filename'.
3129 (Bug#13365)
3130
3131 2013-01-07 Bastien Guerry <bzg@gnu.org>
3132
3133 * menu-bar.el (menu-bar-search-documentation-menu):
3134 Use `apropos-user-option' and fix the help message.
3135
3136 2013-01-07 Bastien Guerry <bzg@gnu.org>
3137
3138 * apropos.el (apropos-do-all): Update docstring.
3139 (apropos-user-option-button): New face.
3140 (apropos-user-option): Rename from `apropos-variable' and update
3141 docstring.
3142 (apropos-variable): Rewrite, now show all variables by default.
3143 (apropos-print): Mention "User option" instead of "Variable" when
3144 printing doc for user options. (Bug#13276)
3145
3146 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3147
3148 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3149 Handle filename correctly, when parsing "source -> target" symlink
3150 output.
3151 (tramp-adb-handle-set-file-times): New defun.
3152
3153 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3156 advice list when the interactive-spec of ad-Advice-* changes.
3157
3158 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3159
3160 * wid-edit.el (widget-default-get): Work for inlined elements.
3161 (Bug#12670)
3162
3163 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3164
3165 * net/tramp.el (tramp-default-host-alist): New defcustom.
3166 (tramp-find-host): Use it.
3167 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3168 `eshell-directory-change-hook'.
3169
3170 * net/tramp-adb.el (top): Add adb specific entry in
3171 `tramp-default-host-alist'.
3172 (tramp-adb-file-name-host): Remove function.
3173 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3174 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3175
3176 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3177
3178 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3179
3180 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3181
3182 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3183
3184 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3185 consist of more than one digit.
3186 (tramp-adb-file-name-handler-alist):
3187 Use `tramp-handle-file-exists-p' consistently.
3188 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3189 (tramp-adb-handle-file-exists-p): Remove function.
3190 (tramp-adb-file-name-host): New defun.
3191 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3192 Use it.
3193 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3194
3195 2013-01-06 Chong Yidong <cyd@gnu.org>
3196
3197 * vc/vc.el (vc-next-action): Detect buffer modifications
3198 conflicting with locking VCS operation (Bug#11490).
3199
3200 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3201
3202 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3205 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3206
3207 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3208
3209 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3210 parsing of ls output using regular expression (handle filenames
3211 with spaces). Use virtual device number.
3212 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3213 cleanup).
3214
3215 2013-01-04 Daiki Ueno <ueno@gnu.org>
3216
3217 * epg.el: Silence byte-compiler warnings.
3218 (epg--start): Use delete-char instead of delete-backward-char.
3219 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3220
3221 2013-01-04 Daiki Ueno <ueno@gnu.org>
3222
3223 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3224 Suggested by Eli Zaretskii <eliz@gnu.org>.
3225
3226 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3227
3228 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3229 non-negative integers. Otherwise, the default values are used.
3230 (tramp-convert-file-attributes): Convert uid and gid to integers.
3231
3232 2013-01-04 Glenn Morris <rgm@gnu.org>
3233
3234 * term.el (term-handle-colors-array): Ensure face attributes
3235 are fully specified, not nil. (Bug#13337)
3236
3237 * term.el (term-default-fg-color, term-default-bg-color):
3238 Fix custom type.
3239
3240 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3241 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3242 rather than 'jka-compr being loaded. (Bug#13338)
3243
3244 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3245
3246 * icomplete.el (icomplete-completions):
3247 Honor icomplete-prospects-height once more following
3248 2012-11-29 changes. (Bug#13224)
3249
3250 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3253 of called-interactively-p as well (bug#13237).
3254
3255 * view.el (view--enable, view--disable): Rename from view-mode-enable
3256 and view-mode-disable and assume it's called from view-mode.
3257 (view-mode-enable, view-mode-disable): Redefine as obsolete
3258 compatibility layer above view-mode.
3259 (view-mode-enter): Call `view-mode'.
3260
3261 * files.el (after-find-file): Call `view-mode'.
3262
3263 * doc-view.el (doc-view-scale-internally): New var.
3264 (doc-view-enlarge, doc-view-insert-image): Obey it.
3265
3266 2013-01-03 Daiki Ueno <ueno@gnu.org>
3267
3268 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3269 exist. (Bug#13344)
3270
3271 2013-01-03 Glenn Morris <rgm@gnu.org>
3272
3273 * mail/rmail.el (rmail-set-header-1): Ignore case.
3274 Handle multi-line headers. (Bug#13330)
3275
3276 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3277 Handle paragraph starting at beginning of buffer.
3278
3279 * subr.el (eval-after-load): Don't purecopy the form, so that it
3280 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3281
3282 * emacs-lisp/byte-run.el (defun): Place cl declarations
3283 after any interactive spec. (Bug#13265)
3284
3285 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3286
3287 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3288 defun. Don't check for DECL if DOCSTRING isn't a string.
3289 (defun): Likewise.
3290
3291 2013-01-02 Glenn Morris <rgm@gnu.org>
3292
3293 * eshell/em-cmpl.el (eshell-pcomplete):
3294 More thoroughly imitate pcomplete. (Bug#13293)
3295
3296 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3297 Return nil for empty path elements. (Bug#13296)
3298
3299 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3300
3301 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3302 order to improve efficiency (Based on Daniel Colascione's
3303 <dancol@dancol.org> patch). (Bug#13182)
3304
3305 2013-01-02 Glenn Morris <rgm@gnu.org>
3306
3307 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3308
3309 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3310
3311 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3312 neither DOCSTRING nor DECL was given. (Bug#13316)
3313
3314 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3317 `error' call.
3318 (tramp-do-copy-or-rename-file): Ignore errors when calling
3319 `set-file-extended-attributes'.
3320
3321 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3322 Add handler for `file-acl'.
3323 (tramp-smb-handle-file-acl): New defun.
3324
3325 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3326
3327 * calc/README: Mention ISO 8601 week-numbering dates.
3328
3329 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3330
3331 * view.el (view-mode-enable): New argument run-view-mode-hook.
3332 Run view-mode-hook only when it's non-nil (Bug#13315).
3333 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3334 argument t.
3335
3336 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3337
3338 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3339 (No device connected, invalid device name). (Bug #13299)
3340
3341 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3342
3343 * window.el (window-resizable--p): Rename to window-resizable-p.
3344 (window-resize-no-error): New function.
3345
3346 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3347 broken in fix from 2012-12-28.
3348
3349 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * subr.el (special-form-p): Don't signal errors on undef aliases.
3352
3353 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3354
3355 * calc/calc-forms.el (math-parse-date): Try using
3356 `math-parse-iso-date' when it looks like it might be needed.
3357 Allow times of 24:00.
3358 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3359 of 24:00.
3360
3361 2012-12-30 Glenn Morris <rgm@gnu.org>
3362
3363 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3364 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3365 (rmail-summary-displayed, rmail-summary): Declare.
3366 (mairix-rmail-display): Just require rmail.
3367
3368 2012-12-30 Chong Yidong <cyd@gnu.org>
3369
3370 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3371 check for the tarball contents.
3372
3373 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3374
3375 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3376 tarfile content listings (Bug#13136).
3377
3378 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3379
3380 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3381 Insert the undecoded text of the message being forwarded. (Bug#9521)
3382
3383 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3384
3385 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3386 integers, if they are real numbers. (Bug#13282)
3387
3388 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3389 Return `t' on success.
3390
3391 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3392 Add handler for `set-file-selinux-context'.
3393
3394 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3395
3396 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3397 (tramp-sh-handle-set-file-acl): Return `t' on success.
3398
3399 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3400
3401 * files.el (backup-buffer-copy, basic-save-buffer-2):
3402 If set-file-extended-attributes fails, fall back on set-file-modes
3403 instead of signaling an error. (Bug#13298)
3404 (basic-save-buffer): Likewise.
3405
3406 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3407
3408 * progmodes/python.el: Support other commands triggering
3409 python-indent-line so indentation cycling continues to work.
3410 (python-indent-trigger-commands): New defcustom.
3411 (python-indent-line): Use it.
3412
3413 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3414
3415 * progmodes/python.el (python-shell-send-region): Add blank lines
3416 for non sent code so backtraces remain correct.
3417
3418 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3419
3420 * progmodes/python.el: Remove cl dependency.
3421 (python-syntax-count-quotes): Replace incf call.
3422 (python-fill-string): Replace setf call.
3423
3424 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3425
3426 * info.el (info-other-window): New arg, for consistency with info.
3427
3428 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3429
3430 * mail/rmail.el (rmail-maybe-display-summary):
3431 Rewrite (Bug#13066).
3432
3433 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3434
3435 * epg.el (epg--start): Modify process-environment locally.
3436
3437 2012-12-28 Daiki Ueno <ueno@gnu.org>
3438
3439 * epg.el: Support pinentry-curses.
3440 Suggested by Werner Koch in
3441 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3442 (epg-agent-file, epg-agent-mtime): New variable.
3443 (epg--start): Record the modified time of gpg-agent socket file,
3444 to restore Emacs frame after pinentry-curses termination.
3445 (epg-wait-for-completion): Restore Emacs frame here.
3446
3447 2012-12-27 Juri Linkov <juri@jurta.org>
3448
3449 * info.el (Info-file-completions): New variable.
3450 (Info-read-node-name-1): Complete node names in the Info file
3451 when a file name is given. Call `Info-build-node-completions'
3452 with a file name.
3453 (Info-build-node-completions): Add new arg `file'. When it is
3454 non-nil, visit it in a temporary buffer and cache its completions in
3455 `Info-current-file-completions'. Move most of the function body to
3456 `Info-build-node-completions-1'.
3457 (Info-build-node-completions-1): New function with the body from
3458 `Info-build-node-completions'. (Bug#12456)
3459
3460 2012-12-27 Juri Linkov <juri@jurta.org>
3461
3462 * frame.el (frame-maximization-style): Remove user option.
3463 (cycle-frame-maximized): Remove function.
3464 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3465 (toggle-frame-fullscreen): New command bound to <f11> instead of
3466 `toggle-frame-maximized'.
3467 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3468
3469 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3470
3471 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3472
3473 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3474 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3475 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3476 for `file-accessible-directory-p'. (Bug#13275)
3477
3478 2012-12-27 Sam Steingold <sds@gnu.org>
3479
3480 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3481 continuations, see <http://stackoverflow.com/questions/3582436>.
3482
3483 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3484
3485 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3486 "module" and "def" to have indentation before them.
3487 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3488
3489 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3490
3491 2012-12-27 Alan Mackenzie <acm@muc.de>
3492
3493 Speed up fontification where there's large brace blocks.
3494 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3495 to a call of c-beginning-of-decl-1.
3496
3497 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3498
3499 * comint.el (comint-adjust-window-point): New function.
3500 (comint-postoutput-scroll-to-bottom):
3501 Call comint-adjust-window-point (Bug#13248).
3502
3503 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3506 Rakefile regexp.
3507 (auto-mode-alist): Associate .gemspec files with ruby-mode
3508 (https://bugs.ruby-lang.org/issues/5453).
3509
3510 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3511
3512 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3513 Suppress coloring, if possible (required for BusyBox based systems like
3514 CyanogenMod).
3515 (tramp-adb-handle-file-attributes)
3516 (tramp-adb-handle-insert-directory)
3517 (tramp-adb-handle-file-name-all-completions): Use it.
3518 (tramp-adb-get-toolbox): New defun. Check for remote shell
3519 implementation (BusyBox or Toolbox).
3520
3521 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3522
3523 * startup.el (initial-buffer-choice): Allow function as value
3524 (Bug#13251).
3525 (command-line-1): Handle case where initial-buffer-choice
3526 specifies a function.
3527 * server.el (server-execute): Handle case where
3528 initial-buffer-choice specifies a function.
3529
3530 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3531
3532 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3533 its own function.
3534 (smtpmail-try-auth-methods): Forget the user name/password if the
3535 login is unsuccessful (bug#12424).
3536
3537 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3538
3539 * notifications.el (notifications-notify): Protect body with
3540 `with-demoted-errors'.
3541
3542 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3543 Check properties of remote device. Restart connection, if there is a
3544 change.
3545
3546 2012-12-21 Chong Yidong <cyd@gnu.org>
3547
3548 * sort.el (sort-subr): Doc fix (Bug#13056).
3549
3550 2012-12-21 Bastien Guerry <bzg@gnu.org>
3551
3552 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3553
3554 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3555
3556 * simple.el (process-file): Overwrite stderr file, if exists.
3557
3558 2012-12-21 Daiki Ueno <ueno@gnu.org>
3559
3560 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3561 (epg-error): Set `error-message' property.
3562
3563 2012-12-21 Chong Yidong <cyd@gnu.org>
3564
3565 * international/mule-cmds.el (read-char-by-name): Signal an error
3566 if the user does not supply a valid character (Bug#13177).
3567
3568 * simple.el (transpose-subr-1): Preserve marker positions by
3569 changing the insertion sequence (Bug#13122).
3570
3571 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3572
3573 * simple.el (kill-region): Deactivate mark even for empty regions
3574 (Bug#13169).
3575
3576 2012-12-21 Chong Yidong <cyd@gnu.org>
3577
3578 * help-fns.el (describe-variable): Make sure we get the right
3579 buffer name (Bug#13105). Suggested by Kelly Dean.
3580
3581 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3582
3583 * comint.el (comint-redirect-previous-input-string): New variable.
3584 (comint-redirect-setup, comint-redirect-cleanup)
3585 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3586 (comint-redirect-preoutput-filter): Fix verbose message.
3587
3588 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3589
3590 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3591 is too long for Tramp. See discussion in
3592 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3593
3594 * progmodes/compile.el (compilation-start): Remove line escape
3595 template.
3596
3597 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3598
3599 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3600 Adjust comment.
3601
3602 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3603
3604 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3605 following non-comment text (bug#13207).
3606 (lm-header-multiline): Continuation lines need to be indented more than
3607 the first line.
3608 (lm-homepage): New function.
3609 (lm-with-file): Don't be confused if narrowing is in effect.
3610
3611 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3614 very beginning of a hunk (e.g. killing the first line).
3615
3616 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3619 and text properties from returned ACL string.
3620 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3621 for "setfacl" command.
3622
3623 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3624
3625 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3626 `tramp-cleanup-this-connection', when the process has died.
3627 (Bug#13151)
3628
3629 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3632
3633 2012-12-17 Kevin Ryde <user42@zip.com.au>
3634
3635 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3636
3637 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3638
3639 Add support for preserving ACL entries of files.
3640
3641 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3642 `set-file-acl' handlers.
3643
3644 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3645 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3646
3647 * net/tramp-compat.el (tramp-compat-copy-file):
3648 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3649
3650 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3651 Add `file-acl' and `set-file-acl' handlers.
3652 (tramp-gvfs-handle-copy-file):
3653 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3654 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3655 New defuns.
3656
3657 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3658 Add `file-acl' and `set-file-acl' handlers.
3659 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3660 (tramp-sh-handle-set-file-acl): New defuns.
3661 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3662 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3663
3664 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3665 Add `file-acl' and `set-file-acl' handlers.
3666 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3667
3668 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3669
3670 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3671 use pop-to-buffer with NORECORD argument t. As buffer name, use
3672 *Metahelp* with a leading space (Bug#13190).
3673
3674 2012-12-16 Romain Francoise <romain@orebokech.com>
3675
3676 * files.el (file-extended-attributes)
3677 (set-file-extended-attributes): New functions.
3678 (backup-buffer): Use them to handle both SELinux context and ACL
3679 entries.
3680 (backup-buffer-copy): Work with an alist of extended attributes,
3681 rather than an SELinux context.
3682 (basic-save-buffer-2): Ditto.
3683
3684 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3685
3686 * battery.el (battery-bsd-apm): New function.
3687
3688 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3689
3690 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3691 standard date formats.
3692
3693 2012-12-15 Juri Linkov <juri@jurta.org>
3694
3695 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3696 `isearch-insert-char-by-name'.
3697 (with-isearch-suspended): New defmacro with body mostly from
3698 `isearch-edit-string' except the part that sets
3699 `isearch-new-string' and `isearch-new-message'.
3700 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3701 body that sets `isearch-new-string' and `isearch-new-message'.
3702 (isearch-insert-char-by-name): New command.
3703 * international/mule-cmds.el (read-char-by-name): Let-bind
3704 `enable-recursive-minibuffers' to t.
3705 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3706
3707 2012-12-15 Juri Linkov <juri@jurta.org>
3708
3709 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3710 (Bug#13175)
3711
3712 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3713
3714 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3715 the prompt. (Bug#13045)
3716
3717 2012-12-14 Glenn Morris <rgm@gnu.org>
3718
3719 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3720 Try to include filename in non-bytecomp warning. (Bug#13132)
3721
3722 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3723
3724 Fix permissions bugs with setgid directories etc. (Bug#13125)
3725 * files.el (backup-buffer): Don't rely on 9th output of
3726 file-attributes, as it's now a placeholder. Instead, use the new
3727 optional arg of file-ownership-preserved-p.
3728 (file-ownership-preserved-p): New optional arg GROUP.
3729 Fix mishandling of setuid directories that would cause this
3730 function to return t when it should have returned nil.
3731 Document what happens if the file does not exist, and when
3732 it's not known whether the ownership will be preserved.
3733 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3734 Likewise.
3735 (tramp-get-local-gid): Use group-gid for integer, as that's
3736 faster and more reliable.
3737
3738 2012-12-14 Julien Danjou <julien@danjou.info>
3739
3740 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3741 Update keywords list, data type and PL/pgSQL.
3742
3743 2012-12-14 Dave Abrahams <dave@boostpro.com>
3744
3745 * vc/ediff-util.el (ediff-buffer-type): New function.
3746 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3747 rather than taking it as as argument.
3748 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3749
3750 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3751
3752 * json.el: Add pretty-print option (bug#12634).
3753 (json-encoding-separator, json-encoding-default-indentation)
3754 (json--encoding-current-indentation, json-encoding-pretty-print)
3755 (json-encoding-lisp-style-closings): New vars.
3756 (json--with-indentation): New macro.
3757 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3758 (json-encode-array): Use it to obey json-encoding-pretty-print.
3759 (json-pretty-print-buffer, json-pretty-print): New commands.
3760
3761 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3762
3763 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3764 Extract `ruby-syntax-propertize-expansions'.
3765 (ruby-syntax-propertize-expansions): Only change syntax on
3766 certain string delimiters, to punctuation. This way the common
3767 functions like forward-word and thing-at-point still work.
3768 (ruby-match-expression-expansion): Improve readability.
3769 (ruby-block-contains-point): New function.
3770 (ruby-add-log-current-method): Handle several edge cases.
3771
3772 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3773
3774 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3775 unload-feature finishes even when aborting an ongoing edebug session.
3776 Also, do not worry about edebug-mode, unload-feature takes care of it.
3777
3778 2012-12-13 Andreas Schwab <schwab@suse.de>
3779
3780 * net/tls.el (tls-program): Update customize type.
3781
3782 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3783
3784 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3785 (edebug-setup-hook, cl-read-load-hooks): Use it.
3786 (edebug-unload-function): New function. (Bug#13163)
3787
3788 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3789
3790 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3791 Otherwise, there could be errors in autoloading. (Bug#13151)
3792
3793 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3794
3795 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3796 sequences.
3797
3798 2012-12-13 Alan Mackenzie <acm@muc.de>
3799
3800 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3801 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3802 around `forward-comment' not recognizing ^M as whitespace.
3803
3804 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3805
3806 * progmodes/python.el (python-skeleton-class)
3807 (python-skeleton-def): Do not add space after defun name.
3808
3809 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3812 (cl--symbol-function): Remove (now that funbound is like nil).
3813
3814 2012-12-12 Glenn Morris <rgm@gnu.org>
3815
3816 * button.el (button--area-button-p): Fix typo.
3817
3818 2012-12-12 Sam Steingold <sds@gnu.org>
3819
3820 * frame.el (frame-maximization-style): New user option.
3821 (toggle-frame-maximized): Toggle frame maximization according to
3822 `frame-maximization-style', bound to <f11>.
3823 (cycle-frame-maximized): Cycle between all maximization styles and
3824 non-maximized frame, bound to shift-<f11>.
3825
3826 2012-12-12 David Cadé <codename68@gmail.com>
3827
3828 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3829
3830 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3831
3832 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3833 (eieio-override-prin1): Don't quote kewords and booleans.
3834 (object-write) <eieio-default-superclass>: Don't put closing parens
3835 on new line, avoid needless empty lines, align values that are objects
3836 with the slot keyword (instead of beginning on the same line).
3837 (eieio-list-prin1): Align value with slot keyword; increase
3838 eieio-print-depth before printing members of the list.
3839
3840 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3843 a display text-property.
3844 (report-emacs-bug-hook): Don't bother deleting it any more.
3845
3846 * hilit-chg.el (highlight-save-buffer-state): Delete.
3847 Use with-silent-modifications instead.
3848 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3849
3850 * button.el: Handle buttons in display text-properties.
3851 (button--area-button-p, button--area-button-string):
3852 Use (STRING . STRING-POS) representation instead of just STRING.
3853
3854 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3855
3856 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3857 subdirectory be skipped.
3858
3859 2012-12-11 Glenn Morris <rgm@gnu.org>
3860
3861 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3862
3863 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3864 Treat preprocessor lines embedded in continuations like comments.
3865 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3866
3867 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3868
3869 * calc/calc.el (calc-standard-date-formats): Add more date
3870 formats.
3871 * calc/calc-forms.el (math-parse-iso-date): New function.
3872 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3873 (math-parse-iso-date-validate): Add extra error checking.
3874 (calc-date-notation): Add ability to access new date formats.
3875
3876 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3879 font-lock as well as when there's no text-property.
3880
3881 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3882
3883 * hi-lock.el: Refine the choice of default face.
3884 (hi-lock-keyword->face): New function. Use it wherever we used
3885 cadadadr instead.
3886 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3887 (hi-lock--last-face): Remove var.
3888 (hi-lock--unused-faces): New var to replace it.
3889 (hi-lock-read-face-name): Use/maintain it.
3890 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3891 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3892 if it has another face.
3893
3894 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3895
3896 * subr.el (w32notify-handle-event): New function.
3897 (inotify-handle-event): Doc fix.
3898
3899 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3900
3901 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3902
3903 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3904
3905 * simple.el (just-one-space): Doc fix.
3906
3907 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3908
3909 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3910
3911 2012-12-10 Le Wang <l26wang@gmail.com>
3912
3913 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3914 narrowed buffer (bug#12361).
3915
3916 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * vc/vc-hooks.el (vc-state): Doc fix.
3919
3920 2012-12-10 Glenn Morris <rgm@gnu.org>
3921
3922 * mail/rmail.el (rmail-maybe-display-summary):
3923 Preserve buffer, in case select-window changes it. (Bug#13066)
3924
3925 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3928 cl-load-hook where they belong.
3929
3930 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3933
3934 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3935
3936 Parallelize byte compilation on MS-Windows.
3937 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3938 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3939 (WINS_BASIC): Define as concatenation of the above.
3940 (compile): Subdivide into 4 separate and independent jobs that can
3941 be run in parallel.
3942 (compile0-CMD, compile0-SH): New targets for compiling
3943 COMPILE_FIRST files, which are prerequisites for the rest of the
3944 byte-compilation.
3945 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3946 New targets for parallel compilation with cmd.exe.
3947 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3948 compiling under a Unixy shell.
3949
3950 2012-12-09 Chong Yidong <cyd@gnu.org>
3951
3952 * simple.el (set-mark-default-inactive): Delete this
3953 accidentally-introduced option.
3954 (set-mark-command, exchange-point-and-mark): Remove calls.
3955
3956 2012-12-09 Glenn Morris <rgm@gnu.org>
3957
3958 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3959 Respect a defcustom's :set function, if appropriate. (Bug#109)
3960 (eval-defun): Doc fix.
3961
3962 2012-12-08 Juri Linkov <juri@jurta.org>
3963
3964 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3965 (Info-fontify-node, Info-bookmark-make-record): Remove the
3966 file extension from Info-current-file (Bug#13016).
3967
3968 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3971 point, still provide some default.
3972 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3973 names, since we don't use it right now. Actually return the list.
3974 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3975
3976 2012-12-07 Chong Yidong <cyd@gnu.org>
3977
3978 * novice.el (disabled-command-function): Remove a spurious help
3979 xref (Bug#13043). Suggested by Kelly Dean.
3980
3981 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3982 syntax is specified (Bug#13025).
3983
3984 * info.el (Info-set-mode-line): Remove the file extension from
3985 Info-current-file if there is one (Bug#13016).
3986
3987 2012-12-07 Glenn Morris <rgm@gnu.org>
3988
3989 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3990 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3991 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3992 and rmail-mime-decoded. (Bug#9841)
3993
3994 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3995 (batch-unrmail, unrmail): Doc fixes.
3996 (unrmail): Respect unrmail-mbox-format.
3997 * mail/rmail.el (rmail-mbox-format): New option.
3998 (rmail-show-message-1): Respect rmail-mbox-format.
3999
4000 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4003
4004 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4007 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4008 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4009 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4010 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4011 (cl-progv): Don't rely on dynamic scoping to find the body.
4012 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4013 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4014 (cl-declaim): Use backquotes.
4015 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4016 Use "cl--" prefix for the object's tag.
4017
4018 * ses.el: Use advice-add/remove.
4019 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4020 (copy-region-as-kill, yank): Use advice-add.
4021 (ses-unload-function): Use advice-remove.
4022
4023 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4024
4025 * button.el: Make them work in header-lines (bug#12817).
4026 (button-map): Add bindings for header-line and mode-line use.
4027 (button-get, button-put, button-label): `button' may now be a string.
4028 (button-activate): Don't make it a defsubst.
4029 (button--area-button-p, button--area-button-string): New functions.
4030 (make-text-button): Fix the return value when `beg' was a string.
4031 (push-button): Handle the mode-line case.
4032
4033 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4036 (sql-signum): Remove. Use `cl-signum' instead.
4037 (sql-read-passwd): Remove; use read-passwd instread.
4038 (sql-get-login-ext): Use read-string.
4039 (sql-get-login): Use dolist and pcase.
4040 (sql--completion-table): Rename from sql-try-completion.
4041 Use complete-with-action.
4042 (sql-mode): Don't change abbrev-all-caps globally.
4043 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4044 (sql-postgres-completion-object): Initialize vars in their `let'.
4045 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4046 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4047 (sql-comint-interbase): Use a single append, without setq.
4048 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4049
4050 * hi-lock.el: Rework the default face and the serialize regexp code.
4051 (hi-lock--auto-select-face-defaults): Remove.
4052 (hi-lock-string-serialize-serial): Remove.
4053 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4054 make weak.
4055 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4056 equal string.
4057 (hi-lock-set-pattern): Adjust accordingly.
4058 (hi-lock--regexps-at-point): Simplify accordingly.
4059 (hi-lock--auto-select-face-defaults): Remove.
4060 (hi-lock--last-face): New var to replace it.
4061 (hi-lock-read-face-name): Rewrite (bug#11095).
4062 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4063
4064 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4065
4066 * net/tramp.el (tramp-replace-environment-variables):
4067 Hide compiler warning.
4068 (tramp-file-name-for-operation): Remove `executable-find',
4069 `start-process', `call-process' and `call-process-region'.
4070
4071 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4072
4073 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4074 compatibility.
4075
4076 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4077
4078 2012-12-06 Chong Yidong <cyd@gnu.org>
4079
4080 * ffap.el (ffap-replace-file-component): Fix typo.
4081
4082 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4085 fix open-paren-like token test (bug#12785).
4086
4087 2012-12-06 Glenn Morris <rgm@gnu.org>
4088
4089 * mail/rmailsum.el (rmail-new-summary): Tweak for
4090 rmail-maybe-display-summary changing buffer. (Bug#13066)
4091
4092 2012-12-06 Juri Linkov <juri@jurta.org>
4093
4094 * info.el (Info-fontify-node): Don't hide the last newline.
4095 (Bug#12272)
4096
4097 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4098
4099 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4100 so as to enable message-read-from-minibuffer to expand mail aliases.
4101
4102 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4105 the `intangible' property.
4106 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4107
4108 2012-12-05 Deniz Dogan <deniz@dogan.se>
4109
4110 * net/rcirc.el (rcirc-urls): Update documentation.
4111 (rcirc-condition-filter): New function.
4112 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4113 and exclude consecutive duplicate URLs (Bug#6082).
4114
4115 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4116
4117 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4118 Check return code of copy command.
4119
4120 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4121 Use group `tramp'. Add version.
4122
4123 2012-12-05 Chong Yidong <cyd@gnu.org>
4124
4125 * ffap.el (ffap-url-regexp): Don't require matching at front of
4126 string (Bug#4952).
4127 (ffap-url-p): If only a substring matches, return that.
4128 (ffap-url-at-point): Use the return value of ffap-url-p.
4129 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4130 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4131 (ffap-guess-file-name-at-point): Likewise.
4132 (ffap-replace-file-component): Fix typo.
4133
4134 * info.el (info-display-manual): Add existing Info buffers, whose
4135 files may not be in Info-directory-list, to the completion.
4136 (info--manual-names): New helper function.
4137
4138 2012-12-05 Glenn Morris <rgm@gnu.org>
4139
4140 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4141 New functions, for detecting and resolving conflicts. (Bug#10709)
4142
4143 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4144
4145 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4146 (hi-lock-auto-select-face-defaults): New buffer local variable.
4147 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4148 (hi-lock-unface-buffer): Prompt user with useful defaults.
4149 With prefix arg, unhighlight all hi-lock patterns in buffer.
4150
4151 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4154
4155 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4156
4157 * Makefile.in (TRAMP_SRC):
4158 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4159
4160 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4161
4162 * net/tramp-adb.el: New package.
4163
4164 2012-12-04 Chong Yidong <cyd@gnu.org>
4165
4166 * terminal.el: Move to obsolete/.
4167
4168 * longlines.el: Move to obsolete/.
4169
4170 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4171 Remove code referring to longlines mode.
4172
4173 2012-12-03 Juri Linkov <juri@jurta.org>
4174
4175 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4176
4177 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4178
4179 * textmodes/ispell.el (ispell-init-process)
4180 (ispell-start-process, ispell-internal-change-dictionary):
4181 Make sure personal dictionary name is expanded after initial
4182 `default-directory' value. Use expanded strings for
4183 keep/restart checks and for value (Bug#13019).
4184
4185 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4186
4187 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4188
4189 2012-12-03 Leo Liu <sdl.web@gmail.com>
4190
4191 * files.el (dir-locals-read-from-file): Check file non-empty
4192 before reading. (Bug#13038)
4193
4194 2012-12-03 Glenn Morris <rgm@gnu.org>
4195
4196 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4197 Remove any version extension before checking filename. (Bug#13006)
4198 (jka-compr-compression-info-list): Belated :version bump.
4199
4200 2012-12-03 Chong Yidong <cyd@gnu.org>
4201
4202 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4203
4204 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4205 (buffer-menu): Doc fix (Bug#12294).
4206
4207 2012-12-03 Roland Winkler <winkler@gnu.org>
4208
4209 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4210 of diary-show-all-entries in the diary buffer (Bug#12994).
4211
4212 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4213
4214 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4215 "<STDIN>". This is binary safe.
4216
4217 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4218
4219 * calc/calc-forms.el (math-absolute-from-iso-dt)
4220 (math-date-to-iso-dt, math-parse-iso-date-validate)
4221 (math-iso-dt-to-date): New functions.
4222 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4223 (math-fd-isoweekday): New variables.
4224 (calc-date-notation, math-parse-standard-date, math-format-date)
4225 (math-format-date-part): Add support for more formatting codes.
4226
4227 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4228
4229 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4230 current buffer's file name when called interactively (Bug#12488).
4231
4232 2012-12-02 Juri Linkov <juri@jurta.org>
4233
4234 * info.el (info-display-manual): Don't clobber an existing Info
4235 buffer (Bug#10770). Add completion (Bug#10771).
4236
4237 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4238
4239 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4240 before using it for comparison (Bug#5297).
4241
4242 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4243
4244 * textmodes/css-mode.el (css-current-defun-name): New function.
4245 (css-mode): Use it.
4246
4247 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4248 (html-mode): Use it.
4249
4250 2012-12-01 Chong Yidong <cyd@gnu.org>
4251
4252 Modularize add-log-current-defun (Bug#2224).
4253 Suggested by Jari Aalto.
4254
4255 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4256 (add-log-current-defun): Move mode-specific code to other files.
4257 (add-log-lisp-like-modes, add-log-c-like-modes)
4258 (add-log-tex-like-modes): Variables deleted.
4259
4260 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4261 (lisp-mode-variables): Use it.
4262
4263 * progmodes/cc-mode.el (c-common-init):
4264 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4265 add-log-current-defun-function.
4266
4267 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4268 (m4-mode): Use it.
4269
4270 * progmodes/perl-mode.el (perl-current-defun-name): New.
4271 (perl-mode): Use it.
4272
4273 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4274 Use lisp-current-defun-name.
4275
4276 * textmodes/tex-mode.el (tex-current-defun-name): New.
4277 (tex-common-initialization): Use it.
4278
4279 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4280 (texinfo-mode): Use it.
4281
4282 2012-12-01 Chong Yidong <cyd@gnu.org>
4283
4284 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4285 * progmodes/autoconf.el (autoconf-mode):
4286 * progmodes/js.el (js-mode):
4287 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4288 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4289 * progmodes/perl-mode.el (perl-mode):
4290 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4291 * textmodes/css-mode.el (css-mode):
4292 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4293 (sgml-tags-invisible, sgml-guess-indent):
4294 * textmodes/tex-mode.el (tex-common-initialization)
4295 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4296 (doctex-mode, plain-tex-mode, latex-mode):
4297 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4298
4299 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4300
4301 * vc/vc-hg.el (vc-hg-next-revision):
4302 Ensure use of default "tip" output format. (Bug#6968)
4303
4304 2012-12-01 Kim F. Storm <storm@cua.dk>
4305
4306 * startup.el (fancy-startup-tail): Add a clickable link
4307 (Bug#2176).
4308
4309 2012-12-01 Chong Yidong <cyd@gnu.org>
4310
4311 * startup.el (fancy-startup-tail): Improve the message about
4312 auto-save files (Bug#2176).
4313
4314 * files.el (recover-session): Improve the descriptive message, and
4315 use substitute-command-keys.
4316
4317 2012-12-01 Glenn Morris <rgm@gnu.org>
4318
4319 * ido.el (ido-file-internal):
4320 Handle other-window, other-frame for dired. (Bug#13036)
4321
4322 2012-11-30 Glenn Morris <rgm@gnu.org>
4323
4324 * icomplete.el (icomplete-separator): Fix :version.
4325
4326 2012-11-30 Chong Yidong <cyd@gnu.org>
4327
4328 * shell.el (shell): For C-u M-x shell, use an inactive shell
4329 buffer as the default (Bug#1975).
4330 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4331 (shell-mode): Use them to reapply ansi colorization if Shell mode
4332 is re-enabled.
4333
4334 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4335
4336 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4337
4338 2012-11-30 Samuel Bronson <naesten@gmail.com>
4339
4340 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4341 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4342
4343 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4344
4345 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4346 by move-to-column (Bug#3234).
4347
4348 2012-11-30 Chong Yidong <cyd@gnu.org>
4349
4350 * longlines.el (longlines-wrap-line, longlines-encode-region):
4351 Preserve text properties (Bug#1425).
4352
4353 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4354
4355 * vc/vc.el (vc-register): Allow registering a file which is
4356 already registered with a different backend (Bug#10589).
4357
4358 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4359 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * icomplete.el: Change separator; add ido-style commands.
4362 (icomplete-show-key-bindings): Remove custom var.
4363 (icomplete-get-keys): Remove function.
4364 (icomplete-forward-completions, icomplete-backward-completions):
4365 New commands.
4366 (icomplete-minibuffer-map): New var.
4367 (icomplete-minibuffer-setup): Use it.
4368 (icomplete-exhibit): Don't delay if the list of completions is known.
4369 (icomplete-separator): New custom.
4370 (icomplete-completions): Use it.
4371 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4372 (minibuffer-force-complete-and-exit): New command.
4373 (minibuffer--complete-and-exit): New function extracted from
4374 minibuffer-complete-and-exit.
4375 (minibuffer-complete-and-exit): Use it.
4376
4377 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4378 error message when the file doesn't exist (bug#12974).
4379
4380 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4381
4382 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4383
4384 2012-11-29 Glenn Morris <rgm@gnu.org>
4385
4386 * files.el (hack-dir-local-variables): Warn if try to set
4387 coding via dir-locals, since it doesn't work. (Bug#7169)
4388
4389 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4390 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4391 Set buffer-local value of desktop-save-buffer.
4392 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4393 New functions.
4394 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4395 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4396
4397 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4398 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4399 Doc fix.
4400 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4401 Doc fixes.
4402
4403 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4404
4405 * calc/calc-forms.el (calc-date-notation): Fix regexp
4406 used to find time codes. Fix symbol for seconds.
4407
4408 2012-11-27 Glenn Morris <rgm@gnu.org>
4409
4410 * emacs-lisp/derived.el (derived-mode-make-docstring):
4411 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4412
4413 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4416 lexically scoped variables (bug#13005).
4417
4418 2012-11-27 Glenn Morris <rgm@gnu.org>
4419
4420 * vc/vc-hooks.el (vc-mistrust-permissions):
4421 Default to t, to avoid data-loss. (Bug#11490)
4422
4423 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4424
4425 * progmodes/python.el (python-indent-guess-indent-offset):
4426 If indentation is guessed make python-indent-offset buffer-local.
4427
4428 Fix Imenu regression.
4429 * progmodes/python.el (python-nav-beginning-of-defun):
4430 Fix forward movement when statement(s) separates point from defun.
4431 (python-imenu-prev-index-position): New function.
4432
4433 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4434
4435 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4436
4437 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4438 Don't set buffer-file-type. Return nil. (Bug#12989)
4439
4440 2012-11-27 Glenn Morris <rgm@gnu.org>
4441
4442 * hippie-exp.el (hippie-expand-try-functions-list):
4443 Re-autoload it. (Bug#12982)
4444
4445 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4446
4447 * descr-text.el (describe-char-padded-string):
4448 Call internal-char-font only on GUI frames. (Bug#11964)
4449
4450 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4451
4452 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4453 and obsoletion message.
4454
4455 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4458 the constructs to keep outside of the `cl-block' (bug#12977).
4459
4460 2012-11-27 Chong Yidong <cyd@gnu.org>
4461
4462 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4463 keep reading until we get the up-event anyway, in order to process
4464 the up-event for mouse-1-click-follows-link (Bug#12971).
4465
4466 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4469 base function is not yet defined (bug#12965).
4470 (ad-activate-advised-definition): Use ad-compile-function.
4471 (ad-activate): Use cond.
4472
4473 2012-11-25 Leo Liu <sdl.web@gmail.com>
4474
4475 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4476 (Bug#12979)
4477
4478 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4479
4480 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4481 reftex-section-info-function in order to be compatible with
4482 Texinfo integration.
4483
4484 * textmodes/reftex.el (reftex-section-pre-regexp)
4485 (reftex-section-post-regexp, reftex-section-info-function):
4486 New variable.
4487 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4488 reftex-section-post-regexp, and reftex-section-info-function in order
4489 to be compatible with Texinfo integration.
4490
4491 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4492 use reftex-section-pre-regexp variable in order to be compatible with
4493 Texinfo integration.
4494
4495 2012-11-25 Chong Yidong <cyd@gnu.org>
4496
4497 * faces.el: Make face-spec-set more analogous to setq.
4498 (face-spec-set): Change the third arg to specify whether this
4499 function is being called via defface, customize, or a third party.
4500 Set the appropriate symbol properties. Clear the override spec if
4501 setting via Custom. Initialize face if necessary. (Bug#4988)
4502 (face-spec-recalc): Allow theme faces to completely replace the
4503 defface spec, in the same way as custom faces (Bug#8454).
4504
4505 * cus-face.el (custom-declare-face): Move face initialization to
4506 face-spec-set.
4507 (custom-theme-set-faces): Don't initialize the face name here, as
4508 that is now done in face-spec-set.
4509
4510 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4511 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4512 Simplify by using the new arg to face-spec-set.
4513
4514 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4515 reset face-override-spec too, and use custom-declare-face.
4516
4517 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4518
4519 * term/ns-win.el (ns-initialize-window-system): Move creation of
4520 fontsets here (Bug#11964).
4521
4522 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4523
4524 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4525 cell renaming.
4526
4527 2012-11-24 Chong Yidong <cyd@gnu.org>
4528
4529 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4530 obsolete.
4531
4532 * custom.el (custom-theme-set-variables): Use a topological sort
4533 for ordering by custom dependencies (Bug#12952).
4534 (custom--sort-vars, custom--sort-vars-1): New functions.
4535
4536 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4539 lexical-binding (bug#12938).
4540
4541 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4542
4543 * image-mode.el (image-transform-check-size): Use assertions only
4544 for images of type imagemagick.
4545
4546 Otherwise no error, image-transform-fit-to-{width,height} is
4547 silently ignored, as before. Doc fix.
4548
4549 2012-11-24 Chong Yidong <cyd@gnu.org>
4550
4551 * faces.el (color-defined-p): Doc fix (Bug#12853).
4552
4553 2012-11-24 Juri Linkov <juri@jurta.org>
4554
4555 * dired.el (dired-mark): Add optional arg `interactive'.
4556 Check for `use-region-p' if `interactive' is non-nil.
4557 (dired-unmark, dired-flag-file-deletion): Add optional arg
4558 `interactive'. Call `dired-mark' with the arg `interactive'.
4559 (Bug#10624)
4560
4561 * wdired.el: Revert 2012-10-17 change partly and replace it with
4562 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4563 (wdired-finish-edit): Add marks for new file names to
4564 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4565 after `revert-buffer'.
4566 (wdired-do-renames): Remove calls to `dired-remove-file',
4567 `dired-add-file', `dired-add-entry'. (Bug#11795)
4568
4569 2012-11-24 Alan Mackenzie <acm@muc.de>
4570
4571 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4572
4573 Fix bugs in the state cache. Enhance a debugging mechanism.
4574 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4575 "brace at column zero" strategy for C++.
4576 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4577 (c-parse-state-point): New variable.
4578 (c-record-parse-state-state): Record old parse state with
4579 `copy-tree'. Record previous value of point.
4580 (c-debug-parse-state-double-cons): New debugging function.
4581 (c-debug-parse-state): Call the above new function.
4582 (c-toggle-parse-state-debug): Output a confirmatory message.
4583
4584 * progmodes/cc-mode.el (c-before-change, c-after-change):
4585 Call c-invalidate-state-cache from `c-before-change' instead of
4586 `c-after-change'.
4587
4588 2012-11-23 Chong Yidong <cyd@gnu.org>
4589
4590 * find-cmd.el (find-constituents): Add executable, ipath,
4591 readable, samefile, writable, daystart, regextype (Bug#12856).
4592
4593 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4596
4597 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4598
4599 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4600 definition. This fixes a bootstrap failure.
4601 (calc-gregorian-switch): In menu, put dates before regions.
4602 This is easier to follow, lines up better in the menu, and lets us
4603 coalesce regions that switch at the same time. Give country
4604 names, not "Vatican", as that's better for non-expert users.
4605 Use names that are stable between the date of switch and now, e.g.,
4606 Bohemia and Moravia (which existed then and now) and not
4607 Czechoslovakia (which didn't exist then and doesn't exist now).
4608 What is now the U.S. mostly did not switch at the same time as
4609 Britain, so omit the U.S. Correct spelling of "Britain".
4610 Catholic Switzerland was too much of a mess, so omit it.
4611
4612 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4613
4614 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4615 after the variable is changed.
4616
4617 2012-11-21 Daniel Colascione <dancol@dancol.org>
4618
4619 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4620 in SQL declarations for font-lock.
4621 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4622
4623 2012-11-21 Glenn Morris <rgm@gnu.org>
4624
4625 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4626 (face-italic-p): Add optional argument "inherit".
4627
4628 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4629 Remove -p suffix from names, for consistency with other set-face-*.
4630 (set-face-inverse-video): Fix interactive spec.
4631 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4632 * textmodes/table.el (table--update-cell-face):
4633 Use set-face-inverse-video rather than now obsolete alias.
4634
4635 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4636
4637 * simple.el (line-move): Don't call line-move-partial if
4638 scroll-conservatively is in effect. (Bug#12927)
4639
4640 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4643 Fallback on completion-at-point rather than
4644 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4645 (eshell-cmpl-initialize): Setup completion-at-point.
4646
4647 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4648
4649 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4650
4651 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4652
4653 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4654 are remote, check out-of-band property for both.
4655
4656 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4659 code rewrite.
4660
4661 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4662
4663 More minor time fixes.
4664 * calendar/time-date.el: Commentary fix.
4665 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4666 too much other code depends on (0 0) time stamps.
4667 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4668 Add a couple of FIXME comments.
4669
4670 Minor cleanup for times as lists of four integers.
4671 * files.el (dir-locals-directory-cache):
4672 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4673 Doc fixes.
4674 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4675 * ps-bdf.el (bdf-file-newer-than-time):
4676 Process four-integers time stamps, not two. Doc fixes.
4677
4678 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * uniquify.el (uniquify-managed): Use defvar-local.
4681 (rename-buffer, create-file-buffer): Advise with advice-add.
4682 (uniquify-unload-function): Unadvise accordingly.
4683
4684 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4685 (trace-buffer): Don't purecopy.
4686 (trace-entry-message, trace-exit-message): Add `context' arg.
4687 (trace--timer): New var.
4688 (trace-make-advice): Adjust for use in nadvice.
4689 Add `context' argument. Delay `display-buffer' via a timer.
4690 (trace-function-internal): Use advice-add.
4691 (trace--read-args): New function.
4692 (trace-function-foreground, trace-function-background): Use it.
4693 (trace-function): Rename to trace-function-foreground and redefine as
4694 an alias to that new name.
4695 (untrace-function, untrace-all): Adjust to the use of nadvice.
4696
4697 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4698
4699 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4700
4701 * subr.el (called-interactively-p-functions): New var.
4702 (internal--called-interactively-p--get-frame): New macro.
4703 (called-interactively-p, interactive-p): Rewrite in Lisp.
4704 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4705 (called-interactively-p-functions): Use it.
4706 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4707 (called-interactively-p-functions): Use it.
4708 * allout.el (allout-called-interactively-p): Don't assume
4709 called-interactively-p is a subr.
4710
4711 2012-11-20 Glenn Morris <rgm@gnu.org>
4712
4713 * profiler.el (profiler-report-mode-map): Add a menu.
4714 No need to bind `q' because we derive from special-mode.
4715 (profiler-report-find-entry): Handle calls from the menu-bar.
4716
4717 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * emacs-lisp/byte-run.el (defun-declarations-alist):
4720 Allow a compiler-macro to be a lambda expression.
4721
4722 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4723 eval-when-compile.
4724 (python-syntax-context): Add compiler-macro.
4725 (python-font-lock-keywords): Simplify with De Morgan.
4726
4727 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4728
4729 * files.el (load-file): Require match in minibuffer selection, as was
4730 the case in Emacs-20 before we changed the spec to allow .elc files
4731 (bug#12935).
4732
4733 * json.el: Don't require cl since we don't use it.
4734 * color.el: Don't require cl.
4735 (color-complement): `caddr' -> `nth 2'.
4736
4737 * calendar/time-date.el (time-to-seconds): De-obsolete.
4738
4739 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4740
4741 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4742 year numbers.
4743 (math-date-to-julian-dt): Adjust the initial approximation for the
4744 year to deal with the new definition of the DATE.
4745
4746 2012-11-19 Daniel Colascione <dancol@dancol.org>
4747
4748 * term/w32-win.el (cygwin-convert-path-from-windows):
4749 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4750
4751 2012-11-18 Chong Yidong <cyd@gnu.org>
4752
4753 * filecache.el (file-cache--read-list): New function.
4754 (file-cache-add-directory-list, file-cache-add-file-list)
4755 (file-cache-delete-file-list, file-cache-delete-directory-list):
4756 Use it to read a list of files or directories (Bug#12846).
4757 (file-cache-add-file, file-cache-add-directory)
4758 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4759 (file-cache-delete-directory): Print an message.
4760
4761 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4762
4763 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4764 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4765
4766 2012-11-18 Glenn Morris <rgm@gnu.org>
4767
4768 * image.el (insert-image, insert-sliced-image): Doc fix.
4769
4770 2012-11-18 Chong Yidong <cyd@gnu.org>
4771
4772 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4773 (Bug#12810).
4774
4775 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4776
4777 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4778 response when the target file is in a subdirectory (Bug#12757).
4779
4780 2012-11-18 Chong Yidong <cyd@gnu.org>
4781
4782 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4783
4784 2012-11-18 Glenn Morris <rgm@gnu.org>
4785
4786 * emacs-lisp/cl-lib.el (face-underline-p):
4787 Use set-face-underline rather than the alias set-face-underline-p.
4788
4789 * window.el (with-temp-buffer-window): Doc fix.
4790 * subr.el (with-output-to-temp-buffer):
4791 Add doc xref to with-temp-buffer-window.
4792
4793 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4796 * calc/calc.el (math-format-date-cache): Declare.
4797
4798 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4799
4800 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4801 It also uses January 1, 1 AD as its day number 1.
4802 * calc/calc-forms.el (math-julian-date-beginning)
4803 (math-julian-date-beginning-int): Implement this.
4804
4805 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * descr-text.el (quail-find-key):
4808 * dired.el (desktop-file-name):
4809 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4810 * generic-x.el (comint-mode, comint-exec):
4811 * image-dired.el (widget-forward):
4812 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4813 (speedbar-change-expand-button-char)
4814 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4815 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4816 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4817 (widget-field-action, widget-value-set):
4818 * speedbar.el (imenu--make-index-alist):
4819 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4820 (ring-length, ring-insert):
4821 * vcursor.el (compare-windows-skip-whitespace):
4822 * woman.el (dired-get-filename):
4823 Declare functions.
4824
4825 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4826
4827 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4828
4829 * calc/calc.el (calc-gregorian-switch): New variable.
4830
4831 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4832 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4833 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4834 (math-leap-year-p): Add option to distinguish between Julian
4835 and Gregorian calendars.
4836 (math-day-number): Use `math-day-in-year' to do the computations.
4837 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4838 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4839 to do the computations.
4840 (math-date-to-dt): Use `math-date-to-julian-dt' and
4841 `math-date-to-gregorian-dt' to do the computations.
4842 (calcFunc-weekday, math-format-date-part): Use the new version of
4843 the DATE to determine the weekday.
4844 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4845 when necessary.
4846
4847 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4848
4849 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4850 Cygwin; otherwise use 'file:'. (Bug#12914)
4851 (cygwin-convert-path-from-windows): Declare, to avoid
4852 byte-compiler warnings.
4853
4854 2012-11-17 Andreas Politz <politza@fh-trier.de>
4855
4856 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4857 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4858 prefix and negative numeric prefix args (Bug#12795).
4859
4860 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4861
4862 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4863 Don't signal an error with a score that is too low to add to the
4864 list of top scores. (Bug#12779)
4865
4866 2012-11-17 Chong Yidong <cyd@gnu.org>
4867
4868 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4869
4870 * filecache.el (file-cache-add-file): Handle relative file name in
4871 the argument (Bug#12694).
4872
4873 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4874
4875 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4876
4877 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4880
4881 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4882
4883 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4884
4885 * window.el (enlarge-window, shrink-window): Don't mention return
4886 value in doc-string (Bug#12896).
4887 (window--display-buffer): Don't resize frames - it won't work
4888 with all window managers and defeat pop-up-frame-alist.
4889 (display-buffer-alist): In doc-string explain that CONDITION can
4890 be a function and which arguments are passed to it (Bug#12854).
4891 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4892 expressions (Bug#12854).
4893 (display-buffer): Pass ACTION argument to
4894 display-buffer-assq-regexp.
4895
4896 2012-11-16 Glenn Morris <rgm@gnu.org>
4897
4898 * window.el (fit-frame-to-buffer-bottom-margin)
4899 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4900
4901 * faces.el (face-underline-p): Use face-attribute-specified-or.
4902
4903 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4904
4905 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4906
4907 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4910
4911 2012-11-16 Glenn Morris <rgm@gnu.org>
4912
4913 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4914 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4915
4916 * faces.el (face-underline-p): Doc fix. Handle :underline being
4917 things other than `t' (a string, a list).
4918 (face-inverse-video-p): Doc fix.
4919 (set-face-underline): Rename it back from set-face-underline-p.
4920 Doc fix. Allow interactive input of values other than t.
4921 (read-face-attribute): Apply formatting to :underline,
4922 since like :box and :stipple it can take list values.
4923
4924 * term.el (ansi-term): Don't let C-x escape-char binding
4925 clobber the more standard C-c binding. (Bug#12842)
4926
4927 * subr.el (set-temporary-overlay-map): Doc fix.
4928
4929 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (record-window-buffer)
4932 (display-buffer-record-window): When copying the markers to
4933 window-point preserve window-point-insertion-type. (Bug#12588)
4934
4935 2012-11-16 Glenn Morris <rgm@gnu.org>
4936
4937 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4938 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4939 Use new names for hooks rather than obsolete aliases.
4940
4941 2012-11-15 Daniel Colascione <dancol@dancol.org>
4942
4943 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4944 prefix instead of "file:" so that when FILE-NAME begins with "//",
4945 as it does when the target file is on a network share, url-handler
4946 isn't confused.
4947
4948 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4951 a preactivated advice from an old advice.el; they're not compatible!
4952
4953 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4954
4955 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4956 Fix string-spec case.
4957
4958 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4959
4960 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4963 (advice--buffer-local-function-sample): New var.
4964 (advice--set-buffer-local, advice--buffer-local): New functions.
4965 (add-function, remove-function): Use them.
4966
4967 2012-11-15 Drew Adams <drew.adams@oracle.com>
4968
4969 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4970
4971 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4974 potential binding of print-gensym to t, and prettify (back)quotes in
4975 case they appear in args's default values (bug#12884).
4976
4977 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4980 (advice-eval-interactive-spec): New function.
4981 (advice--make-interactive-form): Support around advice (bug#12844).
4982
4983 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4984
4985 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4986 more strict. Add docstring.
4987 (ruby-expression-expansion-re): Extract from
4988 `ruby-match-expression-expansion'.
4989 (ruby-syntax-propertize-function): After everything else, search
4990 for expansions in string literals, mark their insides as
4991 whitespace syntax and save match data for font-lock.
4992 (ruby-font-lock-keywords): Use the 2nd group from expression
4993 expansion matches.
4994 (ruby-match-expression-expansion): Use the match data saved to the
4995 text property in ruby-syntax-propertize-function.
4996
4997 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5000 (bug#12879).
5001
5002 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5003
5004 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5005 start/end keyword a bit harder. Works with different values of N.
5006 Add more comments.
5007 (ruby-end-of-block): Update accordingly.
5008
5009 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * woman.el (woman-file-name): Don't mess with unread-command-events
5012 (bug#12861).
5013
5014 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5015 Remove out of date self-require hack.
5016 (ad-do-advised-functions): Use simple `dolist'.
5017 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5018 (ad-advice-definition): Redefine as functions.
5019 (ad-advice-classes): Move before first use.
5020 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5021 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5022 (ad--defalias-fset): Remove functions.
5023 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5024 (ad-get-orig-definition): Rewrite.
5025 (ad-make-advised-definition-docstring): Change base docstring.
5026 (ad-real-orig-definition): Rewrite.
5027 (ad-map-arglists): Change name of called function.
5028 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5029 (ad-make-advised-definition): Simplify.
5030 (ad-assemble-advised-definition): Tweak for new calling context.
5031 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5032 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5033 function and call ad-activate if needed.
5034 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5035 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5036 (ad-compile-function): Compile ad-Advice-*.
5037 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5038 (ad-start-advice, ad-stop-advice): Remove.
5039
5040 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5041
5042 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5043 period before class method names, not after. Remove handling of
5044 one impossible case. Add comments.
5045
5046 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/advice.el: Remove support for freezing.
5049 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5050 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5051 Remove support for `freeze'.
5052
5053 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5054 override the default.
5055 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5056 cl--dotimes/dolist.
5057 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5058 `cl' is loaded.
5059
5060 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5061 from add-advice.
5062 (advice--strip-macro): New function.
5063 (advice--defalias-fset): Use them to handle macros.
5064 (advice-add): Use them.
5065 (advice-member-p): Correctly handle macros.
5066
5067 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5068
5069 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5070 Never font-lock the beginning of singleton class as heredoc.
5071
5072 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5075
5076 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5077
5078 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5079 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5080 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5081
5082 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5083
5084 Fix end-of-defun misbehavior.
5085 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5086 python-beginning-of-defun-function. Handle nested defuns
5087 correctly.
5088 (python-nav-end-of-defun): Rename from
5089 python-end-of-defun-function. Ensure forward movement.
5090 (python-info-current-defun): Reimplement to work as intended
5091 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5092 parent defuns as soon as possible.
5093
5094 2012-11-13 Glenn Morris <rgm@gnu.org>
5095
5096 * progmodes/flymake.el (flymake-error-bitmap)
5097 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5098 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5099
5100 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5101
5102 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5103 backward, always stop at indentation. Reverts the change from
5104 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5105
5106 2012-11-13 Glenn Morris <rgm@gnu.org>
5107
5108 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5109 Add ibuffer-filter-by-derived-mode.
5110
5111 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5112 the same name shadowing each other.
5113
5114 * window.el (with-temp-buffer-window): Doc tweak.
5115
5116 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5117
5118 * help.el (temp-buffer-max-height):
5119 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5120 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5121
5122 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * emacs-lisp/nadvice.el: New package.
5125 * subr.el (special-form-p): New function.
5126 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5127 (elp-all-instrumented-list): Remove var.
5128 (elp-not-profilable): Remove elp-wrapper.
5129 (elp-profilable-p): Use autoloadp and special-form-p.
5130 (elp--advice-name): New const.
5131 (elp-instrument-function): Use advice-add.
5132 (elp--instrumented-p): New predicate.
5133 (elp-restore-function): Use advice-remove.
5134 (elp-restore-all, elp-reset-all): Use mapatoms.
5135 (elp-set-master): Use elp--instrumented-p.
5136 (elp--make-wrapper): Rename from elp-wrapper, return a function
5137 suitable for advice-add. Use cl-inf.
5138 (elp-results): Use mapatoms+elp--instrumented-p.
5139 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5140 (debug-function-list): Remove var.
5141 (debug): Rename arg, and then let-bind it explicitly inside.
5142 (debugger-setup-buffer): Rename arg.
5143 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5144 (debugger-frame-number): Adjust to new debug-on-entry setup.
5145 (debug--implement-debug-on-entry): Rename from
5146 implement-debug-on-entry, add argument.
5147 (debugger-special-form-p): Remove, use special-form-p instead.
5148 (debug-on-entry): Use advice-add.
5149 (debug--function-list): New function.
5150 (cancel-debug-on-entry): Use it, along with advice-remove.
5151 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5152 (debugger-list-functions): Use debug--function-list instead of
5153 debug-function-list.
5154 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5155 (ad-special-form-p): Remove, use special-form-p instead.
5156 (ad-set-advice-info): Use add-function and remove-function.
5157 (ad--defalias-fset): Adjust accordingly.
5158
5159 2012-11-10 Glenn Morris <rgm@gnu.org>
5160
5161 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5162 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5163 (report-emacs-bug-create-existing-bugs-buffer)
5164 (report-emacs-bug-parse-query-results)
5165 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5166
5167 * term.el (term-default-fg-color, term-default-bg-color):
5168 Make obsolete, rather than just saying "deprecated" in the doc.
5169
5170 * term.el (term): Rename from `term-face'.
5171 (term-current-face, ansi-term-color-vector)
5172 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5173 Update all users.
5174
5175 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5176
5177 * server.el (server-create-window-system-frame): Handle Nextstep
5178 specially (Bug#12780).
5179
5180 2012-11-10 Glenn Morris <rgm@gnu.org>
5181
5182 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5183 Unautoload, and make obsolete. (Bug#7449)
5184
5185 2012-11-10 Chong Yidong <cyd@gnu.org>
5186
5187 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5188 rename from diff-remove-trailing-whitespace (Bug#12831).
5189
5190 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5193 miscompilation of trace.el.
5194
5195 2012-11-10 Glenn Morris <rgm@gnu.org>
5196
5197 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5198
5199 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5202 (bug#12812).
5203
5204 2012-11-10 Chong Yidong <cyd@gnu.org>
5205
5206 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5207 a defcustom with an appropriate :set function.
5208 (minibuffer-default--in-prompt-regexps): New function.
5209
5210 2012-11-10 Glenn Morris <rgm@gnu.org>
5211
5212 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5213 (define-modify-macro): Doc fixes.
5214
5215 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5216 (gv-define-simple-setter): Update doc of `fix-return'.
5217
5218 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5221 twice when `fix-return' is set (bug#12813).
5222
5223 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5224 gv-define-simple-setter (bug#12812).
5225
5226 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5227 (bug#12756).
5228
5229 2012-11-10 Glenn Morris <rgm@gnu.org>
5230
5231 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5232
5233 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5234 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5235 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5236 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5237
5238 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5239
5240 2012-11-10 Leo Liu <sdl.web@gmail.com>
5241
5242 * ido.el (ido-set-matches-1): Improve flex matching performance by
5243 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5244
5245 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5248 (ad--defalias-fset): New function.
5249 (ad-safe-fset): Remove.
5250 (ad-make-freeze-definition): Use cl-letf*.
5251
5252 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * subr.el (dolist): Don't bind VAR in RESULT.
5255
5256 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5257 (fset, documentation): Don't save real def since we don't advise.
5258 (ad-do-advised-functions): Remove problematic `result-form'.
5259 (ad-safe-fset): `ad-real-fset' => `fset'.
5260 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5261 uses CL's dolist internally.
5262 (ad-arglist): Remove unused arg `name'.
5263 (ad-docstring, ad-make-advised-docstring):
5264 `ad-real-documentation' => `documentation'.
5265 (warning-suppress-types): Declare.
5266 (ad-set-arguments): Simple CSE.
5267 (ad-recover-normality): Sanity check.
5268
5269 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5270 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5271
5272 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5273
5274 * ses.el: symbol to coordinate mapping is made by symbol property
5275 `ses-cell'. This means that the same mapping is done for all SES
5276 sheets. That is good enough for cells with standard A1 names, but
5277 not for named cell. So a hash map is added for the latter.
5278 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5279 (ses-sym-rowcol): Use hashmap for named cell.
5280 (ses-is-cell-sym-p): New defun.
5281 (ses-decode-cell-symbol): New defun.
5282 (ses-create-cell-variable): Add cell to hashmap when name is not
5283 A1-like.
5284 (ses-rename-cell): Check that cell new name is not already in
5285 spreadsheet with the use of ses-is-cell-sym-p
5286 (ses-rename-cell): Use hash map for named cells, but accept also
5287 renaming back to A1-like.
5288
5289 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * emacs-lisp/advice.el: Use new dynamic docstrings.
5292 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5293 Use dynamic-docstring-function instead of ad-advice-info.
5294 (ad--make-advised-docstring): New function extracted from
5295 ad-make-advised-docstring.
5296 (ad-make-advised-docstring): Use it.
5297 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5298 from sql-help.
5299 (sql-help): Use it with dynamic-docstring-function.
5300
5301 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5302
5303 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * files.el (hack-one-local-variable--obsolete): New function.
5306 (hack-one-local-variable): Use it for obsolete settings.
5307
5308 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5309 the new name.
5310
5311 * progmodes/js.el (js--filling-paragraph): New var.
5312 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5313 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5314 less sneaky.
5315
5316 2012-11-08 Julien Danjou <julien@danjou.info>
5317
5318 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5319 `auto-mode-alist' (Bug#12835).
5320
5321 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5324 (perl--prettify-symbols-alist): New const.
5325 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5326 New functions.
5327 (perl-font-lock-keywords-2): Use them.
5328 (perl-electric-noindent-p): New function.
5329 (perl-mode): Use it to set up electric-indent-mode.
5330 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5331 (perl-mode-map): Remove bindings for them.
5332 (perl-imenu-generic-expression, perl-outline-level):
5333 Match functions&packages in column>0.
5334
5335 * env.el (env--substitute-vars-regexp): New const.
5336 (substitute-env-vars): Use it. Add `only-defined' arg.
5337 * net/tramp.el (tramp-replace-environment-variables): Use it.
5338
5339 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5340 Byte-compile *before* eval in eval-and-compile.
5341 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5342 (byte-compile-file-form-autoload): Don't hide actual definition.
5343 (byte-compile-maybe-guarded): Accept `functionp' as well.
5344
5345 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5346
5347 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5348
5349 * notifications.el (notifications-get-server-information-method):
5350 New defconst.
5351 (notifications-get-capabilities): Fix docstring.
5352 (notifications-get-server-information): New defun.
5353
5354 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5355
5356 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5357 readability.
5358
5359 * textmodes/ispell.el: Experimental support for support debugging.
5360 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5361 buffer for ispell.
5362 (ispell-print-if-debug): New function to print stuff to
5363 `ispell-debug-buffer' if debugging is enabled.
5364 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5365 show some debugging info.
5366 (ispell-buffer-with-debug): New function that creates a debugging
5367 buffer and calls `ispell-buffer' with debugging enabled.
5368
5369 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5370 comment in autoconf mode. (Bug#12768)
5371
5372 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5373
5374 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5375 frame-first-window, frame-root-window, frame-selected-window,
5376 minibuffer-selected-window, minibuffer-window,
5377 window-absolute-pixel-edges, window-at, window-body-height,
5378 window-body-width, window-display-table, window-combination-limit,
5379 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5380 window-inside-edges, window-inside-pixel-edges, window-left-child,
5381 window-left-column, window-margins, window-next-buffers,
5382 window-next-sibling, window-new-normal, window-new-total,
5383 window-normal-size, window-parameter, window-parameters, window-parent,
5384 window-pixel-edges, window-point, window-prev-buffers,
5385 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5386 window-start, window-text-height, window-top-child, window-top-line,
5387 window-total-height, window-total-width and window-use-time to the list
5388 of functions without side-effects.
5389 (toplevel): Add window-valid-p to the list of error-free functions
5390 without side-effects.
5391
5392 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5393
5394 * textmodes/ispell.el (ispell-program-name):
5395 Update spellchecker parameters when customized.
5396
5397 2012-11-04 Glenn Morris <rgm@gnu.org>
5398
5399 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5400
5401 2012-11-04 Chong Yidong <cyd@gnu.org>
5402
5403 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5404 same-window-* variables.
5405
5406 2012-11-04 Juri Linkov <juri@jurta.org>
5407
5408 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5409 (isearch-describe-key, isearch-describe-mode): Use a display
5410 action instead of binding same-window-* variables (Bug#10040).
5411
5412 2012-11-03 Glenn Morris <rgm@gnu.org>
5413
5414 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5415 Rename handler properties back from cl-- to cl-. (Bug#12788)
5416
5417 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5418
5419 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5420
5421 * term/pc-win.el: Don't load term/internal from here.
5422
5423 * loadup.el: Load term/internal from here.
5424
5425 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5426
5427 * progmodes/python.el (inferior-python-mode): Fix hang in
5428 jit-lock (Bug#12645).
5429
5430 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5431
5432 * window.el (switch-to-visible-buffer)
5433 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5434
5435 2012-11-03 Glenn Morris <rgm@gnu.org>
5436
5437 * emacs-lisp/cl-lib.el (cl--random-time):
5438 Rename from cl-random-time. (Bug#12773)
5439 (cl--gensym-counter, cl--random-state): Update callers.
5440 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5441
5442 2012-11-03 Chong Yidong <cyd@gnu.org>
5443
5444 * cus-start.el: Make cursor-type customizable (Bug#11633).
5445
5446 2012-11-02 Glenn Morris <rgm@gnu.org>
5447
5448 * filecache.el: No need to load find-lisp when compiling.
5449 (find-lisp-find-files): Autoload it.
5450 (file-cache-add-directory-recursively): Don't require find-lisp.
5451
5452 * image.el (image-type-from-file-name): Trivial simplification.
5453
5454 * emacs-lisp/bytecomp.el (byte-compile-eval):
5455 Decouple "noruntime" and "cl-functions" warnings.
5456
5457 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5458
5459 * play/gomoku.el (gomoku-display-statistics): Update mode line
5460 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5461
5462 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5463
5464 * window.el (quit-restore-window): If the window has been
5465 created on an existing frame and ended up as the sole window on
5466 that frame, do not delete it (Bug#12764).
5467
5468 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5471 Rename from sh--inside-arithmetic-expression, handle more cases
5472 (bug#11263).
5473
5474 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5475 (sh-font-lock-open-heredoc): Use it (bug#12770).
5476
5477 2012-10-30 Glenn Morris <rgm@gnu.org>
5478
5479 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5480
5481 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5482
5483 2012-10-29 Chong Yidong <cyd@gnu.org>
5484
5485 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5486 function key is stored in a keyboard macro (Bug#4894).
5487
5488 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5489
5490 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5493 header comments".
5494 (diff-unified->context, diff-context->unified)
5495 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5496
5497 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5498
5499 * files.el (find-alternate-file): Only ask one question (bug#12487).
5500
5501 2012-10-29 Chong Yidong <cyd@gnu.org>
5502
5503 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5504 Suggested by Dan Nicolaescu (Bug#6326).
5505
5506 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5507
5508 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5509
5510 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5511
5512 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5513
5514 * face-remap.el (face-remap-add-relative): Handle the case where a
5515 face-remapping-alist entry is a cons cell (Bug#12762).
5516
5517 2012-10-29 Kevin Ryde <user42@zip.com.au>
5518
5519 * woman.el (woman-parse-numeric-value): Handle picas correctly
5520 (Bug#12639).
5521
5522 2012-10-29 Glenn Morris <rgm@gnu.org>
5523
5524 * emacs-lisp/cl.el (defsetf): Doc fix.
5525
5526 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5529 syntax to the matching opener, if any (bug#12547).
5530 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5531 matching open as a "case-(".
5532 (sh-smie-rc-grammar): Add a corresponding rule for it.
5533
5534 2012-10-28 Daniel Hackney <dan@haxney.org>
5535
5536 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5537 "PKGNAME-autoloads.el" in case we created it.
5538
5539 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5542 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5543 (completion--twq-all): Disable too-strict assertions.
5544
5545 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5546
5547 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5548
5549 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5550 text to match the real keybindings.
5551
5552 2012-10-27 Juri Linkov <juri@jurta.org>
5553
5554 * wdired.el (wdired-keep-marker-rename): New defcustom.
5555 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5556 (Bug#11795)
5557
5558 * dired.el (dired-keep-marker-rename): Add reference to
5559 `wdired-keep-marker-rename' in the docstring.
5560 Add default character value ?R to display initially in
5561 Customization UI instead of ?@.
5562
5563 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5564
5565 * window.el (display-buffer): In doc-string describe
5566 window-height and window-width alist entries.
5567
5568 * time.el (display-time-world): Restore fit-window-to-buffer
5569 behavior.
5570
5571 2012-10-27 Chong Yidong <cyd@gnu.org>
5572
5573 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5574
5575 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5576
5577 * minibuffer.el (completion-category-overrides): New completion
5578 category `bookmark' (bug#11131).
5579
5580 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5583 Silence bogus compiler warnings for ad-do-it.
5584
5585 * bookmark.el (bookmark-completing-read): Set the completion category
5586 to `bookmark' (bug#11131).
5587
5588 2012-10-26 Bastien <bzg@altern.org>
5589 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * face-remap.el: Use lexical-binding.
5592 (text-scale-adjust): Improve docstring. Use itself for the temporary
5593 overlay-map bindings, so as to repeat the "Use..." message each time.
5594
5595 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * emacs-lisp/macroexp.el (macroexp--expand-all):
5598 Obey byte-compile-warning-enabled-p (bug#12486).
5599
5600 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5601 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5602
5603 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5604
5605 * mouse.el (mouse-drag-line): Move last form into preceding when
5606 clause (Bug#12731).
5607
5608 * help.el (resize-temp-buffer-window): Fix doc-string.
5609
5610 2012-10-25 David Engster <deng@randomsample.de>
5611
5612 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5613 Remove. This feature is already integrated in imenu.
5614
5615 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5616 always loaded. Require `speedbar' unconditionally.
5617
5618 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5621
5622 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5623
5624 * net/ldap.el (ldap-search-internal): The official ldif format starts
5625 with a "version: 1" header (bug#12724).
5626
5627 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5628 (bug#12721).
5629
5630 2012-10-25 Glenn Morris <rgm@gnu.org>
5631
5632 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5633
5634 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * minibuffer.el (minibuffer-force-complete): Use one more marker
5637 for the temporary-overlay-map command (bug#12619).
5638
5639 2012-10-24 Chong Yidong <cyd@gnu.org>
5640
5641 * time.el (display-time-world-mode): Derive from special-mode.
5642 (display-time-world): Use display-buffer (Bug#12708).
5643 (display-time-world-mode-map): Variable deleted.
5644 (display-time-world-display): Wrap the final delete-char inside
5645 inhibit-read-only.
5646
5647 2012-10-24 Chong Yidong <cyd@gnu.org>
5648
5649 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5650 Doc fix.
5651
5652 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5653
5654 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * minibuffer.el (completion--all-sorted-completions-location): New var.
5657 (completion--cache-all-sorted-completions)
5658 (completion--flush-all-sorted-completions): Use it.
5659 (completion-in-region, completion-in-region--postch)
5660 (completion-at-point, completion-help-at-point): Use markers in
5661 completion-in-region--data (bug#12619).
5662
5663 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * progmodes/compile.el (compilation-start): Try to handle common
5666 quoting of `cd' argument (bug#12640).
5667
5668 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5669 (bug#12671).
5670
5671 2012-10-23 Glenn Morris <rgm@gnu.org>
5672
5673 * progmodes/gud.el (gud-menu-map):
5674 Check gdb-active-process is bound. (Bug#12358)
5675
5676 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * repeat.el (repeat): Set real-this-command (bug#12232).
5679
5680 * htmlfontify.el (hfy-post-html-hook):
5681 * filesets.el (filesets-cache-fill-content-hook):
5682 * arc-mode.el (archive-extract-hook):
5683 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5684 * net/rcirc.el (rcirc-sentinel-functions)
5685 (rcirc-receive-message-functions, rcirc-activity-functions)
5686 (rcirc-print-functions):
5687 * net/dbus.el (dbus-event-error-functions):
5688 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5689 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5690 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5691 * term/sun.el (sun-raw-prefix-hooks):
5692 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5693
5694 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5695
5696 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5697 Set `tramp-chunksize' to 1. This improves the performance.
5698 (tramp-smb-wait-for-output): Add timeout to
5699 `tramp-accept-process-output' calls.
5700
5701 2012-10-23 Chong Yidong <cyd@gnu.org>
5702
5703 * faces.el (font-list-limit): Define as an obsolete variable.
5704
5705 * startup.el (command-line):
5706 * cus-start.el: Don't refer to font-list-limit.
5707
5708 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5709
5710 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * subr.el (internal-temp-output-buffer-show): Rename from
5713 temp-output-buffer-show, since previously compiled files expect this name.
5714
5715 2012-10-23 Glenn Morris <rgm@gnu.org>
5716
5717 * image.el (image-type-from-file-name): If multiple types match,
5718 return the first one that is supported. (Bug#9045)
5719
5720 2012-10-22 Glenn Morris <rgm@gnu.org>
5721
5722 * image.el (imagemagick-enabled-types): Doc fix.
5723
5724 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5725
5726 * progmodes/which-func.el (which-func-current): The hash-table may have
5727 an explicit nil (bug#12338).
5728
5729 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * electric.el (electric-pair-delete-selection-self-insert-function):
5732 Rename to electric-pair-will-use-region, return a boolean.
5733 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5734
5735 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5736 (delete-selection-pre-hook): Use use-region-p.
5737 (delete-selection-self-insert-function): Remove.
5738 (self-insert-command): Obey self-insert-uses-region-functions.
5739 (self-insert-iso): Revert to previous setting, since we don't actually
5740 know what that command does.
5741 (delete-selection-self-insert-hooks): Remove.
5742
5743 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5744
5745 * delsel.el (delete-selection-helper): New function, extracted from
5746 delete-selection-pre-hook.
5747 (delete-selection-pre-hook): Use it.
5748 (delete-selection-self-insert-function): New function.
5749 (delete-selection-self-insert-hooks): New hook.
5750 (self-insert-command, self-insert-iso): Use it.
5751 * electric.el (electric-pair-syntax): New function, extracted from
5752 electric-pair-post-self-insert-function.
5753 (electric-pair-post-self-insert-function): Use it.
5754 (electric-pair-delete-selection-self-insert-function): New function.
5755 (electric-pair-mode): Require delsel and setup
5756 delete-selection-self-insert-hooks (bug#11520).
5757
5758 2012-10-20 Chong Yidong <cyd@gnu.org>
5759
5760 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5761 no changes to show (Bug#12586).
5762
5763 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5764 list explicitly (Bug#12571).
5765
5766 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5767
5768 * progmodes/flymake.el (flymake-create-temp-inplace):
5769 Use file-truename.
5770
5771 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5772
5773 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5774
5775 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5776
5777 * calc/calc-units.el (math-extract-units): Properly extract powers
5778 of units.
5779
5780 2012-10-20 Daniel Colascione <dancol@dancol.org>
5781
5782 * frame.el (make-frame): Set x-display-name as we used to in order
5783 to unbreak creating an X11 frame from an Emacs daemon started
5784 without a display.
5785
5786 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5789 the same completion-field (bug#12221).
5790
5791 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5792
5793 * emacs-lisp/debug.el (debug): Record height of debugger window
5794 also when debugger will be back (Bug#8789).
5795
5796 2012-10-18 Chong Yidong <cyd@gnu.org>
5797
5798 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5799 Convert to defcustom.
5800 (gdb-get-source-file): Don't bind pop-up-windows.
5801
5802 * progmodes/gud.el (gud-display-line): Don't specially re-use
5803 other frames for the gdb-mi case (Bug#12648).
5804
5805 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * emacs-lisp/advice.el: Clean up commentary a bit.
5808 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5809 (byte-code-function-p): Never redefine.
5810
5811 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5812
5813 2012-10-18 Glenn Morris <rgm@gnu.org>
5814
5815 * dired.el (dired-sort-toggle): Some ls implementations only allow
5816 a single option string. (Bug#12666)
5817
5818 * minibuffer.el (completion-cycle-threshold): Doc fix.
5819
5820 2012-10-17 Kenichi Handa <handa@gnu.org>
5821
5822 * international/mule.el (set-keyboard-coding-system):
5823 Recover input meta mode when the new coding system doesn not use 8-bit.
5824 Supply TERMINAL arg to set-input-meta-mode.
5825
5826 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5827
5828 * wdired.el (wdired-old-marks): New variable.
5829 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5830 (wdired-do-renames): Move point with renamed file and don't lose
5831 mark status (Bug#11795).
5832
5833 2012-10-16 Juri Linkov <juri@jurta.org>
5834
5835 * replace.el (query-replace-help): Mention multi-buffer replacement
5836 keys in the Help message. (Bug#12655)
5837
5838 2012-10-15 Chong Yidong <cyd@gnu.org>
5839
5840 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5841
5842 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5843
5844 * window.el (display-buffer): Doc fix.
5845
5846 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5847 Adjust the msft regexp to the output of Studio 2010, and move msft
5848 before edg-1. See the discussion on emacs-devel,
5849 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5850 for the details.
5851
5852 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5855 (oset): Move uses of object-class-fast macro after its definition.
5856
5857 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5858
5859 2012-10-13 Chong Yidong <cyd@gnu.org>
5860
5861 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5862 enabled, re-enable it (Bug#11963).
5863
5864 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5865
5866 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5867 non-nil, restore window configuration (Bug#12623).
5868
5869 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * help-fns.el (describe-variable, describe-function-1):
5872 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5873
5874 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5875
5876 2012-10-12 Glenn Morris <rgm@gnu.org>
5877
5878 * mail/rmailsum.el (rmail-header-summary):
5879 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5880
5881 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5882
5883 * progmodes/python.el (python-mode-map):
5884 Replace subtitute-key-definition with proper command remapping.
5885 (python-nav--up-list): Fix behavior for blocks on the same level.
5886
5887 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5890
5891 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5892 changes to the format of load-history.
5893
5894 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5895 completion-ignore-case in case that var is buffer-local (bug#12615).
5896
5897 2012-10-11 Kenichi Handa <handa@gnu.org>
5898
5899 * international/eucjp-ms.el: Re-generated.
5900
5901 2012-10-10 Kenichi Handa <handa@gnu.org>
5902
5903 * select.el (xselect--encode-string): If a coding is specified for
5904 selection, and that is compatible with COMPOUND_TEXT, use it.
5905
5906 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5907
5908 * window.el (switch-to-buffer-preserve-window-point): New option.
5909 (switch-to-buffer):
5910 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5911
5912 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5915 Don't document nil as a useful value (bug#12583).
5916
5917 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5918
5919 * net/tramp.el (tramp-debug-message):
5920 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5921 (with-tramp-progress-reporter): Rename from
5922 `tramp-with-progress-reporter'.
5923 (with-tramp-file-property, with-tramp-connection-property):
5924 Move from tramp-cache.el, rename from `with-file-property' and
5925 `with-connection-property', respectively.
5926
5927 * net/tramp-cache.el: Remove `with-file-property' and
5928 `with-connection-property'.
5929
5930 * net/tramp.el:
5931 * net/tramp-gvfs.el:
5932 * net/tramp-sh.el:
5933 * net/tramp-smb.el: Adapt callees.
5934
5935 * net/trampver.el: Update release number.
5936
5937 2012-10-09 Glenn Morris <rgm@gnu.org>
5938
5939 * w32-fns.el (set-message-beep):
5940 * term/w32-win.el (set-message-beep): Update declarations.
5941
5942 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5945 (mode-line-widen, mode-line-input-method-map)
5946 (mode-line-coding-system-map, mode-line-remote)
5947 (mode-line-unbury-buffer, mode-line-bury-buffer)
5948 (mode-line-next-buffer, mode-line-previous-buffer):
5949 Replace save-selected-window+select-window => with-selected-window.
5950
5951 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5952 * progmodes/cc-vars.el (bq-process): Remove, unused.
5953
5954 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5955
5956 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5957
5958 Implemented `backward-up-list'-like navigation.
5959 * progmodes/python.el (python-nav-up-list)
5960 (python-nav-backward-up-list): New functions.
5961 (python-mode-map): Define substitute key for backward-up-list to
5962 python-nav-backward-up-list.
5963
5964 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5965
5966 * progmodes/python.el (python-fill-paragraph): Rename from
5967 python-fill-paragraph-function. Fixed fill-paragraph for
5968 decorators (Bug#12605).
5969
5970 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5971
5972 * progmodes/python.el (python-shell-output-filter): Handle extra
5973 carriage return in OSX (Bug#12409).
5974
5975 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5976
5977 Fix shell handling of unbalanced quotes and parens in output.
5978 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5979 (python-syntax-propertize-function): Use it.
5980 (python-shell-output-syntax-table): New var.
5981 (inferior-python-mode): Prevent unbalanced parens/quotes from
5982 previous output mess with current input context.
5983
5984 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5985
5986 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5987 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5988
5989 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5990
5991 * ffap.el (ffap-replace-file-component): Support Tramp file name
5992 syntax, not only ange-ftp's one.
5993
5994 2012-10-08 Glenn Morris <rgm@gnu.org>
5995
5996 * cus-start.el (message-log-max): Set :version.
5997
5998 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5999
6000 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6001
6002 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6003 the minibuffer window (Bug#10851).
6004
6005 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6006
6007 Enhancements on forward-sexp movement.
6008 * progmodes/python.el (python-nav-beginning-of-statement)
6009 (python-nav-end-of-statement): Return point-marker.
6010 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6011 (python-info-current-symbol)
6012 (python-info-statement-starts-block-p): Rename from
6013 python-info-beginning-of-block-p.
6014 (python-info-statement-ends-block-p): Rename from
6015 python-info-end-of-block-p.
6016 (python-info-beginning-of-statement-p)
6017 (python-info-end-of-statement-p)
6018 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6019 New functions.
6020
6021 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6024 frame-selected-windows.
6025
6026 2012-10-08 Daniel Colascione <dancol@dancol.org>
6027
6028 * battery.el (battery-status-function): Check for
6029 w32-battery-status itself, not system-time windows-nt.
6030
6031 * frame.el: Require cl-lib.
6032 (display-format-alist): New variable mapping frame types to
6033 functions that initialize them.
6034 (window-system-for-display): New function: interprets
6035 display-format-alist.
6036 (make-frame-on-display): Remove existing display-selection logic
6037 and just forward to make-frame, which will now DTRT.
6038 (make-frame): Restructure to use window-system-for-display to
6039 figure out how to create a frame on a given display.
6040 (display-mouse-p): Look for frame-type w32, not a particular
6041 system-type.
6042
6043 * loadup.el: Load w32 lisp code when we have the w32 feature.
6044
6045 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6046 system-type windows-nt.
6047
6048 * server.el (server-create-window-system-frame): Look for window
6049 type.
6050 (server-proces-filter): Only force a window system when windows-nt
6051 _and_ w32. Explain why.
6052
6053 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6054 of window systems we configure for the mode.
6055
6056 * startup.el (command-line): Mark window system is initialized
6057 after we've done it.
6058
6059 * common-win.el (x-select-text): Look for w32, not windows-nt.
6060
6061 * ns-win.el: Require cl-lib. Add ourselves to
6062 display-format-alist.
6063 (ns-initialize-window-system): Assert we're not initialized twice.
6064
6065 * w32-win.el: Enable lexical binding; require cl-lib; add
6066 ourselves to display-format-alist.
6067 (w32-handle-dropped-file): Convert incoming dropped files from
6068 Windows paths to Cygwin ones before passing them on to the rest of
6069 Emacs.
6070 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6071 (w32-initialize-window-system): Assert we're not initialized twice.
6072
6073 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6074 (x-initialize-window-system): Assert we're not initialized twice.
6075
6076 * w32-common-fns.el: New File.
6077 (w32-version, w32-using-nt, w32-get-clipboard-data)
6078 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6079 (w32-charset-info-alist, x-last-selected, text)
6080 (x-get-selection-value, x-selection-value): Move here.
6081
6082 * w32-fns.el: Require w32-common-fns.
6083 (w32-version, w32-using-nt, w32-get-clipboard-data)
6084 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6085 (w32-charset-info-alist, x-last-selected, text)
6086 (x-get-selection-value, x-selection-value): Move to
6087 w32-common-fns.
6088
6089 * w32-vars.el:
6090 (w32-allow-system-shell, w32-system-shells): Define only in
6091 non-cygwin case.
6092
6093 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6096 (read-passwd): Remove a few more potential sources of leaks.
6097
6098 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6099
6100 * progmodes/python.el (inferior-python-mode)
6101 (python-shell-make-comint): Fix initialization of local
6102 variables copied from parent buffer.
6103
6104 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6105
6106 * term/ns-win.el (ns-read-file-name): Update declaration to match
6107 nsfns.m.
6108 (ns-respond-to-change-font): Change fontsize separately so we are sure
6109 it is set when font is acted upon.
6110
6111 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6112
6113 Enhancements to indentation.
6114 * progmodes/python.el (python-indent-context): Give priority to
6115 inside-string context. Make comments indentation markers.
6116 (python-indent-region): Do not mess with strings, unless it's the
6117 enclosing set of quotes.
6118
6119 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * window.el (internal--before-save-selected-window)
6122 (internal--after-save-selected-window): New functions extracted from
6123 save-selected-window. Make sure we return the `alist' we construct.
6124 (save-selected-window): Use them.
6125
6126 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6127 Use with-selected-window.
6128
6129 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6130 forms that define macros (bug#12593).
6131
6132 2012-10-07 Kenichi Handa <handa@gnu.org>
6133
6134 * international/mule-conf.el (compound-text-with-extensions):
6135 Add :mime-charset property as x-ctext.
6136
6137 2012-10-07 Stefan Merten <smerten@oekonux.de>
6138
6139 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6140 (rst-indent-literal-normal, rst-indent-literal-minimized)
6141 (rst-indent-comment): Correct :version tag.
6142 (rst-official-cvs-rev): Correct version string.
6143
6144 2012-10-07 Glenn Morris <rgm@gnu.org>
6145
6146 * mail/rmailmm.el (rmail-mime-process-multipart):
6147 Do not confuse a multipart message with an epilogue
6148 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6149
6150 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6151
6152 Fix shell output retrieval and comint-prompt-regexp init.
6153 * progmodes/python.el (inferior-python-mode):
6154 (python-shell-make-comint): Fix initialization of
6155 comint-prompt-regexp from copied file local variables.
6156 (python-shell-fetched-lines): Remove var.
6157 (python-shell-output-filter-in-progress): Rename from
6158 python-shell-fetch-lines-in-progress.
6159 (python-shell-output-filter-buffer): Rename from
6160 python-shell-fetch-lines-string.
6161 (python-shell-fetch-lines-filter): Delete function.
6162 (python-shell-output-filter): New function.
6163 (python-shell-send-string-no-output): Use them.
6164
6165 2012-10-07 Glenn Morris <rgm@gnu.org>
6166
6167 * hi-lock.el (hi-lock-process-phrase):
6168 Try to make it less fragile. (Bug#7161)
6169
6170 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6171
6172 2012-10-06 Glenn Morris <rgm@gnu.org>
6173
6174 * ehelp.el (electric-help-mode): Use help-mode rather than
6175 non-existent mode `help'.
6176 (electric-help-map): Use button-buffer-map. (Bug#10917)
6177
6178 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6179 (reftex-create-bibtex-footer): Fix custom types.
6180
6181 * progmodes/sh-script.el (sh-indent-after-continuation):
6182 Add explicit :group.
6183
6184 * textmodes/rst.el (rst-preferred-decorations)
6185 (rst-shift-basic-offset): Clarify obsolescence versions.
6186
6187 * profiler.el (profiler): Add missing group :version tag.
6188 * avoid.el (mouse-avoidance-banish-position):
6189 * proced.el (proced-renice-command):
6190 * calc/calc.el (calc-ensure-consistent-units):
6191 * calendar/icalendar.el (icalendar-import-format-uid):
6192 * net/tramp.el (tramp-save-ad-hoc-proxies):
6193 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6194 * progmodes/flymake.el (flymake-error-bitmap)
6195 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6196 * progmodes/sh-script.el (sh-indent-after-continuation):
6197 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6198 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6199 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6200 (vhdl-array-index-record-field-in-sensitivity-list)
6201 (vhdl-indent-comment-like-next-code-line):
6202 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6203 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6204 (reftex-cite-key-separator, reftex-create-bibtex-header)
6205 (reftex-create-bibtex-footer):
6206 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6207 (rst-indent-literal-normal, rst-indent-literal-minimized)
6208 (rst-indent-comment): Add missing custom :version tags.
6209
6210 * calendar/timeclock.el (timeclock-modeline-display):
6211 Add missing obsolete alias for renamed user option.
6212
6213 * strokes.el (strokes-modeline-string):
6214 * emulation/crisp.el (crisp-mode-modeline-string):
6215 * eshell/esh-mode.el (eshell-status-in-modeline):
6216 Aliases to defcustoms must come before the defcustom.
6217
6218 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6219 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6220 (cal-tex-cursor-week-monday): Doc fixes.
6221 (cal-tex-cursor-week2-summary): Doc fix.
6222 Rename from cal-tex-cursor-week-at-a-glance.
6223
6224 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6225 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6226
6227 * calendar/calendar.el (calendar-mode-map):
6228 Add cal-tex-cursor-week2-summary.
6229
6230 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6233
6234 * subr.el (read-passwd-map): New var.
6235 (read-passwd): Use `read-string' again.
6236 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6237
6238 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6239
6240 * register.el (append-to-register, prepend-to-register):
6241 Deactivate mark, as does `copy-to-register' (bug#12389).
6242
6243 2012-10-06 Chong Yidong <cyd@gnu.org>
6244
6245 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6246
6247 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6248
6249 * international/characters.el: Fix simple mistake ((car chars) ->
6250 elt), delete duplicated code.
6251
6252 2012-10-06 Glenn Morris <rgm@gnu.org>
6253
6254 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6255
6256 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6257
6258 * color.el (color-hsl-to-rgb): Fix incorrect results for
6259 small and large hue values. (Bug#12559)
6260
6261 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6262
6263 Enhancements to docstring formatting when filling paragraphs.
6264 * progmodes/python.el (python-fill-docstring-style): Rename from
6265 python-fill-string-style. Added new style.
6266 (python-fill-string): Use new style. Better checks for
6267 docstrings.
6268
6269 2012-10-05 Glenn Morris <rgm@gnu.org>
6270
6271 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6272
6273 * color.el (color-name-to-rgb, color-rgb-to-hex)
6274 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6275 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6276 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6277 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6278
6279 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6280
6281 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6282
6283 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6284 to get the correct size across symlinks.
6285
6286 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6287
6288 2012-10-04 Juri Linkov <juri@jurta.org>
6289
6290 * replace.el (query-replace-interactive): Declare obsolete.
6291 (query-replace-read-from): Add the last incremental search string
6292 to the list of default values accessible via M-n.
6293 (map-query-replace-regexp): Use `read-regexp'.
6294 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6295 (map-query-replace-regexp, replace-string, replace-regexp):
6296 Fix docstrings to replace mentions of `query-replace-interactive'
6297 with alternatives. (Bug#12526)
6298
6299 2012-10-04 Juri Linkov <juri@jurta.org>
6300
6301 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6302 (dired-pop-to-buffer): Declare obsolete.
6303 (dired-mark-pop-up): Doc fix.
6304
6305 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6306
6307 Allow user to set docstring style for fill-paragraph.
6308 * progmodes/python.el
6309 (python-fill-comment-function, python-fill-string-function)
6310 (python-fill-decorator-function, python-fill-paren-function):
6311 Remove :safe for defcustoms.
6312 (python-fill-string-style): New defcustom
6313 (python-fill-paragraph-function): Enhance context detection.
6314 (python-fill-string): Honor python-fill-string-style settings.
6315
6316 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6317
6318 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6319 after setting its buffer (Bug#10805).
6320
6321 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6322
6323 Fix cornercase for string syntax.
6324 * progmodes/python.el (python-syntax-propertize-function):
6325 Simplify and enhance the regexp for unescaped quotes. Now it also
6326 matches quotes in weird situations like the single quote in
6327 "something\"'".
6328 (python-syntax-stringify): Simplify num-quotes detecting code.
6329
6330 2012-10-03 Glenn Morris <rgm@gnu.org>
6331
6332 * help-macro.el (three-step-help):
6333 Revert 2012-09-29 change. (Bug#12567)
6334
6335 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6336
6337 * menu-bar.el (kill-this-buffer): Don't do anything when
6338 `menu-frame' is not alive or visible (Bug#8184).
6339
6340 * emacs-lisp/debug.el (debug): When quitting the debugger window
6341 restore current buffer (Bug#12502).
6342
6343 2012-10-02 Chong Yidong <cyd@gnu.org>
6344
6345 * progmodes/hideif.el (hif-lookup, hif-defined):
6346 Handle semantic-c-takeover-hideif.
6347
6348 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6349
6350 Change sampling interval units from ms to ns.
6351 * profiler.el (profiler-sampling-interval): Change units
6352 from ms to ns, multiplying the default by 1000000 so that
6353 it remains 1 ms.
6354 (profiler-report-cpu-line-format): Give enough room for
6355 the maximum counters on 64-bit hosts.
6356 (profiler-report-render-calltree-1): Call them "CPU samples",
6357 not "Time (ms)", since they are not milliseconds now (and
6358 never really were).
6359
6360 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6361
6362 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6363 Fix querying BBDB for entries without a last name (Bug#11580).
6364
6365 2012-10-02 Chong Yidong <cyd@gnu.org>
6366
6367 * emacs-lisp/eieio.el: Restore Version header.
6368
6369 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * vc/diff-mode.el (diff--auto-refine-data): New var.
6372 (diff-hunk): Use it to delay refinement.
6373 (diff-mode): Remove overlays when we turn off font-lock.
6374
6375 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6376 (table-initialize-table-fixed-width-mode)
6377 (table-set-table-fixed-width-mode): Remove functions.
6378 (table-command-list): Move initialization into declaration.
6379 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6380 (table-with-cache-buffer): Use `declare'.
6381 (table-span-cell): Simplify via CSE.
6382 (table-fixed-width-mode): Use define-minor-mode.
6383 (table-call-interactively, table-funcall, table-apply): Remove.
6384 (table-function): New function, to replace them.
6385
6386 * bookmark.el (bookmark-search-pattern): Remove var.
6387 (bookmark-read-search-input): Remove function.
6388 (bookmark-bmenu-search): Reimplement using a minibuffer.
6389
6390 * faces.el (modeline): Remove obsolete face name.
6391
6392 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6393 and give a non-nil default value.
6394 (add-change-log-entry): Simplify accordingly.
6395
6396 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6397
6398 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6399 (vc-git-log-edit-toggle-amend): New function.
6400 (vc-git-log-edit-toggle-signoff): New function.
6401 (vc-git-log-edit-mode): New major mode.
6402 (vc-git-log-edit-mode-map): Keymap for it.
6403 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6404
6405 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6406 header names.
6407 (log-edit-toggle-header): New function.
6408 (log-edit-extract-headers): Accept function values in HEADERS alist.
6409
6410 2012-10-01 David Engster <deng@randomsample.de>
6411
6412 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6413 from symbol property and change message to be more consistent with
6414 Emacs proper.
6415 (eieio-describe-generic): Add filename for each implementation.
6416 Fix indices for generic and normal methods.
6417 (eieio-method-def, eieio-class-def): New buttons.
6418 (eieio-help-find-method-definition)
6419 (eieio-help-find-class-definition): New functions.
6420 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6421 class, constructor and method definitions.
6422
6423 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6424 information in symbol property.
6425 (scoped-class): Remove.
6426 (eieio-slot-name-index, call-next-method): Check if it is bound.
6427
6428 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6429
6430 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6431 (eieio-custom-mode): New major mode.
6432 (eieio-customize-object): Use it.
6433
6434 2012-10-01 Eric Ludlam <zappo@gnu.org>
6435
6436 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6437 specifying the expected class, and whether subclassing is allowed.
6438 (eieio-persistent-convert-list-to-object):
6439 (eieio-persistent-validate/fix-slot-value)
6440 (eieio-persistent-slot-type-is-class-p): New functions.
6441 (eieio-named::slot-missing): Doc fix.
6442
6443 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6444 Stop using unused publd variable.
6445
6446 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6447 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6448 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6449 (eieio-speedbar-handle-click): Do not specify a class for the
6450 method. Fixes method invocation order problems with EDE.
6451
6452 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6455 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6456
6457 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6458
6459 * bookmark.el (bookmark-version-control): Give tags in the
6460 :type choices (Bug#12309), and improve doc string.
6461 (bookmark-write-file): Bind `print-circle' to `t' to allow
6462 circular custom bookmark types. (Bug#12503)
6463
6464 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6465
6466 Revert the FOLLOW-SYMLINKS change for file-attributes.
6467 * files.el (remote-file-name-inhibit-cache, after-find-file):
6468 * time.el (display-time-file-nonempty-p): Undo last change.
6469
6470 * profiler.el (profiler-sampling-interval): Change default back to 1.
6471 See Stefan Monnier in
6472 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6473
6474 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6475
6476 Shell output catching a la gud-gdb.
6477 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6478 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6479 New Vars.
6480 (python-shell-fetch-lines-filter): New function.
6481 (python-shell-send-string-no-output): Use them.
6482
6483 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6484
6485 * profiler.el (profiler-sampling-interval): Rename from
6486 profiler-sample-interval.
6487 (profiler-sampling-interval): Default to 10.
6488 (profiler-find-profile): New command (was profiler-find-log).
6489 (profiler-find-profile-other-window): New command.
6490 (profiler-find-profile-other-frame): New command.
6491 (profiler-profile): Introduce API-level data structure.
6492
6493 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6494
6495 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6496 * files.el (remote-file-name-inhibit-cache):
6497 * time.el (display-time-file-nonempty-p): Use it.
6498 * files.el (after-find-file): Don't chase links before calling
6499 file-exists-p, as file-exists-p already does the right thing.
6500
6501 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6502
6503 Merge from standalone RefTeX repository.
6504
6505 The following ChangeLog entries are shortened versions of the
6506 original ones with file paths adapted. A not so strongly edited
6507 version of the original ChangeLog can be found in the commit log.
6508
6509 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6510 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6511 Correctly handle new value type returned by `reftex-citation'.
6512
6513 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6514 that entries with whitespace at various places are found.
6515 Doc fix. Include entries that are cross-referenced from cited entries.
6516 Include @String definitions in the resulting bib file. Add header
6517 and footer defined in `reftex-create-bibtex-header' and
6518 `reftex-create-bibtex-footer'.
6519 (reftex-do-citation): Make it possible again to insert
6520 non-existent entries. Save match data when asking for optional
6521 arguments. Return all keys, not just the first one.
6522 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6523 all citations in the same line.
6524 (reftex-parse-bibtex-entry): Accept additional optional argument
6525 `raw' and keep quotes or braces if it is non-nil. Match fields
6526 containing hyphens besides word constituents.
6527 (reftex-get-string-refs): New function.
6528 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6529 and ask if it should be reread in case it did.
6530 (reftex-pop-to-bibtex-entry)
6531 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6532 entries with spaces or tabs in front of arguments.
6533 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6534 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6535 Match entries containing numbers and symbol constituents.
6536 (reftex-do-citation, reftex-figure-out-cite-format):
6537 Use `reftex-cite-key-separator'.
6538
6539 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6540 (reftex-mouse-view-crossref): Explain why point is set.
6541
6542 * textmodes/reftex-global.el: Whitespace changes.
6543
6544 * textmodes/reftex-index.el: Move provide statement to end of
6545 file.
6546 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6547 (reftex-index-visit-phrases-buffer): Set marker when visiting
6548 buffer. This allows for returning from the phrases file to the
6549 file one was just editing instead of the file where the last
6550 phrases was added from.
6551 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6552 punctuation syntax as it usually is not used as string quote in
6553 TeX-related modes and may occur unmatched. The change also
6554 prevents fontification of quoted content.
6555 (reftex-index-phrases-mode): Use it.
6556
6557 * textmodes/reftex-parse.el (reftex-parse-from-file):
6558 Move backward one char if a `\' was matched after a section macro.
6559 (reftex-parse-from-file): Use beginning of match instead of end as
6560 bound.
6561
6562 * textmodes/reftex-ref.el: Adapt creation of
6563 `reftex-<package>-<macro>' functions to new structure of
6564 `reftex-ref-style-alist'.
6565 (reftex-reference): Use `reftex-ref-style-list' function.
6566 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6567 reference macro if `reftex-ref-macro-prompt' is non-nil.
6568 (reftex-reference): Pass refstyle to `reftex-format-special'.
6569 Determine reference macro by looking at
6570 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6571 Use only one special format function.
6572 (reftex-varioref-vref, reftex-fancyref-fref)
6573 (reftex-fancyref-Fref): Remove definitions. The functions are now
6574 generated from `reftex-ref-style-alist'.
6575 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6576 Remove.
6577 (reftex-format-special): New function.
6578
6579 * textmodes/reftex-sel.el
6580 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6581 of `reftex-ref-style-alist'. Remove code for testing macro type.
6582 (reftex-select-toggle-varioref)
6583 (reftex-select-toggle-fancyref): Remove.
6584 (reftex-select-cycle-ref-style-internal)
6585 (reftex-select-cycle-ref-style-forward)
6586 (reftex-select-cycle-ref-style-backward): New functions.
6587 (reftex-select-label-map): Use `v' and `V' for general cycling
6588 through reference styles. Add `p' for switching between number
6589 and page reference types.
6590
6591 * textmodes/reftex-toc.el (reftex-re-enlarge):
6592 Call `enlarge-window' only if there is something to do because in Emacs
6593 the horizontal version throws an error even if the parameter is 0.
6594
6595 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6596 (reftex-plug-into-AUCTeX): Doc fix.
6597 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6598 string. Adapt to new name.
6599 (reftex-ref-style-alist): Change structure so that it is not
6600 possible to use multiple different package names within a style.
6601 Remove the symbols for symbols for macro type distinction.
6602 Add characters for macro selection.
6603 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6604 (reftex-create-bibtex-footer): New variables.
6605 (reftex-format-ref-function): Mention third argument of special
6606 format function.
6607 (reftex-ref-style-alist, reftex-ref-style-default-list):
6608 New variables.
6609 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6610 to new implementation. Mark as obsolete. Add compatibility code
6611 for honoring the variable values in case they are set.
6612 (reftex-cite-format-builtin, reftex-bibliography-commands):
6613 Add support for ConTeXt.
6614 (reftex-format-ref-function, reftex-format-cite-function):
6615 Fix custom type.
6616 (reftex-cite-key-separator): New variable.
6617
6618 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6619 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6620 `reftex-syntax-table' because parens have to retain their paren
6621 syntax in order for parsing of BibTeX entries like @book(...) to
6622 work.
6623 (reftex-in-comment): Do not error out if `comment-start-skip' is
6624 not set. Deal correctly with escaped comment characters.
6625 (reftex-tie-multifile-symbols): Add doc string.
6626 Initialize `reftex-ref-style-list'.
6627 (reftex-untie-multifile-symbols): Add doc string.
6628 (reftex-add-index-macros): Doc fix.
6629 (reftex-ref-style-activate, reftex-ref-style-toggle)
6630 (reftex-ref-style-list): New functions.
6631 (reftex-mode-menu): Use them. Adapt to new structure of
6632 `reftex-ref-style-alist'.
6633 (reftex-select-with-char): Kill the RefTeX Select buffer when
6634 done.
6635 (reftex-remove-if): New function.
6636 (reftex-erase-all-selection-and-index-buffers)
6637 (reftex-mode-menu): Reference styles are now computed from
6638 `reftex-ref-style-alist'. Fix typo.
6639 (reftex-report-bug): New function.
6640 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6641 algorithms with O(n log n). Introduce optional argument SORT (not
6642 yet used).
6643
6644 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6645
6646 Enhancements for triple-quote string syntax.
6647 * progmodes/python.el (python-syntax-propertize-function):
6648 Match both quote cases in one regexp.
6649 (python-syntax-stringify): Handle matches properly.
6650
6651 2012-09-30 Juri Linkov <juri@jurta.org>
6652
6653 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6654 to nil around the call to `insert' to prevent
6655 directory time modification by lock_file. (Bug#2295)
6656 * tar-mode.el (tar-summarize-buffer): Idem.
6657
6658 2012-09-30 Juri Linkov <juri@jurta.org>
6659
6660 * facemenu.el (list-colors-sort): Add option "Luminance".
6661 (list-colors-sort-key): Implement it.
6662
6663 * vc/diff-mode.el (diff-refine-removed):
6664 * vc/ediff-init.el (ediff-fine-diff-A):
6665 * vc/smerge-mode.el (smerge-refined-removed):
6666 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6667
6668 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6669
6670 * term/ns-win.el (x-file-dialog): New function.
6671
6672 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6673
6674 * ido.el (ido-max-directory-size): Default to nil; the current
6675 default is small for POSIX systems, and impractical on Windows 7
6676 now that lstat returns directory sizes for NTFS.
6677
6678 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6679
6680 In buffer display functions handle window-height/window-width
6681 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6682 * window.el (window--display-buffer): New argument ALIST.
6683 Obey window-height and window-width alist entries.
6684 (window--try-to-split-window): New argument ALIST.
6685 Bind window-combination-limit to t when the window's size shall be
6686 changed and window-combination-limit equals `window-size'.
6687 (display-buffer-in-atom-window)
6688 (display-buffer-in-major-side-window)
6689 (display-buffer-in-side-window, display-buffer-same-window)
6690 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6691 (display-buffer-pop-up-window, display-buffer-below-selected)
6692 (display-buffer-at-bottom, display-buffer-in-previous-window)
6693 (display-buffer-use-some-window): Adjust all callers of
6694 window--display-buffer and window--try-to-split-window.
6695 (fit-frame-to-buffer): New option.
6696 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6697 is non-nil.
6698 (display-buffer-in-major-side-window): Evaluate window-height /
6699 window-width alist entries.
6700
6701 * help.el (temp-buffer-resize-frames)
6702 (temp-buffer-resize-regexps): Remove options.
6703 (temp-buffer-resize-mode): Adjust doc-string.
6704 (resize-temp-buffer-window): Don't consult
6705 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6706 temp-buffer-resize-frames.
6707
6708 * dired.el (dired-mark-pop-up):
6709 Call display-buffer-below-selected with a fit-window-to-buffer alist
6710 entry.
6711
6712 2012-09-30 Chong Yidong <cyd@gnu.org>
6713
6714 * server.el (server-host): Document the security implications.
6715 (server-auth-key): Doc fix.
6716
6717 * startup.el (initial-buffer-choice): Doc fix.
6718
6719 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6720
6721 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6722 restriction change.
6723
6724 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6725
6726 * help-fns.el (help-fns--obsolete): Fix last change.
6727
6728 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6731 (minor-mode-map-alist): Remove redundant code.
6732
6733 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6734 visited in a buffer.
6735 (cvs-insert-visited-file): New function.
6736 (find-file-hook): Use it.
6737
6738 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6739
6740 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6741 chose face.
6742 (log-edit-empty-buffer-p): Don't require a space after a header.
6743
6744 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6745
6746 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6747
6748 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6749 a proper minor-mode.
6750
6751 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6752
6753 2012-09-29 Glenn Morris <rgm@gnu.org>
6754
6755 * winner.el (winner-mode): Remove variable (let define-minor-mode
6756 handle it).
6757 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6758 Doc fixes.
6759 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6760 (winner-mode): Use define-minor-mode.
6761
6762 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6763 the full definition in loaddefs, rather than duplicating it.
6764
6765 * help-macro.el (three-step-help): No need to autoload defcustom.
6766
6767 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6768 (inferior-lisp-program, inferior-lisp-load-command)
6769 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6770 No need to autoload defcustoms.
6771
6772 * hippie-exp.el (hippie-expand-try-functions-list)
6773 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6774 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6775 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6776 (hippie-expand-only-buffers): No need to autoload defcustoms.
6777 * progmodes/vhdl-mode.el (vhdl-line-expand):
6778 Explicitly load hippie-exp, so it does not get autoloaded
6779 while hippie-expand-try-functions-list is let-bound.
6780
6781 2012-09-28 Glenn Morris <rgm@gnu.org>
6782
6783 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6784
6785 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6786 Only "cl.el" counts as cl these days.
6787
6788 2012-09-28 Juri Linkov <juri@jurta.org>
6789
6790 Display archive errors in the echo area instead of inserting
6791 to the file buffer.
6792
6793 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6794 to STDERR-TEST that can be a regexp matching a successful output.
6795 Create a temporary file and redirect stderr to it. Search for
6796 STDERR-TEST in the stderr output and display it in the echo area
6797 if no match is found.
6798 (archive-extract-by-file): New function like
6799 `archive-extract-by-stdout' but extracting archives to files
6800 and looking for successful matches in stdout. Function body is
6801 mostly copied from `archive-rar-extract'.
6802 (archive-rar-extract): Use `archive-extract-by-file'.
6803 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6804
6805 2012-09-28 Leo Liu <sdl.web@gmail.com>
6806
6807 * pcomplete.el (pcomplete-show-completions):
6808 Use minibuffer-message to make pcomplete usable in minibuffer.
6809
6810 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6811
6812 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * type-break.el: Use lexical-binding.
6815 (type-break-mode): Use define-minor-mode.
6816
6817 * emacs-lisp/pcase.el (pcase--mark-used): New.
6818 (pcase--u1): Use it (bug#12512).
6819
6820 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6821 in load-history with the right file name.
6822
6823 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6824
6825 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6826 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6827 (doc-view-get-bounding-box): Make bounding box slicing work for
6828 ODF and DVI documents.
6829
6830 2012-09-28 Glenn Morris <rgm@gnu.org>
6831
6832 * type-break.el (type-break-mode, type-break-interval)
6833 (type-break-good-rest-interval, type-break-keystroke-threshold):
6834 No need to autoload.
6835 (type-break-good-rest-interval, type-break-keystroke-threshold):
6836 Add :set-after.
6837
6838 2012-09-28 Chong Yidong <cyd@gnu.org>
6839
6840 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6841 Add :version tag.
6842
6843 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6846
6847 2012-09-27 Glenn Morris <rgm@gnu.org>
6848
6849 * faces.el (x-display-name): Declare (for without-x builds).
6850
6851 * linum.el (linum-format): Don't autoload it. Improve :type.
6852
6853 * progmodes/tcl.el: Don't require outline when compiling.
6854 (outline-regexp, outline-level): Declare.
6855 * textmodes/sgml-mode.el: Don't require outline when compiling.
6856 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6857
6858 * term.el (term-ansi-reset):
6859 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6860
6861 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6862 files for RCS and SCCS. (Bug#9781)
6863
6864 2012-09-27 Chong Yidong <cyd@gnu.org>
6865
6866 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6867 change; value should be t.
6868
6869 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * image-mode.el: Use lexical-binding.
6872 (image-mode-winprops): Use t to stand for the window of
6873 a buffer that's not displayed.
6874 * doc-view.el (doc-view-new-window-function): Handle the new
6875 t in winprops.
6876 (doc-view-enlarge): Make it a real nop if the size is not changed.
6877 (doc-view-display): Handle the case where the buffer is not (yet?)
6878 displayed in any window.
6879 (doc-view-saved-settings): New var.
6880 (doc-view-mode): Use it.
6881 (doc-view-fallback-mode): Set it.
6882
6883 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6884 Set lexical-binding.
6885 (minibuffer-eldef-shorten-default): New var.
6886 (minibuffer-default-in-prompt-regexps): Use it for new default.
6887 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6888
6889 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * international/uni-bidi.el:
6892 * international/uni-category.el:
6893 * international/uni-name.el:
6894 * international/uni-numeric.el: Regenerate.
6895
6896 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6897 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * profiler.el: New file.
6900
6901 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6902
6903 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6904 (testcover-reinstrument): Simplify with CSE.
6905
6906 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6907
6908 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6909
6910 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6911
6912 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6913 (verilog-auto-input, verilog-auto-insert-lisp)
6914 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6915 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6916 (verilog-auto-unused, verilog-auto-wire)
6917 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6918 newline. Reported by Andrew Jones.
6919 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6920 Reported by Brad Dobbie.
6921 (verilog-batch-delete-trailing-whitespace):
6922 Create verilog-batch-delete-trailing-whitespace.
6923 Reported by Brad Dobbie.
6924 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6925 parameters from another module. Reported by Dan Katz.
6926 (verilog-auto, verilog-auto-assign-modport)
6927 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6928 AUTOINOUTMODPORT for UVM interface module shell generation.
6929 Reported by Brad Dobbie.
6930 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6931 standard behavior.
6932 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6933 Reported by Matt Martin.
6934
6935 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6936
6937 * window.el (window--resize-child-windows): When resizing child
6938 windows proportionally, process them in reverse order to
6939 preserve the "when splitting a window the new one gets the odd
6940 line" behavior.
6941 (window--resize-root-window-vertically): When resizing the
6942 minibuffer window try to affect only windows at the bottom of the
6943 frame. (Bug#12419)
6944
6945 2012-09-25 Chong Yidong <cyd@gnu.org>
6946
6947 * subr.el (declare): Doc fix.
6948
6949 * help-fns.el (help-fns--obsolete): Handle macros properly.
6950
6951 2012-09-25 Chong Yidong <cyd@gnu.org>
6952
6953 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6954 this function obsolete.
6955
6956 * calendar/cal-x.el (calendar-two-frame-setup)
6957 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6958 * calendar/calendar.el (american-calendar, european-calendar)
6959 (calendar-for-loop):
6960 * comint.el (comint-dynamic-simple-complete)
6961 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6962 * desktop.el (desktop-load-default):
6963 * dired-x.el (dired-omit-here-always)
6964 (dired-hack-local-variables, dired-default-directory):
6965 * emacs-lisp/derived.el (derived-mode-class):
6966 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6967 * emacs-lock.el (toggle-emacs-lock):
6968 * epa.el (epa-display-verify-result):
6969 * epg.el (epg-sign-keys, epg-start-sign-keys)
6970 (epg-passphrase-callback-function):
6971 * eshell/esh-util.el (eshell-for):
6972 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6973 (eshell-add-to-window-buffer-names):
6974 * files.el (locate-file-completion):
6975 * imenu.el (imenu-example--create-c-index)
6976 (imenu-example--create-lisp-index)
6977 (imenu-example--lisp-extract-index-name)
6978 (imenu-example--name-and-position):
6979 * international/mule-cmds.el (princ-list):
6980 * international/mule-diag.el (decode-codepage-char):
6981 * international/mule-util.el (detect-coding-with-priority):
6982 * iswitchb.el (iswitchb-read-buffer):
6983 * mail/mailalias.el (mail-complete):
6984 * mail/sendmail.el (mail-sent-via):
6985 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6986 (mouse-major-mode-menu):
6987 * password-cache.el (password-read-and-add):
6988 * pcomplete.el (pcomplete-parse-comint-arguments):
6989 * progmodes/sh-script.el (sh-maybe-here-document):
6990 * replace.el (query-replace-regexp-eval):
6991 * savehist.el (savehist-load):
6992 * simple.el (choose-completion-delete-max-match):
6993 * term.el (term-dynamic-simple-complete):
6994 * vc/ediff-init.el (ediff-check-version):
6995 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6996 * vc/vc.el (vc-diff-switches-list):
6997 * view.el (view-return-to-alist-update): Likewise.
6998
6999 * subr.el (eval-next-after-load, makehash, insert-string)
7000 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7001 mark obsolete.
7002 (mode-line-inverse-video): Variable deleted.
7003
7004 * international/mule-util.el (string-to-sequence): Remove.
7005
7006 * calendar/calendar.el (calendar-version):
7007 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7008 (icalendar-convert-diary-to-ical):
7009 * cus-edit.el (custom-mode):
7010 * ansi-color.el (ansi-color-unfontify-region):
7011 * international/latin1-disp.el (latin1-char-displayable-p):
7012 * progmodes/cwarn.el (turn-on-cwarn-mode):
7013 * progmodes/which-func.el (which-func-update-1):
7014 Use define-obsolete-function-alias.
7015
7016 * net/newst-backend.el (newsticker-cache-filename):
7017 * net/newst-treeview.el (newsticker-groups-filename):
7018 Fix incorrect obsolescence declaration.
7019
7020 * allout.el (allout-passphrase-hint-string): Likewise.
7021 (allout-init): Use a declare form to mark obsolete.
7022
7023 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7024 this applies to functions.
7025
7026 * iswitchb.el (iswitchb-read-buffer): Move code of
7027 iswitchb-define-mode-map here, and delete that obsolete function.
7028
7029 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7030 font-lock-reference-face.
7031
7032 2012-09-25 Glenn Morris <rgm@gnu.org>
7033
7034 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7035 Doc fixes.
7036
7037 * eshell/em-term.el (eshell-term-name):
7038 Default to term-term-name. (Bug#12485)
7039
7040 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7041
7042 * progmodes/python.el (python-shell-send-buffer): Better handling
7043 of "if __name__ == '__main__':" conditionals when sending the buffer.
7044
7045 2012-09-24 Glenn Morris <rgm@gnu.org>
7046
7047 * eshell/esh-cmd.el (eshell-find-alias-function):
7048 Tighten up file-name regexp. (Bug#12499)
7049
7050 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7051
7052 Enhancements for triple-quote string syntax.
7053 * progmodes/python.el (python-quote-syntax): Remove.
7054 (python-syntax-propertize-function): New value.
7055 (python-syntax-count-quotes, python-syntax-stringify):
7056 New functions.
7057
7058 2012-09-24 Chong Yidong <cyd@gnu.org>
7059
7060 * mail/supercite.el (sc-version): Remove obsolete function.
7061 (sc-describe): Don't mark as obsolete, since it is bound.
7062 (sc-submit-bug-report): Remove.
7063
7064 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7065 (cvs-commit-buffer-require-final-newline): Remove.
7066 (log-edit-require-final-newline)
7067 (log-edit-changelog-full-paragraphs): Default to t.
7068
7069 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7070 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7071 * vc/vc.el (vc-checkout-carefully): Likewise.
7072
7073 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7074 (emerge-version): Remove.
7075
7076 * progmodes/compile.el (compile-internal): Remove.
7077 (compilation-parse-errors-function): Fix typo.
7078
7079 * international/mule.el (set-char-table-default): Remove.
7080 (set-coding-priority, make-coding-system, generic-char-p)
7081 (charset-list, charset-bytes, charset-id): Use declare to mark
7082 functions as obsolete.
7083
7084 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7085 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7086 * vc/vc-hooks.el (vc-default-registered): Don't use
7087 vc-master-templates.
7088
7089 * font-lock.el (font-lock-reference-face):
7090 Use define-obsolete-variable-alias.
7091
7092 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7093 * calendar/calendar.el (calendar-font-lock-keywords):
7094 * calendar/diary-lib.el (diary-font-lock-keywords)
7095 (diary-fancy-font-lock-keywords):
7096 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7097 * textmodes/reftex-index.el (reftex-insert-index):
7098 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7099 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7100 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7101 * progmodes/prolog.el (prolog-font-lock-keywords):
7102 * progmodes/idlwave.el (idlwave-idl-keywords):
7103 * progmodes/ada-mode.el (ada-font-lock-keywords):
7104 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7105
7106 2012-09-24 Glenn Morris <rgm@gnu.org>
7107
7108 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7109
7110 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7111
7112 * progmodes/python.el (python-indent-line): More consistent cursor
7113 movement behavior.
7114
7115 2012-09-23 Stefan Merten <smerten@oekonux.de>
7116
7117 * textmodes/rst.el: Fix compiler warning.
7118
7119 2012-09-23 Roland Winkler <winkler@gnu.org>
7120
7121 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7122 Transcribe also LaTeX hyphenation.
7123 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7124 bibtex-reformat-previous-options.
7125
7126 2012-09-23 Roland Winkler <winkler@gnu.org>
7127
7128 * proced.el (proced-renice-command): New variable.
7129 (proced-marked-processes): New function.
7130 (proced-with-processes-buffer): New macro.
7131 (proced-send-signal): Use them.
7132 (proced-renice): New command bound to r.
7133
7134 2012-09-23 Roland Winkler <winkler@gnu.org>
7135
7136 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7137 ibuffer-saved-filter-groups has one element, shortcut the call of
7138 completing-read. (Bug#12331)
7139
7140 2012-09-23 Chong Yidong <cyd@gnu.org>
7141
7142 * bindings.el (mode-line-toggle-read-only):
7143 * bs.el (bs-toggle-readonly):
7144 * buff-menu.el (Buffer-menu-toggle-read-only):
7145 * dired.el (dired-toggle-read-only):
7146 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7147
7148 2012-09-23 Chong Yidong <cyd@gnu.org>
7149
7150 * image.el (image-type-available-p): Adapt to init-image-library
7151 argument changes.
7152
7153 2012-09-22 Juri Linkov <juri@jurta.org>
7154
7155 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7156 `dired-toggle-read-only'. (Bug#12462)
7157
7158 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7159
7160 * subr.el (temp-output-buffer-show): New function.
7161 (with-output-to-temp-buffer): Call temp-output-buffer-show
7162 instead of internal-temp-output-buffer-show.
7163
7164 2012-09-22 Chong Yidong <cyd@gnu.org>
7165
7166 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7167 (Bug#12462).
7168
7169 * repeat.el (repeat): Doc fix (Bug#12348).
7170
7171 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7172 (Bug#10909).
7173
7174 * simple.el (shell-command-on-region): Doc fix.
7175 (read-only-mode): Doc fix.
7176
7177 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7178
7179 * emacs-lisp/timer.el (run-with-idle-timer)
7180 (timer-activate-when-idle): Warn against reinvoking an idle timer
7181 from within its own timer action. (Bug#12447)
7182
7183 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7184
7185 * cus-start.el (window-combination-limit): Add new optional
7186 values.
7187 * window.el (temp-buffer-window-show)
7188 (window--try-to-split-window): Handle new values of
7189 window-combination-limit (Bug#1806).
7190 (split-window): Test window-combination-limit for t instead of
7191 non-nil.
7192 (display-buffer-at-bottom): New buffer display action function.
7193 * help.el (temp-buffer-resize-regexps): New option.
7194 (temp-buffer-resize-mode): Rewrite doc-string.
7195 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7196 Don't resize reused window. Suggested by Glenn Morris.
7197
7198 2012-09-22 Stefan Merten <smerten@oekonux.de>
7199
7200 * textmodes/rst.el: Revamp section title faces.
7201 (rst-official-version)
7202 (rst-package-emacs-version-alist): Sync with official version
7203 V1.4.0.
7204 (rst-faces-defaults, rst-set-level-default)
7205 (rst-level-face-max, rst-level-face-base-color)
7206 (rst-level-face-base-light, rst-level-face-format-light)
7207 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7208 (rst-adornment-faces-alist): Match new setup.
7209 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7210 (rst-level-5, rst-level-6): New faces.
7211
7212 2012-09-22 Chong Yidong <cyd@gnu.org>
7213
7214 * simple.el (undo): Handle indirect buffers (Bug#8207).
7215
7216 2012-09-21 Leo Liu <sdl.web@gmail.com>
7217
7218 IDO: Disable match re-ordering for buffer switching.
7219 * ido.el (ido-buffer-disable-smart-matches): New variable.
7220 (ido-set-matches-1): Use it. (Bug#2042)
7221
7222 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7223
7224 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7225 Fix 2011-05-17 change. (Bug#12418)
7226
7227 2012-09-21 Leo Liu <sdl.web@gmail.com>
7228
7229 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7230
7231 2012-09-21 Glenn Morris <rgm@gnu.org>
7232
7233 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7234 Be more robust about locating simple.el.
7235
7236 2012-09-21 Glenn Morris <rgm@gnu.org>
7237
7238 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7239
7240 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7241
7242 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7243
7244 2012-09-20 Juri Linkov <juri@jurta.org>
7245
7246 * replace.el (query-replace-read-from): Use `read-regexp' instead
7247 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7248 (occur-read-primary-args): Use `read-regexp' instead of
7249 `read-string'.
7250 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7251 `read-from-minibuffer'.
7252 * isearch.el (isearch-occur): Use `read-regexp' instead of
7253 `read-string'.
7254 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7255 `read-from-minibuffer'.
7256 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7257 of `read-string'. (Bug#7567)
7258
7259 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7260 and allow accepting a list of strings prepended to a list of
7261 standard default values. Doc fix. (Bug#12321)
7262
7263 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7264
7265 * replace.el (read-regexp): Don't add ": " when PROMPT already
7266 ends with a colon and space. (Bug#12321)
7267
7268 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7269
7270 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7271 error.
7272
7273 2012-09-20 Stefan Merten <smerten@oekonux.de>
7274
7275 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7276 Fixes feature request bug#11711.
7277 (rst-mode): Create `imenu-create-index-function'.
7278 (rst-get-stripped-line): Delete after refactoring.
7279 (rst-section-tree, rst-section-tree-rec)
7280 (rst-section-tree-point): Refactor and document properly.
7281 (rst-imenu-find-adornments-for-position)
7282 (rst-imenu-convert-cell, rst-imenu-create-index):
7283 New function.
7284
7285 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7288 (macroexp--expand-all): Use it.
7289 (macroexp--funcall-and-return): Remove by folding it into its sole
7290 caller (macroexp--warn-and-return).
7291 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7292 Use macroexp--obsolete-warning.
7293
7294 * calc/calc.el: Fix last change by removing the whole chunk, since it
7295 was only needed back when Calc was not bundled.
7296
7297 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7298
7299 * emacs-lisp/debug.el (debug): Restore assignment to
7300 debugger-old-buffer removed on 2012-09-08.
7301
7302 2012-09-20 Juri Linkov <juri@jurta.org>
7303
7304 * dired-aux.el (dired-diff): Remove (require 'diff) since
7305 `diff-latest-backup-file' is now autoloaded.
7306
7307 2012-09-20 Chong Yidong <cyd@gnu.org>
7308
7309 * vc/diff.el (diff-latest-backup-file): Autoload.
7310
7311 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * calc/calc.el: Remove redundant autoload shape check.
7314 (sel-mode): Don't defvar.
7315 (calc-get-stack-element): Add `sel-mode' arg instead.
7316 (calc-top, calc-top-list): Pass it this additional argument.
7317 * calc/calc-store.el (calc-store-map):
7318 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7319 (calc-map-equation, calc-outer-product, calc-inner-product):
7320 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7321
7322 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7323
7324 2012-09-19 Juri Linkov <juri@jurta.org>
7325
7326 * dired-aux.el (dired-diff): Add (require 'diff) because
7327 `diff-latest-backup-file' is not autoloaded.
7328 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7329 of `dired-get-filename' to t to not report error when there is
7330 no default file on the current line.
7331
7332 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7335 macroexp--eval-if-compile.
7336 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7337 (macroexp--expand-all): Use them (bug#12371).
7338
7339 * doc-view.el (doc-view-guess-paper-size)
7340 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7341
7342 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7343
7344 New feature: set optimal slice from BoundingBox information.
7345 * doc-view.el (doc-view-mode-map): Add keybinding.
7346 (doc-view-menu): Add menu entry.
7347 (doc-view-set-slice): Adapt docstring.
7348 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7349 (doc-view-scale-bounding-box)
7350 (doc-view-set-slice-from-bounding-box): New functions.
7351 (doc-view-paper-sizes): New defvar.
7352
7353 2012-09-19 Glenn Morris <rgm@gnu.org>
7354
7355 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7356 (byte-compile-log-warning): Autoload. (Bug#12371)
7357
7358 * calendar/calendar.el (calendar-american-month-header)
7359 (calendar-european-month-header, calendar-iso-month-header)
7360 (calendar-month-header): New options.
7361 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7362 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7363
7364 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7365
7366 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7367
7368 2012-09-18 Juri Linkov <juri@jurta.org>
7369
7370 * dired-aux.el (dired-diff): Restore original functionality of
7371 getting the default value, but keep new feature of using the
7372 latest existing backup file (`diff-latest-backup-file').
7373
7374 2012-09-18 Juri Linkov <juri@jurta.org>
7375
7376 * dired.el (dired-mark): If the region is active in Transient Mark
7377 mode, mark all files in the active region. Doc fix.
7378 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7379 Doc fix. (Bug#10624)
7380
7381 2012-09-18 Juri Linkov <juri@jurta.org>
7382
7383 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7384 attributes for M-n are pulled from the file at point.
7385 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7386 Suggested by Drew Adams. (Bug#10624)
7387
7388 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7389
7390 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7391 whitespace after "end".
7392 (ruby-do-end-to-brace): Collapse block to one line if it fits
7393 within fill-column.
7394
7395 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7396
7397 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7398 value.
7399 (debug): Don't remove debugger window when debugger is expected
7400 to be back.
7401
7402 2012-09-18 Chong Yidong <cyd@gnu.org>
7403
7404 * custom.el (defface): Doc fix.
7405
7406 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7407
7408 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7409
7410 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7411 to initialize query-on-exit; then test that instead (bug#12288).
7412
7413 2012-09-17 Stefan Merten <smerten@oekonux.de>
7414
7415 * textmodes/rst.el: Add support for `testcover'.
7416 (rst-defcustom-testcover, rst-testcover-add-compose)
7417 (rst-testcover-add-1value): New functions.
7418 (rst-portable-mark-active-p): Replace by `use-region-p'.
7419 (rst-update-section, rst-classify-adornment)
7420 (rst-find-title-line): Mark `1value' forms.
7421 (rst-classify-adornment): Remove superfluous form.
7422 (rst-update-section, rst-get-adornments-around)
7423 (rst-adornment-complete-p, rst-get-next-adornment)
7424 (rst-adjust, rst-promote-region)
7425 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7426 (rst-find-pfx-in-region, rst-section-tree-rec)
7427 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7428 (rst-toc-node, rst-toc, rst-forward-section)
7429 (rst-iterate-leftmost-paragraphs)
7430 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7431 (rst-bullet-list-region)
7432 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7433 (rst-compile-find-conf, rst-compile)
7434 (rst-repeat-last-character): Fix style.
7435
7436 2012-09-17 Chong Yidong <cyd@gnu.org>
7437
7438 * comint.el (comint--complete-file-name-data): Don't add a space
7439 if the status is `sole'; that adds a gratuitous space in the
7440 completion-cycling case (Bug#12092).
7441
7442 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7443
7444 2012-09-17 Richard Stallman <rms@gnu.org>
7445
7446 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7447 only in the mime-shown mode, not in raw mode.
7448 (rmail-mime): Toggle off mime by displaying the message without
7449 mime processing. (Bug#12305)
7450
7451 * mail/rmail.el (rmail-retry-failure):
7452 Turn off mime processing first. (Bug#12037)
7453
7454 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7455
7456 2012-09-17 Chong Yidong <cyd@gnu.org>
7457
7458 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7459 (shell-dynamic-complete-functions): Convert to defcustom.
7460 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7461
7462 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7463 * comint.el (comint-prompt-read-only):
7464 * custom.el (defcustom):
7465 * hi-lock.el (hi-lock-mode):
7466 * ibuffer.el (ibuffer-formats):
7467 * ielm.el (ielm-prompt-read-only):
7468 * novice.el (disable-command):
7469 * saveplace.el (toggle-save-place):
7470 * speedbar.el (speedbar-supported-extension-expressions):
7471 * startup.el (auto-save-list-file-prefix, init-file-user)
7472 (after-init-hook, inhibit-startup-echo-area-message):
7473 * strokes.el (strokes-help):
7474 * time-stamp.el (time-stamp):
7475 * calendar/calendar.el (calendar, diary-file):
7476 * calendar/diary-lib.el (diary-mail-entries, diary)
7477 (diary-list-entries-hook):
7478 * calendar/holidays.el (holidays, calendar-holidays):
7479 * calendar/lunar.el (lunar-phases):
7480 * calendar/solar.el (sunrise-sunset):
7481 * emulation/edt.el (edt-load-keys):
7482 * emulation/viper.el (viper-mode):
7483 * eshell/em-alias.el (eshell-command-aliases-list):
7484 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7485 * international/ogonek.el (ogonek-information):
7486 * net/tramp-cmds.el (tramp-bug):
7487 * net/quickurl.el (quickurl-reread-hook-postfix):
7488 * play/decipher.el (decipher-font-lock-keywords):
7489 * progmodes/cc-styles.el (c-set-style):
7490 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7491 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7492 * progmodes/octave-mod.el (octave-mode):
7493 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7494 * progmodes/verilog-mode.el (verilog-read-defines):
7495 * textmodes/two-column.el (2C-mode): Likewise.
7496
7497 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7498
7499 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7500 that holds many addresses.
7501
7502 2012-09-16 Chong Yidong <cyd@gnu.org>
7503
7504 * align.el (align-areas): Call the indication function with
7505 positions instead of markers for arguments (Bug#12343).
7506
7507 * files.el (parse-colon-path): Use split-string (Bug#12351).
7508
7509 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7510 (display-buffer-function): Mark as obsolete.
7511
7512 * progmodes/compile.el (compilation-parse-errors): Accept list
7513 values similar to font-lock-keywords (Bug#12136).
7514 Suggested by Oleksandr Manzyuk.
7515 (compilation-error-regexp-alist): Doc fix.
7516
7517 2012-09-15 Glenn Morris <rgm@gnu.org>
7518
7519 * version.el (emacs-bzr-version-bzr): New function.
7520 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7521
7522 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7523 checkouts, check the parent dirstate matches the branch.
7524 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7525 empty string.
7526
7527 * version.el (emacs-bzr-version): Doc fix.
7528 (emacs-bzr-version-dirstate): New function.
7529 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7530 is local try and check that it matches the branch. If not, just
7531 use dirstate information. (Bug#12441)
7532
7533 2012-09-14 Juri Linkov <juri@jurta.org>
7534
7535 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7536 (Bug#12399)
7537
7538 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7541
7542 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7543 Remove obsolete byte-compiler hack that tried to silence some warnings.
7544 (edebug-submit-bug-report): Remove.
7545 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7546 Remove aliases, use the un-prefixed name instead.
7547 (edebug-pop-to-buffer): Consider other frames.
7548 (edebug-original-read):: Make it more obvious that it's always defined.
7549 (edebug--make-form-data-entry, edebug--form-data-name)
7550 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7551 single-dashed name, and implement with cl-defstruct.
7552 (edebug-set-form-data-entry): Use the standard accessors.
7553 (edebug-make-top-form-data-entry): Use push.
7554 (edebug-no-match): Drop useless `funcall'.
7555 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7556 to functions.
7557 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7558 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7559 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7560 (easy-menu-define, with-custom-print): Remove redundant specs.
7561 (edebug-outside-overriding-local-map)
7562 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7563 (edebug--display): Bind unread-command-events directly to nil rather
7564 than binding it to unread-command-events and later setting it to nil.
7565 (edebug--display): Kill edebug-eval-buffer here...
7566 (edebug--recursive-edit): ...rather than here.
7567 Bind standard-output and standard-input.
7568 (edebug-eval): Check cl-macroexpand-all is fboundp.
7569 (edebug-temp-display-freq-count): Fix last change.
7570
7571 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7572 * subr.el (noreturn, 1value): Add `debug' spec.
7573 * emacs-lisp/advice.el: Require cl-lib.
7574 (ad-copy-tree): Remove, use copy-tree instead.
7575 (ad-dolist): Remove use dolist or cl-dolist instead.
7576 (ad-do-return): Remove, use cl-return instead.
7577 (defadvice): Add `debug' spec.
7578
7579 2012-09-13 Juri Linkov <juri@jurta.org>
7580
7581 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7582 (Bug#12399)
7583
7584 2012-09-13 Glenn Morris <rgm@gnu.org>
7585
7586 * calc/calc.el (math-compose-expr):
7587 * calc/calc-ext.el (math-compose-expr):
7588 * progmodes/cc-defs.el (cl-macroexpand-all):
7589 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7590 (cl-macroexpand-all): Update declarations.
7591
7592 * vc/vc.el: No need to require ediff.
7593 (ediff-load-version-control): Declare.
7594 (ediff-vc-internal): Fix declaration.
7595 (vc-version-ediff): Require ediff.
7596
7597 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7598
7599 Use a more backwards-compatible timer format (Bug#12430).
7600 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7601 being right after USECS, as that better supports old code that
7602 inadvisedly looked directly at the timer vector.
7603
7604 2012-09-13 Kenichi Handa <handa@gnu.org>
7605
7606 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7607 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7608 `coding-priority' property of these language environment.
7609
7610 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7611
7612 Fix glitches caused by addition of psec to timers (Bug#12430).
7613 * image.el (image-animate-timer):
7614 * time.el (display-time-world-timer):
7615 Use timer--function and timer--args rather than raw access to
7616 timer vector.
7617
7618 2012-09-13 Glenn Morris <rgm@gnu.org>
7619
7620 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7621 If not compiling a file, try using load-file-name.
7622
7623 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7626 Fix last change.
7627 (edebug-update-eval-list): Use `push'.
7628
7629 * emacs-lisp/edebug.el: Use lexical-binding.
7630 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7631 Mark unused args with underscore.
7632 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7633 (edebug-form-data): Use defvar-local.
7634 (edebug-make-before-and-after-form, edebug-make-after-form):
7635 Use backquote.
7636 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7637 Not dynamically scoped any more.
7638 (edebug--enter-trace): Add arguments `function' and `args'.
7639 Rename from edebug-enter-trace.
7640 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7641 (edebug--update-coverage): Add `after-index' and `value' args.
7642 Rename from edebug-update-coverage.
7643 (edebug-slow-after): Call it accordingly.
7644 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7645 edebug-recursive-edit.
7646 (edebug--display): Call it accordingly. Add args `value',
7647 `offset-index', and `arg-mode'. Rename from edebug-display.
7648 (edebug-debugger, edebug): Call it accordingly.
7649 (edebug-eval-display-list): Use dolist.
7650
7651 2012-09-12 Juri Linkov <juri@jurta.org>
7652
7653 * info.el (Info-search): Don't check for isearch-mode and
7654 isearch-regexp before let-binding search-spaces-regexp to
7655 Info-search-whitespace-regexp.
7656 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7657 search-whitespace-regexp if isearch-lax-whitespace or
7658 isearch-regexp-lax-whitespace is non-nil.
7659 (Info-mode): Don't set local variable search-whitespace-regexp.
7660 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7661
7662 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7665 (debugger-env-macro): Remove support for unread-command-char.
7666
7667 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7668 the temporary map re-appearing on emulation-mode-map-alists.
7669
7670 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7671 since 22.1.
7672
7673 * ehelp.el (with-electric-help): Accept functions in
7674 electric-help-form-to-execute.
7675 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7676 And replace unread-command-char -> unread-command-events.
7677
7678 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7679
7680 Sync with Tramp 2.2.6.
7681
7682 * net/tramp.el (tramp-accept-process-output): Don't use
7683 JUST-THIS-ONE in the XEmacs case.
7684
7685 * net/trampver.el: Update release number.
7686
7687 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7688
7689 * emacs-lisp/debug.el (debugger-previous-window-height):
7690 New variable.
7691 (debug): When debugger-jumping-flag is non-nil try to restore
7692 height of debugger window. (Bug#8789)
7693
7694 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7697 overriding-local-map and pre/post-command-hook here.
7698 (edebug-recursive-edit): Do it here instead (bug#12345).
7699 (edebug-outside-unread-command-char): Remove all uses of
7700 unread-command-char.
7701
7702 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7703 inhibit-debugger is bound instead.
7704
7705 2012-09-11 Bastien Guerry <bzg@gnu.org>
7706
7707 * subr.el (set-temporary-overlay-map): Add a docstring.
7708 (Bug#12346)
7709
7710 2012-09-11 Bastien Guerry <bzg@gnu.org>
7711
7712 * minibuffer.el (completion-table-subvert): Fix docstring.
7713 (Bug#12347)
7714
7715 2012-09-11 Bastien Guerry <bzg@gnu.org>
7716
7717 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7718
7719 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7720
7721 * progmodes/sql.el: Version 3.1
7722 (sql-db2-escape-newlines): New variable.
7723 (sql-escape-newlines-filter): Use it.
7724
7725 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7728
7729 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7730
7731 * vc/diff-mode.el (diff-mode-menu):
7732 Bind diff-remove-trailing-whitespace.
7733
7734 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7737 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7738 (emacs-lisp-byte-code-mode): New functions.
7739 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7740 (eval-defun-2): Remove bogus interactive spec.
7741 (lisp-indent-line): Remove redundant whole-exp code, now done in
7742 indent-according-to-mode.
7743 (save-match-data): Remove redundant indent data.
7744
7745 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7746 Use `declare'.
7747
7748 2012-09-09 Juri Linkov <juri@jurta.org>
7749
7750 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7751 (replace-lax-whitespace, query-replace-regexp)
7752 (query-replace-regexp-eval, replace-regexp): Doc fix.
7753 (perform-replace, replace-highlight): Let-bind
7754 isearch-lax-whitespace to replace-lax-whitespace and
7755 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7756
7757 * isearch.el (isearch-query-replace): Let-bind
7758 replace-lax-whitespace to isearch-lax-whitespace and
7759 replace-regexp-lax-whitespace to
7760 isearch-regexp-lax-whitespace. (Bug#10885)
7761
7762 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7765
7766 2012-09-09 Alan Mackenzie <acm@muc.de>
7767
7768 * progmodes/cc-engine.el (c-state-cache-init):
7769 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7770 (c-record-parse-state-state):
7771 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7772
7773 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7774
7775 * register.el (register-separator): Rename from
7776 separator-register. All uses changed. Doc fix.
7777 (register): Fix version.
7778
7779 2012-09-09 Chong Yidong <cyd@gnu.org>
7780
7781 * replace.el (query-replace-map): Bind four new symbols for
7782 requesting window scrolling.
7783
7784 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7785 query-replace-map (Bug#8948).
7786
7787 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7788
7789 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7790 since they are now in query-replace-map.
7791
7792 * window.el (scroll-other-window-down): Make the arg optional.
7793
7794 2012-09-09 Chong Yidong <cyd@gnu.org>
7795
7796 * files.el (hack-local-variables-confirm): Use quit-window to kill
7797 the *Local Variables* buffer.
7798
7799 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7800
7801 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7802 not just expect to be at its beginning. Adjust callees.
7803 Succeed when do-end block has no space before the pipe character.
7804 (ruby-brace-to-do-end): When the original block is one-liner,
7805 convert to multiline. Reindent the result.
7806
7807 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7808
7809 * register.el (register): New group.
7810 (separator-register): New user option.
7811 (increment-register): Route it to `append-to-register', if
7812 register contains text. Implication is that `C-x r +' can now be
7813 used for appending to a text register (bug#12217).
7814 (append-to-register, prepend-to-register): Add separator based on
7815 `separator-register'.
7816
7817 2012-09-08 Alan Mackenzie <acm@muc.de>
7818
7819 AWK Mode: make auto-newline work when there's "==" in the pattern.
7820 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7821 correctly.
7822 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7823 Test more rigorously for "=" token.
7824
7825 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7826
7827 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7828 Only fail when reached LIMIT.
7829
7830 2012-09-08 Chong Yidong <cyd@gnu.org>
7831
7832 * dired.el (dired-mode-map): Don't bind M-=.
7833
7834 * dired-aux.el (dired-diff): Use backup file as default.
7835
7836 2012-09-08 Drew Adams <drew.adams@oracle.com>
7837
7838 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7839
7840 2012-09-08 Chong Yidong <cyd@gnu.org>
7841
7842 * subr.el (syntax-after, syntax-class): Doc fix.
7843
7844 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7845
7846 * window.el (display-buffer-in-previous-window): New buffer
7847 display action function.
7848
7849 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7850 (debugger-previous-window): New variable.
7851 (debug): Rewrite using display-buffer-in-previous-window,
7852 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7853
7854 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7855
7856 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7857
7858 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7859
7860 * progmodes/python.el (python-shell-send-string):
7861 When default-directory is remote, create temp file on remote
7862 filesystem.
7863 (python-shell-send-file): When file is remote, pass local view of
7864 file paths to remote Python interpreter. (Bug#12340)
7865
7866 2012-09-07 Chong Yidong <cyd@gnu.org>
7867
7868 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7869
7870 * files.el (after-find-file): Don't fail on a read-only buffer if
7871 require-final-newline is `visit' or `visit-save' (Bug#11156).
7872
7873 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7874
7875 * userlock.el (ask-user-about-supersession-threat):
7876 Use read-char-choice (Bug#12093).
7877
7878 2012-09-07 Chong Yidong <cyd@gnu.org>
7879
7880 * subr.el (buffer-narrowed-p): New function.
7881
7882 * ses.el (ses-widen):
7883 * simple.el (count-words--buffer-message):
7884 * net/browse-url.el (browse-url-of-buffer): Use it.
7885
7886 * simple.el (count-words-region): Don't signal an error if there
7887 is a non-nil prefix arg and the mark is not set.
7888
7889 * help.el (describe-key-briefly): Allow the message to be seen
7890 when invoked from the minibuffer (Bug#7014).
7891
7892 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7893
7894 * progmodes/ruby-mode.el (ruby-end-of-defun)
7895 (ruby-beginning-of-defun): Simplify, allow indentation before
7896 block beginning and end keywords.
7897 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7898 (ruby-end-of-defun): Expect that the point is at the beginning of
7899 the defun.
7900
7901 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7904 (bug#12367).
7905 (cl--make-usage-args): Strip _ from argument names.
7906
7907 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7908
7909 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7910 obsolete alias speedbar-key-map.
7911 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7912 (vhdl-index-menu-init): Don't use obsolete variable
7913 font-lock-maximum-size.
7914
7915 2012-09-06 Chong Yidong <cyd@gnu.org>
7916
7917 * frame.el (window-system-version): Mark as obsolete.
7918
7919 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7920 of obsolete variable speedbar-key-map.
7921
7922 2012-09-06 Juri Linkov <juri@jurta.org>
7923
7924 * replace.el (replace-lax-whitespace): New defcustom.
7925 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7926 (replace-string, replace-regexp): Mention it in docstrings.
7927 (perform-replace, replace-highlight): Let-bind
7928 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7929 to the values of replace-lax-whitespace and regexp-flag.
7930 Don't let-bind search-whitespace-regexp. (Bug#10885)
7931
7932 * isearch.el (isearch-query-replace): Let-bind
7933 replace-lax-whitespace instead of let-binding
7934 replace-search-function and replace-re-search-function.
7935 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7936 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7937 (isearch-toggle-symbol): Set isearch-regexp to nil
7938 in isearch-word mode (like in isearch-toggle-word).
7939
7940 2012-09-06 Juri Linkov <juri@jurta.org>
7941
7942 * replace.el (replace-search-function)
7943 (replace-re-search-function): Set default values to nil.
7944 (perform-replace): Let-bind isearch-related variables based on
7945 replace-related values, call `isearch-search-fun' and let-bind
7946 the result to `search-function'. Remove code that sets
7947 `search-function' and `search-string' separately for
7948 `delimited-flag'.
7949 (replace-highlight): Add new argument `delimited-flag' and
7950 rename other arguments to the names used in `perform-replace'.
7951 Let-bind `isearch-word' to the argument `delimited-flag'.
7952 (Bug#10885, bug#10887)
7953
7954 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7955
7956 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7957 ruby-beginning-of-indent, simplify, allow all keywords to have
7958 indentation before them.
7959 (ruby-beginning-of-indent): Adjust for above. Search until the
7960 found point is not inside a string or comment.
7961 (ruby-font-lock-keywords): Allow symbols to start with "@"
7962 character, give them higher priority than variables.
7963 (ruby-syntax-propertize-function)
7964 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7965 matchers. Expression expansions are not comments when inside a
7966 string, and there comment syntax status is irrelevant.
7967 (ruby-match-expression-expansion): New function. Check that
7968 expression expansion is inside a string, and it's not escaped.
7969 (ruby-font-lock-keywords): Use it.
7970
7971 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7972
7973 * help.el (temp-buffer-max-height): New default value.
7974 (temp-buffer-resize-frames): New option.
7975 (resize-temp-buffer-window): Optionally resize frame.
7976
7977 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7978 (fit-frame-to-buffer): New function.
7979
7980 2012-09-05 Glenn Morris <rgm@gnu.org>
7981
7982 * emulation/cua-rect.el (cua--init-rectangles):
7983 * textmodes/picture.el (picture-mode-map):
7984 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7985 like forward-char and backward-char. (Bug#12317)
7986
7987 2012-09-05 Leo Liu <sdl.web@gmail.com>
7988
7989 * progmodes/flymake.el (flymake-warning-re): New variable.
7990 (flymake-parse-line): Use it.
7991
7992 2012-09-05 Glenn Morris <rgm@gnu.org>
7993
7994 * calendar/holidays.el (holiday-christian-holidays):
7995 Rename an entry. (Bug#12289)
7996
7997 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8000 (bug#12222).
8001
8002 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * loadup.el: Load macroexp. Remove hack.
8005 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8006 (macroexp--expand-all): Use it to get better warnings.
8007 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8008 (internal-macroexpand-for-load): New functions.
8009 (macroexp--pending-eager-loads): New var.
8010 (emacs-startup-hook): New hack to replace one in loadup.el.
8011 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8012 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8013 (cl-psetf): Simplify.
8014 (cl-defstruct): Add indent rule.
8015
8016 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8017
8018 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8019 over `user-mail-address' for the SMTP MAIL FROM envelope.
8020 (smtpmail-via-smtp): Ditto.
8021
8022 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8023
8024 * progmodes/ruby-mode.el: Clean up keybindings.
8025 (ruby-mode-map): Don't bind ruby-electric-brace,
8026 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8027 backward-kill-word, reindent-then-newline-and-indent.
8028 (ruby-mark-defun): Remove.
8029 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8030 (ruby-mode): Set local beginning-of-defun-function and
8031 end-of-defun-function values.
8032
8033 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8034
8035 * window.el (temp-buffer-window-setup-hook)
8036 (temp-buffer-window-show-hook): New hooks.
8037 (temp-buffer-window-setup, temp-buffer-window-show)
8038 (with-temp-buffer-window): New functions.
8039 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8040 (special-display-popup-frame): Make sure the window used shows BUFFER.
8041
8042 * help.el (temp-buffer-resize-mode): Fix doc-string.
8043 (resize-temp-buffer-window): New optional argument WINDOW.
8044
8045 * files.el (recover-file, save-buffers-kill-emacs):
8046 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8047
8048 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8049
8050 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8051 remote definition of `default-directory', ensure we can connect.
8052
8053 2012-09-02 Juri Linkov <juri@jurta.org>
8054
8055 Toggle whitespace matching mode with M-s SPC.
8056 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8057
8058 * isearch.el (search-whitespace-regexp): Doc fix.
8059 Remove cons cell customization.
8060 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8061 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8062 New variables.
8063 (isearch-forward, isearch-forward-regexp): Doc fix.
8064 (isearch-toggle-lax-whitespace): New command.
8065 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8066 (re-search-forward-lax-whitespace)
8067 (re-search-backward-lax-whitespace): New functions.
8068 (isearch-whitespace-regexp): Remove function.
8069 (isearch-query-replace): Let-bind replace-search-function and
8070 replace-re-search-function.
8071 (isearch-occur): Let-bind search-spaces-regexp according to the
8072 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8073 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8074 condition for C-q SPC.
8075 (isearch-search-fun-default): Use new functions mentioned above.
8076 (isearch-search-forward, isearch-search-backward): Remove functions.
8077 (isearch-search): Don't let-bind search-spaces-regexp.
8078 (isearch-lazy-highlight-space-regexp): Remove variable.
8079 (isearch-lazy-highlight-lax-whitespace)
8080 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8081 (isearch-lazy-highlight-new-loop): Use them.
8082 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8083
8084 2012-09-02 Chong Yidong <cyd@gnu.org>
8085
8086 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8087
8088 2012-09-02 Glenn Morris <rgm@gnu.org>
8089
8090 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8091
8092 2012-09-01 Glenn Morris <rgm@gnu.org>
8093
8094 * term.el: Tidy up menu definitions.
8095 (term-mode-map): Use easymenu for In/Out, Complete menus.
8096 (term-pager-break-map): Initialize in the defvar.
8097 (term-terminal-menu, term-signals-menu): Define with easymenu.
8098 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8099 (term-pager-menu): New, extracted from term-process-pager.
8100 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8101 (term-update-mode-line): Propertize line/char and page items.
8102 (term-process-pager): Move keymap initialization elsewhere.
8103
8104 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8105
8106 * window.el (switch-to-prev-buffer): Handle additional values of
8107 BURY-OR-KILL argument. Don't switch in minibuffer window.
8108 (switch-to-next-buffer): Don't switch in minibuffer window.
8109 (quit-restore-window): New function based on quit-window.
8110 Handle additional values of former KILL argument.
8111 (quit-window): Call quit-restore-window with appropriate
8112 interpretation of KILL argument.
8113 (display-buffer-below-selected): New buffer display action
8114 function.
8115
8116 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * minibuffer.el (completion-at-point-functions): Complete docstring
8119 (bug#12254).
8120
8121 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8122
8123 Better seed support for (random).
8124 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8125 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8126 * play/mpuz.el, play/tetris.el, play/zone.el:
8127 * calc/calc-comb.el (math-init-random-base):
8128 * play/blackbox.el (bb-init-board):
8129 * play/life.el (life):
8130 * server.el (server-use-tcp):
8131 * type-break.el (type-break):
8132 Remove unnecessary call to (random t).
8133 * net/sasl.el (sasl-unique-id-function):
8134 Change (random t) to (random), now that the latter is more random.
8135 * play/life.el (life-initialized): Remove no-longer-needed var.
8136
8137 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8138
8139 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8140 Consider frame's buffer predicate when choosing the buffer.
8141 (Bug#12081)
8142
8143 2012-08-30 Richard Stallman <rms@gnu.org>
8144
8145 * simple.el (special-mode-map): Delete binding for `z'.
8146
8147 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8148
8149 * progmodes/compile.el (compilation-always-kill): Doc fix.
8150
8151 2012-08-30 Chong Yidong <cyd@gnu.org>
8152
8153 * window.el (display-buffer-reuse-frames): Make the obsolescence
8154 message more informative.
8155
8156 2012-08-30 Glenn Morris <rgm@gnu.org>
8157
8158 * paren.el (show-paren-delay):
8159 Add a :set function. Doc fix. (Bug#12297)
8160
8161 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8162
8163 * progmodes/compile.el (compilation-always-kill): New var.
8164 (compilation-start): Use it.
8165
8166 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8169 * files.el (read-only-mode): Move to simple.el.
8170
8171 * files.el (read-only-mode): New minor mode.
8172 (toggle-read-only): Use it and mark obsolete.
8173 (find-file--read-only):
8174 * vc/vc.el (vc-next-action, vc-checkout):
8175 * vc/vc-cvs.el (vc-cvs-checkout):
8176 * obsolete/vc-mcvs.el (vc-mcvs-update):
8177 * ffap.el (ffap--toggle-read-only): Update callers.
8178
8179 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8180
8181 * eshell/esh-ext.el (eshell-external-command): Do not examine
8182 remote shell scripts.
8183 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8184
8185 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8186 "/usr/local/sbin".
8187
8188 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8191
8192 2012-08-28 Leo Liu <sdl.web@gmail.com>
8193
8194 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8195 completion-at-point. (Bug#12220)
8196
8197 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8198
8199 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8200
8201 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8204 be buffer-local; add delete-trailing-whitespace (bug#12259).
8205
8206 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8207
8208 * progmodes/hideif.el (hif-compress-define-list):
8209 Fix typo. (Bug#11951)
8210
8211 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8212
8213 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8214 buffer local setting.
8215
8216 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8217 rcirc-encode-coding-system.
8218
8219 2012-08-28 Leo Liu <sdl.web@gmail.com>
8220
8221 * net/rcirc.el (rcirc-split-message): New function.
8222 (rcirc-send-message): Use it. (Bug#12051)
8223
8224 2012-08-28 Juri Linkov <juri@jurta.org>
8225
8226 * info.el (Info-fontify-node): Hide empty lines at the end of
8227 the node. (Bug#12272)
8228
8229 2012-08-27 Drew Adams <drew.adams@oracle.com>
8230
8231 * dired.el (dired-pop-to-buffer): Make window start at beginning
8232 of buffer (Bug#12281).
8233
8234 2012-08-26 Chong Yidong <cyd@gnu.org>
8235
8236 * window.el (special-display-regexps, special-display-frame-alist)
8237 (special-display-buffer-names, special-display-function)
8238 (display-buffer-reuse-frames): Mark as obsolete.
8239
8240 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8241
8242 * help.el (help-print-return-message): Don't treat
8243 display-buffer-reuse-frames specially.
8244
8245 2012-08-26 Chong Yidong <cyd@gnu.org>
8246
8247 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8248 New variable, replacing gdb-frame-parameters.
8249 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8250 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8251 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8252 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8253 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8254 the functions directly with gdb-display-buffer-other-frame-action.
8255 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8256 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8257 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8258 (gdb-display-registers-buffer): Define directly.
8259 (def-gdb-display-buffer): Macro deleted.
8260 (gdb-display-buffer): Remove second and third args, callers don't
8261 use them. Defer to the default display-buffer behavior, apart
8262 from making windows dedicated.
8263 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8264
8265 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8266
8267 * window.el (display-buffer-pop-up-frame): Handle a
8268 pop-up-frame-parameters alist entry.
8269 (display-buffer): Document it.
8270
8271 2012-08-26 Chong Yidong <cyd@gnu.org>
8272
8273 * isearch.el (search-whitespace-regexp): Make string and nil
8274 values apply to both ordinary and regexp search. Allow a cons
8275 cell value to distinguish between the two.
8276 (isearch-whitespace-regexp, isearch-search-forward)
8277 (isearch-search-backward): New functions.
8278 (isearch-occur, isearch-search-fun-default, isearch-search)
8279 (isearch-lazy-highlight-new-loop): Use them.
8280 (isearch-forward, isearch-forward-regexp): Doc fix.
8281
8282 2012-08-26 Chong Yidong <cyd@gnu.org>
8283
8284 * faces.el (help-argument-name): Always inherit from italic
8285 (Bug#12213).
8286
8287 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8288
8289 * window.el (window--even-window-heights): Even heights when
8290 WINDOW and the selected window form a vertical combination.
8291 (display-buffer-use-some-window): Provide that window used gets
8292 sized back by quit-window. (Bug#11880) and (Bug#12091)
8293
8294 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8295
8296 Fix file time stamp problem with bzr and CVS (Bug#12001).
8297 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8298 in the file's time stamp, since the version control system loses
8299 that information.
8300
8301 2012-08-22 Juri Linkov <juri@jurta.org>
8302
8303 * info.el (Info-fontify-node): Hide the suffix of the
8304 Info file name in the header line. (Bug#12187)
8305
8306 2012-08-22 Glenn Morris <rgm@gnu.org>
8307
8308 * calendar/cal-tex.el (cal-tex-weekly-common):
8309 Restore leading blank page.
8310
8311 2012-08-22 Le Wang <l26wang@gmail.com>
8312
8313 * misc.el (forward-to-word, backward-to-word): Activate or extend
8314 the region under `shift-select-mode'. (Bug#12231)
8315
8316 2012-08-22 Bastien Guerry <bzg@gnu.org>
8317
8318 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8319 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8320 gives details on why the space is never needed.
8321
8322 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8323
8324 * window.el (walk-window-tree, window-with-parameter):
8325 New optional argument MINIBUF to control whether these functions
8326 should run on the minibuffer window.
8327 (window-at-side-list): Don't operate on minibuffer window.
8328 (window-in-direction): Simplify and rewrite doc-string.
8329 (window--size-ignore): Rename to window--size-ignore-p.
8330 Update callers.
8331 (display-buffer-in-atom-window, window--major-non-side-window)
8332 (window--major-side-window, display-buffer-in-major-side-window)
8333 (delete-side-window, display-buffer-in-side-window):
8334 New functions.
8335 (window--side-check, window-deletable-p, delete-window)
8336 (delete-other-windows, split-window): Handle side windows and
8337 atomic windows appropriately.
8338 (window--display-buffer): Call display-buffer-record-window also
8339 when the window buffer did not change.
8340
8341 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8342
8343 * help-fns.el (help-fns--key-bindings):
8344 Abbreviate non-symbol remap targets. (Bug#12174)
8345
8346 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8347
8348 * dired.el (dired-mark-remembered): Don't clobber point.
8349 (Bug#11795)
8350
8351 2012-08-22 Glenn Morris <rgm@gnu.org>
8352
8353 * progmodes/bug-reference.el (bug-reference): New custom group.
8354 (bug-reference-bug-regexp): Make it a defcustom.
8355
8356 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8357
8358 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8359 (js-paren-indent-offset, js-square-indent-offset)
8360 (js-curly-indent-offset): Add :safe (Bug#12257).
8361
8362 2012-08-22 Edward O'Connor <hober0@gmail.com>
8363
8364 * json.el (json-key-format): Add error properties.
8365 (json-encode-key): New function.
8366 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8367 Use json-encode-key.
8368
8369 2012-08-22 Glenn Morris <rgm@gnu.org>
8370
8371 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8372 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8373 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8374 Update for above change.
8375
8376 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8377
8378 * cus-face.el (custom-face-attributes): Fix customize type for the
8379 :underline attribute. (Bug#11805)
8380
8381 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8382
8383 * window.el (window-point-1, set-window-point-1): Remove.
8384 (window-in-direction, record-window-buffer)
8385 (set-window-buffer-start-and-point, split-window-below)
8386 (window--state-get-1, display-buffer-record-window):
8387 Replace calls to window-point-1 and set-window-point-1 by calls to
8388 window-point and set-window-point respectively.
8389
8390 2012-08-21 Glenn Morris <rgm@gnu.org>
8391
8392 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8393 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8394 Use it.
8395
8396 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8397 (cal-tex-shortday): New function.
8398 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8399 (cal-tex-cursor-filofax-daily): Use the above.
8400
8401 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8402 New functions.
8403 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8404 (cal-tex-cursor-filofax-week): Use them.
8405
8406 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8407 New constants.
8408 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8409 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8410
8411 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8412 (cal-tex-end-document): Don't rely on buffer name.
8413
8414 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8415 Use cal-tex-vspace.
8416 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8417 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8418 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8419 Use cal-tex-arg.
8420
8421 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8422 (cal-tex-cursor-week, cal-tex-cursor-week2)
8423 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8424 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8425 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8426 (cal-tex-insert-preamble, cal-tex-b-document)
8427 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8428 Improve cal-tex-cmd usage.
8429
8430 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8431 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8432 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8433 (cal-tex-weekly-paper): New function.
8434 (cal-tex-cursor-week, cal-tex-cursor-week2)
8435 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8436 (cal-tex-cursor-day): Use it.
8437
8438 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8439 (cal-tex-cursor-filofax-week): Remove leading blank page.
8440
8441 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8442 Add autoload cookie. For now at least, don't use color, since
8443 no other cal-tex function does.
8444
8445 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8446 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8447 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8448
8449 2012-08-21 Juri Linkov <juri@jurta.org>
8450
8451 * info.el (Info-file-attributes): New variable.
8452 (info-insert-file-contents): Add file attributes to
8453 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8454 `Info-toc-nodes' when previous modtime of the Info file is less
8455 than new modtime.
8456 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8457 of info.el. (Bug#12230)
8458
8459 2012-08-20 Glenn Morris <rgm@gnu.org>
8460
8461 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8462 * calendar/holidays.el (calendar-holiday-list):
8463 Report errors with display-warning rather than beep'n'sleep.
8464
8465 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8466
8467 * net/tramp.el (tramp-accept-process-output): Accept only output
8468 from PROC. Otherwise, process filters and sentinels might be
8469 confused. (Bug#12145)
8470
8471 2012-08-20 Chong Yidong <cyd@gnu.org>
8472
8473 * descr-text.el (describe-text-properties-1): Use overlays-in to
8474 report on empty overlays (Bug#3322).
8475
8476 2012-08-20 Glenn Morris <rgm@gnu.org>
8477
8478 * mail/rmailout.el (rmail-output-read-file-name):
8479 Trap and report errors in rmail-output-file-alist elements.
8480
8481 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8482 since most non-font-lock faces are not also variables).
8483
8484 2012-08-20 Edward Reingold <reingold@iit.edu>
8485
8486 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8487 New function. (Bug12160)
8488
8489 2012-08-19 Glenn Morris <rgm@gnu.org>
8490
8491 * mail/rmailout.el (rmail-output-read-file-name):
8492 Fix previous change (when the alist is nil or does not match).
8493
8494 2012-08-19 Chong Yidong <cyd@gnu.org>
8495
8496 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8497 (Bug#12228).
8498
8499 2012-08-18 Chong Yidong <cyd@gnu.org>
8500
8501 * simple.el (yank-handled-properties): New defcustom.
8502 (yank-excluded-properties): Add font-lock-face and category.
8503 (yank): Doc fix.
8504
8505 * subr.el (remove-yank-excluded-properties):
8506 Obey yank-handled-properties. The special handling of font-lock-face
8507 and category is now done this way, instead of being hard-coded.
8508 (insert-for-yank-1): Remove font-lock-face handling.
8509 (yank-handle-font-lock-face-property)
8510 (yank-handle-category-property): New function.
8511
8512 2012-08-17 Glenn Morris <rgm@gnu.org>
8513
8514 * mail/rmailout.el (rmail-output-read-file-name):
8515 Check rmail-output-file-alist against the full message body
8516 in the correct rmail buffer. (Bug#12214)
8517
8518 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8519
8520 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8521 Eliminate superfluous prompt. (Bug#12203)
8522
8523 2012-08-17 Chong Yidong <cyd@gnu.org>
8524
8525 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8526 font spec, set the font directly (Bug#3228).
8527
8528 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8529
8530 * window.el (delete-window): Fix last fix.
8531
8532 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8533
8534 * window.el (window-valid-p): Move to window.c.
8535 (window-child, window-child-count, window-last-child)
8536 (window-normalize-window, window-combined-p)
8537 (window-combinations, window-atom-root, window-min-size)
8538 (window-sizable, window-sizable-p, window-size-fixed-p)
8539 (window-min-delta, window-max-delta, window--resizable)
8540 (window--resizable-p, window-resizable, window-total-size)
8541 (window-full-height-p, window-full-width-p, window-body-size)
8542 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8543 (minimize-window, window-deletable-p, delete-window)
8544 (delete-other-windows, set-window-buffer-start-and-point)
8545 (next-buffer, previous-buffer, split-window, balance-windows-2)
8546 (set-window-text-height, window-buffer-height)
8547 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8548 (truncated-partial-width-window-p): Minor code adjustments.
8549 In doc-strings state whether the argument window has to denote a
8550 live, valid or any window.
8551
8552 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8553
8554 * progmodes/subword.el (subword-forward-function)
8555 (subword-backward-function, subword-forward-regexp)
8556 (subword-backward-regexp): New variables.
8557 (subword-forward, subword-forward-internal, subword-backward-internal):
8558 Use new variables, eg so that different "word" definitions
8559 can be easily used. (Bug#11411)
8560
8561 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8564 for composite selectors.
8565 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8566 operation just because we can't find a previous revision.
8567
8568 2012-08-15 Chong Yidong <cyd@gnu.org>
8569
8570 * frame.el (set-frame-font): Accept font objects.
8571
8572 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8575
8576 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8577
8578 * man.el (Man-overstrike-face, Man-underline-face)
8579 (Man-reverse-face): Remove variables.
8580 (Man-overstrike, Man-underline, Man-reverse): New faces.
8581 (Man-fontify-manpage): Use them instead of the variables.
8582 (Man-cleanup-manpage): Comment change.
8583 (Man-ansi-color-map): New variable.
8584 (Man-fontify-manpage): Use it.
8585 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8586
8587 Implement ANSI SGR parameters 22-27 (bug#12146).
8588 * ansi-color.el (ansi-colors): Doc fix.
8589 (ansi-color-context, ansi-color-context-region): Doc fix.
8590 (ansi-color--find-face): New function.
8591 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8592 Rename the local variable `face' to `codes' since it is now a list of
8593 ansi codes. Doc fix.
8594 (ansi-color-get-face): Remove.
8595 (ansi-color-parse-sequence): New function, derived from
8596 ansi-color-get-face.
8597 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8598 codes 22-27.
8599
8600 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * subr.el (read-passwd): Allow use from a minibuffer.
8603
8604 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8605
8606 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8607 inside comments and strings as identifiers.
8608
8609 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8610 expression to evaluate. This allows to evaluate expressions with
8611 embedded whitespace.
8612 (gud-tooltip-tips): Add a blank before the newline in the
8613 message-box text, for the benefit of message-box emulation on
8614 MS-Windows.
8615
8616 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8617 messages from GDB, pop them up in a tooltip to give feedback to
8618 user.
8619 (gdb-tooltip-print-1): Quote the expression to evaluate.
8620 This allows to evaluate expressions with embedded whitespace.
8621 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8622 if the TTY name is nil or empty (which happens when communicating
8623 with the inferior via pipes, e.g. on MS-Windows).
8624 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8625 don't send that to the GUD buffer.
8626
8627 2012-08-14 Glenn Morris <rgm@gnu.org>
8628
8629 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8630 Optimize away setq-default with no args, as for setq. (Bug#12195)
8631
8632 2012-08-14 Chong Yidong <cyd@gnu.org>
8633
8634 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8635
8636 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8637 (Bug#12085).
8638
8639 2012-08-14 Glenn Morris <rgm@gnu.org>
8640
8641 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8642
8643 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8644
8645 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8646 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8647 Use cached shell name.
8648
8649 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8650
8651 * progmodes/python.el (python-shell-send-string):
8652 (python-shell-send-setup-code): Do not use `format' with `message'.
8653
8654 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8655
8656 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8657 (ruby-percent-literal-beg-re): New constant.
8658 (ruby-syntax-general-delimiters-goto-beg): Rename to
8659 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8660 (ruby-syntax-propertize-general-delimiters): Rename to
8661 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8662 popular term. Adjust comments everywhere.
8663 (ruby-syntax-propertize-percent-literal): Only propertize when not
8664 inside a simple string or comment. When the literal is unclosed,
8665 leave the text after it unpropertized.
8666 (ruby-syntax-methods-before-regexp): New constant.
8667 (ruby-syntax-propertize-function): Use it to recognize regexps.
8668 Don't look at the text after regexp, just use the whitelist.
8669
8670 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8671
8672 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8673 non-nil always load the compiled file if it exists. (Bug#12197)
8674
8675 2012-08-14 Chong Yidong <cyd@gnu.org>
8676
8677 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8678 (hi-lock-set-pattern): When deciding whether to use font lock or
8679 overlays, look at font-lock-mode instead of font-lock-fontified
8680 (Bug#12168).
8681 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8682 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8683
8684 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8685
8686 * subr.el (internal--after-with-selected-window): Fix typo
8687 (Bug#12193).
8688
8689 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8690
8691 Use `completion-table-dynamic' for completion functions.
8692 * progmodes/python.el
8693 (python-shell-completion--do-completion-at-point)
8694 (python-shell-completion--get-completions):
8695 Remove functions.
8696 (python-shell-completion-complete-at-point): New function.
8697 (python-completion-complete-at-point): Use it.
8698
8699 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8700
8701 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8702 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8703
8704 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * subr.el (function-get): Refine `autoload' arg so it can also
8707 autoload functions for gv.el (bug#12191).
8708 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8709 autoloads macros.
8710
8711 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8712 Prefer pcase-let over destructuring-bind.
8713 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8714 Also, remove whitespace as we go, rather than after accumulating the
8715 various places.
8716
8717 * subr.el (internal--before-with-selected-window)
8718 (internal--after-with-selected-window): Fix typo seleted->selected.
8719 (with-selected-window): Adjust callers.
8720 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8721
8722 2012-08-13 Bastien Guerry <bzg@gnu.org>
8723
8724 * window.el (special-display-popup-frame): Minor docstring
8725 enhancement. (Bug#12172)
8726
8727 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8728
8729 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8730 type 1-6.
8731 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8732 extended headers.
8733
8734 * files.el (hack-local-variables-filter): Remove useless eval.
8735
8736 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8737
8738 * subr.el (with-selected-window): Fix last change.
8739
8740 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * subr.el (internal--before-with-seleted-window)
8743 (internal--after-with-seleted-window): New functions.
8744 (with-selected-window): Use them, to replace dependency on
8745 tty-top-frame.
8746
8747 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8748
8749 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8750 binding for `newline'.
8751 (ruby-move-to-block): When moving backward, stop at block opening,
8752 not indentation.
8753 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8754 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8755 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8756 `ruby-toggle-block'.
8757
8758 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * ibuffer.el (ibuffer-do-toggle-read-only):
8761 * dired.el (dired-toggle-read-only):
8762 * buff-menu.el (Buffer-menu-toggle-read-only):
8763 * bindings.el (mode-line-toggle-read-only):
8764 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8765
8766 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8767
8768 * descr-text.el (describe-char): Put the overlays over the
8769 "displayed as" character.
8770
8771 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8772
8773 * calc/calc-units.el (math-default-units-table): Give an
8774 initial value.
8775 (math-put-default-units): Add options to put composite units and
8776 unit systems in the default units table.
8777 (calc-convert-units): Send composite units to
8778 `math-put-default-units' when appropriate.
8779
8780 2012-08-11 Glenn Morris <rgm@gnu.org>
8781
8782 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8783
8784 * tutorial.el (help-with-tutorial):
8785 * emacs-lisp/copyright.el (copyright-update-directory):
8786 * emacs-lisp/autoload.el (autoload-find-generated-file)
8787 (autoload-find-file): Disable local eval: (for insurance).
8788
8789 * files.el (hack-local-variables-filter): If an eval: form is not
8790 known to be safe, and enable-local-variables is :safe, then ignore
8791 the form totally, as is done for non-eval forms. (Bug#12155)
8792 This is CVE-2012-3479.
8793
8794 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8797 (rx-form): Simplify.
8798
8799 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8800
8801 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8802 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8803 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8804 (ruby-syntax-propertize-function): Adjust for changes in
8805 `ruby-syntax-propertize-heredoc'.
8806
8807 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8808
8809 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8810 binding (use `M-;' instead).
8811 (ruby-singleton-class-p): New function.
8812 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8813
8814 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8817
8818 2012-08-10 Chong Yidong <cyd@gnu.org>
8819
8820 * progmodes/python.el (python-shell-get-process-name): Don't mess
8821 with same-window-buffer-names.
8822
8823 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8824 (eshell-remove-from-window-buffer-names): Make obsolete.
8825 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8826 (eshell): Just use pop-to-buffer-same-window instead.
8827
8828 2012-08-10 Chong Yidong <cyd@gnu.org>
8829
8830 * bindings.el: Bind M-= back to count-words-region.
8831
8832 * simple.el (count-words-region): Accept a prefix arg for acting
8833 on the entire buffer.
8834 (count-words--buffer-message): New helper function.
8835
8836 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8839 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8840 (event-start, event-end): Use posn-at-point to return a more
8841 informative posn.
8842 (posnp): New function.
8843 * mouse.el (popup-menu-normalize-position): Use it.
8844
8845 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8846
8847 * mouse.el (popup-menu-normalize-position): New function.
8848 (popup-menu): Use `popup-menu-normalize-position' to normalize
8849 the form for POSITION argument.
8850
8851 * term/x-win.el (x-menu-bar-open):
8852 Use the value returend from (posn-at-point) as position
8853 passed to `popup-menu'.
8854
8855 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8856
8857 * calc/calccomp.el (math-compose-expr): Add extra argument
8858 indicating that parentheses should be put around products in
8859 denominators. Give multiplication precedence over division during
8860 composition.
8861
8862 2012-08-09 Chong Yidong <cyd@gnu.org>
8863
8864 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8865 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8866 (Man-untabify-command, manual-program): Convert to defcustom
8867 (Bug#10429).
8868
8869 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8870
8871 * descr-text.el (describe-char): Don't insert extra newlines
8872 (Bug#10127).
8873
8874 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8875 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8876
8877 * align.el (align-region): Delete temporary markers (Bug#10047).
8878 Plus some code cleanups.
8879
8880 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8881
8882 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8883 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8884 (python-shell-internal-last-output): Use make-local-variable
8885 instead of make-variable-buffer-local.
8886
8887 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8888
8889 * progmodes/python.el: Enhancements to forward-sexp.
8890 (python-nav-forward-sexp): Rename from
8891 python-nav-forward-sexp-function.
8892 (python-nav--forward-sexp, python-nav--backward-sexp):
8893 New functions.
8894
8895 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8896
8897 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8898 modes and simplification modes.
8899
8900 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * delsel.el (delete-selection-pre-hook): Don't propagate the
8903 file-supersession signals (bug#12161).
8904
8905 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8908 (cl-map-extents): Add compatibility aliases (bug#12135).
8909
8910 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8911
8912 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8913 tests by `ignore-error'.
8914 (tramp-find-shell): Open also a new shell, when cache is already
8915 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8916
8917 2012-08-08 Juri Linkov <juri@jurta.org>
8918
8919 * bookmark.el: Add `defaults' property to the bookmark record.
8920 (bookmark-current-buffer): Doc fix.
8921 (bookmark-make-record): Add `defaults' property with default values
8922 to the bookmark record.
8923 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8924 with `bookmark-insert-current-bookmark'.
8925 (bookmark-set): Get `defaults' property from the bookmark record
8926 and use it in `read-from-minibuffer'.
8927 (bookmark-insert-current-bookmark): Remove function.
8928
8929 * info.el (Info-bookmark-make-record): Add `defaults' property
8930 with values of canonical Info node name, the current Info file
8931 name and the current Info node name. (Bug#12107)
8932
8933 2012-08-08 Juri Linkov <juri@jurta.org>
8934
8935 * files.el (basic-save-buffer): Use `buffer-name' as the default
8936 of `read-file-name' when buffer is not visiting a file (bug#12128).
8937
8938 2012-08-08 Juri Linkov <juri@jurta.org>
8939
8940 * info.el (Info-isearch-search): Doc fix.
8941 (Info-search): Change search-failed message from "initial node" to
8942 "end of node" (bug#12078).
8943 (Info-isearch-search): Change `isearch-string-state' to
8944 `isearch--state-string'.
8945
8946 2012-08-08 Glenn Morris <rgm@gnu.org>
8947
8948 * language/persian.el: Remove file.
8949 * language/misc-lang.el: Move unique part of persian.el here.
8950 * loadup.el: Remove language/persian.
8951
8952 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8953
8954 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8955
8956 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8957
8958 * progmodes/python.el: Fix defsubst warning.
8959 (python-syntax-context) Rename from python-info-ppss-context.
8960 (python-syntax-context-type): Rename from
8961 python-info-ppss-context-type.
8962 (python-syntax-comment-or-string-p): Rename from
8963 python-info-ppss-comment-or-string-p.
8964
8965 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8966
8967 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8968
8969 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8970
8971 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8972 a defcustom that is quoted with backquote.
8973
8974 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8975 Fix handling of interactive spec when the body uses return.
8976 (math-do-arg-check, math-define-function-body): Use backquote forms.
8977 * calc/calc-ext.el (math-defcache): Likewise.
8978 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8979 * allout.el (allout-new-exposure): Likewise.
8980 * calc/calcalg2.el (math-tracing-integral): Likewise.
8981 * info.el (Info-last-menu-item): Likewise.
8982 * emulation/vip.el (vip-loop): Likewise.
8983 * textmodes/artist.el (artist-funcall): Likewise.
8984 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8985 Construct menu-item directly.
8986
8987 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8988 Don't declare.
8989
8990 2012-08-07 Chong Yidong <cyd@gnu.org>
8991
8992 * simple.el (deactivate-mark): Preserve text properties when
8993 saving the primary selection (Bug#8384).
8994
8995 2012-08-07 Kevin Ryde <user42@zip.com.au>
8996
8997 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8998 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8999 and continue processing (Bug#12110).
9000
9001 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9004 syntax-propertize-function (bug#10095).
9005
9006 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9009 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9010 describe-function-1.
9011 (describe-function-1): Use them. Move compiler macro after sig.
9012 (help-fns--compiler-macro): Use function-get. Assume we're already in
9013 standard-output. Adjust layout to new call order.
9014
9015 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9016 re-binding a symbol that has a symbol-macro (bug#12119).
9017
9018 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9019
9020 * language/persian.el: New file. (Bug#11812)
9021 * loadup.el: Add language/persian.el.
9022
9023 2012-08-06 Chong Yidong <cyd@gnu.org>
9024
9025 * window.el (window--maybe-raise-frame): New function.
9026 (window--display-buffer): Split off from here.
9027 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9028 (display-buffer-pop-up-window, display-buffer-use-some-window):
9029 Obey an inhibit-switch-frame action alist entry.
9030 (display-buffer): Update doc.
9031
9032 * replace.el (occur-after-change-function): Avoid losing focus by
9033 using the inhibit-switch-frame display parameter (Bug#12139).
9034
9035 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9036
9037 Make internal shell process buffer names start with space.
9038 * progmodes/python.el (python-shell-make-comint): Add optional
9039 argument INTERNAL.
9040 (run-python-internal): Use it.
9041 (python-shell-internal-get-or-create-process): Check for new
9042 internal buffer names.
9043
9044 2012-08-06 Glenn Morris <rgm@gnu.org>
9045
9046 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9047 Do less getting and setting of environment variables.
9048
9049 2012-08-05 Chong Yidong <cyd@gnu.org>
9050
9051 * proced.el (proced): Add substitution string to docstring to
9052 trigger autoloading of the proced library on C-h f (Bug#1768).
9053
9054 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9055 Don't show defvars which have no second argument (Bug#8638).
9056
9057 * imenu.el (imenu-generic-expression): Move documentation here
9058 from imenu--generic-function.
9059 (imenu--generic-function): Refer to imenu-generic-expression.
9060
9061 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9062
9063 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9064 indentation declaration.
9065 (viper-loop): Add indentation declaration (Bug#7025).
9066
9067 2012-08-05 Chong Yidong <cyd@gnu.org>
9068
9069 * help-fns.el (describe-variable): Add hyperlink for
9070 directory-local variables files. Improve buffer-local and
9071 permanent-local reporting; suggested by MON KEY (Bug#6644).
9072
9073 * help-mode.el (help-dir-local-var-def): New button type.
9074
9075 * files.el (kill-buffer-hook): Provide a defvar.
9076
9077 2012-08-05 Glenn Morris <rgm@gnu.org>
9078
9079 * eshell/esh-ext.el (eshell/addpath):
9080 Also update eshell-path-env. (Bug#12013)
9081
9082 2012-08-05 Chong Yidong <cyd@gnu.org>
9083
9084 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9085
9086 * fringe.el (fringe-styles): Add docstring.
9087 (fringe--check-mode): New function.
9088 (set-fringe-mode, set-fringe-style): Use it.
9089 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9090
9091 * files.el (set-auto-mode): Fix invalid setq call.
9092
9093 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * isearch.el: Misc simplification; use defstruct.
9096 (isearch-mode-map): Dense maps now work like sparse ones.
9097 (isearch--state): New defstruct.
9098 (isearch-string-state, isearch-message-state, isearch-point-state)
9099 (isearch-success-state, isearch-forward-state)
9100 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9101 (isearch-wrapped-state, isearch-barrier-state)
9102 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9103 replaced by defstruct's accessors.
9104 (isearch--set-state): Rename from isearch-top-state and change
9105 calling convention.
9106 (isearch-push-state): Use new isearch--get-state.
9107 (isearch-toggle-word): Disable regexp when enabling word.
9108 (isearch-message-prefix): Remove unused arg _c-q-hack.
9109 (isearch-message-suffix): Remove unused arg _ellipsis.
9110
9111 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9112
9113 * simple.el (list-processes--refresh): For a server use :host or
9114 :local as the address.
9115 (list-processes): Doc fix.
9116
9117 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9118
9119 * lisp/mpc.el: Support password in host argument.
9120 (mpc--proc-connect): Parse and use new password element.
9121 Set mpc-proc variable instead of returning process.
9122 (mpc-proc): Adjust accordingly.
9123
9124 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9125
9126 * whitespace.el (whitespace-display-mappings): Use Unicode
9127 codepoints, instead of emacs-mule codepoints. See
9128 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9129 for the details.
9130
9131 * files.el (file-truename): Don't skip symlink-chasing part on
9132 windows-nt. Incorporate the resolution of 8+3 short aliases on
9133 Windows into the loop that recursively chases symlinks.
9134 Compare directory and its parent case-insensitively on MS-Windows and
9135 MS-DOS.
9136
9137 2012-08-03 Chong Yidong <cyd@gnu.org>
9138
9139 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9140
9141 * sort.el (sort-regexp-fields): Doc fix.
9142
9143 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9144
9145 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9146 labels regex position point at the expected place.
9147
9148 2012-08-03 MON KEY <monkey@sandpframing.com>
9149
9150 * net/imap.el (imap-interactive-login, imap-authenticate)
9151 (imap-mailbox-lsub, imap-mailbox-list)
9152 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9153 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9154 (imap-parse-response): Doc fix.
9155
9156 2012-08-03 João Távora <joaotavora@gmail.com>
9157
9158 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9159 if sexp scanning does not move point (Bug#5734).
9160
9161 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9162
9163 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9164 Add listings, minted, and ctable packages.
9165 (reftex-label-alist-builtin): Move listings, minted, and ctable
9166 entries before LaTeX.
9167 (reftex-label-alist): Docfix.
9168
9169 2012-08-02 Bastien Guerry <bzg@gnu.org>
9170
9171 * replace.el (occur): Fix docstring (bug#12122).
9172
9173 2012-08-02 Glenn Morris <rgm@gnu.org>
9174
9175 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9176
9177 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9178
9179 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9180 * international/mule-cmds.el: Create
9181 inactivate-current-input-method-function as an obsolete alias for
9182 deactivate-current-input-method-function. See Katsumi Yamaoka in
9183 <http://bugs.gnu.org/10150#46>.
9184
9185 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9186
9187 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9188 of nested `if's.
9189
9190 2012-08-01 Glenn Morris <rgm@gnu.org>
9191
9192 * progmodes/autoconf.el (autoconf-definition-regexp):
9193 Add AH_TEMPLATE, adjust submatch numbering.
9194 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9195 (autoconf-current-defun-function): Update for above change.
9196 (autoconf-current-defun-function): First skip to end of current word.
9197
9198 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9199
9200 * calendar/cal-html.el (cal-html-insert-agenda-days):
9201 Fix typo. (Bug#12018)
9202
9203 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9204
9205 Shell processes: enhancements to startup and CEDET compatibility.
9206 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9207 (python-shell-make-comint): accept-process-output at startup.
9208 (run-python-internal): Set inferior-python-mode-hook to nil.
9209 (python-shell-internal-get-or-create-process): call sit-for.
9210 (python-preoutput-result): Add obsolete alias.
9211 (python-shell-internal-send-string): Use it.
9212 (python-shell-send-setup-code): Remove call to
9213 accept-process-output.
9214
9215 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9216
9217 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9218 (Bug#12108)
9219
9220 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9221
9222 * calc-mode.el (calc-basic-simplification-mode): Rename from
9223 `calc-limited-simplification-mode'.
9224 (calc-alg-simplification-mode): New function.
9225 (calc-set-simplify-mode): Adjust message.
9226
9227 * calc.el (calc-set-mode-line): Adjust mode line display for
9228 basic simplification mode.
9229
9230 * calc-help.el (calc-m-prefix-help): Update help message.
9231
9232 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9233 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9234
9235 2012-07-31 Bastien Guerry <bzg@gnu.org>
9236
9237 * man.el (man): Fix comment. (bug#12101)
9238
9239 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9240
9241 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9242 Don't return a non-nil value when no suitable buffer was found.
9243
9244 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9245
9246 * progmodes/python.el (run-python-internal): Disable font lock for
9247 internal shells.
9248
9249 2012-07-30 Stefan Merten <smerten@oekonux.de>
9250
9251 * textmodes/rst.el: Silence `checkdoc-ispell'.
9252 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9253 (rst-official-version, rst-official-cvs-rev)
9254 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9255 (rst-mode-map): New key binding.
9256
9257 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9258
9259 Update .PHONY listings in makefiles.
9260 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9261 autoloads, update-subdirs, updates, bzr-update, update-authors,
9262 compile-onefile, compile-calc, backup-compiled-files,
9263 compile-after-backup, compile-one-process, mh-autoloads,
9264 bootstrap-clean, distclean, maintainer-clean.
9265
9266 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9267
9268 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9269 (calc-set-mode-line): Don't display "AlgSimp ".
9270
9271 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9272 (calc-lim-simplify-mode): New function.
9273 (calc-set-simplify-mode): Default to 'alg.
9274 (calc-default-simplify-mode): Make algebraic simplifications
9275 the default.
9276
9277 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9278 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9279
9280 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9281 indicate new simplification modes.
9282
9283 * calc/README: Mention new default simplification mode.
9284
9285 * calc/calc.el (math-normalize-error): New variable.
9286 (math-normalize): Set `math-normalize-error' to t
9287 when there's an error.
9288
9289 * calc/calc-alg.el (math-simplify): Don't simplify when
9290 `math-normalize' returns an error.
9291
9292 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9293
9294 * international/mule-cmds.el (set-locale-environment): Revert last
9295 change, since display-graphic-p returns nil when this function is
9296 called during startup. Instead...
9297
9298 * term/w32console.el (terminal-init-w32console): ...setup the
9299 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9300
9301 2012-07-29 Juri Linkov <juri@jurta.org>
9302
9303 * simple.el (goto-line): Don't display default line number in the
9304 prompt because it should be displayed by `read-number' (bug#9952).
9305 Add the current line number to the defaults of `goto-line' to
9306 allow its easier modification by users with `M-n' (bug#9201).
9307
9308 * subr.el (read-number): Support multiple default values like in
9309 other minibuffer reading functions. Replace `read' with
9310 `string-to-number' for consistency with `number-to-string'.
9311
9312 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9313
9314 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9315 * emulation/viper-init.el (viper-deactivate-input-method-action):
9316 Rename from viper-inactivate-input-method-action.
9317 (viper-deactivate-input-method):
9318 Rename from viper-inactivate-input-method.
9319 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9320 * international/mule-cmds.el (deactivate-input-method):
9321 Rename from inactivate-input-method.
9322 Also run input-method-deactivate-hook.
9323 (deactivate-current-input-method-function):
9324 Rename from inactivate-current-input-method-function.
9325 (input-method-deactivate-hook): New hook.
9326 (input-method-inactivate-hook): Mark obsolete.
9327 (inactivate-input-method): Mark obsolete.
9328
9329 * international/quail.el (quail-activate):
9330 Also run quail-deactivate-hook.
9331 (quail-deactivate): Rename from quail-inactivate.
9332 * international/robin.el (robin-activate):
9333 Also run robin-deactivate-hook.
9334 (robin-deactivate): Rename from robin-inactivate.
9335
9336 2012-07-29 Chong Yidong <cyd@gnu.org>
9337
9338 * simple.el (indicate-copied-region): New function.
9339 (kill-ring-save): Split off from here.
9340
9341 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9342 (kill-rectangle): Set deactivate-mark to t on read-only error.
9343
9344 * register.el (copy-to-register, copy-rectangle-to-register):
9345 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9346 (append-to-register, prepend-to-register): Call indicate-copied-region.
9347
9348 2012-07-29 Juri Linkov <juri@jurta.org>
9349
9350 * simple.el (async-shell-command-buffer): New defcustom.
9351 (shell-command): Use it. (Bug#4719)
9352
9353 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9354
9355 * international/mule-cmds.el (set-locale-environment): In a
9356 console session on MS-Windows, set up keyboard and terminal
9357 encoding from the OEM codepage, not the ANSI codepage.
9358 (Bug#12055)
9359
9360 2012-07-28 Chong Yidong <cyd@gnu.org>
9361
9362 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9363 gdb-get-location.
9364
9365 2012-07-28 Leo Liu <sdl.web@gmail.com>
9366
9367 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9368 the alist (bug#12029).
9369
9370 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9371
9372 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9373 (compile-always, compile-first)
9374 ($(lisp)/calendar/cal-loaddefs.el)
9375 ($(lisp)/calendar/diary-loaddefs.el)
9376 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9377 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9378 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9379 instead of on update-subdirs.
9380 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9381
9382 2012-07-28 Chong Yidong <cyd@gnu.org>
9383
9384 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9385 directory if vc-deduce-backend returns nil (Bug#7350).
9386
9387 * simple.el (delete-trailing-lines): New option.
9388 (delete-trailing-whitespace): Obey it (Bug#11879).
9389
9390 2012-07-28 David Engster <deng@randomsample.de>
9391
9392 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9393 Explanation of new 'symbol-qnames feature in doc-strings.
9394 (xml-maybe-do-ns): Return expanded names as plain symbols if
9395 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9396 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9397
9398 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9399
9400 Consistent completion in inferior python with emacs -nw.
9401 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9402 binding in inferior-python-mode-map with "\t".
9403 (python-shell-completion-complete-at-point)
9404 (python-completion-complete-at-point): Remove interactive spec.
9405
9406 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9407
9408 * calc/calccomp.el (math-compose-expr): Undo previous change.
9409
9410 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9411
9412 * progmodes/python.el (python-mode-map): Add keybinding for
9413 run-python.
9414 (python-shell-make-comint): Fix pop-to-buffer call.
9415 (run-python): Autoload. New arg SHOW.
9416 (python-shell-get-or-create-process): Do not pop python process
9417 buffer.
9418
9419 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9420
9421 * notifications.el (notifications-on-action-signal)
9422 (notifications-on-closed-signal): Use also the bus address for the map.
9423 (notifications-notify, notifications-close-notification)
9424 (notifications-get-capabilities): Add optional argument BUS.
9425
9426 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9427
9428 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9429 Add support for the lstlisting and minted environments, and for the
9430 ctable macro.
9431 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9432 labels written in keyvals syntax.
9433
9434 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9435
9436 * calc/calccomp.el (math-compose-expr): Use parentheses when
9437 there is a product in the denominator of a fraction.
9438
9439 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9440
9441 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9442 ($(lisp)/calendar/diary-loaddefs.el)
9443 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9444 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9445 Fixes failures in parallel bootstrap because subdirs.el is being
9446 rewritten while the autoload files are built at the same time,
9447 which needs to load subdirs.el.
9448
9449 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9450
9451 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9452 (mouse-drag-line): Don't exit tracking when a switch-frame or
9453 switch-window event occurs (Bug#12006).
9454
9455 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * mouse.el (popup-menu): Fix last change.
9458
9459 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 Autoload from Lisp with more care. Follow aliases when looking for
9462 function properties.
9463 * subr.el (autoloadp): New function.
9464 (symbol-file): Use it.
9465 (function-get): New function.
9466 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9467 autoload-do-load.
9468 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9469 (lisp-indent-function):
9470 * emacs-lisp/gv.el (gv-get):
9471 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9472 * emacs-lisp/byte-opt.el (byte-optimize-form):
9473 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9474 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9475 Use function-get.
9476 * emacs-lisp/cl.el: Don't propagate function properties any more.
9477
9478 * speedbar.el (speedbar-add-localized-speedbar-support):
9479 * emacs-lisp/disass.el (disassemble-internal):
9480 * desktop.el (desktop-load-file):
9481 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9482 (describe-function-1):
9483 * emacs-lisp/find-func.el (find-function-noselect):
9484 * emacs-lisp/elp.el (elp-instrument-function):
9485 * emacs-lisp/advice.el (ad-has-proper-definition):
9486 * apropos.el (apropos-safe-documentation, apropos-macrop):
9487 * emacs-lisp/debug.el (debug-on-entry):
9488 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9489 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9490 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9491
9492 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9493
9494 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9495 function, not an obsolete variable (Bug#12046).
9496
9497 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9498
9499 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9500
9501 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9502
9503 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9504 window only if it is still live (Bug#12034).
9505
9506 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9507
9508 * subr.el (redirect-frame-focus): Add advertised calling
9509 convention (Bug#12030).
9510
9511 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9512
9513 Prefer typical American spelling for "acknowledgment".
9514 * vc/add-log.el (change-log-acknowledgment): Rename from
9515 change-log-acknowledgement, with an alias for the old name.
9516
9517 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9518
9519 * calc-alg.el (math-simplify-divide): Don't cross multiply
9520 in an equation when the lhs is a variable.
9521
9522 2012-07-24 Julien Danjou <julien@danjou.info>
9523
9524 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9525 Remove, unused.
9526
9527 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9528
9529 * startup.el (command-line): Don't display an empty user name in
9530 the error message about non-existent home directory, when
9531 init-file-user was set to an empty string. See
9532 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9533 for the details and context.
9534
9535 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9536
9537 * ses.el (ses-cell-formula-aset): New macro.
9538 (ses-cell-references-aset): New macro.
9539 (ses-cell-p): New function.
9540 (ses-rename-cell): Do no longer rely on complex operations like
9541 ses-cell-set-formula or ses-set-cell to change the cell and handle
9542 the undo at the same time, but rather use lower level new macros
9543 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9544 the undo directly. Refresh the mode line.
9545
9546 2012-07-21 Leo Liu <sdl.web@gmail.com>
9547
9548 * progmodes/cc-cmds.el (c-defun-name):
9549 Use match-string-no-properties instead for consistency.
9550
9551 2012-07-20 Leo Liu <sdl.web@gmail.com>
9552
9553 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9554 (Bug#7879)
9555
9556 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9557
9558 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9561 * progmodes/bug-reference.el, misearch.el: Provide themselves
9562 (bug#11915).
9563
9564 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9565 of narrowed buffer (bug#11966).
9566
9567 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9568
9569 * ses.el (ses-rename-cell): Set new name also in reference list of
9570 cells of which the renamed cell depends.
9571
9572 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9573
9574 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9575 to check whether menu-bar is shown or not. If not shown,
9576 show the menu-bar as a popup menu instead of using tmm.
9577 * mouse.el (popup-menu): Accept `point' as `position' argument.
9578
9579 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9580
9581 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9582 up inside string symbol literal (bug#11923).
9583
9584 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9585
9586 * startup.el (fancy-startup-text): Read the whole tutorial, not
9587 just its first 256 bytes. Prevents gibberish in display of the
9588 tutorial title.
9589
9590 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9591
9592 Drop idle buffer compaction due to an absence of the
9593 proved efficiency.
9594 * compact.el: Remove.
9595
9596 2012-07-19 Sam Steingold <sds@gnu.org>
9597
9598 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9599 vc-bzr-pull & vc-bzr-merge-branch.
9600 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9601 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9602 for consistency with compilation-error-regexp-alist.
9603 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9604 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9605 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9606 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9607
9608 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * emacs-lisp/chart.el: Use lexical-binding.
9611 (chart-emacs-storage): Don't hardcode the list of entries.
9612
9613 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9614
9615 Next round of tweaks caused by Fgarbage_collect changes.
9616 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9617
9618 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9619
9620 Compact buffers when idle.
9621 * compact.el: New file.
9622
9623 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9624
9625 * subr.el (eventp): Presume that if it looks vaguely like an event,
9626 it's an event (bug#10190).
9627
9628 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9629
9630 Enhancements to ppss related code (thanks Stefan).
9631 * progmodes/python.el (python-indent-context)
9632 (python-indent-calculate-indentation, python-indent-dedent-line)
9633 (python-indent-electric-colon, python-nav-forward-block)
9634 (python-mode-abbrev-table)
9635 (python-info-assignment-continuation-line-p): Simplify checks
9636 for ppss context.
9637 (python-info-continuation-line-p): Cleanup.
9638 (python-info-ppss-context): Do not catch 'quote.
9639 (python-info-ppss-context-type)
9640 (python-info-ppss-comment-or-string-p): Simplify.
9641
9642 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9643
9644 * progmodes/python.el: Enhancements to eldoc support.
9645 (python-info-current-symbol): New function.
9646 (python-eldoc-at-point): Use python-info-current-symbol.
9647 (python-info-current-defun): Fix cornercase on first defun scan.
9648 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9649 and signal error when no inferior python process is available.
9650
9651 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9652
9653 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9654 assume it's always t.
9655 (vc-git-registered): Remove caching, the function is only called
9656 once.
9657 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9658
9659 2012-07-18 Chong Yidong <cyd@gnu.org>
9660
9661 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9662
9663 * simple.el (count-words): Report on narrowing (Bug#9959).
9664
9665 * bindings.el: Bind M-= to count-words.
9666
9667 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9668
9669 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9670
9671 * progmodes/sh-script.el (sh-imenu-generic-expression):
9672 Capture a function with `function' keyword and without parentheses
9673 like "function FOO" (bug#11856).
9674
9675 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9676
9677 * window.el (split-window-sensibly): Make WINDOW argument
9678 optional.
9679
9680 2012-07-18 Chong Yidong <cyd@gnu.org>
9681
9682 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9683
9684 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9685 and make C-x 8 RET exit isearch (Bug#11439).
9686
9687 * international/iso-transl.el: Move isearch-mode-map key
9688 definitions to isearch.el.
9689
9690 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9691
9692 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9693 (eieio-defclass): Use gv-define-setter when possible.
9694
9695 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9696
9697 Reflect recent changes in Fgarbage_collect.
9698 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9699 reflect new format of data returned by Fgarbage_collect.
9700
9701 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9702
9703 New utility functions + python-info-ppss-context fix (Bug#11910).
9704 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9705 (python-info-ppss-comment-or-string-p): New functions.
9706 (python-info-ppss-context): Small fix for string check.
9707
9708 2012-07-17 Juri Linkov <juri@jurta.org>
9709
9710 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9711 (dired-do-async-shell-command): Don't add `*' at the end of the
9712 command (Bug#11815).
9713 (dired-do-shell-command): Doc fix.
9714 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9715 Join the individual commands using either "&" or ";" as the
9716 separator depending on the values of these trailing characters.
9717 At the end re-add the trailing "&". (Bug#10598)
9718
9719 * simple.el (async-shell-command): Sync the interactive spec with
9720 `shell-command'. Doc fix.
9721 (shell-command): Doc fix.
9722
9723 2012-07-17 Juri Linkov <juri@jurta.org>
9724
9725 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9726
9727 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9728
9729 Final renames and doc fixes for movement commands (bug#11899).
9730 * progmodes/python.el (python-nav-beginning-of-statement):
9731 Rename from python-nav-statement-start.
9732 (python-nav-end-of-statement): Rename from
9733 python-nav-statement-end.
9734 (python-nav-beginning-of-block): Rename from
9735 python-nav-block-start.
9736 (python-nav-end-of-block): Rename from python-nav-block-end.
9737
9738 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9739
9740 * progmodes/python.el (python-shell-send-string-no-output):
9741 Allow accept-process-output to quit, keeping shell process ready for
9742 future interactions (Bug#11868).
9743
9744 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9747
9748 * emacs-lisp/elint.el (elint-find-args-in-code):
9749 Use help-function-arglist, so as to handle lexical byte-code.
9750
9751 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9752 change (bug#11826).
9753
9754 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9757 Avoid spuriously marking the buffer as modified because of c-is-sws.
9758
9759 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9760 as not-a-comment (bug#11946).
9761
9762 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9763 for uninterned vars.
9764
9765 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9766 Use read-event since we don't really want to read chars but bytes.
9767
9768 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9769 $$..$$ but also $..$ using regexps (bug#11953).
9770 Use tex-verbatim for \url and \path.
9771 (tex-font-lock-keywords): Define as defconst like the others.
9772 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9773
9774 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9775
9776 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9777 alias for insert-char.
9778
9779 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9780
9781 * progmodes/python.el: Simplified imenu implementation.
9782 (python-nav-jump-to-defun): Remove command.
9783 (python-mode-map): Use `imenu' instead.
9784 (python-nav-list-defun-positions-cache)
9785 (python-imenu-include-defun-type, python-imenu-make-tree)
9786 (python-imenu-subtree-root-label, python-imenu-index-alist):
9787 Remove vars.
9788 (python-nav-list-defun-positions, python-nav-read-defun)
9789 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9790 (python-imenu-make-tree, python-imenu-create-index):
9791 Remove functions.
9792 (python-mode): Update to interact with imenu by setting
9793 `imenu-extract-index-name-function' only.
9794
9795 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9796
9797 * progmodes/python.el: Enhancements to navigation commands.
9798 (python-nav-backward-sentence)
9799 (python-nav-forward-sentence): Remove.
9800 (python-nav-backward-statement, python-nav-forward-statement)
9801 (python-nav-statement-start, python-nav-statement-end)
9802 (python-nav-backward-block, python-nav-forward-block)
9803 (python-nav-block-start, python-nav-block-end)
9804 (python-nav-forward-sexp-function)
9805 (python-info-current-line-comment-p)
9806 (python-info-current-line-empty-p): New functions.
9807 (python-indent-context): Use `python-nav-statement-start'.
9808
9809 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9810
9811 * eshell/em-ls.el (eshell/ls): Use `apply'.
9812
9813 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9814 multi-hops, instead of Tramp internals.
9815
9816 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9817
9818 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9819 when F1 and F2 are located on different hosts.
9820
9821 2012-07-14 Chong Yidong <cyd@gnu.org>
9822
9823 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9824 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9825 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9826 (xterm-mouse--read-event-sequence-1000)
9827 (xterm-mouse--read-event-sequence-1006): New functions. For old
9828 mouse protocol, handle M-mouse-X events correctly.
9829 (xterm-mouse-event): New arg specifying mouse protocol.
9830 (turn-on-xterm-mouse-tracking-on-terminal)
9831 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9832 sequence to toggle extended coordinates on newer XTerms.
9833 This appears to be harmless on terminals which do not support this.
9834
9835 2012-07-14 Leo Liu <sdl.web@gmail.com>
9836
9837 Add fringe bitmap indicators for flymake. (Bug#11253)
9838 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9839 (flymake-make-overlay): New arg BITMAP.
9840 (flymake-error-bitmap, flymake-warning-bitmap)
9841 (flymake-fringe-indicator-position): New user variables.
9842
9843 * fringe.el: New bitmap exclamation-mark.
9844
9845 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9846
9847 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9848 also (Bug#7879).
9849
9850 2012-07-14 Chong Yidong <cyd@gnu.org>
9851
9852 * electric.el (electric-pair-post-self-insert-function): Fix pair
9853 insertion in empty-region case (Bug#11520).
9854
9855 2012-07-14 Chong Yidong <cyd@gnu.org>
9856
9857 * bindings.el: Consolidate ctl-x-r-map bindings.
9858 Bind copy-rectangle-as-kill to C-x r w.
9859
9860 * rect.el, register.el: Move bindings to bindings.el.
9861
9862 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9863
9864 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9865
9866 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9867
9868 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9869
9870 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9871
9872 * bindings.el (top): Use `mapc' instead of `mapcar'.
9873
9874 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9875
9876 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9877
9878 * progmodes/sql.el (sql-comint): Suppress the check for program on
9879 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9880 (Bug#11908)
9881
9882 2012-07-13 Chong Yidong <cyd@gnu.org>
9883
9884 * bindings.el: Assign a non-nil permanent-local property to
9885 per-buffer variables which lack a default value (Bug#11930).
9886
9887 * help-fns.el (describe-variable): In the "automatically becomes
9888 local" notice, take note of permanent-local variables.
9889
9890 2012-07-13 Chong Yidong <cyd@gnu.org>
9891
9892 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9893 to allow printing the message when called from Lisp.
9894
9895 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9896 Remove toggle-read-only.
9897
9898 * bs.el (bs-toggle-readonly):
9899 * buff-menu.el (Buffer-menu-toggle-read-only):
9900 Remove with-no-warnings around toggle-read-only.
9901
9902 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9903 Remove with-no-warnings around toggle-read-only.
9904 (ffap-read-only, ffap-read-only-other-window)
9905 (ffap-read-only-other-frame): Callers changed.
9906
9907 * help-mode.el: Don't require view package.
9908 (help-mode-finish): Set buffer-read-only instead of calling
9909 toggle-read-only.
9910
9911 * bindings.el (mode-line-toggle-read-only):
9912 * dired.el (dired-toggle-read-only):
9913 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9914 with non-nil second arg.
9915
9916 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9917 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9918 directly.
9919
9920 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9921
9922 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9923 not incf.
9924
9925 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 More CL cleanups and reduction of use of cl.el.
9928 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9929 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9930 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9931 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9932 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9933 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9934 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9935 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9936 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9937 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9938 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9939 * eshell/em-cmpl.el, eshell/em-banner.el:
9940 * calendar/parse-time.el: Use cl-lib.
9941 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9942 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9943 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9944 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9945 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9946 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9947 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9948 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9949 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9950 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9951 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9952 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9953 `lambda' rather than with `quote'.
9954 (eshell-do-opt): Adjust accordingly.
9955 (eshell-process-option): Simplify.
9956 * eshell/esh-var.el:
9957 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9958 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9959 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9960 to `pcase--dontcare'.
9961 * emacs-lisp/cl.el (labels): Mark obsolete.
9962 (cl--letf, letf): Move to cl-lib.
9963 (cl--letf*, letf*): Remove.
9964 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9965 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9966 (cl-progv): Rewrite.
9967 (cl--letf, cl-letf): Move from cl.el.
9968 (cl-letf*): New macro.
9969 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9970
9971 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9972
9973 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9974
9975 2012-07-11 Chong Yidong <cyd@gnu.org>
9976
9977 * vc/log-edit.el (log-edit-vc-backend): New variable.
9978 (log-edit): Doc fix.
9979
9980 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9981 argument of log-edit to set up all local variables.
9982 (vc-start-logentry): New optional arg specifying VC backend.
9983
9984 * vc/vc.el (vc-checkin): Use it.
9985 (vc-deduce-fileset): Handle Log Edit buffers.
9986 (vc-diff): Make first argument optional too.
9987
9988 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9989
9990 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9991
9992 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9993 command, just in case. The function is not needed anymore.
9994 (eshell-external-command): Do not call `eshell-remote-command'.
9995
9996 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 Reduce use of (require 'cl).
9999 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10000 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10001 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10002 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10003 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10004 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10005 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10006 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10007 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10008 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10009 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10010 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10011 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10012 (byte-compile-unfold-bcf, byte-compile-check-variable):
10013 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10014 (byte-compile-nilconstp):
10015 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10016 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10017
10018 * emacs-lisp/gv.el (cond): Make it a valid place.
10019 (if): Simplify slightly.
10020
10021 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10022 (pcase--self-quoting-p): New function.
10023 (pcase--u1): Use it.
10024
10025 2012-07-10 Glenn Morris <rgm@gnu.org>
10026
10027 * emacs-lisp/authors.el (authors-fixed-entries):
10028 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10029
10030 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10031
10032 Rename configure.in to configure.ac (Bug#11603).
10033 * emacs-lisp/authors.el (authors-canonical-file-name):
10034 * progmodes/autoconf.el (autoconf-mode):
10035 Prefer configure.ac to configure.in.
10036
10037 2012-07-08 Chong Yidong <cyd@gnu.org>
10038
10039 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10040 Implement the mouse-1-click-follows-link handling properly.
10041
10042 * info.el (Info-link-keymap): Use follow-link mechanism for
10043 header-line links (Bug#374).
10044
10045 * simple.el (deactivate-mark): Do not set the primary selection
10046 if another program has acquired it (Bug#11772).
10047
10048 2012-07-07 Kevin Ryde <user42@zip.com.au>
10049
10050 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10051 (woman-decode-region): Replace escaped-escapes without destroying
10052 bold or underline (Bug#11552).
10053 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10054
10055 2012-07-07 Chong Yidong <cyd@gnu.org>
10056
10057 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10058 (interprogram-cut-function, interprogram-paste-function):
10059 Mention that we typically mean the clipboard.
10060
10061 2012-07-06 Glenn Morris <rgm@gnu.org>
10062
10063 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10064
10065 * files.el (toggle-read-only): Restrict message to interactive use.
10066
10067 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10068
10069 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10070
10071 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10072
10073 2012-07-06 Glenn Morris <rgm@gnu.org>
10074
10075 * Makefile.in (compile-one-process): Rename from "recompile".
10076
10077 * Makefile.in (bzr-update): "compile" is the same as "recompile
10078 autoloads", but parallelizable, so use that instead.
10079
10080 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10081
10082 * window.el (quit-window): Always restore window height when
10083 it's saved in quit-restore parameter (Bug#11810).
10084
10085 2012-07-06 Glenn Morris <rgm@gnu.org>
10086
10087 * simple.el (kill-whole-line): Doc tweak.
10088
10089 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10090
10091 * files.el (file-relative-name): Compare file names
10092 case-insensitively if on MS-Windows or MS-DOS, or if
10093 read-file-name-completion-ignore-case is non-nil. Don't use
10094 case-fold-search for this purpose. (Bug#11827)
10095
10096 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10097
10098 * calendar/cal-dst.el (calendar-current-time-zone):
10099 Return calendar-current-time-zone-cache if non-nil.
10100
10101 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10102 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10103
10104 * calendar/cal-dst.el (calendar-current-time-zone):
10105 Return calendar-current-time-zone-cache if non-nil.
10106
10107 2012-07-06 Glenn Morris <rgm@gnu.org>
10108
10109 * Makefile.in (cvs-update): Remove old alias.
10110
10111 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10112
10113 Sync with Tramp 2.2.6-pre.
10114
10115 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10116 compatible declaration.
10117
10118 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10119 Protect `list-load-path-shadows' call.
10120
10121 * net/tramp-compat.el (top): Require packages, which aren't
10122 autoloaded anymore for XEmacs. Protect call of
10123 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10124 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10125 it hurts at least for SXEmacs.
10126 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10127 standard-value for `temporary-file-directory'.
10128
10129 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10130 Redirect stderr to /dev/null.
10131 (tramp-sh-handle-write-region): uid and gid can be floats.
10132 Reported by Russell Sim <russell.sim@gmail.com>.
10133 (tramp-sh-handle-vc-registered): Hide errors.
10134 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10135 and `start-file-process'.
10136 (tramp-maybe-open-connection): Check also whether `non-essential'
10137 is bound.
10138
10139 2012-07-04 Chong Yidong <cyd@gnu.org>
10140
10141 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10142 (xml-parse-tag): Likewise, and avoid changing entity tables.
10143 (xml-syntax-table): Define from scratch, making sure not to give
10144 x2000 and other Unicode spaces whitespace syntax, since those are
10145 not spaces in XML.
10146 (xml-parse-fragment): Delete unused function.
10147 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10148 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10149 (xml-entity-ref, xml-pe-reference-re)
10150 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10151 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10152 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10153 (xml-entity-value-re): Use syntax references in regexps where
10154 possible; no need to define inside a let-binding.
10155 (xml-parse-dtd): Use xml-pe-reference-re.
10156 (xml-entity-or-char-ref-re): New defconst.
10157 (xml-parse-string, xml-substitute-special): Use it.
10158
10159 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10162 (find-file--read-only): New function.
10163 (find-file-read-only, find-file-read-only-other-window)
10164 (find-file-read-only-other-frame): Use it.
10165 (insert-file-contents-literally): Don't `fset'.
10166 (get-free-disk-space): Use locate-dominating-file.
10167
10168 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10169 function is already compiled.
10170
10171 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10172
10173 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10174
10175 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10176 files on the same host.
10177
10178 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10179
10180 * help-fns.el (describe-function-1): Only call
10181 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10182
10183 2012-07-03 Chong Yidong <cyd@gnu.org>
10184
10185 * xml.el: Protect parser against XML bombs.
10186 (xml-entity-expansion-limit): New variable.
10187 (xml-parse-string, xml-substitute-special): Use it.
10188 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10189
10190 2012-07-03 Glenn Morris <rgm@gnu.org>
10191
10192 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10193 Allow linking to specific messages in debbugs reports (eg 123#5).
10194
10195 2012-07-02 Chong Yidong <cyd@gnu.org>
10196
10197 * xml.el: Fix entity and character reference expansion, allowing
10198 them to expand into markup as per XML spec.
10199 (xml-default-ns): New variable.
10200 (xml-entity-alist): Use XML spec definitions for lt and amp.
10201 (xml-parse-region): Make first two arguments optional.
10202 Discard text properties.
10203 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10204 All callers changed.
10205 (xml-parse-tag): Call xml-parse-tag-1. For backward
10206 compatibility, this function should not modify buffer contents.
10207 (xml-parse-tag-1): Fix opening-tag regexp.
10208 (xml-parse-string): Rewrite, handling entity and character
10209 references properly.
10210 (xml--entity-replacement-text): Signal an error if a parameter
10211 entity is undefined.
10212
10213 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * comint.el (comint-output-filter): Filter out repeated prompts.
10216
10217 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10218 and file-name-absolute-p.
10219 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10220 internal calls.
10221
10222 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10223
10224 Spelling fixes.
10225 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10226 Rename from byte-compile--refiy-function. All uses changed.
10227
10228 2012-07-01 Chong Yidong <cyd@gnu.org>
10229
10230 * xml.el (xml--parse-buffer): New function. Move most of
10231 xml-parse-region here.
10232 (xml-parse-region): Copy region into a temporary buffer, since
10233 parameter entity substitution requires changing buffer contents.
10234 Use xml--parse-buffer.
10235 (xml-parse-file): Use xml--parse-buffer.
10236 (xml-parse-dtd): Make parameter entity substitution work right.
10237 Use proper regexps for ELEMENT declarations (Bug#7172).
10238
10239 2012-06-30 Glenn Morris <rgm@gnu.org>
10240
10241 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10242
10243 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10244 Remove outdated and unnecessary dbus declarations.
10245
10246 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10247
10248 * emacs-lisp/timer.el (timer-until): Subtract results of
10249 float-time, instead of taking float-time of the result of
10250 time-subtract, since float-time signals an error for negative time
10251 arguments.
10252
10253 2012-06-30 Chong Yidong <cyd@gnu.org>
10254
10255 * xml.el (xml-*-re): Convert defvars into defconsts, and
10256 eval-and-compile them so eval-and-compile works on derivatives.
10257 (xml--entity-replacement-text): Use eval-and-comple.
10258
10259 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10260
10261 * vc/vc-git.el (vc-git-registered): Use cache property
10262 `git-registered'.
10263 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10264 `vc-git-working-revision' in order to benefit from the cache.
10265 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10266
10267 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10268
10269 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10270 removed (likely outside Emacs). (Bug#11757)
10271
10272 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/cl-lib.el: Require macroexp.
10275
10276 2012-06-30 Chong Yidong <cyd@gnu.org>
10277
10278 * xml.el: Implement XML parameter entities.
10279 (xml-parameter-entity-alist): New variable.
10280 (xml-parse-region, xml-parse-fragment): Preserve previous values
10281 of xml-entity-alist and xml-parameter-entity-alist, so that
10282 repeated calls on different documents do not change them.
10283 (xml-parse-tag): Fix doctype regexp.
10284 (xml--entity-replacement-text): New function.
10285 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10286 properly requires url retrieval which is unimplemented.
10287 (xml-escape-string): Doc fix.
10288
10289 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10292
10293 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10294
10295 * fringe.el (fringe-mode): Doc fix.
10296
10297 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10298
10299 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10300 is non-nil.
10301 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10302 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10303
10304 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10305
10306 * calendar/cal-dst.el (calendar-current-time-zone):
10307 Return calendar-current-time-zone-cache if non-nil.
10308
10309 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10310
10311 * progmodes/which-func.el (which-func-format):
10312 Add mouse-face. (Bug#11698)
10313
10314 2012-06-29 Leo Liu <sdl.web@gmail.com>
10315
10316 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10317
10318 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * minibuffer.el (minibuffer-confirm-exit-commands):
10321 Add completion-at-point (bug#11725).
10322
10323 2012-06-29 Glenn Morris <rgm@gnu.org>
10324
10325 * progmodes/f90.el (f90-font-lock-keywords-2):
10326 Add some preprocessor elements. (Bug#10499)
10327
10328 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10331 Use syntax-propertize (bug#11739).
10332
10333 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10334
10335 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10336
10337 2012-06-28 Julien Danjou <julien@danjou.info>
10338
10339 * term.el (term-handle-colors-array): Use a set of new faces to
10340 color the terminal. Also uses :inverse-video property.
10341 (term-default-fg-color): Set to nil by default, deprecate in favor
10342 of `term-face'.
10343 (term-default-bg-color): Set to nil by default, deprecate in favor
10344 of `term-face'.
10345 (term-current-face): Use `term-face' by default.
10346 (term-bold-attribute): Variable deleted.
10347
10348 2012-06-28 Glenn Morris <rgm@gnu.org>
10349
10350 * simple.el (completion-list-mode-finish):
10351 Don't use toggle-read-only. (Since completion-list-mode has
10352 a special mode-class, it wasn't doing anything extra anyway.)
10353
10354 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 Make inlining of other-mode interpreted functions work (bug#11799).
10357 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10358 (byte-compile): Use it to fix compilation of lexical-binding closures.
10359 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10360 function, if needed.
10361
10362 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10363
10364 * help-mode.el (help-make-xrefs): Don't just withstand
10365 cyclic-variable-indirection but any error in documentation-property.
10366
10367 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10368 memory use.
10369 * bindings.el (bindings--define-key): New function.
10370 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10371 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10372 * bindings.el: Use it to purecopy define-key bindings.
10373
10374 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10375
10376 * emacs-lisp/cl.el (flet): Mark obsolete.
10377 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10378 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10379 * progmodes/js.el (js-c-fill-paragraph):
10380 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10381 (ebrowse-switch-member-buffer-to-derived-class):
10382 * play/5x5.el (5x5-solver): Use cl-flet.
10383
10384 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10385 (cl--symbol-function): New macro.
10386 (cl--letf, cl--letf*): Use it.
10387
10388 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10389 Strip "toggle-" if any.
10390
10391 2012-06-27 Glenn Morris <rgm@gnu.org>
10392
10393 * info.el (Info-default-directory-list): Move here from paths.el.
10394 * paths.el: Remove file, which is now empty.
10395 * loadup.el: No longer load "paths".
10396
10397 * custom.el (custom-initialize-delay): Doc fix.
10398
10399 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10400 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10401 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10402 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10403 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10404 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10405 * eshell/eshell.el (eshell-defgroup): Remove alias.
10406
10407 2012-06-27 Chong Yidong <cyd@gnu.org>
10408
10409 * help.el (help-enable-auto-load): New variable.
10410
10411 * help-fns.el (help-fns--autoloaded-p): New function.
10412 (describe-function-1): Refer to a function as "autoloaded" if it
10413 was autoloaded at any time in the past. Perform autoloading if
10414 help-enable-auto-load is non-nil.
10415
10416 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10417
10418 * makefile.w32-in (compile, compile-always): Depend on
10419 update-subdirs, not on subdirs.el. Otherwise, several different
10420 sub-targets of 'bootstrap' running in parallel could
10421 simultaneously write to subdirs.el, producing a garbled file.
10422
10423 2012-06-26 Sam Steingold <sds@gnu.org>
10424
10425 * files.el (file-name-base): New convenience function.
10426 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10427 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10428 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10429 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10430 * textmodes/ispell.el, textmodes/reftex-ref.el:
10431 * textmodes/tex-mode.el: Use it.
10432 Did not touch cedet and org because they are maintained elsewhere.
10433
10434 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10435
10436 * calendar/calendar.el (calendar-exit): Don't try to delete or
10437 iconify last frame. See:
10438 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10439
10440 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10441
10442 * server.el (server-process-filter): Remember dir in the
10443 process's `server-client-directory' properties.
10444
10445 2012-06-24 Chong Yidong <cyd@gnu.org>
10446
10447 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10448 non-tag text.
10449
10450 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10453
10454 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * help-fns.el (describe-variable): Don't croak when doc is not found.
10457 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10458 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10459 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10460 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10461 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10462 ((lambda ..) ..).
10463 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10464
10465 2012-06-23 Chong Yidong <cyd@gnu.org>
10466
10467 * info.el (Info-mouse-follow-link): Accept symbol values of
10468 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10469 (Info-fontify-node): Use Info-link-keymap for all navigation
10470 buttons, with link-args property to perform the desired action.
10471 (Info-link-keymap): Doc fix.
10472 (Info-next-link-keymap, Info-prev-link-keymap)
10473 (Info-up-link-keymap): Delete now-unused keymaps.
10474
10475 2012-06-23 Chong Yidong <cyd@gnu.org>
10476
10477 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10478
10479 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10480 system abbrevs.
10481
10482 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10483
10484 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10487 (bug#11719).
10488
10489 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10490 the requote function doesn't work properly (bug#11714).
10491
10492 2012-06-23 Glenn Morris <rgm@gnu.org>
10493
10494 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10495
10496 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 Further GV/CL cleanups.
10499 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10500 gv-expander.
10501 (gv--defun-declaration): New function.
10502 (defun-declarations-alist): Use it.
10503 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10504 (gv-place): Autoload.
10505 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10506 original definition of dotimes and dolist.
10507 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10508 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10509 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10510 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10511 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10512 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10513 to the function's definition.
10514 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10515 * window.el:
10516 * files.el:
10517 * faces.el:
10518 * env.el: Don't use CL.
10519
10520 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10521
10522 Support higher-resolution time stamps (Bug#9000).
10523
10524 * calendar/time-date.el (with-decoded-time-value): New arg
10525 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10526 (encode-time-value): New optional arg PICO. New type 3.
10527 (time-to-seconds) [!float-time]: Support the new picoseconds
10528 component if it's used.
10529 (seconds-to-time, time-subtract, time-add):
10530 Support ps-resolution time stamps as well.
10531
10532 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10533 (timerp): Timer vectors now have length 9, not 8.
10534 (timer--time): Support new-style (4-part) time stamps.
10535 (timer-next-integral-multiple-of-time): Time stamps now have
10536 picosecond resolution, so take a bit more care about rounding.
10537 (timer-relative-time, timer-inc-time): New optional arg psecs.
10538 (timer-set-time-with-usecs): Set psecs to 0.
10539 (timer--activate): Check psecs component, too.
10540
10541 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10542
10543 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10544
10545 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10546 Move the non-essential binding to the post/pre-command-hook where it is
10547 more obviously correct.
10548
10549 * subr.el (read-passwd): Don't use a history at all.
10550 * savehist.el (savehist-save): Remove password saved accidentally
10551 because of the above bug.
10552
10553 2012-06-22 Bastien Guerry <bzg@gnu.org>
10554
10555 * files.el (toggle-read-only): Display a message telling whether
10556 the buffer is read-only or not (bug#11726).
10557
10558 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * emacs-lisp/gv.el: New file.
10561 * subr.el (push, pop): Extend to generalized variables.
10562 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10563 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10564 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10565 gv-define-simple-setter, and gv-define-expander.
10566 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10567 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10568 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10569 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10570 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10571 gv-letplace.
10572 (cl-defstruct): Don't define setf-method any more.
10573 * emacs-lisp/cl.el (flet): Don't autoload.
10574 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10575 (define-setf-expander, defsetf, define-modify-macro)
10576 (cl-struct-setf-expander): Move from cl-lib.el.
10577 * emacs-lisp/syntax.el:
10578 * emacs-lisp/ewoc.el:
10579 * emacs-lisp/smie.el:
10580 * emacs-lisp/cconv.el:
10581 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10582 (timer--time): Use gv-define-simple-setter.
10583 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10584 to avoid coding-system problems in subr.el. Adjust all users.
10585 (macroexp--maxsize, macroexp-small-p): New functions.
10586 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10587 * scroll-bar.el (scroll-bar-mode):
10588 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10589 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10590 * winner.el (winner-configuration, winner-make-point-alist)
10591 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10592 * files.el (locate-file-completion-table): Avoid list*.
10593
10594 2012-06-22 Chong Yidong <cyd@gnu.org>
10595
10596 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10597 (dired-create-files): Doc fix (Bug#11329).
10598 (dired-do-copy): Doc fix (Bug#11334).
10599 (dired-mark-read-string): Doc fix (Bug#11553).
10600
10601 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10602 Doc fix (Bug#11326).
10603 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10604 (dired-dwim-target): Doc fix.
10605
10606 * wdired.el (wdired-mode): Doc fix.
10607
10608 2012-06-22 Glenn Morris <rgm@gnu.org>
10609
10610 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10611 (pcmpl-rpm-cache-stamp-file): New constant.
10612 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10613 (pcmpl-rpm-packages): Optionally cache list of packages.
10614
10615 * pcmpl-rpm.el (pcmpl-rpm): New group.
10616 (pcmpl-rpm-query-options): New option.
10617 (pcmpl-rpm-packages): No need to inline it.
10618 Use pcmpl-rpm-query-options.
10619
10620 * calendar/calendar.el (calendar-in-read-only-buffer):
10621 Avoid some needless mode changes.
10622
10623 2012-06-21 Chong Yidong <cyd@gnu.org>
10624
10625 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10626 (desktop-path): Remove . from the default value (Bug#10977).
10627 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10628
10629 2012-06-20 Chong Yidong <cyd@gnu.org>
10630
10631 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10632
10633 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10634
10635 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10636 (bug#11201).
10637
10638 2012-06-20 Chong Yidong <cyd@gnu.org>
10639
10640 * term.el (term-window-width): Handle the case of a missing right
10641 fringe (Bug#8837).
10642 (term-check-size): Use window-text-height (Bug#5445).
10643 (term-mode): Use define-derived-mode. Minor cleanups.
10644 Set font-lock-defaults (Bug#7692).
10645 (term-move-columns, term-insert-char, term-emulate-terminal)
10646 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10647
10648 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10649
10650 * net/ange-ftp.el (ange-ftp-get-passwd):
10651 Bind `enable-recursive-minibuffers'.
10652 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10653
10654 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10655
10656 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10657
10658 2012-06-19 Glenn Morris <rgm@gnu.org>
10659
10660 * progmodes/python.el (python-mode): Derive from prog-mode.
10661
10662 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10663
10664 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10665 (edt-user-menu-bar-update-buffers): New functions.
10666 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10667
10668 2012-06-19 Chong Yidong <cyd@gnu.org>
10669
10670 * subr.el (with-selected-window): Preserve the selected window's
10671 terminal's top-frame (Bug#4702).
10672
10673 * window.el (save-selected-window): Likewise.
10674
10675 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * progmodes/python.el (python-rx-constituents): Move backquote.
10678 (python-skeleton-define, python-define-auxiliary-skeleton):
10679 Use `declare'.
10680
10681 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10682
10683 * minibuffer.el (read-file-name-default): Revert the patch from
10684 2012-06-17.
10685
10686 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10689 (pcase--u1, pcase--q1): Don't use apply-partially.
10690
10691 2012-06-18 Glenn Morris <rgm@gnu.org>
10692
10693 * progmodes/python.el (python-proc, python-buffer)
10694 (python-send-receive, python-send-string): Fix obsolete versions.
10695
10696 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10697
10698 * window.el (special-display-p): Completely remove stringp
10699 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10700
10701 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10702
10703 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10704
10705 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10706
10707 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10708 * net/tramp-sh.el (tramp-maybe-open-connection):
10709 Throw if `non-essential' is non-nil.
10710
10711 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10712
10713 * window.el (special-display-p): Signal an error if BUFFER-NAME
10714 is not a string (Bug#11713).
10715
10716 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10717
10718 * progmodes/python.el (python-info-beginning-of-backslash):
10719 Rename from python-info-beginning-of-backlash, as a spelling fix.
10720
10721 2012-06-17 Chong Yidong <cyd@gnu.org>
10722
10723 * term.el (term-emulate-terminal): If term-check-size is called,
10724 move point to the process mark without resetting point (Bug#4635).
10725
10726 2012-06-17 Glenn Morris <rgm@gnu.org>
10727
10728 * international/mule-cmds.el (mule-menu-keymap)
10729 (set-language-environment, set-locale-environment): Doc tweaks.
10730
10731 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10732
10733 * cus-face.el (custom-face-attributes): Add wave-style underline
10734 attribute.
10735 * faces.el (set-face-attribute): Update docstring to describe
10736 wave-style underline attribute.
10737
10738 2012-06-16 Chong Yidong <cyd@gnu.org>
10739
10740 * term/xterm.el (terminal-init-xterm): Discard input before
10741 querying background mode (Bug#10959).
10742
10743 2012-06-16 Stefan Merten <smerten@oekonux.de>
10744
10745 * textmodes/rst.el: Added and corrected some comments.
10746 (rst-re-alist-def): Improve symbol syntax.
10747 (rst-mode-syntax-table): Correct syntax entries.
10748 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10749 (rst-official-version, rst-official-cvs-rev): Update version
10750 information.
10751
10752 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10753
10754 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10755 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10756
10757 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10758
10759 * progmodes/python.el: New python.el merge.
10760 (python-guess-indent): Obsolete var.
10761 (python-indent-guess-indent-offset): New defcustom.
10762 (python-indent): Obsolete var.
10763 (python-indent-offset): New defcustom.
10764 (python-python-command, python-jython-command): Delete var.
10765 (python-shell-interpreter): New defcustom.
10766 (python-pdbtrack-do-tracking-p): Delete var.
10767 (python-pdbtrack-activate): New defcustom.
10768 (python-use-skeletons): Obsolete var.
10769 (python-skeleton-autoinsert): New defcustom.
10770 (inferior-python-filter-regexp, python-continuation-offset)
10771 (python-honour-comment-indentation, python-indent-string-contents)
10772 (python-jython-packages, python-mode-hook)
10773 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10774 (python-shell-prompt-alist)
10775 (python-source-modes): Delete defcustoms.
10776 (python-check-buffer-name, python-eldoc-setup-code)
10777 (python-eldoc-string-code, python-ffap-setup-code)
10778 (python-ffap-string-code, python-fill-comment-function)
10779 (python-fill-decorator-function, python-fill-paren-function)
10780 (python-fill-string-function, python-imenu-include-defun-type)
10781 (python-imenu-make-tree, python-imenu-subtree-root-label)
10782 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10783 (python-shell-compilation-regexp-alist)
10784 (python-shell-completion-module-string-code)
10785 (python-shell-completion-pdb-string-code)
10786 (python-shell-completion-setup-code)
10787 (python-shell-completion-string-code)
10788 (python-shell-enable-font-lock, python-shell-exec-path)
10789 (python-shell-extra-pythonpaths)
10790 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10791 (python-shell-process-environment)
10792 (python-shell-prompt-block-regexp)
10793 (python-shell-prompt-output-regexp)
10794 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10795 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10796 (python-shell-virtualenv-path): New defcustoms.
10797 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10798 (inferior-python-mode-syntax-table, python--prompt-regexp)
10799 (python-buffer, python-command python-python-command)
10800 (python-default-template, python-imports, python-indent-index)
10801 (python-indent-list, python-indent-list-length)
10802 (python-mode-running, python-pdbtrack-is-tracking-p)
10803 (python-preoutput-continuation, python-preoutput-leftover)
10804 (python-preoutput-result, python-preoutput-skip-next-prompt)
10805 (python-prev-dir/file, python-recursing)
10806 (python-saved-check-command, python-version-checked)
10807 (python-which-func-length-limit)
10808 (view-return-to-alist): Delete vars.
10809 (python-check-custom-command, python-dotty-syntax-table)
10810 (python-imenu-index-alist, python-indent-current-level)
10811 (python-indent-dedenters, python-indent-levels)
10812 (python-nav-beginning-of-defun-regexp)
10813 (python-nav-list-defun-positions-cache)
10814 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10815 (python-shell-internal-buffer)
10816 (python-skeleton-available): New vars.
10817 (def-python-skeleton): Delete macro.
10818 (python-skeleton-define): New macro.
10819 (python-define-auxiliary-skeleton, python-rx): New macros.
10820 (python-insert-class): Delete command.
10821 (python-skeleton-class): New command.
10822 (python-insert-def): Delete command.
10823 (python-skeleton-def): New command.
10824 (python-insert-for): Delete command.
10825 (python-skeleton-for): New command.
10826 (python-insert-if): Delete command.
10827 (python-skeleton-if): New command.
10828 (python-insert-try/except, python-insert-try/finally): Delete commands.
10829 (python-skeleton-try): New command.
10830 (python-insert-while): Delete command.
10831 (python-skeleton-while): New command.
10832 (python-backspace): Delete command.
10833 (python-indent-dedent-line-backspace): New command.
10834 (python-electric-colon): Delete command.
10835 (python-indent-electric-colon): New command.
10836 (python-guess-indent): Delete command.
10837 (python-indent-guess-indent-offset): New command.
10838 (python-shift-left): Delete command.
10839 (python-indent-shift-left): New command.
10840 (python-shift-right): Delete command.
10841 (python-indent-shift-right): New command.
10842 (python-find-function): Delete command.
10843 (python-nav-jump-to-defun): New command.
10844 (python-next-statement): Delete command.
10845 (python-nav-forward-sentence): New command.
10846 (python-previous-statement): Delete command.
10847 (python-nav-backward-sentence): New command.
10848 (python-fill-paragraph): Delete command.
10849 (python-fill-paragraph-function): New command.
10850 (python-send-buffer): Delete command.
10851 (python-shell-send-buffer): New command.
10852 (python-send-defun): Delete command.
10853 (python-shell-send-defun): New command.
10854 (python-send-region, python-send-region-and-go): Delete commands.
10855 (python-shell-send-region)
10856 (python-shell-switch-to-shell): New commands.
10857 (python-send-string): Delete command.
10858 (python-shell-send-string): New command.
10859 (python-switch-to-python): Delete command.
10860 (python-shell-switch-to-shell): New command.
10861 (python-describe-symbol): Delete command.
10862 (python-eldoc-at-point): New command.
10863 (python--set-prompt-regexp, python-args-to-list)
10864 (python-after-info-look, python-check-version)
10865 (python-check-comint-prompt, python-find-imports)
10866 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10867 (python-unload-function, python-expand-template)
10868 (python-maybe-jython, python-preoutput-filter)
10869 (python-pdbtrack-get-source-buffer)
10870 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10871 (python-pdbtrack-toggle-stack-tracking)
10872 (python-pdbtrack-track-stack-file, python-initial-text)
10873 (python-first-word, python-comment-line-p, python-send-command)
10874 (python-setup-brm, python-sentinel, python-set-proc)
10875 (python-skip-out, python-input-filter, python-outdent-p)
10876 (python-outline-level, python-backslash-continuation-line-p)
10877 (python-end-of-block, python-end-of-statement, python-mark-block)
10878 (python-beginning-of-block, python-beginning-of-statement)
10879 (python-blank-line-p, python-beginning-of-string)
10880 (python-open-block-statement-p): Delete functions.
10881 (python-indent-line, python-indent-line-1): Delete functions.
10882 (python-indent-line): New function.
10883 (python-indentation-levels): Delete function.
10884 (python-indent-calculate-levels): New function.
10885 (python-proc): Delete function.
10886 (python-shell-get-process): New function.
10887 (python-send-receive): Delete function.
10888 (python-shell-send-string-no-output): New function.
10889 (python-module-path): Delete function.
10890 (python-ffap-module-path): New function.
10891 (python-completion-at-point)
10892 (python-symbol-completions): Delete functions.
10893 (python-completion-complete-at-point): New function.
10894 (python-load-file): Delete function.
10895 (python-shell-send-file): New function.
10896 (python-calculate-indentation): Delete function.
10897 (python-indent-calculate-indentation): New function.
10898 (python-skip-comments/blanks): Delete function.
10899 (python-util-forward-comment): New function.
10900 (python-continuation-line-p): Delete function.
10901 (python-info-continuation-line-p): New function.
10902 (python-which-func, python-current-defun): Delete function.
10903 (python-info-current-defun): New function.
10904 (python-beginning-of-defun): Delete function.
10905 (python-nav-beginning-of-defun): New function.
10906 (python-close-block-statement-p)
10907 (python-block-end-p): Delete function.
10908 (python-info-closing-block): New function.
10909 (python-comint-output-filter-function)
10910 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10911 (python-fill-comment, python-fill-decorator, python-fill-paren)
10912 (python-fill-string, python-imenu-make-element-tree)
10913 (python-imenu-make-tree, python-imenu-tree-assoc)
10914 (python-indent-context, python-indent-dedent-line)
10915 (python-indent-line-function)
10916 (python-indent-post-self-insert-function)
10917 (python-indent-toggle-levels)
10918 (python-info-assignment-continuation-line-p)
10919 (python-info-beginning-of-backlash)
10920 (python-info-block-continuation-line-p)
10921 (python-info-closing-block-message)
10922 (python-info-line-ends-backslash-p)
10923 (python-info-looking-at-beginning-of-defun)
10924 (python-info-ppss-context, python-info-ppss-context-type)
10925 (python-nav-list-defun-positions, python-nav-read-defun)
10926 (python-nav-sentence-end, python-nav-sentence-start)
10927 (python-pdbtrack-comint-output-filter-function)
10928 (python-pdbtrack-set-tracked-buffer)
10929 (python-shell-calculate-exec-path)
10930 (python-shell-calculate-process-environment)
10931 (python-shell-completion--do-completion-at-point)
10932 (python-shell-completion--get-completions)
10933 (python-shell-completion-complete-at-point)
10934 (python-shell-completion-complete-or-indent)
10935 (python-shell-get-or-create-process)
10936 (python-shell-get-process-name)
10937 (python-shell-internal-get-or-create-process)
10938 (python-shell-internal-get-process-name)
10939 (python-shell-internal-send-string, python-shell-make-comint)
10940 (python-shell-parse-command, python-shell-send-setup-code)
10941 (python-skeleton-add-menu-items)
10942 (python-util-clone-local-variables, python-util-position)
10943 (run-python-internal, python-indentation-levels)
10944 (python-nav-beginning-of-defun)
10945 (python-completion-complete-at-point): New functions.
10946 (run-python): Change arguments. New API requirements.
10947
10948 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10951 (bug#11649).
10952
10953 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10954 (macroexp--expand-all): Use it.
10955
10956 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10957 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10958 Use `cl-function' instead.
10959
10960 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10961
10962 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10963 Suggested by Stefan Monnier while discussing bug#11657.
10964
10965 2012-06-14 Sam Steingold <sds@gnu.org>
10966
10967 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10968
10969 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10970
10971 * play/doctor.el (doctor-doc): Remove parameter and use
10972 doctor-sent instead of sent.
10973 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10974
10975 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * files.el: Require cl-lib.
10978 (file-name-non-special): Replace case -> cl-case.
10979
10980 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10981
10982 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10983 mapping from #' to function*.
10984
10985 2012-06-13 Chong Yidong <cyd@gnu.org>
10986
10987 * mouse.el (mouse-drag-track): Do not set the mark if the user
10988 releases the mouse without selecting anything (Bug#11588).
10989
10990 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10993 as well (bug#11646).
10994
10995 * loadup.el: Count byte-code functions as well.
10996
10997 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10998 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10999
11000 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11001 (bug#11649). Add cl-defun and cl-defmacro.
11002
11003 2012-06-13 Drew Adams <drew.adams@oracle.com>
11004
11005 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11006 Fix last change.
11007
11008 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11009
11010 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11011 Otherwise, it blocks in batch mode.
11012
11013 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11014
11015 * help-mode.el (bookmark-make-record-default): Declare.
11016
11017 2012-06-13 Chong Yidong <cyd@gnu.org>
11018
11019 * emacs-lisp/package.el (list-packages): Compute a list of
11020 packages that are newly-available since the last list-packages
11021 invocation.
11022 (package-menu--new-package-list): New var.
11023 (package-menu--generate, package-menu--print-info)
11024 (package-menu--status-predicate, package-menu-mark-install):
11025 Handle new status label "new".
11026
11027 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11030 conversion to backquotes.
11031
11032 2012-06-12 Chong Yidong <cyd@gnu.org>
11033
11034 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11035 Rename from gud-inhibit-global-bindings.
11036
11037 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11038
11039 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11040 hook from nxml-glyph-set-hook.
11041
11042 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11043 declaration.
11044
11045 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11046
11047 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11048 Convert to defcustom.
11049
11050 2012-06-12 Drew Adams <drew.adams@oracle.com>
11051
11052 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11053 New functions.
11054 (help-mode): Use them.
11055
11056 2012-06-11 Glenn Morris <rgm@gnu.org>
11057
11058 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11059 Use preprocessor face for directives.
11060 (fortran-directive-re): Doc fix.
11061
11062 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11063
11064 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11065 conversion to backquotes (bug#11652).
11066
11067 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11068 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11069 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11070 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11071 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11072 (cl-ninth, cl-tenth): Mark them as inlinable.
11073 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11074 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11075 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11076 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11077 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11078 (cl-list*, cl-adjoin): Don't put an autoload manually.
11079 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11080 (cl--compiler-macro-list*): Add autoload cookie.
11081 (cl--compiler-macro-cXXr): New function.
11082
11083 * help-fns.el (help-fns--compiler-macro): New function extracted from
11084 describe-function-1; follow aliases and use `compiler-macro' property.
11085 (describe-function-1): Use it.
11086
11087 2012-06-11 Chong Yidong <cyd@gnu.org>
11088
11089 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11090 is uninstalled, if imagemagick is installed.
11091
11092 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * emacs-lisp/cl-lib.el: Use lexical-binding.
11095 (cl-map-extents, cl-maclisp-member): Remove.
11096 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11097 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11098 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11099 * emacs-lisp/cl-extra.el: Use lexical-binding.
11100 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11101 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11102 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11103 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11104 * emacs-lisp/cl-seq.el: Use lexical-binding.
11105 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11106 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11107 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11108 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11109 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11110 CL's internals.
11111
11112 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11113
11114 Sync with Tramp 2.2.6-pre.
11115
11116 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11117 `print-length' and `print-level' to nil, in order to avoid
11118 truncation. Reported by Christopher Schmidt
11119 <christopher@ristopher.com>.
11120
11121 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11122
11123 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11124 New defmacro.
11125 (tramp-compat-copy-directory): Add optional argument
11126 COPY-CONTENTS. It is not handled yet.
11127
11128 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11129 (tramp-ftp-file-name-p): Simplify.
11130
11131 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11132 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11133 connection vector.
11134
11135 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11136 (tramp-methods): Do not use `tramp-password-end-of-line'.
11137 (tramp-completion-function-alist-putty): Handle UNIX case.
11138 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11139 (tramp-do-file-attributes-with-stat)
11140 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11141 gid as real numbers. They could run out of integer range on cygwin.
11142 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11143 (tramp-sh-handle-expand-file-name): Handle hops.
11144 (tramp-open-connection-setup-interactive-shell):
11145 Use `tramp-cleanup'. Move check for busyboxes ...
11146 (tramp-find-shell): ... here. Simplify implementation.
11147 Set "remote-shell" property also for alternative shells.
11148 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11149 If failing, a regular file would be written otherwise.
11150 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11151 (tramp-find-inline-encoding): Cache the coding commands in the
11152 process cache. Apply test command on the remote side, if defined.
11153 (tramp-find-inline-compress): Cache the compress commands in the
11154 process cache.
11155 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11156 when requested. Handle hops.
11157 (tramp-current-connection): New defvar.
11158 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11159 Throw `suppress', if there was a failed connection shortly before.
11160 Handle user interrupt. (Bug#10187)
11161 (tramp-get-inline-compress, tramp-get-inline-coding):
11162 Read connection properties from the process cache.
11163
11164 * net/tramp-smb.el (tramp-smb-server-version)
11165 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11166 New defconsts.
11167 (tramp-smb-prompt): Extend for powershell prompt.
11168 (tramp-smb-file-name-handler-alist): Add handlers for
11169 `process-file', `shell-command' and `start-file-process'.
11170 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11171 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11172 (tramp-smb-file-name-p): Simplify.
11173 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11174 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11175 (tramp-smb-shell-quote-argument): New defuns.
11176 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11177 Implement using "tar". By this, time-stamps are preserved.
11178 (tramp-smb-handle-copy-file): Handle also the case of directories.
11179 (tramp-smb-do-file-attributes-with-stat)
11180 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11181 Use `tramp-get-connection-buffer').
11182 (tramp-smb-handle-rename-file): Use "rename", when source and
11183 target are on the same share.
11184 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11185 Use `tramp-smb-server-version'.
11186 (tramp-smb-wait-for-output): Remove prompt.
11187
11188 * net/tramp.el (top): Require 'cl.
11189 (tramp-methods, tramp-rsh-end-of-line):
11190 Remove `tramp-password-end-of-line' from docstring.
11191 (tramp-save-ad-hoc-proxies): New defcustom.
11192 (tramp-completion-function-alist): Adapt docstring.
11193 (tramp-default-password-end-of-line): Remove defcustom.
11194 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11195 (tramp-user-regexp, tramp-file-name-regexp-unified)
11196 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11197 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11198 (tramp-remote-file-name-spec-regexp): New defconst.
11199 (tramp-file-name-structure): Extend structure for hops.
11200 (tramp-get-method-parameter): Move up.
11201 (tramp-file-name-p, tramp-dissect-file-name)
11202 (with-parsed-tramp-file-name): Handle hops.
11203 (tramp-file-name-hop): New defun.
11204 (tramp-make-tramp-file-name): New optional arg HOP.
11205 (tramp-message-show-progress-reporter-message): New defvar.
11206 (tramp-with-progress-reporter): Use it. We cannot use
11207 `tramp-message-show-message' here, because this suppresses also
11208 error buffers.
11209 (tramp-error-with-buffer): Suppress buffer view, if
11210 `tramp-message-show-message' is nil.
11211 Use `tramp-get-connection-buffer'.
11212 (tramp-cleanup): New defun.
11213 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11214 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11215 an error unchanged.
11216 (tramp-completion-handle-file-name-all-completions): Handle hops.
11217 Fix an error when called from ido.
11218 (tramp-completion-dissect-file-name): Use better local variable
11219 name. Add hop to the vector.
11220 (tramp-handle-insert-file-contents): Use progress-reporter for the
11221 whole scenario.
11222 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11223 to `t'.
11224 (tramp-check-for-regexp): Simplify search.
11225 (tramp-enter-password): Remove it. Move implementation ...
11226 (tramp-action-password): ... here.
11227 (tramp-mode-string-to-int, tramp-local-host-p)
11228 (tramp-make-tramp-temp-file, tramp-read-passwd)
11229 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11230 Set tramp-autoload cookie.
11231
11232 * net/trampver.el: Update release number.
11233
11234 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11235 Michael Albinus <michael.albinus@gmx.de>
11236
11237 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11238 (tramp-parse-group, tramp-parse-file)
11239 (tramp-parse-shostkeys-sknownhosts): New defuns.
11240 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11241 (tramp-parse-shosts-group, tramp-parse-sconfig)
11242 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11243 (tramp-parse-sknownhosts, tramp-parse-hosts)
11244 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11245 Use them.
11246 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11247 (tramp-parse-putty-group): Don't narrow.
11248 (tramp-parse-putty): Make a loop.
11249 (tramp-file-name-handler): Catch the `suppress' signal.
11250
11251 2012-06-11 Chong Yidong <cyd@gnu.org>
11252
11253 * image.el (imagemagick-register-types): Put the ImageMagick entry
11254 at the end of image-type-file-name-regexps.
11255
11256 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11257
11258 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11259 (pcase, pcase-let*, pcase-dolist): Use them.
11260
11261 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * emacs-lisp/pcase.el (pcase--let*): New function.
11264 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11265 (pcase--expand): Use macroexp-let².
11266
11267 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11270 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11271 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11272 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11273 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11274 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11275
11276 2012-06-10 Glenn Morris <rgm@gnu.org>
11277
11278 * mail/rmail.el (rmail-yank-current-message): Leave point at
11279 correct position. (Bug#11660)
11280
11281 2012-06-10 Chong Yidong <cyd@gnu.org>
11282
11283 * allout-widgets.el: Fix code header.
11284
11285 2012-06-10 Chong Yidong <cyd@gnu.org>
11286
11287 * cus-edit.el (customize-changed-options-previous-release):
11288 Bump to 24.1.
11289
11290 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11291
11292 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11293
11294 2012-06-09 Chong Yidong <cyd@gnu.org>
11295
11296 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11297
11298 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11299
11300 * window.el (special-display-popup-frame): Don't use
11301 window--display-buffer (Bug#11651).
11302
11303 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11304
11305 Fix parallel builds: make sure loaddefs.el is not being written
11306 while Lisp files are compiled.
11307 (compile): Don't depend on 'mh-autoloads'.
11308 (compile-CMD, compile-SH): Depend on 'autoloads'.
11309 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11310
11311 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11312
11313 2012-06-09 Chong Yidong <cyd@gnu.org>
11314
11315 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11316 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11317 Doc fixes (Bug#11225).
11318
11319 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11322 a function if there's a clear indication that it has a compiler-macro.
11323 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11324 (macro-declarations-alist): Add arglist to declaration functions.
11325 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11326 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11327 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11328 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11329 Also add autoload to find the compiler macro.
11330 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11331 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11332 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11333 (cl--compiler-macro-get): New functions, replacing calls to
11334 cl-define-compiler-macro.
11335 (cl-typep) [compiler-macro]: Use macroexp-let².
11336
11337 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11338
11339 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11340 string properly, fixes Bug#11473.
11341
11342 2012-06-08 Chong Yidong <cyd@gnu.org>
11343
11344 * faces.el (set-face-attribute): Doc fix.
11345 (modify-face): Don't use :bold and :italic.
11346 (error, warning, success): Tweak definitions.
11347
11348 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11349 (custom-modified, custom-set, custom-changed, custom-themed)
11350 (custom-saved, custom-button, custom-button-mouse)
11351 (custom-button-pressed, custom-state, custom-comment-tag)
11352 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11353 (custom-group-subtitle): Use new-style face specs.
11354 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11355 (custom-set-face, custom-changed-face, custom-saved-face)
11356 (custom-button-face, custom-button-pressed-face)
11357 (custom-documentation-face, custom-state-face)
11358 (custom-comment-face, custom-comment-tag-face)
11359 (custom-variable-tag-face, custom-variable-button-face)
11360 (custom-face-tag-face, custom-group-tag-face-1)
11361 (custom-group-tag-face): Remove obsolete face alias.
11362
11363 * epa.el (epa-validity-high, epa-validity-medium)
11364 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11365 (epa-field-name, epa-field-body):
11366 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11367 (font-lock-keyword-face, font-lock-builtin-face)
11368 (font-lock-function-name-face, font-lock-variable-name-face)
11369 (font-lock-type-face, font-lock-constant-face):
11370 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11371 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11372 * speedbar.el (speedbar-button-face, speedbar-file-face)
11373 (speedbar-directory-face, speedbar-tag-face)
11374 (speedbar-selected-face, speedbar-highlight-face)
11375 (speedbar-separator-face):
11376 * whitespace.el (whitespace-newline, whitespace-space)
11377 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11378 (whitespace-line, whitespace-space-before-tab)
11379 (whitespace-space-after-tab, whitespace-indentation)
11380 (whitespace-empty):
11381 * emulation/cua-base.el (cua-global-mark):
11382 * eshell/em-prompt.el (eshell-prompt):
11383 * net/newst-plainview.el (newsticker-new-item-face)
11384 (newsticker-old-item-face, newsticker-immortal-item-face)
11385 (newsticker-obsolete-item-face, newsticker-date-face)
11386 (newsticker-statistics-face, newsticker-default-face):
11387 * net/newst-reader.el (newsticker-feed-face)
11388 (newsticker-extra-face, newsticker-enclosure-face):
11389 * net/newst-treeview.el (newsticker-treeview-face)
11390 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11391 (newsticker-treeview-immortal-face)
11392 (newsticker-treeview-obsolete-face)
11393 (newsticker-treeview-selection-face):
11394 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11395 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11396 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11397 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11398 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11399 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11400 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11401 (mpuz-text):
11402 * progmodes/vera-mode.el (vera-font-lock-number)
11403 (vera-font-lock-function, vera-font-lock-interface):
11404 * textmodes/table.el (table-cell): Use new-style face specs, and
11405 don't use the old :bold and :italic attributes.
11406
11407 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11408 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11409 (ebrowse-member-class, ebrowse-progress): Likewise.
11410 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11411 (ebrowse-file-name-face, ebrowse-default-face)
11412 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11413 (ebrowse-progress-face): Remove obsolete faces.
11414
11415 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11416 Inherit from error and warning faces respectively.
11417
11418 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11419 Likewise.
11420 (flyspell-incorrect-face, flyspell-duplicate-face):
11421 Remove obsolete aliases.
11422
11423 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11424
11425 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11426 Avoid infloop.
11427
11428 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * startup.el (argv, argi): Make lexically scoped.
11431 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11432 * emacs-lisp/cl-macs.el: Use lexical-binding.
11433 Rename cl-bind-* to cl--bind-*.
11434 * files.el: Don't require `cl' since it doesn't use it.
11435 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11436
11437 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11440 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11441 instead of calling external sort utility.
11442 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11443
11444 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11445
11446 * descr-text.el (describe-char): Mention how to insert the
11447 character, if the current input method doesn't support it.
11448 See the discussion in this thread for the details:
11449 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11450
11451 2012-06-08 Sam Steingold <sds@gnu.org>
11452
11453 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11454 XF86Back to previous-buffer.
11455 (minibuffer-local-map): Bind them to next-history-element and
11456 previous-history-element respectively.
11457 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11458 help-go-back respectively.
11459 * info.el (Info-mode-map): Bind them to Info-history-forward and
11460 Info-history-back respectively.
11461 These are the keys next to Up on the ThinkPad keyboard.
11462
11463 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11466 * emacs-lisp/cl-macs.el: Provide itself.
11467 (cl--labels-convert-cache): New var.
11468 (cl--labels-convert): New function.
11469 (cl-flet, cl-labels): New implementation with new semantics, relying on
11470 lexical-binding.
11471 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11472 (cl-closure-vars, cl--function-convert-cache)
11473 (cl--function-convert): Move from cl-macs.el.
11474 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11475 rename by removing the "cl-" prefix.
11476 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11477
11478 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11481 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11482 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11483 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11484 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11485 (cl-hash-table-count): Add old compatibility aliases.
11486
11487 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11488 Use macroexpand-all-environment instead.
11489 (cl--old-macroexpand): New var.
11490 (cl--sm-macroexpand): New function.
11491 (cl-symbol-macrolet): Use it during macro expansion.
11492 (cl--function-convert-cache): New var.
11493 (cl--function-convert): New function, extracted from
11494 cl-macroexpand-all.
11495 (cl-lexical-let): Use it.
11496
11497 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11498 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11499 (cl-member): Remove old alias.
11500
11501 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11502 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11503 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11504 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11505 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11506 (cl-macroexpand-cmacs): Remove var.
11507 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11508 Use macroexpand-all instead.
11509
11510 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11513 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11514 (macroexp-copyable-p): New functions and macros.
11515 * emacs-lisp/edebug.el (edebug-unwrap):
11516 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11517 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11518 (pcase--let*): Remove.
11519 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11520 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11521 macroexp-const-p instead.
11522 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11523
11524 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11525 instead of "cl-" for internal definitions. Use macroexp-const-p.
11526 (cl-old-bc-file-form): Remove var.
11527 (cl-const-exprs-p): Remove fun.
11528 (cl-labels, cl-macrolet): Use backquote.
11529 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11530 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11531 (cl-define-setf-expander): Rename from cl-define-setf-method.
11532 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11533
11534 * international/mule-cmds.el: Don't require CL.
11535 (view-hello-file): Don't use `letf'.
11536
11537 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * tmm.el (tmm-prompt): Use string-prefix-p.
11540 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11541 (tmm-add-prompt): Use minibuffer-completion-help.
11542 (tmm-delete-map): Remove.
11543
11544 * subr.el (kbd): Make it its own function.
11545
11546 2012-06-07 Stefan Merten <smerten@oekonux.de>
11547
11548 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11549 Silence compiler warnings. Fix versions.
11550 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11551 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11552 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11553 (rst-package-emacs-version-alist): Correct Emacs version to
11554 represent major merge with upstream.
11555 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11556
11557 2012-06-06 Glenn Morris <rgm@gnu.org>
11558
11559 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11560 Only print environment variables if set.
11561
11562 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11565 (macroexp--cons): Rename from maybe-cons.
11566 (macroexp--accumulate): Rename from macroexp-accumulate.
11567 (macroexp--all-forms): Rename from macroexpand-all-forms.
11568 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11569 (macroexp--expand-all): Rename from macroexpand-all-1.
11570
11571 2012-06-06 Sam Steingold <sds@gnu.org>
11572
11573 * calendar/calendar.el (calendar-in-read-only-buffer):
11574 Call `special-mode' to enable the standard read-only keybindings.
11575
11576 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11579 with "loading" messages (bug#11635).
11580
11581 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11582
11583 * files.el (enable-remote-dir-locals): New option.
11584 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11585
11586 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11587 Ensure, that the temp directory is local.
11588
11589 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11590 `temporary-file-directory'.
11591
11592 * progmodes/python.el (python-send-region): Ensure, that the
11593 temporary file is created also in the remote case.
11594
11595 2012-06-06 Glenn Morris <rgm@gnu.org>
11596
11597 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11598 (vc-rcs-update-changelog): Use it.
11599
11600 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11601
11602 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11603 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11604 (vc-sccs-diff): Replace use of the external vcdiff script.
11605
11606 2012-06-05 Glenn Morris <rgm@gnu.org>
11607
11608 * ledit.el: Move to obsolete/.
11609
11610 2012-06-05 Sam Steingold <sds@gnu.org>
11611
11612 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11613 patch (Bug#11140).
11614
11615 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 * emacs-lisp/cust-print.el: Move to obsolete.
11618
11619 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11620 compiler-macro expansion.
11621
11622 Add native compiler-macro support.
11623 * emacs-lisp/macroexp.el (macroexpand-all-1):
11624 Support compiler-macros directly. Properly follow aliases and apply
11625 the compiler macros more thoroughly.
11626 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11627 macroexpand now properly follows aliases.
11628 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11629 (cl-compiler-macroexpand): Use new prop.
11630 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11631
11632 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11633
11634 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11635
11636 * window.el (get-lru-window, get-mru-window, get-largest-window):
11637 New argument NOT-SELECTED to avoid picking the selected window.
11638 (window--display-buffer-1, window--display-buffer-2): Replace by
11639 new function window--display-buffer
11640 (display-buffer-same-window, display-buffer-reuse-window)
11641 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11642 Use window--display-buffer.
11643 (display-buffer-use-some-window): Remove temporary dedication
11644 hack by calling get-lru-window and get-largest-window with
11645 NOT-SELECTED argument non-nil. Call window--display-buffer.
11646
11647 2012-06-05 Glenn Morris <rgm@gnu.org>
11648
11649 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11650 Replace external vcdiff script.
11651
11652 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11655
11656 2012-06-04 Chong Yidong <cyd@gnu.org>
11657
11658 * image.el (imagemagick-types-inhibit): Revert last change.
11659 Add INFO and M.
11660 (imagemagick-enabled-types): Remove CIN and EPS*.
11661
11662 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * emacs-lisp/cl-lib.el: Rename from cl.el.
11665 * emacs-lisp/cl.el: New compatibility file.
11666 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11667 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11668 to obey the "cl-" prefix.
11669 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11670
11671 2012-06-03 Glenn Morris <rgm@gnu.org>
11672
11673 * emacs-lisp/authors.el (authors-aliases): Addition.
11674
11675 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11676 Fix :version.
11677
11678 2012-06-03 Stefan Merten <smerten@oekonux.de>
11679
11680 * textmodes/rst.el: Add comments.
11681 (rst-transition, rst-adornment): New faces.
11682 (rst-adornment-faces-alist): Make default safe to reevaluate.
11683 Fixes
11684 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11685 Improve customization tags.
11686 (rst-define-level-faces): Clarify meaning.
11687
11688 2012-06-03 Chong Yidong <cyd@gnu.org>
11689
11690 * progmodes/compile.el (compilation-mode-line-fail)
11691 (compilation-mode-line-run, compilation-mode-line-exit):
11692 New faces.
11693 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11694
11695 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11696
11697 * progmodes/which-func.el (which-func-update-ediff-windows):
11698 New function. Use it in ediff-select-hook (Bug#11478).
11699
11700 2012-06-03 Chong Yidong <cyd@gnu.org>
11701
11702 * bindings.el: Remove explicit help text from format-mode-line.
11703 It is now supplied by mode-line-default-help-echo.
11704 (mode-line-front-space, mode-line-end-spaces)
11705 (mode-line-misc-info): New variables.
11706 (mode-line-modes, mode-line-position): Move the default value to
11707 the variable definition.
11708 (mode-line-default-help-echo): New defcustom.
11709 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11710 (mode-line-modified-help-echo): New functions.
11711 (mode-line-mule-info, mode-line-modified): Use them.
11712 (mode-line-eol-desc, propertized-buffer-identification):
11713 Consistency fixes for help text.
11714 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11715 set-buffer-file-coding-system (Bug#289).
11716 (mode-line-mule-info-help-echo): Update help text.
11717
11718 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * simple.el (execute-extended-command): Set real-this-command
11721 (bug#11506).
11722
11723 2012-06-02 Chong Yidong <cyd@gnu.org>
11724
11725 Remove incorrect uses of "modeline" in comments, docstrings, and
11726 function/variable names (Bug#10329).
11727
11728 * cus-edit.el (mode-line):
11729 * dframe.el (dframe-mouse-hscroll):
11730 * emacs-lisp/re-builder.el:
11731 * emacs-lisp/easy-mmode.el (define-minor-mode):
11732 * frame.el (set-frame-name):
11733 * help.el (lookup-minor-mode-from-indicator):
11734 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11735 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11736 (c-toggle-hungry-state):
11737 * progmodes/antlr-mode.el (antlr-language-alist):
11738 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11739 * progmodes/vhdl-mode.el (vhdl-mode):
11740 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11741 * term/ns-win.el (ns-face-at-pos):
11742 * term/sup-mouse.el (sup-mouse-report):
11743 * textmodes/flyspell.el (flyspell-mode-line-string):
11744 * textmodes/ispell.el (ispell-highlight-face):
11745 * textmodes/reftex-global.el:
11746 * vc/vc-arch.el (vc-arch-mode-line-string):
11747 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11748 * vc/vc-git.el (vc-git-mode-line-string):
11749 * vc/vc-hooks.el (vc-display-status)
11750 (vc-default-mode-line-string):
11751 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11752
11753 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11754
11755 * dired.el (dired-sort-set-mode-line): Rename from
11756 dired-sort-set-modeline. All callers changed.
11757
11758 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11759 eshell-status-in-modeline.
11760
11761 * foldout.el (foldout-mode-line-string): Rename from
11762 foldout-modeline-string. All callers changed.
11763 (foldout-update-mode-line): Rename from foldout-update-modeline.
11764
11765 * subr.el (redraw-modeline): Make into obsolete alias.
11766
11767 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11768 timeclock-modeline-display. Make old name an alias.
11769 (timeclock-update-mode-line): Likewise. All callers changed.
11770 (timeclock-mode-line-display): No need to check before using
11771 add-hook.
11772 (timeclock-relative, timeclock-day-over-hook)
11773 (timeclock-use-elapsed, timeclock-mode-string)
11774 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11775
11776 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11777 crisp-mode-modeline-string.
11778
11779 * play/solitaire.el (solitaire-build-mode-line): Rename from
11780 solitaire-build-modeline. All callers changed.
11781
11782 * play/zone.el (zone-hiding-mode-line): Rename from
11783 zone-hiding-modeline. All callers changed.
11784 (zone): Remove unusued `modeline-hidden-level' property.
11785
11786 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11787 xscheme-modeline-initialize. All callers changed.
11788
11789 * strokes.el (strokes-lighter): Rename from
11790 strokes-modeline-string.
11791
11792 * textmodes/sgml-mode.el (html-face-tag-alist)
11793 (html-tag-face-alist): Use mode-line face instead of obsolete
11794 alias modeline.
11795
11796 2012-06-02 Stefan Merten <smerten@oekonux.de>
11797
11798 * textmodes/rst.el: Always require `cl'.
11799 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11800
11801 2012-06-02 Chong Yidong <cyd@gnu.org>
11802
11803 * image.el (imagemagick-enabled-types): Rename from
11804 imagemagick-types-enable. Add many more types.
11805 (imagemagick-types-inhibit): Change default to nil.
11806 (imagemagick-filter-types): Caller changed.
11807
11808 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/cl-macs.el: Use backquotes.
11811 (cl-transform-function-property): Use eval-and-compile rather than
11812 abusing `require'.
11813 (defstruct): Use declare-function instead of with-no-warnings.
11814
11815 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11816 (byte-compile-output-docform): Re-add the print-circle bindings.
11817 (byte-compile-fix-header): Use #$ just because it's shorter.
11818 (byte-compile-output-file-form): Remove defun/defmacro.
11819
11820 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11821
11822 * simple.el (choose-completion): Remove now obsolete binding for
11823 owindow.
11824
11825 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11826
11827 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11828 in order to avoid "Stack overflow in regexp matcher".
11829
11830 2012-05-31 Glenn Morris <rgm@gnu.org>
11831
11832 * image.el: For clarity, call imagemagick-register-types at
11833 top-level, rather than relying on a custom :initialize.
11834 (imagemagick-types-enable): New option. (Bug#11557)
11835 (imagemagick-filter-types): New function. (Bug#7406)
11836 (imagemagick-register-types): Use imagemagick-filter-types.
11837 If disabling support, remove elements altogether rather
11838 than using an impossible regexp.
11839 (imagemagick-types-inhibit): Give it the default init function.
11840
11841 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11844 Handle arbitrary file name lengths (Bug#11585).
11845
11846 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11847
11848 * desktop.el (desktop-read): Clear previous and next buffers for
11849 all windows and bury *Messages* buffer (bug#11556).
11850
11851 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 Add `declare' for `defun'. Align `defmacro's with it.
11854 * emacs-lisp/easy-mmode.el (define-minor-mode)
11855 (define-globalized-minor-mode): Don't autoload the var definitions.
11856 * emacs-lisp/byte-run.el: Use lexical-binding.
11857 (defun-declarations-alist, macro-declarations-alist): New vars.
11858 (defmacro, defun): Use them.
11859 (make-obsolete, define-obsolete-function-alias)
11860 (make-obsolete-variable, define-obsolete-variable-alias):
11861 Use `declare'.
11862 (macro-declaration-function): Mark obsolete.
11863 * emacs-lisp/autoload.el: Use lexical-binding.
11864 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11865
11866 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11867
11868 * textmodes/ispell.el (ispell-with-no-warnings):
11869 Define as a macro.
11870 (ispell-kill-ispell, ispell-change-dictionary):
11871 Use `called-interactively-p' for Emacs instead of obsolete
11872 `interactive-p'.
11873
11874 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11877 (macro-declaration-function): Move var from C code.
11878 (macro-declaration-function): Define function with defalias.
11879 * emacs-lisp/macroexp.el (macroexpand-all-1):
11880 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11881 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11882 defun/defmacro any more.
11883 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11884 Provide fallback for unknown arglist.
11885 (byte-compile-arglist-warn): Change calling convention.
11886 (byte-compile-output-file-form): Move print-vars binding.
11887 (byte-compile-output-docform): Simplify accordingly.
11888 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11889 (byte-compile-defmacro-declaration): Remove.
11890 (byte-compile-file-form-defmumble): Generalize to defalias.
11891 (byte-compile-output-as-comment): Return byte-positions.
11892 Simplify callers accordingly.
11893 (byte-compile-lambda): Use `assert'.
11894 (byte-compile-defun, byte-compile-defmacro): Remove.
11895 (byte-compile-file-form-defalias):
11896 Use byte-compile-file-form-defmumble.
11897 (byte-compile-defalias-warn): Remove.
11898
11899 2012-05-29 Stefan Merten <smerten@oekonux.de>
11900
11901 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11902 possible. Fix authors. Improve comments. Improve loading of `cl'.
11903
11904 (rst-mode-abbrev-table): Merge definition.
11905 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11906 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11907
11908 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11909
11910 * calendar/icalendar.el
11911 (icalendar-export-region): Export UID properly.
11912
11913 2012-05-29 Leo Liu <sdl.web@gmail.com>
11914 * calendar/icalendar.el (icalendar-import-format):
11915 Add `icalendar-import-format-uid' (Bug#11525).
11916 (icalendar-import-format-uid): New.
11917 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11918 Export UID.
11919
11920 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11923 different alternative patterns.
11924 (pcase-codegen): Be more careful to preserve identity.
11925 (pcase--u1): Don't forget to mark vars as used.
11926
11927 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11928 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11929 (byte-compile-from-buffer): ...rather than here.
11930
11931 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11932 functions from byte-compile-function-environment.
11933
11934 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11935
11936 * window.el (window-deletable-p): Avoid deleting the root window
11937 of a frame with an active minibuffer.
11938
11939 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11940
11941 * simple.el (choose-completion): Use quit-window (Bug#11567).
11942
11943 2012-05-29 Chong Yidong <cyd@gnu.org>
11944
11945 * whitespace.el (whitespace-cleanup): Fix usage of
11946 whitespace-empty-at-bob-regexp (Bug#11492).
11947
11948 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11949
11950 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11951 revert (Bug#11488).
11952
11953 2012-05-29 Juri Linkov <juri@jurta.org>
11954
11955 * isearch.el (isearch-mode-map): Bind `M-s _' to
11956 `isearch-toggle-symbol'. Bind `M-s c' to
11957 `isearch-toggle-case-fold'.
11958 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11959 (isearch-forward): Add `M-s _' to the docstring.
11960 (isearch-forward-symbol, isearch-toggle-case-fold)
11961 (isearch-symbol-regexp): New functions. (Bug#11381)
11962
11963 2012-05-29 Juri Linkov <juri@jurta.org>
11964
11965 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11966 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11967 a function, call it to get the regexp.
11968 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11969 property `isearch-message-prefix' instead of the string "word ".
11970 (isearch-search-fun-default): For the case of `isearch-word',
11971 return a lambda that calls re-search-forward/re-search-backward
11972 with a regexp returned by `word-search-regexp' or by the function
11973 in `isearch-word'.
11974
11975 2012-05-29 Juri Linkov <juri@jurta.org>
11976
11977 * isearch.el (isearch-search-fun-default): New function.
11978 (isearch-search-fun): Move default part to the new function
11979 `isearch-search-fun-default'.
11980 (isearch-search-fun-function): Set the default value to
11981 `isearch-search-fun-default'. (Bug#11381)
11982
11983 * comint.el (comint-history-isearch-end):
11984 Use `isearch-search-fun-default'.
11985 (comint-history-isearch-search): Use `isearch-search-fun-default'
11986 and remove spacial case for `isearch-word'.
11987 (comint-history-isearch-wrap): Remove spacial case for
11988 `isearch-word'.
11989
11990 * hexl.el (hexl-isearch-search-function):
11991 Use `isearch-search-fun-default'.
11992
11993 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11994 Use `word-search-regexp' for `isearch-word'.
11995
11996 * misearch.el (multi-isearch-search-fun):
11997 Use `isearch-search-fun-default'.
11998
11999 * simple.el (minibuffer-history-isearch-search):
12000 Use `isearch-search-fun-default' and remove spacial case for
12001 `isearch-word'.
12002 (minibuffer-history-isearch-wrap): Remove spacial case for
12003 `isearch-word'.
12004
12005 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12006 Remove spacial case for `isearch-word'.
12007 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12008
12009 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12010
12011 Decrease XEmacs incompatibilities.
12012 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12013 Use `string-match'.
12014 (flyspell-delete-region-overlays): Use alternative definition for
12015 XEmacs.
12016 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12017 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12018 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12019 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12020 `define-obsolete-face-alias' under XEmacs, but old method.
12021
12022 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12023 `with-no-warnings' definition or Emacs alias.
12024 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12025 (ispell-word): Do not use `region-p' if XEmacs.
12026
12027 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12028
12029 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12030 Check for `ispell-dictionary-base-alist' instead of full
12031 `ispell-dictionary-alist'.
12032 (ispell-init-process): Show spellchecker when starting new Ispell
12033 process.
12034
12035 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12038 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12039
12040 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12041
12042 * version.el (motif-version-string, gtk-version-string)
12043 (ns-version-string): Declare.
12044
12045 2012-05-27 Juri Linkov <juri@jurta.org>
12046
12047 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12048 after the `eval-defun-1' specialcaseing
12049 like in `edebug-eval-defun' (bug#10181).
12050
12051 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12052 like in `eval-defun-1'.
12053
12054 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12055
12056 * mail/sendmail.el (mail-yank-region):
12057 Recognize rmail-yank-current-message in addition to insert-buffer.
12058 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12059 a *mail* buffer created through rmail-start-mail with sendmail as
12060 mail-user-agent.
12061
12062 2012-05-27 Chong Yidong <cyd@gnu.org>
12063
12064 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12065 Default to 256 (Bug#11267).
12066
12067 * help.el (describe-mode): Doc fix.
12068
12069 2012-05-26 Glenn Morris <rgm@gnu.org>
12070
12071 * w32-fns.el (w32-init-info): Remove.
12072 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12073
12074 * info.el (info-initialize): For self-contained NS builds, put the
12075 included info/ directory at the front. (Bug#2791)
12076
12077 * paths.el (Info-default-directory-list): Make it a defcustom,
12078 mainly so that we can use custom-initialize-delay.
12079
12080 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 * subr.el (buffer-has-markers-at): Mark obsolete.
12083
12084 * subr.el (lambda): Use declare.
12085
12086 * emacs-lisp/lisp-mode.el (lambda):
12087 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12088
12089 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12090
12091 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12092
12093 2012-05-26 Glenn Morris <rgm@gnu.org>
12094
12095 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12096
12097 2012-05-25 Glenn Morris <rgm@gnu.org>
12098
12099 * paths.el: Remove no-byte-compile.
12100 * loadup.el: No need to load paths.el uncompiled.
12101
12102 * image.el (imagemagick-types-inhibit): Doc fix.
12103
12104 * version.el: Remove no-byte-compile and associated formatting.
12105 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12106 is ancient code from when there was an "inc-vers.el".
12107
12108 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12109
12110 * progmodes/gdb-mi.el: Minor style changes.
12111 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12112 Turn into minor modes.
12113 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12114 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12115 (gdb-shell): Remove unneeded let-binding.
12116 (gdb-get-many-fields): Eliminate O(n²) behavior.
12117
12118 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12119
12120 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12121 platforms that don't link in fontset.c.
12122
12123 2012-05-25 Juri Linkov <juri@jurta.org>
12124
12125 Use the same diff color scheme as in modern VCSes (bug#10181).
12126
12127 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12128 to avoid confusion with `diff-added' that now uses green colors.
12129 (diff-removed): Use shades of red.
12130 (diff-added): Use shades of green.
12131 (diff-changed): Leave just the yellow color.
12132 (diff-use-changed-face): New variable.
12133 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12134 how to highlight context diff changes.
12135 (diff-refine-change): Use shades of yellow.
12136 (diff-refine-removed): New face that uses shades of red.
12137 (diff-refine-added): New face that uses shades of green.
12138 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12139 `diff-refine-removed' in the call to `smerge-refine-subst'
12140 depending on the value of `diff-use-changed-face'.
12141
12142 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12143 (smerge-other): Use shades of green.
12144 (smerge-base): Use shades of yellow.
12145 (smerge-refined-change): Empty face.
12146 (smerge-refined-removed): New face that uses shades of red.
12147 (smerge-refined-added): New face that uses shades of green.
12148 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12149 args `props-r' and `props-a', and use them. Doc fix.
12150 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12151 on its value use different faces `smerge-refined-change',
12152 `smerge-refined-removed', `smerge-refined-added' in the call to
12153 `smerge-refine-subst'.
12154
12155 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12156 Add face condition `min-colors 88' with shades of red.
12157 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12158 `min-colors 88' with shades of green.
12159 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12160 `min-colors 88' with shades of yellow.
12161
12162 2012-05-24 Glenn Morris <rgm@gnu.org>
12163
12164 * paths.el (prune-directory-list, remote-shell-program): Move to...
12165 * files.el (prune-directory-list, remote-shell-program): ...here.
12166 For the latter, delay initialization, prefer ssh, just search PATH.
12167
12168 * paths.el (term-file-prefix): Move to faces.el (the only user).
12169 * faces.el (term-file-prefix): Move here, make it a defcustom.
12170
12171 * paths.el (news-directory, news-path, news-inews-program):
12172 Move to gnus/nnspool.el.
12173
12174 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12175
12176 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12177 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12178 Make the latter a defcustom, with a delayed initialization.
12179
12180 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12181 These were deleted from Gnus itself late 2010.
12182
12183 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12184
12185 * progmodes/which-func.el (which-func-ff-hook):
12186 Check against user-error, not error.
12187
12188 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12189 cl-specs.el, which no longer exists.
12190
12191 2012-05-22 Glenn Morris <rgm@gnu.org>
12192
12193 * info.el (info-emacs-bug): New command.
12194 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12195 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12196
12197 2012-05-21 Glenn Morris <rgm@gnu.org>
12198
12199 * makefile.w32-in (update-subdirs-SH):
12200 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12201
12202 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12203
12204 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12205
12206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12207 Simplify Maven regexp, and make sure the file can't start with a space
12208 (bug#11517).
12209
12210 2012-05-21 Glenn Morris <rgm@gnu.org>
12211
12212 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12213 Scrap superfluous subshells.
12214
12215 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12218 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12219
12220 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12221
12222 * calc/calc.el (calc-ensure-consistent-units): New variable.
12223
12224 * calc/calc-units.el (math-consistent-units-p)
12225 (math-check-unit-consistency): New functions.
12226 (calc-quick-units, calc-convert-units):
12227 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12228 is non-nil.
12229 (calc-extract-units): Fix typo.
12230
12231 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12232
12233 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12234
12235 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12236 (flyspell-default-deplacement-commands): Don't spell check after
12237 repeated window/frame switches (e.g. triggered by mouse-movement).
12238 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12239 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12240 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12241 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12242 Remove unused vars.
12243 (flyspell-get-casechars, flyspell-get-not-casechars):
12244 Simplify; Don't bother removing a ] just to add it back.
12245 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12246
12247 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12248
12249 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12250 New functions.
12251 (math-function-table): Add support for more C functions.
12252
12253 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12254
12255 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12256 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12257 Protect delay handling for otherchars against empty otherchars.
12258
12259 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12260
12261 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12262 their respective macro declarations.
12263 * skeleton.el (define-skeleton):
12264 * progmodes/compile.el (define-compilation-mode):
12265 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12266 (define-ibuffer-filter):
12267 * emacs-lisp/generic.el (define-generic-mode):
12268 * emacs-lisp/easy-mmode.el (define-minor-mode)
12269 (define-globalized-minor-mode):
12270 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12271 * emacs-lisp/byte-run.el (defsubst):
12272 * custom.el (deftheme): Add doc-string metadata.
12273
12274 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12277
12278 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12281
12282 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12283 * emacs-lisp/cl-macs.el: Idem.
12284 * emacs-lisp/cl-specs.el: Remove.
12285
12286 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 Minor renaming of internal CL functions and variables.
12289 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12290 (cl--position): Rename from cl-position.
12291 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12292 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12293 (cl--random-state): Rename from *random-state*.
12294
12295 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12298 parens around the arg list (bug#11499).
12299
12300 2012-05-17 Juri Linkov <juri@jurta.org>
12301
12302 * isearch.el (word-search-regexp, word-search-backward)
12303 (word-search-forward, word-search-backward-lax)
12304 (word-search-forward-lax): Move functions from search.c
12305 (bug#10145, bug#11381).
12306
12307 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12308
12309 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12310 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12311 Delay for otherchars as for normal word components.
12312
12313 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * minibuffer.el (completion--sifn-requote): Fix last change.
12316 (minibuffer-local-must-match-filename-map):
12317 Move define-obsolete-variable-alias before its var.
12318
12319 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12322
12323 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12324 behavior.
12325 (completion--string-equal-p): New function.
12326 (completion--twq-all): Use it to get better assertion failure data.
12327
12328 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12329 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12330 (shell--requote-argument): New functions.
12331 (shell-completion-vars): Use them.
12332 (shell--parse-pcomplete-arguments): Rename from
12333 shell-parse-pcomplete-arguments.
12334 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12335 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12336 Obey comint-file-name-quote-list.
12337
12338 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12339 (smie-indent-keyword): Use it.
12340
12341 2012-05-14 Stefan Merten <smerten@oekonux.de>
12342
12343 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12344
12345 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * net/rlogin.el (rlogin-mode-map): Fix last change.
12348
12349 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12350
12351 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12352 the following \r\n using a single `process-send-string', since the
12353 Lotus SMTP server refuses to accept any commands if they are sent
12354 with two `process-send-string's (Bug#11444).
12355
12356 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12357
12358 * shell.el (shell-parse-pcomplete-arguments):
12359 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12360
12361 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12362
12363 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12364 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12365 (image-transform-width, image-transform-fit-width): New functions.
12366 (image-transform-properties): Use them.
12367 (image-transform-check-size): New function.
12368 (image-toggle-display-image): Use it (for testing).
12369 (image-transform-set-rotation): Reduce angle mod 360.
12370 Delete obsolete comment.
12371
12372 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12373
12374 * image-mode.el: Fix scaling (bug#11399).
12375 (image-transform-resize): Doc fix.
12376 (image-transform-properties): Default scale is 1 and height should
12377 be an integer.
12378
12379 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12380
12381 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12382 than hard-coding `car', to fix misbehavior when moving forward.
12383
12384 2012-05-13 Chong Yidong <cyd@gnu.org>
12385
12386 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12387 (tabulated-list-entries, tabulated-list-padding)
12388 (tabulated-list-sort-key): Make permanent-local.
12389
12390 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12391 (electric-buffer-list): Put electric buffer menu
12392 command descriptions in this docstring, instead of the docstring
12393 of electric-buffer-menu-mode. Code cleanups.
12394 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12395 Electric-buffer-menu-mode.
12396 (electric-buffer-update-highlight): Minor code cleanup.
12397
12398 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12399
12400 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12401 (Bug#11447)
12402
12403 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 Move define-obsolete-variable-alias before the var's definition.
12406 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12407 * tooltip.el (tooltip-hook):
12408 * textmodes/reftex-toc.el (reftex-toc-map):
12409 * textmodes/reftex-sel.el (reftex-select-label-map)
12410 (reftex-select-bib-map):
12411 * textmodes/reftex-index.el (reftex-index-map)
12412 (reftex-index-phrases-map):
12413 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12414 * progmodes/meta-mode.el (meta-mode-map):
12415 * novice.el (disabled-command-hook):
12416 * loadhist.el (unload-hook-features-list):
12417 * frame.el (blink-cursor):
12418 * files.el (find-file-not-found-hooks, write-file-hooks)
12419 (write-contents-hooks):
12420 * emulation/tpu-edt.el (GOLD-map):
12421 * emacs-lock.el (emacs-lock-from-exiting):
12422 * emacs-lisp/generic.el (generic-font-lock-defaults):
12423 * emacs-lisp/chart.el (chart-map):
12424 * dos-fns.el (register-name-alist):
12425 * dired-x.el (dired-omit-files-p):
12426 * desktop.el (desktop-enable):
12427 * cus-edit.el (custom-mode-hook):
12428 * buff-menu.el (buffer-menu-mode-hook):
12429 * bookmark.el (bookmark-read-annotation-text-func)
12430 (bookmark-exit-hooks):
12431 * allout.el (allout-mode-deactivate-hook)
12432 (allout-exposure-change-hook, allout-structure-added-hook)
12433 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12434 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12435 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12436 comes before the corresponding variable's definition.
12437
12438 2012-05-12 Chong Yidong <cyd@gnu.org>
12439
12440 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12441 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12442 (Buffer-menu-mode-map): Bind it.
12443 (Buffer-menu--pretty-name): Add a mouse-face property.
12444
12445 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12446
12447 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12448 (prolog-upper-case-string, prolog-lower-case-string)
12449 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12450 (prolog-use-smie, prolog-smie-grammar): New vars.
12451 (prolog-smie-forward-token, prolog-smie-backward-token)
12452 (prolog-smie-rules): New funs.
12453 (prolog-comment-indent): Remove.
12454 (prolog-mode-variables): Use default comment indentation instead.
12455 Setup SMIE.
12456 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12457 (prolog-mode): Don't call them any more.
12458 (prolog-electric-colon, prolog-electric-dash)
12459 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12460
12461 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12462
12463 * minibuffer.el (completion--twq-all): Again, allow case differences.
12464
12465 * term.el: Move keymap initialization code to be more idiomatic.
12466 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12467 (term-terminal-menu): Move initialization into declaration.
12468 (term-escape-char): Let the user set it in her .emacs.
12469
12470 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12471 Provide SMIE-based indentation (not enabled by default yet).
12472 (sh-mode-map): Don't bind electric keys.
12473 Use electric-pair-mode instead of skeleton-pair.
12474 (sh-assignment-regexp): Fit within 80 columns.
12475 (sh-indent-supported): Specify actual shell name instead of boolean.
12476 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12477 (sh-maybe-here-document): Use it. Make obsolete.
12478 (sh-electric-here-document-mode) New minor mode.
12479 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12480 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12481 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12482 (sh-smie-rc-grammar, sh-use-smie): New vars.
12483 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12484 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12485 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12486 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12487 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12488 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12489 (sh-set-shell): Use smie-setup if requested.
12490
12491 * term.el (term-set-escape-char): Properly set term-escape-char.
12492 See http://stackoverflow.com/questions/10524656.
12493
12494 2012-05-10 Chong Yidong <cyd@gnu.org>
12495
12496 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12497 Use url-generic-parse-url, and handle host names and Windows
12498 filenames properly.
12499 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12500 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12501 URL schemes to work on.
12502 (ffap--toggle-read-only): New function.
12503 (ffap-read-only, ffap-read-only-other-window)
12504 (ffap-read-only-other-frame): Use it.
12505 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12506 necessary for ffap-url-unwrap-remote.
12507
12508 2012-05-10 Dave Abrahams <dave@boostpro.com>
12509
12510 * cus-start.el (create-lockfiles): Add it.
12511
12512 2012-05-09 Chong Yidong <cyd@gnu.org>
12513
12514 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12515 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12516
12517 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12520
12521 2012-05-09 Chong Yidong <cyd@gnu.org>
12522
12523 * ansi-color.el (ansi-color-process-output): Check for validity of
12524 comint-last-output-start before using it. This avoids a bad
12525 interaction with gdb-mi's input/output buffer.
12526
12527 2012-05-09 Glenn Morris <rgm@gnu.org>
12528
12529 * files.el (dir-locals-read-from-file):
12530 Mention dir-locals in any error message.
12531
12532 2012-05-09 Chong Yidong <cyd@gnu.org>
12533
12534 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12535 package (Bug#11410).
12536
12537 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12538 variables into description.
12539
12540 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12541
12542 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12543 shell-delimiter-argument-list (bug#11348).
12544 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12545
12546 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12547
12548 * textmodes/rst.el: Silence byte-compiler warnings.
12549 (rst-re-alist, rst-reset-section-caches): Move around.
12550 (rst-re): Use `characterp', not `char-valid-p'.
12551 (font-lock-beg, font-lock-end): Declare.
12552
12553 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12554 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12555
12556 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12557
12558 2012-05-08 Glenn Morris <rgm@gnu.org>
12559
12560 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12561
12562 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * vc/log-edit.el: Add GNU coding standards highlighting.
12565 (log-edit-font-lock-gnu-style)
12566 (log-edit-font-lock-gnu-keywords): New vars.
12567 (log-edit-font-lock-keywords): New fun.
12568 (log-edit-mode): Don't fold case in font-lock.
12569 (log-edit-font-lock-keywords): Do not assume case-folding.
12570
12571 * imenu.el: Misc cleanup. Make docstrings out of comments.
12572 Use lexical-binding.
12573 (imenu--index-alist, imenu--last-menubar-index-alist)
12574 (imenu-menubar-modified-tick): Use defvar-local.
12575 (imenu--split-menu): Remove unused var.
12576 (imenu--cleanup-seen): Declare as global.
12577 (imenu--cleanup): Use dolist.
12578
12579 * subr.el (defvar-local): Add debug spec and doc-string position.
12580
12581 2012-05-08 Glenn Morris <rgm@gnu.org>
12582
12583 * language/burmese.el, language/cham.el, language/czech.el:
12584 * language/english.el, language/georgian.el, language/greek.el:
12585 * language/japanese.el, language/khmer.el, language/korean.el:
12586 * language/lao.el, language/misc-lang.el, language/romanian.el:
12587 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12588 * language/thai.el, language/utf-8-lang.el:
12589 Remove no-byte-compile setting.
12590
12591 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12592
12593 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12594
12595 * progmodes/make-mode.el (makefile-browse):
12596 Remove unnecessary interactive. (Bug#11324)
12597
12598 2012-05-07 Glenn Morris <rgm@gnu.org>
12599
12600 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12601
12602 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12603
12604 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12605
12606 * loadup.el: Preload newcomment.el.
12607 * newcomment.el: Move autoload-only code to toplevel.
12608
12609 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12610 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12611 Handle new :right-align column property.
12612 (tabulated-list-print-col): Idem, plus use `display' text-property to
12613 try and preserve alignment for variable pitch fonts.
12614
12615 2012-05-07 Chong Yidong <cyd@gnu.org>
12616
12617 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12618 (tabulated-list-use-header-line): New var.
12619 (tabulated-list-init-header): Use it.
12620 (tabulated-list-print-fake-header): New function.
12621 (tabulated-list-print): Use it.
12622 (tabulated-list-sort-button-map): Add non-header-line commands.
12623 (tabulated-list-init-header): Add column name property to basic
12624 labels as well.
12625 (tabulated-list-col-sort): Handle non-header-line button case.
12626 (tabulated-list--sort-by-column-name): Fix a corner case.
12627
12628 * buff-menu.el (list-buffers--refresh):
12629 Handle Buffer-menu-use-header-line.
12630
12631 2012-05-06 Chong Yidong <cyd@gnu.org>
12632
12633 * buff-menu.el: Convert to Tabulated List mode.
12634 (Buffer-menu-buffer+size-width): Make obsolete.
12635 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12636 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12637 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12638 documentation into docstring of buffer-menu.
12639 (Buffer-menu-toggle-files-only): Add an informative message.
12640 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12641 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12642 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12643 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12644 (Buffer-menu-execute, Buffer-menu-select)
12645 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12646 (Buffer-menu-bury): Use Tabulated List machinery.
12647 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12648 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12649 Delete.
12650 (list-buffers--refresh): New function.
12651 (list-buffers-noselect): Use it.
12652 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12653 (Buffer-menu--pretty-file-name): New helper functions.
12654
12655 * loadup.el: Preload tabulated-list.
12656
12657 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12658 tabulated-list-sort-column.
12659 (tabulated-list-init-header): Add the initial aligning space even
12660 if tabulated-list-padding is zero.
12661
12662 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12663
12664 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12665 whose cdr is not a cons cell correctly (bug#11038).
12666
12667 2012-05-06 Chong Yidong <cyd@gnu.org>
12668
12669 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12670 Accept additional plist in column descriptors.
12671 (tabulated-list-init-header): Obey it.
12672 (tabulated-list-get-entry): New function.
12673 (tabulated-list-put-tag): Use it. Use string-width instead of
12674 length.
12675 (tabulated-list--column-number): New function.
12676 (tabulated-list-print): Use it.
12677 (tabulated-list-print-col): New function.
12678 Set `tabulated-list-column-name' property on each column's text.
12679 (tabulated-list-print-entry): Use it.
12680 (tabulated-list-delete-entry, tabulated-list-set-col):
12681 New functions.
12682 (tabulated-list-sort-column): New command (Bug#11337).
12683
12684 * buff-menu.el (list-buffers): Move C-x C-b binding from
12685 buff-menu.el to bindings.el.
12686
12687 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12688 :advertised-binding feature.
12689
12690 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12691
12692 * progmodes/compile.el (compilation-internal-error-properties):
12693 Calculate start position correctly when end-col is set but
12694 end-line is not (Bug#11382).
12695
12696 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12697
12698 * man.el (Man-unindent): Use text-property-default-nonsticky to
12699 prevent untabify from inheriting face properties (Bug#11408).
12700
12701 2012-05-05 Stefan Merten <smerten@oekonux.de>
12702
12703 * textmodes/rst.el: Major merge with upstream development up to
12704 Docutils SVN r7399 / rst.el V1.2.1.
12705
12706 Clarify maintainership and authors.
12707
12708 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12709 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12710 (rst-official-version, rst-official-cvs-rev, rst-version)
12711 (rst-package-emacs-version-alist): New functions and variables
12712 for version information.
12713
12714 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12715 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12716 (rst-mode-syntax-table, rst-mode): New and corrected functions
12717 and variables representing reStructuredText features.
12718
12719 (rst-re): New function for reStructuredText regexes. Use in
12720 many places.
12721
12722 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12723 (rst-mode-map): Rebind keys.
12724
12725 (rst-mode-lazy, rst-font-lock-keywords)
12726 (rst-font-lock-extend-region)
12727 (rst-font-lock-extend-region-internal)
12728 (rst-font-lock-extend-region-extend)
12729 (rst-font-lock-find-unindented-line-limit)
12730 (rst-font-lock-find-unindented-line-match)
12731 (rst-adornment-level, rst-font-lock-adornment-level)
12732 (rst-font-lock-adornment-match)
12733 (rst-font-lock-handle-adornment-pre-match-form)
12734 (rst-font-lock-handle-adornment-matcher): Major revision of
12735 font-locking. Integrate with other code. Use `jit-lock-mode'.
12736
12737 (rst-preferred-adornments, rst-adjust-hook)
12738 (rst-new-adornment-down, rst-preferred-bullets)
12739 (rst-preferred-bullets, rst-indent, rst-indent-width)
12740 (rst-indent-field, rst-indent-literal-normal)
12741 (rst-indent-literal-minimized, rst-indent-comment): Change,
12742 extend and improve customization.
12743
12744 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12745 (rst-normalize-cursor-position, rst-get-decoration)
12746 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12747 (rst-rstrip, rst-toc-insert-find-delete-contents)
12748 (rst-shift-fill-region, rst-compute-bullet-tabs)
12749 (rst-debug-print-tabs, rst-debug-mark-found)
12750 (rst-shift-region-guts, rst-shift-region-right)
12751 (rst-shift-region-left, rst-use-char-classes)
12752 (rst-font-lock-keywords-function)
12753 (rst-font-lock-indentation-point)
12754 (rst-font-lock-find-unindented-line-begin)
12755 (rst-font-lock-find-unindented-line-end)
12756 (rst-font-lock-find-unindented-line)
12757 (rst-font-lock-adornment-point, rst-font-lock-level)
12758 (rst-adornment-level-alist): Remove functions and variables.
12759
12760 (rst-compare-adornments, rst-get-adornment-match)
12761 (rst-suggest-new-adornment, rst-get-adornments-around)
12762 (rst-adornment-complete-p, rst-get-next-adornment)
12763 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12764 (rst-straighten-adornments): Standardize function names to
12765 use "adornment" instead of "decoration". Correct callers.
12766 Similar standardizing in many places.
12767
12768 (rst-update-section, rst-adjust, rst-promote-region)
12769 (rst-enumerate-region, rst-bullet-list-region)
12770 (rst-repeat-last-character): Correct use of `interactive'.
12771
12772 (rst-classify-adornment, rst-find-all-adornments)
12773 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12774 (rst-find-leftmost-column, rst-repeat-last-character):
12775 Refactor functions.
12776
12777 (rst-find-title-line, rst-reset-section-caches)
12778 (rst-get-adornments-around, rst-adjust-adornment-work)
12779 (rst-arabic-to-roman, rst-roman-to-arabic)
12780 (rst-insert-list-pos, rst-insert-list-new-item)
12781 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12782 New functions.
12783
12784 (rst-all-sections, rst-section-hierarchy)
12785 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12786 New variables.
12787
12788 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12789 configuration instead of only buffer. Change where necessary.
12790
12791 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12792 (rst-shift-region, rst-adaptive-fill): New functions for
12793 indentation and filling.
12794
12795 (rst-comment-line-break, rst-comment-indent)
12796 (rst-comment-insert-comment, rst-comment-region)
12797 (rst-uncomment-region): New functions for handling comments.
12798
12799 (rst-compile): Quote shell arguments.
12800
12801 (rst-compile-pdf-preview, rst-compile-slides-preview):
12802 Delete temporary files after use.
12803
12804 2012-05-05 Glenn Morris <rgm@gnu.org>
12805
12806 * calendar/cal-html.el: Optionally include holidays in the output.
12807 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12808 (cal-html-holidays): New option.
12809 (cal-html-css-default): Add holiday entry.
12810 (holiday-in-range): Autoload it.
12811 (cal-html-htmlify-entry): Add optional class argument.
12812 (cal-html-htmlify-list): Add optional holidays argument.
12813 (cal-html-insert-agenda-days): Include holidays in the output.
12814 (cal-html-one-month): Maybe include holidays.
12815
12816 * calendar/holidays.el (holiday-in-range):
12817 Move here from cal-tex-list-holidays.
12818 * calendar/cal-tex.el (cal-tex-list-holidays):
12819 Make it an obsolete alias for holiday-in-range. Update all callers.
12820
12821 2012-05-05 Chong Yidong <cyd@gnu.org>
12822
12823 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12824 Nextstep.
12825
12826 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12827
12828 * files.el (file-auto-mode-skip): New var.
12829 (set-auto-mode-1): Use it.
12830
12831 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * repeat.el: Use lexical-binding.
12834 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12835 (repeat-undo-count): Remove.
12836 (repeat):
12837 * progmodes/octave-mod.el (octave-abbrev-start):
12838 * progmodes/f90.el (f90-abbrev-start):
12839 * face-remap.el (text-scale-adjust):
12840 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12841
12842 * emacs-lisp/pcase.el (pcase--let*): New function.
12843 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12844 a bit more.
12845 (pcase--split-pred): Be more clever about ruling out overlap between
12846 a predicate and some constant pattern.
12847 (pcase--q1): Use `null' instead of (eq foo nil).
12848
12849 * subr.el (setq-local, defvar-local): New macros.
12850 (kbd): Redefine as an alias.
12851 (with-selected-window): Leave unrelated frames alone.
12852 (set-temporary-overlay-map): New function.
12853
12854 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * subr.el (user-error): New function.
12857 * window.el (switch-to-buffer):
12858 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12859 (smerge-match-conflict):
12860 * simple.el (previous-matching-history-element)
12861 (next-matching-history-element, goto-history-element, undo-more)
12862 (undo-start):
12863 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12864 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12865 (next-file, tags-loop-scan, list-tags, complete-tag):
12866 * progmodes/compile.el (compilation-loop):
12867 * mouse.el (mouse-minibuffer-check):
12868 * man.el (Man-bgproc-sentinel, Man-goto-page):
12869 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12870 (Info-history-forward, Info-follow-reference, Info-menu)
12871 (Info-extract-menu-item, Info-extract-menu-counting)
12872 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12873 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12874 (Info-next-reference, Info-prev-reference, Info-index)
12875 (Info-index-next, Info-follow-nearest-node)
12876 (Info-copy-current-node-name):
12877 * imenu.el (imenu--make-index-alist)
12878 (imenu-default-create-index-function, imenu-add-to-menubar):
12879 * files.el (basic-save-buffer, recover-file):
12880 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12881 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12882 (checkdoc-message-text, checkdoc-defun):
12883 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12884 * cus-edit.el (customize-changed-options, customize-rogue)
12885 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12886 (custom-variable-mark-to-reset-standard)
12887 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12888 (custom-file):
12889 * completion.el (check-completion-length):
12890 * comint.el (comint-search-arg)
12891 (comint-previous-matching-input-string-position)
12892 (comint-previous-matching-input)
12893 (comint-replace-by-expanded-history-before-point, comint-send-input)
12894 (comint-copy-old-input, comint-backward-matching-input)
12895 (comint-goto-process-mark, comint-set-process-mark):
12896 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12897 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12898
12899 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * dabbrev.el (dabbrev--ignore-case-p): New function.
12902 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12903 Use it.
12904
12905 * files.el (automount-dir-prefix): Mark as obsolete.
12906
12907 2012-05-04 Glenn Morris <rgm@gnu.org>
12908
12909 * patcomp.el, play/bruce.el: Move to obsolete/.
12910
12911 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12912
12913 Fix minor Y10k bugs.
12914 * arc-mode.el (archive-unixdate):
12915 * autoinsert.el (auto-insert-alist):
12916 * calc/calc-forms.el (math-this-year):
12917 * emacs-lisp/copyright.el (copyright-current-year)
12918 (copyright-update-year, copyright):
12919 * tar-mode.el (tar-clip-time-string):
12920 * time.el (display-time-update):
12921 Don't assume years have 4 digits.
12922
12923 2012-05-04 Chong Yidong <cyd@gnu.org>
12924
12925 * dos-w32.el (file-name-buffer-file-type-alist)
12926 (direct-print-region-use-command-dot-com):
12927 * ffap.el (ffap-menu-regexp):
12928 * find-file.el (ff-special-constructs):
12929 * follow.el (follow-debug):
12930 * forms.el (forms--debug):
12931 * iswitchb.el (iswitchb-all-frames):
12932 * ido.el (ido-all-frames):
12933 * emacs-lisp/timer.el (timer-max-repeats):
12934 * mail/feedmail.el (feedmail-mail-send-hook)
12935 (feedmail-mail-send-hook-queued):
12936 * mail/footnote.el (footnote-signature-separator):
12937 * mail/mailabbrev.el (mail-alias-separator-string)
12938 (mail-abbrev-mode-regexp):
12939 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12940 * progmodes/idlwave.el (idlwave-libinfo-file)
12941 (idlwave-default-completion-case-is-down)
12942 (idlwave-library-routines): Convert defvars to defcustoms.
12943
12944 * mail/rmail.el (rmail-decode-mime-charset):
12945 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12946 (idlwave-shell-fix-inserted-breaks)
12947 (idlwave-shell-activate-alt-keybindings)
12948 (idlwave-shell-use-breakpoint-glyph):
12949 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12950
12951 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12954
12955 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12956
12957 * progmodes/verilog-mode.el (font-lock-keywords):
12958 Fix mis-highligting auto. Reported by Craig Barner.
12959 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12960 defines from global name space. Reported by Dan Dever.
12961 (verilog-auto-reset, verilog-auto-reset-widths)
12962 (verilog-auto-tieoff): Support using unbased numbers for
12963 AUTORESET and AUTOTIEOFF.
12964 (verilog-submit-bug-report): Update variable list.
12965 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12966 parenthesis from not matching. Reported by Michael Rytting.
12967 (verilog-auto-template-lint): Fix hash error when linting modules
12968 with no used templates.
12969 (verilog-warn, verilog-warn-error)
12970 (verilog-warn-fatal): When non-interactive report multiple
12971 warnings before exiting. Suggested by Brad Dobbie.
12972 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12973 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12974 to report unused template errors. Reported by Brad Dobbie.
12975 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12976 nets, bug438. Reported by Vns Blore.
12977 (verilog-auto-inout-module, verilog-auto-reg)
12978 (verilog-read-decls, verilog-read-sub-decls-sig)
12979 (verilog-signals-edit-wire-reg, verilog-signals-with):
12980 Fix passing of Verilog data types in ANSI input/output ports
12981 such as "output logic" into the AUTOs. Special case "wire" and
12982 "reg" for backwards compatibility presuming Verilog 2001.
12983 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12984 (verilog-preprocess): Fix replication of preprocess output.
12985 Reported by Brad Dobbie.
12986 (verilog-auto-inst-interfaced-ports):
12987 Create verilog-auto-inst-interfaced-ports, bug429.
12988 Reported by Julian Gorfajn.
12989 (verilog-after-save-font-hook)
12990 (verilog-before-save-font-hook): New variable.
12991 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12992 (verilog-save-font-mods): Wrap disabling fontification, reported
12993 by David Rogoff.
12994 (verilog-do-indent, verilog-pretty-declarations-auto)
12995 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12996 Reported by Pierre-David Pfister.
12997 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12998 of class declarations, bug292. Reported by Kevin Heilman.
12999 (verilog-read-decls): Fix 'parameter type' not appearing in
13000 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13001 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13002 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13003 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13004 Reported by David Kravitz.
13005
13006 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13007
13008 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13009 assignment with tests in ifs and for loops.
13010 (verilog-extended-complete-re, verilog-complete-reg): Change so
13011 that DPI inport functions don't look like fuction declarations.
13012 (verilog-pretty-expr): Don't line up assignment
13013 operations to the test and increment in if and for loops
13014 (verilog-extended-complete-re, verilog-complete-reg): Change so
13015 that DPI inport functions don't look like fuction declarations.
13016
13017 2012-05-03 Kenichi Handa <handa@m17n.org>
13018
13019 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13020 decoding, and show a warning message without signaling an error
13021 (Bug#11282).
13022
13023 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * emacs-lisp/bytecomp.el
13026 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13027 since cconv.el might have introduced :fun-body, internal-make-closure,
13028 and friends for bytecomp to handle (bug#11391).
13029 * custom.el (defcustom): Avoid ((λ ..) ..).
13030
13031 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13032
13033 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13034
13035 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13036
13037 * notifications.el (dbus-debug):
13038 * term/linux.el (gpm-mouse-enable):
13039 * term/screen.el (xterm-register-default-colors): Declare.
13040
13041 2012-05-02 Chong Yidong <cyd@gnu.org>
13042
13043 * cus-start.el (gc-cons-percentage, exec-suffixes)
13044 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13045 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13046 (make-cursor-line-fully-visible, void-text-area-pointer)
13047 (font-list-limit): Add customization data.
13048
13049 * allout.el (allout-exposure-change-functions)
13050 (allout-structure-added-functions)
13051 (allout-structure-deleted-functions)
13052 (allout-structure-shifted-functions): Rename abnormal hooks from
13053 *-hook, and convert to defcustoms.
13054 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13055 Convert to defcustoms.
13056 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13057
13058 * allout-widgets.el: Hook callers changed.
13059
13060 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13061
13062 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13063 the yanked message in preference to the default value of
13064 buffer-file-coding-system.
13065
13066 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13067
13068 * window.el (display-buffer--action-function-custom-type):
13069 Fix entry.
13070
13071 2012-05-02 Alan Mackenzie <acm@muc.de>
13072
13073 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13074
13075 2012-05-01 Glenn Morris <rgm@gnu.org>
13076
13077 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13078
13079 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13080
13081 * cus-edit.el (custom-variable-documentation): Simplify with format.
13082
13083 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13084 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * simple.el (suggest-key-bindings, execute-extended-command):
13087 Move from keyboard.c.
13088
13089 2012-05-01 Chong Yidong <cyd@gnu.org>
13090
13091 * follow.el: Eliminate advice.
13092 (set-process-filter, process-filter, sit-for): Advice deleted.
13093 (follow-mode-off-hook): Obsolete hook removed.
13094 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13095 Vars deleted.
13096 (follow-auto): Use a :set function.
13097 (follow-mode): Rewritten. Don't advise process filters.
13098 (follow-switch-to-current-buffer-all, follow-scroll-up)
13099 (follow-scroll-down): Assume follow-mode is bound.
13100 (follow-comint-scroll-to-bottom)
13101 (follow-align-compilation-windows): New functions.
13102 (follow--window-sorter): New function.
13103 (follow-all-followers): Use it to explicitly sort windows by their
13104 positions; don't make assumptions about next-window order.
13105 (follow-windows-start-end, follow-delete-other-windows-and-split)
13106 (follow-calc-win-start): Doc fix.
13107 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13108 vertical-motion unnecessarily.
13109 (follow-adjust-window): New function.
13110 (follow-post-command-hook): Use it.
13111 (follow-call-set-process-filter, follow-call-process-filter)
13112 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13113 (follow-stop-intercept-process-output, follow-generic-filter):
13114 Functions deleted.
13115 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13116 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13117 New functions, replacing advice on scroll-bar-* commands.
13118 (follow-mwheel-scroll): New function (Bug#4112).
13119
13120 * comint.el (comint-adjust-point): New function.
13121 (comint-postoutput-scroll-to-bottom): Use it.
13122 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13123
13124 2012-05-01 Glenn Morris <rgm@gnu.org>
13125
13126 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13127 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13128 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13129 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13130 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13131 Remove no-byte-compile setting.
13132
13133 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13134
13135 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13136 all-completions code to not return a number in the last cdr.
13137
13138 2012-04-30 Leo Liu <sdl.web@gmail.com>
13139
13140 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13141 read-only error.
13142
13143 2012-04-29 Chong Yidong <cyd@gnu.org>
13144
13145 * follow.el (follow-calc-win-end): Rewrite to handle partial
13146 screen lines correctly (Bug#8390).
13147 (follow-avoid-tail-recenter): Minor cleanup.
13148
13149 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 Avoid the obsolete `assoc' package.
13152 * speedbar.el (speedbar-refresh): Avoid adelete.
13153 (speedbar-file-lists): Simplify and avoid aput.
13154 * man.el (Man--sections, Man--refpages): New vars, replacing
13155 Man-sections-alist and Man-refpages-alist.
13156 (Man-build-section-alist, Man-build-references-alist):
13157 Use them; avoid aput.
13158 (Man--last-section, Man--last-refpage): New vars.
13159 (Man-follow-manual-reference): Use them.
13160 Use the `default' arg of completing-read.
13161 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13162
13163 2012-04-27 Chong Yidong <cyd@gnu.org>
13164
13165 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13166
13167 * startup.el (x-apply-session-resources): New function.
13168
13169 * term/ns-win.el (ns-initialize-window-system):
13170 * term/w32-win.el (w32-initialize-window-system):
13171 * term/x-win.el (x-initialize-window-system): Use it to properly
13172 set menu-bar-mode and other vars from X resources, even if the
13173 initial frame is not a window-system frame (Bug#2299).
13174
13175 * subr.el (read-key): Avoid running filter function when setting
13176 up temporary tool bar entries (Bug#9922).
13177
13178 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13179
13180 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13181 (Bug#11344)
13182
13183 2012-04-27 Chong Yidong <cyd@gnu.org>
13184
13185 * select.el (xselect--encode-string): New function, split from
13186 xselect-convert-to-string.
13187 (xselect-convert-to-string): Use it.
13188 (xselect-convert-to-filename, xselect-convert-to-os)
13189 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13190 returned strings are properly encoded (Bug#11315).
13191
13192 2012-04-27 Chong Yidong <cyd@gnu.org>
13193
13194 * simple.el (delete-active-region): Move to killing custom group.
13195
13196 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13197
13198 * progmodes/which-func.el (which-func-current): Quote %
13199 characters for mode-line processing.
13200
13201 2012-04-27 Chong Yidong <cyd@gnu.org>
13202
13203 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13204 reaching eob (Bug#11286).
13205
13206 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13207
13208 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13209 (gdb): Make it buffer-local and init to zero.
13210 (gdb-control-commands-regexp): New variable.
13211 (gdb-send): Don't wrap in "-interpreter-exec console" if
13212 gdb-control-level is positive. Increment gdb-control-level
13213 whenever the command matches gdb-control-commands-regexp, and
13214 decrement it each time the command is "end". (Bug#11279)
13215
13216 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13217
13218 * window.el (adjust-window-trailing-edge, enlarge-window)
13219 (shrink-window, window-resize):
13220 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13221 windows (Bug#11276).
13222
13223 2012-04-27 Chong Yidong <cyd@gnu.org>
13224
13225 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13226 fix "missing prefix" warning. All callers changed.
13227
13228 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * emacs-lisp/assoc.el: Move to obsolete/.
13231
13232 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13235
13236 * term/ns-win.el (ns-define-service):
13237 * progmodes/pascal.el (pascal-goto-defun):
13238 * progmodes/js.el (js--read-tab):
13239 * progmodes/etags.el (tags-lazy-completion-table):
13240 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13241 * emacs-lisp/ewoc.el (ewoc--wrap):
13242 * emacs-lisp/assoc.el (aput, adelete, amake):
13243 * doc-view.el (doc-view-convert-current-doc):
13244 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13245
13246 2012-04-26 Chong Yidong <cyd@gnu.org>
13247
13248 * image.el (image-type-from-buffer): Only return supported image
13249 type (Bug#9045).
13250
13251 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13252 value, for symmetry with diff-end-of-hunk.
13253 (diff-split-hunk, diff-find-source-location)
13254 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13255 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13256 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13257 compute the relevant hunk or file properly (Bug#6005).
13258 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13259
13260 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13261
13262 * vc/vc-mtn.el:
13263 * vc/vc-hg.el:
13264 * vc/vc-git.el:
13265 * vc/vc-dir.el:
13266 * vc/vc-cvs.el:
13267 * vc/vc-bzr.el:
13268 * vc/vc-arch.el:
13269 * vc/vc.el: Replace lexical-let by lexical-binding.
13270 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13271 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13272 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13273
13274 2012-04-26 Chong Yidong <cyd@gnu.org>
13275
13276 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13277 (diff-mode-shared-map): Bind it to / and [remap undo].
13278
13279 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13280 (ediff-window-setup-function): Use it as the default, to set up
13281 windows based on whether the current frame is graphical (Bug#2138).
13282 (ediff-choose-window-setup-function-automatically): Make obsolete.
13283
13284 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13285
13286 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * ffap.el: Remove old code for obsolete package.
13289 (ffap-complete-as-file-p): Remove.
13290
13291 Use completion-table-with-quoting for comint and pcomplete.
13292 * comint.el (comint--unquote&requote-argument)
13293 (comint--unquote-argument, comint--requote-argument): New functions.
13294 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13295 (comint-quote-filename): Use regexp-opt-charset.
13296 (comint--common-suffix, comint--common-quoted-suffix)
13297 (comint--table-subvert): Remove.
13298 (comint-unquote-function, comint-requote-function): New vars.
13299 (comint--complete-file-name-data): Use them with
13300 completion-table-with-quoting.
13301 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13302 * pcomplete.el (pcomplete-arg-quote-list)
13303 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13304 (pcomplete-unquote-argument-function): Default to non-nil.
13305 (pcomplete-unquote-argument): Simplify.
13306 (pcomplete--common-quoted-suffix): Remove.
13307 (pcomplete-requote-argument-function): New var.
13308 (pcomplete--common-suffix): New function.
13309 (pcomplete-completions-at-point): Use completion-table-with-quoting
13310 and completion-table-subvert.
13311
13312 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13313 (minibuffer--double-dollars): Preserve properties.
13314 (completion--sifn-requote): New function.
13315 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13316
13317 * minibuffer.el: Add support for completion of quoted/escaped data.
13318 (completion-table-with-quoting, completion-table-subvert): New funs.
13319 (completion--twq-try, completion--twq-all): New functions.
13320 (completion--nth-completion): New function.
13321 (completion-try-completion, completion-all-completions): Use it.
13322
13323 2012-04-25 Leo Liu <sdl.web@gmail.com>
13324
13325 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13326 Use compilation-message if available to find real filename.
13327
13328 2012-04-25 Chong Yidong <cyd@gnu.org>
13329
13330 * vc/diff-mode.el (diff-setup-whitespace): New function.
13331 (diff-mode): Use it.
13332
13333 * vc/diff.el (diff-sentinel):
13334 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13335 Whitespace mode variables based on diff style (Bug#8612).
13336
13337 2012-04-25 Leo Liu <sdl.web@gmail.com>
13338
13339 * progmodes/python.el (python-send-region): Add suffix .py to the
13340 temp file.
13341
13342 * files.el (auto-mode-alist): Use javascript-mode instead.
13343
13344 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13345
13346 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13347
13348 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13349 (soap-resolve-references-for-array-type): Hack to prevent self
13350 references, see Bug#9.
13351 (soap-parse-envelope): Report the contents of the 'detail' node
13352 when receiving a fault reply.
13353 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13354
13355 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13356 (soap-inspect-simple-type): New function.
13357
13358 * net/soap-client.el (soap-simple-type): New struct.
13359 (soap-default-xsd-types, soap-default-soapenc-types)
13360 (soap-decode-basic-type, soap-encode-basic-type):
13361 support unsignedInt and double basic types.
13362 (soap-resolve-references-for-simple-type)
13363 (soap-parse-simple-type, soap-encode-simple-type): New function.
13364 (soap-parse-schema): Parse xsd:simpleType declarations.
13365
13366 * net/soap-client.el (soap-default-xsd-types)
13367 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13368 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13369 the local name of "soapenc:Array".
13370 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13371 decoding integer, byte and anyURI xsd types.
13372
13373 2012-04-25 Chong Yidong <cyd@gnu.org>
13374
13375 * cus-edit.el (custom-buffer-create-internal): Update header text.
13376
13377 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13378
13379 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13380 settings on 'system-type', not on 'window-system'. On MS-Windows,
13381 set interactive-mode on in GDB.
13382
13383 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13386 (ruby-syntax-propertize-regexp): Remove.
13387 (ruby-syntax-propertize-function): Split regexp into chunks.
13388 Match following code directly.
13389
13390 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13391
13392 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13393 (ruby-syntax-propertize-regexp): New function.
13394 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13395 by a special keyword.
13396
13397 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13398 (ruby-syntax-general-delimiters-goto-beg)
13399 (ruby-syntax-propertize-general-delimiters): New functions.
13400 (ruby-syntax-propertize-function): Use them to handle GDL.
13401 (ruby-font-lock-keywords): Move old handling of GDL...
13402 (ruby-font-lock-syntactic-keywords): .. to here.
13403 (ruby-calculate-indent): Adjust indentation for GDL.
13404
13405 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13406
13407 * notifications.el (top): Remove unneeded declarations.
13408 (notifications-specification-version): Change to "1.2".
13409 (notifications-interface, notifications-notify-method)
13410 (notifications-close-notification-method): Fix docstring.
13411 (notifications-get-capabilities-method): New defconst.
13412 (notifications-notify): Add :action-items, :resident and
13413 :transient hints. Change "image_data" to "image-data" and
13414 "image_path" to "image-path".
13415 (notifications-get-capabilities): New defun.
13416
13417 2012-04-24 Leo Liu <sdl.web@gmail.com>
13418
13419 * progmodes/python.el: Move hideshow setup to the end.
13420
13421 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13422
13423 * window.el (handle-select-window): Clear echo area since this is
13424 no more done by read_char (Bug#11304).
13425
13426 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13429 and `/ M' to filter-derived-mode.
13430 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13431 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13432 (ibuffer-mark-by-mode): Use default rather than initial-input.
13433 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13434
13435 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13436
13437 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13438 (ibuffer-filter-by-derived-mode): New filter.
13439 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13440
13441 2012-04-23 Andreas Politz <politza@fh-trier.de>
13442
13443 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13444
13445 2012-04-23 Chong Yidong <cyd@gnu.org>
13446
13447 * cus-edit.el (customize-apropos, customize-apropos-options):
13448 Disable matching of non-option variables (Bug#11176).
13449 (customize-option, customize-option-other-window)
13450 (customize-changed-options): Doc fix.
13451 (customize-apropos-options, customize-apropos-faces)
13452 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13453
13454 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13455 Fix word list splitting (Bug#11132).
13456 (apropos-symbol, apropos-keybinding, apropos-label)
13457 (apropos-property, apropos-function-button)
13458 (apropos-variable-button, apropos-misc-button): New faces.
13459 (apropos-symbol-face, apropos-keybinding-face)
13460 (apropos-label-face, apropos-property-face, apropos-match-face):
13461 Variables removed (Bug#8396).
13462 (apropos-library-button, apropos-format-plist, apropos-print)
13463 (apropos-print-doc, apropos-describe-plist): Callers changed.
13464
13465 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13466
13467 * net/xesam.el (xesam-mode-map): Use let-bound map in
13468 initialization. (Bug#11292)
13469
13470 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13471
13472 Preserve ispell session localwords when switching back to
13473 original buffer.
13474
13475 * textmodes/ispell.el (ispell-buffer-session-localwords):
13476 New buffer-local variable to hold buffer session localwords.
13477 (ispell-kill-ispell): Add option 'clear to delete session
13478 localwords.
13479 (ispell-command-loop, ispell-change-dictionary)
13480 (ispell-buffer-local-words): Preserve session localwords when
13481 needed.
13482
13483 * textmodes/flyspell.el (flyspell-process-localwords)
13484 (flyspell-do-correct): Preserve session localwords when needed.
13485
13486 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13487
13488 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13489 using obsolete `translation-table-for-input'.
13490 (ispell-word, ispell-process-line, ispell-complete-word):
13491 Use plain `insert' instead of removed `ispell-insert-word'.
13492
13493 2012-04-22 Chong Yidong <cyd@gnu.org>
13494
13495 * cus-edit.el (custom-variable-menu)
13496 (custom-variable-reset-saved, custom-face-menu)
13497 (custom-face-reset-saved): If there is no saved value, make the
13498 "reset-saved" operation bring back the default (Bug#9509).
13499 (custom-face-state): Properly detect themed faces.
13500
13501 * faces.el (face-spec-set): Stop supporting deprecated form of
13502 third arg.
13503
13504 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13505
13506 Move functions from C to Lisp. Make non-blocking method calls
13507 the default. Implement further D-Bus standard interfaces.
13508
13509 * net/dbus.el (dbus-message-internal): Declare function.
13510 Remove unneeded function declarations.
13511 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13512 (dbus-message-type-method-return, dbus-message-type-error)
13513 (dbus-message-type-signal): Declare variables. Remove local
13514 definitions.
13515 (dbus-interface-dbus, dbus-interface-peer)
13516 (dbus-interface-introspectable, dbus-interface-properties)
13517 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13518 Adapt docstring.
13519 (dbus-interface-objectmanager): New defconst.
13520 (dbus-call-method, dbus-call-method-asynchronously)
13521 (dbus-send-signal, dbus-method-return-internal)
13522 (dbus-method-error-internal, dbus-register-service)
13523 (dbus-register-signal, dbus-register-method): New defuns, moved
13524 from dbusbind.c
13525 (dbus-call-method-handler, dbus-setenv)
13526 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13527 New defuns.
13528 (dbus-call-method-non-blocking): Make it an obsolete function.
13529 (dbus-unregister-object, dbus-unregister-service)
13530 (dbus-handle-event, dbus-register-property)
13531 (dbus-property-handler): Obey the new structure of
13532 `bus-registered-objects'.
13533 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13534 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13535 Use `dbus-call-method'.
13536
13537 2012-04-22 Chong Yidong <cyd@gnu.org>
13538
13539 * cus-edit.el (custom-commands, custom-reset-menu)
13540 (Custom-reset-standard): Tweak labels.
13541 (custom-reset-button-menu): Change default to t.
13542 (custom-buffer-create-internal): For the custom-reset-button-menu
13543 case, put the revert button first.
13544 (custom-group-subtitle): New face.
13545 (custom-group-value-create): Align docstring to a specific column.
13546
13547 * wid-edit.el (widget-documentation-link-add): Don't handle
13548 indentation in this function.
13549 (widget-documentation-string-indent-to): New function.
13550 (widget-documentation-string-value-create): Use it.
13551
13552 * autorevert.el (auto-revert):
13553 * epg-config.el (epg):
13554 * ibuffer.el (ibuffer):
13555 * mpc.el (mpc):
13556 * ses.el (ses):
13557 * eshell/eshell.el (eshell):
13558 * net/ange-ftp.el (ange-ftp):
13559 * progmodes/ebnf2ps.el (postscript):
13560 * progmodes/flymake.el (flymake):
13561 * progmodes/prolog.el (prolog):
13562 * progmodes/verilog-mode.el (verilog-mode):
13563 * progmodes/which-func.el (which-func):
13564 * term/xterm.el (xterm):
13565 * textmodes/picture.el (picture):
13566 * textmodes/tildify.el (tildify):
13567 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13568 customization buffers.
13569
13570 2012-04-22 Alan Mackenzie <acm@muc.de>
13571
13572 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13573 Adding a ) can hide the resulting (..) from searches. Fix it.
13574 Bound the backward search to the position of the existing (.
13575
13576 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13577
13578 * progmodes/verilog-mode.el (verilog-mode): Check whether
13579 which-func-modes is t before adding verilog-mode.
13580 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13581
13582 2012-04-21 Leo Liu <sdl.web@gmail.com>
13583
13584 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13585
13586 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13587
13588 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13589 filling of the last column of a table (Bug#5635).
13590 (woman-find-next-control-line): New arg, specifying an additional
13591 regexp component for the control line.
13592 (woman2-roff-buffer): Use it.
13593 (woman-break-table): New function.
13594 (woman2-TS): Use it.
13595
13596 2012-04-21 Chong Yidong <cyd@gnu.org>
13597
13598 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13599 (woman-horizontal-escapes, woman-negative-vertical-space)
13600 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13601 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13602
13603 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13604
13605 * minibuffer.el (completion-file-name-table): Complete user names.
13606
13607 2012-04-20 Leo Liu <sdl.web@gmail.com>
13608
13609 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13610 and pcase-let*.
13611
13612 2012-04-20 Chong Yidong <cyd@gnu.org>
13613
13614 * server.el (server-execute): Respect initial-buffer-choice if it
13615 is a string and there are no files to open (Bug#2825).
13616 (server-create-window-system-frame, server-create-tty-frame):
13617 Don't switch buffers here.
13618 (server-process-filter): Only try to open a window system frame if
13619 compiled with graphical support (Bug#8314).
13620
13621 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13622
13623 * battery.el (battery-echo-area-format): Display remaining time
13624 for sysfs backend too (Bug#11269).
13625 (battery-linux-sysfs): Fix conditional for the charge.
13626
13627 2012-04-20 Chong Yidong <cyd@gnu.org>
13628
13629 * progmodes/gdb-mi.el (gdb): Revert previous change.
13630 (gdb-inferior-io--init-proc): New function.
13631 (gdb-init-1): Use it.
13632 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13633 responsible for allocating a new pty and hooking it to gdb when
13634 the old pty gets an EIO due to process exit.
13635 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13636 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13637 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13638
13639 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13640
13641 * window.el (window-min-size, window-sizable, window-min-delta)
13642 (window-max-delta, window--resizable, window-resizable)
13643 (window-total-size, window-full-height-p, window-full-width-p)
13644 (window-in-direction, window--resize-mini-window, window-resize)
13645 (window--resize-child-windows-normal)
13646 (window--resize-child-windows, window--resize-siblings)
13647 (window--resize-this-window, adjust-window-trailing-edge)
13648 (enlarge-window, shrink-window): Doc fixes.
13649
13650 2012-04-20 Chong Yidong <cyd@gnu.org>
13651
13652 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13653 New function to call delete-process on the gdb-inferior buffer's pty.
13654 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13655 pty process (Bug#11273).
13656 (gdb-update): New arg to suppress talking to the gdb process.
13657 (gdb-done-or-error): Use it.
13658 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13659 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13660 sentinel not being called.
13661
13662 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13663
13664 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13665
13666 2012-04-20 Glenn Morris <rgm@gnu.org>
13667
13668 * net/network-stream.el (open-network-stream): Doc fix.
13669
13670 2012-04-20 Chong Yidong <cyd@gnu.org>
13671
13672 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13673
13674 2012-04-20 Alan Mackenzie <acm@muc.de>
13675
13676 Ensure searching for keywords is case sensitive.
13677
13678 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13679 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13680 (c-defun-name, c-mark-function, c-cpp-define-name)
13681 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13682 (c-context-line-break): Bind case-fold-search to nil.
13683
13684 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13685 Bind case-fold-search to nil.
13686
13687 2012-04-20 Chong Yidong <cyd@gnu.org>
13688
13689 * mail/sendmail.el (mail-bury): Call return action with the right
13690 Rmail buffer (Bug#11242).
13691
13692 * server.el (server-process-filter): Handle corner case where both
13693 tty and nowait options are present (Bug#11102).
13694
13695 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13696
13697 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13698 (top level): Put into the executable the ident-style '$Id:' tag on
13699 windows-nt as well.
13700
13701 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13702
13703 * electric.el (electric-indent-post-self-insert-function): Check that
13704 electric-indent-mode is enabled in current buffer.
13705
13706 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13707
13708 * imenu.el (imenu-progress-message): Restore; it is "used" in
13709 erc/erc-imenu.el and net/snmp-mode.el.
13710
13711 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13712
13713 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13714 (mouse-avoidance-nudge-mouse): Remove unused binding.
13715
13716 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13717
13718 * descr-text.el (describe-char):
13719 * progmodes/python.el (python-describe-symbol):
13720 Don't call `toggle-read-only', set `buffer-read-only'.
13721
13722 * imenu.el (imenu-default-goto-function): Mark unused args.
13723 (imenu-progress-message): Remove obsolete macro; all callers changed.
13724
13725 * subr.el (keymap-canonicalize): Remove unused binding.
13726 (read-passwd): Mark unused arg.
13727
13728 * tutorial.el (tutorial--display-changes): Remove unused binding.
13729 (tutorial--save-tutorial-to): Remove unused variable.
13730
13731 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13732 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13733 (package-generate-autoloads, package-menu--generate)
13734 (package-menu--find-upgrades): Remove unused bindings.
13735
13736 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13737 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13738 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13739 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13740 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13741 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13742 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13743 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13744 (cua-delete-char-rectangle): Mark unused args.
13745 (cua-align-rectangle): Remove unused binding.
13746
13747 * mail/rmail.el (compilation--message->loc)
13748 (epa--find-coding-system-for-mime-charset): Declare.
13749
13750 * net/dbus.el (dbus-register-service): Declare.
13751 (dbus-name-owner-changed-handler): Remove unused binding.
13752
13753 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13754 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13755 (nxml-scan-backward-within): Mark unused arg.
13756 (nxml-dynamic-markup-word): Remove unused binding.
13757
13758 * mouse.el (mouse-menu-major-mode-map):
13759 * emacs-lisp/authors.el (authors-scan-change-log)
13760 (authors-add-to-author-list):
13761 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13762 * emacs-lisp/smie.el (smie-auto-fill):
13763 * mail/sendmail.el (mail-bury):
13764 * mail/unrmail.el (unrmail):
13765 * net/tls.el (open-tls-stream):
13766 * textmodes/picture.el (picture-mouse-set-point):
13767 Remove unused bindings.
13768
13769 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13770
13771 * net/tramp.el (tramp-action-password): Let-bind
13772 `enable-recursive-minibuffers' to t.
13773
13774 2012-04-18 Sam Steingold <sds@gnu.org>
13775
13776 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13777 instead of 'string to accommodate values like [f11].
13778 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13779 * progmodes/gdb-mi.el: Likewise.
13780
13781 2012-04-18 Leo Liu <sdl.web@gmail.com>
13782
13783 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13784 current buffer.
13785 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13786 LOCAL is nil.
13787
13788 2012-04-18 Chong Yidong <cyd@gnu.org>
13789
13790 * simple.el (line-move): Use forward-line if in batch mode
13791 (Bug#11053).
13792
13793 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13794
13795 * files.el (after-find-file): Do not try to add a final newline if
13796 the buffer is read-only (Bug#11156).
13797
13798 2012-04-17 Richard Stallman <rms@gnu.org>
13799
13800 * mail/rmail.el (rmail-start-mail):
13801 Pass (rmail-mail-return...) for the return-action.
13802 Pass (rmail-yank-current-message...) for the yank-action.
13803 (rmail-yank-current-message): New function.
13804 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13805 (rmail-reply): Likewise.
13806 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13807
13808 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13809 buffer, not the last. Reject temp buffers. Use the rmail-mode
13810 buffer, not newbuf.
13811
13812 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13813
13814 * server.el (server-ensure-safe-dir): Simplify.
13815
13816 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * emacs-lisp/smie.el: Provide smarter auto-filling.
13819 (smie-auto-fill): New function.
13820 (smie-setup): Use it.
13821
13822 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13823
13824 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13825
13826 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13827 (comment-indent): Use it.
13828
13829 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13830
13831 * ses.el: The overall change is to add cell renaming, that is
13832 setting fancy names for cell symbols other than name matching
13833 "\\`[A-Z]+[0-9]+\\'" regexp .
13834 (ses-localvars): Add ses--renamed-cell-symb-list.
13835 (ses-create-cell-variable): New defun.
13836 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13837 (ses-relocate-formula): Relocate formulas only for cells the
13838 symbols of which are not renamed, i.e. symbols whose names do not
13839 match regexp "\\`[A-Z]+[0-9]+\\'".
13840 (ses-relocate-all): Relocate values only for cells the symbols of
13841 which are not renamed.
13842 (ses-load): Create cells variables as the (ses-cell ...) are read,
13843 in order to check row col consistency with cell symbol name only
13844 for cells that are not renamed.
13845 (ses-replace-name-in-formula): New defun.
13846 (ses-rename-cell): New defun.
13847
13848 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13849
13850 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13851 New option (bug#11118).
13852 (perl-calculate-indent): Respect it.
13853
13854 2012-04-17 Glenn Morris <rgm@gnu.org>
13855
13856 * dired-aux.el (dired-mark-read-string): Doc fix.
13857
13858 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13859
13860 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13861 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13862
13863 2012-04-17 Glenn Morris <rgm@gnu.org>
13864
13865 * mouse.el (mouse-drag-track):
13866 * speedbar.el (speedbar-frame-mode):
13867 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13868
13869 2012-04-16 Leo Liu <sdl.web@gmail.com>
13870
13871 * progmodes/python.el: Trivial cleanup.
13872
13873 2012-04-16 Glenn Morris <rgm@gnu.org>
13874
13875 * vc/vc.el (vc-string-prefix-p):
13876 * vc/pcvs-util.el (cvs-string-prefix-p):
13877 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13878 * mpc.el (mpc-string-prefix-p):
13879 Make all of these into obsolete aliases for string-prefix-p.
13880 Update callers.
13881 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13882
13883 * textmodes/two-column.el: Move custom options to the start.
13884 (frame-width): Remove compat definition.
13885 (2C-associate-buffer, 2C-dissociate):
13886 Use with-current-buffer rather than save-excursion.
13887 (2C-dissociate): Force a mode-line update.
13888 (2C-autoscroll): Use ignore-errors.
13889
13890 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13891 Autoload trivia.
13892
13893 * emacs-lisp/cl-extra.el (*random-state*):
13894 Remove unnecessary declaration.
13895
13896 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13897
13898 * play/cookie1.el (cookie-snarf):
13899 Give an explicit error if input file cannot be read.
13900
13901 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13902
13903 * progmodes/perl-mode.el (c-macro-expand):
13904 Remove unnecessary autoload (it is in loaddefs.el).
13905
13906 * textmodes/picture.el (picture-desired-column)
13907 (picture-update-desired-column): Convert comments to doc-strings.
13908 (picture-substitute): Remove function.
13909 (picture-mode-map): Initialize in the defvar.
13910
13911 * woman.el: Remove eval-after-load for tar-mode.
13912 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13913 (woman-tar-extract-file): Autoload it.
13914
13915 * frame.el (automatic-hscrolling): Make this alias obsolete.
13916
13917 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13918
13919 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13920 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13921 (ispell-dictionary-base-alist): Revert to original XEmacs
13922 friendly version for default. [:alpha:] will be added in
13923 `ispell-set-spellchecker-params' if needed.
13924
13925 2012-04-16 Chong Yidong <cyd@gnu.org>
13926
13927 * image.el (imagemagick--file-regexp): New variable.
13928 (imagemagick-register-types): Use it.
13929 (imagemagick-types-inhibit): Add :set function. Allow new value
13930 of t to inhibit all types.
13931
13932 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13933 so we can preload it.
13934
13935 * loadup.el (fboundp): Preload regexp-opt, needed by
13936 imagemagick-register-types.
13937
13938 2012-04-15 Chong Yidong <cyd@gnu.org>
13939
13940 * frame.el (scrolling): Remove nearly unused customization group.
13941
13942 * scroll-all.el (scroll-all-mode): Move to windows group.
13943
13944 2012-04-15 Chong Yidong <cyd@gnu.org>
13945
13946 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13947
13948 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13951 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13952
13953 2012-04-15 Glenn Morris <rgm@gnu.org>
13954
13955 * simple.el (process-file-side-effects): Doc fix.
13956
13957 2012-04-15 Glenn Morris <rgm@gnu.org>
13958
13959 * international/mule-cmds.el (set-language-environment): Doc fix.
13960
13961 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13962
13963 * server.el (server-auth-key, server-generate-key): Doc fixes.
13964 (server-get-auth-key): Doc fix. Use `string-match-p'.
13965 (server-start): Reflow docstring.
13966
13967 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13968
13969 * server.el (server-generate-key): `called-interactively-p'
13970 requires a parameter.
13971
13972 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13973
13974 * server.el (server-auth-key): New variable.
13975 (server-generate-key, server-get-auth-key): New function.
13976 (server-start): Use the new variable and functions to allow
13977 setting a permanent server key (bug#9423).
13978
13979 2012-04-14 Leo Liu <sdl.web@gmail.com>
13980
13981 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13982
13983 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13984
13985 Spelling fixes.
13986 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13987 Emacs uses American spelling.
13988
13989 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13990
13991 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13992 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13993 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13994 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13995
13996 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13997
13998 * progmodes/which-func.el (which-func-modes): Change default.
13999
14000 2012-04-14 Kim F. Storm <storm@cua.dk>
14001
14002 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14003 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14004
14005 2012-04-14 Chong Yidong <cyd@gnu.org>
14006
14007 * custom.el (custom-theme-set-variables): Doc fix.
14008
14009 2012-04-14 Glenn Morris <rgm@gnu.org>
14010
14011 * international/mule.el (set-auto-coding-for-load): Doc fix.
14012
14013 2012-04-14 Alan Mackenzie <acm@muc.de>
14014
14015 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14016 imenu work again for Objective C Mode. Correct the *-index values,
14017 these having been disturbed by a previous change in 2011-08.
14018
14019 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14020 Correct two search limits.
14021
14022 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14025
14026 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14027
14028 * international/characters.el: Fix sorting.
14029
14030 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14031
14032 * international/characters.el: Add more missing Latin case pairs.
14033
14034 2012-04-14 Glenn Morris <rgm@gnu.org>
14035
14036 * files.el (dir-locals-set-class-variables): Doc fix.
14037
14038 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14039
14040 * international/characters.el: Add set-case-syntax-pair call for
14041 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14042 counterpart. (Bug#11209)
14043
14044 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14045
14046 2012-04-14 Glenn Morris <rgm@gnu.org>
14047
14048 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14049
14050 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14051
14052 * textmodes/ispell.el (ispell-dictionary-base-alist):
14053 Add data for Hebrew.
14054
14055 2012-04-14 Chong Yidong <cyd@gnu.org>
14056
14057 * net/rcirc.el (rcirc-cmd-quit):
14058 Revert 2012-03-18 change (Bug#11192).
14059
14060 2012-04-14 Glenn Morris <rgm@gnu.org>
14061
14062 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14063
14064 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14065
14066 * minibuffer.el (completion-in-region-mode-map):
14067 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14068
14069 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14070
14071 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14072
14073 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14074
14075 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14076 to allow `C-M-f' and `C-M-b' to move to the nearest path
14077 separator (bug#9511).
14078
14079 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14080
14081 * avoid.el: Require cl when compiling. And also move the
14082 `provide' to the end.
14083
14084 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14085
14086 * avoid.el (mouse-avoidance-banish-position): New variable.
14087 (mouse-avoidance-banish-destination): Use it (bug#10165).
14088
14089 2012-04-13 Leo Liu <sdl.web@gmail.com>
14090
14091 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14092
14093 2012-04-13 Ken Brown <kbrown@cornell.edu>
14094
14095 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14096 this is no longer needed now that cygstart understands file:// URLs.
14097 (browse-url-filename-alist): For the same reason, don't modify
14098 file:// URLs on Cygwin.
14099
14100 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14103 the region on shift if the binding is already shifted (bug#11221).
14104
14105 2012-04-12 Glenn Morris <rgm@gnu.org>
14106
14107 * mail/mailpost.el: Move to obsolete/.
14108
14109 2012-04-12 Drew Adams <drew.adams@oracle.com>
14110
14111 * imenu.el (imenu--generic-function): Ignore invisible definitions
14112 (bug#10123).
14113
14114 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14115
14116 * hexl.el (hexl-bits): New variable.
14117 (hexl-options): Mention the variable in the doc string.
14118 (hexl-rulerise, hexl-line-displen): New functions.
14119 (hexl-mode): Mention the new variable.
14120 (hexl-mode, hexl-current-address, hexl-current-address):
14121 Use the displen.
14122 (hexl-ascii-start-column): New function.
14123 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14124 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14125
14126 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14127
14128 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14129 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14130 the encoding, as expected by hunspell.
14131
14132 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * battery.el (battery--linux-sysfs-regexp): New const.
14135 (battery-status-function): Use it. Remove yeeloong special case.
14136 (battery-yeeloong-sysfs): Remove.
14137 (battery-echo-area-format): Remove yeeloong special case.
14138
14139 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14142 Reported by Noah Friedman.
14143
14144 * subr.el (read-passwd): Use read-string.
14145
14146 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14147
14148 * vcursor.el (vcursor-move): Increase the priority of the overlay
14149 (bug#9663).
14150
14151 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14152
14153 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14154 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14155
14156 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14157
14158 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14159 define-minor-mode (bug#10760).
14160
14161 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14162
14163 * progmodes/grep.el (rgrep): Tweak the find command line so
14164 that directories matching `grep-find-ignored-files' won't be
14165 pruned (bug#10351).
14166
14167 2012-04-11 Chong Yidong <cyd@gnu.org>
14168
14169 * startup.el (command-line): Remove support for long-obsolete
14170 variable font-lock-face-attributes.
14171
14172 2012-04-11 Glenn Morris <rgm@gnu.org>
14173
14174 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14175
14176 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14177
14178 * window.el (window--state-get-1): Obey window-point-insertion-type.
14179
14180 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14181
14182 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14183 to previous function when point is on the first character of a
14184 function. Take care of that in `narrow-to-defun' (bug#6157).
14185
14186 2012-04-11 Glenn Morris <rgm@gnu.org>
14187
14188 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14189 not just file-errors.
14190
14191 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14192 (vc-bzr-sha1): Use internal sha1.
14193
14194 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14195
14196 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14197
14198 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14199
14200 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14201 that start in the middle of the line (bug#10496).
14202
14203 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14204
14205 * battery.el (battery-linux-proc-acpi): Only one battery is
14206 discharged at a time, but that seems to confuse battery.el when
14207 computing `rate-type' for the battery not being discharged
14208 (bug#10332).
14209
14210 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14213
14214 * international/quail.el: Use dolist and simplify.
14215 (quail-define-package, quail-update-keyboard-layout)
14216 (quail-define-rules): Use dolist.
14217 (quail-insert-kbd-layout, quail-get-translation): CSE.
14218
14219 * tmm.el: Use dolist, remove left over hook.
14220 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14221 Use dolist.
14222 (calendar-load-hook): Don't mess with it.
14223
14224 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14225 Use derived-mode-p. Run the diff asynchronously.
14226
14227 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14228
14229 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14230
14231 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14232
14233 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14234 (list-dynamic-libraries--loaded): New function.
14235 (list-dynamic-libraries--refresh): Use it.
14236
14237 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14238
14239 * progmodes/python.el (python-fill-paragraph):
14240 Make python-fill-region in a multiline string work when font-lock is
14241 disabled (bug#7018).
14242
14243 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14244
14245 * language/european.el (cp775): Add oem/legacy (en)coding on
14246 DOS/MS Windows for the Baltic languages. There are still plenty
14247 of texts written in this encoding/codepage (bug#6519).
14248
14249 2012-04-10 Glenn Morris <rgm@gnu.org>
14250
14251 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14252 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14253
14254 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14255
14256 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14257 next-line "n" and previous-line "p" in order to make recentf more
14258 consistent with ibuffer, dired or org-mode (bug#9387).
14259
14260 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14261
14262 * image.el (put-image): Return the overlay created instead of the
14263 optional input string (bug#7834). Note that this may break code
14264 that is (for some reason or other) depending on `put-image'
14265 returning the string.
14266
14267 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14268
14269 * simple.el (zap-to-char): Allow zapping using input methods
14270 (bug#1580).
14271
14272 * textmodes/fill.el (fill-region): Leave point and mark where they
14273 were before filling (bug#5399).
14274
14275 2012-04-09 Glenn Morris <rgm@gnu.org>
14276
14277 * version.el (emacs-bzr-get-version):
14278 Handle lightweight checkouts of local branches.
14279
14280 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14281
14282 * international/characters.el: Recover lost case pairs. (Bug#11209)
14283
14284 2012-04-09 Chong Yidong <cyd@gnu.org>
14285
14286 * custom.el (custom-variable-p): Return nil for non-symbol
14287 arguments instead of signaling an error.
14288 (user-variable-p): Obsolete alias for custom-variable-p.
14289
14290 * apropos.el (apropos-variable):
14291 * files-x.el (read-file-local-variable):
14292 * simple.el (set-variable):
14293 * woman.el (woman-mini-help):
14294 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14295
14296 2012-04-09 Glenn Morris <rgm@gnu.org>
14297
14298 * startup.el (normal-top-level): Don't look for leim-list.el
14299 in places where it will not be found. (Bug#910)
14300
14301 * international/mule-cmds.el (set-default-coding-systems):
14302 * files.el (normal-mode):
14303 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14304 This function was removed with ucs-tables.el in 2008.
14305
14306 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14307
14308 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14309 ispell-encoding8-command to "-i", without a trailing space.
14310 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14311 separate command-line arguments, to specify the encoding, since
14312 that's how hunspell expects it.
14313
14314 2012-04-08 Glenn Morris <rgm@gnu.org>
14315
14316 * loadup.el: Load bindings before cus-start.
14317 This reduces somewhat the number of "rogue" settings in emacs -Q.
14318
14319 2012-04-07 Glenn Morris <rgm@gnu.org>
14320
14321 * version.el (emacs-bzr-get-version): New function.
14322 (emacs-bzr-version): New variable.
14323 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14324 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14325
14326 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14327
14328 * international/uni-bidi.el, international/uni-category.el:
14329 * international/uni-combining.el, international/uni-decimal.el:
14330 * international/uni-decomposition.el, international/uni-digit.el:
14331 * international/uni-lowercase.el, international/uni-mirrored.el:
14332 * international/uni-name.el, international/uni-numeric.el:
14333 * international/uni-titlecase.el, international/uni-uppercase.el:
14334 Update for Unicode 6.1.
14335
14336 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14337
14338 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14339
14340 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14341
14342 * window.el (shrink-window): Mention the `window-min-height'
14343 variable in the doc string.
14344
14345 2012-04-05 Bastien Guerry <bzg@altern.org>
14346
14347 * color.el (color-lighten-name): Fix typo.
14348
14349 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14350
14351 * server.el (server--on-display-p): New function.
14352 (server--on-display-p): Use it.
14353
14354 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14355
14356 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14357 (bug#11145).
14358
14359 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14360
14361 * comint.el (comint--common-quoted-suffix): Check string boundary
14362 before comparing (bug#11158).
14363 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14364
14365 2012-04-04 Chong Yidong <cyd@gnu.org>
14366
14367 * minibuffer.el (completion-extra-properties): Doc fix.
14368
14369 * subr.el (delayed-warnings-hook): Doc fix.
14370
14371 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14372
14373 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14374 selection (Bug#11159).
14375 (epa-insert-keys): Inform that the default public key will be
14376 exported if no key is selected.
14377
14378 2012-04-04 Richard Stallman <rms@gnu.org>
14379
14380 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14381
14382 2012-04-03 Chong Yidong <cyd@gnu.org>
14383
14384 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14385 mail-insert-file, not its obsolete alias mail-attach-file.
14386
14387 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14388
14389 * notifications.el (notifications-notify): Fix docstring.
14390
14391 2012-04-02 Glenn Morris <rgm@gnu.org>
14392
14393 * emacs-lisp/authors.el (authors-aliases): Another addition.
14394
14395 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14396
14397 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14398 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14399 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14400
14401 2012-04-01 Chong Yidong <cyd@gnu.org>
14402
14403 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14404 Handle root directory properly.
14405 (copy-directory): Caller changed.
14406
14407 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14408 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14409
14410 2012-03-31 Glenn Morris <rgm@gnu.org>
14411
14412 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14413
14414 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14415
14416 * calendar/calendar.el (calendar-window-list)
14417 (calendar-hide-window): Restore. (Bug#11140)
14418 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14419
14420 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14421
14422 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14423
14424 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14425 Check if file is a symlink (Bug#10489).
14426
14427 * files.el (copy-directory): Likewise.
14428
14429 2012-03-30 Chong Yidong <cyd@gnu.org>
14430
14431 * image.el (imagemagick-types-inhibit)
14432 (imagemagick-register-types): Doc fix.
14433
14434 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14435
14436 * textmodes/ispell.el (ispell-get-extended-character-mode):
14437 Disable extended-char-mode for hunspell. hunspell does not support it
14438 and treats ~word as ordinary words in pipe mode.
14439
14440 2012-03-30 Glenn Morris <rgm@gnu.org>
14441
14442 * tutorial.el (help-with-tutorial): Ensure local variables don't
14443 happen to make the buffer read-only. (Bug#11127)
14444
14445 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14446
14447 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14448 (perl-calculate-indent): Return `noindent' in strings.
14449
14450 2012-03-28 Sam Steingold <sds@gnu.org>
14451
14452 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14453 instead of the broken adhockery which does not prevent calendar
14454 buffers from being displayed at random after exit.
14455 (calendar-window-list, calendar-hide-window): Remove the broken
14456 adhockery.
14457
14458 2012-03-28 Glenn Morris <rgm@gnu.org>
14459
14460 * replace.el (query-replace-map): Doc fix.
14461
14462 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14463
14464 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14465 contents. (Bug#11109)
14466
14467 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14468
14469 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14470 (bug#11077).
14471 (avl-tree--check, avl-tree--check-node): New funs.
14472
14473 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14474
14475 * window.el (switch-to-visible-buffer): New option.
14476 (switch-to-prev-buffer, switch-to-next-buffer):
14477 Observe switch-to-visible-buffer. Make sure that checking for a window
14478 showing a buffer already is done on the same frame.
14479
14480 2012-03-27 Glenn Morris <rgm@gnu.org>
14481
14482 * startup.el (mail-host-address): Doc fix.
14483
14484 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14485
14486 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14487 than 197 variables.
14488
14489 2012-03-26 Ami Fischman <ami@fischman.org>
14490
14491 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14492
14493 2012-03-26 Glenn Morris <rgm@gnu.org>
14494
14495 * files.el (save-buffers-kill-emacs): Doc fix.
14496
14497 * startup.el (normal-top-level, command-line, command-line-1):
14498 Give them doc strings.
14499
14500 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14501
14502 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14503 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14504
14505 2012-03-25 Chong Yidong <cyd@gnu.org>
14506
14507 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14508 theme if it was previously enabled before (Bug#11031).
14509
14510 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14511 spec with custom-face-get-current-spec if its :shown-value is not
14512 determined yet (Bug#9337).
14513 (customize-create-theme, custom-theme-revert): Doc fixes.
14514
14515 * button.el (button-at): Minor addition to docstring.
14516
14517 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14518
14519 * vc/vc.el (vc-merge): Fix a prompt.
14520
14521 2012-03-24 Chong Yidong <cyd@gnu.org>
14522
14523 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14524 point (Bug#9623).
14525
14526 * button.el (button-at): Minor addition to docstring.
14527
14528 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * newcomment.el (comment-choose-indent): No space after BOL.
14531
14532 2012-03-22 Sam Steingold <sds@gnu.org>
14533
14534 * window.el (switch-to-prev-buffer): Revert last patch because the
14535 bug turned out to be an advertised feature (Elisp manual 28.14).
14536
14537 2012-03-22 Glenn Morris <rgm@gnu.org>
14538
14539 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14540 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14541
14542 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14543
14544 * net/network-stream.el (network-stream-open-starttls): Make error
14545 message under Windows be less misleading.
14546
14547 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14548
14549 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14550 understands (bug#9942).
14551
14552 2012-03-22 Chong Yidong <cyd@gnu.org>
14553
14554 * simple.el (end-of-visible-line): Handle return value of
14555 next-single-property-change properly (Bug#9371).
14556
14557 2012-03-22 Kenichi Handa <handa@m17n.org>
14558
14559 * international/quail.el (quail-insert-kbd-layout): Fix previous
14560 change. To avoid unwanted bidi reordering, use
14561 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14562
14563 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14564
14565 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14566 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14567 (ruby-beginning-of-indent): Be more careful with the difference
14568 between word-boundary and symbol boundary.
14569 (ruby-mode-syntax-table): Make : a symbol constituent.
14570
14571 2012-03-21 Andreas Politz <politza@fh-trier.de>
14572
14573 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14574
14575 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * progmodes/etags.el (tags-completion-at-point-function):
14578 Improve last fix.
14579
14580 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14581
14582 2012-03-21 Sam Steingold <sds@gnu.org>
14583
14584 * progmodes/etags.el (tags-completion-at-point-function):
14585 Avoid the error when point is inside the pattern.
14586
14587 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14588
14589 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14590 line (Bug#10855).
14591
14592 2012-03-21 Drew Adams <drew.adams@oracle.com>
14593
14594 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14595
14596 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14597
14598 * ido.el (ido-set-current-directory, ido-read-internal)
14599 (ido-choose-completion-string, ido-completion-help): Handle nil
14600 value of ido-completion-buffer (Bug#11008).
14601
14602 2012-03-21 Sam Steingold <sds@gnu.org>
14603
14604 * window.el (switch-to-prev-buffer): Do not switch to a visible
14605 window previous buffer, just like with the frame previous buffers.
14606
14607 2012-03-21 Chong Yidong <cyd@gnu.org>
14608
14609 * faces.el (make-face, make-empty-face, copy-face):
14610 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14611 Doc fixes.
14612
14613 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14616 (widget-complete): Remove broken use of it.
14617
14618 2012-03-20 Chong Yidong <cyd@gnu.org>
14619
14620 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14621 Use string-width and truncate-string-width to handle arbitrary
14622 characters.
14623
14624 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14625
14626 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14627 to draw rectangles, not squares. (Regression introduced by revno
14628 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14629
14630 2012-03-18 Chong Yidong <cyd@gnu.org>
14631
14632 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14633 it is not yet defined (for temacs).
14634
14635 2012-03-18 Leo Liu <sdl.web@gmail.com>
14636
14637 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14638 prefix.
14639
14640 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14641
14642 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14643 (ispell-choices-win-default-height, ispell-silently-savep)
14644 (ispell-dictionary-alist, ispell-encoding8-command)
14645 (ispell-check-version, ispell-aspell-find-dictionary)
14646 (ispell-valid-dictionary-list, ispell-words-keyword)
14647 (ispell-get-word, ispell-internal-change-dictionary)
14648 (ispell-region, ispell-skip-region-list)
14649 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14650 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14651 (ispell-message-text-end, ispell-message)
14652 (ispell-buffer-local-parsing): Doc fix.
14653
14654 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14655
14656 * htmlfontify.el: Add support for code block fontification for ODT
14657 export (Bug #9914).
14658 (hfy-optimisations): Define new option
14659 `body-text-only'
14660 (hfy-fontify-buffer): Honor above setting.
14661 (hfy-begin-span, hfy-end-span): New routines factored out form
14662 `hfy-fontify-buffer'.
14663 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14664 that permit insertion of custom tags.
14665 (hfy-fontify-buffer): Use above handlers.
14666 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14667 (hfy-face-to-css): Re-defined to be a variable.
14668 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14669 over multiple runs. This is made possible by having the caller let
14670 bind a special variable `hfy-user-sheet-assoc'.
14671 (htmlfontify-string): New defun.
14672 (hfy-compile-face-map): Make sure that the last char in the
14673 buffer is correctly fontified.
14674 (hfy-face-resolve-face): Whitespace only change.
14675
14676 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14677
14678 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14679 message more clear.
14680
14681 2012-03-16 Leo Liu <sdl.web@gmail.com>
14682
14683 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14684
14685 2012-03-16 Alan Mackenzie <acm@muc.de>
14686
14687 Further optimize the handling of large macros.
14688
14689 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14690 limit to a call of `c-literal-limits'.
14691 (c-determine-+ve-limit): New function.
14692 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14693 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14694 In CASE 5B, restrict a search limit to 500.
14695 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14696
14697 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14698 Restrict macro bounds to +-500 from after-change's BEG END.
14699
14700 2012-03-16 Leo Liu <sdl.web@gmail.com>
14701
14702 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14703
14704 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14705
14706 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14707 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14708
14709 2012-03-16 Glenn Morris <rgm@gnu.org>
14710
14711 * view.el (view-buffer, view-buffer-other-window)
14712 (view-buffer-other-frame): Doc fixes re special mode-class.
14713
14714 * subr.el (eval-after-load): If named feature is provided not from
14715 a file, run after-load forms. (Bug#10946)
14716
14717 * calendar/calendar.el (calendar-insert-at-column):
14718 Handle non-unit-width characters a bit better. (Bug#10978)
14719
14720 2012-03-15 Chong Yidong <cyd@gnu.org>
14721
14722 * emacs-lisp/ring.el (ring-extend): New function.
14723 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14724
14725 * comint.el (comint-read-input-ring)
14726 (comint-add-to-input-history): Grow comint-input-ring lazily.
14727
14728 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14731 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14732
14733 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14734 (imenu-add-to-menubar): Don't add a redundant index.
14735 (imenu-update-menubar): Handle a dynamically composed keymap.
14736
14737 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14738
14739 * mail/sendmail.el (mail-encode-header):
14740 Bind rfc2047-encode-encoded-words to nil.
14741
14742 2012-03-13 Glenn Morris <rgm@gnu.org>
14743
14744 * calendar/calendar.el (calendar-string-spread):
14745 Handle non-unit-width characters a bit better. (Bug#10978)
14746
14747 2012-03-13 Leo Liu <sdl.web@gmail.com>
14748
14749 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14750 directory and file as argument (Bug#10822).
14751
14752 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14753
14754 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14755 For dynamically generated code, follow $PC.
14756 (gdb-disassembly-handler-custom): Handle no function name case.
14757
14758 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14759
14760 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14761 * emulation/ws-mode.el (ws-query-replace):
14762 * sort.el (sort-regexp-fields):
14763 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14764
14765 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14766
14767 * dabbrev.el: Fix cycle completion order (bug#10963).
14768 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14769 (dabbrev-completion): Don't use an obarray; provide
14770 a cycle-sort-function.
14771
14772 2012-03-12 Leo Liu <sdl.web@gmail.com>
14773
14774 * simple.el (kill-new): Use equal-including-properties for comparison.
14775 (kill-do-not-save-duplicates): Doc fix.
14776
14777 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * dabbrev.el: Fix cycle completion (bug#10963).
14780 Use lexical binding and wrap to 80 columns.
14781 (dabbrev-completion): Delay computing the list of completions.
14782
14783 2012-03-12 Kenichi Handa <handa@m17n.org>
14784
14785 * international/quail.el (quail-insert-kbd-layout): Surround each
14786 row by LRO and PDF instead of inserting many LRMs. Pad the left
14787 and right of each non-spacing marks. Insert invisible space
14788 between lower and upper characters to prevent composition.
14789
14790 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 * minibuffer.el (minibuffer-complete): Don't get confused when the
14793 function is run twice via different commands (bug#10958).
14794 (complete-with-action): Fix docstring.
14795
14796 2012-03-12 Chong Yidong <cyd@gnu.org>
14797
14798 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14799 (nxml-completion-at-point-function): New function.
14800 (nxml-mode): Use it.
14801 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14802
14803 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14804 Load generated autoloads file before byte compiling (Bug#10970).
14805 (package--make-autoloads-and-compile): New helper fun.
14806
14807 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14808
14809 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14810
14811 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14812
14813 * autorevert.el (auto-revert-handler): Ensure, that
14814 file-readable-p is applied only for local files or in
14815 auto-revert-tail-mode.
14816
14817 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14818
14819 * server.el (server-eval-at): Handle non-tcp connections.
14820 Decode result string.
14821
14822 * server.el (server-msg-size): New constant.
14823 (server-reply-print): New function.
14824 (server-eval-and-print): Use it.
14825 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14826 Handle -print-nonl.
14827
14828 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14829
14830 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14831 (Bug#10987).
14832
14833 2012-03-11 Chong Yidong <cyd@gnu.org>
14834
14835 * simple.el (goto-line): Doc fix (Bug#9938).
14836
14837 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14838
14839 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14840 when finished (Bug#10963).
14841
14842 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14843
14844 * window.el (split-window-below): Fix bug in case where
14845 split-window-keep-point is nil (Bug#10971).
14846
14847 2012-03-11 Juri Linkov <juri@jurta.org>
14848
14849 * replace.el (replace-highlight): Set isearch-word to nil
14850 unconditionally. (Bug#10887)
14851
14852 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14853
14854 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14855 mairix-replace-illegal-chars; all callers changed. Don't remove
14856 ^, ~, and = characters: they are meaningful in mairix search specs.
14857 (mairix-widget-create-query): Add usage information about mairix
14858 search forms: negating words, searching for substrings, etc.
14859
14860 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14861
14862 * international/fontset.el (font-encoding-alist): Add an entry for
14863 ksx1001 (Bug#5667).
14864
14865 2012-03-10 Richard Stallman <rms@gnu.org>
14866
14867 * mail/sendmail.el (mail-encode-header):
14868 Set rfc2047-encode-encoded-words.
14869
14870 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14871
14872 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14873 view buffer means not swapped.
14874 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14875 (rmail-write-region-annotate): Error if real text has disappeared.
14876
14877 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14878
14879 2012-03-10 Chong Yidong <cyd@gnu.org>
14880
14881 * emulation/cua-rect.el (cua--init-rectangles):
14882 * emulation/cua-base.el (cua--init-keymaps):
14883 Add delete-forward-char to remappings (Bug#9666).
14884
14885 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14886
14887 * speedbar.el (speedbar-unhighlight-one-tag-line):
14888 Avoid unhighlighting due to frame switching (Bug#10275).
14889
14890 2012-03-10 Chong Yidong <cyd@gnu.org>
14891
14892 * minibuffer.el (completion-in-region, completion-help-at-point):
14893 Give the completion field overlay a high priority (Bug#6830).
14894
14895 * dired.el (dired-goto-file): Recognize absolute file name
14896 listings (Bug#7126).
14897 (dired-goto-file-1): New helper function.
14898 (dired-toggle-read-only): Inhibit warnings.
14899
14900 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14901
14902 * net/dbus.el (dbus-property-handler): Return empty array if
14903 there are no properties.
14904
14905 2012-03-09 Leo Liu <sdl.web@gmail.com>
14906
14907 * savehist.el (savehist-printable): Stricter check for string
14908 value (Bug#10937).
14909
14910 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14911
14912 * mail/smtpmail.el (smtpmail-send-it):
14913 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14914 valid mbox format.
14915
14916 2012-03-09 Glenn Morris <rgm@gnu.org>
14917
14918 * files.el (dir-locals-find-file):
14919 Don't check result is regular, readable.
14920 (dir-locals-read-from-file): Demote errors.
14921
14922 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14923
14924 * international/quail.el (quail-insert-kbd-layout):
14925 Insert invisible LRM characters before each character in a keyboard
14926 layout cell, to prevent their reordering by bidi display engine.
14927 For details, see the discussion in
14928 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14929
14930 2012-03-08 Alan Mackenzie <acm@muc.de>
14931
14932 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14933 the starting position; make it extend the marked region when
14934 invoked repeatedly - all under appropriate circumstances.
14935 Fixes bugs #5525, #10906.
14936
14937 2012-03-08 Glenn Morris <rgm@gnu.org>
14938
14939 * files.el (locate-dominating-file, dir-locals-find-file):
14940 Undo 2012-03-06 change.
14941
14942 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14943
14944 * international/quail.el (quail-help):
14945 Force bidi-paragraph-direction be left-to-right. See discussion in
14946 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14947 for the reason.
14948
14949 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14950
14951 Avoid superfluous registering of signals. (Bug#10807)
14952
14953 * notifications.el (notifications-on-action-object)
14954 (notifications-on-close-object): New defvars.
14955 (notifications-on-action-signal, notifications-on-closed-signal):
14956 Unregister the signal if not needed any longer.
14957 (notifications-notify): Register `notifications-action-signal' or
14958 `notifications-closed-signal', if :on-action or :on-close has been
14959 passed as argument.
14960
14961 2012-03-07 Chong Yidong <cyd@gnu.org>
14962
14963 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14964 non-X platforms.
14965
14966 2012-03-06 Glenn Morris <rgm@gnu.org>
14967
14968 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14969 (x-disown-selection-internal, x-get-selection-internal):
14970 Doc fix (add arglist signatures). (Bug#10783)
14971
14972 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14973
14974 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14975 Handle breakpoints with no "type".
14976
14977 2012-03-06 Glenn Morris <rgm@gnu.org>
14978
14979 * files.el (locate-dominating-file): Add optional predicate argument.
14980 (dir-locals-find-file): Make use of above change.
14981
14982 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14983
14984 * info.el (Info-insert-dir): Also try "dir.gz".
14985
14986 2012-03-06 Glenn Morris <rgm@gnu.org>
14987
14988 * files.el (dir-locals-find-file):
14989 Ignore non-readable or non-regular files. (Bug#10928)
14990
14991 * files.el (locate-dominating-file): Doc fix.
14992
14993 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14994
14995 * calendar/calendar.el (calendar-set-mode-line):
14996 `getenv' returns a string. (Bug#10951)
14997
14998 2012-03-05 Leo Liu <sdl.web@gmail.com>
14999
15000 * simple.el (backward-delete-char-untabify): Constrain point to
15001 field (Bug#10939).
15002
15003 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15004
15005 2012-03-05 Chong Yidong <cyd@gnu.org>
15006
15007 * simple.el (count-words): If called from Lisp, return the word
15008 count, for symmetry with `count-lines'. Arglist changed.
15009 (count-words--message): Args changed. Consolidate counting code
15010 from count-words and count-words-region.
15011 (count-words-region): Caller changed.
15012 (count-lines-region): Make it an obsolete alias.
15013
15014 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15015
15016 * saveplace.el (save-place-to-alist)
15017 (save-place-ignore-files-regexp): Allow value nil to disable this
15018 feature.
15019
15020 2012-03-04 Chong Yidong <cyd@gnu.org>
15021
15022 * faces.el (face-spec-reset-face): For the default face, reset the
15023 attributes to default values (Bug#10748).
15024
15025 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026
15027 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15028 previous patch: Check `message-send-mail-function', and not the
15029 default function (bug#10897).
15030
15031 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15032
15033 * notifications.el (notifications-on-action-signal)
15034 (notifications-on-closed-signal): Check for unique service name of
15035 incoming event. Fix error in removing entry.
15036 (top): Register for signals with wildcard service name.
15037 (notifications-notify): Use daemon unique service name for map entries.
15038
15039 2012-03-04 Chong Yidong <cyd@gnu.org>
15040
15041 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15042
15043 2012-03-04 Glenn Morris <rgm@gnu.org>
15044
15045 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15046 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15047 (expand-abbrev, define-abbrev-table): Doc fixes.
15048
15049 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15050
15051 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15052 `message-default-send-mail-function' and not `send-mail-function'
15053 when doing the prompting for `sendmail-query-once' before sending
15054 in Message buffers (bug#10897).
15055
15056 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15057 This is inconsistent with all the other stream functions, which leave
15058 the setting up to the higher levels (if so wanted) (bug#10931).
15059
15060 2012-03-02 Alan Mackenzie <acm@muc.de>
15061
15062 Depessimize the handling of very large macros.
15063
15064 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15065 (c-macro-cache-syntactic): New variables to implement a one
15066 element macro cache.
15067 (c-invalidate-macro-cache): New function.
15068 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15069 Adapt to use the new cache.
15070 (c-state-safe-place): Use better the cache of safe positions.
15071 (c-state-semi-nonlit-pos-cache)
15072 (c-state-semi-nonlit-pos-cache-limit):
15073 New variables for...
15074 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15075 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15076 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15077 Use c-state-semi-safe-place.
15078
15079 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15080 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15081
15082 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15083
15084 * jka-compr.el (jka-compr-call-process):
15085 Apply `file-accessible-directory-p' only when the default directory is
15086 not remote.
15087
15088 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15089
15090 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15091 access of FILE2, if FILE1 does not exist.
15092
15093 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15094 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15095
15096 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15097 Add "PAGER=" to `process-environment'.
15098
15099 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15100
15101 * progmodes/sql.el: Bug fix
15102 (sql-get-login-ext): Save login values in globals.
15103 (sql-get-login): Use new version of `sql-get-login-ext'.
15104 (sql-interactive-mode): Set global `sql-connection' to nil.
15105 (sql-connect): Set global values for connection.
15106 (sql-product-interactive): Save global values as buffer local.
15107
15108 2012-02-29 Leo Liu <sdl.web@gmail.com>
15109
15110 * abbrev.el (define-abbrevs): Reset sys to nil.
15111
15112 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15113
15114 * files.el (file-equal-p): Rename from `files-equal-p'.
15115 Return nil when one or both files don't exist.
15116 (file-subdir-of-p): Now only top directory must exists,
15117 return nil if it doesn't.
15118 (copy-directory): No need to test with `file-subdir-of-p' after
15119 creating dir.
15120 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15121 to `file-equal-p'.
15122
15123 2012-02-28 Glenn Morris <rgm@gnu.org>
15124
15125 * shell.el (shell-mode):
15126 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15127 * play/landmark.el (landmark-font-lock-face-O):
15128 * play/handwrite.el (handwrite):
15129 * play/gomoku.el (gomoku-O):
15130 * net/browse-url.el (browse-url-browser-display):
15131 * international/mule.el (define-charset):
15132 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15133 * filesets.el (filesets-find-file-delay):
15134 * eshell/em-xtra.el (eshell-xtra):
15135 * eshell/em-unix.el (eshell-grep):
15136 * emulation/viper.el (viper-mode):
15137 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15138 * emacs-lisp/easymenu.el (easy-menu-define):
15139 * calendar/timeclock.el (timeclock-use-display-time):
15140 * bs.el (bs-mode):
15141 * bookmark.el (bookmark-save-flag):
15142 Doc fix (standardize possessive apostrophe usage).
15143
15144 2012-02-27 Chong Yidong <cyd@gnu.org>
15145
15146 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15147 Fix key-binding lookup for ESC key (Bug#9146).
15148
15149 * font-lock.el (font-lock-specified-p): Rename from
15150 font-lock-spec-present. Callers changed.
15151
15152 2012-02-27 Daniel Hackney <dan@haxney.org>
15153
15154 * emacs-lisp/package.el (package-compute-transaction):
15155 Handle holding a package version to t in package-load-list.
15156
15157 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15158
15159 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15160 (tramp-get-inode, tramp-get-device): Use cached values.
15161
15162 2012-02-26 Alan Mackenzie <acm@muc.de>
15163
15164 Check there is a font-lock specification before doing initial
15165 fontification.
15166
15167 * font-core.el (font-lock-mode): Move the conditional from
15168 :after-hook to font-lock-initial-fontify.
15169 (font-lock-default-function): Move the check for a specification
15170 to font-lock-spec-present.
15171
15172 * font-lock.el (font-lock-initial-fontify): Call ...
15173 (font-lock-spec-present): New function.
15174
15175 2012-02-26 Jim Blandy <jimb@red-bean.com>
15176
15177 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15178 (gdb-send): Apply it to the operand of the '-interpreter-exec
15179 console' command, so that we can pass arguments with (say) quotes
15180 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15181
15182 2012-02-26 Chong Yidong <cyd@gnu.org>
15183
15184 * help-fns.el (describe-function-1): Clarify description of
15185 remapping (Bug#10844).
15186
15187 * files.el (files-equal-p): Doc fix.
15188 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15189 and quit the loop once a mismatch is found.
15190
15191 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15192
15193 * bs.el (bs--show-with-configuration): Don't throw an error
15194 if the window cannot be split; otherwise, subsequent calls to
15195 bs-show fail, restoring a stale window config. (Bug#10882)
15196
15197 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15198
15199 * term/ns-win.el (global-map): Bind ns-drag-file to
15200 ns-find-file (Bug#5855, Bug#10050).
15201
15202 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15203
15204 * calendar/parse-time.el (parse-time-string): Allow extractor to
15205 return nil.
15206
15207 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15208
15209 * net/tramp.el (tramp-file-name-for-operation):
15210 Add `files-equal-p' and `file-subdir-of-p'.
15211
15212 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15213 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15214 Add COPY-CONTENTS argument.
15215
15216 2012-02-25 Chong Yidong <cyd@gnu.org>
15217
15218 Add custom groups for VC backends, for consistency with vc-bzr.
15219
15220 * vc/vc-arch.el (vc-arch):
15221 * vc/vc-cvs.el (vc-cvs):
15222 * vc/vc-git.el (vc-git):
15223 * vc/vc-hg.el (vc-hg):
15224 * vc/vc-mtn.el (vc-mtn):
15225 * vc/vc-rcs.el (vc-rcs):
15226 * vc/vc-sccs.el (vc-sccs):
15227 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15228 All relevant defcustoms reassigned.
15229
15230 2012-02-25 Chong Yidong <cyd@gnu.org>
15231
15232 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15233
15234 * term/x-win.el (x-initialize-window-system): Reduce default for
15235 x-selection-timeout to 5 seconds (Bug#8869).
15236
15237 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15238
15239 * files.el (files-equal-p, file-subdir-of-p): New functions.
15240 (copy-directory): Error when trying to copy a directory on itself.
15241 Add missing copy-contents arg to tramp handler.
15242 * dired-aux.el (dired-copy-file-recursive): Same.
15243 (dired-create-files): Modify destination when source is equal to
15244 dest when copying files.
15245 Return also when dest is a subdir of source. (Bug#10489)
15246
15247 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15248
15249 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15250 (Bug#10874)
15251
15252 2012-02-23 Alan Mackenzie <acm@muc.de>
15253
15254 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15255 parameter "after-hook:" to allow the expansion to run code after
15256 the execution of the mode hooks.
15257
15258 * font-lock.el (font-lock-initial-fontify): New function extracted
15259 from font-lock-mode-internal.
15260
15261 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15262 :after-hook.
15263
15264 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15267 (completion--cache-all-sorted-completions): New function.
15268 (completion-all-sorted-completions): Use it.
15269 (completion--do-completion, minibuffer-force-complete):
15270 Use it to re-instate the flush hook.
15271
15272 * icomplete.el (icomplete-completions): Replace last fix with a better
15273 one (bug#10850).
15274
15275 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15276
15277 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15278 when it might call us back infinitely (bug#10797).
15279
15280 2012-02-23 Glenn Morris <rgm@gnu.org>
15281
15282 * minibuffer.el (completion-category-overrides): Doc fix.
15283
15284 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15287 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15288
15289 2012-02-23 Glenn Morris <rgm@gnu.org>
15290
15291 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15292 (authors-obsolete-files-regexps, authors-ignored-files)
15293 (authors-ambiguous-files, authors-renamed-files-alist):
15294 Add more entries.
15295
15296 2012-02-23 Juri Linkov <juri@jurta.org>
15297
15298 * isearch.el (isearch-occur): Sync interactive spec with occur's
15299 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15300
15301 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15302
15303 2012-02-22 Juri Linkov <juri@jurta.org>
15304
15305 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15306 (ucs-insert): Doc fix. Check for hex digits in the string.
15307 Don't display `nil' in the error message. (Bug#10857)
15308
15309 2012-02-22 Alan Mackenzie <acm@muc.de>
15310
15311 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15312
15313 2012-02-22 Glenn Morris <rgm@gnu.org>
15314
15315 * ffap.el (ffap-c-path):
15316 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15317
15318 2012-02-22 Chong Yidong <cyd@gnu.org>
15319
15320 * custom.el (load-theme): Doc fix.
15321
15322 2012-02-22 Glenn Morris <rgm@gnu.org>
15323
15324 * dired-x.el (dired-guess-shell-alist-default):
15325 Remove escape sequences from nroff output. (Bug#172)
15326
15327 2012-02-21 Glenn Morris <rgm@gnu.org>
15328
15329 * vc/emerge.el (emerge-defvar-local):
15330 Set `permanent-local' property rather than unused `preserved'.
15331
15332 * textmodes/picture.el (picture-delete-char): New alias.
15333 (picture-mode-map): Use it. (Bug#10860)
15334 (picture-mode): Doc fix.
15335
15336 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15337
15338 * newcomment.el (uncomment-region-default): Remove unused binding.
15339
15340 2012-02-21 Glenn Morris <rgm@gnu.org>
15341
15342 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15343 (picture-self-insert, picture-tab-chars): Doc fix.
15344 (picture-mode-map): Fix C-a, C-e.
15345
15346 2012-02-20 Glenn Morris <rgm@gnu.org>
15347
15348 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15349
15350 2012-02-20 Leo Liu <sdl.web@gmail.com>
15351
15352 * icomplete.el (icomplete-completions): Check FROM arg before
15353 passing to substring (Bug#10850).
15354
15355 2012-02-19 Chong Yidong <cyd@gnu.org>
15356
15357 * comint.el: Require ansi-color.
15358 (comint-output-filter-functions): Add ansi-color-process-output.
15359
15360 * ansi-color.el: Don't set comint-output-filter-functions; it is
15361 now in the initial value defined in comint.el.
15362 (ansi-color-apply-face-function): New variable.
15363 (ansi-color-apply-on-region): Use it.
15364 (ansi-color-apply-overlay-face): New function.
15365
15366 * shell.el (shell): No need to require ansi-color.
15367 (shell-mode): Use ansi-color-apply-face-function to highlight
15368 color escapes using font-lock-face property (Bug#10835).
15369
15370 2012-02-19 Chong Yidong <cyd@gnu.org>
15371
15372 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15373 mode-line formats (Bug#10839).
15374
15375 2012-02-18 Glenn Morris <rgm@gnu.org>
15376
15377 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15378
15379 * mail/undigest.el (unforward-rmail-message): Doc fix.
15380
15381 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15382
15383 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15384
15385 * international/characters.el (script-list): Sync with the latest
15386 Unicode Character Database.
15387
15388 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15389
15390 * international/titdic-cnv.el: Remove duplicate coding tag.
15391 * language/cham.el: Likewise.
15392 * language/tai-viet.el: Likewise.
15393
15394 2012-02-18 Glenn Morris <rgm@gnu.org>
15395
15396 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15397 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15398 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15399 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15400 * calendar/holidays.el (holiday-bahai-holidays)
15401 (calendar-holidays, list-holidays):
15402 Use utf-8 Bahá'í in doc-strings, menus, etc.
15403
15404 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15405
15406 * saveplace.el (save-place-ignore-files-regexp): New variable
15407 allowing for excluding files from saving their location of point.
15408 The default value matches the temporary commit message editing
15409 files from Git, SVN, Bazaar, and Mercurial.
15410 (save-place-to-alist): Use it.
15411
15412 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15413 Stefan Monnier <monnier@iro.umontreal.ca>
15414
15415 * newcomment.el (uncomment-region-default): Don't leave extra space
15416 when an arg is provided (bug#8150).
15417
15418 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15419
15420 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15421
15422 2012-02-17 Glenn Morris <rgm@gnu.org>
15423
15424 * net/socks.el: Require network-stream. (Bug#10599)
15425
15426 2012-02-17 Kenichi Handa <handa@m17n.org>
15427
15428 * international/charprop.el:
15429 * international/uni-name.el:
15430 * international/uni-old-name.el:
15431 * international/uni-comment.el: Regenerate.
15432
15433 2012-02-16 Glenn Morris <rgm@gnu.org>
15434
15435 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15436 Interactively in calendar buffer, give an error if not on a date.
15437
15438 2012-02-15 Glenn Morris <rgm@gnu.org>
15439
15440 * shell.el (shell-delimiter-argument-list):
15441 Revert 2011-02-17 change. (Bug#8027)
15442
15443 2012-02-15 Chong Yidong <cyd@gnu.org>
15444
15445 * minibuffer.el (completion-at-point-functions): Doc fix.
15446
15447 * custom.el (defcustom): Doc fix; note use of defvar.
15448
15449 2012-02-15 Glenn Morris <rgm@gnu.org>
15450
15451 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15452 Doc fixes.
15453
15454 2012-02-14 Glenn Morris <rgm@gnu.org>
15455
15456 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15457
15458 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15459
15460 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15461 way the ports list is computed.
15462 (smtpmail-query-smtp-server): Prompt the user for a port number if
15463 we can't connect to any of the standard ports (bug#10810).
15464
15465 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15466
15467 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15468
15469 2012-02-13 Glenn Morris <rgm@gnu.org>
15470
15471 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15472
15473 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15474
15475 * net/gnutls.el (gnutls-trustfiles): New variable.
15476 (gnutls-negotiate): Use it.
15477
15478 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15479
15480 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15481 does its stuff if Gnus is running.
15482
15483 2012-02-13 Alan Mackenzie <acm@muc.de>
15484
15485 Fix a loop in c-set-fl-decl-start.
15486
15487 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15488 c-backward-syntactic-ws actually moves backwards.
15489
15490 2012-02-13 Leo Liu <sdl.web@gmail.com>
15491
15492 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15493 beginning so that all \C-o chars are removed.
15494
15495 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15496
15497 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15498
15499 2012-02-12 Alan Mackenzie <acm@muc.de>
15500
15501 Fix infinite loop with long macros.
15502 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15503
15504 2012-02-12 Chong Yidong <cyd@gnu.org>
15505
15506 * window.el (display-buffer): Doc fix (Bug#10785).
15507
15508 2012-02-12 Glenn Morris <rgm@gnu.org>
15509
15510 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15511 (x-disown-selection-internal, x-get-selection-internal):
15512 Sync docs with the xselect.c versions.
15513
15514 * allout-widgets.el: Add missing license notice.
15515
15516 2012-02-11 Glenn Morris <rgm@gnu.org>
15517
15518 * select.el (x-get-selection-internal, x-own-selection-internal)
15519 (x-disown-selection-internal):
15520 * x-dnd.el (x-get-selection-internal): Update declarations.
15521
15522 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15523
15524 * window.el (window-sides-slots):
15525 * tool-bar.el (tool-bar-position):
15526 * term/xterm.el (xterm-extra-capabilities):
15527 * ses.el (ses-self-reference-early-detection):
15528 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15529 (verilog-auto-wire-type)
15530 (verilog-auto-delete-trailing-whitespace)
15531 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15532 (verilog-auto-tieoff-declaration):
15533 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15534 (sql-oracle-statement-starters, sql-oracle-scan-on):
15535 * progmodes/prolog.el (prolog-align-comments-flag)
15536 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15537 (prolog-left-indent-regexp, prolog-paren-indent-p)
15538 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15539 (prolog-types, prolog-mode-specificators)
15540 (prolog-determinism-specificators, prolog-directives)
15541 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15542 (prolog-electric-dot-flag)
15543 (prolog-electric-dot-full-predicate-template)
15544 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15545 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15546 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15547 (prolog-program-switches, prolog-prompt-regexp)
15548 (prolog-debug-on-string, prolog-debug-off-string)
15549 (prolog-trace-on-string, prolog-trace-off-string)
15550 (prolog-zip-on-string, prolog-zip-off-string)
15551 (prolog-use-standard-consult-compile-method-flag)
15552 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15553 (prolog-imenu-max-lines, prolog-info-predicate-index)
15554 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15555 (prolog-char-quote-workaround):
15556 * progmodes/cc-vars.el (c-defun-tactic):
15557 * net/tramp.el (tramp-encoding-command-interactive)
15558 (tramp-local-end-of-line):
15559 * net/soap-client.el (soap-client):
15560 * net/netrc.el (netrc-file):
15561 * net/gnutls.el (gnutls):
15562 * minibuffer.el (completion-category-overrides)
15563 (completion-cycle-threshold)
15564 (completion-pcm-complete-word-inserts-delimiters):
15565 * man.el (Man-name-local-regexp):
15566 * mail/feedmail.el (feedmail-display-full-frame):
15567 * international/characters.el (glyphless-char-display-control):
15568 * eshell/em-ls.el (eshell-ls-date-format):
15569 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15570 (lisp-lambda-list-keyword-parameter-indentation)
15571 (lisp-lambda-list-keyword-parameter-alignment):
15572 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15573 * dired-x.el (dired-omit-verbose):
15574 * cus-theme.el (custom-theme-allow-multiple-selections):
15575 * calc/calc.el (calc-highlight-selections-with-faces)
15576 (calc-lu-field-reference, calc-lu-power-reference)
15577 (calc-note-threshold):
15578 * battery.el (battery-mode-line-limit):
15579 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15580 (archive-7z-update):
15581 * allout.el (allout-prefixed-keybindings)
15582 (allout-unprefixed-keybindings)
15583 (allout-inhibit-auto-fill-on-headline)
15584 (allout-flattened-numbering-abbreviation):
15585 * allout-widgets.el (allout-widgets-auto-activation)
15586 (allout-widgets-icons-dark-subdir)
15587 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15588 (allout-widgets-theme-dark-background)
15589 (allout-widgets-theme-light-background)
15590 (allout-widgets-item-image-properties-emacs)
15591 (allout-widgets-item-image-properties-xemacs)
15592 (allout-widgets-run-unit-tests-on-load)
15593 (allout-widgets-time-decoration-activity)
15594 (allout-widgets-hook-error-post-time)
15595 (allout-widgets-track-decoration):
15596 Add missing :version tags to new defcustoms and defgroups.
15597
15598 * progmodes/sql.el (sql-ansi-statement-starters)
15599 (sql-oracle-statement-starters): Add custom type.
15600
15601 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15602 (prolog-system-version): Give it a type.
15603
15604 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15605
15606 * term/pc-win.el (x-select-text, x-selection-owner-p)
15607 (x-own-selection-internal, x-disown-selection-internal)
15608 (x-get-selection-internal): Sync doc strings and argument lists
15609 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15610
15611 2012-02-11 Leo Liu <sdl.web@gmail.com>
15612
15613 * progmodes/python.el (python-end-of-statement): Fix infinite
15614 loop. (Bug#10788)
15615
15616 2012-02-10 Glenn Morris <rgm@gnu.org>
15617
15618 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15619 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15620
15621 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15622
15623 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15624 about SMTP before checking the From header.
15625
15626 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15627 into own function for reuse by emacsbug.el.
15628
15629 2012-02-10 Leo Liu <sdl.web@gmail.com>
15630
15631 * subr.el (condition-case-unless-debug): Rename from
15632 condition-case-no-debug. All callers changed.
15633 (with-demoted-errors): Fix caller.
15634
15635 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15636 * nxml/rng-valid.el (rng-do-some-validation):
15637 * emacs-lisp/package.el (package-refresh-contents)
15638 (package-menu-execute):
15639 * desktop.el (desktop-create-buffer):
15640 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15641
15642 2012-02-10 Glenn Morris <rgm@gnu.org>
15643
15644 * textmodes/bibtex.el:
15645 Add missing :version tags for new/changed defcustoms.
15646
15647 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15648
15649 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15650
15651 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15652 (smtpmail-via-smtp): Use it, or fall back on the From address.
15653 (smtpmail-send-it): Ditto.
15654
15655 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15656
15657 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15658 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15659 (byte-compile-tmp-var): New const.
15660 (byte-compile-defvar): Use it to minimize .elc size.
15661 Just use `defvar' rather than simulate it (bug#10761).
15662
15663 2012-02-09 Glenn Morris <rgm@gnu.org>
15664
15665 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15666
15667 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15668 Add :version tags.
15669
15670 * progmodes/compile.el (compilation-error-screen-columns)
15671 (compilation-first-column, compilation-filter-start): Doc fixes.
15672
15673 * vc/log-view.el (log-view-toggle-entry-display):
15674 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15675
15676 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15677 (report-emacs-bug-can-use-xdg-email):
15678 (report-emacs-bug-insert-to-mailer): Doc fixes.
15679 (report-emacs-bug): Message fix.
15680
15681 * net/browse-url.el (browse-url-can-use-xdg-open)
15682 (browse-url-xdg-open): Doc fixes.
15683
15684 * electric.el (electric-indent-mode, electric-pair-mode)
15685 (electric-layout-rules, electric-layout-mode): Doc fixes.
15686 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15687
15688 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15689
15690 * server.el (server-unselect-display): Don't inadvertently kill
15691 the current buffer. (Bug#10729)
15692
15693 2012-02-08 Glenn Morris <rgm@gnu.org>
15694
15695 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15696 (sql-list-table): Doc fixes.
15697
15698 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15699 Comment out (does nothing).
15700
15701 * completion.el (dynamic-completion-mode):
15702 * dirtrack.el (dirtrack-debug-mode):
15703 * electric.el (electric-layout-mode):
15704 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15705 * face-remap.el (text-scale-mode, buffer-face-mode):
15706 * iimage.el (iimage-mode):
15707 * image-mode.el (image-transform-mode):
15708 * minibuffer.el (completion-in-region-mode):
15709 * scroll-lock.el (scroll-lock-mode):
15710 * simple.el (next-error-follow-minor-mode):
15711 * tar-mode.el (tar-subfile-mode):
15712 * tooltip.el (tooltip-mode):
15713 * vcursor.el (vcursor-use-vcursor-map):
15714 * wid-browse.el (widget-minor-mode):
15715 * emulation/tpu-edt.el (tpu-edt-mode):
15716 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15717 * international/iso-ascii.el (iso-ascii-mode):
15718 * language/thai-util.el (thai-word-mode):
15719 * mail/supercite.el (sc-minor-mode):
15720 * net/goto-addr.el (goto-address-mode):
15721 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15722 * progmodes/cwarn.el (cwarn-mode):
15723 * progmodes/flymake.el (flymake-mode):
15724 * progmodes/glasses.el (glasses-mode):
15725 * progmodes/hideshow.el (hs-minor-mode):
15726 * progmodes/pascal.el (pascal-outline-mode):
15727 * textmodes/enriched.el (enriched-mode):
15728 * vc/smerge-mode.el (smerge-mode):
15729 Doc fixes (minor mode argument).
15730
15731 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15732
15733 * ls-lisp.el (ls-lisp-sanitize): New function.
15734 (ls-lisp-insert-directory): Use it to fix or remove any elements
15735 in file-alist with missing attributes. (Bug#4673)
15736
15737 2012-02-07 Alan Mackenzie <acm@muc.de>
15738
15739 Fix spurious recognition of c-in-knr-argdecl.
15740
15741 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15742 putative K&R region.
15743
15744 2012-02-07 Alan Mackenzie <acm@muc.de>
15745
15746 * progmodes/cc-engine.el (c-forward-objc-directive):
15747 Prevent looping in "#pragma mark @implementation".
15748
15749 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15750
15751 * notifications.el (notifications-on-closed-signal): Make `reason'
15752 optional. (Bug#10744)
15753
15754 2012-02-07 Glenn Morris <rgm@gnu.org>
15755
15756 * emacs-lisp/easy-mmode.el (define-minor-mode):
15757 Doc fixes for the macro and the mode it defines.
15758
15759 * image.el (imagemagick-types-inhibit): Doc fix.
15760
15761 * cus-start.el (imagemagick-render-type): Add it.
15762
15763 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15764
15765 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15766 Set the default at load time, too, so that `font-lock-fontify-buffer'
15767 can be called without setting up the entire mode first. This fixes
15768 a bug in `mm-inline-text' with C MIME parts.
15769
15770 2012-02-06 Chong Yidong <cyd@gnu.org>
15771
15772 * simple.el (list-processes--refresh): Delete exited processes
15773 (Bug#8094).
15774
15775 * comint.el (comint-next-prompt): next-single-char-property-change
15776 and prev-single-char-property-change never return nil (Bug#8657).
15777
15778 * custom.el (defcustom): Doc fix (Bug#9711).
15779
15780 2012-02-05 Chong Yidong <cyd@gnu.org>
15781
15782 * cus-edit.el (custom-variable-reset-backup): Quote the value
15783 before storing it in the customized-value property (Bug#6712).
15784 (custom-display): Add a customization type tag.
15785 (custom-buffer-create-internal): Improve tooltip message.
15786
15787 * wid-edit.el (widget-field-value-get): New optional arg to
15788 suppress trailing whitespace truncation.
15789 (character): Use it (Bug#2689).
15790
15791 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15792
15793 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15794 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15795
15796 2012-02-05 Chong Yidong <cyd@gnu.org>
15797
15798 * cus-edit.el (custom-variable-value-create): For mismatched
15799 types, show the current value (Bug#7600).
15800
15801 * custom.el (defcustom): Doc fix.
15802
15803 2012-02-05 Glenn Morris <rgm@gnu.org>
15804
15805 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15806
15807 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15808
15809 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15810 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15811 (pp-last-sexp): Use `looking-at-p'.
15812
15813 2012-02-04 Glenn Morris <rgm@gnu.org>
15814
15815 * files.el (revert-buffer):
15816 Doc fix (mention revert-buffer-in-progress-p).
15817
15818 * emacs-lisp/ert-x.el (ert-simulate-command):
15819 Check deferred-action-list (which is obsolete) is bound.
15820
15821 * subr.el (with-wrapper-hook): Doc fixes.
15822
15823 * simple.el (filter-buffer-substring-functions)
15824 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15825
15826 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15827
15828 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15829 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15830
15831 2012-02-04 Leo Liu <sdl.web@gmail.com>
15832
15833 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15834
15835 2012-02-04 Glenn Morris <rgm@gnu.org>
15836
15837 * image.el (image-extension-data): Add obsolete alias.
15838
15839 * isearch.el (isearch-update): Doc fix.
15840
15841 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15842
15843 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15844
15845 2012-02-03 Glenn Morris <rgm@gnu.org>
15846
15847 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15848 (image-animate-timeout): Doc fix.
15849
15850 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15851
15852 2012-02-02 Glenn Morris <rgm@gnu.org>
15853
15854 * server.el (server-auth-dir): Doc fix.
15855 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15856
15857 * subr.el (run-mode-hooks): Doc fix.
15858
15859 2012-02-02 Juri Linkov <juri@jurta.org>
15860
15861 * image-mode.el (image-toggle-display-image): Remove tautological
15862 `major-mode' from the `derived-mode-p' test.
15863
15864 2012-02-02 Kenichi Handa <handa@m17n.org>
15865
15866 * composite.el (compose-region): Cancel previous change.
15867
15868 2012-02-02 Kenichi Handa <handa@m17n.org>
15869
15870 * composite.el (compose-region, compose-string): Signal error for
15871 a null string component (Bug#6988).
15872
15873 2012-02-01 Chong Yidong <cyd@gnu.org>
15874
15875 * view.el (view-buffer-other-window, view-buffer-other-frame):
15876 Handle special modes like view-buffer (Bug#10650).
15877 (view-buffer): Simplify.
15878
15879 * frame.el (set-frame-font): Tweak meaning of third argument.
15880
15881 * dynamic-setting.el (font-setting-change-default-font):
15882 Use set-frame-font (Bug#9982).
15883
15884 2012-02-01 Glenn Morris <rgm@gnu.org>
15885
15886 * progmodes/compile.el (compilation-internal-error-properties):
15887 Respect compilation-first-column in the "*compilation*" buffer.
15888
15889 * emacs-lisp/easy-mmode.el (define-minor-mode):
15890 Relax :variable's test for a named function.
15891
15892 2012-01-31 Alan Mackenzie <acm@muc.de>
15893
15894 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15895 off by one error.
15896
15897 2012-01-31 Chong Yidong <cyd@gnu.org>
15898
15899 * frame.el (set-frame-font): New arg ALL-FRAMES.
15900
15901 * menu-bar.el (menu-set-font): Use set-frame-font.
15902
15903 * faces.el (face-spec-reset-face): Don't apply unspecified
15904 attribute values to the default face.
15905
15906 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15907
15908 * progmodes/cwarn.el (cwarn): Remove dead link.
15909 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15910 Remove * from defcustom docstrings.
15911 (turn-on-cwarn-mode): Make obsolete.
15912 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15913 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15914
15915 2012-01-31 Glenn Morris <rgm@gnu.org>
15916
15917 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15918 Fix :variable handling of mode a symbol not equal to modefun.
15919 Allow named functions to be used as the cdr of :variable.
15920
15921 2012-01-30 Glenn Morris <rgm@gnu.org>
15922
15923 * emacs-lisp/authors.el (authors-fixed-entries):
15924 Remove reference to deleted file rnewspost.el.
15925
15926 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15927
15928 * window.el (window-with-parameter): Remove unused variable `windows'.
15929 (window--side-check): Remove unused variable `code'.
15930 (window--resize-siblings): Remove unused variable `first'.
15931 (adjust-window-trailing-edge): Remove unused variable `failed'.
15932 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15933 Use `let', not `let*'.
15934 (balance-windows-2): Remove unused variable `found'.
15935 (window--state-put-2): Remove unused variable `splits'.
15936 (window-state-put): Remove unused variable `selected'.
15937 (same-window-p): Use `string-match-p'.
15938 (display-buffer-assq-regexp): Remove unused variable `value'.
15939 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15940 Mark argument ALIST as ignored.
15941 (pop-to-buffer): Remove unused variable `old-window'.
15942
15943 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15944
15945 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15946 and .lzma compressed files.
15947
15948 2012-01-29 Chong Yidong <cyd@gnu.org>
15949
15950 * frame.el (window-system-default-frame-alist): Doc fix.
15951
15952 * dynamic-setting.el (font-setting-change-default-font): Don't
15953 change the default face if SET-FONT argument is non-nil (Bug#9982).
15954
15955 2012-01-29 Samuel Bronson <naesten@gmail.com>
15956
15957 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15958
15959 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15960
15961 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15962 breakpoints in files outside current directory (Bug#6098).
15963
15964 2012-01-29 Chong Yidong <cyd@gnu.org>
15965
15966 * progmodes/python.el: Require ansi-color at top-level.
15967
15968 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15969 Define and use in Emacs Lisp mode (Bug#9360).
15970 (lisp-mode-abbrev-table): Add doc.
15971 (lisp-mode-variables): Don't set local-abbrev-table.
15972 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15973
15974 2012-01-28 Roland Winkler <winkler@gnu.org>
15975
15976 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15977
15978 2012-01-28 Roland Winkler <winkler@gnu.org>
15979
15980 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15981 (bibtex-set-dialect): Use it. Either set global values of
15982 dialect-dependent variables or bind these variables buffer-locally
15983 (Bug#10254).
15984 (bibtex-mode): Call bibtex-set-dialect via
15985 hack-local-variables-hook.
15986 (bibtex-dialect): Update docstring.
15987 Add safe-local-variable predicate.
15988 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15989 bibtex-set-dialect.
15990 (bibtex-mode-map): Define menu for each dialect.
15991 (bibtex-entry): Fix docstring.
15992
15993 2012-01-28 Chong Yidong <cyd@gnu.org>
15994
15995 * eshell/esh-arg.el (eshell-quote-argument): New function.
15996
15997 * eshell/esh-ext.el (eshell-invoke-batch-file):
15998 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15999 first arg to eshell-parse-command (Bug#10523).
16000
16001 2012-01-28 Drew Adams <drew.adams@oracle.com>
16002
16003 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16004 `default-directory' is non-nil.
16005
16006 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16007
16008 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16009 line that displays system-configuration-options. (Bug#9924)
16010
16011 2012-01-28 Drew Adams <drew.adams@oracle.com>
16012
16013 * descr-text.el (describe-char): Show information about POS, in
16014 addition to information about the character at POS. Improve and
16015 update the doc string. Change "code point" to "code point in
16016 charset", to avoid confusion with the character's Unicode code
16017 point shown above that. (Bug#10129)
16018
16019 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16020
16021 * descr-text.el (describe-char): Show the raw character, not only
16022 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16023 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16024 for the reasons.
16025
16026 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16027
16028 * emacs-lisp/package.el (package-install):
16029 Run package-refresh-contents if there is no archive yet (Bug#9798).
16030
16031 2012-01-28 Chong Yidong <cyd@gnu.org>
16032
16033 * emacs-lisp/package.el (package-maybe-load-descriptor):
16034 New function, split from package-maybe-load-descriptor.
16035 (package-maybe-load-descriptor): Use it.
16036 (package-download-transaction): Fully load required packages
16037 inside the loop, so that `require' calls work (Bug#10593).
16038 (package-install): No need to call package-initialize now.
16039
16040 2012-01-28 Chong Yidong <cyd@gnu.org>
16041
16042 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16043
16044 * tooltip.el (tooltip-mode): Doc fix.
16045 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16046
16047 * frame.el (set-cursor-color): Doc fix (Bug#352).
16048
16049 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16050 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16051
16052 * cus-edit.el (custom-buffer-create-internal): Fix search button
16053 action (Bug#10542).
16054 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16055
16056 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16057
16058 * dired.el (dired-mark-files-regexp):
16059 Include any subdirectory components. (Bug#10445)
16060
16061 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16062
16063 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16064 Handle [host]:port syntax. (Bug#10533)
16065
16066 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16067
16068 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16069
16070 2012-01-26 Glenn Morris <rgm@gnu.org>
16071
16072 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16073 * term.el (term-raw-escape-map): Use Control-X-prefix.
16074 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16075
16076 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16077
16078 * window.el (window-state-get, window--state-get-1): Don't deal
16079 with fixed-sizeness of windows. Simplify code.
16080
16081 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16082
16083 * window.el (window--state-get-1, window--state-put-2):
16084 Don't save and restore the mark.
16085
16086 2012-01-25 Chong Yidong <cyd@gnu.org>
16087
16088 * custom.el (custom-variable-p): Doc fix.
16089
16090 2012-01-25 Glenn Morris <rgm@gnu.org>
16091
16092 * dired.el (dired-goto-file): Handle some of the more common
16093 characters that `ls -b' escapes. (Bug#10596)
16094
16095 * progmodes/compile.el (compilation-next-error-function):
16096 Respect compilation-first-column in the "*compilation*" buffer.
16097 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16098
16099 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16100
16101 2012-01-24 Glenn Morris <rgm@gnu.org>
16102
16103 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16104
16105 2012-01-24 Julien Danjou <julien@danjou.info>
16106
16107 * color.el (color-rgb-to-hsl): Fix value computing.
16108 (color-hue-to-rgb): New function.
16109 (color-hsl-to-rgb): New function.
16110 (color-clamp, color-saturate-hsl, color-saturate-name)
16111 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16112 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16113
16114 2012-01-24 Glenn Morris <rgm@gnu.org>
16115
16116 * vc/vc-rcs.el (vc-rcs-create-tag):
16117 * vc/vc-sccs.el (vc-sccs-create-tag):
16118 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16119
16120 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16121
16122 * eshell/esh-util.el (eshell-read-hosts-file):
16123 Skip comment lines. (Bug#10549)
16124
16125 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16126
16127 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16128
16129 * subr.el (display-delayed-warnings): Doc fix.
16130 (collapse-delayed-warnings): New function to collapse identical
16131 adjacent warnings.
16132 (delayed-warnings-hook): Add it.
16133
16134 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16135
16136 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16137
16138 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16139 (tramp-default-user-alist): Don't add "pscp".
16140 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16141 property "login-as", if set. (Bug#10530)
16142
16143 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16144
16145 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16146 "plink1" and "psftp". (Bug#10530)
16147
16148 2012-01-21 Kenichi Handa <handa@m17n.org>
16149
16150 * international/mule-cmds.el (prefer-coding-system): Show a
16151 warning message if the default value of file-name-coding-system
16152 was not changed.
16153
16154 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16155
16156 * windmove.el (windmove-reference-loc):
16157 Fix windmove-reference-loc miscalculation.
16158
16159 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16160
16161 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16162 default unit.
16163
16164 2012-01-21 Glenn Morris <rgm@gnu.org>
16165
16166 * international/mule.el (auto-coding-alist): Add .tbz.
16167
16168 * files.el (local-enable-local-variables): Doc fix.
16169 (inhibit-local-variables-regexps): Rename from
16170 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16171 Doc fix. Add some extensions from auto-coding-alist.
16172 (inhibit-local-variables-suffixes):
16173 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16174 (inhibit-local-variables-p):
16175 New function, extracted from set-auto-mode-1.
16176 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16177 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16178 (hack-local-variables): Doc fix. Make the mode-only case
16179 respect enable-local-variables and friends.
16180 Respect inhibit-local-variables-regexps for file-locals, but
16181 not for directory-locals.
16182 (set-visited-file-name):
16183 Take account of inhibit-local-variables-regexps.
16184 Whether it applies may change as the file name is changed.
16185 * jka-cmpr-hook.el (jka-compr-install):
16186 * jka-compr.el (jka-compr-uninstall):
16187 Update for inhibit-first-line-modes-suffixes name change.
16188
16189 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16190
16191 * help-macro.el (make-help-screen): Temporarily restore original
16192 binding for minor-mode-map-alist (Bug#10454).
16193
16194 2012-01-19 Julien Danjou <julien@danjou.info>
16195
16196 * color.el (color-name-to-rgb): Use the white color to find the max
16197 color component value and return correctly computed values.
16198 (color-name-to-rgb): Add missing float conversion for max value.
16199
16200 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16201
16202 * window.el (window--state-get-1, window-state-get): Do not use
16203 special state value for window-persistent-parameters.
16204 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16205 (window--state-put-2): Reset all window parameters to nil before
16206 assigning values of persistent parameters.
16207
16208 2012-01-18 Alan Mackenzie <acm@muc.de>
16209
16210 Eliminate sluggishness and hangs in fontification of "semicolon
16211 deserts".
16212
16213 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16214 Change value 10000 -> 3000.
16215 (c-state-safe-place): Reformulate so it doesn't stack up an
16216 infinite number of wrong entries in c-state-nonlit-pos-cache.
16217 (c-determine-limit-get-base, c-determine-limit): New functions to
16218 determine backward search limits disregarding literals.
16219 (c-find-decl-spots): Amend commenting.
16220 (c-cheap-inside-bracelist-p): New function which detects "={".
16221
16222 * progmodes/cc-fonts.el
16223 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16224 backward search.
16225 (c-font-lock-declarations): Fix an occurrence of point being
16226 undefined. Check additionally for point being in a bracelist or
16227 near a macro invocation without a semicolon so as to avoid a
16228 fruitless time consuming search for a declarator. Give a more
16229 precise search limit for declarators using the new
16230 c-determine-limit.
16231
16232 2012-01-18 Glenn Morris <rgm@gnu.org>
16233
16234 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16235 (set-auto-mode): Doc fixes.
16236
16237 2012-01-17 Glenn Morris <rgm@gnu.org>
16238
16239 * isearch.el (search-nonincremental-instead): Fix doc typo.
16240
16241 * dired.el (dired-insert-directory): Handle newlines in directory name.
16242 (dired-build-subdir-alist): Unescape newlines in directory name.
16243
16244 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16245
16246 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16247 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16248 (tramp-action-terminal): Use it. (Bug#10530)
16249
16250 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16251
16252 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16253
16254 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16255
16256 * window.el (window-state-ignored-parameters): Remove variable.
16257 (window--state-get-1): Rename argument MARKERS to IGNORE.
16258 Handle persistent window parameters. Make copy of clone-of
16259 parameter only if requested. (Bug#10348)
16260 (window--state-put-2): Install a window parameter only if it has
16261 a non-nil value or an existing parameter shall be overwritten.
16262
16263 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16264
16265 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16266
16267 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16268
16269 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16270 don't pass the (nil) value of `upnode' to string-match.
16271
16272 2012-01-14 Chong Yidong <cyd@gnu.org>
16273
16274 * startup.el (command-line): Fix X resource class for cursorColor.
16275 Fix values recognized by the cursorBlink resource.
16276
16277 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16278
16279 * epg.el (epg--make-temp-file): Avoid permission race condition
16280 when running on old Emacs versions (bug#10403).
16281
16282 2012-01-14 Glenn Morris <rgm@gnu.org>
16283
16284 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16285
16286 2012-01-13 Alan Mackenzie <acm@muc.de>
16287
16288 Fix filling for when filladapt mode is enabled.
16289
16290 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16291 c-mask-paragraph, pass in `fill-paragraph' rather than
16292 `fill-region-as-paragraph'. (This is a reversion of a previous
16293 change.)
16294 * progmodes/cc-mode.el (c-basic-common-init):
16295 Make fill-paragraph-handle-comment buffer local and set it to nil.
16296
16297 2012-01-13 Glenn Morris <rgm@gnu.org>
16298
16299 * dired.el (dired-switches-escape-p): New function.
16300 (dired-insert-directory): Use dired-switches-escape-p.
16301 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16302
16303 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16304
16305 2012-01-12 Glenn Morris <rgm@gnu.org>
16306
16307 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16308 changes in adaptive-fill-regexp. (Bug#10276)
16309
16310 2012-01-11 Alan Mackenzie <acm@muc.de>
16311
16312 Fix Emacs bug #10463 - put `widen's around the critical spots.
16313
16314 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16315 widen around each invocation of c-state-pp-to-literal. Remove an
16316 unused let variable.
16317
16318 2012-01-11 Glenn Morris <rgm@gnu.org>
16319
16320 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16321 Doc fix.
16322
16323 2012-01-10 Chong Yidong <cyd@gnu.org>
16324
16325 * net/network-stream.el (network-stream-open-starttls):
16326 Avoid emitting a confusing error message when the server gives a bad
16327 response to the capability command.
16328
16329 2012-01-10 Glenn Morris <rgm@gnu.org>
16330
16331 * mail/unrmail.el (unrmail): Tweak previous change.
16332
16333 2012-01-09 Chong Yidong <cyd@gnu.org>
16334
16335 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16336
16337 2012-01-08 Alan Mackenzie <acm@muc.de>
16338
16339 Optimize font locking in long enum definitions.
16340
16341 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16342 arm to a cond form to handle enums.
16343 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16344 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16345
16346 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16347
16348 * files.el (move-file-to-trash): Preserve default file modes on error.
16349 (Bug#10401)
16350
16351 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16352
16353 * faces.el (set-face-attribute): Clarify the meaning of the nil
16354 frame (bug#10294).
16355
16356 * subr.el (with-selected-frame): Mention that the selected frame
16357 is restored (bug#9980).
16358
16359 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16360 (bug#9759).
16361
16362 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16363 (password-read): Don't autoload unused function.
16364
16365 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16366
16367 * progmodes/which-func.el (which-func-mode): Turn into a
16368 non-interactive function and mark as obsolete (bug#10428).
16369
16370 2012-01-06 Chong Yidong <cyd@gnu.org>
16371
16372 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16373 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16374 functions, along with 1 and -1.
16375
16376 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16377
16378 * time.el (display-time-load-average)
16379 (display-time-default-load-average): Doc fixes. See the thread
16380 starting at
16381 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16382 for the details.
16383
16384 2012-01-06 Glenn Morris <rgm@gnu.org>
16385
16386 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16387 has no messages. (Bug#10377)
16388
16389 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16390 than Info-edit. (Bug#10385)
16391
16392 * time.el (display-time-load-average, display-time-next-load-average):
16393 Doc fixes.
16394
16395 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16396 local setting of buffer-read-only to the input buffer. (Bug#10419)
16397
16398 * calendar/calendar.el (calendar-mode):
16399 Locally set scroll-margin to 0. (Bug#10379)
16400
16401 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16402
16403 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16404
16405 2012-01-05 Glenn Morris <rgm@gnu.org>
16406
16407 * eshell/em-unix.el (diff-no-select): Autoload it.
16408 (eshell/diff): Use diff-no-select. (Bug#10420)
16409
16410 2012-01-05 Chong Yidong <cyd@gnu.org>
16411
16412 * shell.el (shell-dynamic-complete-functions): Revert last change.
16413 (shell-command-completion-function): New function.
16414 (shell-completion-vars): Use it to implement
16415 shell-completion-execonly (Bug#10417).
16416
16417 * custom.el (enable-theme): Don't set custom-safe-themes.
16418
16419 * cus-theme.el (custom-theme-merge-theme):
16420 Ignore custom-enabled-themes and custom-safe-themes.
16421
16422 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16423
16424 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16425 first prompt in `sql-interacive-mode'.
16426 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16427 keywords.
16428 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16429 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16430 context of original buffer. Invoke `sql-login-hook'.
16431
16432 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16433
16434 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16435 letters in cite-prefix.
16436
16437 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
16439 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16440
16441 2012-01-03 Chong Yidong <cyd@gnu.org>
16442
16443 * shell.el (shell-dynamic-complete-functions):
16444 Put pcomplete-completions-at-point, so as to try
16445 comint-filename-completion first (Bug#10417).
16446
16447 2012-01-02 Richard Stallman <rms@gnu.org>
16448
16449 * battery.el (battery-status-function):
16450 Detect when to use battery-yeeloong-sysfs.
16451 (battery-echo-area-format): Add string for Yeeloong.
16452 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16453 (battery-yeeloong-sysfs): New function.
16454
16455 2012-01-02 Chong Yidong <cyd@gnu.org>
16456
16457 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16458 (dirtrack): Merge code for handling relative filenames in prompt
16459 from shell-dir-cookie-watcher.
16460 (dirtrack-debug-message): New arg to avoid excess format calls.
16461
16462 * shell.el (shell-dir-cookie-re): Variable deleted.
16463 (shell-dir-cookie-watcher): Function deleted.
16464 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16465 with dirtrack-mode.
16466
16467 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16468
16469 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16470 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16471 libgnutls-26.dll.
16472
16473 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16474
16475 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16476
16477 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16478
16479 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16480 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16481
16482 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16483
16484 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16485 also for alternative shells.
16486 (tramp-open-connection-setup-interactive-shell): Check, whether
16487 the shell is a busybox.
16488 (tramp-send-command): Don't suppress multiple prompts for
16489 busyboxes, it hurts.
16490
16491 2011-12-28 Chong Yidong <cyd@gnu.org>
16492
16493 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16494 (gdb-get-source-file): Move mode line update to
16495 gdb-get-source-file (Bug#10087).
16496
16497 2011-12-25 Chong Yidong <cyd@gnu.org>
16498
16499 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16500 gud-gdb-marker-filter without taking it as an argument.
16501 (gud-gdb-run-command-fetch-lines): Caller changed.
16502 (gud-gdb-completion-function): New variable.
16503 (gud-gdb-completion-at-point): Use it.
16504 (gud-gdb-completions-1): Split from gud-gdb-completions.
16505
16506 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16507 function as separate arguments.
16508 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16509 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16510 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16511 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16512 (gdb-stopped, def-gdb-auto-update-trigger)
16513 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16514 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16515 Callers changed.
16516 (gud-gdbmi-completions): New function.
16517 (gdb): Use it for generating the completion table.
16518
16519 2011-12-24 Alan Mackenzie <acm@muc.de>
16520
16521 Introduce a mechanism to widen the region used in context font
16522 locking. Use this to protect declarations from losing their contexts.
16523
16524 * progmodes/cc-langs.el (c-before-font-lock-functions):
16525 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16526 (c-before-context-fontification-functions): New defvar, a list of
16527 functions to be run just before context (etc.) font locking.
16528
16529 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16530 New, functionality extracted from
16531 c-neutralize-syntax-in-and-mark-CPP.
16532 (c-in-after-change-fontification): New variable.
16533 (c-after-change): Set c-in-after-change-fontification.
16534 (c-set-fl-decl-start): Rejig its interface, so it can be called
16535 from both after-change and context fontifying.
16536 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16537 New functions.
16538 (c-standard-font-lock-fontify-region-function): New variable.
16539 (c-font-lock-fontify-region): New function.
16540
16541 2011-12-24 Juri Linkov <juri@jurta.org>
16542
16543 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16544 (Bug#10348)
16545
16546 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16547
16548 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16549 existence of source file. (Bug#10325)
16550
16551 2011-12-23 Alan Mackenzie <acm@muc.de>
16552
16553 Fix unstable fontification inside templates.
16554
16555 * progmodes/cc-langs.el (c-before-font-lock-functions):
16556 Newly created from the singular version. The (c c++ objc) entry now
16557 additionally has c-set-fl-decl-start. The other languages (apart
16558 from AWK) have that as a single entry.
16559
16560 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16561 The functionality for "local" declarations has been extracted to
16562 c-set-fl-decl-start.
16563
16564 * progmodes/cc-mode.el (c-common-init, c-after-change):
16565 Changes due to pluralisation of c-before-font-lock-functions.
16566 (c-set-fl-decl-start): New function, extracted from
16567 c-font-lock-enclosing-decls and enhanced.
16568
16569 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16570
16571 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16572
16573 2011-12-22 Juri Linkov <juri@jurta.org>
16574
16575 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16576
16577 2011-12-22 Chong Yidong <cyd@gnu.org>
16578
16579 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16580
16581 2011-12-21 Drew Adams <drew.adams@oracle.com>
16582
16583 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16584
16585 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16586
16587 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16588
16589 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16590
16591 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16592 highlighting and support. Fix up comments for capitalization.
16593 (cfengine-mode-debug): New var.
16594 (cfengine3-mode): Change the modeline indicator to "CFE3".
16595 (cfengine3-font-lock-keywords): Improve defun highlighting.
16596 (cfengine2-actions): Rename from `cfengine-actions'.
16597 (cfengine2-font-lock-keywords): Rename from
16598 `cfengine-font-lock-keywords'.
16599 (cfengine2-imenu-expression): Rename from
16600 `cfengine-imenu-expression'.
16601 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16602 (cfengine2-beginning-of-defun): Rename from
16603 `cfengine-beginning-of-defun'.
16604 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16605 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16606 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16607 modeline indicator to "CFE2".
16608 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16609 (cfengine-mode-abbrevs): Mark obsolete.
16610
16611 2011-12-21 Chong Yidong <cyd@gnu.org>
16612
16613 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16614 filename argument.
16615
16616 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16617
16618 * window.el (window-normalize-buffer-to-display): Remove.
16619 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16620
16621 2011-12-19 Chong Yidong <cyd@gnu.org>
16622
16623 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16624 Don't signal an error in a predicate function; return non-nil.
16625 (vc-dir-mark-file): Move the error here.
16626 (vc-dir-mark-unmark): If acting on the region, keep going if one
16627 of the entries cannot be marked/unmarked.
16628 (vc-dir-mark-all-files): If current entry is a directory, mark
16629 only child files, as documented.
16630
16631 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16632
16633 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16634 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16635 addition.
16636
16637 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16638
16639 * term/ns-win.el (ns-get-selection-internal)
16640 (ns-store-selection-internal): Declare.
16641 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16642 Declare as obsolete.
16643 (ns-get-pasteboard, ns-paste-secondary):
16644 Use ns-get-selection-internal.
16645 (ns-set-pasteboard, ns-copy-including-secondary):
16646 Use ns-store-selection-internal.
16647
16648 2011-12-17 Chong Yidong <cyd@gnu.org>
16649
16650 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16651 (vc-deduce-fileset): Doc fix.
16652
16653 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16654
16655 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16656
16657 2011-12-13 Sam Steingold <sds@gnu.org>
16658
16659 * man.el (Man-getpage-in-background): When running under a
16660 window-system, ignore $MANWIDTH and $COLUMNS.
16661
16662 2011-12-15 Kenichi Handa <handa@m17n.org>
16663
16664 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16665 (setup-ethiopic-environment-internal): Comment out key-binding for
16666 ethio-toggle-punctuation.
16667
16668 2011-12-13 Alan Mackenzie <acm@muc.de>
16669
16670 Add the switch statement to AWK Mode.
16671
16672 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16673 "default" to the keywords regexp.
16674
16675 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16676 expression as the rest.
16677 (c-nonlabel-token-key): Allow string literals for AWK.
16678 Refactor for the other modes.
16679
16680 Large brace-block initialisation makes CC Mode slow: Fix.
16681 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16682 routines. Limit backward searching in c-font-lock-enclosing.decl.
16683
16684 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16685 pp-state and literal type in addition to the limits.
16686 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16687 (c-state-literal-at): Use the above new defun.
16688 (c-slow-in-literal, c-fast-in-literal): Remove.
16689 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16690
16691 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16692 being in a literal. Add a limit for backward searching.
16693
16694 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16695 c-slow-in-literal.
16696
16697 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16698
16699 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16700
16701 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16702
16703 * window.el (delete-other-windows): Use correct frame in call to
16704 window-with-parameter.
16705
16706 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16707
16708 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16709 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16710 (makefile-gmake-statements, makefile-makepp-statements):
16711 Use it and add new makepp keywords.
16712 (makefile-makepp-font-lock-keywords): Add new patterns.
16713 (makefile-match-function-end): Match new [...] and [[...]].
16714
16715 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16716
16717 * ses.el (ses-call-printer-return, ses-cell-property-get)
16718 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16719 (ses-create-cell-variable, ses-reset-header-string)
16720 (ses-cell-set-formula, ses-repair-cell-reference-all)
16721 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16722 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16723 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16724 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16725 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16726 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16727 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16728 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16729 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16730 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16731 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16732 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16733
16734 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16735
16736 * ses.el: The overall change is to add cell renaming, that is
16737 setting fancy names for cell symbols other than name matching
16738 "\\`[A-Z]+[0-9]+\\'" regexp .
16739 (ses-create-cell-variable): New defun.
16740 (ses-relocate-formula): Relocate formulas only for cells the
16741 symbols of which are not renamed, i.e. symbols whose names do not
16742 match regexp "\\`[A-Z]+[0-9]+\\'".
16743 (ses-relocate-all): Relocate values only for cells the symbols of
16744 which are not renamed.
16745 (ses-load): Create cells variables as the (ses-cell ...) are read,
16746 in order to check row col consistency with cell symbol name only
16747 for cells that are not renamed.
16748 (ses-replace-name-in-formula): New defun.
16749 (ses-rename-cell): New defun.
16750
16751 2011-12-11 Chong Yidong <cyd@gnu.org>
16752
16753 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16754 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16755
16756 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16757
16758 * window.el (other-window): Fix docstring.
16759
16760 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16761
16762 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16763 `from' or `to' address before taking its substring.
16764 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16765 encoded name is chopped in the middle of the encoded string, and
16766 thus displayed encoded.
16767
16768 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16769
16770 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16771
16772 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16773
16774 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16775 to use texinfo-update-node and commands that call it if the
16776 Texinfo file uses @node lines without next/prev/up pointers.
16777 Correct outdated description about texinfo-master-menu.
16778 (texinfo-all-menus-update, texinfo-master-menu)
16779 (texinfo-update-node, texinfo-every-node-update)
16780 (texinfo-multiple-files-update): Doc fix. Warn against updating
16781 all the @node lines.
16782 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16783 argument is numeric. Explain better in the doc string what the
16784 function really does.
16785 (texinfo-insert-master-menu-list): Improve the error message
16786 displayed if there's no menu in the Top node.
16787 (Bug#2975) See also this thread:
16788 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16789
16790 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16791
16792 * speedbar.el (speedbar-supported-extension-expressions):
16793 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16794
16795 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16796
16797 * printing.el (pr-mode-alist):
16798 * simple.el (filter-buffer-substring-functions)
16799 (completion-list-insert-choice-function):
16800 * window.el (window-with-parameter, window-atom-root)
16801 (window-sides-slots, window-size-fixed, window-min-delta)
16802 (window-max-delta, window--resize-mini-window)
16803 (window--resize-child-windows-normal, window-tree)
16804 (delete-other-windows, quit-window, split-window)
16805 (display-buffer-record-window, special-display-buffer-names)
16806 (special-display-regexps, special-display-popup-frame)
16807 (same-window-p, split-window-sensibly)
16808 (display-buffer-overriding-action, display-buffer-alist)
16809 (display-buffer-base-action, display-buffer, switch-to-buffer)
16810 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16811 (fit-window-to-buffer, recenter-positions)
16812 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16813 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16814 and remove unneeded backslashes in docstrings.
16815
16816 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16817
16818 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16819
16820 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16821 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16822 end in ".mk".
16823 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16824 when reading the makefile (bug#10116).
16825
16826 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16829 (bug#10116).
16830
16831 2011-12-06 Glenn Morris <rgm@gnu.org>
16832
16833 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16834
16835 2011-12-06 Chong Yidong <cyd@gnu.org>
16836
16837 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16838
16839 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16840
16841 * textmodes/table.el (table-shorten-cell): Fix typo.
16842
16843 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16844
16845 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16846
16847 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16848
16849 * descr-text.el (describe-char): Fix display of strong
16850 right-to-left characters and directional embeddings and overrides.
16851
16852 * simple.el (what-cursor-position): Fix display of codepoints of
16853 strong right-to-left characters.
16854
16855 2011-12-05 Chong Yidong <cyd@gnu.org>
16856
16857 * faces.el (read-color): Doc fix.
16858
16859 2011-12-05 Glenn Morris <rgm@gnu.org>
16860
16861 * align.el (align--set-marker): Add doc-string.
16862 Don't try to move something that is not a marker. (Bug#10216)
16863
16864 2011-12-04 Glenn Morris <rgm@gnu.org>
16865
16866 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16867 overly zealous deletion of trailing whitespace.
16868
16869 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16870
16871 * server.el (server-delete-client): On Windows, do not try to delete
16872 the only terminal.
16873 (server-process-filter): On Windows, treat requests for a tty frame as
16874 if they were for a GUI frame if the running server is in GUI mode.
16875
16876 2011-12-03 Glenn Morris <rgm@gnu.org>
16877
16878 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16879
16880 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16881
16882 * electric.el: Streamline electric-indent's hook.
16883 (electric-indent-chars): Revert to simple list.
16884 (electric-indent-functions): New var.
16885 (electric-indent-post-self-insert-function): Use it.
16886
16887 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16888 there's no inferior buffer (bug#10196).
16889 (prolog-consult-compile): Don't use toggle-read-only.
16890
16891 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16892
16893 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16894 interrupt. (Bug#10187)
16895
16896 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16897
16898 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16899 (bug#9160).
16900
16901 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16902 (bug#10191).
16903
16904 2011-12-02 Juri Linkov <juri@jurta.org>
16905
16906 * info.el (Info-search): Display "end of manual" when Isearch
16907 reaches the end of single-file Info manual. (Bug#9918)
16908
16909 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16910
16911 * isearch.el (isearch-message-prefix): Run the input method part
16912 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16913
16914 2011-12-02 Juri Linkov <juri@jurta.org>
16915
16916 * isearch.el (isearch-occur): Use `word-search-regexp' for
16917 `isearch-word'.
16918 (isearch-search-and-update): Add condition for `isearch-word' and
16919 call `word-search-regexp'. (Bug#10145)
16920
16921 2011-12-01 Glenn Morris <rgm@gnu.org>
16922
16923 * eshell/em-hist.el (eshell-hist-initialize):
16924 Handle eshell-history-size nil and HISTSIZE set or unset.
16925 (eshell-history-file-name, eshell-history-size): Fix custom type.
16926
16927 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16928
16929 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16930
16931 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16932
16933 * progmodes/verilog-mode.el (verilog-pretty-expr):
16934 Rework verilog-pretty-expr to handle new assignment operators in system
16935 verilog, such as += *= and the like.
16936 (verilog-assignment-operator-re): Regular expression to find the
16937 assigment operator in a verilog assignment.
16938 (verilog-assignment-operation-re): Regular expression to find an
16939 assignment statement for pretty-expr.
16940 (verilog-in-attribute-p): Query returns true if point is in an
16941 attribute context; used to skip these for expression line up from
16942 pretty-expr.
16943 (verilog-in-parameter-p): Query returns true if point is in an
16944 parameter definition context; used to skip these for expression
16945 line up from pretty-expr.
16946 (verilog-in-parenthesis-p): Query returns true if point is in a
16947 parenthetical expression, specifically ( ) but not [ ] or { };
16948 used by pretty-expr.
16949 (verilog-just-one-space): If there is no space, don't add one.
16950 (verilog-get-lineup-indent-2): Specifically skip just attribute
16951 contexts for expression lineup, rather than skipping all
16952 parenthetical expressions.
16953 (verilog-calculate-indent): Fix comment, and fix indent.
16954 (verilog-do-indent): Indent declarations in lists (suggested by
16955 Joachim Lechner).
16956 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16957 skeleton items.
16958 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16959 by Alain Mellan).
16960
16961 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16962
16963 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16964 parameters with embedded comments. Reported by Ray Stevens.
16965 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16966 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16967 Reported by Tim Holt.
16968 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16969 instantiated by upper module causing wrong expansion until AUTOed a
16970 second time. Reported by K C Buckenmaier.
16971 (verilog-diff-auto): Fix showing .* as a difference when
16972 `verilog-auto-star-save' off. Reported by Dan Dever.
16973 (verilog-auto-reset, verilog-read-always-signals)
16974 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16975 temporary signals in reset list if
16976 verilog-auto-reset-blocking-in-non is nil, and match assignment
16977 style to each signal's assignment type, bug381.
16978 Reported by Thomas Esposito.
16979 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16980 (verilog-uvm-statement-re): Support UVM indentation and
16981 highlighting, with old OVM keywords only.
16982 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16983 Support AUTOTIEOFF creating non-wire data types.
16984 Suggested by Jonathan Greenlaw.
16985 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16986 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16987 (verilog-inject-sense, verilog-read-inst-pins)
16988 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16989 Fix mismatching parenthesis inside commented out code when deleting
16990 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16991 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16992 non-numeric vector width. Reported by Alex Reed.
16993 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16994 detecting signals with parameter widths. Reported by Alex Reed.
16995 (verilog-auto-delete-trailing-whitespace):
16996 With `verilog-auto-delete-trailing-whitespace' remove trailing
16997 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16998 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16999 Fix verilog-scan-cache corruption when running user AUTO expansion
17000 hooks that call indentation routines.
17001 (verilog-simplify-range-expression): Fix typo ignoring lower case
17002 identifiers.
17003 (verilog-delete-auto): Fix delete-autos to also remove user created
17004 automatics, as long as they start with AUTO.
17005 (verilog-batch-diff-auto, verilog-diff-auto)
17006 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17007 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17008 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17009 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17010 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17011 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17012 is disabled and its cache will get corrupt, causing AUTOS not to
17013 expand. Instead use only -quick functions.
17014 (verilog-scan-region): Fix scanning over escaped quotes.
17015 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17016 (verilog-re-search-backward-quick)
17017 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17018 related functions now ignore strings, to fix misparsing of strings
17019 with magic comments embedded in them.
17020 (verilog-read-auto-template):
17021 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17022 Reported by Brad Dobbie.
17023 (verilog-read-auto-template):
17024 Fix 'verilog-auto-inst-template-numbers' with comments.
17025 Reported by Brad Dobbie.
17026 (verilog-auto-inst, verilog-auto-inst-param)
17027 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17028 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17029 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17030 debugging templates without merge conflicts, bug357.
17031 Reported by Brad Dobbie.
17032 (verilog-read-auto-template):
17033 Fix verilog-auto-inst-template-numbers with multiple templates.
17034 Reported by Brad Dobbie.
17035 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17036 abbrevs so user won't be asked to save.
17037 (verilog-read-auto-lisp-present): Fix to start at beginning of
17038 buffer in case called outside of verilog-auto.
17039 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17040 to "X-2". Reported by Matthew Myers.
17041 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17042 all inputs from module templates. Reported by Leith Johnson.
17043 (verilog-module-inside-filename-p): Fix locating programs as with
17044 modules.
17045 (verilog-auto-inst-port): Fix vl-width expressions when using
17046 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17047 (verilog-decls-get-regs, verilog-decls-get-signals,
17048 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17049 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17050 verilog-read-decls): Combine reg and wire structures into one var
17051 structure to represent SystemVerilog concepts.
17052 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17053 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17054 (verilog-auto-wire-type, verilog-insert-definition):
17055 Add verilog-auto-wire-type and AUTOLOGIC to support using
17056 SystemVerilog "logic" keyword instead of "wire"/"reg".
17057 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17058 to declares outputs that also have assignments (presumably in an
17059 ifdef or generate if so there's not a driver conflict).
17060 Reported by Matthew Myers.
17061 (verilog-auto-declare-nettype, verilog-insert-definition):
17062 Add verilog-auto-declare-nettype to fix declarations using
17063 `default_nettype none. Reported by Julian Gorfajn.
17064 (verilog-read-always-signals-recurse, verilog-read-decls)
17065 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17066 malformed end statement, bug325. Reported by Joshua Wise and
17067 Andrew Drake.
17068 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17069 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17070 when expanding .* in interfaces, bug320.
17071 Reported by Pierre-David Pfister.
17072 (verilog-read-module-name): Fix import statements between module
17073 name and open parenthesis, bug317.
17074 Reported by Pierre-David Pfister.
17075 (verilog-simplify-range-expression): Fix simplification of
17076 multiplications inside AUTOWIRE connections, bug303.
17077 (verilog-auto-inst-port): Support parameter expansion in
17078 multidimensional arrays.
17079 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17080 after "assert property". Reported by Julian Gorfajn.
17081 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17082 with multiplication, bug303.
17083 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17084 Reported by Jan Frode Lonnum.
17085
17086 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17087
17088 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17089 (hfy-shell-file-name, hfy-shell):
17090 * international/fontset.el (x-decompose-font-name): Fix typos.
17091
17092 2011-11-29 Ken Brown <kbrown@cornell.edu>
17093
17094 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17095 (gdb-version): Remove defvar.
17096 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17097 (gdb-gud-context-command, gdb-non-stop-handler)
17098 (gdb-current-context-command, gdb-stopped): Use it.
17099 (gdb-init-1): Enable pretty printing here.
17100 (gdb-non-stop-handler): Don't enable pretty-printing here.
17101 Check to see if the target supports non-stop mode; if not, turn off
17102 non-stop mode. Use the following.
17103 (gdb-check-target-async): New defun.
17104 (gud-watch, gdb-stopped): Fix whitespace.
17105 (gdb-get-source-file): Don't try to display the source file if
17106 `gdb-main-file' is nil.
17107
17108 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17109
17110 * align.el: Try to generate fewer markers (bug#10047).
17111 (align--set-marker): New macro.
17112 (align-region): Use it.
17113
17114 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17117
17118 2011-11-29 Chong Yidong <cyd@gnu.org>
17119
17120 * indent.el (indent-for-tab-command, indent-according-to-mode):
17121 Doc fix.
17122 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17123
17124 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17125
17126 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17127 aware of remote file names. (Bug#10124)
17128
17129 2011-11-29 Chong Yidong <cyd@gnu.org>
17130
17131 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17132
17133 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * files.el (find-file): Don't use force-same-window (bug#10144).
17136 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17137 use pop-to-buffer if the selected window can't be used.
17138 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17139
17140 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17141
17142 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17143 special-mode-map.
17144
17145 2011-11-28 Chong Yidong <cyd@gnu.org>
17146
17147 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17148
17149 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17150
17151 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17152 gdb-get-source-file-list on gdb-create-source-file-list.
17153
17154 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17155
17156 * whitespace.el (whitespace-newline): Use a different foreground
17157 color for 16-color light-background displays.
17158
17159 2011-11-24 Chong Yidong <cyd@gnu.org>
17160
17161 * window.el (display-buffer--special-action): Doc fix.
17162
17163 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17164
17165 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17166 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17167 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17168 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17169 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17170 (avl-tree-stack-first):
17171 * emacs-lisp/cconv.el (cconv--analyse-use):
17172 * net/gnutls.el (gnutls-negotiate): Fix typos.
17173
17174 2011-11-24 Glenn Morris <rgm@gnu.org>
17175
17176 * lpr.el (lpr-windows-system, lpr-lp-system):
17177 * mail/binhex.el (binhex-begin-line):
17178 * progmodes/grep.el (grep-history, grep-find-history):
17179 * textmodes/flyspell.el:
17180 * vc/pcvs-defs.el (cvs-global-menu):
17181 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17182 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17183 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17184
17185 * net/tls.el: Fix case of "GnuTLS".
17186
17187 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17188
17189 * version.el (emacs-build-system): Give it a doc-string.
17190
17191 2011-11-24 Juri Linkov <juri@jurta.org>
17192
17193 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17194
17195 2011-11-24 Glenn Morris <rgm@gnu.org>
17196
17197 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17198 if called on a non-mime message just toggle the headers. (Bug#8006)
17199
17200 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17201
17202 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17203 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17204 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17205 (allout-rebullet-heading, allout-open-sibtopic)
17206 (allout-toggle-current-subtree-encryption)
17207 (allout-toggle-subtree-encryption, allout-encrypt-string)
17208 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17209 (allout-distinctive-bullets-string, allout-auto-activation):
17210 * window.el (window-normalize-buffer-to-display):
17211 * progmodes/verilog-mode.el (verilog-batch-indent):
17212 * textmodes/bibtex.el (bibtex-field-braces-opt)
17213 (bibtex-field-strings-opt):
17214 * vc/cvs-status.el (cvs-tree-merge):
17215 Fix typos.
17216
17217 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17218
17219 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17220 `non-essential' to t, in order to avoid remote connections.
17221
17222 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17223
17224 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17225 On MS-DOS and MS-Windows, compare with loaddefs.el
17226 case-insensitively.
17227
17228 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17229
17230 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17231
17232 2011-11-23 Glenn Morris <rgm@gnu.org>
17233
17234 * paths.el (rmail-file-name): Reformat the doc-string so that it
17235 is picked up.
17236
17237 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17238 (rmail-auto-file): Ignore case in the "special" field names,
17239 as mail-fetch-field does for all others.
17240
17241 * mail/rmail.el (rmail-forward):
17242 * mail/rmailkwd.el (rmail-set-label):
17243 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17244 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17245
17246 * mail/rmail.el (rmail-current-message): Doc fix.
17247
17248 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17249
17250 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17253
17254 2011-11-22 Glenn Morris <rgm@gnu.org>
17255
17256 * mail/rmailmm.el (test-rmail-mime-handler)
17257 (test-rmail-mime-bulk-handler)
17258 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17259
17260 2011-11-21 Juri Linkov <juri@jurta.org>
17261
17262 * calc/calc.el (calc-read-key-sequence):
17263 Let-bind `input-method-function' to nil. (Bug#10018)
17264
17265 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17266
17267 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17268 Tell the caller that the next line needs recomputation, even
17269 though it doesn't start a sexp (bug#10094).
17270
17271 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17272
17273 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17274
17275 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17278 Use force-same-window.
17279
17280 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17281
17282 * descr-text.el (describe-char-unicode-data):
17283 * json.el (json-string-escape):
17284 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17285 (Footnote-unicode, Footnote-style-p):
17286 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17287
17288 2011-11-20 Chong Yidong <cyd@gnu.org>
17289
17290 * window.el (replace-buffer-in-windows): Restore interactive spec.
17291
17292 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17293
17294 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17295
17296 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17297 (byte-compile-global-not-obsolete-vars): New var.
17298 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17299 Use it.
17300 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17301
17302 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17303
17304 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17305 * progmodes/pascal.el (electric-pascal-equal):
17306 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17307 * xml.el (xml-substitute-special): Fix typos.
17308
17309 2011-11-20 Glenn Morris <rgm@gnu.org>
17310
17311 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17312 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17313 Doc fixes.
17314 (rmail-decode-mime-charset): Mark as obsolete.
17315
17316 * mail/rmailsum.el (rmail-message-regexp-p-1):
17317 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17318 Before using mime functions, check they are set. (Bug#10077)
17319
17320 2011-11-19 Juri Linkov <juri@jurta.org>
17321
17322 * info.el (Info-finder-find-node): Use `package--builtins' instead
17323 of `package-alist'. Use node names formed by the pattern "Keyword "
17324 and the keyword name.
17325
17326 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17327
17328 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17329
17330 2011-11-19 Juri Linkov <juri@jurta.org>
17331
17332 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17333 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17334 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17335 `old-history', `old-history-forward'. Add let-binding
17336 `window-selected'. Remove calls to `kill-buffer',
17337 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17338 before calling `Info-find-node', so `Info-find-node-2' will reread
17339 the Info file. Restore window positions only when `window-selected'
17340 is non-nil.
17341
17342 2011-11-19 Juri Linkov <juri@jurta.org>
17343
17344 * isearch.el (isearch-lazy-highlight-new-loop):
17345 Remove condition `(not isearch-error)'. (Bug#9918)
17346
17347 * misearch.el (multi-isearch-search-fun): Add condition
17348 `(not bound)' to ignore lazy-highlighting search.
17349 Add the search-failed message "end of multi" when the end of
17350 multi-sequence is reached. Uncapitalize the search-failed
17351 message "Repeat for next buffer".
17352
17353 * info.el (Info-search): Add the search-failed message
17354 "end of the manual" when the end of the manual is reached
17355 in Isearch mode.
17356
17357 2011-11-19 Juri Linkov <juri@jurta.org>
17358
17359 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17360 Use non-destructive `remove' instead of `delete' because
17361 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17362 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17363
17364 2011-11-19 Juri Linkov <juri@jurta.org>
17365
17366 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17367 to nil instead of binding `search-ring' and `regexp-search-ring'.
17368 (Bug#9185)
17369
17370 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17371
17372 * simple.el (line-move): Force movement by logical lines for any
17373 hscrolled window, not only when auto-hscroll-mode is on.
17374 (line-move-visual): Update doc string to that effect. (Bug#10076)
17375
17376 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17377
17378 * language/european.el (macintosh): Define as alias for mac-roman.
17379
17380 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17381
17382 * mail/rmailmm.el (rmail-mime-display-header)
17383 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17384 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17385 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17386 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17387 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17388 of a raw aref.
17389 (rmail-mime-entity-segment): To get past the tagline, move forward
17390 2 more lines, to account for the 2 empty lines that precede and
17391 follow the line with the buttons.
17392 (rmail-mime-update-tagline): Move one more line, to get past the
17393 empty line that follows the buttons in the tagline. (Bug#9520)
17394
17395 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17396
17397 * window.el (window-max-delta-1, window-min-delta-1)
17398 (window-min-size-1, window-state-get-1, window-state-put-1)
17399 (window-state-put-2): Use "window--" prefix.
17400
17401 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17402
17403 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17404 (smie-warning-count): New var.
17405 (smie-set-prec2tab): Use it.
17406 (smie-bnf->prec2): Improve warnings. Add docstring.
17407 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17408 (smie-bnf--set-class): New function.
17409 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17410 corner case.
17411
17412 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17413 (compilation-error-properties, compilation-move-to-column):
17414 Handle compilation-first-column while in the target buffer.
17415
17416 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17417 Don't hardcode point-min==1.
17418
17419 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17420 (eshell-rewrite-for-command): Remove workaround.
17421 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17422 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17423 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17424
17425 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17426
17427 2011-11-17 Glenn Morris <rgm@gnu.org>
17428
17429 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17430 Ignore buffer-local generated-autoload-file if it is the same
17431 as the global value. (Bug#10049)
17432
17433 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17434
17435 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17436 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17437 (reftex-toc-previous-heading, reftex-toc-max-level)
17438 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17439 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17440 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17441 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17442 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17443 (reftex-toc-rename-label, reftex-toc-visit-location)
17444 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17445 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17446 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17447 leaving "*toc*" only for references to the buffer.
17448
17449 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17450
17451 * window.el (window-resize, delete-window, split-window):
17452 Replace window-splits by window-combination-resize.
17453 * cus-start.el (window-splits): Replace by window-combination-resize.
17454
17455 2011-11-17 Glenn Morris <rgm@gnu.org>
17456
17457 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17458 Make bash entry derive from sh entry, not shell entry.
17459
17460 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17461
17462 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17463 local file name.
17464
17465 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17466
17467 * menu-bar.el (menu-bar-file-menu):
17468 * printing.el (pr-ps-utility):
17469 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17470 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17471 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17472 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17473 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17474 (icalendar--convert-cyclic-to-ical)
17475 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17476 (icalendar--convert-ical-to-diary)
17477 (icalendar--convert-recurring-to-diary)
17478 (icalendar--convert-non-recurring-all-day-to-diary)
17479 (icalendar-import-format-sample):
17480 * progmodes/idlw-shell.el (idlwave-shell-mode):
17481 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17482 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17483 (vhdl-ps-print-init): Fix typos.
17484
17485 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17486
17487 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17488 FSF and collapse date sequence, obscure author/maintainer email address
17489 better, remove extra version line, track relocation of author's webpage.
17490
17491 * progmodes/python.el (python-pdbtrack-input-prompt)
17492 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17493 regular python pdb prompts. Adjustments shamelessly taken exactly as
17494 suggested in EmacsWiki page (tiny change):
17495 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17496
17497 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17498
17499 * expand.el (expand-pos, expand-index, expand-point):
17500 Remove redundant info from docstring.
17501 (expand-add-abbrevs): Doc fix.
17502 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17503 (expand-sample-perl-mode-expand-list): Fix typos.
17504
17505 * net/dbus.el (dbus-event-member-name):
17506 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17507 * term/pc-win.el (msdos-create-frame-with-faces):
17508 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17509
17510 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17511
17512 * window.el (split-window, window-state-get-1)
17513 (window-state-put-1, window-state-put-2): Rename occurrences of
17514 window-nest to window-combination-limit.
17515 * cus-start.el (window-nest): Rename to window-combination-limit.
17516
17517 2011-11-16 Chong Yidong <cyd@gnu.org>
17518
17519 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17520 regexp (Bug#10033).
17521
17522 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17523
17524 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17525 `completing-read' will remove *Completions* and will preserve
17526 current-buffer for us.
17527 (tmm-add-prompt): Users of *Completions* will always (re)set its
17528 major mode.
17529 (tmm-old-comp-map): Remove.
17530
17531 2011-11-16 Glenn Morris <rgm@gnu.org>
17532
17533 * mail/rmailedit.el: Require rmailmm when compiling.
17534 (rmail-old-mime-state): New declaration.
17535 (rmail-edit-current-message): If editing a mime message,
17536 edit the "raw" message from the mbox buffer.
17537 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17538
17539 2011-11-15 Glenn Morris <rgm@gnu.org>
17540
17541 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17542 which wasn't being used. Add optional arg to force given state.
17543 (rmail-mime): Add optional arg to force given state.
17544
17545 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17546
17547 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17548 * frame.el (display-mm-dimensions-alist):
17549 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17550 (outline-move-subtree-down):
17551 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17552 (newsticker--treeview-do-get-node):
17553 * net/quickurl.el (quickurl-list-buffer-name):
17554 * progmodes/dcl-mode.el (dcl-mode):
17555 * progmodes/gdb-mi.el (gdb-mapcar*):
17556 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17557
17558 2011-11-15 Glenn Morris <rgm@gnu.org>
17559
17560 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17561 in a boolean sense, so just make it a boolean, and fix the doc.
17562 (rmail-show-mime-function, rmail-mime-feature)
17563 (rmail-require-mime-maybe): Doc fixes.
17564 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17565
17566 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17567
17568 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17569
17570 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17571 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17572 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17573 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17574
17575 2011-11-15 Glenn Morris <rgm@gnu.org>
17576
17577 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17578 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17579 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17580 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17581 (rmail-mime, rmail-show-mime): Doc fixes.
17582
17583 * term/ns-win.el (mode-line-frame-identification):
17584 Leave it alone. (Bug#10051)
17585
17586 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17587
17588 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17589 Handle empty buffers. (Bug#9978)
17590
17591 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17592
17593 * international/mule.el (define-charset):
17594 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17595 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17596 * progmodes/verilog-mode.el (verilog-backward-token):
17597 * textmodes/ispell.el (lookup-words):
17598 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17599
17600 2011-11-14 Glenn Morris <rgm@gnu.org>
17601
17602 * progmodes/executable.el
17603 (executable-make-buffer-file-executable-if-script-p):
17604 Handle file-modes returning nil.
17605
17606 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17607 message - not necessary, and causes problems. (Bug#9831)
17608
17609 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17610
17611 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17612
17613 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17614 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17615 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17616
17617 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17618
17619 * window.el (window-resize, delete-window): Use window-splits
17620 variable instead of function.
17621 (window-state-get-1, window-state-put-2, window-state-put):
17622 Don't deal with windows' splits status.
17623
17624 2011-11-12 Glenn Morris <rgm@gnu.org>
17625
17626 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17627 (apropos-documentation): Doc fixes.
17628
17629 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17630
17631 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17632 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17633
17634 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * electric.el (electric-indent-post-self-insert-function): Make it
17637 possible for a char to only indent in some circumstances.
17638 (electric-indent-mode): Simplify.
17639
17640 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17641
17642 * window.el (windows-with-parameter): Remove unused function.
17643 (windows-at-side): Rename to window-at-side-list.
17644 (window-check, window-atom-check, window-atom-check-1)
17645 (window-side-check, window-size-ignore, window-size-fixed-1)
17646 (window-in-direction-2): Prefix with "window--".
17647 (window-tree-1): Rename to window--subtree, fix doc-string.
17648
17649 2011-11-11 Glenn Morris <rgm@gnu.org>
17650
17651 * subr.el (eval-after-load): If FILE is already loaded,
17652 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17653
17654 2011-11-10 Glenn Morris <rgm@gnu.org>
17655
17656 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17657 Call svn via vc-svn-command rather than vc-do-command.
17658 (vc-svn-command): Add --non-interactive. (Bug#9993)
17659 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17660
17661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17662 Add toggle-read-only. (Bug#7292)
17663 * files.el (toggle-read-only): Mention that it should only
17664 be used interactively. (Bug#10006)
17665
17666 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17667
17668 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17669 Adjust regexp for OCaml warnings.
17670
17671 * electric.el (electric-pair-post-self-insert-function): Let user
17672 turn it off buffer-locally (bug#9932).
17673
17674 * progmodes/python.el (python-beginning-of-statement):
17675 Rewrite (bug#2703).
17676
17677 * progmodes/compile.el: Better handle TABs (bug#9749).
17678 (compilation-internal-error-properties)
17679 (compilation-next-error-function): Obey the target buffer's
17680 compilation-error-screen-columns.
17681
17682 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17683
17684 * progmodes/meta-mode.el: Remove obsolete comments.
17685 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17686 Fix typos in docstrings.
17687
17688 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17689
17690 * window.el (window-size-fixed-p): Rewrite doc-string.
17691 (window-resizable-p): Rename to window--resizable-p. Update callers.
17692 (window--resizable): New function. Make all callers of
17693 window-resizable call window--resizable instead.
17694 (window-resizable): Rewrite in terms of window--resizable.
17695
17696 2011-11-08 Glenn Morris <rgm@gnu.org>
17697
17698 * progmodes/delphi.el (delphi-mode-syntax-table):
17699 Let define-derived-mode define a proper syntax table. (Bug#9994)
17700
17701 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17702
17703 * window.el: Stay away from defsubst.
17704 (window-list-no-nils): Remove.
17705 (window-state-get-1, window-state-get): Use backquote instead.
17706
17707 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17708
17709 * emacs-lisp/find-func.el (find-function-read):
17710 Fix incorrect use of default argument in `completing-read'.
17711
17712 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17713
17714 * window.el (display-buffer-function, special-display-function):
17715 Mention display-buffer-record-window but do not mention
17716 help-setup parameter in doc-strings.
17717 (window-min-delta): Fix doc-string typo.
17718
17719 2011-11-08 Chong Yidong <cyd@gnu.org>
17720
17721 * window.el (window-total-height, window-total-width): Doc fix.
17722 (window-body-size): Move from C.
17723 (window-body-height, window-body-width): Move to C.
17724
17725 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17726
17727 * window.el: Make special-display like display-buffer-alist (bug#9532).
17728 (display-buffer--special-action): New function, morphed
17729 from display-buffer--special.
17730 (display-buffer): Use it to handle special-display-buffers at higher
17731 priority (just after display-buffer-alist).
17732 (display-buffer-fallback-action, display-buffer--other-frame-action)
17733 (pop-to-buffer-same-window): Remove display-buffer--special.
17734
17735 2011-11-07 Glenn Morris <rgm@gnu.org>
17736
17737 * calendar/cal-menu.el (cal-menu-set-date-title):
17738 Do nothing if not in a calendar. (Bug#9976)
17739
17740 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17741
17742 * files.el (find-file): Always use selected-window.
17743
17744 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17745
17746 * window.el (window-combinations): Make WINDOW argument
17747 mandatory. Rewrite doc-string.
17748 (walk-window-subtree, window-atom-check, window-min-delta)
17749 (window-max-delta, window--resize-this-window)
17750 (window--resize-root-window-vertically, window-tree)
17751 (balance-windows, window-state-put): Rewrite doc-strings as to
17752 not mention the term "subwindow".
17753 (window--resize-subwindows-skip-p): Rename to
17754 window--resize-child-windows-skip-p.
17755 (window--resize-subwindows-normal): Rename to
17756 window--resize-child-windows-normal.
17757 (window--resize-subwindows): Rename to
17758 window--resize-child-windows.
17759 (window-or-subwindow-p): Rename to window--in-subtree-p.
17760
17761 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17762
17763 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17764 Ensure that mbox format messages end in two newlines (Bug#9974).
17765
17766 2011-11-06 Chong Yidong <cyd@gnu.org>
17767
17768 * window.el (window-combination-p): Function deleted; its
17769 side-effect is not used in any existing code.
17770 (window-combinations, window-combined-p): Call window-*-child
17771 directly.
17772
17773 2011-11-05 Chong Yidong <cyd@gnu.org>
17774
17775 * window.el (window-valid-p): Rename from window-any-p.
17776 (window-size-ignore, window-state-get): Callers changed.
17777 (window-normalize-window): Rename from window-normalize-any-window.
17778 New arg LIVE-ONLY, replacing window-normalize-live-window.
17779 (window-normalize-live-window): Delete.
17780 (window-combination-p, window-combined-p, window-combinations)
17781 (walk-window-subtree, window-atom-root, window-min-size)
17782 (window-sizable, window-sizable-p, window-size-fixed-p)
17783 (window-min-delta, window-max-delta, window-resizable)
17784 (window-resizable-p, window-full-height-p, window-full-width-p)
17785 (window-current-scroll-bars, window-point-1, set-window-point-1)
17786 (window-at-side-p, window-in-direction, window-resize)
17787 (adjust-window-trailing-edge, maximize-window, minimize-window)
17788 (window-deletable-p, delete-window, delete-other-windows)
17789 (record-window-buffer, unrecord-window-buffer)
17790 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17791 (quit-window, split-window, window-state-put)
17792 (set-window-text-height, fit-window-to-buffer)
17793 (shrink-window-if-larger-than-buffer): Callers changed.
17794
17795 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17796
17797 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17798 rfc2047-decode-string.
17799 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17800 warnings.
17801
17802 * window.el (window-body-height, window-body-width): Mention in
17803 the doc string that the return values are in frame's canonical
17804 units. (Bug#9949)
17805
17806 2011-11-03 Alan Mackenzie <acm@muc.de>
17807
17808 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17809 change in cc-engine.el.
17810
17811 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17812
17813 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17814
17815 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17816
17817 * window.el (quit-window): Call unrecord-window-buffer after
17818 showing another buffer in the window. (Bug#9937)
17819 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17820
17821 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17822
17823 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17824 Accept status with more than 9 shelves. (Bug#9935)
17825 Reported by Colin D Bennett <colin@gibibit.com>.
17826
17827 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17828
17829 * help.el (with-help-window): Don't reference
17830 temp-buffer-show-specifiers in doc-string.
17831
17832 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17833
17834 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17835 menu-item.
17836
17837 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17838
17839 * whitespace.el: New version 13.2.2.
17840 (whitespace-newline-mode): Disable properly. Reported by Sarah
17841 <EmacsWiki>.
17842
17843 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17844
17845 * net/newst-treeview.el: Remove "Time-stamp".
17846 (newsticker--group-manage-orphan-feeds): Do not call
17847 newsticker--treeview-tree-update.
17848 (newsticker-treeview-update, newsticker-treeview):
17849 Call newsticker--treeview-tree-update if necessary.
17850
17851 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17852
17853 * window.el (window-iso-combination-p, window-iso-combined-p)
17854 (window-iso-combinations): Remove "iso-" infix.
17855 Suggested by Chong Yidong.
17856 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17857 (window-max-delta-1, window-resize, window--resize-siblings)
17858 (window--resize-this-window, adjust-window-trailing-edge)
17859 (split-window, balance-windows-1)
17860 (shrink-window-if-larger-than-buffer):
17861 * calendar/calendar.el (calendar-generate-window):
17862 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17863
17864 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17865
17866 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17867 in place (bug#9907).
17868 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17869 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17870 (eshell-structure-basic-command, eshell-rewrite-while-command)
17871 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17872 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17873 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17874 (eshell-do-pipelines-synchronously, eshell-eval-command):
17875 Use backquotes and prefer setq to set.
17876 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17877 (eshell-macrop): Use functionp.
17878 (eshell-do-eval): Handle multiple expressions in `while' body.
17879
17880 2011-10-30 Chong Yidong <cyd@gnu.org>
17881
17882 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17883 instead of set-mark (Bug#9810).
17884
17885 2011-10-30 Chong Yidong <cyd@gnu.org>
17886
17887 * window.el (split-window-below, split-window-right): Rename from
17888 split-window-above-each-other and split-window-side-by-side
17889 respectively. All callers changed.
17890 (split-window-sensibly, split-window-sensibly): Use them.
17891 (split-window-keep-point): Doc fix.
17892
17893 * isearch.el: Add isearch-scroll property to split-window-below
17894 and split-window-right.
17895
17896 * follow.el (follow-mode):
17897 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17898 * progmodes/ada-xref.el (ada-gdb-application):
17899 * emulation/vip.el (vip-buffer-in-two-windows):
17900 * image-dired.el (image-dired-dired-with-window-configuration):
17901 * dired-x.el (dired-do-find-marked-files):
17902 * dired.el (dired-pop-to-buffer):
17903 * bs.el (bs--show-with-configuration):
17904 * vc/emerge.el (emerge-setup-windows):
17905 * textmodes/two-column.el (2C-two-columns):
17906 * textmodes/reftex-toc.el (reftex-toc):
17907 * progmodes/gdb-mi.el (gdb-setup-windows):
17908 * progmodes/fortran.el (fortran-window-create):
17909 * net/newst-treeview.el (newsticker--treeview-window-init):
17910 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17911 * emulation/tpu-edt.el (tpu-gold-map):
17912 * emulation/crisp.el (crisp-mode-map):
17913 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17914
17915 2011-10-29 Chong Yidong <cyd@gnu.org>
17916
17917 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17918
17919 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17920
17921 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17922 forged Ispell output (Bug#7904).
17923
17924 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17925
17926 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17927
17928 * doc-view.el: Avoid ugly errors about not finding nil.
17929 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17930 (doc-view-dvipdf-program, doc-view-unoconv-program)
17931 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17932 Avoid nil or absolute file name as default value.
17933 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17934
17935 2011-10-28 Alan Mackenzie <acm@muc.de>
17936
17937 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17938
17939 2011-10-28 Alan Mackenzie <acm@muc.de>
17940
17941 Amend the handling of c-beginning/end-of-defun in nested declaration
17942 scopes.
17943
17944 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17945 cc-langs.el. Change it to a defcustom.
17946
17947 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17948 cc-vars.el.
17949
17950 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17951 Prevent "class foo : bar" being spuriously recognized as a label.
17952
17953 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17954 Add parameter `inclusive' (to include enclosing braces in the region).
17955 (c-widen-to-enclosing-decl-scope): New function.
17956 (c-while-widening-to-decl-block): New macro.
17957 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17958 outward for defun boundaries, and correspondingly change symbol
17959 `respect-enclosure' to `go-outward'.
17960 (c-declaration-limits): Change algorithm to report only the "innermost"
17961 defun's boundaries.
17962
17963 2011-10-28 Deniz Dogan <deniz@dogan.se>
17964
17965 * net/rcirc.el (rcirc-mode): Use hard newlines.
17966
17967 2011-10-28 Alan Mackenzie <acm@muc.de>
17968
17969 Amend to indent and fontify macros "which include their own semicolon"
17970 correctly, using the "virtual semicolon" mechanism.
17971
17972 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17973
17974 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17975 Recode to scan one line at a time rather than having \n and \r
17976 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17977 (c-forward-label): Amend for virtual semicolons.
17978 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17979
17980 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17981 of the new C macros.
17982
17983 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17984 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17985 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17986 (c-opt-cpp-macro-define): Make into a full language variable.
17987 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17988 AWK Mode (including \n, \r) removed, no longer needed.
17989
17990 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17991 Invoke c-make-macro-with-semi-re.
17992
17993 * progmodes/cc-vars.el (c-macro-with-semi-re):
17994 (c-macro-names-with-semicolon): New variables.
17995 (c-make-macro-with-semi-re): New function.
17996
17997 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 * vc/log-edit.el: Fill empty field rather than adding new one.
18000 (log-edit-add-field): New function.
18001 (log-edit-insert-changelog): Use it.
18002
18003 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18004
18005 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18006
18007 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18010 (gdb--check-interpreter): New function.
18011 (gdb): Use it.
18012
18013 2011-10-27 Glenn Morris <rgm@gnu.org>
18014
18015 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18016 (least-positive-float, least-negative-float)
18017 (least-positive-normalized-float, least-negative-normalized-float)
18018 (float-epsilon, float-negative-epsilon):
18019 Remove unnecessary declarations.
18020
18021 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18022 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18023 (least-positive-float, least-negative-float)
18024 (least-positive-normalized-float, least-negative-normalized-float)
18025 (float-epsilon, float-negative-epsilon): Add doc-strings,
18026 based on those in cl.texi.
18027
18028 * files.el (set-visited-file-name): If the major-mode changed,
18029 reload the local variables. (Bug#9796)
18030
18031 2011-10-27 Chong Yidong <cyd@gnu.org>
18032
18033 * subr.el (change-major-mode-after-body-hook): New hook.
18034 (run-mode-hooks): Run it.
18035
18036 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18037 Use change-major-mode-before-body-hook.
18038
18039 * simple.el (fundamental-mode):
18040 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18041 change introducing fundamental-mode-hook.
18042
18043 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18044
18045 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18046
18047 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18048
18049 * ido.el (ido-file-name-all-completions-1): Do not require
18050 tramp.el explicitly. (Bug#7583)
18051
18052 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18053
18054 * progmodes/octave-mod.el:
18055 * progmodes/octave-inf.el: Update maintainer.
18056
18057 2011-10-26 Chong Yidong <cyd@gnu.org>
18058
18059 * subr.el (with-wrapper-hook): Rewrite doc.
18060
18061 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18062
18063 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18064 filenames "/method:foo:". (Bug#9793)
18065
18066 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18067
18068 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18069 (bug#9865).
18070
18071 2011-10-24 Glenn Morris <rgm@gnu.org>
18072
18073 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18074
18075 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18076
18077 * notifications.el: Add the requirement of a running D-Bus session
18078 bus to the Commentary.
18079
18080 2011-10-24 Juri Linkov <juri@jurta.org>
18081
18082 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18083 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18084 (Bug#9364)
18085
18086 2011-10-24 Juri Linkov <juri@jurta.org>
18087
18088 * info.el (Info-following-node-name-re): Add newline to the list
18089 of allowed characters for leading space. (Bug#9824)
18090
18091 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18092
18093 * progmodes/octave-inf.el (inferior-octave-mode-map):
18094 Fix C-c C-h binding.
18095 * progmodes/octave-mod.el (octave-help): Remove.
18096
18097 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18098
18099 Sync with Tramp 2.2.3.
18100
18101 * net/tramp-cache.el (top): Pacify byte-compiler using
18102 `init-file-user' and `site-run-file'.
18103
18104 * net/trampver.el: Update release number.
18105
18106 2011-10-23 Chong Yidong <cyd@gnu.org>
18107
18108 * files.el (toggle-read-only): Remove obsolete comment about
18109 version control.
18110
18111 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18112 for toggle-read-only. Note that this hasn't called vc-next-action
18113 since 2008-05-02, though it wasn't documented at the time.
18114
18115 * vc/ediff-init.el (ediff-toggle-read-only-function):
18116 Use toggle-read-only.
18117
18118 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18119
18120 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18121 of c-parse-state.
18122
18123 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18124 correct faulty logical expression.
18125 (c-parse-state-state, c-record-parse-state-state):
18126 (c-replay-parse-state-state): New defvar/defuns.
18127 (c-debug-parse-state): Use new functions.
18128
18129 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18130
18131 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18132 last fix. Use window-in-direction correctly.
18133
18134 2011-10-21 Chong Yidong <cyd@gnu.org>
18135
18136 * progmodes/idlwave.el (idlwave-mode):
18137 * progmodes/vera-mode.el (vera-mode): No need to set
18138 require-final-newline; that's done in prog-mode.
18139 Suggested by Stefan Monnier.
18140
18141 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18142
18143 * mouse.el (mouse-drag-window-above)
18144 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18145 (mouse-drag-mode-line-1, mouse-drag-header-line)
18146 (mouse-drag-vertical-line-rightward-window): Remove.
18147 (mouse-drag-line): New function.
18148 (mouse-drag-mode-line, mouse-drag-header-line)
18149 (mouse-drag-vertical-line): Call mouse-drag-line.
18150 * window.el (window-at-side-p, windows-at-side): New functions.
18151
18152 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18153
18154 * tar-mode.el (tar-grind-file-mode):
18155 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18156
18157 2011-10-21 Chong Yidong <cyd@gnu.org>
18158
18159 * progmodes/idlwave.el (idlwave-mode):
18160 * progmodes/vera-mode.el (vera-mode):
18161 Use mode-require-final-newline.
18162
18163 2011-10-20 Glenn Morris <rgm@gnu.org>
18164
18165 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18166
18167 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18168
18169 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18170
18171 2011-10-20 Chong Yidong <cyd@gnu.org>
18172
18173 * emulation/cua-base.el (cua-mode):
18174 * mail/footnote.el (footnote-mode):
18175 * mail/mailabbrev.el (mail-abbrevs-mode):
18176 * net/xesam.el (xesam-minor-mode):
18177 * progmodes/bug-reference.el (bug-reference-mode):
18178 * progmodes/cap-words.el (capitalized-words-mode):
18179 * progmodes/compile.el (compilation-minor-mode)
18180 (compilation-shell-minor-mode):
18181 * progmodes/gud.el (gud-tooltip-mode):
18182 * progmodes/hideif.el (hide-ifdef-mode):
18183 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18184 * progmodes/subword.el (subword-mode):
18185 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18186 * progmodes/which-func.el (which-function-mode):
18187 * term/tvi970.el (tvi970-set-keypad-mode):
18188 * term/vt100.el (vt100-wide-mode):
18189 * textmodes/flyspell.el (flyspell-mode):
18190 * textmodes/ispell.el (ispell-minor-mode):
18191 * textmodes/nroff-mode.el (nroff-electric-mode):
18192 * textmodes/paragraphs.el (use-hard-newlines):
18193 * textmodes/refill.el (refill-mode):
18194 * textmodes/reftex.el (reftex-mode):
18195 * textmodes/rst.el (rst-minor-mode):
18196 * textmodes/sgml-mode.el (html-autoview-mode)
18197 (sgml-electric-tag-pair-mode):
18198 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18199 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18200 * emulation/crisp.el (crisp-mode):
18201 * emacs-lisp/eldoc.el (eldoc-mode):
18202 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18203 minor mode behavior.
18204
18205 2011-10-19 Juri Linkov <juri@jurta.org>
18206
18207 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18208 the list of hard-coded chars with escape-glyph face.
18209
18210 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18211
18212 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18213
18214 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18215
18216 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18217 running process.
18218
18219 2011-10-19 Glenn Morris <rgm@gnu.org>
18220
18221 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18222 Ignore ignored files. (Bug#9726)
18223
18224 2011-10-19 Chong Yidong <cyd@gnu.org>
18225
18226 Doc fix for minor modes, stating that an omitted argument enables
18227 the mode unconditionally when called from Lisp.
18228
18229 * abbrev.el (abbrev-mode):
18230 * allout.el (allout-mode):
18231 * autoinsert.el (auto-insert-mode):
18232 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18233 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18234 (global-auto-revert-mode):
18235 * battery.el (display-battery-mode):
18236 * composite.el (global-auto-composition-mode)
18237 (auto-composition-mode):
18238 * delsel.el (delete-selection-mode):
18239 * desktop.el (desktop-save-mode):
18240 * dired-x.el (dired-omit-mode):
18241 * dirtrack.el (dirtrack-mode):
18242 * doc-view.el (doc-view-minor-mode):
18243 * double.el (double-mode):
18244 * electric.el (electric-indent-mode, electric-pair-mode):
18245 * emacs-lock.el (emacs-lock-mode):
18246 * epa-hook.el (auto-encryption-mode):
18247 * follow.el (follow-mode):
18248 * font-core.el (font-lock-mode):
18249 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18250 * help.el (temp-buffer-resize-mode):
18251 * hilit-chg.el (highlight-changes-mode)
18252 (highlight-changes-visible-mode):
18253 * hi-lock.el (hi-lock-mode):
18254 * hl-line.el (hl-line-mode, global-hl-line-mode):
18255 * icomplete.el (icomplete-mode):
18256 * ido.el (ido-everywhere):
18257 * image-file.el (auto-image-file-mode):
18258 * image-mode.el (image-minor-mode):
18259 * iswitchb.el (iswitchb-mode):
18260 * jka-cmpr-hook.el (auto-compression-mode):
18261 * linum.el (linum-mode):
18262 * longlines.el (longlines-mode):
18263 * master.el (master-mode):
18264 * mb-depth.el (minibuffer-depth-indicate-mode):
18265 * menu-bar.el (menu-bar-mode):
18266 * minibuf-eldef.el (minibuffer-electric-default-mode):
18267 * mouse-sel.el (mouse-sel-mode):
18268 * msb.el (msb-mode):
18269 * mwheel.el (mouse-wheel-mode):
18270 * outline.el (outline-minor-mode):
18271 * paren.el (show-paren-mode):
18272 * recentf.el (recentf-mode):
18273 * reveal.el (reveal-mode, global-reveal-mode):
18274 * rfn-eshadow.el (file-name-shadow-mode):
18275 * ruler-mode.el (ruler-mode):
18276 * savehist.el (savehist-mode):
18277 * scroll-all.el (scroll-all-mode):
18278 * scroll-bar.el (scroll-bar-mode):
18279 * server.el (server-mode):
18280 * shell.el (shell-dirtrack-mode):
18281 * simple.el (auto-fill-mode, transient-mark-mode)
18282 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18283 (line-number-mode, column-number-mode, size-indication-mode)
18284 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18285 * strokes.el (strokes-mode):
18286 * time.el (display-time-mode):
18287 * t-mouse.el (gpm-mouse-mode):
18288 * tool-bar.el (tool-bar-mode):
18289 * tooltip.el (tooltip-mode):
18290 * type-break.el (type-break-mode-line-message-mode)
18291 (type-break-query-mode):
18292 * view.el (view-mode):
18293 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18294 (global-whitespace-mode, global-whitespace-newline-mode):
18295 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18296
18297 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18298 Fix autogenerated docstring.
18299
18300 2011-10-19 Juri Linkov <juri@jurta.org>
18301
18302 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18303 by checking environment variables "DESKTOP_SESSION" and
18304 "XDG_CURRENT_DESKTOP". (Bug#9779)
18305
18306 2011-10-19 Juri Linkov <juri@jurta.org>
18307
18308 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18309 (browse-url-chromium-program, browse-url-chromium-arguments):
18310 New defcustoms.
18311 (browse-url-default-browser): Check for `browse-url-chromium' and
18312 call `browse-url-chromium-program'.
18313 (browse-url-chromium): New command. (Bug#9779)
18314
18315 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18316
18317 * facemenu.el (list-colors-duplicates): On Windows, detect more
18318 duplicates by assuming that only colors matching "^System" are
18319 special "system colors". (Bug#9722)
18320
18321 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18322
18323 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18324 to distinguish the author from the committer.
18325
18326 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18327
18328 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18329
18330 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18331
18332 * international/mule.el (sgml-html-meta-auto-coding-function):
18333 Add support for detecting encoding in HTML5 specified only as
18334 <meta charset="UTF-8">. Implementation just makes http-equiv and
18335 content-type parts from HTML4 encoding string optional. (Bug#9716)
18336
18337 2011-10-18 Glenn Morris <rgm@gnu.org>
18338
18339 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18340
18341 2011-10-18 Chong Yidong <cyd@gnu.org>
18342
18343 * faces.el (cursor): Doc fix.
18344
18345 2011-10-17 Chong Yidong <cyd@gnu.org>
18346
18347 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18348
18349 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18350
18351 * dirtrack.el (dirtrack): Support shell buffers with path
18352 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18353
18354 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18355
18356 * json.el: Bump version to 1.3 and note change in History.
18357 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18358
18359 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18360
18361 * comint.el (comint-insert-input, comint-send-input)
18362 (comint-get-old-input-default, comint-backward-matching-input)
18363 (comint-next-prompt): Use nil instead of `input' for field property of
18364 past user input (bug#114).
18365
18366 * minibuffer.el (completion--replace): Inherit surrounding properties
18367 (bug#114).
18368 (minibuffer-complete-and-exit): Use it.
18369
18370 * comint.el (comint--table-subvert): Quote the all-completions output
18371 (bug#9160).
18372
18373 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18374
18375 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18376
18377 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18378 window on right of selected. (Bug#9350) Reword other window
18379 entries and separate them from frame entries.
18380
18381 2011-10-15 Glenn Morris <rgm@gnu.org>
18382
18383 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18384 Doc fixes.
18385
18386 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18387
18388 * net/network-stream.el (network-stream-open-starttls):
18389 Improve detection of failure due to lack of TLS support.
18390
18391 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18392 putting the input text in front and in bold.
18393
18394 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18395
18396 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18397
18398 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18399 empty buffer.
18400
18401 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18402 unread-command-events rather than pushing yet-another event.
18403
18404 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18405
18406 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18407 the explanation of the possible choices. Make the options passed
18408 to completing-read shorter.
18409
18410 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18411
18412 * textmodes/flyspell.el (flyspell-large-region): Make sure
18413 extended character mode is used if defined (Bug#1339).
18414
18415 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18416
18417 * simple.el (what-cursor-position): Fix the display of the
18418 character info for LRE, LRO, RLE, and RLO characters by appending
18419 an invisible PDF.
18420
18421 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18422
18423 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18424 even in case of error; add debug spec; simplify data flow.
18425 (with-timeout-handler): Remove.
18426
18427 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18428
18429 Fix Bug#6019, Bug#9315.
18430
18431 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18432 complete `buffer-file-name', the local file name part could look
18433 remotely (for example on VMS).
18434
18435 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18436 `tramp-run-real-handler'.
18437 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18438 already quoted by '"'.
18439
18440 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18441 Let `file-name-handler-alist' be nil, the local file name part
18442 could look remotely (for example on VMS).
18443
18444 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18445
18446 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18447 from here...
18448 (flyspell-post-command-hook): ...to here.
18449
18450 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18451
18452 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18453 if not needed.
18454 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18455 using completion. Protect against "slow" callers.
18456 Remove the "message hack".
18457
18458 2011-10-11 Juri Linkov <juri@jurta.org>
18459
18460 * isearch.el (isearch-lazy-highlight-word): New variable.
18461 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18462 Use it. (Bug#9727)
18463
18464 2011-10-11 Glenn Morris <rgm@gnu.org>
18465
18466 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18467 like f90-previous-statement does.
18468
18469 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18470
18471 * eshell/eshell.el (eshell-command): History should be saved
18472 only in interactive use, to avoid error.
18473
18474 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18475
18476 * minibuffer.el (completion-file-name-table): Fix last change,
18477 i.e. ignore normal errors but not the other ones.
18478
18479 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18480
18481 * window.el (special-display-buffer-names)
18482 (special-display-regexps): Remove some remnants of earlier
18483 changes from doc-strings.
18484 (quit-windows-on): New function.
18485
18486 * vc/vc.el (vc-revert, vc-rollback):
18487 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18488 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18489 (Bug#6183) (Bug#7074) (Bug#7447)
18490
18491 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18492
18493 * window.el (frame-auto-hide-function): Add version tag.
18494 (Bug#9699)
18495
18496 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18497
18498 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18499 condition.
18500
18501 2011-10-09 Leo Liu <sdl.web@gmail.com>
18502
18503 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18504 (Bug#9701)
18505
18506 2011-10-08 Glenn Morris <rgm@gnu.org>
18507
18508 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18509 before the first code statement zero indent. (Bug#9690)
18510
18511 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * simple.el (count-words-region): Always count in the region.
18514 Report the number of lines and characters too.
18515 (count-words): New command, which counts in the buffer if the
18516 region is inactive, as count-words-region used to.
18517 (count-words--message): New function. Handle plurals.
18518 (count-lines-region): Make it an alias for count-words-region.
18519
18520 * bindings.el (esc-map): Replace count-lines-region with
18521 count-words-region.
18522
18523 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18524
18525 * window.el (window--delete): Delete dedicated frame
18526 unconditionally when argument KILL is non-nil. (Bug#9699)
18527 (switch-to-buffer): Fix doc-string typo.
18528
18529 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18530
18531 * eshell/eshell.el (eshell-command): Avoid using hooks.
18532
18533 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18534
18535 * bindings.el ([M-left],[M-right]): Bind to left-word and
18536 right-word respectively.
18537
18538 2011-10-07 Glenn Morris <rgm@gnu.org>
18539
18540 * cus-start.el (debug-on-quit): Fix custom type.
18541
18542 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18543
18544 * subr.el (define-key-after): Clarify that the function is not
18545 useful for non-menu keymaps.
18546
18547 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18548
18549 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18550
18551 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18552 in current minibuffer (Fix bug with recursive minibuffers).
18553
18554 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18555
18556 * progmodes/gdb-mi.el (gdb): Doc fix.
18557
18558 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18559
18560 * window.el (frame-auto-hide-function): New option replacing
18561 frame-auto-delete. Suggested by Stefan Monnier.
18562 (window--delete): Call frame-auto-hide-function instead of
18563 investigating frame-auto-delete.
18564 (window-point-1, set-window-point-1): New functions.
18565 (window-in-direction, record-window-buffer, window-state-get-1)
18566 (display-buffer-record-window): Use window-point-1 instead of
18567 window-point.
18568 (set-window-buffer-start-and-point): Use set-window-point-1.
18569
18570 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18571
18572 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18573
18574 2011-10-05 Glenn Morris <rgm@gnu.org>
18575
18576 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18577 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18578
18579 2011-10-05 Leo Liu <sdl.web@gmail.com>
18580
18581 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18582 works with buffer object.
18583
18584 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18585
18586 * mpc.el (mpc-tool-bar-map): Add labels.
18587
18588 2011-10-04 Glenn Morris <rgm@gnu.org>
18589
18590 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18591
18592 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18593
18594 * window.el (window--delete): New function.
18595 (frame-auto-delete): Resuscitate option.
18596 (bury-buffer, replace-buffer-in-windows)
18597 (quit-window): Rewrite using window--delete.
18598 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18599 Pass display-buffer-mark-dedicated to window--display-buffer-2
18600 (Bug#9639).
18601
18602 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18603
18604 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18605 returns a list (bug#9554). Add remote file name completion.
18606 * comint.el (comint--table-subvert): Curry and get quote&unquote
18607 functions as arguments.
18608 (comint--complete-file-name-data): Adjust call accordingly.
18609 * pcomplete.el (pcomplete--table-subvert): Remove.
18610 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18611
18612 * minibuffer.el (completion-table-case-fold): Use currying.
18613 (completion--styles-type, completion--cycling-threshold-type):
18614 New constants.
18615 (completion-styles, completion-category-overrides)
18616 (completion-cycle-threshold): Use them.
18617 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18618 completion-table-case-fold.
18619
18620 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18621
18622 * minibuffer.el (completion-category-overrides): Fix type of styles
18623 and add more user friendly tags (bug#9660).
18624
18625 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18628 (mule-input-method-string): New widget.
18629 (default-input-method, language-info-custom-alist): Use it.
18630
18631 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18632
18633 * pcomplete.el: Require comint.
18634 (pcomplete--common-suffix): Remove.
18635 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18636 (pcomplete--table-subvert): Sync with comint--table-subvert.
18637 (pcomplete--entries): Use comint-completion-file-name-table.
18638 * comint.el (comint-unquote-filename): Simplify.
18639 (comint-completion-file-name-table): New function (bug#9616).
18640 (comint--complete-file-name-data): Use it.
18641
18642 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18643 (pcmpl-gnu-tar-buffer): Remove.
18644 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18645 around. Make sure pcomplete-suffix-list is only changed temporarily.
18646 Don't look inside the tar's file if it's too large.
18647
18648 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18649
18650 * cus-edit.el (custom-mode-map):
18651 * epa.el (epa-key-list-mode-map):
18652 * man.el (Man-mode-map):
18653 * startup.el (splash-screen-keymap):
18654 * simple.el (special-mode-map): Use scroll-up-command and
18655 scroll-down-command.
18656
18657 * progmodes/idlw-help.el (idlwave-help-mode-map):
18658 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18659 * net/newst-plainview.el (newsticker-mode-map):
18660 * emulation/ws-mode.el (wordstar-mode-map):
18661 * emulation/vi.el (vi-com-map):
18662 * calc/calc-graph.el (calc-graph-show-dumb):
18663 * term/sun.el (terminal-init-sun):
18664 * term/ns-win.el (global-map):
18665 * progmodes/grep.el (grep-mode-map):
18666 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18667 * mail/rmail.el (rmail-mode-map):
18668 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18669
18670 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18671 custom-safe-themes as special.
18672
18673 2011-10-01 Julien Danjou <julien@danjou.info>
18674
18675 * notifications.el (notifications-notify): Fix docstring.
18676
18677 2011-10-01 Per Starbäck <per@starback.se>
18678
18679 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18680
18681 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18682
18683 * startup.el (command-line-1): Fix last fix by inserting
18684 initial-scratch-message into *scratch* before displaying it.
18685 (Bug#9605) and (Bug#9636)
18686
18687 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18688
18689 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18690 window is hscrolled, move by logical lines. (Bug#9607)
18691 (line-move-visual): Update the doc string to the above effect.
18692
18693 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18694
18695 * window.el (display-buffer-record-window): When WINDOW is the
18696 selected window use `point' instead of `window-point'. (Bug#9626)
18697
18698 * startup.el (command-line-1): Use insert-before-markers when
18699 inserting initial-scratch-message. (Bug#9605)
18700
18701 * help.el (help-window): Remove variable.
18702
18703 2011-09-29 Glenn Morris <rgm@gnu.org>
18704
18705 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18706
18707 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18708
18709 * descr-text.el (describe-char-categories): Accept category
18710 descriptions more than one line long.
18711
18712 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18713
18714 * simple.el (delete-trailing-whitespace): Fix last change.
18715
18716 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18717 Don't confuse "y => 3" as the beginning of a `y' operation.
18718
18719 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18720 object has more than 4 slots (bug#9613).
18721
18722 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18723
18724 * subr.el (with-output-to-temp-buffer):
18725 * net/quickurl.el (quickurl, quickurl-browse-url):
18726 Fix typos in docstrings.
18727
18728 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18729
18730 * minibuffer.el (completion-styles)
18731 (completion-category-overrides): Cross reference each other in doc
18732 strings.
18733
18734 2011-09-27 Glenn Morris <rgm@gnu.org>
18735
18736 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18737 to split-string. (Bug#9606)
18738
18739 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18740
18741 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18742 (bug#9615).
18743
18744 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18745
18746 * emacs-lisp/package.el (list-packages): Fix echo area message.
18747
18748 2011-09-27 Leo Liu <sdl.web@gmail.com>
18749
18750 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18751
18752 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18753
18754 * net/dbus.el (dbus-unregister-object): Don't release services for
18755 registered signals. (Bug#9581)
18756
18757 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18758
18759 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18760 function that picks between cfengine 2 and 3 support
18761 automatically. Update docs accordingly.
18762
18763 2011-09-22 Kenichi Handa <handa@m17n.org>
18764
18765 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18766 ZERO.
18767 (indian-itrans-v5-table-for-tamil): New variable.
18768 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18769
18770 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18771
18772 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18773 that's true if the current command involved collapsing of text.
18774 It's reset to false at the beginning of the next command.
18775 (allout-post-command-business): Move the cursor to the beginning
18776 of entry if the cursor is hidden and collapsing activity just
18777 happened.
18778
18779 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18780
18781 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18782 tracking (Bug#9541).
18783
18784 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18785
18786 * net/newst-reader.el (newsticker-html-renderer)
18787 (newsticker-show-news): Automatically load html rendering package
18788 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18789 because w3m-fill-column is let-bound" and the error "Symbol's value
18790 as variable is void: w3m-fill-column".
18791
18792 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18793
18794 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18795 Release services only if they are defined. (Bug#9581)
18796
18797 2011-09-23 Richard Stallman <rms@gnu.org>
18798
18799 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18800 distinguish start of paragraph from start of its text.
18801
18802 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18803
18804 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18805 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18806 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18807
18808 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18809
18810 * international/mule-diag.el (mule-diag): Insert a newline after
18811 each fontset description.
18812
18813 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18814
18815 * simple.el (delete-trailing-whitespace):
18816 Document last change; simplify.
18817
18818 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18819
18820 * simple.el (delete-trailing-whitespace): Also delete
18821 extra newlines at the end of the buffer.
18822
18823 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18824 (picture-newline): Use forward-line so as to ignore fields.
18825
18826 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18827
18828 * subr.el (with-wrapper-hook): Fix edebug spec.
18829
18830 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18831
18832 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18833 (bug#4538).
18834
18835 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18836
18837 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18838 Fix nasty bug using wrong cached values.
18839
18840 2011-09-23 Alan Mackenzie <acm@muc.de>
18841
18842 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18843
18844 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18845
18846 * window.el (pop-to-buffer): Ensure right window is selected if we
18847 chose another frame.
18848
18849 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18850
18851 * simple.el (what-cursor-position): Use get-char-property-change
18852 and next-single-char-property-change, to be able to show display
18853 properties that come from overlays as well as text properties.
18854
18855 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18856
18857 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18858
18859 * cmuscheme.el (run-scheme, switch-to-scheme):
18860 * cus-edit.el (customize-group, custom-buffer-create)
18861 (customize-browse):
18862 * info.el (info):
18863 * shell.el (shell):
18864 * mail/sendmail.el (mail):
18865 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18866
18867 2011-09-22 Richard Stallman <rms@gnu.org>
18868
18869 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18870 move back only to line beg, don't move back over blank lines.
18871
18872 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18873
18874 * files.el (copy-directory): Set directory attributes only in case
18875 they could be retrieved from the source directory. (Bug#9565)
18876
18877 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18878
18879 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18880 (hs-find-block-beginning, hs-hide-level-recursive):
18881 Ignore strings as well as comments. (Bug#9502)
18882
18883 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18884
18885 * progmodes/sql.el (sql-comint-postgres):
18886 Convert port number to a string. (Bug#9566)
18887
18888 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18889
18890 * window.el (quit-window): Undedicate window when switching to
18891 previous buffer. Reported by Thierry Volpiatto
18892 <thierry.volpiatto@gmail.com>.
18893 (special-display-popup-frame): When popping up a new frame reset
18894 its previous buffers to nil. Simplify code.
18895
18896 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18897
18898 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18899 and process filter, as done also in `shell-command'.
18900
18901 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18902
18903 * window.el (set-window-buffer-start-and-point):
18904 Call set-window-start with NOFORCE argument t.
18905 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18906 (quit-window): Reword doc-string. Handle new format of
18907 quit-restore parameter. Don't delete window if it has a
18908 previous buffer we can show instead of the present one.
18909 (display-buffer-record-window): Rewrite using a new format for
18910 the quit-restore window parameter
18911 (special-display-popup-frame, display-buffer-same-window)
18912 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18913 (display-buffer-pop-up-window, display-buffer-use-some-window):
18914 Adapt symbol passed to display-buffer-record-window.
18915 * help.el (help-window-setup): Handle new format of quit-restore
18916 parameter.
18917
18918 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18919
18920 * faces.el (face-list): Fix docstring (bug#9564).
18921
18922 * window.el (display-buffer--action-function-custom-type):
18923 Don't include internal functions in the Custom interface.
18924
18925 2011-09-20 Juri Linkov <juri@jurta.org>
18926
18927 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18928 (Info-forward-node, Info-backward-node, Info-next-preorder)
18929 (Info-last-preorder): Use it. (Bug#9528)
18930
18931 2011-09-20 Juri Linkov <juri@jurta.org>
18932
18933 * info.el (Info-last-preorder): Visit last menu item only when
18934 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18935
18936 2011-09-20 Julien Danjou <julien@danjou.info>
18937
18938 * password-cache.el (password-cache-remove): Remove entries even if the
18939 value is nil, so that password with a nil value (negative caching) is
18940 possible to invalidate.
18941
18942 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18943
18944 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18945 all whitespace around breakpoint. (Bug#9553)
18946 (f90-find-breakpoint): Only break at whitespace inside a comment.
18947
18948 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18949
18950 * minibuffer.el (completion-file-name-table): Keep track of errors.
18951 (completion-table-with-predicate): Handle the case where pred1 is nil.
18952 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18953
18954 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18955
18956 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18957 (debugger-return-value): Signal an error if the debugging context does
18958 not await any return value.
18959
18960 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18961 * image-mode.el (image-toggle-display-text)
18962 (image-toggle-display-image): Stay away from evil `intangible'.
18963
18964 2011-09-19 Leo Liu <sdl.web@gmail.com>
18965
18966 * replace.el (occur-revert-arguments): Make it permanent-local.
18967 (occur-mode): Don't call font-lock-defontify.
18968
18969 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18970
18971 * net/ldap.el (ldap-search-internal): Don't push empty search
18972 result (Bug#9508).
18973
18974 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18975
18976 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18977
18978 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18979
18980 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18981 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18982
18983 2011-09-18 Juri Linkov <juri@jurta.org>
18984
18985 * buff-menu.el (Buffer-menu-mode-map):
18986 * dired.el (dired-mode-map):
18987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18988 (lisp-interaction-mode-map):
18989 * emacs-lisp/package.el (package-menu-mode-map):
18990 * epa.el (epa-key-list-mode-map):
18991 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18992 (menu-bar-options-menu):
18993 * outline.el (outline-mode-menu-bar-map):
18994 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18995 * vc/vc-dir.el (vc-dir-menu-map):
18996 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18997 Capitalize non-function content words in menu item strings.
18998
18999 * dired.el (dired-mode-map): Add menu item for
19000 `image-dired-dired-toggle-marked-thumbs'.
19001
19002 2011-09-18 Juri Linkov <juri@jurta.org>
19003
19004 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19005 to `isearch-case-fold-search' and restore its original value
19006 after the `isearch-mode' call.
19007
19008 2011-09-18 Juri Linkov <juri@jurta.org>
19009
19010 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19011 because `zgrep' returns 1 for successful matches (bug#9226).
19012
19013 2011-09-18 Juri Linkov <juri@jurta.org>
19014
19015 * info.el (Info-extract-menu-node-name): Check the second match
19016 for empty string (second test-case of bug#9528).
19017 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19018 intermediate nodes to the history (first test-case of bug#9528).
19019
19020 2011-09-18 Juri Linkov <juri@jurta.org>
19021
19022 * info.el (Info-mode-syntax-table): New variable.
19023 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19024
19025 2011-09-18 Juri Linkov <juri@jurta.org>
19026
19027 * info.el (Info-file-supports-index-cookies):
19028 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19029 outputs one more line for long file names (bug#4142).
19030
19031 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19032
19033 * newcomment.el (comment-normalize-vars): If prompting for
19034 comment-start, set comment-start-skip too (Bug#8424).
19035
19036 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19037
19038 * icomplete.el: Fix previous fix of Bug#5849.
19039 (icomplete-mode): Don't set completion-show-inline-help.
19040 (icomplete-minibuffer-setup): Set completion-show-inline-help
19041 locally during icompletion.
19042
19043 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19044
19045 * woman.el (woman2-process-escapes): Don't delete unrecognized
19046 escapes (Bug#7843).
19047
19048 * files.el (inhibit-first-line-modes-regexps): Add image files.
19049 (hack-local-variables-prop-line): Return nil for malformed
19050 prop-lines (Bug#9044).
19051
19052 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19053
19054 * net/tramp.el (top): Don't require 'shell.
19055 (tramp-methods): Fix docstring.
19056 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19057 Return complete remote file name. Handle "smb" case.
19058 Use `tramp-tmpdir', if defined for the respective method.
19059 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19060
19061 * net/tramp-compat.el (top): Require 'shell.
19062
19063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19064 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19065 `tramp-current-host'.
19066 (tramp-get-remote-tmpdir): Remove.
19067
19068 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19069 `tramp-tmpdir' entries.
19070 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19071 (tramp-smb-handle-file-attributes): Ignore errors.
19072 (tramp-smb-wait-for-output): Check also for process end.
19073
19074 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19075
19076 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19077 when sending QUIT (bug#9312).
19078
19079 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19080
19081 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19082 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19083 occur-mode-display-occurrence.
19084 (occur-edit-mode): Add usage message.
19085 (occur-cease-edit): New command.
19086 (occur-after-change-function): Use text properties to find the
19087 position of the prefix text.
19088 (occur-engine): Set stickiness of prefix text properties.
19089
19090 2011-09-17 Glenn Morris <rgm@gnu.org>
19091
19092 * progmodes/etags.el (complete-tag):
19093 Fix call to completion-in-region. (Bug#9526)
19094
19095 2011-09-17 Juri Linkov <juri@jurta.org>
19096
19097 * textmodes/ispell.el (ispell-word): Add to the error message
19098 the word, ispell program name and current dictionary (bug#9121).
19099 (ispell-tex-arg-end): Capitalize "error" in the error message.
19100
19101 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19102
19103 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19104 check. (Bug#4251)
19105
19106 2011-09-17 Juri Linkov <juri@jurta.org>
19107
19108 * window.el (window-safe-min-height, window-safe-min-width):
19109 Fix typos (followup to bug#9522).
19110
19111 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19112
19113 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19114
19115 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19116
19117 * simple.el (line-move): If goal-column is set, move by logical
19118 lines, not by display lines. (Bug#971)
19119 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19120 to reflect the above change.
19121
19122 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19123
19124 * image.el (imagemagick-register-types): Use regexp-opt.
19125
19126 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19127
19128 * window.el (display-buffer-base-action): Rename from
19129 display-buffer-default-action. Make default value empty.
19130 (display-buffer-overriding-action): Convert to defvar.
19131 (display-buffer-fallback-action): New var.
19132
19133 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19134
19135 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19136 declaration.
19137 (package--add-to-archive-contents): If there is a duplicate entry
19138 with an older version, remove it.
19139 (package-menu-mark-delete, package-menu-mark-install)
19140 (package-menu-mark-unmark): Make unused args optional.
19141 (package-menu-mark-obsolete-for-deletion):
19142 Use package-menu-get-status instead of a regexp search.
19143 (package-menu-get-status): Use tabulated-list-entry.
19144 (package-menu-mark-upgrades): New command.
19145 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19146 (package-menu-execute): Do installation before deletion.
19147 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19148 instead of checking major-mode.
19149 (package-menu--find-upgrades): New function.
19150
19151 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19152
19153 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19154 passwords in the log buffer.
19155 (smtpmail-process-filter): Update the process marker so that the
19156 "broken by peer" status message is inserted in the right place.
19157
19158 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19159
19160 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19161 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19162 bibtex-completion-at-point-function.
19163 (bibtex-completion-at-point-function): Use them.
19164
19165 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19166
19167 * mpc.el (mpc-constraints-tag-lookup): New function.
19168 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19169 also to browser "album|playlist".
19170
19171 2011-09-14 Juri Linkov <juri@jurta.org>
19172
19173 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19174 (isearch-edit-string): Use length of `isearch-string' when
19175 `isearch-fail-pos' returns nil.
19176 (isearch-message): Remove duplicate code and call
19177 `isearch-fail-pos' with arg `t'.
19178
19179 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19180
19181 * replace.el (occur-mode-goto-occurrence): Don't force using other
19182 window (Bug#9499).
19183
19184 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19185
19186 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19187
19188 * window.el (display-buffer-window): Remove.
19189 (display-buffer-record-window): Use help-setup window parameter
19190 instead of variable display-buffer-window.
19191 (display-buffer-function, special-display-buffer-names)
19192 (special-display-function): Mention help-setup parameter instead
19193 of display-buffer-window in doc-string.
19194 * help.el (help-window-setup): New argument help-window.
19195 Use help-window-setup parameter instead of display-buffer-window.
19196 Reword some messages.
19197 (with-help-window): Pass window used for displaying the buffer
19198 to help-window-setup. Don't set display-buffer-window.
19199
19200 2011-09-13 Glenn Morris <rgm@gnu.org>
19201
19202 * emacs-lisp/debug.el (debugger-make-xrefs):
19203 Preserve point. (Bug#9462)
19204
19205 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19206
19207 * window.el (window-deletable-p): Use next-frame.
19208
19209 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19210
19211 * window.el (window-auto-delete): Remove.
19212 (window-deletable-p): Remove argument FORCE. Don't deal with
19213 dedication and previous buffers.
19214 (switch-to-prev-buffer): Don't delete window.
19215 (delete-windows-on): Delete a window's frame if and only if the
19216 window is dedicated.
19217 (replace-buffer-in-windows): Delete buffer's window or frame if
19218 and only if window is dedicated.
19219 (quit-window): Handle quit-restore as before last change.
19220 (bury-buffer): Delete window only if window-deletable-p returns t.
19221
19222 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19223
19224 * window.el (window-deletable-p): Never delete the last frame on a
19225 given terminal.
19226
19227 2011-09-13 Glenn Morris <rgm@gnu.org>
19228
19229 * help.el (describe-key-briefly): Copy previous standard-output change.
19230
19231 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19232
19233 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19234
19235 2011-09-13 Glenn Morris <rgm@gnu.org>
19236
19237 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19238 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19239
19240 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19241
19242 * dired-aux.el (dired-mark-read-string): Don't return default
19243 value on empty input (Bug#9361).
19244 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19245 Omit initial minibuffer contents.
19246 (dired-do-chmod): Signal an error on empty input.
19247 (dired-mark-read-string): Don't return default on empty input.
19248
19249 * files.el (file-modes-symbolic-to-number): Doc fix.
19250
19251 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19252
19253 * international/mule-cmds.el (ucs-completions): Remove.
19254 (read-char-by-name): Use complete-with-action instead; add metadata.
19255
19256 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19257
19258 * window.el (display-buffer--action-function-custom-type)
19259 (display-buffer--action-custom-type): New vars.
19260 (display-buffer-alist, display-buffer-default-action)
19261 (display-buffer-overriding-action): Add defcustom types.
19262
19263 * frame.el (delete-other-frames): Doc fix (Bug#276).
19264
19265 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19266
19267 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19268
19269 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19270
19271 Change modes that used same-window-* vars to use switch-to-buffer.
19272
19273 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19274 Use switch-to-buffer.
19275
19276 * cus-edit.el (customize-group, custom-buffer-create)
19277 (customize-browse, custom-buffer-create-other-window):
19278 Use switch-to-buffer or switch-to-buffer-other-window.
19279
19280 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19281 (Info-prev, Info-up, Info-speedbar-goto-node)
19282 (info-display-manual): Use switch-to-buffer.
19283 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19284
19285 * mail/sendmail.el (mail): Use switch-to-buffer.
19286 (mail-recover): Use switch-to-buffer-other-window.
19287
19288 * cmuscheme.el (run-scheme, switch-to-scheme):
19289 * ielm.el (ielm):
19290 * shell.el (shell):
19291 * net/rlogin.el (rlogin):
19292 * net/telnet.el (telnet, rsh):
19293 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19294
19295 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19296
19297 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19298
19299 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19300
19301 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19302 so don't mention it (bug#9301).
19303 (dired-sort-toggle-or-edit): Clarify string further.
19304
19305 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19306 match `x', `w32' and `ns', like the manual says (bug#9029).
19307
19308 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19309 (process-kill-buffer-query-function): Mention the buffer name in
19310 the query.
19311
19312 * image-mode.el (image-next-line): The line parameter is mandatory
19313 (bug#9258).
19314
19315 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19316 which can be useful (bug#9301).
19317
19318 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19319
19320 * subr.el (match-string): Mention that the current buffer should
19321 be the same as the search was done in (bug#9282).
19322
19323 * facemenu.el: Disable the remove-* commands if the mark isn't
19324 active (bug#9162).
19325
19326 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19327
19328 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19329 of display-buffer.
19330 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19331
19332 * replace.el (occur-mode-goto-occurrence)
19333 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19334 and display-buffer.
19335
19336 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19337 display-buffer.
19338
19339 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19340 special-display and same-window variables.
19341 (mail-other-window): Use switch-to-buffer-other-window.
19342 (mail-other-frame): USe switch-to-buffer-other-frame.
19343
19344 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19345 Use display-buffer-other-frame.
19346 (gdb-display-gdb-buffer): Use pop-to-buffer.
19347
19348 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19349
19350 * progmodes/python.el: Don't set same-window-buffer-names.
19351
19352 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19353
19354 * window.el (display-buffer-alist): Add *Python*.
19355
19356 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19357
19358 * window.el (display-buffer-alist): Add entry for buffers
19359 previously handled same-window-*.
19360 (display-buffer-alist, display-buffer-default-action)
19361 (display-buffer-overriding-action): Mark as risky.
19362 (display-buffer-alist): Document action function changes.
19363 (display-buffer--same-window-action)
19364 (display-buffer--other-frame-action): New variables.
19365 (switch-to-buffer, display-buffer-other-frame): Use them.
19366 (display-buffer): Rename reuse-frame entry to reusable-frames.
19367 (display-buffer-reuse-selected-window): Function deleted.
19368 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19369 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19370 (display-buffer-special): New function.
19371 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19372 display-buffer-reuse-or-pop-window. Split off special-display
19373 part into display-buffer-special.
19374 (display-buffer-use-some-window): Don't perform any special
19375 pop-up-frames handling.
19376 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19377 (display-buffer--maybe-same-window): Rename from
19378 display-buffer-maybe-same-window.
19379
19380 * info.el: Don't set same-window-regexps.
19381 (info-setup): New function.
19382 (info-other-window, info): Call it.
19383
19384 * cus-edit.el: Don't set same-window-regexps.
19385 (customize-group): New argument.
19386 (customize-group-other-window): Use it.
19387 (customize-face, customize-face-other-window): Likewise.
19388 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19389
19390 * net/rlogin.el:
19391 * net/telnet.el:
19392 * progmodes/gud.el: Don't set same-window-regexps.
19393
19394 * cmuscheme.el:
19395 * ielm.el:
19396 * shell.el:
19397 * mail/sendmail.el:
19398 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19399
19400 2011-09-10 Juri Linkov <juri@jurta.org>
19401
19402 * isearch.el (isearch-edit-string): Remove obsolete mention of
19403 `C-w' (`isearch-yank-word-or-char') from docstring.
19404 (isearch-query-replace): Fix typo in docstring (bug#9466).
19405
19406 2011-09-10 Juri Linkov <juri@jurta.org>
19407
19408 * paren.el (show-paren-function): Don't show escaped parens.
19409 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19410
19411 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19412
19413 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19414 (mm-default-file-encoding): Remove autoload forms, they are
19415 replaced with autoload cookies in mml.el and mm-encode.el.
19416 (mail-add-attachment): New command.
19417 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19418 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19419 the doc string.
19420 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19421
19422 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19423
19424 * simple.el (count-words-region): Use buffer if there's no region
19425 (bug#9429).
19426
19427 2011-09-09 Juri Linkov <juri@jurta.org>
19428
19429 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19430 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19431 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19432
19433 2011-09-09 Alan Mackenzie <acm@muc.de>
19434
19435 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19436 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19437
19438 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19439
19440 Fix for Savannah bug#9392.
19441 * simple.el (mail-encode-mml): New defvar.
19442
19443 * mail/rmail.el (mail-encode-mml): Add a defvar.
19444 (rmail-enable-mime-composing): Default to t.
19445 (rmail-forward): Use MIME method of forwarding only if both
19446 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19447 Set mail-encode-mml non-nil if the MIME method was used.
19448
19449 * mail/sendmail.el (mml-to-mime): Add autoload form.
19450 (mail-encode-mml): Add a defvar.
19451 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19452 to nil.
19453 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19454 message through mml-to-mime, and reset mail-encode-mml to nil.
19455
19456 2011-09-09 Glenn Morris <rgm@gnu.org>
19457
19458 * woman.el (woman-if-body): When processing an .el block,
19459 do not delete the next .el block as well. (Bug#9447)
19460 (woman-special-characters): Add oq, cq, and hy characters.
19461
19462 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19463
19464 * window.el (window-deletable-p): Make sure window is live before
19465 invoking window-prev-buffers.
19466
19467 2011-09-08 Leo Liu <sdl.web@gmail.com>
19468
19469 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19470
19471 2011-09-08 Juri Linkov <juri@jurta.org>
19472
19473 * progmodes/compile.el (compilation-environment): Make it
19474 a defcustom (bug#8340).
19475
19476 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19477
19478 * window.el (frame-auto-delete): Rename to window-auto-delete.
19479 Make it control auto-deletion of windows and/or frames.
19480 (window-deletable-p): New argument FORCE. Rewrite conditions
19481 for deleting window/frame. (Bug#9419)
19482 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19483 Rewrite handling of case when window/frame can be deleted.
19484 (delete-windows-on): Call window-deletable-p with new FORCE
19485 argument t. (Bug#9456)
19486
19487 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19488
19489 * help-mode.el (help-mode): Restore autoload.
19490
19491 2011-09-07 Juri Linkov <juri@jurta.org>
19492
19493 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19494 `compilation-environment'. Set buffer-local
19495 `compilation-environment' to `thisenv' later after (funcall mode).
19496 (Bug#8340)
19497
19498 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19499 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19500 instead of replacing its value. (Bug#8340)
19501
19502 2011-09-07 Juri Linkov <juri@jurta.org>
19503
19504 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19505 based on text properties put by `grep-filter' instead of matching
19506 escape sequences.
19507 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19508 to the value of `grep-error-screen-columns' (bug#9438).
19509
19510 2011-09-07 Juri Linkov <juri@jurta.org>
19511
19512 * simple.el (next-error-highlight, next-error-highlight-no-select):
19513 Doc fix (bug#9432).
19514
19515 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19516
19517 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19518 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19519
19520 2011-09-07 Leo Liu <sdl.web@gmail.com>
19521
19522 * net/rcirc.el (rcirc-mode): Conditionally initialize
19523 rcirc-input-ring.
19524
19525 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19526
19527 * emacs-lisp/find-func.el (find-function-C-source): Only set
19528 find-function-C-source-directory after checking that we found a source
19529 file there (bug#9440).
19530
19531 2011-09-06 Alan Mackenzie <acm@muc.de>
19532
19533 * isearch.el (isearch-other-meta-char): Wherever a key list is
19534 unread, "unread" the prefix arg, too. This fixes bug #8901.
19535
19536 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19537
19538 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19539
19540 2011-09-05 Juri Linkov <juri@jurta.org>
19541
19542 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19543
19544 2011-09-05 Juri Linkov <juri@jurta.org>
19545
19546 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19547 keeping point where processing of grep matches begins, and
19548 continue to delete remaining escape sequences from the same point.
19549 (grep-filter): Make leading zero optional in "0?1;31m" because
19550 git-grep emits "\033[1;31m" escape sequences unlike expected
19551 "\033[01;31m" as GNU Grep does (bug#9408).
19552 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19553
19554 2011-09-05 Juri Linkov <juri@jurta.org>
19555
19556 * subr.el (y-or-n-p): Capitalize "yes".
19557
19558 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19559
19560 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19561 `tramp-cache-unload-hook' where appropriate.
19562 (tramp-methods): Rename `tramp-remote-sh' to
19563 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19564 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19565
19566 * net/tramp-sh.el (top): Don't require 'shell.
19567 (tramp-methods): Add `tramp-remote-shell' and
19568 `tramp-remote-shell-args' entries.
19569 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19570 (tramp-sh-handle-shell-command): Remove.
19571 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19572 Use `tramp-remote-shell'.
19573
19574 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19575
19576 * mail/sendmail.el (sendmail-query-once-function): Delete.
19577 (sendmail-query-once): Save directly to send-mail-function.
19578 Update message-send-mail-function too.
19579
19580 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19581
19582 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19583
19584 * progmodes/python.el (python-mode-map): Use correct function to
19585 start python interpreter from menu-bar (as reported by Geert
19586 Kloosterman).
19587 (inferior-python-mode-map): Fix typo.
19588 (python-shell-map): Remove.
19589
19590 2011-09-03 Deniz Dogan <deniz@dogan.se>
19591
19592 * net/rcirc.el (rcirc-print): Simplify code for
19593 rcirc-scroll-show-maximum-output. There is no need to walk
19594 through all windows to find the right one.
19595
19596 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19597
19598 * help.el (help-return-method): Doc fix.
19599
19600 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19601
19602 * window.el (window-deletable-p): Don't return a non-nil value
19603 when there's a buffer that was shown in the window before.
19604 (Bug#9419)
19605 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19606 Set window's previous buffers to nil.
19607
19608 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19609
19610 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19611 newline before and after the tag line, so it doesn't interfere
19612 with determining the paragraph direction of bidirectional text.
19613
19614 2011-09-03 Leo Liu <sdl.web@gmail.com>
19615
19616 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19617
19618 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19619
19620 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19621 (pop-to-buffer): Change interactive spec. Pass second argument
19622 directly to display-buffer.
19623 (display-buffer): Fix interactive spec. Use functionp to
19624 distinguish between a function and a list of functions.
19625
19626 * abbrev.el (edit-abbrevs):
19627 * arc-mode.el (archive-extract):
19628 * autoinsert.el (auto-insert):
19629 * bookmark.el (bookmark-bmenu-list):
19630 * files.el (find-file):
19631 * view.el (view-buffer):
19632 * progmodes/compile.el (compilation-goto-locus):
19633 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19634
19635 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19636
19637 * window.el (display-buffer-alist): Doc fix.
19638 (display-buffer): Add docstring. Don't treat
19639 display-buffer-default specially.
19640 (display-buffer-reuse-selected-window)
19641 (display-buffer-same-window, display-buffer-maybe-same-window)
19642 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19643 (display-buffer-pop-up-window)
19644 (display-buffer-reuse-or-pop-window)
19645 (display-buffer-use-some-window): New functions.
19646 (display-buffer-default-action): Use them.
19647 (display-buffer-default): Delete.
19648 (pop-to-buffer-1): Fix choice of actions.
19649
19650 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19651
19652 * minibuffer.el (completion--insert-strings): Don't get confused by
19653 completion entries that end with an LF char.
19654
19655 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19656
19657 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19658
19659 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19660
19661 * window.el (display-buffer): Restore interactive spec.
19662 (display-buffer-same-window, display-buffer-other-window):
19663 New functions.
19664 (pop-to-buffer-1): New function. Use the above.
19665 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19666 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19667
19668 * view.el (view-buffer-other-window, view-buffer-other-frame):
19669 Just use pop-to-buffer.
19670
19671 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19672
19673 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19674
19675 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19676
19677 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19678
19679 2011-08-31 Richard Stallman <rms@gnu.org>
19680
19681 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19682 of the separation of rmail-view-buffer from rmail-buffer.
19683 If you say no to "replace original", the decrypt is in the
19684 view buffer. If you say yes, the decrypt goes into the
19685 rmail buffer also.
19686
19687 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19688
19689 * window.el (display-buffer-window): Rewrite doc-string.
19690 (display-buffer-record-window): New function.
19691 (display-buffer-macro-specifiers)
19692 (display-buffer-even-window-sizes, display-buffer-set-height)
19693 (display-buffer-set-width, display-buffer-in-window)
19694 (display-buffer-reuse-window, display-buffer-split-specifiers)
19695 (display-buffer-side-specifiers, display-buffer-split-window-1)
19696 (display-buffer-split-window, display-buffer-split-atom-window)
19697 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19698 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19699 (display-buffer-other-window-means-other-frame)
19700 (display-buffer-normalize-special)
19701 (display-buffer-normalize-default)
19702 (display-buffer-normalize-argument)
19703 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19704 (display-buffer-normalize-specifiers, display-buffer-frame)
19705 (display-buffer-same-window, display-buffer-same-frame)
19706 (display-buffer-other-window)
19707 (display-buffer-same-frame-other-window)
19708 (display-buffer-other-frame, pop-to-buffer-same-window)
19709 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19710 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19711 (switch-to-buffer-same-frame)
19712 (switch-to-buffer-other-window-same-frame)
19713 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19714 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19715 (display-buffer-alist-set): Remove.
19716 (display-buffer-function, special-display-buffer-names)
19717 (special-display-regexps, special-display-function):
19718 In doc-string refer to display-buffer-window and quit-restore
19719 parameter.
19720 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19721 (special-display-frame-alist, special-display-popup-frame)
19722 (same-window-buffer-names, same-window-regexps, same-window-p)
19723 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19724 (split-window-preferred-function, split-height-threshold)
19725 (split-width-threshold, window-splittable-p)
19726 (split-window-sensibly, window--try-to-split-window)
19727 (window--frame-usable-p, even-window-heights)
19728 (window--even-window-heights, window--display-buffer-1)
19729 (window--display-buffer-2, display-buffer-other-frame):
19730 Restore old Emacs 23 code, order and doc-strings where applicable.
19731 (display-buffer-default, display-buffer-assq-regexp): New functions.
19732 (display-buffer-alist): Rewrite doc-string.
19733 (display-buffer-default-action)
19734 (display-buffer-overriding-action): New variables.
19735 (display-buffer, switch-to-buffer): Rewrite.
19736 (pop-to-buffer): Restore Emacs 23 behavior but use
19737 window-normalize-buffer-to-display.
19738 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19739 Restore Emacs 23 behavior but use
19740 window-normalize-buffer-to-switch-to.
19741 (pop-to-buffer-same-window): Rewrite.
19742 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19743 Rewrite using Emacs 23 options.
19744
19745 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19746
19747 * net/tramp.el (tramp-root-regexp): Remove.
19748 (tramp-completion-file-name-regexp-unified)
19749 (tramp-completion-file-name-regexp-separate)
19750 (tramp-completion-file-name-regexp-url): Don't use leading volume
19751 letter on w32 systems. (Bug#5303, Bug#9311)
19752 (tramp-drop-volume-letter): Simplify definition.
19753 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19754
19755 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19756
19757 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19758 (bug#9356).
19759
19760 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19761
19762 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19763
19764 2011-08-29 Juri Linkov <juri@jurta.org>
19765
19766 * isearch.el (isearch-done): Don't display message "Mark saved"
19767 when arg `edit' is non-nil to prevent its flicker in the echo area.
19768
19769 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19770
19771 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19772 obsolete packages for deletion.
19773
19774 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19775
19776 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19777 (help-mode): Derive help-mode from special-mode. Don't invoke
19778 view-mode from help-mode.
19779 (help-xref-override-view-map): Remove.
19780 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19781 view-mode is not used anymore.
19782
19783 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19784
19785 * server.el (server-port): Doc fix.
19786
19787 * cus-theme.el (custom-theme-choose-mode): Inherit from
19788 special-mode (Bug#9124).
19789 (custom-theme-choose-mode-map): Add special-mode to parent.
19790
19791 2011-08-28 Alan Mackenzie <acm@muc.de>
19792
19793 * progmodes/cc-fonts.el
19794 (c-make-font-lock-BO-decl-search-function): New function.
19795 (c-basic-matchers-after - "Fontify the clauses after various
19796 keywords"): Extract the three keyword lists for the 3 erroneous
19797 constructs from the list of four, and use the new function above
19798 in place of an old one.
19799
19800 2011-08-28 Deniz Dogan <deniz@dogan.se>
19801
19802 * net/rcirc.el (rcirc-insert-prev-input)
19803 (rcirc-insert-next-input): Remove unused argument.
19804
19805 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19806
19807 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19808
19809 2011-08-27 Alan Mackenzie <acm@muc.de>
19810
19811 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19812 handle function pointer parameters properly.
19813
19814 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19815
19816 * window.el (display-buffer-reuse-window): Fix case where
19817 selected window was reused with non-nil OTHER-WINDOW argument.
19818 (Bug#9381)
19819
19820 2011-08-27 Deniz Dogan <deniz@dogan.se>
19821
19822 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19823 oftc's NickServ messages.
19824
19825 2011-08-27 Glenn Morris <rgm@gnu.org>
19826
19827 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19828
19829 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19830
19831 * emacs-lisp/package.el (package-install): Call package-initialize
19832 if called interactively.
19833
19834 2011-08-26 Leo Liu <sdl.web@gmail.com>
19835
19836 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19837
19838 2011-08-25 Juri Linkov <juri@jurta.org>
19839
19840 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19841 `search-whitespace-regexp' (bug#9364).
19842
19843 2011-08-25 Juri Linkov <juri@jurta.org>
19844
19845 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19846 `regexp-search-ring' to their global values to protect from
19847 updating by `read-from-minibuffer' (bug#9185).
19848
19849 2011-08-25 Juri Linkov <juri@jurta.org>
19850
19851 * textmodes/ispell.el (ispell-command-loop): Add newline
19852 at the end of the "Use option `i'..." line.
19853
19854 2011-08-25 Juri Linkov <juri@jurta.org>
19855
19856 * battery.el (display-battery-mode): If `battery-status-function'
19857 or `battery-mode-line-format' is nil, display the message and set
19858 `display-battery-mode' to nil (bug#9363).
19859
19860 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19861
19862 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19863 bidi-string-mark-left-to-right; they are unnecessary now.
19864
19865 2011-08-25 Deniz Dogan <deniz@dogan.se>
19866
19867 * net/quickurl.el: Documentation typo fixes.
19868
19869 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19870
19871 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19872
19873 2011-08-25 Glenn Morris <rgm@gnu.org>
19874
19875 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19876
19877 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19878 (smtpmail-via-smtp): Handle nil response from smtp.
19879
19880 2011-08-24 Juri Linkov <juri@jurta.org>
19881
19882 * proced.el (proced-marked): Inherit from `error' instead of
19883 `font-lock-warning-face'.
19884
19885 * ibuffer.el (ibuffer-marked-face): Change default face from
19886 `font-lock-warning-face' to `warning'.
19887 (ibuffer-deletion-face): Change default face from
19888 `font-lock-type-face' to `error'.
19889
19890 * battery.el (battery-update): Use the face `error' instead of
19891 `font-lock-warning-face' (bug#6117).
19892
19893 2011-08-24 Juri Linkov <juri@jurta.org>
19894
19895 * faces.el (success): Change face color from "Green3" to
19896 "ForestGreen" on light background (bug#9353).
19897
19898 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19899
19900 * window.el (quit-window): Rename from quit-restore-window.
19901 Use same arglist as old quit-window.
19902 (frame-auto-delete): Doc fix.
19903
19904 * view.el (view-mode-exit): Use quit-window.
19905
19906 2011-08-24 Juri Linkov <juri@jurta.org>
19907
19908 * isearch.el (isearch-ring-adjust1): Start visiting previous
19909 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19910 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19911 for empty search string (when the last search string is reused
19912 automatically) to adjust the isearch ring to the last element and
19913 prepare the correct index for further M-p commands (bug#9185).
19914
19915 2011-08-24 Kenichi Handa <handa@m17n.org>
19916
19917 * international/ucs-normalize.el: If decomposition property of
19918 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19919 nil.
19920 (nfd, nfkd): Likewise.
19921
19922 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19923
19924 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19925 from process filters aren't reliably transmitted to the surrounding
19926 accept-process-output.
19927 (mpc-proc-check): New function.
19928 (mpc-proc-sync): Use it (bug#8293)
19929
19930 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19931
19932 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19933 Add compatibility functions (bug#9313).
19934
19935 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19936
19937 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19938
19939 * international/uni-bidi.el: Regenerate.
19940
19941 2011-08-23 Kenichi Handa <handa@m17n.org>
19942
19943 * international/charprop.el:
19944 * international/uni-bidi.el:
19945 * international/uni-category.el:
19946 * international/uni-combining.el:
19947 * international/uni-comment.el:
19948 * international/uni-decimal.el:
19949 * international/uni-decomposition.el:
19950 * international/uni-digit.el:
19951 * international/uni-lowercase.el:
19952 * international/uni-mirrored.el:
19953 * international/uni-name.el:
19954 * international/uni-numeric.el:
19955 * international/uni-old-name.el:
19956 * international/uni-titlecase.el:
19957 * international/uni-uppercase.el: Regenerate.
19958
19959 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19960
19961 * help.el (help-window-setup): Fix message displayed when other
19962 window is reused. (Bug#9341)
19963
19964 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19965
19966 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19967 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19968
19969 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19970 Mark obsolete.
19971 * shell.el (shell-parse-pcomplete-arguments): New function.
19972 (shell-completion-vars): Use it instead (bug#9160).
19973
19974 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19975
19976 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19977 strings and comments (bug#9333).
19978
19979 * emacs-lisp/debug.el (debug-arglist): New function.
19980 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19981 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19982
19983 2011-08-22 Juri Linkov <juri@jurta.org>
19984
19985 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19986 Revert regexp that highlights output switches to its old
19987 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19988
19989 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19990 to check for empty output (bug#9226).
19991
19992 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19993
19994 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19995 symbol-constituent as the default, as that stops font-lock from
19996 working properly (Bug#8843).
19997
19998 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19999
20000 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20001 `coding-system-for-*' around the process open call to avoid
20002 auth-source side effects.
20003 (smtpmail-try-auth-methods): Expand the secret password.
20004 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20005 probe hangs.
20006
20007 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20008
20009 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20010
20011 * emacs-lisp/find-func.el (find-function-noselect): New arg
20012 lisp-only.
20013
20014 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20015 signal an error for built-in functions (Bug#6664).
20016
20017 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20018
20019 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20020 (smtpmail-try-auth-methods): Use it.
20021
20022 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20023
20024 * font-lock.el (font-lock-fontify-region)
20025 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20026 (font-lock-default-unfontify-buffer)
20027 (font-lock-default-fontify-region)
20028 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20029
20030 * progmodes/compile.el (compilation-error-properties):
20031 Fix confusion between file struct and message struct (Bug#9319).
20032 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20033 `ant' regexp.
20034
20035 * net/browse-url.el (browse-url-firefox): Don't call
20036 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20037
20038 2011-08-20 Glenn Morris <rgm@gnu.org>
20039
20040 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20041
20042 * tutorial.el (tutorial--default-keys): Update some default bindings.
20043
20044 * files.el (hack-local-variables): Fully ignore case for "mode:".
20045
20046 2011-08-20 Alan Mackenzie <acm@muc.de>
20047
20048 Resolve invalid use of a regexp in regexp-opt.
20049
20050 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20051 detection for a java annotation.
20052
20053 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20054 detection for a java annotation.
20055
20056 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20057 handling for java.
20058 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20059
20060 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20061
20062 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20063 (Bug#9274).
20064
20065 2011-08-20 Alan Mackenzie <acm@muc.de>
20066
20067 Fontify CPP expressions correctly when starting in the middle of
20068 such a construct. Mainly for when jit-lock etc. starts a chunk
20069 here.
20070
20071 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20072 variable.
20073 (c-make-font-lock-search-form): New function, extracted from
20074 c-make-font-lock-search-function.
20075 (c-make-font-lock-search-function): Use the above function.
20076 (c-make-font-lock-context-search-function): New function.
20077 (c-cpp-matchers): Enhance the preprocessor expression case with
20078 the above function
20079 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20080 which takes an expression.
20081
20082 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20083
20084 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20085
20086 * window.el (display-buffer-reuse-window)
20087 (display-buffer-pop-up-window): Don't reuse or split a side
20088 window.
20089
20090 2011-08-19 Glenn Morris <rgm@gnu.org>
20091
20092 * files.el (hack-local-variables-prop-line, hack-local-variables):
20093 Downcase "Mode:". (Bug#9331)
20094
20095 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20096
20097 * international/characters.el: Add L and R categories.
20098
20099 * subr.el (bidi-string-mark-left-to-right): Rename from
20100 string-mark-left-to-right. Use category search.
20101
20102 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20103
20104 2011-08-18 Juri Linkov <juri@jurta.org>
20105
20106 * faces.el (error, warning, success): New faces with definitions
20107 copied from old default values of `font-lock-warning-face',
20108 `compilation-warning', `compilation-info' (bug#6117).
20109
20110 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20111
20112 * progmodes/compile.el (compilation-error): Inherit from `error'.
20113 (compilation-warning): Inherit from `warning'.
20114 (compilation-info): Inherit from `success'.
20115
20116 * dired.el (dired-marked): Inherit from `warning'.
20117 (dired-flagged): Inherit from `error'.
20118
20119 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20120
20121 * mail/smtpmail.el (auth-source): Require to avoid problems with
20122 binding variables (bug#9298). Also clean up some unused
20123 autoloads.
20124
20125 * net/network-stream.el (network-stream-open-starttls):
20126 Support using starttls.el without using gnutls-cli.
20127
20128 2011-08-17 Juri Linkov <juri@jurta.org>
20129
20130 * progmodes/grep.el (rgrep): Handle the case when
20131 `grep-find-command' is a cons cell (bug#9278).
20132
20133 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20134
20135 * window.el (display-buffer-pop-up-frame): Run frame creation
20136 function with BUFFER current (as special-display-popup-frame
20137 does). Reported by Drew Adams.
20138
20139 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20140
20141 * epa-mail.el: Simplify GnuPG group expansion using
20142 epg-expand-group.
20143 (epa-mail-group-alist, epa-mail-group-modtime)
20144 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20145 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20146 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20147 Remove.
20148
20149 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20150
20151 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20152
20153 2011-08-16 Alan Mackenzie <acm@muc.de>
20154
20155 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20156 Correct, to avoid the inside of macros.
20157
20158 2011-08-16 Richard Stallman <rms@gnu.org>
20159
20160 * epa-mail.el: Handle GnuPG group definitions.
20161 (epa-mail-group-alist, epa-mail-group-modtime)
20162 (epa-mail-gnupg-conf-file): New variables.
20163 (epa-mail-parse-groups, epa-mail-sync-groups)
20164 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20165 (epa-mail-expand-recipients): New functions.
20166 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20167
20168 * mail/rmail.el (rmail-epa-decrypt): New command.
20169
20170 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20171 Don't bind buffer-read-only, just inhibit-read-only.
20172 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20173 (epa-decrypt-armor-in-region): Make error message clearer.
20174
20175 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20176
20177 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20178 and "a2b" to "ab" for `prefix'.
20179
20180 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20181
20182 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20183 filter groups.
20184 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20185 Fourquet (Bug#8804).
20186
20187 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20188
20189 * startup.el (argi): Declare as global variable (bug#9275).
20190
20191 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20192
20193 * subr.el (string-mark-left-to-right): Search the entire string
20194 for RTL script, not just the terminating character. Doc fix.
20195
20196 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20197
20198 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20199 New function.
20200 (js--regexp-literal, js-syntax-propertize-function): Remove.
20201 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20202 (js-mode-map): Don't rebind electric keys.
20203 (js-insert-and-indent): Remove.
20204 (js-mode): Setup electric-layout and electric-indent instead.
20205
20206 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20207
20208 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20209
20210 * epa.el (epa-progress-callback-function): Fix the logic of
20211 displaying progress.
20212 * epa-file.el (epa-file-insert-file-contents): Make progress
20213 display more user-friendly.
20214 (epa-file-write-region): Ditto.
20215
20216 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20217
20218 * subr.el (string-mark-left-to-right): New function.
20219
20220 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20221 Use string-mark-left-to-right.
20222 (list-buffers-noselect): Caller changed.
20223
20224 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20225 Use string-mark-left-to-right.
20226 (tabulated-list-print): Recenter after moving point.
20227
20228 2011-08-10 Juri Linkov <juri@jurta.org>
20229
20230 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20231 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20232 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20233
20234 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20235
20236 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20237 (Bug#7554).
20238
20239 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20240
20241 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20242 character. (Bug#6594)
20243
20244 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20245
20246 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20247 (image-dired--with-db-file): New macro.
20248 (image-dired-write-tags, image-dired-remove-tag)
20249 (image-dired-create-gallery-lists, image-dired-write-comments)
20250 (image-dired-get-comment, image-dired-mark-tagged-files)
20251 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20252 (image-dired-gallery-generate): Use insert-file-contents.
20253
20254 * time.el (display-time-world-list, display-time-world-display):
20255 * time-stamp.el (time-stamp-string):
20256 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20257 set-time-zone-rule (Bug#7337).
20258
20259 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20260
20261 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20262 (epg-error-to-string, epg-errors-to-string): New function.
20263 (epg-wait-for-completion): Reverse errors list.
20264 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20265 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20266 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20267 (epg-sign-keys, epg-generate-key-from-file)
20268 (epg-generate-key-from-string): Format errors by using
20269 epg-errors-to-string (bug#9255).
20270 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20271
20272 2011-08-07 Juri Linkov <juri@jurta.org>
20273
20274 * faces.el (list-faces-display): Remove extra angle bracket
20275 from `help-mode-map'.
20276
20277 * info.el (Info-history-toc-nodes): Doc fix.
20278
20279 * longlines.el (longlines-mode): Doc fix.
20280
20281 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20282
20283 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20284 of statements and in a few more cases (bug#9183).
20285
20286 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20287 New functions.
20288 (cl-transform-lambda): Use them (bug#9239).
20289
20290 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20291
20292 * window.el (display-buffer-same-window)
20293 (display-buffer-same-frame, display-buffer-other-window)
20294 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20295 (pop-to-buffer-other-window)
20296 (pop-to-buffer-same-frame-other-window)
20297 (pop-to-buffer-other-frame): Make them defuns.
20298 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20299
20300 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20301
20302 * subr.el (make-composed-keymap): Move from C. Change calling
20303 convention, and improve docstring to bring attention to a subtle point.
20304 * minibuffer.el (completing-read-default): Adjust accordingly.
20305
20306 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20307
20308 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20309 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20310
20311 * net/trampver.el: Update release number.
20312
20313 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20314
20315 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20316 "in" (bug#9190).
20317
20318 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20319
20320 * mail/sendmail.el (sendmail-query-once): Restore the current
20321 buffer after querying (bug#9074).
20322
20323 * dired.el (dired-flagged): Use different faces for marked and
20324 flagged files (bug#6117).
20325
20326 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20327 (bug#4433).
20328
20329 * ido.el (ido-mode): Switch off the message if called
20330 non-interactively.
20331
20332 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20333 before 587, since it appears that that's more likely to work for
20334 more people.
20335
20336 * cus-edit.el (custom-file): When running under emacs -q, always
20337 refuse to save the customizations, even if the .emacs file doesn't
20338 exist.
20339
20340 * info.el: Remove the `Info-beginning-of-buffer' function
20341 (bug#8325).
20342
20343 * net/network-stream.el (network-stream-open-starttls):
20344 Use `starttls-available-p' to see whether starttls.el can be used.
20345
20346 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20347
20348 * window.el (display-buffer-in-window): Don't set dedicated status
20349 of window here (Bug#9215).
20350 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20351 (display-buffer-pop-up-side-window)
20352 (display-buffer-in-side-window): Set dedicated status of window here.
20353
20354 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20355
20356 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20357 before binding generated-autoload-file.
20358
20359 2011-08-01 Deniz Dogan <deniz@dogan.se>
20360
20361 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20362
20363 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20364
20365 Sync with Tramp 2.2.2.
20366
20367 * net/trampver.el: Update release number.
20368
20369 2011-07-30 Juri Linkov <juri@jurta.org>
20370
20371 * dired-aux.el (dired-touch-initial): Remove function.
20372 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20373 current time, and `default' to the last modification time of the
20374 current marked file (bug#6887).
20375
20376 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20377
20378 * simple.el (goto-line): Use string-to-number to provide a
20379 numeric argument to read-number (bug#9163).
20380
20381 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20382
20383 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20384 connection process, it could be nil.
20385
20386 2011-07-27 Leo Liu <sdl.web@gmail.com>
20387
20388 Simplify url handling in rcirc-mode.
20389
20390 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20391 (rcirc-browse-url-at-mouse): Remove.
20392 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20393
20394 2011-07-26 Alan Mackenzie <acm@muc.de>
20395
20396 Fontify bitfield declarations properly.
20397
20398 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20399 (c-symbol-chars): Now exported as a lang variable.
20400 (c-not-primitive-type-keywords): New lang variable.
20401
20402 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20403 QT keyword "more" to prevent "more slots: ...." being spuriously
20404 parsed as a bitfield declaration.
20405
20406 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20407 Refactor and enhance to handle bitfield declarations.
20408 (c-punctuation-in): New function.
20409 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20410 declarations properly.
20411
20412 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20413
20414 * calendar/icalendar.el (icalendar--all-events): Take care of
20415 multiple vcalendars in a single file.
20416 (icalendar--convert-float-to-ical): Checkdoc fixes.
20417
20418 2011-07-25 Deniz Dogan <deniz@dogan.se>
20419
20420 * image.el (insert-image): Clarifying docstring.
20421
20422 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20423
20424 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20425 `tramp-send-command-and-check' if there is no error.
20426 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20427
20428 2011-07-22 Alan Mackenzie <acm@muc.de>
20429
20430 Prevent cc-langs.elc being loaded at run time.
20431
20432 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20433 cc-langs.
20434
20435 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20436 "(require 'cc-langs)". Quote a form so it will evaluate at
20437 (cc-mode's) compilation time.
20438
20439 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20440
20441 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20442 loading. (Bug#9114)
20443
20444 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20445
20446 * window.el (display-buffer-pop-up-window)
20447 (display-buffer-pop-up-side-window)
20448 (display-buffer-in-side-window): Call display-buffer-set-height
20449 and display-buffer-set-width after setting the new window's
20450 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20451
20452 2011-07-20 Sam Steingold <sds@gnu.org>
20453
20454 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20455 (etags-tags-included-tables): Call `convert-standard-filename' on
20456 the file names contained in TAGS so that windows Emacs can handle
20457 TAGS files created by cygwin ctags.
20458
20459 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20460
20461 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20462 which apparently didn't work.
20463
20464 2011-07-19 Roland Winkler <winkler@gnu.org>
20465
20466 * proced.el (proced-send-signal): For *Marked Processes* buffer
20467 put point at beginning of buffer.
20468
20469 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20470
20471 * proced.el (proced-format): Make header lines align with the text
20472 (bug#1779).
20473
20474 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20475
20476 * view.el (view-buffer): Allow running in `special' modes if we're
20477 visiting a file (bug#8615).
20478
20479 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20480
20481 * window.el (display-buffer-alist-of-strings-p)
20482 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20483 New functions.
20484 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20485 more accurately.
20486
20487 2011-07-18 Alan Mackenzie <acm@muc.de>
20488
20489 Fontify declarators properly when, e.g., a jit-lock chunk begins
20490 inside a declaration.
20491
20492 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20493
20494 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20495 New function.
20496 (c-complex-decl-matchers): Insert reference to
20497 c-font-lock-enclosing-decls.
20498
20499 * progmodes/cc-engine.el (c-backward-single-comment):
20500 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20501 to nil around calls to (forward-comment -1).
20502
20503 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20504
20505 * image.el (put-image): Doc typo fix.
20506
20507 * progmodes/etags.el (tags-search): Doc typo fix.
20508
20509 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20510 password if we get errors 550 to 554.
20511
20512 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20513
20514 * net/gnutls.el (gnutls-log-level): Remove.
20515
20516 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20517 indentation character (bug#6380).
20518
20519 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20520
20521 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20522 to clarify what the problem is (bug#4291).
20523
20524 * simple.el (current-kill): Clarify what
20525 `interprogram-paste-function' does (bug#7500).
20526 (auto-fill-mode): Document `auto-fill-function' in relation to
20527 `auto-fill-mode' (bug#2470).
20528
20529 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20530
20531 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20532 method if slot is read-only (bug#9035).
20533
20534 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20535
20536 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20537 * window.el (pop-to-buffer): Select window used even if it was
20538 selected before, see discussion of (Bug#8615), (Bug#6954).
20539 Pass argument NORECORD on to select-frame-set-input-focus.
20540
20541 2011-07-15 Glenn Morris <rgm@gnu.org>
20542
20543 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20544 Respect help-form.
20545
20546 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20547
20548 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20549 (gnutls-negotiate): Use it.
20550
20551 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20552
20553 * net/gnutls.el (gnutls-negotiate):
20554 Upcase `gnutls-algorithm-priority'.
20555
20556 2011-07-15 Glenn Morris <rgm@gnu.org>
20557
20558 * jka-compr.el (jka-compr-verbose): Move from here...
20559 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20560 Add missing :version tag.
20561 * info.el: No need to require jka-compr when compiling.
20562
20563 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20564
20565 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20566 (gnutls-negotiate): Use it.
20567
20568 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20569
20570 * info.el (Info-beginning-of-buffer): New command.
20571 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20572 announcing `b' as the key (bug#8325).
20573 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20574
20575 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20576
20577 * international/mule-cmds.el
20578 (describe-specified-language-support): Make the error message
20579 clearer (bug#8905).
20580
20581 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20582
20583 * isearch.el (isearch-barrier): Add a doc string, since it's
20584 mentioned in a function doc string (bug#8678).
20585
20586 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20587
20588 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20589 buffer argument (Bug#9083) and self-identifying label argument.
20590
20591 2011-07-15 Glenn Morris <rgm@gnu.org>
20592
20593 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20594
20595 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20596
20597 * man.el (Man-fontify-manpage): Fix message when formatting the
20598 man page (bug#7929).
20599
20600 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20601
20602 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20603 argument LRM; if non-nil, append an invisible LRM character to the
20604 buffer name.
20605 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20606 last argument non-nil, when formatting buffer names.
20607 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20608 paragraph direction.
20609
20610 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20611
20612 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20613 the man page name (bug#7929).
20614
20615 * image.el (put-image): Mention the `put-image' overlay property
20616 (bug#7834).
20617
20618 * scroll-bar.el (set-scroll-bar-mode): Mention that
20619 `scroll-bar-mode' lists the values (bug#7772).
20620
20621 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20622 command (bug#7729).
20623
20624 * rect.el (apply-on-rectangle): Return the point after the last
20625 operation.
20626 (string-rectangle): Go to the point after the last operation
20627 (bug#7522).
20628
20629 * printing.el (pr-toggle-region): Clarify the documentation
20630 slightly (bug#7493).
20631
20632 * time.el (display-time-update):
20633 Allow `display-time-mail-function' to return nil (bug#7158).
20634 Fix suggested by Detlev Zundel.
20635
20636 * vc/diff.el (diff): Clarify the order the file names are read
20637 (bug#7111).
20638
20639 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20640 the doc string (bug#7015).
20641
20642 * font-lock.el (font-lock-maximum-decoration): Mention what
20643 numeric levels mean (bug#6935).
20644
20645 * startup.el (initial-buffer-choice): Don't mention the `none'
20646 selection, which is against policy.
20647
20648 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20649
20650 * window.el (display-buffer-normalize-special):
20651 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20652
20653 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20654
20655 * subr.el (version<, version<=, version=): Mention "-CVS" and
20656 "-12345" alpha version numbers.
20657
20658 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20659
20660 * bindings.el: Add advertised binding for set-mark-command
20661 (Bug#5772).
20662
20663 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20664
20665 * bindings.el (mode-line-other-buffer):
20666 * bookmark.el (bookmark-bmenu-2-window):
20667 * bs.el (bs-cycle-next, bs-cycle-previous):
20668 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20669 switch-to-buffer.
20670
20671 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20672 Delete.
20673
20674 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20675
20676 * follow.el (follow-debug-message, follow-redisplay):
20677 * jka-cmpr-hook.el (with-auto-compression-mode):
20678 Fix typos in docstrings.
20679
20680 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20681
20682 * subr.el (with-silent-modifications): Clarify somewhat what the
20683 macro inhibits (bug#6525).
20684
20685 * simple.el (eval-expression): Note what it does if called
20686 interactively (bug#6495).
20687
20688 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20689
20690 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20691 Use pop-to-buffer buffer-or-name if it is nil.
20692
20693 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20694 Remove switch-to-buffer.
20695
20696 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20697
20698 * files.el (make-directory): Clarify that an error will be raised
20699 if there's an error (bug#6397).
20700
20701 * startup.el (initial-buffer-choice): Add `none' as a choice
20702 (bug#6234).
20703
20704 * subr.el (add-hook): Clarify section about buffer-local hooks
20705 (bug#6218).
20706
20707 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20708
20709 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20710
20711 * tabify.el (untabify): Preserve the current column so that point
20712 doesn't move (bug#6032).
20713
20714 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20715
20716 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20717 Rewrite to avoid awkward possessive "s" (bug#5986).
20718
20719 2011-07-13 Glenn Morris <rgm@gnu.org>
20720
20721 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20722 (dired-insert-directory): Give a message the first time
20723 if ls is found not to support --dired.
20724
20725 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20726
20727 * simple.el (toggle-truncate-lines): Clarify what is toggled
20728 (bug#5580). Text by Drew Adams.
20729
20730 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20731
20732 * simple.el (blink-matching-open): Make the error message from the
20733 last change less verbose.
20734
20735 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20736
20737 * font-lock.el (font-lock-comment-face): Use the high contrast
20738 "yellow" color for font-lock-comment-face on low color terminals
20739 using a dark background color (bug#4221).
20740
20741 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20742
20743 * dired.el (dired-insert-set-properties): Make the doc string
20744 reflect what it does now (bug#5325).
20745
20746 * simple.el (blink-matching-open): Say that we were unable to find
20747 the match within the limit, if we're limited (bug#5122).
20748
20749 * international/mule-cmds.el (prefer-coding-system): Add an
20750 example (bug#4869).
20751
20752 * progmodes/etags.el (tags-search): Document `file-list-form'
20753 (bug#4731).
20754
20755 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20756
20757 * net/browse-url.el (browse-url-default-browser)
20758 (browse-url-browser-function): Make the default browser choice a
20759 bit more logical (bug#4300). Also clean up the doc string.
20760
20761 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20762
20763 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20764 binary endings (bug#4440).
20765
20766 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20767
20768 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20769 which can be pretty annoying (bug#8971).
20770
20771 * jka-compr.el (jka-compr-verbose): New variable, and use
20772 throughout (bug#8971).
20773
20774 * info.el (Info-find-file): Fall back on the installation
20775 directory if we can't find the info node anywhere else.
20776
20777 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20778
20779 * vc/vc.el (vc-revert-file):
20780 Don't set file time-stamp in the past. (Bug#5181)
20781
20782 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20783
20784 * files.el (after-find-file): Give a better error message when
20785 trying to find a symlink that points to a file that doesn't exist
20786 (bug#4398).
20787
20788 * progmodes/cc-vars.el: Remove (probably) misleading comment
20789 (bug#4396).
20790
20791 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20792
20793 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20794
20795 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20796
20797 * mouse-sel.el: Hack restoring functionality, while keeping
20798 compatibility with 2010-07-03 changes to mouse selection.
20799 (mouse-sel-primary-overlay): New var.
20800 (mouse-sel-selection-alist): Use it.
20801 (mouse-sel-mode): Doc fix; remove points that are default features
20802 of mouse.el.
20803
20804 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20805
20806 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20807 Fix previous fix (bug#2490).
20808
20809 2011-07-12 Roland Winkler <winkler@gnu.org>
20810
20811 * textmodes/bibtex.el (bibtex-initialize):
20812 Use pop-to-buffer-same-window.
20813 (bibtex-search-entries): Fix interactive call.
20814
20815 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20816
20817 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20818 Fontise bytecomp Error lines more correctly (bug#2490).
20819 Fix suggested by Johan Bockgård.
20820
20821 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20822
20823 * dired-x.el (dired-guess-default): Use `delete-dups'.
20824
20825 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20826
20827 * dired.el (dired-mark-prompt):
20828 * dired-aux.el (dired-read-shell-command): Doc fix.
20829
20830 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20831
20832 * mail/sendmail.el (sendmail-query-once):
20833 Use `customize-save-variable' unconditionally, now that it works under
20834 emacs -Q.
20835
20836 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20837
20838 * cus-edit.el (custom-file): Take an optional no-error variable.
20839 (customize-save-variable): Set the variable, and give a warning if
20840 running under "emacs -q".
20841
20842 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20843
20844 * loadhist.el (unload-feature-special-hooks):
20845 Add `auto-coding-functions', `fill-nobreak-predicate' and
20846 `find-directory-functions' (bug#5327).
20847
20848 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20849
20850 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20851
20852 * cus-edit.el (custom-guess-name-alist): -alist variables should
20853 use the `alist' type (bug#3120). Suggested by Drew Adams.
20854
20855 * printing.el: Add documentation to all the `pr-toggle-' commands.
20856
20857 2011-07-11 Leo Liu <sdl.web@gmail.com>
20858
20859 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20860 backends where it makes sense (bug#2623).
20861
20862 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20863
20864 * dired-x.el (dired-guess-default): Remove duplicate shell command
20865 entries (bug#2028).
20866 (dired-guess-default): Fix grammar in doc string (bug#2028).
20867 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20868
20869 * subr.el (remove-duplicates): New conveniency function.
20870
20871 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20872
20873 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20874 (bug#1526).
20875
20876 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20877
20878 * window.el (display-buffer-normalize-default): Don't invert
20879 meaning of even-window-heights. Reported by Eli Zaretskii
20880 <eliz@gnu.org>.
20881
20882 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20883
20884 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20885
20886 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20887
20888 * window.el (display-buffer): Fix arguments to
20889 display-buffer-reuse-window in last change.
20890
20891 * faces.el (link): Use a less saturated blue on light backgrounds.
20892
20893 * startup.el (fancy-startup-text, fancy-about-text)
20894 (fancy-startup-tail): Use font-lock faces, for background safety.
20895
20896 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20897
20898 * emulation/viper-cmd.el (viper-change-state-to-vi):
20899 Limit triggering of abbrev expansion (Bug#9038).
20900
20901 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20902
20903 * window.el (display-buffer-default-specifiers): Remove.
20904 (display-buffer-macro-specifiers): Remove default specifiers.
20905 (display-buffer-alist): Default to nil.
20906 (display-buffer-reuse-window): New optional argument other-window.
20907 (display-buffer-pop-up-window): Allow splitting internal
20908 windows. Check whether a live window was created.
20909 (display-buffer-other-window-means-other-frame)
20910 (display-buffer-normalize-arguments): Rename to
20911 display-buffer-normalize-argument and rewrite. Set the
20912 other-window specifier.
20913 (display-buffer-normalize-special): New function.
20914 (display-buffer-normalize-options): Rename to
20915 display-buffer-normalize-default and rewrite.
20916 (display-buffer-normalize-options-inhibit): Remove.
20917 (display-buffer-normalize-specifiers): Rewrite.
20918 (display-buffer): Process other-window specifier and call
20919 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20920 more faithfully.
20921 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20922 (display-buffer-alist-set): Don't handle 'unset default values.
20923 (display-buffer-in-window, display-buffer-alist-set):
20924 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20925 <tassilo@member.fsf.org>.
20926
20927 2011-07-09 Leo Liu <sdl.web@gmail.com>
20928
20929 * register.el (insert-register): Restore accidental change on
20930 2011-06-26. (Bug#9028)
20931
20932 2011-07-09 Glenn Morris <rgm@gnu.org>
20933
20934 * subr.el (remq): Handle the empty list. (Bug#9024)
20935
20936 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20937
20938 * mail/sendmail.el (send-mail-function): No longer delay custom
20939 initialization.
20940 * custom.el (custom-initialize-delay): Doc fix.
20941
20942 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20943
20944 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20945
20946 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20947
20948 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20949 human-friendly prompt.
20950
20951 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20952
20953 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20954 provided by a particular plugin.
20955
20956 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20957
20958 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20959 save customizations (with "emacs -Q"), just set the variable
20960 instead of erroring out.
20961
20962 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20963
20964 2011-07-08 Juri Linkov <juri@jurta.org>
20965
20966 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20967 (archive-zip-update-case): Use 7z if found by `executable-find'.
20968 The order of searching the available programs is the same as in
20969 `archive-zip-extract' (bug#8968).
20970
20971 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20972
20973 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20974 (menu-bar-options-menu): Tweak descriptions.
20975
20976 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20977
20978 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20979 menu items into verb phrases (bug#1421). Also refill to fit under
20980 80 columns.
20981
20982 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20983
20984 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20985 (Info-read-node-name): Doc fix (Bug#1084).
20986
20987 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20988 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20989 (end-of-sexp, beginning-of-sexp)
20990 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20991 (forward-symbol, forward-same-syntax, word-at-point)
20992 (sentence-at-point): Doc fix (Bug#1144).
20993
20994 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20995
20996 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20997 should cover it (bug#1281).
20998
20999 * cus-edit.el (custom-show): Mark as obsolete.
21000
21001 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21002 negotiation fails, then possibly try again with a non-encrypted
21003 connection (bug#9017).
21004
21005 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21006 be used.
21007
21008 2011-07-07 Richard Stallman <rms@gnu.org>
21009
21010 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21011 property, and handle its changed format.
21012 Look for the correct line number.
21013 Use file's line contents (but not past first =) to find
21014 correct line in message.
21015
21016 2011-07-07 Kenichi Handa <handa@m17n.org>
21017
21018 * international/characters.el (build-unicode-category-table):
21019 Delete it.
21020 (unicode-category-table): Set it by unicode-property-table-internal.
21021
21022 * international/mule-cmds.el (char-code-property-alist): Move to
21023 to src/chartab.c.
21024 (get-char-code-property): Call unicode-property-table-internal to
21025 load a file. Call get-unicode-property-internal where necessary.
21026 (put-char-code-property): Call unicode-property-table-internal to
21027 load a file. Call put-unicode-property-internal where necessary.
21028 put-unicode-property-internal where necessary.
21029 (char-code-property-description):
21030 Call unicode-property-table-internal to load a file.
21031
21032 * international/charprop.el:
21033 * international/uni-bidi.el:
21034 * international/uni-category.el:
21035 * international/uni-combining.el:
21036 * international/uni-comment.el:
21037 * international/uni-decimal.el:
21038 * international/uni-decomposition.el:
21039 * international/uni-digit.el:
21040 * international/uni-lowercase.el:
21041 * international/uni-mirrored.el:
21042 * international/uni-name.el:
21043 * international/uni-numeric.el:
21044 * international/uni-old-name.el:
21045 * international/uni-titlecase.el:
21046 * international/uni-uppercase.el: Regenerate.
21047
21048 * loadup.el: Load international/charprop.el before
21049 international/characters.
21050
21051 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21052
21053 * window.el (next-buffer, previous-buffer): Signal an error if
21054 called from a minibuffer window.
21055
21056 * bindings.el: Revert 2011-07-04 change.
21057
21058 2011-07-06 Richard Stallman <rms@gnu.org>
21059
21060 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21061 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21062 Treat markers like ints.
21063 (rmail-mime-entity): Doc fix.
21064
21065 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21066
21067 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21068 defcustom again for backwards compatibility.
21069
21070 * simple.el (shell-command-on-region): Fill.
21071
21072 * dired-aux.el (dired-kill-line): Add a doc string.
21073
21074 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21075 to "\\sw\\|\\s_" (bug#358).
21076
21077 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21078 (dired-unmark-backward): Ditto.
21079 (dired-flag-backup-files): Ditto.
21080
21081 * dired-x.el (dired-mark-sexp): Ditto.
21082
21083 2011-07-06 Richard Stallman <rms@gnu.org>
21084
21085 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21086 (rmail-mime-entity): New arg TRUNCATED.
21087 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21088 New functions.
21089 (rmail-mime-save): Warn if entity is truncated.
21090 (rmail-mime-toggle-hidden): Likewise, for showing.
21091 (rmail-mime-process-multipart): Record when an entity is truncated.
21092
21093 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21094 if ENTITY is a string.
21095
21096 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21097
21098 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21099 of faces when `M-C-x'-ing their definitions (bug#8378).
21100 Also clean up the code slightly.
21101
21102 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21103 because that makes the colors go away.
21104
21105 * mail/sendmail.el (send-mail-function): Change the default to
21106 `sendmail-query-once'.
21107 (sendmail-query-once): Add an autoload cookie.
21108
21109 * net/network-stream.el (network-stream-open-starttls): Try using
21110 a plain connection even if the server offered STARTTLS, and we
21111 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21112 capability. This should make smtpmail.el work in slightly more
21113 configurations.
21114
21115 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21116
21117 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21118 New defun.
21119 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21120
21121 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21122
21123 * progmodes/sql.el: Version 3.0
21124 (sql-product-alist): Add product :completion-object,
21125 :completion-column, and :statement attributes.
21126 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21127 (sql-mode-syntax-table): Mark all punctuation.
21128 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21129 ansi keywords.
21130 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21131 (sql-mode-oracle-font-lock-keywords): Improve.
21132 (sql-oracle-show-reserved-words): New function for development.
21133 (sql-product-font-lock): Simplify for source code buffers.
21134 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21135 New functions.
21136 (sql-highlight-product): Set product specific syntax table.
21137 (sql-mode-map): Add statement movement functions.
21138 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21139 New variable.
21140 (sql-statement-regexp, sql-beginning-of-statement)
21141 (sql-end-of-statement, sql-signum): New functions.
21142 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21143 (sql-show-sqli-buffer): Bug fix.
21144 (sql-interactive-mode): Store connection data as buffer local.
21145 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21146 with sql-interactive-mode.
21147 (sql-save-connection): Save buffer local settings.
21148 (sql-connection-menu-filter): Change menu entry name.
21149 (sql-product-interactive): Bug fix.
21150 (sql-preoutput-hold): New variable.
21151 (sql-interactive-remove-continuation-prompt): Bug fixes.
21152 (sql-debug-redirect): New variable.
21153 (sql-str-literal): New function.
21154 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21155 Redesign.
21156 (sql-oracle-save-settings, sql-oracle-restore-settings)
21157 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21158 (sql-completion-object, sql-completion-column)
21159 (sql-completion-sqlbuf): New variables.
21160 (sql-build-completions-1, sql-build-completions)
21161 (sql-try-completion): New functions.
21162 (sql-read-table-name): Use them.
21163 (sql-contains-names): New buffer local variable.
21164 (sql-list-all, sql-list-table): Use it.
21165 (sql-oracle-completion-types): New variable.
21166 (sql-oracle-completion-object, sql-sqlite-completion-object)
21167 (sql-postgres-completion-object): New functions.
21168
21169 2011-07-06 Glenn Morris <rgm@gnu.org>
21170
21171 * window.el (pop-to-buffer): Doc fix.
21172
21173 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21174
21175 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21176
21177 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21178
21179 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21180
21181 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21182
21183 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21184
21185 * button.el (button): Inherit from link face. Suggested by Dan
21186 Nicolaescu.
21187
21188 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21189
21190 * progmodes/gdb-mi.el: Fit in 80 columns.
21191 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21192 switch-to-buffer.
21193
21194 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21195 if imenu is simply not configured (bug#8941).
21196
21197 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21198
21199 * allout.el (allout-post-undo-hook): New allout outline-change
21200 event hook to signal undo activity.
21201 (allout-post-command-business): Run allout-post-undo-hook if an
21202 undo just occurred.
21203 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21204 * allout-widgets.el (allout-widgets-after-undo-function):
21205 Ensure the integrity of the current item's decoration after it has been
21206 in the vicinity of an undo.
21207 (allout-widgets-mode): Include allout-widgets-after-undo-function
21208 on the new allout-post-undo-hook.
21209
21210 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21211
21212 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21213 Let define-derived-mode define it.
21214 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21215 cycles of abbrev-table inheritance (bug#8998).
21216
21217 2011-07-05 Roland Winkler <winkler@gnu.org>
21218
21219 * textmodes/bibtex.el: Add support for biblatex.
21220 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21221 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21222 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21223 (bibtex-entry-alist, bibtex-field-alist): New variables.
21224 (bibtex-entry-field-alist): Obsolete alias for
21225 bibtex-BibTeX-entry-alist.
21226 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21227 (bibtex-set-dialect): New command.
21228 (bibtex-entry-type, bibtex-entry-head)
21229 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21230 Bind via bibtex-set-dialect.
21231 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21232 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21233 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21234 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21235 Define via bibtex-set-dialect.
21236 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21237 Obey bibtex-no-opt-remove-re.
21238 (bibtex-vec-push, bibtex-vec-incr): New functions.
21239 (bibtex-format-entry, bibtex-field-list)
21240 (bibtex-print-help-message, bibtex-validate)
21241 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21242
21243 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21244
21245 * progmodes/compile.el (compilation-goto-locus):
21246 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21247 * bs.el (bs-cycle-next, bs-cycle-previous):
21248 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21249 * bindings.el (mode-line-other-buffer):
21250 * autoinsert.el (auto-insert):
21251 * arc-mode.el (archive-extract):
21252 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21253
21254 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21255
21256 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21257 Fix check of `emacs-lock-unlockable-modes'.
21258 Coerce true values of `emacs-lock--try-unlocking' to t.
21259
21260 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21261
21262 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21263 * emacs-lock.el: New file.
21264
21265 2011-07-05 Julien Danjou <julien@danjou.info>
21266
21267 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21268 than `boundp' to check if face is set.
21269
21270 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21271
21272 * register.el (registerv-make):
21273 * window.el (window-min-height): Fix typos in docstrings.
21274
21275 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21276
21277 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21278 Update doc string.
21279
21280 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21281
21282 * server.el (server-execute): Catch quit and call
21283 `server-return-error' to pass the error back to emacsclient and
21284 close the connection (bug#8942).
21285
21286 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21287
21288 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21289 insecure exception for current topic. Also note that auto-saves
21290 are handled differently.
21291
21292 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21293 State variables for tracking auto-save inhibition situation.
21294
21295 (allout-write-contents-hook-handler): Rename from
21296 'allout-write-file-hook-handler', and describe how it depends on
21297 write-contents-functions sensitivity to non-nil value to prevent
21298 file write.
21299
21300 (allout-auto-save-hook-handler): Remove. auto-save does not check
21301 this in individual buffers, only in the starting buffer, so this
21302 is not the right way for us to inhibit auto-save in a buffer
21303 according to its condition.
21304
21305 (allout-mode): Use new allout-write-contents-hook-handler, and
21306 only with write-contents-functions. Remove auto-save provisions -
21307 they're implemented elsewhere.
21308
21309 (allout-before-change-handler): If undo is in progress, note that
21310 for attention of allout-post-command-business.
21311
21312 (allout-post-command-business): If the command we're following was
21313 an undo, check for change in the status of encrypted items and
21314 adjust auto-save inhibitions accordingly.
21315
21316 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21317 according to whether there are or aren't any plain-text topics
21318 pending encryption.
21319
21320 (allout-inhibit-auto-save-info-for-decryption):
21321 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21322 if there are plain-text topics pending encryption.
21323
21324 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21325 buffer-saved-size and some allout state to not inhibit auto-saves
21326 if there are no longer any plain-text topics pending encryption.
21327
21328 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21329 No longer provide for exemption of the current topic.
21330
21331 2011-07-04 Juri Linkov <juri@jurta.org>
21332
21333 Add 7z operations to delete and save changed members (bug#8968).
21334 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21335 New defcustoms.
21336 (archive-7z-write-file-member): New function.
21337 (archive-7z-summarize): Fix the number of dashes in the
21338 listing output.
21339
21340 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21341
21342 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21343 (bug#8958).
21344
21345 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21346
21347 * bindings.el: Ignore next-buffer and previous-buffer in
21348 minibuffer-local-map.
21349
21350 * font-lock.el (font-lock-builtin-face): Change light background
21351 color to dark slate blue (Bug#6693).
21352
21353 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21354
21355 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21356
21357 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21358
21359 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21360 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21361 Add switch-to-buffer.
21362
21363 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21364
21365 * isearch.el (isearch-search-fun-function): Clarify further the
21366 meaning of the function returned.
21367
21368 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21369
21370 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21371
21372 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21373 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21374 Use it.
21375 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21376 `tramp-default-remote-path' does not exist.
21377 (tramp-send-command-and-read): New optional argument NOERROR.
21378 (tramp-open-connection-setup-interactive-shell)
21379 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21380 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21381 (tramp-process-sentinel): Flush also process' connection property.
21382 (tramp-sh-handle-start-file-process): Do not set process
21383 sentinel. It is done now ...
21384 (tramp-maybe-open-connection): ... here. (Bug#8929)
21385
21386 2011-07-04 MON KEY <monkey@sandpframing.com>
21387
21388 * play/animate.el (animate-string): Doc fixes and allow changing
21389 the buffer name (bug#5417).
21390
21391 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21392
21393 * play/animate.el (animation-buffer-name): Rename from *animate*.
21394
21395 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21396
21397 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21398 This is simpler and helps future-proof the code.
21399 (timer-until): Use time-subtract and float-time.
21400 (timer--time-less-p): Use time-less-p.
21401
21402 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21403
21404 * type-break.el (timep): Use the value of `float-time' to avoid a
21405 byte-compiler warning.
21406
21407 * server.el (server-eval-and-print): Return any result, even nil.
21408
21409 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21410
21411 * type-break.el: Accept time formats that the builtins accept.
21412 (timep, type-break-time-difference): Accept any format that
21413 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21414 This is simpler and helps future-proof the code.
21415 (type-break-time-difference): Round rather than ignoring
21416 subseconds components.
21417
21418 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21419
21420 * info.el (Info-apropos-matches): Make non-interactive, since it
21421 doesn't seem to do anything useful as a command (bug#8829).
21422
21423 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21424
21425 * frame.el (frame-background-mode, frame-set-background-mode):
21426 Move from faces.el.
21427 (frame-default-terminal-background): New function.
21428
21429 * custom.el (custom-push-theme): Don't record faces in `changed'
21430 theme; this doesn't work correctly for per-frame face settings.
21431 (disable-theme): Use face-set-after-frame-default to reset faces.
21432 (custom--frame-color-default): New function.
21433
21434 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21435
21436 * dired.el (dired-flagging-regexp): Remove unused variable
21437 (bug#8769).
21438
21439 2011-03-29 Kevin Ryde <user42@zip.com.au>
21440
21441 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21442 `perl-Test2' extend to match possible "fail #N" rep count
21443 (bug#8377).
21444
21445 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21446
21447 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21448 `smtpmail-via-smtp' now returns the error instead of nil.
21449
21450 * isearch.el (isearch-search-fun-function): Clarify the doc string
21451 (bug#8101).
21452
21453 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21454
21455 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21456 unnecessary spaces (bug#8987).
21457
21458 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21459
21460 * net/network-stream.el (open-network-stream): Use the
21461 :end-of-capability command thoughout.
21462
21463 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21464
21465 * net/network-stream.el (open-network-stream): Add the
21466 :end-of-capability command parameter, used by pop3.el.
21467
21468 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21469
21470 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21471
21472 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21473 for list)" (bug#6475).
21474
21475 * files.el (file-expand-wildcards): Ignore non-readable
21476 sub-directories while trying to find matches instead of signaling
21477 an error (bug#6297).
21478
21479 * man.el (Man-reference-regexp): Allow matching possible
21480 word-wrapped references (bug#6289).
21481
21482 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21483 for consistency with the other vc buffers (bug#6197).
21484 (vc-checkin): Ditto.
21485
21486 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21487
21488 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21489
21490 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21491
21492 * custom.el (defcustom): Clarify that :set is only used in the
21493 Customize user interface (bug#6089).
21494
21495 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21496 associated with a file, refuse to run instead of erroring out
21497 (bug#6084).
21498
21499 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21500 the doc string, since it appears that using `fill-column' always
21501 controls the width (bug#7845).
21502
21503 * simple.el (shell-command-on-region): Say where the error output
21504 went if `shell-command-default-error-buffer' is set (bug#6857).
21505
21506 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21507
21508 * allout.el (allout-yank-processing): Adjust cursor position for
21509 backwards-deleted space.
21510
21511 (allout-rebullet-heading): Register changes with
21512 allout-exposure-changed-hook, so the modified topic is properly
21513 decorated.
21514
21515 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21516
21517 * minibuffer.el (completion-in-region): Document PREDICATE
21518 (bug#7136).
21519
21520 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21521 of keyword/argument pairs (bug#6904).
21522
21523 * replace.el (multi-occur):
21524 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21525
21526 2011-07-02 Drew Adams <drew.adams@oracle.com>
21527
21528 * dired.el (dired-mark-if): Make the message about whether it's
21529 marking or unmarking clearer (bug#8523).
21530
21531 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21532
21533 * disp-table.el (display-table-print-array): New function.
21534 (describe-display-table): Use it to print the vectors more pretty
21535 (Bug#8859).
21536
21537 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21538
21539 * window.el (window-state-get-1): Don't assign clone numbers.
21540 Add clone-of item to list of window parameters.
21541 (window-state-put-2): Don't process clone numbers.
21542 (display-buffer-alist): Fix doc-string.
21543
21544 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21545
21546 * subr.el (remq): Don't allocate if it's not needed.
21547 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21548 (keymap--merge-bindings): New functions.
21549 (keymap-canonicalize): Use them to refine the canonicalization.
21550 * minibuffer.el (minibuffer-local-completion-map)
21551 (minibuffer-local-must-match-map): Move initialization from C.
21552 (minibuffer-local-filename-completion-map): Move initialization from C;
21553 don't inherit from anything here.
21554 (minibuffer-local-filename-must-match-map): Make obsolete.
21555 (completing-read-default): Use make-composed-keymap to combine
21556 minibuffer-local-filename-completion-map with either
21557 minibuffer-local-must-match-map or
21558 minibuffer-local-filename-completion-map.
21559
21560 2011-07-01 Glenn Morris <rgm@gnu.org>
21561
21562 * type-break.el (type-break-time-sum): Use dolist.
21563
21564 * textmodes/flyspell.el (flyspell-word-search-backward):
21565 Replace CL function.
21566
21567 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21568
21569 * mouse.el (mouse--strip-first-event): New function.
21570 (function-key-map): Use it to map fringe clicks to normal clicks
21571 by default.
21572
21573 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21574 (vc-bzr-revision-completion-table): Add support for annotate and date.
21575
21576 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21577 inherit from parent.
21578
21579 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21580
21581 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21582 (dired-show-file-type): Doc fixup (bug#8818).
21583
21584 * dired.el (dired-mode): Fix up the doc string as suggested by
21585 Drew Adams (bug#8817).
21586
21587 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21588 cookie, since the manual says that it should be possible to add
21589 this function to `find-file-hook' (bug#8709).
21590
21591 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21592
21593 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21594 here. Noted Ted Zlatanov as the maintainer.
21595 (cfengine-common-settings, cfengine-common-syntax): New functions
21596 to set up common things between `cfengine-mode' and
21597 `cfengine3-mode'.
21598 (cfengine3-mode): New mode.
21599 (cfengine3-defuns cfengine3-defuns-regex
21600 (cfengine3-class-selector-regex cfengine3-category-regex)
21601 (cfengine3-vartypes cfengine3-font-lock-keywords)
21602 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21603 (cfengine3-indent-line): Add from cfengine3.el.
21604
21605 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21606
21607 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21608
21609 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21610
21611 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21612
21613 * window.el (same-window-buffer-names, same-window-regexps)
21614 (same-window-p, special-display-frame-alist)
21615 (special-display-popup-frame, special-display-function)
21616 (special-display-buffer-names, special-display-regexps)
21617 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21618 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21619 (split-window-preferred-function, split-height-threshold)
21620 (split-width-threshold, even-window-heights)
21621 (display-buffer-mark-dedicated, window-splittable-p)
21622 (split-window-sensibly, window-safely-shrinkable-p):
21623 Un-obsolete.
21624 (display-buffer): Don't spread args with function specifier
21625 because special-display-popup-frame won't like it.
21626
21627 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21628
21629 Time-stamp simplifications and fixes.
21630 These improve accuracy slightly, and future-proof the code
21631 against some potential changes to current-time format.
21632
21633 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21634 by using time-since and float-time.
21635
21636 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21637 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21638 + NNN microseconds".
21639
21640 * type-break.el (type-break-time-sum): Rewrite using time-add.
21641
21642 * play/hanoi.el (hanoi-current-time-float): Remove.
21643 All uses replaced by float-time.
21644
21645 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21646 This yields a more-accurate answer.
21647 (rng-time-to-float): Remove; no longer needed.
21648
21649 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21650
21651 * calendar/timeclock.el (timeclock-seconds-to-time):
21652 Defalias to seconds-to-time, since they're the same thing.
21653
21654 * emacs-lisp/elp.el (elp-elapsed-time):
21655 * emacs-lisp/benchmark.el (benchmark-elapse):
21656 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21657
21658 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21659
21660 * window.el (bury-buffer): Don't iconify the only frame.
21661 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21662 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21663
21664 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21665
21666 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21667 Add mouse-yank-primary.
21668
21669 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21670
21671 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21672
21673 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21674
21675 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21676 (find-library-name): Use it to find relative load names when provided
21677 absolute file name (bug#8803).
21678
21679 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21680
21681 * textmodes/flyspell.el (flyspell-word): Consider words that
21682 differ only in case as potential doublons (bug#5687).
21683
21684 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21685 Remove two rather uninteresting debugging-like messages to make
21686 debbugs.el more silent.
21687
21688 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21689 a password-like phrase.
21690
21691 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21692
21693 * progmodes/cc-guess.el: New file.
21694
21695 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21696
21697 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21698 derived from `c-basic-common-init'.
21699
21700 * progmodes/cc-mode.el (top-level): Require cc-guess.
21701 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21702
21703 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21704
21705 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21706
21707 2011-06-30 Alan Mackenzie <acm@muc.de>
21708
21709 * progmodes/cc-engine.el (c-guess-continued-construct):
21710 Correct the handling of template-args-cont, particularly for when font
21711 lock is disabled. Name this case as "CASE G".
21712
21713 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21714
21715 * allout.el (allout-yank-processing): Fix injection of extra space
21716 between bullet and non-whitespace character in first topic when
21717 pasting, ensuring that the actual spacing in the pasted topic
21718 following the bullet char is preserved. This extra space was
21719 causing pasted encrypted topics to get a decrypted status even
21720 when the content was actually still encrypted. Now the decryption
21721 status from before the paste is preserved.
21722
21723 (allout-flag-region): Set all allout overlays so they evaporate
21724 when reduced to zero length (evanescent), to prevent overlay
21725 leakage.
21726
21727 2011-06-30 Glenn Morris <rgm@gnu.org>
21728
21729 * w32-fns.el (w32-charset-info-alist): Declare.
21730
21731 * find-dired.el (find-grep-options): Simplify.
21732
21733 * term/ns-win.el (ns-set-resource): Declare.
21734
21735 * ses.el (row, col): Declare dynamic variables honestly.
21736
21737 * textmodes/reftex-parse.el (index-tags): Declare.
21738
21739 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21740
21741 * cus-edit.el (customize-push-and-save): New function.
21742
21743 * files.el (hack-local-variables-confirm): Use it.
21744
21745 * custom.el (load-theme): New arg NO-CONFIRM.
21746 Use customize-push-and-save (Bug#8720).
21747 (custom-enabled-themes): Doc fix.
21748
21749 * cus-theme.el (customize-create-theme)
21750 (custom-theme-merge-theme): Callers to load-theme changed.
21751
21752 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21753
21754 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21755 short URLs have at least one dot in them (bug #7614).
21756
21757 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21758 nil, because using a pty is apparently too slow (bug #895).
21759
21760 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21761
21762 * mail/sendmail.el (sendmail-query-once): New function.
21763 (sendmail-query-once-function): New variable.
21764
21765 2011-06-29 Glenn Morris <rgm@gnu.org>
21766
21767 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21768
21769 * ses.el (top-level): Require cl when compiling.
21770 (ses-set-localvars): Fix error statement.
21771 Call it at compile time to silence a storm of warnings.
21772
21773 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21774
21775 * window.el (normalize-live-buffer): Rename to
21776 window-normalize-buffer.
21777 (normalize-live-frame): Rename to window-normalize-frame.
21778 (normalize-any-window): Rename to window-normalize-any-window.
21779 (normalize-live-window): Rename to window-normalize-live-window.
21780 (make-window-atom): Rename to window-make-atom.
21781 (window-resize-reset): Rename to window--resize-reset.
21782 (window-resize-reset-1): Rename to window--resize-reset-1.
21783 (resize-mini-window): Rename to window--resize-mini-window.
21784 (resize-subwindows-skip-p): Rename to
21785 window--resize-subwindows-skip-p.
21786 (resize-subwindows-normal): Rename to
21787 window--resize-subwindows-normal.
21788 (resize-subwindows): Rename to window--resize-subwindows.
21789 (resize-other-windows): Rename to window--resize-siblings.
21790 (resize-this-window): Rename to window--resize-this-window.
21791 (resize-root-window): Rename to window--resize-root-window.
21792 (resize-root-window-vertically): Rename to
21793 window--resize-root-window-vertically.
21794 (normalize-buffer-to-display): Rename to
21795 window-normalize-buffer-to-display.
21796 (normalize-buffer-to-switch-to): Rename to
21797 window-normalize-buffer-to-switch-to.
21798 Correspondingly update all callers of the functions listed
21799 above.
21800 (display-buffer-alist, display-buffer-normalize-arguments)
21801 (display-buffer-normalize-options, display-buffer)
21802 (display-buffer-alist-set): Use "function" instead of
21803 "fun-with-args".
21804
21805 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21806
21807 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21808 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21809 debbugs.gnu.org. Mention acknowledgment email.
21810
21811 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21812
21813 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21814 buffer multibyteness, since it shouldn't matter.
21815
21816 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21817
21818 * window.el (display-buffer-in-side-window): Handle dedicated
21819 windows as in display-buffer-reuse-window.
21820 (display-buffer-normalize-alist): Use value of override
21821 specifier.
21822 (display-buffer-normalize-specifiers): Use value of
21823 other-window-means-other-frame specifier.
21824 (display-buffer-alist): Rewrite some texts in widgets.
21825 (display-buffer): Spread arguments when calling function
21826 specified by fun-with-args.
21827
21828 2011-06-28 Deniz Dogan <deniz@dogan.se>
21829
21830 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21831 Unnest `let'.
21832
21833 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21834 selectors (Bug#5732).
21835 (css-proprietary-nmstart-re): Use `regexp-opt'.
21836
21837 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21838
21839 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21840 (eshell-ls-date-format): New defcustom.
21841 (eshell-ls-file): Use it.
21842
21843 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21844
21845 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21846
21847 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21848
21849 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21850 (ange-ftp-make-tmp-name): New arg.
21851 (ange-ftp-file-local-copy): Use it.
21852
21853 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21854
21855 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21856 no-conversion (Bug#8870).
21857
21858 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21859
21860 * window.el (window-right, window-left, window-child)
21861 (window-child-count, window-last-child)
21862 (window-iso-combination-p, walk-window-tree-1)
21863 (window-atom-check-1, window-tree-1, delete-window)
21864 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21865 new naming conventions - window-vchild, window-hchild,
21866 window-next and window-prev are now called window-top-child,
21867 window-left-child, window-next-sibling and window-prev-sibling
21868 respectively.
21869 (resize-window-reset): Rename to window-resize-reset.
21870 (resize-window-reset-1): Rename to window-resize-reset-1.
21871 (resize-window): Rename to window-resize.
21872 (window-min-height, window-min-width)
21873 (resize-mini-window, resize-this-window, resize-root-window)
21874 (resize-root-window-vertically, adjust-window-trailing-edge)
21875 (enlarge-window, shrink-window, maximize-window)
21876 (minimize-window, delete-window, quit-restore-window)
21877 (split-window, balance-windows, balance-windows-area-adjust)
21878 (balance-windows-area, window-state-put-2)
21879 (display-buffer-even-window-sizes, display-buffer-set-height)
21880 (display-buffer-set-width, set-window-text-height)
21881 (fit-window-to-buffer): Rename all "resize-window" prefixed
21882 calls to use the "window-resize" prefix convention.
21883 (display-buffer-alist): Fix symbol for label specifier.
21884 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21885 corresponding specifier.
21886 Reported by Juanma Barranquero <lekktu@gmail.com>.
21887
21888 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21889
21890 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21891 convention.
21892 (ses-call-printer): Does not pass an empty string to formatter when the
21893 cell is empty to keep from barking printer Calc math-format-value.
21894
21895 2011-06-27 Richard Stallman <rms@gnu.org>
21896
21897 * battery.el (battery-mode-line-limit): New variable.
21898 (battery-update): Handle it.
21899
21900 * mail/rmailmm.el (rmail-mime-process-multipart):
21901 Handle truncated messages.
21902
21903 2011-06-27 Glenn Morris <rgm@gnu.org>
21904
21905 * progmodes/flymake.el (flymake-err-line-patterns):
21906 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21907
21908 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21909
21910 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21911 (ses--clean-!, ses--clean-_): New functions.
21912 (ses-range): Add configurability of readout order, and conversion
21913 to Calc vector.
21914
21915 * ses.el (ses-repair-cell-reference-all): New function.
21916 (ses-cell-symbol): Set macro as safe, so that it can be used in
21917 formulas.
21918
21919 * ses.el: Update cycle detection algorithm.
21920 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21921 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21922 (ses-set-localvars): New function.
21923 (ses-make-cell): Add property-list as a cell element.
21924 (ses-cell-property-get-fun, ses-cell-property-get)
21925 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21926 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21927 New functions.
21928 (ses-cell-property-set, ses-cell-property-pop)
21929 (ses-cell-property-get-handle): New macro.
21930 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21931 New aliases, used for code readability.
21932 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21933 cycle detection.
21934 (ses-self-reference-early-detection): New defcustom.
21935 (ses-formula-references): Robustify against self-referring cells.
21936 (ses-mode): Use ses-set-localvars.
21937 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21938 before lauching the update processing.
21939 (ses-initialize-Dijkstra-attempt): New function.
21940 (ses-recalculate-cell): Update for cycle detection based on
21941 Dijkstra algorithm.
21942
21943 * ses.el: Fix commenting and indenting convention.
21944
21945 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21946
21947 * bs.el (bs-cycle-next): Complete last change.
21948
21949 2011-06-27 Drew Adams <drew.adams@oracle.com>
21950
21951 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21952
21953 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21954
21955 * net/network-stream.el (network-stream-open-starttls):
21956 Don't re-get capabilities unless we've reestablished connection.
21957 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21958
21959 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21960 to binary to possibly avoid line encoding issues on Windows (among
21961 other things).
21962
21963 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21964
21965 * net/network-stream.el (open-network-stream): Return an :error
21966 saying what the problem was, if possible.
21967
21968 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21969 server.
21970
21971 * net/network-stream.el (network-stream-open-starttls): If we
21972 wanted to use STARTTLS, and the server offered it, but we weren't
21973 able to because we had no STARTTLS support, then close the connection.
21974 (open-network-stream): Return an :error element, if present.
21975
21976 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21977
21978 * hl-line.el (hl-line-sticky-flag): Doc fix.
21979 (global-hl-line-sticky-flag): New option (Bug#8323).
21980 (global-hl-line-highlight): Obey it.
21981
21982 * vc/vc.el (vc-revert-show-diff): Default to t.
21983
21984 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21985
21986 * allout-widgets.el (allout-widgets-post-command-business):
21987 Stop decorating intermediate isearch matches. They're not being
21988 undecorated when an isearch is continued past, and isearch
21989 automatically collapses them. This leads to "widget leaks", where
21990 decorated items accumulate in collapsed areas. Lines with lots of
21991 hidden widgets can slow down cursor travel, substantially.
21992 Too much complicated machinery would be needed to ensure undecoration,
21993 so we're doing without this nicety.
21994
21995 (allout-widgets-tally-string): Don't try to do a hash-table-count
21996 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21997 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21998 *Messages* when allout-widgets-maintain-tally is t.
21999
22000 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22001
22002 * window.el (display-buffer-normalize-argument): Rename to
22003 display-buffer-normalize-arguments. Handle special meaning of
22004 LABEL argument. Respect special-display-function when popping up
22005 a new frame. Fix code searching for a window showing the buffer
22006 on another frame.
22007 (display-buffer-normalize-specifiers):
22008 Call display-buffer-normalize-arguments.
22009 (display-buffer-in-window): Don't undedicate the window if its
22010 buffer remains the same.
22011 Reported by Drew Adams <drew.adams@oracle.com>.
22012 (display-buffer-alist): Add choice for same-window macro
22013 specfier.
22014 (display-buffer): Mention special meaning of LABEL argument in
22015 doc-string. Fix quoting. Don't pop up a new frame even as
22016 fallback.
22017
22018 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22019
22020 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22021 avoid deleting the current window in some cases (bug#8911).
22022
22023 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22024
22025 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22026 (Bug#8934)
22027
22028 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22029
22030 * net/network-stream.el (network-stream-open-starttls):
22031 Use built-in TLS support if `gnutls-available-p' is true.
22032 (network-stream-open-tls): Ditto.
22033
22034 2011-06-26 Leo Liu <sdl.web@gmail.com>
22035
22036 * register.el (registerv): New struct.
22037 (registerv-make): New function.
22038 (jump-to-register, describe-register-1, insert-register):
22039 Support the jump-func, print-func and insert-func slot of a registerv
22040 struct. (Bug#8415)
22041
22042 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22043
22044 * vc/vc.el (vc-revert-show-diff): New defcustom.
22045 (vc-diff-internal): New arg specifying diff buffer.
22046 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22047 reuse an existing *vc-diff* buffer (Bug#8927).
22048
22049 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22050
22051 2011-06-26 Glenn Morris <rgm@gnu.org>
22052
22053 * progmodes/f90.el (f90-critical-indent): New option.
22054 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22055 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22056 (f90-mode): Doc fix.
22057 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22058 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22059 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22060 (f90-match-end): Handle block, critical.
22061
22062 2011-06-25 Glenn Morris <rgm@gnu.org>
22063
22064 * calendar/diary-lib.el (diary-included-files): Doc fix.
22065 (diary-include-files): New function, extracted from
22066 diary-include-other-diary-files and diary-mark-included-diary-files.
22067 (diary-include-other-diary-files, diary-mark-included-diary-files):
22068 Just call diary-include-files.
22069 (diary-mark-entries): Reset diary-included-files on first call.
22070
22071 * calendar/diary-lib.el (diary-mark-entries)
22072 (diary-mark-included-diary-files):
22073 Visit included diary-files in temp buffers.
22074
22075 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22076 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22077 (f90-start-block-re, f90-imenu-generic-expression)
22078 (f90-looking-at-program-block-start, f90-no-block-limit):
22079 Add support for submodules.
22080
22081 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22082 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22083
22084 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22085
22086 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22087 buffer-file-type before setting its value, to avoid disastrous
22088 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22089
22090 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22091
22092 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22093
22094 * ses.el (ses-unload-function):
22095 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22096
22097 * proced.el (proced-unload-function):
22098 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22099
22100 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22101
22102 * server.el (server-create-window-system-frame): Add parameters arg.
22103 (server-process-filter): Doc fix. Handle frame-parameters.
22104
22105 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22106
22107 Fix bug#8730, bug#8781.
22108
22109 * loadhist.el (unload--set-major-mode): New function.
22110 (unload-feature): Use it.
22111
22112 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22113 (python-unload-function): New function.
22114
22115 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22116
22117 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22118
22119 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22120
22121 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22122 the candidates list.
22123
22124 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22125
22126 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22127
22128 2011-06-23 Richard Stallman <rms@gnu.org>
22129
22130 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22131 (rmail-variables): Set next-error-move-function.
22132 (rmail-what-message): Take argument POS.
22133 (rmail-next-error-move): New function.
22134
22135 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22136
22137 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22138 messages for adjacent non-terminals.
22139
22140 2011-06-23 Richard Stallman <rms@gnu.org>
22141
22142 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22143 (rmail-show-message-1): Preserve buffer modified flag.
22144 (rmail-start-mail): Don't specify use of rmail-mail-return;
22145 that's done by mail-bury now.
22146 (rmail-mail-return): Handle arg NEWBUF.
22147
22148 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22149
22150 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22151 SIZE is a number.
22152
22153 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22154
22155 * window.el (get-lru-window, get-mru-window)
22156 (get-largest-window): Never return a minibuffer window.
22157 (display-buffer-pop-up-window): Fix a bug that could lead to
22158 reusing the minibuffer window.
22159 (display-buffer): Pass original specifier argument to
22160 display-buffer-function instead of the normalized one.
22161 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22162
22163 2011-06-22 Leo Liu <sdl.web@gmail.com>
22164
22165 * minibuffer.el (completing-read-function)
22166 (completing-read-default): Move from minibuf.c.
22167
22168 2011-06-22 Richard Stallman <rms@gnu.org>
22169
22170 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22171 to Rmail even if not started by a special Rmail command.
22172
22173 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22174 Copy the buffer currently showing just one message.
22175
22176 2011-06-22 Roland Winkler <winkler@gnu.org>
22177
22178 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22179 (bibtex-clean-entry): First delete the old key so that a
22180 customized algorithm for generating the new key does not get
22181 confused by the old key.
22182 (bibtex-url): Obey regexp of first step.
22183 (bibtex-search-entries): Do not use add-to-list with local
22184 list-var.
22185
22186 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22187
22188 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22189 stored a user name, then query for the password first, instead of
22190 waiting for SMTP to give an error message and the trying again.
22191
22192 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22193
22194 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22195 BUFFER in call-process.
22196
22197 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22198
22199 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22200 QUIT twice.
22201 (smtpmail-try-auth-methods): Require user name and password from
22202 auth-source.
22203
22204 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22205
22206 * window.el (display-buffer-default-specifiers)
22207 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22208 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22209 (split-window): Normalize SIDE argument (Bug#8916).
22210
22211 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22212 (special-display-frame-alist, special-display-popup-frame):
22213 Remove duplicate declarations. These are now in window.el.
22214
22215 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22216
22217 * mail/smtpmail.el (smtpmail-via-smtp):
22218 Set :use-starttls-if-possible so that we always use STARTTLS if the
22219 server supports it. SMTP servers that support STARTTLS commonly
22220 require it.
22221
22222 * net/network-stream.el (network-stream-open-starttls): Support
22223 upgrading to STARTTLS always, even if we don't have built-in support.
22224 (open-network-stream): Add the :always-query-capabilities keyword.
22225
22226 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22227 upgrades with `open-network-stream', and rely solely on
22228 auth-source for all credentials. Big changes throughout the file,
22229 but in particular:
22230 (smtpmail-auth-credentials): Remove.
22231 (smtpmail-starttls-credentials): Remove.
22232 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22233 MAIL FROM, too.
22234
22235 * net/network-stream.el (network-stream-open-starttls):
22236 Provide support for client certificates both for external and built-in
22237 STARTTLS.
22238 (auth-source): Require.
22239 (open-network-stream): Document the :client-certificate keyword.
22240 (network-stream-certificate): Change cert-cert to cert and
22241 cert-key to key.
22242
22243 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22244
22245 * net/tramp-cache.el (top): Don't load the persistency file when
22246 "emacs -Q" has been called.
22247
22248 2011-06-21 Tim Harper <timcharper@gmail.com>
22249
22250 * term/ns-win.el (ns-initialize-window-system):
22251 Set application-specific `ApplePressAndHoldEnabled' system
22252 resource to NO as it is not yet supported by the NS port.
22253
22254 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22255
22256 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22257 (list-dynamic-libraries): ...not here.
22258
22259 2011-06-21 Leo Liu <sdl.web@gmail.com>
22260
22261 * subr.el (sha1): Implement sha1 using secure-hash.
22262
22263 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22264
22265 * window.el (display-buffer-alist): In default value do not
22266 enforce searching a window on any but the selected frame.
22267 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22268 (display-buffer-select-window): Remove function.
22269 (display-buffer-in-window): When a window on another frame gets
22270 reused, do not select it any more but just raise its frame if
22271 necessary (Bug#8851) and (Bug#8856).
22272 (display-buffer-normalize-options): Handle pop-up-frames related
22273 options more faithfully.
22274 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22275 window if it is on another frame.
22276 (display-buffer-alist, display-buffer-default-specifiers):
22277 Don't make new frame unsplittable by default.
22278 (display-buffer-normalize-argument): Fix doc-string typo and use
22279 'same-frame-other-window instead of 'other-window when associating
22280 with display-buffer-macro-specifiers.
22281
22282 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22283
22284 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22285 New functions.
22286 (5x5-mode-map, 5x5-mode-menu): Bind them.
22287 (5x5-draw-grid): Tweak the solver's rendering.
22288
22289 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22290
22291 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22292 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22293
22294 2011-06-21 Drew Adams <drew.adams@oracle.com>
22295
22296 * menu-bar.el: Use function variable instead of switch-to-buffer.
22297 (menu-bar-select-buffer-function): New variable.
22298 (menu-bar-update-buffers): Use it (bug#8876).
22299
22300 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22301
22302 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22303 variable's status.
22304
22305 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22306
22307 * x-dnd.el (x-dnd-version-from-flags)
22308 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22309 and long as number (Bug#8899).
22310 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22311
22312 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22313
22314 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22315 (completion-try-completion, completion-all-completions): Compute the
22316 metadata argument if it's missing; make it optional (bug#8795).
22317
22318 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22319 (widget-complete): Use new :completion-function property.
22320 (widget-completions-at-point): New function.
22321 (default): Use :completion-function instead of :complete.
22322 (widget-default-completions): Rename from widget-default-complete;
22323 Rewrite.
22324 (widget-string-complete, widget-file-complete, widget-color-complete):
22325 Remove functions.
22326 (file, symbol, function, variable, coding-system, color):
22327 * international/mule-cmds.el (default-input-method, charset)
22328 (language-info-custom-alist):
22329 * cus-edit.el (face): Use new property :completions.
22330
22331 * progmodes/pascal.el (pascal-completions-at-point): New function.
22332 (pascal-mode): Use it.
22333 (pascal-mode-map): Use completion-at-point.
22334 (pascal-toggle-completions): Make obsolete.
22335 (pascal-complete-word, pascal-show-completions):
22336 * progmodes/octave-mod.el (octave-complete-symbol):
22337 Redefine as obsolete alias.
22338 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22339 Signal absence of completion info for old Octave,
22340 (inferior-octave-complete): Redefine as obsolete alias.
22341 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22342 (meta-completions-at-point): Rename from meta-complete-symbol and
22343 adapt it for use on completion-at-point-functions.
22344 (meta-common-mode): Use it.
22345 (meta-looking-at-backward, meta-match-buffer): Remove.
22346 (meta-complete-symbol): Redefine as obsolete alias.
22347 (meta-common-mode-map): Use completion-at-point.
22348 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22349 (makefile-mode-map): Use completion-at-point.
22350 (makefile-completions-at-point): Rename from makefile-complete and
22351 adapt it for use on completion-at-point-functions.
22352 (makefile-mode): Use it.
22353 (makefile-complete): Redefine as obsolete alias.
22354
22355 2011-06-20 Deniz Dogan <deniz@dogan.se>
22356
22357 * net/rcirc.el: Delete trailing whitespaces once and for all.
22358
22359 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22360
22361 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22362
22363 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22364
22365 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22366
22367 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22368
22369 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22370
22371 * window.el (display-buffer-other-window-means-other-frame):
22372 Call display-buffer-normalize-alist.
22373 (display-buffer-normalize-specifiers-1): Rename to
22374 display-buffer-normalize-argument. New argument other-frame.
22375 Rewrite.
22376 (display-buffer-normalize-specifiers-2): Rename to
22377 display-buffer-normalize-options.
22378 (display-buffer-normalize-alist-1): New function.
22379 (display-buffer-normalize-specifiers-3): Rename to
22380 display-buffer-normalize-alist.
22381 Call display-buffer-normalize-alist-1.
22382 (display-buffer-normalize-options-inhibit): New variable.
22383 (display-buffer-normalize-specifiers): Rewrite calling
22384 display-buffer-normalize-alist,
22385 display-buffer-normalize-argument, and
22386 display-buffer-normalize-options. Don't call the latter if
22387 display-buffer-normalize-options-inhibit is non-nil.
22388 (frame-auto-delete): New option.
22389 (window-deletable-p): Use frame-auto-delete.
22390 (window-list-no-nils, window-state-ignored-parameters)
22391 (window-state-get-1, window-state-get, window-state-put-list)
22392 (window-state-put-1, window-state-put-2, window-state-put):
22393 New functions.
22394 (display-buffer-normalize-options): Move special-display-p group
22395 after pop-up-frame group (Bug#8851) and (Bug#8856).
22396
22397 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22398
22399 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22400 groups (Bug#8776).
22401 (rx-submatch-n): New function.
22402 (rx): Document it.
22403
22404 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22405 (Bug#8768).
22406
22407 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22408
22409 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22410
22411 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22412 anytime existing face settings are present (Bug#8889).
22413
22414 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22415 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22416 Remove unused argument.
22417
22418 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22419
22420 * window.el (display-buffer-default-specifiers):
22421 Remove pop-up-frame. Add pop-up-window-min-height,
22422 pop-up-window-min-width, and another reuse-window specifier
22423 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22424 (display-buffer-normalize-specifiers-2):
22425 Handle split-height-threshold and split-width-threshold also when
22426 pop-up-windows is unset. Add a reuse-window specifier for the
22427 case popping up a new window fails.
22428 (special-display-popup-frame): Remove double quoting.
22429 (display-buffer-normalize-specifiers-1): Fix thinko.
22430
22431 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22432
22433 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22434 according to comint-completion-addsuffix.
22435
22436 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22437 (pcomplete-suffix-list): Mark as obsolete.
22438 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22439 pcomplete-seen in the closure.
22440 (pcomplete-comint-setup): Setup completion-at-point as well.
22441 (pcomplete--entries): New function.
22442 (pcomplete--env-regexp): New var.
22443 (pcomplete-entries): Rewrite to work with partial-completion and
22444 without relying on pcomplete-suffix-list.
22445 (pcomplete-pare-list): Remove, unused.
22446
22447 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22448
22449 * window.el (display-buffer-alist): Set pop-up-window-min-height
22450 and pop-up-window-min-width in default value. Reported by
22451 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22452 other-window-means-other-frame.
22453 (display-buffer-macro-specifiers): Comment out entry for
22454 other-window specifier.
22455 (display-buffer-other-window-means-other-frame): New function.
22456 (display-buffer-normalize-specifiers-1): New arguments
22457 buffer-name and label. Treat other-window case specially.
22458 (display-buffer-normalize-specifiers-2): Treat other-window case
22459 specially.
22460 (display-buffer-normalize-specifiers-3): New function.
22461 (display-buffer-normalize-specifiers):
22462 Call display-buffer-normalize-specifiers-3.
22463
22464 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22465
22466 * window.el (same-window-p): Fix two typos introduced when
22467 adding with-no-warnings.
22468 (display-buffer-normalize-specifiers-1): Don't check
22469 pop-up-frames for 'unset initialization.
22470 (display-buffer-normalize-specifiers-2): Major rewrite using
22471 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22472 (pop-up-frames, display-buffer-reuse-frames)
22473 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22474 Suggested by David Engster <deng@randomsample.de>.
22475 (even-window-heights): Initialize to 'unset.
22476 (display-buffer-alist-set): Handle new 'unset initializations.
22477 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22478 other window case.
22479
22480 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22481
22482 * window.el (display-buffer-normalize-specifiers-1):
22483 Respect current value of pop-up-frames for most reasonable values of
22484 second argument of display-buffer (Bug#8865).
22485 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22486 (switch-to-buffer-other-window-same-frame)
22487 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22488 Adams (Bug#8875).
22489 (display-buffer): Don't check noninteractive when calling
22490 display-buffer-pop-up-frame.
22491 (display-buffer-pop-up-frame): Never pop up a frame in
22492 noninteractive mode (Bug#8857).
22493 (enlarge-window, shrink-window): Don't report an error when the
22494 window can't be resized as requested (Bug#8862).
22495
22496 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22497
22498 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22499
22500 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22501
22502 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22503
22504 2011-06-15 Alan Mackenzie <acm@muc.de>
22505
22506 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22507 for declarators, disable knr checking to speed up for normal files.
22508 2: Refactor, replacing a sequence of nested if forms by a cond form.
22509
22510 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22511
22512 * net/network-stream.el (open-network-stream): Add the keyword
22513 :always-query-capabilities for the case where you want to force a
22514 `plain' network connection, but the protocol still requires the
22515 capabilitiy command (i.e., SMTP and EHLO).
22516
22517 * subr.el (process-live-p): Rename from `process-alive-p' for
22518 consistency with other `-live-p' functions.
22519
22520 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22521
22522 * window.el (same-window-buffer-names, same-window-regexps)
22523 (special-display-frame-alist, special-display-popup-frame)
22524 (special-display-function, special-display-buffer-names)
22525 (special-display-regexps, pop-up-frame-alist)
22526 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22527 (pop-up-windows, split-window-preferred-function)
22528 (split-height-threshold, split-width-threshold, even-window-heights)
22529 (display-buffer-mark-dedicated): Don't encourage the use of
22530 display-buffer-alist from Elisp code.
22531
22532 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22533
22534 * progmodes/python.el (python-mode): Derive from prog-mode.
22535 * progmodes/ps-mode.el (ps-mode):
22536 * progmodes/mixal-mode.el (mixal-mode):
22537 * progmodes/cfengine.el (cfengine-mode):
22538 * progmodes/ld-script.el (ld-script-mode): Likewise.
22539
22540 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22541
22542 * window.el (display-buffer-alist): Trim default value to avoid
22543 popping up a new frame (Bug#8857) or reusing an arbitrary window
22544 on another frame.
22545 (display-buffer): Do not fall back on popping up a new frame in
22546 batch mode (Bug#8857).
22547
22548 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22549
22550 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22551 (custom-theme-summary): New function.
22552 (customize-themes): Use it.
22553
22554 2011-06-13 Glenn Morris <rgm@gnu.org>
22555
22556 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22557
22558 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22559
22560 * help.el (help-window): Remove variable.
22561 (help-window-point-marker, temp-buffer-max-height)
22562 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22563 (help-print-return-message): Don't set help-window.
22564 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22565 (help-window-setup-finish): Remove.
22566 (help-window-display-message, help-window-setup)
22567 (with-help-window): Major rewrite based on new
22568 display-buffer-window variable.
22569
22570 * help-mode.el (help-mode-finish): Remove help-window related
22571 code.
22572
22573 * view.el (view-exits-all-viewing-windows): Remove reference to
22574 view-return-to-alist in doc-string.
22575 (view-return-to-alist): Make obsolete.
22576 (view-buffer): Call pop-to-buffer-same-window and remove
22577 undo-window code.
22578 (view-buffer-other-window): Call pop-to-buffer-other-window and
22579 simplify code. Ignore second argument.
22580 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22581 simplify code. Ignore second argument.
22582 (view-return-to-alist-update): Make obsolete.
22583 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22584 Rewrite using quit-restore window parameters.
22585 (view-mode-exit): Rename second argument to EXIT-ONLY.
22586 Rewrite using quit-restore-window.
22587 (View-exit, View-exit-and-edit, View-leave, View-quit)
22588 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22589 appropriate arguments.
22590 (view-end-message): Use quit-restore window parameter.
22591
22592 * window.el (display-buffer-function): Rewrite doc-string.
22593 (display-buffer-window, display-buffer-alist): New variables.
22594 (display-buffer-split-specifiers)
22595 (display-buffer-side-specifiers)
22596 (display-buffer-macro-specifiers): New constants.
22597 (display-buffer-even-window-sizes, display-buffer-set-height)
22598 (display-buffer-set-width, display-buffer-select-window)
22599 (display-buffer-in-window, display-buffer-reuse-window)
22600 (display-buffer-split-window-1, display-buffer-split-window)
22601 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22602 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22603 (display-buffer-in-side-window, normalize-buffer-to-display)
22604 (display-buffer-normalize-specifiers-1)
22605 (display-buffer-normalize-specifiers-2)
22606 (display-buffer-normalize-specifiers, display-buffer-frame):
22607 New functions.
22608 (display-buffer): Major rewrite.
22609 (display-buffer-other-window, display-buffer-other-frame)
22610 (pop-to-buffer, switch-to-buffer-other-window)
22611 (switch-to-buffer-other-frame): Rewrite.
22612 (display-buffer-same-window, display-buffer-same-frame)
22613 (display-buffer-same-frame-other-window)
22614 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22615 (pop-to-buffer-other-window)
22616 (pop-to-buffer-same-frame-other-window)
22617 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22618 (switch-to-buffer-other-window-same-frame): New functions.
22619 (same-window-p, special-display-p): Rewrite disabling warnings.
22620 Make obsolete.
22621 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22622 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22623 Make obsolete
22624 (same-window-buffer-names, same-window-regexps)
22625 (special-display-frame-alist, special-display-popup-frame)
22626 (special-display-function, special-display-buffer-names)
22627 (special-display-regexps, pop-up-frame-alist)
22628 (pop-up-frame-function, split-window-preferred-function)
22629 (split-height-threshold, split-width-threshold)
22630 (even-window-heights): Make obsolete.
22631
22632 2011-06-12 Glenn Morris <rgm@gnu.org>
22633
22634 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22635 Misc simplifications.
22636
22637 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22638
22639 * window.el (window-safely-shrinkable-p): Restore function which
22640 was inadvertently removed in change from 2011-06-11. Declare as
22641 obsolete.
22642
22643 * calendar/calendar.el (calendar-generate-window):
22644 Use window-iso-combined-p instead of combination of one-window-p and
22645 window-safely-shrinkable-p.
22646
22647 2011-06-12 Glenn Morris <rgm@gnu.org>
22648
22649 * progmodes/fortran.el (fortran-mode-syntax-table):
22650 * progmodes/f90.el (f90-mode-syntax-table):
22651 Set % to punctuation. (Bug#8820)
22652 (f90-find-tag-default): Remove, no longer needed.
22653
22654 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22655
22656 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22657
22658 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22659
22660 * image.el (image-animated-p): Return animation delay in seconds.
22661 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22662 (image-animate-timeout): Remove DELAY argument. Don't assume
22663 every subimage has the same delay; get it from image-animated-p.
22664 (image-animate): Caller changed.
22665
22666 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22667
22668 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22669 to ignored backtrace functions.
22670
22671 2011-06-11 Glenn Morris <rgm@gnu.org>
22672
22673 * calendar/appt.el (appt-disp-window-function): Doc fix.
22674 (appt-check): Handle overlapping appointments. (Bug#8337)
22675
22676 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22677
22678 * window.el (window-tree-1, window-tree): New functions, moving
22679 the latter to window.el.
22680 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22681 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22682 (bw-refresh-edges): Remove.
22683 (balance-windows-1, balance-windows-2): New functions.
22684 (balance-windows): Rewrite in terms of window tree functions,
22685 balance-windows-1 and balance-windows-2.
22686 (bw-adjust-window): Remove.
22687 (balance-windows-area-adjust): New function with functionality of
22688 bw-adjust-window but using resize-window.
22689 (set-window-text-height): Rewrite doc-string.
22690 Use normalize-live-window and resize-window.
22691 (enlarge-window-horizontally, shrink-window-horizontally):
22692 Rename argument to DELTA.
22693 (window-buffer-height): New function.
22694 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22695 Rewrite using new window resize routines.
22696 (kill-buffer-and-window, mouse-autoselect-window-select):
22697 Use ignore-errors instead of condition-case.
22698 (quit-window): Call delete-frame instead of delete-windows-on
22699 for the only buffer on frame.
22700
22701 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22702
22703 * loadup.el (top-level): Load window before files for the sake
22704 of replace-buffer-in-windows.
22705
22706 * files.el (read-buffer-to-switch)
22707 (switch-to-buffer-other-window)
22708 (switch-to-buffer-other-frame, display-buffer-other-frame):
22709 Move to window.el.
22710
22711 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22712 (previous-buffer): Move to window.el.
22713
22714 * bindings.el (unbury-buffer): Move to window.el.
22715
22716 * window.el (delete-other-windows-vertically): Move after
22717 definition of delete-other-windows.
22718 (other-window, delete-windows-on, replace-buffer-in-windows):
22719 Move here from window.c.
22720 (record-window-buffer, unrecord-window-buffer)
22721 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22722 (switch-to-next-buffer): New functions.
22723 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22724 from simple.el. Call switch-to-next-buffer.
22725 (previous-buffer): Move here from simple.el.
22726 Call switch-to-prev-buffer.
22727 (bury-buffer): Move here from buffer.c. Switch to previous
22728 buffer when window cannot be deleted.
22729 (unbury-buffer): Move here from bindings.el.
22730 (ctl-x-map): Move binding for other-window from window.c to
22731 here.
22732 (read-buffer-to-switch, switch-to-buffer-other-window)
22733 (switch-to-buffer-other-frame): Move here from files.el.
22734 (normalize-buffer-to-switch-to): New functions.
22735 (switch-to-buffer): Move here from buffer.c.
22736 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22737
22738 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22739
22740 * window.el (window-min-height, window-min-width): Move here
22741 from window.c. Add defcustoms and rewrite doc-strings.
22742 (resize-mini-window, resize-window): New functions.
22743 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22744 Move here from window.c.
22745 (maximize-window, minimize-window): New functions.
22746 (delete-window, delete-other-windows, split-window): Move here
22747 from window.c.
22748 (window-split-min-size): New function.
22749 (split-window-keep-point): Mention split-window-above-each-other
22750 instead of split-window-vertically.
22751 (split-window-above-each-other, split-window-vertically):
22752 Rename split-window-vertically to split-window-above-each-other
22753 and provide defalias for old definition.
22754 (split-window-side-by-side, split-window-horizontally):
22755 Rename split-window-horizontally to split-window-side-by-side
22756 and provide defalias for the old definition.
22757 (ctl-x-map): Move bindings for delete-window,
22758 delete-other-windows and enlarge-window here from window.c.
22759 Replace bindings for split-window-vertically and
22760 split-window-horizontally by bindings for
22761 split-window-above-each-other and split-window-side-by-side.
22762
22763 * cus-start.el (all): Remove entries for window-min-height and
22764 window-min-width. Add entries for window-splits and
22765 window-nest.
22766
22767 2011-06-09 Glenn Morris <rgm@gnu.org>
22768
22769 * calendar/appt.el (appt-mode-line): New function.
22770 (appt-check, appt-disp-window): Use it.
22771
22772 * files.el (hack-one-local-variable-eval-safep):
22773 Allow minor-modes with explicit +/-1 arguments.
22774
22775 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22776
22777 * term/xterm.el (xterm): Add defgroup.
22778 (xterm-extra-capabilities): Add defcustom to supply known xterm
22779 capabilities, skip querying them, or query them (default).
22780 (terminal-init-xterm): Use it.
22781 (terminal-init-xterm-modify-other-keys): New function to set up
22782 modifyOtherKeys support to simplify `terminal-init-xterm'.
22783
22784 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22785
22786 * window.el (resize-window-reset, resize-window-reset-1)
22787 (resize-subwindows-skip-p, resize-subwindows-normal)
22788 (resize-subwindows, resize-other-windows, resize-this-window)
22789 (resize-root-window, resize-root-window-vertically)
22790 (window-deletable-p, window-or-subwindow-p)
22791 (frame-root-window-p): New functions.
22792
22793 2011-06-09 Glenn Morris <rgm@gnu.org>
22794
22795 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22796 (ange-ftp-get-files): Use it.
22797
22798 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22799
22800 * mail/sendmail.el (mail-recover-1, mail-recover):
22801 * files.el (recover-file, recover-session):
22802 Handle dired-listing-switches not being just a single short option.
22803
22804 2011-06-09 Glenn Morris <rgm@gnu.org>
22805
22806 * calendar/appt.el (appt-display-message, appt-disp-window):
22807 Handle lists of appointments.
22808
22809 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22810
22811 * window.el (one-window-p): Move down in code.
22812 Rewrite doc-string.
22813 (window-current-scroll-bars): Rewrite doc-string.
22814 Normalize live window argument.
22815 (walk-windows, get-window-with-predicate, count-windows):
22816 Rewrite doc-string. Use window-list-1.
22817 (window-in-direction-2, window-in-direction, get-mru-window):
22818 New functions.
22819
22820 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22821
22822 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22823 Doc fix (Bug#8713).
22824
22825 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22826
22827 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22828
22829 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22830
22831 * loadhist.el (unload-feature-special-hooks):
22832 Add `comint-output-filter-functions'.
22833
22834 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22835
22836 * calendar/appt.el (appt-check): Move some initializations into the let.
22837
22838 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22839
22840 * window.el (window-height): Defalias to window-total-height.
22841 (window-width): Defalias to window-body-width.
22842
22843 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22844
22845 * image-mode.el (image-toggle-animation): New command.
22846 (image-mode-map): Bind it to RET.
22847 (image-mode): Update message.
22848 (image-toggle-display-image): Avoid a spurious cache flush.
22849 (image-transform-rotation): Doc fix.
22850 (image-transform-properties): Return quickly in the normal case.
22851 (image-animate-loop): Rename from image-animate-max-time.
22852
22853 * image.el (image-animate-max-time): Move to image-mode.el.
22854 (create-animated-image): Remove unnecessary function.
22855 (image-animate): Rename from image-animate-start. New arg.
22856 (image-animate-stop): Remove; just use image-animate-timer.
22857 (image-animate-timer): Use car-safe.
22858 (image-animate-timeout): Rename argument.
22859
22860 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22861
22862 * window.el (get-lru-window, get-largest-window): Move here from
22863 window.c. Rename first argument to ALL-FRAMES.
22864 Rephrase doc-strings.
22865 (get-buffer-window-list): Rewrite using window-list-1.
22866 Rephrase doc-string.
22867 (window-safe-min-height, window-safe-min-width): New constants.
22868 (window-size-ignore, window-min-size, window-min-size-1)
22869 (window-sizable, window-sizable-p, window-size-fixed-1)
22870 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22871 (window-max-delta-1, window-max-delta, window-resizable)
22872 (window-resizable-p, window-total-height, window-total-width)
22873 (window-body-width): New functions.
22874 (window-full-height-p, window-full-width-p): Rewrite using
22875 window-total-size.
22876 (window-body-height): Rewrite using window-body-size.
22877
22878 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22879
22880 * window.el (window-right, window-left, window-child)
22881 (window-child-count, window-last-child, window-any-p)
22882 (normalize-live-buffer, normalize-live-frame)
22883 (normalize-any-window, normalize-live-window)
22884 (window-iso-combination-p, window-iso-combined-p)
22885 (window-iso-combinations)
22886 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22887 (windows-with-parameter, window-with-parameter)
22888 (window-atom-root, make-window-atom, window-atom-check-1)
22889 (window-atom-check, window-side-check, window-check):
22890 New functions.
22891 (ignore-window-parameters, window-sides, window-sides-vertical)
22892 (window-sides-slots): New variables.
22893 (window-size-fixed): Move down in code. Minor doc-string fix.
22894
22895 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22896
22897 * comint.el (comint-dynamic-complete-as-filename)
22898 (comint-dynamic-complete-filename): Correctly call
22899 completion-in-region.
22900
22901 2011-06-05 Deniz Dogan <deniz@dogan.se>
22902
22903 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22904 in last change.
22905
22906 2011-06-05 Deniz Dogan <deniz@dogan.se>
22907
22908 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22909 (rcirc): Use it to prompt for encryption.
22910
22911 2011-06-05 Roland Winkler <winkler@gnu.org>
22912
22913 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22914 (bibtex-search-entries): New command bound to C-c C-a.
22915 (bibtex-display-entries): New function.
22916
22917 2011-06-05 Roland Winkler <winkler@gnu.org>
22918
22919 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22920 (bibtex-insert-kill): After yanking insert newline if necessary.
22921 (bibtex-initialize): Call bibtex-string-files-init only once.
22922 (bibtex-mode): Do not call easy-menu-add.
22923 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22924 (bibtex-yank): Set arg properly if nil.
22925
22926 2011-06-05 Roland Winkler <winkler@gnu.org>
22927
22928 * textmodes/bibtex.el (bibtex-search-entry-globally):
22929 New variable.
22930 (bibtex-search-entry): Use it.
22931
22932 2011-06-05 Roland Winkler <winkler@gnu.org>
22933
22934 * textmodes/bibtex.el (bibtex-entry-format): New option
22935 sort-fields.
22936 (bibtex-format-entry, bibtex-reformat): Honor this option.
22937 (bibtex-parse-entry): Return fields in proper order.
22938
22939 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22940
22941 * doc-view.el (doc-view-remove-if): Move computation of result out
22942 of `dolist' to silence misleading lexical-binding warning.
22943
22944 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22945
22946 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22947 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22948
22949 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22950
22951 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22952 "SunOS 5.10".
22953
22954 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22955
22956 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22957 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22958 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22959 (tramp-parse-putty):
22960 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22961 (tramp-completion-function-alist-ssh)
22962 (tramp-completion-function-alist-telnet)
22963 (tramp-completion-function-alist-su)
22964 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22965 cookie.
22966
22967 * net/tramp-ftp.el:
22968 * net/tramp-sh.el:
22969 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22970 load "tramp.el" `tramp-set-completion-function'.
22971
22972 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22973
22974 * shell.el: Require and use pcomplete.
22975 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22976 (shell-completion-vars): Set pcomplete-default-completion-function.
22977
22978 2011-06-04 Deniz Dogan <deniz@dogan.se>
22979
22980 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22981 `memq' (Bug#8799).
22982
22983 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22984
22985 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22986
22987 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22988
22989 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22990 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22991 * vc/log-view.el (log-view-beginning-of-defun):
22992 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22993 (smerge-refine-forward, smerge-refine-chopup-region):
22994 Silence warning for unused `dotimes' counter variables.
22995
22996 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22997
22998 * net/tramp.el (tramp-with-progress-reporter): Rename from
22999 with-progress-reporter. Use `declare'.
23000 * net/tramp-smb.el:
23001 * net/tramp-sh.el:
23002 * net/tramp-gvfs.el: Update all uses.
23003
23004 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23005
23006 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23007 buffer isn't killed before making it current.
23008
23009 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23010
23011 Silence various byte-compiler warnings.
23012 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23013 `access-type' and new obsolescence format.
23014 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23015 new format.
23016 (byte-compile-check-variable): New `access-type' argument.
23017 Only warn if the access-type is obsolete.
23018 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23019 (byte-compile-variable-set): Adjust callers.
23020 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23021 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23022 setting it as obsolete.
23023 * simple.el (minibuffer-completing-symbol):
23024 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23025 access as obsolete.
23026 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23027 obsolete yet.
23028 * international/quail.el (quail-mouse-choose-completion): Remove unused
23029 code referring to obsolete var.
23030 (quail-choose-completion-string): Remove.
23031 * server.el (server-clients-with, server-kill-buffer-query-function)
23032 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23033 * proced.el (proced-send-signal):
23034 * emacs-lisp/lisp.el (lisp-complete-symbol):
23035 Replace completion-annotate-function with completion-extra-properties.
23036
23037 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23038
23039 * simple.el (goto-line): Use read-number.
23040 (overriding-map-is-bound): Remove.
23041 (saved-overriding-map): Change default.
23042 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23043 Take the map as argument.
23044 (universal-argument, negative-argument, digit-argument): Use it.
23045 (restore-overriding-map): Adjust.
23046 (do-auto-fill): Use fill-forward-paragraph.
23047 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23048
23049 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23050 (minibuffer-inactive-mode): New major mode.
23051 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23052 the *Messages* buffer" hack.
23053 (mouse-popup-menubar): Don't burp if the event is a normal key.
23054
23055 Miscellaneous tweaks.
23056 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23057 lexical scoping as in subr.el's dolist and dotimes.
23058 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23059 Silence compiler warning.
23060 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23061 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23062 * international/ccl.el (ccl-compile): Trivial simplification.
23063 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23064 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23065 `printflag' argument.
23066 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23067 Purecopy the whole obsolescence data.
23068
23069 2011-06-01 Leo Liu <sdl.web@gmail.com>
23070
23071 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23072 improve doc-string as suggested by Marco Pessotto
23073 <melmothx@gmail.com>.
23074 (rcirc-print): Fix last change.
23075
23076 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23077
23078 * minibuffer.el (complete-with-action): Return nil for the metadata and
23079 boundaries of non-functional tables.
23080 (completion-table-dynamic): Return nil for the metadata.
23081 (completion-table-with-terminator): Add default case, using
23082 complete-with-action.
23083 (completion--metadata): New function.
23084 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23085 to try and avoid pathological performance problems.
23086 (completion--embedded-envvar-table): Return `category' metadata.
23087
23088 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23089
23090 * subr.el (process-alive-p): New tiny convenience function.
23091
23092 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23093
23094 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23095 content but also its previous major mode.
23096
23097 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23098
23099 * emacs-lisp/debug.el (debug): Restore the previous content of the
23100 *Backtrace* buffer when we exit with C-M-c.
23101
23102 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23103
23104 * minibuffer.el: Add metadata method to completion tables.
23105 (completion-category-overrides): New defcustom.
23106 (completion-metadata, completion--field-metadata)
23107 (completion-metadata-get, completion--styles)
23108 (completion--cycle-threshold): New functions.
23109 (completion-try-completion, completion-all-completions):
23110 Add `metadata' argument to choose completion-styles.
23111 (completion--do-completion): Use metadata to choose cycling.
23112 (completion-all-sorted-completions): Use metadata for sorting.
23113 Remove :completion-cycle-penalty which is not needed any more.
23114 (completion--try-word-completion): Add `metadata' argument.
23115 (minibuffer-completion-help): Check metadata for annotation function
23116 and sorting.
23117 (completion-file-name-table): Return `category' metadata.
23118 (minibuffer-completing-file-name): Make obsolete.
23119 * simple.el (minibuffer-completing-symbol): Make obsolete.
23120 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23121 completion-try-completion.
23122
23123 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23124
23125 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23126
23127 2011-05-30 Leo Liu <sdl.web@gmail.com>
23128
23129 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23130 (rcirc-print): Decode all incoming messages (bug#8744).
23131 (rcirc-decode-coding-system): Allow value nil for automatic coding
23132 system detection.
23133
23134 2011-06-01 Glenn Morris <rgm@gnu.org>
23135
23136 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23137
23138 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23139
23140 * image.el (image-animate-max-time): Allow nil and t values.
23141 Default to nil.
23142 (create-animated-image): Doc fix.
23143 (image-animate-start): Remove second arg; just use
23144 image-animate-max-time.
23145 (image-animate-timeout): Doc fix. Args changed.
23146
23147 * image-mode.el (image-toggle-display-image): Ensure that the
23148 image spec passed to the animate timer is the same object as in
23149 the buffer's display property (Bug#6981).
23150 (image-transform-properties): Doc fix.
23151
23152 * image.el (image-animate-max-time): Default to nil.
23153
23154 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23155
23156 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23157 entire buffer list (Bug#8184).
23158
23159 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23160
23161 * image.el (imagemagick-types-inhibit)
23162 (imagemagick-register-types): Doc fix.
23163
23164 2011-05-29 Deniz Dogan <deniz@dogan.se>
23165
23166 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23167 default.
23168
23169 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23170
23171 * select.el: Don't perform clipboard-manager saving in hooks;
23172 leave the hooks empty.
23173
23174 2011-05-28 Leo Liu <sdl.web@gmail.com>
23175
23176 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23177 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23178 (occur-edit-mode): New major mode (Bug#8463).
23179 (occur-after-change-function): New function.
23180 (occur-engine): Give Occur tags a read-only property.
23181
23182 2011-05-28 Kevin Ryde <user42@zip.com.au>
23183
23184 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23185
23186 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23187
23188 * bindings.el (help-echo): Make the initial non-indicator dash
23189 empty on graphical terminals (Bug#7295).
23190
23191 * files.el (auto-mode-alist): Move config rule after the
23192 in-stripping one (Bug#8547).
23193
23194 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23195
23196 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23197 setting (Bug#8740).
23198
23199 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23200
23201 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23202 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23203 (Bug#8539).
23204
23205 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23206
23207 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23208
23209 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23210
23211 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23212 (hs-hide-block-at-point, hs-find-block-beginning)
23213 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23214 (Bug#8279).
23215
23216 2011-05-28 Glenn Morris <rgm@gnu.org>
23217
23218 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23219
23220 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23221
23222 * help-fns.el (describe-function-1): If the function is a derived
23223 major mode, print the parent mode.
23224
23225 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23226 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23227
23228 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23229
23230 * minibuffer.el (completion--capf-wrapper): Check applicability before
23231 returning non-nil for non-exclusive completion data.
23232 * progmodes/etags.el (tags-completion-at-point-function):
23233 * info-look.el (info-lookup-completions-at-point): Mark as
23234 non-exclusive.
23235 (info-complete): Adjust accordingly.
23236
23237 * info-look.el: Convert to lexical-binding and completion-at-point.
23238 (info-lookup-completions-at-point): New function.
23239 (info-complete): Use it and completion-in-region.
23240
23241 2011-05-28 Drew Adams <drew.adams@oracle.com>
23242
23243 * isearch.el: Let M-e start with point at the first mismatched char.
23244 (isearch-fail-pos): New function.
23245 (isearch-edit-string): Use it.
23246
23247 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23248
23249 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23250
23251 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23252
23253 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23254 traversal functions for avl-trees.
23255 (avl-tree--stack): New struct.
23256 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23257 (avl-tree-enter): Add optional `updatefun' arg.
23258 (avl-tree--do-enter): Add optional `updatefun' arg.
23259 Change return value.
23260 (avl-tree-delete): Add optional `test' and `nilflag' args.
23261 (avl-tree--do-delete): Add `test' and `nilflag' args.
23262 Change return value.
23263 (avl-tree-member): Add optional `nilflag'
23264 (avl-tree-member-p): New function.
23265 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23266 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23267 (avl-tree-stack-empty-p): New functions.
23268
23269 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23270 avl-tree--del-balance1 and make it work both ways.
23271 (avl-tree--del-balance2): Remove.
23272 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23273 make it work both ways.
23274 (avl-tree--enter-balance2): Remove.
23275 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23276 New macros.
23277 (avl-tree--mapc, avl-tree-map): Add direction argument.
23278
23279 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23280
23281 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23282
23283 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23284
23285 * select.el: Support clipboard managers with built-in function
23286 x-clipboard-manager-save, via delete-frame-functions and
23287 kill-emacs-hook.
23288 (xselect-convert-to-targets): Add MULTIPLE target to list.
23289 (xselect-convert-to-save-targets): New function.
23290
23291 2011-05-27 Kenichi Handa <handa@m17n.org>
23292
23293 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23294 let-binding rfc2047-encode-encoded-words to nil.
23295
23296 2011-05-27 Glenn Morris <rgm@gnu.org>
23297
23298 * mail/emacsbug.el: Don't require url-util.
23299
23300 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23301
23302 * files.el (set-auto-mode):
23303 Also respect mode: entries at the end of the file. (Bug#8586)
23304
23305 2011-05-26 Glenn Morris <rgm@gnu.org>
23306
23307 * files.el (hack-local-variables-prop-line, hack-local-variables):
23308 Downcase mode names, as seems to be traditional.
23309 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23310
23311 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23312 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23313
23314 2011-05-25 Julien Danjou <julien@danjou.info>
23315
23316 * textmodes/rst.el (rst-define-level-faces): Do not define face
23317 symbol if it is already defined.
23318
23319 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23320
23321 * play/5x5.el (5x5-new-game, 5x5-randomize):
23322 Reset 5x5-solver-output to nil when a new grid is cast.
23323 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23324 these debugging traces, as defmacro breaks the compiled code.
23325
23326 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23327
23328 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23329
23330 2011-05-24 Leo Liu <sdl.web@gmail.com>
23331
23332 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23333 (vc-bzr-sha1): Adapt.
23334
23335 * sha1.el: Remove. Function `sha1' is now builtin.
23336
23337 * bindings.el: Provide sha1 feature.
23338
23339 2011-05-24 Kenichi Handa <handa@m17n.org>
23340
23341 * mail/sendmail.el: Require `rfc2047'.
23342 (mail-insert-from-field): Do not perform RFC2047 encoding.
23343 (mail-encode-header): New function.
23344 (sendmail-send-it): Set buffer-file-coding-system of the work
23345 buffer to the return value of select-message-coding-system.
23346 Call mail-encode-header.
23347
23348 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23349
23350 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23351
23352 * mail/supercite.el (sc-default-cite-frame):
23353 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23354
23355 2011-05-24 Glenn Morris <rgm@gnu.org>
23356
23357 * progmodes/python.el (brm-menu): Declare.
23358
23359 * emulation/viper.el (viper-set-hooks): Declare.
23360
23361 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23362 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23363 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23364 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23365 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23366 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23367
23368 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23369
23370 Add an :exit-function for completion-at-point.
23371
23372 * minibuffer.el (completion--done): New fun.
23373 (completion--do-completion): Use it. New arg `expect-exact'.
23374 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23375 since completion--do-completion does it for us now.
23376 (minibuffer-force-complete): Use completion--done and
23377 completion--replace. Handle sole-completion case with more care.
23378 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23379 (completion-extra-properties): New var.
23380 (completion-annotate-function): Make obsolete.
23381 (minibuffer-completion-help): Adjust accordingly.
23382 Use completion-list-insert-choice-function.
23383 (completion-at-point, completion-help-at-point):
23384 Bind completion-extra-properties.
23385 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23386 * simple.el (completion-list-insert-choice-function): New var.
23387 (completion-setup-function): Preserve it.
23388 (choose-completion): Pay attention to it, shuffle the code a bit.
23389 (choose-completion-string): New arg `insert-function'.
23390
23391 * textmodes/bibtex.el: Convert to lexical binding.
23392 (bibtex-mode-map): Use completion-at-point.
23393 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23394 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23395 (bibtex-complete): Define as obsolete alias.
23396 (bibtex-complete-internal): Remove.
23397 (bibtex-format-entry): Remove unused sub-group in regexp.
23398 * shell.el (shell--command-completion-data)
23399 (shell-environment-variable-completion):
23400 * pcomplete.el (pcomplete-completions-at-point):
23401 * comint.el (comint--complete-file-name-data): Use :exit-function
23402 instead of completion-table-with-terminator so it also works for
23403 choose-completion.
23404
23405 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23406
23407 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23408
23409 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23410 (bug#8710).
23411
23412 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23413
23414 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23415
23416 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23417 customization variable and implement: If non-nil, auto-fill will
23418 be inhibited while on topic's header line.
23419
23420 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23421
23422 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23423 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23424 always have a solution in grid size = 5 cases.
23425 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23426 (5x5-solver-output, 5x5-log-buffer): New vars.
23427 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23428 Make these variables buffer local to achieve 5x5 multi-session-ness.
23429 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23430 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23431 (5x5-solve-suggest): New funs.
23432 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23433 randomize a grid so that we ensure that there is always a solution.
23434 (5x5-make-random-grid): Allow other movement than flipping.
23435
23436 2011-05-23 Kevin Ryde <user42@zip.com.au>
23437
23438 * emacs-lisp/advice.el (ad-read-advised-function):
23439 Use `function-called-at-point' as the default, if it has
23440 advice and passes PREDICATE.
23441
23442 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23443
23444 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23445 byte-compile-lambda if it's actually a lambda.
23446
23447 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23448 Fix function quoting. Use backquote better.
23449
23450 2011-05-22 Yuanle Song <sylecn@gmail.com>
23451
23452 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23453 matching (Bug#8516).
23454
23455 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23456
23457 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23458 different face (Bug#8178).
23459
23460 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23461
23462 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23463 defface (Bug#8144).
23464
23465 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23466
23467 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23468 funcall as well (bug#8712). Warn when performing those conversions.
23469 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23470
23471 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23472
23473 2011-05-22 Glenn Morris <rgm@gnu.org>
23474
23475 * files.el (hack-local-variables-prop-line): Small simplifications.
23476 (hack-local-variables, hack-local-variables-prop-line):
23477 If MODE-ONLY, return the mode, rather than just `t'.
23478
23479 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23480
23481 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23482
23483 2011-05-21 Glenn Morris <rgm@gnu.org>
23484
23485 * files.el (hack-local-variables-prop-line, hack-local-variables):
23486 If only interested in the mode, don't bother doing the other stuff.
23487
23488 * image-mode.el (image-after-revert-hook):
23489 Redraw all frames on which the image is visible. (Bug#8567)
23490
23491 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23492
23493 * wid-edit.el (widget-checklist-match-inline):
23494 Fix 2011-04-19 change. (Bug#8649)
23495
23496 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23497
23498 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23499 Also allow singlespace after single-letter capitals followed by a dot.
23500
23501 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23502 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23503
23504 2011-05-20 Nix <nix@esperi.org.uk>
23505
23506 * files.el (basic-save-buffer-2):
23507 Fix handling of break-hardlink-on-save with non-existent files.
23508
23509 2011-05-19 Deniz Dogan <deniz@dogan.se>
23510
23511 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23512 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23513
23514 2011-05-19 Glenn Morris <rgm@gnu.org>
23515
23516 * progmodes/f90.el (f90-type-def-re):
23517 Handle "type, bind(c)". (Bug#8691)
23518
23519 * emacs-lisp/autoload.el (batch-update-autoloads):
23520 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23521
23522 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23523
23524 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23525 property for the correct connection in case of multihops.
23526
23527 2011-05-18 Glenn Morris <rgm@gnu.org>
23528
23529 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23530 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23531
23532 Rationalize calendar handling of day and month abbrev-arrays.
23533 * calendar/calendar.el (calendar-customized-p): New function.
23534 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23535 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23536 Add :set function.
23537 (calendar-abbrev-length, calendar-day-abbrev-array)
23538 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23539 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23540 Elements may no longer be nil.
23541 (calendar-day-name, calendar-month-name):
23542 Update for changed nature of abbrev arrays.
23543 * calendar/diary-lib.el (diary-name-pattern):
23544 Update for changed nature of abbrev arrays.
23545 (diary-mark-entries-1): Update calendar-make-alist calls.
23546 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23547 * calendar/cal-html.el (cal-html-day-abbrev-array):
23548 Simply inherit from calendar-day-abbrev-array.
23549
23550 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23551
23552 * progmodes/grep.el (grep-mode): Disable default
23553 compilation-directory-matcher setting (bug#8684).
23554
23555 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23556
23557 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23558 instead of "head" and "tail". There were problems with SunOS 5.9,
23559 and it performs better.
23560
23561 2011-05-17 Glenn Morris <rgm@gnu.org>
23562
23563 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23564
23565 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23566 Replace obsolete function.
23567
23568 * shell.el (pcomplete-parse-arguments-function): Declare.
23569
23570 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23571 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23572 (appt-check): Doc fixes.
23573 (appt-disp-window-function, appt-delete-window-function):
23574 Remove needless special case in custom :type.
23575 (appt-display-count): Default to 0, not nil.
23576 (appt-check): Reset appt-display-count to 0, not nil.
23577
23578 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23579
23580 * progmodes/python.el (python-font-lock-keywords):
23581 Add the Python 3.X keyword "nonlocal" (bug#8639).
23582
23583 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23584
23585 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23586
23587 2011-05-16 Kevin Ryde <user42@zip.com.au>
23588
23589 * info-look.el (makefile-automake-mode): New setups, looking in
23590 automake manual, then makefile-mode.
23591 (makefile-mode): Remove automake manual, have it just in
23592 makefile-automake-mode since there's various things different or
23593 not relevant to plain make.
23594 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23595 believe a hypothetical automake-mode would go to makefile-mode,
23596 not the other way around.
23597
23598 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23599
23600 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23601 hunk-end tags (Bug#8672).
23602
23603 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23604 vc-annotate-show-diff-revision-at-line (Bug#8671).
23605
23606 2011-05-14 Glenn Morris <rgm@gnu.org>
23607
23608 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23609 in the middle of an existing one with multiple authors. (Bug#8645)
23610 (change-log-font-lock-keywords): Also handle multiple author lines
23611 with leading tabs. (Bug#8644)
23612
23613 * calendar/appt.el (appt-check): Rename some local variables.
23614 Some simplification/reordering.
23615
23616 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23617 (feedmail-sendmail-f-doesnt-sell-me-out)
23618 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23619 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23620 (feedmail-queue-runner-message-sender): Set :version.
23621 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23622 (bbdb-dwim-net-address, vm-mail): Declare.
23623 (feedmail-binmail-gnulinuxish-template):
23624 Rename from feedmail-binmail-linuxish-template.
23625 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23626 Use insert-buffer-substring.
23627
23628 2011-05-14 Bill Carpenter <bill@carpenter.org>
23629
23630 * mail/feedmail.el (feedmail-patch-level): Increase.
23631 (feedmail-debug): New custom group.
23632 (feedmail-confirm-outgoing-timeout)
23633 (feedmail-sendmail-f-doesnt-sell-me-out)
23634 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23635 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23636 (feedmail-sender-line, feedmail-from-line)
23637 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23638 (feedmail-spray-this-address)
23639 (feedmail-spray-address-fiddle-plex-list)
23640 (feedmail-queue-use-send-time-for-date)
23641 (feedmail-queue-use-send-time-for-message-id)
23642 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23643 (feedmail-buffer-eating-function):
23644 Doc fixes.
23645 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23646 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23647 (feedmail-message-action-scroll-down): New functions.
23648 (feedmail-queue-directory, feedmail-queue-draft-directory):
23649 Use expand-file-name.
23650 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23651 Remove C-v help entry.
23652 (feedmail-queue-buffer-file-name): New variable.
23653 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23654 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23655 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23656 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23657 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23658 (feedmail-message-action-toggle-spray)
23659 (feedmail-run-the-queue-no-prompts)
23660 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23661 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23662 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23663 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23664 (feedmail-envelope-deducer, feedmail-fiddle-from)
23665 (feedmail-fiddle-sender, feedmail-default-date-generator)
23666 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23667 (feedmail-fiddle-spray-address)
23668 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23669 (feedmail-fiddle-list-of-fiddle-plexes)
23670 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23671 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23672 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23673 Change default. Doc fix.
23674 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23675 (feedmail-binmail-linuxish-template): New constant.
23676 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23677 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23678 (feedmail-send-it): Add debug call.
23679 Use feedmail-queue-buffer-file-name, and
23680 feedmail-send-it-immediately-wrapper.
23681 (feedmail-message-action-send): Add debug call.
23682 Use feedmail-send-it-immediately-wrapper.
23683 (feedmail-queue-express-to-queue): Add debug call.
23684 Run feedmail-queue-express-hook.
23685 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23686 (feedmail-message-action-help-blat):
23687 Rename from feedmail-queue-send-edit-prompt-help-first.
23688 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23689 Check line-endings. Handle errors better.
23690 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23691 Doc fix. Add debug call.
23692 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23693 Use feedmail-queue-send-edit-prompt-inner.
23694 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23695 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23696 from feedmail-queue-send-edit-prompt.
23697 (feedmail-queue-send-edit-prompt-help)
23698 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23699 (feedmail-tidy-up-slug): Add debug call.
23700 Respect feedmail-queue-slug-suspect-regexp.
23701 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23702 (feedmail-dump-message-to-queue): Add debug call.
23703 Expand queue-directory.
23704 (feedmail-dump-message-to-queue): Change message slightly.
23705 Use feedmail-say-chatter.
23706 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23707 (feedmail-send-it-immediately-wrapper): New function.
23708 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23709 Insert empty string rather than newline. Handle full-frame case.
23710 Use catch/throw. Use feedmail-say-chatter.
23711 (feedmail-fiddle-from): Try mail-host-address.
23712 (feedmail-default-message-id-generator): Doc fix.
23713 Bind system-time-locale. Handle missing end.
23714 (feedmail-fiddle-x-mailer): Add debug call.
23715 Handle feedmail-x-mailer-line being nil.
23716 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23717 Add debug call. Use buffer-substring-no-properties.
23718 (feedmail-say-debug, feedmail-say-chatter): New functions.
23719 (feedmail-find-eoh): Give an explicit error.
23720
23721 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23722
23723 * net/newst-treeview.el (newsticker-treeview-face): Change default
23724 family from helvetica to sans.
23725 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23726 etc/images/newsticker.
23727
23728 * net/newst-reader.el (newsticker-feed-face): Change default
23729 family from helvetica to sans.
23730
23731 * net/newst-plainview.el (newsticker-new-item-face)
23732 (newsticker-old-item-face, newsticker-immortal-item-face)
23733 (newsticker-obsolete-item-face, newsticker-date-face)
23734 (newsticker-statistics-face): Change default family from
23735 helvetica to sans.
23736 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23737 etc/images/newsticker.
23738
23739 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23740 (newsticker--process-auto-mark-filter-match): Tell user about
23741 auto-marking.
23742
23743 2011-05-13 Didier Verna <didier@xemacs.org>
23744
23745 Common Lisp indentation improvements on defmethod and lambda-lists.
23746 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23747 TODO entries.
23748 (lisp-lambda-list-keyword-parameter-indentation)
23749 (lisp-lambda-list-keyword-parameter-alignment)
23750 (lisp-lambda-list-keyword-alignment): New customizable user options.
23751 (lisp-indent-defun-method): Improve docstring.
23752 (extended-loop-p): Fix comment.
23753 (lisp-indent-lambda-list-keywords-regexp): New variable.
23754 (lisp-indent-lambda-list): New function.
23755 (lisp-indent-259): Use it.
23756 (lisp-indent-defmethod): Support for more than one
23757 method qualifier and properly indent methods lambda-lists.
23758 (defgeneric): Provide a missing common-lisp-indent-function property.
23759
23760 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23761
23762 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23763 bounds for the empty string (bug#8667).
23764
23765 2011-05-13 Glenn Morris <rgm@gnu.org>
23766
23767 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23768
23769 * mail/sendmail.el (sendmail-program): Try executable-find first.
23770 (sendmail-send-it): `sendmail-program' cannot be unbound.
23771
23772 * calendar/appt.el (appt-make-list): Simplify.
23773 (appt-time-msg-list): Doc fix.
23774 (appt-check): Change mode-line message at the time of the appointment.
23775
23776 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23777
23778 * progmodes/ld-script.el (ld-script-keywords)
23779 (ld-script-builtins): Update keywords list.
23780
23781 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23782
23783 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23784
23785 * shell.el (shell-completion-vars): New function.
23786 (shell-mode):
23787 * simple.el (read-shell-command): Use it.
23788 (blink-matching-open): No need for " [...]" in minibuffer-message.
23789
23790 2011-05-12 Glenn Morris <rgm@gnu.org>
23791
23792 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23793 (appt-check): Simplify.
23794
23795 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23796
23797 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23798 literal "/dev/null".
23799
23800 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23801
23802 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23803 Fix typo.
23804
23805 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23806
23807 * progmodes/which-func.el (which-function):
23808 Use add-log-current-defun instead of add-log-current-defun-function,
23809 which might not be defined (Bug#8260).
23810
23811 2011-05-12 Glenn Morris <rgm@gnu.org>
23812
23813 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23814 Let byte-compile-initial-macro-environment always take precedence.
23815
23816 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23817
23818 * net/rcirc.el: Add support for SSL/TLS connections.
23819 (rcirc-server-alist): New field `encryption'.
23820 (rcirc): Check `encryption' settings.
23821 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23822 Merge make-local-variable into `set'.
23823 (rcirc--connection-open-p): New function.
23824 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23825 the process is not a network process (e.g. running gnutls-cli).
23826 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23827 Make rcirc-(en|de)code-coding-system local here.
23828 (rcirc-mode): Merge make-local-variable into `set'.
23829 (rcirc-parent-buffer): Make permanent buffer-local.
23830 (rcirc-multiline-minor-mode): Don't do it here.
23831 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23832 there's no server buffer.
23833
23834 2011-05-11 Glenn Morris <rgm@gnu.org>
23835
23836 * newcomment.el (comment-kill): Prefix "unused" local.
23837
23838 * term/w32console.el (get-screen-color): Declare.
23839
23840 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23841 Handle symbol elements of byte-compile-initial-macro-environment.
23842
23843 2011-05-10 Leo Liu <sdl.web@gmail.com>
23844
23845 * bookmark.el (bookmark-bmenu-mode-map):
23846 Bind bookmark-bmenu-search to `/'.
23847
23848 * mail/footnote.el: Convert to utf-8 encoding.
23849 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23850 (Footnote-unicode): New function.
23851 (footnote-style-alist): Add unicode style to the list.
23852 (footnote-style): Doc fix.
23853
23854 2011-05-10 Jim Meyering <meyering@redhat.com>
23855
23856 Fix doubled-word typos.
23857 * international/quail.el (quail-insert-kbd-layout): and and -> and
23858 * kermit.el: and and -> and
23859 * net/ldap.el (ldap-search-internal): to to -> to
23860 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23861 * progmodes/js.el (js-mode): and and -> and
23862 * textmodes/artist.el (artist-move-to-xy): at at -> at
23863 (artist-draw-region-trim-line-endings): if if -> if
23864 And Safetyc -> Safety.
23865 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23866
23867 2011-05-10 Glenn Morris <rgm@gnu.org>
23868 Stefan Monnier <monnier@iro.umontreal.ca>
23869
23870 * files.el (hack-one-local-variable-eval-safep):
23871 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23872
23873 2011-05-10 Glenn Morris <rgm@gnu.org>
23874
23875 * calendar/diary-lib.el (diary-list-entries-hook)
23876 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23877 (diary-nongregorian-marking-hook, diary-list-entries)
23878 (diary-include-other-diary-files, diary-mark-entries)
23879 (diary-mark-included-diary-files): Doc fixes.
23880
23881 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23882
23883 * misc.el: Require tabulated-list.el during compilation.
23884
23885 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23886
23887 * progmodes/compile.el (compilation-start):
23888 Run compilation-filter-hook for the async case too.
23889 (compilation-filter-hook): Doc fix.
23890
23891 2011-05-09 Deniz Dogan <deniz@dogan.se>
23892
23893 * wdired.el: Remove outdated installation comment. Fix usage
23894 comment.
23895
23896 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23897
23898 * misc.el: Implement new command `list-dynamic-libraries'.
23899 (list-dynamic-libraries--loaded-only-p): New variable.
23900 (list-dynamic-libraries--refresh): New function.
23901 (list-dynamic-libraries): New command.
23902
23903 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23904
23905 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23906 Fix the ant regexp to handle end-line and end-column info from jikes.
23907 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23908 higher priority to avoid clobbering by gnu.
23909
23910 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23911
23912 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23913 if the face has existing theme settings (Bug#8454).
23914
23915 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23916
23917 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23918 Only match variables declared via `my' or `our' (Bug#8261).
23919
23920 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23921 special file names `.' and `..' (Bug#8259).
23922
23923 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23924
23925 * progmodes/grep.el (grep-mode-font-lock-keywords):
23926 Remove buffer-changing entries.
23927 (grep-filter): New function.
23928 (grep-mode): Add it to compilation-filter-hook.
23929
23930 * progmodes/compile.el (compilation-filter-hook)
23931 (compilation-filter-start): New defvars.
23932 (compilation-filter): Call compilation-filter-hook prior to
23933 updating the process mark.
23934
23935 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23936
23937 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23938
23939 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23940
23941 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23942 mailclient-send-it even if window-system is nil. (Bug#8595)
23943
23944 * term/w32console.el (terminal-init-w32console):
23945 Call get-screen-color and use its output to set the frame
23946 background-mode. (Bug#8597)
23947
23948 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23949
23950 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23951 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23952 New functions.
23953 (defgeneric, eieio--defmethod): Use them.
23954 (eieio-defgeneric): Remove.
23955 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23956
23957 2011-05-07 Glenn Morris <rgm@gnu.org>
23958
23959 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23960 Use let rather than let*.
23961 (timeclock-find-discrep): Remove unused local.
23962
23963 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23964
23965 * calendar/appt.el (appt-time-msg-list): Doc fix.
23966
23967 2011-05-06 Noah Friedman <friedman@splode.com>
23968
23969 * apropos.el (apropos-print-doc): Only use
23970 emacs-lisp-docstring-fill-column when it is bound to an integer,
23971 per that variable's documentation.
23972
23973 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23974
23975 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23976 and warnings are not silently discarded (e.g. use -d instead of -P).
23977
23978 2011-05-06 Glenn Morris <rgm@gnu.org>
23979
23980 * calendar/appt.el (appt-message-warning-time): Doc fix.
23981 (appt-warning-time-regexp): New option.
23982 (appt-make-list): Respect appt-message-warning-time.
23983
23984 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23985 New options.
23986 (diary-add-to-list): Strip comments from the displayed string.
23987 (diary-mode): Set comment-start and comment-end.
23988
23989 * vc/diff-mode.el (smerge-refine-subst): Declare.
23990 (diff-refine-hunk): Don't require smerge-mode when compiling.
23991
23992 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23993
23994 * simple.el (list-processes): Return nil as the docstring says.
23995
23996 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23997
23998 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23999 to "".
24000 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24001 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24002 determining of binary transfer. (Bug#7383)
24003
24004 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24005
24006 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24007 Fix port computation bug. (Bug#8618)
24008
24009 2011-05-05 Glenn Morris <rgm@gnu.org>
24010
24011 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24012
24013 * simple.el (shell-dynamic-complete-functions)
24014 (comint-dynamic-complete-functions): Declare.
24015
24016 * net/network-stream.el (gnutls-negotiate):
24017 * simple.el (tabulated-list-print): Fix declarations.
24018
24019 * progmodes/gud.el (syntax-symbol, syntax-point):
24020 Remove unnecessary and incorrect declarations.
24021
24022 * emacs-lisp/check-declare.el (check-declare-scan):
24023 Handle byte-compile-initial-macro-environment in bytecomp.el.
24024
24025 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24026
24027 Fix earlier half-done eieio-defmethod change (bug#8338).
24028 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24029 Streamline and change calling convention.
24030 (defmethod): Adjust accordingly and simplify.
24031 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24032 new eieio--defmethod.
24033 (slot-boundp): Minor CSE simplification.
24034
24035 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24036
24037 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24038 (glasses-make-readable): Use glasses-separate-capital-groups.
24039
24040 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24041
24042 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24043 (warning-series): Doc fix.
24044 (display-warning): Don't try to create the buffer if we just found it.
24045
24046 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24047
24048 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24049 (autoload-find-generated-file): New function.
24050 (generate-file-autoloads): Bind generated-autoload-file to
24051 buffer-file-name.
24052 (update-file-autoloads, update-directory-autoloads):
24053 Use autoload-find-generated-file. If called interactively, prompt for
24054 output file (Bug#7989).
24055 (batch-update-autoloads): Doc fix.
24056
24057 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24058
24059 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24060
24061 2011-05-04 Glenn Morris <rgm@gnu.org>
24062
24063 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24064 function, so it follows changes in calendar-date-style.
24065 (diary-fancy-date-matcher): New function.
24066 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24067 (diary-fancy-font-lock-fontify-region-function):
24068 Use diary-fancy-date-pattern as a function.
24069
24070 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24071 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24072
24073 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24074
24075 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24076 instead of positional arguments. Allow :keylist and :crlfiles
24077 arguments.
24078 (open-gnutls-stream): Call it.
24079
24080 * net/network-stream.el (network-stream-open-starttls): Adjust to
24081 call `gnutls-negotiate' with :process and :hostname arguments.
24082
24083 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24084
24085 * minibuffer.el (completion--message): New function.
24086 (completion--do-completion, minibuffer-complete)
24087 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24088 (completion--do-completion): Don't ignore completion-auto-help when in
24089 icomplete-mode.
24090
24091 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24092 internal encoding (e.g. tibetan zero is not whitespace).
24093 (global-whitespace-mode): Prefer save-current-buffer.
24094 (whitespace-trailing-regexp): Remove useless save-match-data.
24095 (whitespace-empty-at-bob-regexp): Minor simplification.
24096
24097 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24098
24099 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24100
24101 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24102
24103 * textmodes/ispell.el (ispell-add-per-file-word-list):
24104 Use `concat' to create string for insertion.
24105
24106 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24107
24108 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24109 Avoid open-line which runs post-self-insert-hook.
24110 (bibtex-fill-entry): Remove unused `end' var.
24111
24112 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24113
24114 * textmodes/ispell.el (ispell-add-per-file-word-list):
24115 Protect against `nil' value of `comment-start' (Bug#8579).
24116
24117 2011-05-03 Leo Liu <sdl.web@gmail.com>
24118
24119 * isearch.el (isearch-yank-pop): New command.
24120 (isearch-mode-map): Bind it to `M-y'.
24121 (isearch-forward): Mention it.
24122
24123 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24124
24125 * simple.el (minibuffer-complete-shell-command): Remove.
24126 (minibuffer-local-shell-command-map): Use completion-at-point.
24127 (read-shell-command): Setup completion vars here instead.
24128 (read-expression-map): Bind TAB to symbol completion.
24129
24130 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24131 error directly rather via storing it into `results'.
24132
24133 2011-05-02 Leo Liu <sdl.web@gmail.com>
24134
24135 * vc/diff.el: Fix description.
24136
24137 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24138
24139 * server.el (server-eval-at): New function.
24140
24141 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24142
24143 * net/network-stream.el (open-network-stream): Take a :nowait
24144 parameter and pass it on to `make-network-process'.
24145 (network-stream-open-plain): Ditto.
24146
24147 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24148
24149 * faces.el (face-spec-set-match-display): Don't match toolkit
24150 options on terminal frames.
24151
24152 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24153
24154 * progmodes/pascal.el: Use lexical binding.
24155 (pascal-mode-map): Remove author preferences.
24156
24157 * pcomplete.el (pcomplete-std-complete): Don't abuse
24158 completion-at-point.
24159
24160 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24161
24162 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24163 removing code that has been dead since 1991 or so.
24164
24165 * startup.el (command-line): When warning about "_emacs", use a
24166 delayed warning to allow the user to filter it out.
24167
24168 2011-04-28 Deniz Dogan <deniz@dogan.se>
24169
24170 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24171 user has not joined.
24172
24173 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24174
24175 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24176 aren't any completions at point.
24177
24178 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24179
24180 * subr.el (display-delayed-warnings): New function.
24181 (delayed-warnings-hook): New variable.
24182
24183 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24184
24185 * minibuffer.el (completion-at-point, completion-help-at-point):
24186 Don't presume that a given completion-at-point-function will always
24187 use the same calling convention.
24188
24189 * pcomplete.el (pcomplete-completions-at-point):
24190 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24191 pcomplete-seen is non-nil.
24192 (pcomplete-comint-setup): Also recognize the new comint/shell
24193 completion functions.
24194 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24195 pcomplete-seen is non-nil.
24196
24197 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24198
24199 * calendar/icalendar.el (diary-lib): Add require statement.
24200 (icalendar--create-uid): Read out a uid from a text-property on
24201 the first character in the entry. This allows for code to add its
24202 own uid to the entry.
24203 (icalendar--convert-float-to-ical): Add export of
24204 `diary-float'-entries save for those with the optional DAY
24205 argument.
24206
24207 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24208
24209 * subr.el (shell-quote-argument): Use alternate escaping strategy
24210 when we spot a variable reference in a string.
24211
24212 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24213
24214 * cus-start.el (all): Define customization for debug-on-event.
24215
24216 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24217
24218 * subr.el (shell-quote-argument): Escape correctly under Windows.
24219
24220 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24221
24222 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24223
24224 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24225
24226 * net/tramp.el (tramp-process-actions): Add POS argument.
24227 Delete region between POS and (pos).
24228
24229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24230 Use `nil' position in `tramp-process-actions' call.
24231 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24232
24233 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24234 position in `tramp-process-actions' call.
24235
24236 * net/trampver.el: Update release number.
24237
24238 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24239
24240 * custom.el (defcustom): Obey lexical-binding.
24241
24242 Fix octave-inf completion problems reported by Alexander Klimov.
24243 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24244 Inherit from octave-mode-syntax-table.
24245 (inferior-octave-mode): Set info-lookup-mode.
24246 (inferior-octave-completion-at-point): New function.
24247 (inferior-octave-complete): Use it and completion-in-region.
24248 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24249 comint-filename-completion.
24250 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24251 symbol elements which shouldn't be word elements.
24252 (octave-font-lock-keywords, octave-beginning-of-defun)
24253 (octave-function-header-regexp): Adjust regexps accordingly.
24254 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24255
24256 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24257
24258 * net/gnutls.el (gnutls-errorp): Declare before first use.
24259
24260 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24261
24262 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24263 verify-error, and verify-hostname-error parameters. Check whether
24264 default trustfile exists before going to use it. Add missing
24265 argument to gnutls-message-maybe call. Return value.
24266 Reported by Claudio Bley <claudio.bley@gmail.com>.
24267 (open-gnutls-stream): Add usage example.
24268
24269 * net/network-stream.el (network-stream-open-starttls): Give host
24270 parameter to `gnutls-negotiate'.
24271 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24272 * subr.el (shell-quote-argument): Escape correctly under Windows.
24273
24274 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24275
24276 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24277 Use correct match group (bug#8438).
24278
24279 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24280
24281 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24282 (package-menu--generate): New arg specifying packages to show.
24283 (package-menu-refresh, package-menu-execute, list-packages):
24284 Callers changed.
24285 (package-show-package-list): New function, replacing deleted
24286 package--list-packages (renamed because it is non-internal).
24287
24288 * finder.el (finder-list-matches): Use package-show-package-list
24289 instead of deleted package--list-packages.
24290
24291 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24292 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24293 (vc-annotate-mode-map): Bind it to RET.
24294
24295 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24296
24297 * progmodes/etags.el (next-file): Don't use set-buffer to change
24298 buffers (Bug#8478).
24299
24300 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24301
24302 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24303
24304 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24305 (apropos-accumulator): Doc fix.
24306 (apropos-function, apropos-macro, apropos-command)
24307 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24308 (apropos-plist): Add face property.
24309 (apropos-symbols-internal): Fix indentation.
24310 (apropos-print): Simplify help, and recognize apropos-multi-type.
24311 (apropos-print-doc): Use button-type-get to extract the button's
24312 face property. Fill docstring (Bug#8352).
24313
24314 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24315
24316 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24317
24318 * play/mpuz.el (mpuz-silent): Doc fix.
24319 (mpuz-mode-map): Use mapc.
24320 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24321 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24322 Fix typos in docstrings.
24323
24324 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24325 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24326
24327 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24328
24329 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24330
24331 * minibuffer.el (completion--do-completion): Avoid the "Next char
24332 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24333
24334 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24335 mouse-2 into unread-command-events, it is interpreted correctly.
24336
24337 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24338 (image-toggle-display): Doc fix.
24339
24340 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24341
24342 * textmodes/page.el (what-page): Use line-number-at-pos to
24343 calculate line number (Bug#6825).
24344
24345 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24346
24347 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24348 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24349 Pass argument NO-DEFAULT to `find-tag-interactive'.
24350
24351 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24352
24353 Lexical-binding cleanup.
24354
24355 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24356 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24357 * progmodes/ada-prj.el (ada-prj-initialize-values)
24358 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24359 (ada-prj-show-value):
24360 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24361 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24362 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24363 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24364 * progmodes/bug-reference.el (bug-reference-push-button):
24365 * progmodes/fortran.el (fortran-line-length):
24366 * progmodes/glasses.el (glasses-change):
24367 * progmodes/octave-mod.el (octave-fill-paragraph):
24368 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24369 (python-pdbtrack-grub-for-buffer, python-sentinel):
24370 * progmodes/sql.el (sql-save-connection):
24371 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24372 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24373 Mark unused parameters.
24374
24375 * progmodes/compile.el (compilation--flush-directory-cache)
24376 (compilation--flush-parse, compile-internal): Mark unused parameters.
24377 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24378 (compilation-next-error-function): Remove unused variable `timestamp'.
24379
24380 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24381 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24382
24383 * progmodes/dcl-mode.el (dcl-end-of-command):
24384 Remove unused variable `start'.
24385 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24386 (dcl-option-value-basic, dcl-option-value-offset)
24387 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24388 Mark unused parameters.
24389 (dcl-save-local-variable): Remove unused variable `val'.
24390 (mode): Declare.
24391
24392 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24393 Mark unused parameters.
24394 (delphi-ignore-changes): Move before first use.
24395 (delphi-charset-token-at): Remove unused variable `start'.
24396 (delphi-else-start): Remove unused variable `if-count'.
24397 (delphi-comment-block-start, delphi-comment-block-end):
24398 Remove unused variable `kind'.
24399 (delphi-indent-line): Remove unused variable `new-point'.
24400
24401 * progmodes/ebrowse.el (ebrowse-files-list)
24402 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24403 Mark unused parameters. Don't quote `lambda'.
24404 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24405 Don't quote `lambda'.
24406 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24407 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24408 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24409 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24410 Use `ignore-errors'.
24411 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24412 (ebrowse-view/find-file-and-search-pattern)
24413 (ebrowse-view/find-member-declaration/definition):
24414 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24415 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24416 Rename parameter PREFIX-ARG to PREFIX.
24417 (ebrowse-tags-read-name): Remove unused variables `start' and
24418 `member-info'.
24419 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24420 to `tags-file'.
24421
24422 * progmodes/etags.el (local-find-tag-hook): Declare.
24423 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24424 Mark unused parameters.
24425
24426 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24427 (executable-interpret): Mark unused parameter.
24428
24429 * progmodes/flymake.el (flymake-process-sentinel)
24430 (flymake-after-change-function)
24431 (flymake-create-temp-with-folder-structure)
24432 (flymake-get-include-dirs-dot): Mark unused parameters.
24433 (flymake-safe-delete-directory): Remove unused variable `err'.
24434
24435 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24436 (speedbar-timer-fn, speedbar-line-text)
24437 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24438 (speedbar-center-buffer-smartly): Declare functions.
24439 (gdb-find-watch-expression): Remove unused variable `array'.
24440 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24441 (gdb-starting): Mark unused parameters.
24442 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24443 (gdb-table-string): Remove unused variable `res'.
24444 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24445 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24446 (gdb-display-buffer): Remove unused variable `cur-size'.
24447
24448 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24449 allow lexical-binding compilation.
24450 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24451 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24452 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24453 Mark unused parameters.
24454 (gud-gdb-marker-filter): Remove unused variable `match'.
24455 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24456 lambda expressions and funcall them, instead of using `fset'.
24457
24458 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24459 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24460
24461 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24462 variable `header-beg'; use `let'.
24463
24464 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24465 `restart', `last-sexp' and `at-do'.
24466
24467 * progmodes/js.el (js--debug): Mark unused parameter.
24468 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24469 (js--splice-into-items): Remove unused variable `item'.
24470 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24471
24472 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24473 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24474 (makefile-complete): Remove unused variable `try'.
24475 (makefile-fill-paragraph, makefile-match-function-end):
24476 Mark unused parameters.
24477
24478 * progmodes/octave-inf.el (inferior-octave-complete):
24479 Remove unused variable `proc'.
24480 (inferior-octave-output-digest): Mark unused parameter.
24481
24482 * progmodes/perl-mode.el (perl-calculate-indent):
24483 Remove unused variable `err'.
24484
24485 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24486 (prolog-indent-line): Mark unused parameters.
24487 (prolog-indent-line): Remove unused variable `beg'.
24488
24489 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24490 (reporter-dont-compact-list): Declare.
24491
24492 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24493 Remove unused variable `char'.
24494 (sh-debug): Mark unused parameter.
24495 (sh-get-indent-info): Remove unused variable `start'.
24496 (sh-calculate-indent): Remove unused variable `var'.
24497
24498 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24499 (simula-electric-keyword): Remove unused variable `null'.
24500 (simula-search-backward, simula-search-forward): Remove unused
24501 variables `begin' and `end'.
24502
24503 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24504 Remove unused variable `pos'.
24505 (vera-electric-tab, vera-comment-uncomment-region):
24506 Mark unused parameters.
24507 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24508
24509 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24510
24511 * emacs-lisp/package.el (package--builtins, package-alist)
24512 (package-load-descriptor, package-built-in-p, package-activate)
24513 (define-package, package-installed-p)
24514 (package-compute-transaction, package-buffer-info)
24515 (package--push): Doc fix. Distinguish more clearly between
24516 version strings and version lists.
24517
24518 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24519
24520 Lexical-binding cleanup.
24521
24522 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24523 (5x5-make-mutate-best):
24524 * play/fortune.el (fortune-in-buffer):
24525 * play/gomoku.el (gomoku-init-display):
24526 * play/solitaire.el (solitaire, solitaire-do-check):
24527 * play/tetris.el (tetris-default-update-speed-function):
24528 Mark unused parameters.
24529
24530 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24531 (bubbles--shift): Remove unused variable `char-org'.
24532 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24533 (bubbles--show-images): Remove unused variable `char'.
24534
24535 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24536 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24537 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24538 (decipher-analyze-buffer): Use ?\s.
24539 (decipher-make-checkpoint): Remove unused variable `mapping'.
24540
24541 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24542
24543 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24544 Remove unused variable `result'; use `let'.
24545
24546 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24547 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24548 (gametree-children-shown-p, gametree-compute-reduced-score):
24549 Use `ignore-errors'.
24550
24551 * play/handwrite.el (ps-lpr-switches): Declare.
24552 (handwrite): Remove unused variables `pmin' and `lastp'.
24553
24554 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24555
24556 * play/landmark.el (landmark-init-display)
24557 (landmark-update-naught-weights): Mark unused parameters.
24558 (landmark-y): Remove unused variable `noise'. Simplify.
24559 (landmark-human-plays): Remove unused variable `score'.
24560
24561 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24562 (mpuz-try-proposal): Remove unused variable `game'.
24563
24564 * play/zone.el (life-patterns): Declare.
24565
24566 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24567
24568 * vc/vc.el (ediff-vc-internal): Declare function.
24569
24570 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24571
24572 * shell.el: Use lexical-binding and std completion UI.
24573 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24574 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24575 comint-preoutput-filter-functions rather than on
24576 comint-output-filter-functions.
24577 (shell-command-completion, shell--command-completion-data)
24578 (shell-filename-completion, shell-environment-variable-completion)
24579 (shell-c-a-p-replace-by-expanded-directory): New functions.
24580 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24581 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24582 (shell-dynamic-complete-environment-variable): Use them.
24583 (shell-dynamic-complete-as-environment-variable)
24584 (shell-dynamic-complete-as-command): Remove.
24585 (shell-match-partial-variable): Match past point.
24586 * comint.el: Clean up use of completion-at-point-functions.
24587 (comint-completion-at-point): New function.
24588 (comint-mode): Use it completion-at-point-functions.
24589 (comint-dynamic-complete): Make it obsolete.
24590 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24591 (comint-c-a-p-replace-by-expanded-history): New function.
24592 (comint-dynamic-complete-functions)
24593 (comint-replace-by-expanded-history): Use it.
24594 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24595 termination strings. Try harder to avoid second try-completion.
24596 (completion-in-region-mode-map): Disable bindings that don't work yet.
24597
24598 * comint.el: Use lexical-binding. Require CL.
24599 (comint-dynamic-complete-functions): Use comint-filename-completion.
24600 (comint-completion-addsuffix): Tweak custom type.
24601 (comint-filename-completion, comint--common-suffix)
24602 (comint--common-quoted-suffix, comint--table-subvert)
24603 (comint--complete-file-name-data): New functions.
24604 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24605 (comint-dynamic-list-filename-completions): Use them.
24606 (comint-dynamic-simple-complete): Make obsolete.
24607
24608 * minibuffer.el (completion-in-region-mode):
24609 Keep completion-in-region-mode--predicate global.
24610 (completion-in-region--postch):
24611 Assume completion-in-region-mode--predicate is not null.
24612
24613 * progmodes/flymake.el (flymake-start-syntax-check-process):
24614 Obey `dir'. Simplify.
24615
24616 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24617 we're in VC after all.
24618
24619 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24620
24621 * vc/vc.el (vc-diff-build-argument-list-internal)
24622 (vc-version-ediff, vc-ediff): New commands.
24623 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24624
24625 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24626
24627 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24628 add sanity check.
24629
24630 * obsolete/erc-hecomplete.el: Make obsolete.
24631 * obsolete/: Standardize obsolescence info in the header.
24632
24633 2011-04-20 Glenn Morris <rgm@gnu.org>
24634
24635 * calendar/solar.el (solar-horizontal-coordinates):
24636 Use the longitude argument rather than `calendar-longitude'.
24637 (solar-date-next-longitude): Remove unused locals.
24638
24639 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24640
24641 * whitespace.el: New version 13.2.1.
24642
24643 2011-04-20 felix <EmacsWiki> (tiny change)
24644
24645 * whitespace.el (global-whitespace-mode): Keep highlight when
24646 switching between major modes on a file.
24647
24648 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24649
24650 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24651 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24652 multi-line comments as well.
24653
24654 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24655
24656 Lexical-binding cleanup.
24657
24658 * arc-mode.el (archive-mode-revert):
24659 * cmuscheme.el (scheme-interactively-start-process):
24660 * custom.el (custom-initialize-delay):
24661 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24662 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24663 * emacs-lock.el (emacs-lock-clear-sentinel):
24664 * ezimage.el (defezimage):
24665 * follow.el (follow-avoid-tail-recenter):
24666 * fringe.el (set-fringe-mode-1):
24667 * generic-x.el (bat-generic-mode-compile):
24668 * help-mode.el (help-info-variable, help-do-xref)
24669 (help-mode-revert-buffer):
24670 * help.el (view-emacs-todo):
24671 * iswitchb.el (iswitchb-completion-help):
24672 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24673 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24674 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24675 * locate.el (locate-update):
24676 * longlines.el (longlines-encode-region)
24677 (longlines-after-change-function):
24678 * outline.el (outline-isearch-open-invisible):
24679 * ps-def.el (declare-function, charset-dimension, char-width)
24680 (encode-char):
24681 * ps-mule.el (ps-mule-plot-string):
24682 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24683 (recentf-edit-list-select, recentf-edit-list-validate)
24684 (recentf-open-files-action):
24685 * rect.el (delete-whitespace-rectangle-line)
24686 (rectangle-number-line-callback):
24687 * register.el (window-configuration-to-register)
24688 (frame-configuration-to-register):
24689 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24690 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24691 (xselect-convert-to-targets, xselect-convert-to-delete)
24692 (xselect-convert-to-filename, xselect-convert-to-charpos)
24693 (xselect-convert-to-lineno, xselect-convert-to-colno)
24694 (xselect-convert-to-os, xselect-convert-to-host)
24695 (xselect-convert-to-user, xselect-convert-to-class)
24696 (xselect-convert-to-name, xselect-convert-to-integer)
24697 (xselect-convert-to-atom, xselect-convert-to-identity):
24698 * subr.el (declare, ignore, process-kill-without-query)
24699 (text-clone-maintain):
24700 * terminal.el (te-get-char, te-tic-sentinel):
24701 * tool-bar.el (tool-bar-make-keymap):
24702 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24703 * type-break.el (type-break-mode, type-break-noninteractive-query):
24704 * view.el (View-back-to-mark):
24705 * wid-browse.el (widget-browse-action, widget-browse-widget)
24706 (widget-browse-widgets, widget-browse-sexp):
24707 * widget.el (define-widget-keywords):
24708 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24709 Mark unused parameters.
24710
24711 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24712 (align-areas): Remove unused variable `look'.
24713 (align-region): Remove unused variables `real-end' and `pos-list'.
24714
24715 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24716
24717 * bindings.el (mode-line-modified, mode-line-remote):
24718 Mark unused parameters.
24719 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24720
24721 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24722 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24723
24724 * comint.el (comint-history-isearch-pop-state)
24725 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24726 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24727 (comint-substitute-in-file-name): Doc fix.
24728
24729 * completion.el (cmpl-statistics-block): Mark unused parameter.
24730 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24731 (save-completions-to-file, load-completions-from-file):
24732 Remove unused local variable `e'.
24733
24734 * composite.el (compose-chars): Remove unused variable `len'.
24735 (lgstring-insert-glyph): Remove unused variable `g'.
24736 (compose-glyph-string): Remove unused variables `ascent',
24737 `descent', `lbearing' and `rbearing'.
24738 (compose-glyph-string-relative): Remove unused variables
24739 `lbearing', `rbearing' and `wadjust'.
24740 (compose-gstring-for-graphic): Remove unused variables `header',
24741 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24742 (compose-gstring-for-terminal): Remove unused variables `header'
24743 and `nchars'. Use `let', not `let*'.
24744
24745 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24746 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24747 (Custom-buffer-done, custom-buffer-create-internal)
24748 (custom-browse-visibility-action, custom-browse-group-tag-action)
24749 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24750 (widget-magic-mouse-down-action, custom-toggle-parent)
24751 (custom-add-parent-links, custom-toggle-hide-variable)
24752 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24753 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24754 (custom-face-menu-create, custom-variable-menu-create, get)
24755 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24756 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24757 (customize-apropos): Remove unused variable `tests'.
24758 (custom-group-value-create): Remove unused variable `hidden-p'.
24759 (sort-fold-case): Declare.
24760
24761 * cus-theme.el (custom-reset-standard-faces-list)
24762 (custom-reset-standard-variables-list): Declare.
24763 (customize-create-theme, custom-theme-revert, custom-theme-write)
24764 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24765 Mark unused parameters.
24766
24767 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24768
24769 * delim-col.el (delimit-columns-max): Move defvar before first use.
24770
24771 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24772 (describe-char): Don't quote `lambda'. Mark unused parameter.
24773
24774 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24775 (auto-insert): Declare.
24776 (desktop-restore-file-buffer): Rename desktop-* parameters;
24777 mark unused ones.
24778 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24779 (desktop-buffer): Rename desktop-* parameters.
24780
24781 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24782 (dframe-reposition-frame-xemacs, dframe-help-echo)
24783 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24784 Mark unused parameters.
24785
24786 * dired-aux.el (backup-extract-version-start, overwrite-query)
24787 (overwrite-backup-query, rename-regexp-query)
24788 (rename-non-directory-query): Declare.
24789 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24790 (dired-add-entry): Remove unused variable `orig-file-name'.
24791 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24792 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24793 `dired-copy-preserve-time' directly.
24794 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24795 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24796
24797 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24798 (dired-virtual-revert, dired-make-relative-symlink):
24799 Mark unused parameters.
24800 (manual-program): Declare.
24801 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24802 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24803 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24804
24805 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24806
24807 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24808
24809 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24810 Declare.
24811
24812 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24813
24814 * electric.el (Electric-command-loop): Rename parameter
24815 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24816
24817 * expand.el (expand-in-literal): Remove unused variable `here'.
24818
24819 * facemenu.el (facemenu-add-new-color):
24820 Remove unused variable `docstring'.
24821
24822 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24823 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24824 (face-attr-construct): Mark unused parameter. Doc fix.
24825 (read-color): Remove unused variable `hex-string'.
24826
24827 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24828 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24829 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24830 (display-buffer-other-frame): Remove unused variable `old-window'.
24831 (kill-buffer-hook): Declare.
24832 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24833 Mark unused parameters.
24834 (after-find-file): Pass 1 to `auto-save-mode', not t.
24835
24836 * files-x.el (auto-insert): Declare.
24837 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24838
24839 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24840 variable `buf'. Mark unused parameter.
24841 (find-lisp-insert-directory): Mark unused parameter.
24842
24843 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24844 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24845 (format-common-tail): Remove, unused.
24846 (format-deannotate-region): Remove unused variable `loc'.
24847 (format-annotate-region): Remove unused variable `p'.
24848 (format-annotate-single-property-change): Remove unused variables
24849 `default' and `tail'.
24850
24851 * forms.el (read-file-filter): Declare.
24852 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24853
24854 * frame.el (frame-creation-function-alist): Mark unused parameter.
24855 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24856
24857 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24858 Remove unused parameters.
24859 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24860 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24861
24862 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24863 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24864 (hfy-prepare-tag-map): Mark unused parameters.
24865 (htmlfontify-buffer): Use `called-interactively-p'.
24866
24867 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24868 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24869 (ibuffer-do-occur): Mark unused parameters.
24870 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24871 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24872
24873 * ibuffer.el: Don't quote `lambda'.
24874 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24875 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24876 Mark unused parameters.
24877
24878 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24879 (ido-completing-read): Mark unused parameters.
24880 (ido-copy-current-word): Mark unused parameters;
24881 remove unused variable `name'.
24882 (ido-sort-merged-list): Remove unused parameter `dirs'.
24883
24884 * ielm.el (ielm-input-sender): Mark unused parameter.
24885 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24886 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24887 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24888 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24889 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24890
24891 * image-dired.el (image-dired-display-thumbs): Remove unused
24892 variables `curr-file' and `count'.
24893 (image-dired-remove-tag): Remove unused variable `start'.
24894 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24895 variable `curr-file'
24896 (image-dired-rotate-original): Remove unused variable `temp-file'.
24897 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24898 Remove unused variable `file'.
24899 (image-dired-gallery-generate): Remove unused variable `curr'.
24900 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24901
24902 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24903
24904 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24905
24906 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24907
24908 * isearch.el (minibuffer-history-symbol): Declare.
24909 (isearch-edit-string): Remove unused variable `err'.
24910 (isearch-message-prefix, isearch-message-suffix):
24911 Mark unused parameters.
24912
24913 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24914
24915 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24916
24917 * makesum.el (double-column): Remove unused variable `cnt'.
24918
24919 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24920 (ido-ignore-item-temp-list): Declare.
24921
24922 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24923 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24924 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24925 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24926 `mouse-col-delta'.
24927
24928 * mouse-sel.el (mouse-extend-internal):
24929 Remove unused variable `orig-window-frame'.
24930
24931 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24932 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24933 Move declarations before first use.
24934 (pcomplete-opt): Mark unused parameters; doc fix.
24935
24936 * proced.el (proced-revert): Mark unused parameter.
24937 (proced-send-signal): Remove unused variable `err'.
24938
24939 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24940 Rename parameter PREFIX-ARG to ARG.
24941 (ps-basic-plot-string, ps-basic-plot-whitespace):
24942 Mark unused parameters.
24943
24944 * replace.el (replace-count): Define.
24945 (occur-revert-function): Mark unused parameters.
24946 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24947 (isearch-case-fold-search, isearch-string): Declare.
24948 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24949 bind `case-fold-search'. Remove unused variables `beg' and `end',
24950 and simplify.
24951 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24952 COUNT and bind `replace-count'.
24953 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24954 to COUNT.
24955
24956 * savehist.el (print-readably, print-string-length): Declare.
24957
24958 * shadowfile.el (shadow-expand-cluster-in-file-name):
24959 Remove unused variable `cluster'.
24960 (shadow-copy-file): Remove unused variable `i'.
24961 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24962 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24963 (shadow-define-literal-group, shadow-define-regexp-group)
24964 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24965
24966 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24967 (shell): Use `called-interactively-p'.
24968 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24969
24970 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24971 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24972 (delete-backward-char): Remove unused variable `ocol'.
24973 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24974 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24975 (event-apply-hyper-modifier, event-apply-shift-modifier)
24976 (event-apply-control-modifier, event-apply-meta-modifier):
24977 Mark unused parameters.
24978 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24979 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24980
24981 * speedbar.el (speedbar-ignored-directory-expressions)
24982 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24983 (speedbar-find-file, speedbar-dir-follow)
24984 (speedbar-directory-buttons-follow, speedbar-tag-find)
24985 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24986 (speedbar-buffers-line-directory, speedbar-buffer-click):
24987 Mark unused parameters.
24988 (speedbar-tag-file): Remove unused variable `mode'.
24989 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24990
24991 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24992
24993 * talk.el (talk): Remove unused variable `display'.
24994
24995 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24996 (tar-write-region-annotate): Mark unused parameter.
24997
24998 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24999 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25000 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25001 warning by another.
25002
25003 * time-stamp.el (time-stamp-string-preprocess):
25004 Remove unused variable `require-padding'.
25005
25006 * tree-widget.el (widget-glyph-enable): Declare.
25007 (tree-widget-action): Mark unused parameter.
25008
25009 * w32-fns.el (x-get-selection): Mark unused parameter.
25010 (autoload-make-program, generated-autoload-file): Declare.
25011
25012 * wdired.el (wdired-revert): Mark unused parameters.
25013 (wdired-xcase-word): Remove unused variable `err'.
25014
25015 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25016 (whitespace-help-scroll): Remove unused variable `data-help'.
25017
25018 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25019 (widget-image-insert, widget-after-change, default)
25020 (widget-default-format-handler, widget-default-notify)
25021 (widget-default-prompt-value, widget-info-link-action)
25022 (widget-url-link-action, widget-function-link-action)
25023 (widget-variable-link-action, widget-file-link-action)
25024 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25025 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25026 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25027 (widget-insert-button-action, widget-delete-button-action, visibility)
25028 (widget-documentation-link-action, widget-documentation-string-action)
25029 (widget-const-prompt-value, widget-regexp-match, symbol)
25030 (widget-coding-system-prompt-value)
25031 (widget-key-sequence-value-to-external, sexp)
25032 (widget-sexp-value-to-internal, character, vector, cons)
25033 (widget-choice-prompt-value, widget-boolean-prompt-value)
25034 (widget-color--choose-action): Mark unused parameters.
25035 (widget-item-match-inline, widget-choice-match-inline)
25036 (widget-checklist-match, widget-checklist-match-inline)
25037 (widget-group-match): Rename parameter VALUES to VALS.
25038 (widget-field-value-set): Remove unused variable `size'.
25039 (widget-color-action): Remove unused variables `value' and `start'.
25040
25041 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25042 variable `dir'. Doc fix.
25043 (windmove-find-other-window): Don't pass it.
25044
25045 * window.el (count-windows): Mark unused parameter.
25046 (bw-adjust-window): Remove unused variable `err'.
25047
25048 * woman.el (woman-file-name): Remove unused variable `default'.
25049 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25050 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25051 (global-font-lock-mode): Declare.
25052 (woman-decode-region): Mark unused parameter.
25053 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25054
25055 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25056 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25057 (x-dnd-handle-moz-url): Remove unused variable `title'.
25058 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25059
25060 * xml.el (xml-parse-tag, xml-parse-attlist):
25061 Remove unused variable `pos'.
25062
25063 2011-04-19 Glenn Morris <rgm@gnu.org>
25064
25065 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25066 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25067 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25068 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25069 * calendar/cal-html.el (cal-html-insert-minical):
25070 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25071 (calendar-mark-date-pattern):
25072 Prefix "unused" locals.
25073
25074 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25075 optional argument `style'.
25076
25077 * calendar/appt.el (appt-make-list):
25078 * calendar/cal-china.el (calendar-chinese-date-string):
25079 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25080 (diary-hebrew-yahrzeit):
25081 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25082 * calendar/calendar.el (calendar-generate-window):
25083 * calendar/time-date.el (time-to-days):
25084 Remove unused local variables.
25085
25086 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25087
25088 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25089 glyphless-char-display table.
25090 (tabulated-list-glyphless-char-display): New var.
25091
25092 2011-04-18 Sam Steingold <sds@gnu.org>
25093
25094 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25095 to acknowledgments.
25096
25097 2011-04-17 Glenn Morris <rgm@gnu.org>
25098
25099 * calendar/diary-lib.el (diary-sexp-entry):
25100 * calendar/holidays.el (holiday-sexp):
25101 Set debug-on-error rather than the removed stack-trace-on-error.
25102
25103 2011-04-16 Glenn Morris <rgm@gnu.org>
25104
25105 * progmodes/f90.el: Use lexical-binding.
25106 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25107
25108 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25109
25110 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25111 (mail-mode): Setup mailalias completion here instead.
25112 * mail/mailalias.el: Use lexical-binding.
25113 (pattern, mailalias-done): Declare dynamic.
25114 (mail-completion-at-point-function): New function, from mail-complete.
25115 (mail-complete): Use it.
25116 (mail-completion-expand): New function.
25117 (mail-get-names): Use it.
25118 (mail-directory, mail-directory-process, mail-directory-stream):
25119 Don't use `pattern' for lexically bound arg.
25120
25121 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25122
25123 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25124 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25125 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25126
25127 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25128 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25129 (byte-interactive-p): Define them again, for use when inlining
25130 old code.
25131
25132 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25133
25134 * loadup.el: Use `string-to-number', not `string-to-int'.
25135
25136 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25137
25138 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25139 gud-gdb-complete-command.
25140 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25141 (gud-gdb-completion-at-point): New function.
25142 (gud-gdb-completions): Remove.
25143
25144 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25145
25146 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25147 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25148 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25149 whether `executable-find' is bound.
25150
25151 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25152
25153 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25154
25155 * minibuffer.el (completion-in-region-mode-predicate)
25156 (completion-in-region-mode--predicate): New vars.
25157 (completion-in-region, completion-in-region--postch)
25158 (completion-in-region-mode): Use them.
25159 (completion--capf-wrapper): Also return the hook function.
25160 (completion-at-point, completion-help-at-point):
25161 Adjust and provide a predicate.
25162
25163 Preserve arg names for advice of subr and lexical functions (bug#8457).
25164 * help-fns.el (help-function-arglist): Consolidate the subr and
25165 new-byte-code cases. Add argument `preserve-names' to extract names
25166 from the docstring when needed.
25167 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25168 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25169 (ad-arglist): Use help-function-arglist's new arg.
25170 (ad-definition-type): Use cond.
25171
25172 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25173
25174 * autorevert.el (auto-revert-handler):
25175 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25176 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25177 Don't quote lambda.
25178
25179 * image-mode.el (image-transform-set-scale):
25180 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25181
25182 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25183
25184 * net/network-stream.el (network-stream-open-starttls): Only do
25185 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25186 Upgrades via gnutls-cli are too slow to be done opportunistically.
25187
25188 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25189
25190 * dframe.el (dframe-current-frame): Remove spurious quote.
25191
25192 2011-04-12 Glenn Morris <rgm@gnu.org>
25193
25194 * calendar/cal-tex.el (cal-tex-end-document):
25195 Try to automatically use latin1 input if needed.
25196
25197 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25198 Don't try to cons a mark onto an empty element.
25199
25200 2011-04-11 Leo Liu <sdl.web@gmail.com>
25201
25202 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25203 buffers.
25204 (ido-kill-buffer-at-head): Support killing virtual buffers.
25205
25206 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25207
25208 * minibuffer.el (completion-show-inline-help): New var.
25209 (completion--do-completion, minibuffer-complete)
25210 (minibuffer-force-complete, minibuffer-complete-word):
25211 Inhibit minibuffer messages if completion-show-inline-help is nil.
25212
25213 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25214 to avoid interference from inline help (Bug#5849).
25215
25216 2011-04-10 Leo Liu <sdl.web@gmail.com>
25217
25218 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25219 Fix typo.
25220
25221 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25222
25223 * image-mode.el (image-toggle-display-image): Signal an error if
25224 not in Image mode.
25225 (image-transform-mode, image-transform-resize)
25226 (image-transform-set-rotation): Doc fix.
25227 (image-transform-set-resize): Delete.
25228 (image-transform-set-scale, image-transform-fit-to-height)
25229 (image-transform-fit-to-width): Handle image-toggle-display-image
25230 and image-transform-resize directly.
25231
25232 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25233
25234 * doc-view.el (doc-view-fit-width-to-window)
25235 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25236 New functions for fitting the shown image to the Emacs window size.
25237 (doc-view-mode-map): Add bindings for the new functions.
25238
25239 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25240
25241 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25242 Fix typo in docstring.
25243
25244 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25245
25246 * files.el (file-size-human-readable): Produce one digit after
25247 decimal, like "ls -lh" does.
25248
25249 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25250 the file size representation.
25251
25252 * simple.el (list-processes): If async subprocesses are not
25253 available, error out with a clear error message.
25254
25255 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25256
25257 * help.el (help-form-show): New function, to be called from C.
25258 Put help-form output in a buffer named differently than *Help*.
25259
25260 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25261
25262 * files.el (file-size-human-readable): New function.
25263
25264 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25265 computing the representation inline. Don't require `cl'.
25266
25267 2011-04-08 Glenn Morris <rgm@gnu.org>
25268
25269 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25270
25271 * net/browse-url.el (browse-url-firefox):
25272 Test system-type, not system-configuration.
25273
25274 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25275 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25276 Use log-edit-empty-buffer-p. (Bug#7598)
25277
25278 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25279 (rlogin-mode-map): Initialize in the defvar.
25280 (rlogin): Use ignore-errors.
25281
25282 * replace.el (occur-mode-map): Some fixes for menu items.
25283
25284 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25285
25286 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25287
25288 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25289
25290 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25291 issuing unused warnings.
25292
25293 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25294 macro directly.
25295
25296 * simple.el: Lisp reimplement of list-processes. Based on an
25297 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25298 (process-menu-mode): New major mode.
25299 (list-processes--refresh, list-processes):
25300 (process-menu-visit-buffer): New functions.
25301
25302 * files.el (save-buffers-kill-emacs): Don't assume any return
25303 value of list-processes, which is undocumented anyway.
25304
25305 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25306
25307 * emacs-lisp/tabulated-list.el: New file.
25308
25309 * emacs-lisp/package.el: Use Tabulated List mode.
25310 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25311 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25312 table format using Tabulated List mode variables.
25313 (package--push): New macro, replacing package-list-maybe-add.
25314 (package-menu--generate): Use package--push. Renamed from
25315 package--generate-package-list.
25316 (package-menu-refresh, list-packages): Use it.
25317 (package-menu--print-info): Rename from package-print-package.
25318 Return insertion data instead of inserting it directly.
25319 (package-menu-describe-package, package-menu-execute):
25320 Use tabulated-list-get-id.
25321 (package-menu-mark-delete, package-menu-mark-install)
25322 (package-menu-mark-unmark, package-menu-backup-unmark)
25323 (package-menu-mark-obsolete-for-deletion):
25324 Use tabulated-list-put-tag.
25325 (package--list-packages, package-menu-revert)
25326 (package-menu-get-package, package-menu-get-version)
25327 (package-menu-sort-by-column): Functions deleted.
25328 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25329 (package-menu--status-predicate, package-menu--version-predicate)
25330 (package-menu--name-predicate)
25331 (package-menu--description-predicate): Handle arguments in the
25332 Tabulated List format.
25333 (package-list-packages-no-fetch): Call list-packages.
25334
25335 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25336
25337 * files.el (after-find-file-from-revert-buffer): Remove variable.
25338 (after-find-file): Don't bind it.
25339 (revert-buffer-in-progress-p): New variable.
25340 (revert-buffer): Bind it.
25341 Pass nil for `after-find-file-from-revert-buffer'.
25342
25343 * saveplace.el (save-place-find-file-hook): Use new variable
25344 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25345
25346 2011-04-06 Glenn Morris <rgm@gnu.org>
25347
25348 * Makefile.in (AUTOGEN_VCS): New variable.
25349 (autoloads): Use $AUTOGEN_VCS.
25350
25351 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25352 * calendar/calendar.el (calendar-mode-map):
25353 Check for toolkit scroll bars. (Bug#8305)
25354
25355 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25356
25357 * minibuffer.el (completion-in-region--postch)
25358 (completion-in-region-mode): Remove unnecessary messages.
25359
25360 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25361
25362 * font-lock.el (font-lock-refresh-defaults):
25363 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25364 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25365
25366 * info.el (Info-directory-list, Info-read-node-name-2)
25367 (Info-split-parameter-string): Doc fixes.
25368 (Info-virtual-nodes): Reflow docstring.
25369 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25370 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25371 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25372 Fix typos in docstrings.
25373 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25374 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25375 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25376 (Info-restore-desktop-buffer): Mark unused parameters.
25377 (Info-directory-find-file, Info-directory-find-node)
25378 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25379 (Info-virtual-index-find-node, Info-apropos-find-file)
25380 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25381 Mark unused parameters; fix typos in docstrings.
25382 (Info-virtual-index): Remove unused local variable `nodename'.
25383
25384 2011-04-05 Deniz Dogan <deniz@dogan.se>
25385
25386 * net/rcirc.el: Update my e-mail address.
25387 (rcirc-mode-map): Remove M-o binding.
25388
25389 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25390
25391 * startup.el (command-line): Save the cursor's theme-face
25392 directly, instead of using face-override-spec.
25393
25394 * custom.el (load-theme): Minor optimization in assigning faces.
25395
25396 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25397
25398 * help-fns.el (describe-variable): Complete all variables having
25399 documentation, including keywords.
25400 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25401
25402 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25403
25404 Convert to lexical-binding.
25405
25406 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25407 (bs--get-marked-string, bs--get-modified-string)
25408 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25409 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25410 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25411
25412 * ehelp.el (electric-help-execute-extended)
25413 (electric-help-ctrl-x-prefix):
25414 * hexl.el (hexl-revert-buffer-function):
25415 * linum.el (linum-after-change, linum-after-scroll):
25416 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25417
25418 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25419
25420 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25421
25422 * epa-dired.el:
25423 * epa-mail.el:
25424 * epa-hook.el:
25425 * epa-file.el:
25426 * epa.el:
25427 * epg.el: Use lexical binding.
25428
25429 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25430
25431 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25432
25433 * textmodes/flyspell.el (flyspell-word): Recognize default
25434 dictionary case for flyspell-mark-duplications-exceptions.
25435 Use regexp matching for languages.
25436 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25437 default dictionary (Bug#7926).
25438
25439 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25440
25441 * emacs-lisp/package.el (package--with-work-buffer):
25442 Recognize https URLs.
25443
25444 * net/network-stream.el: Move from gnus/proto-stream.el.
25445 Change prefix to network-stream throughout.
25446 (open-protocol-stream): Merge into open-network-stream, leaving
25447 open-protocol-stream as an alias. Handle nil BUFFER args.
25448
25449 * subr.el (open-network-stream): Move to net/network-stream.el.
25450
25451 2011-04-02 Glenn Morris <rgm@gnu.org>
25452
25453 * find-dired.el (find-exec-terminator): New option.
25454 (find-ls-option): Test for -ls support.
25455 (find-ls-subdir-switches): Test for -b in find-ls-option.
25456 (find-dired, find-grep-dired): Doc fixes.
25457 (find-dired): Use find-exec-terminator.
25458
25459 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25460 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25461 (find-name-arg): Remove purecopy.
25462
25463 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25464 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25465 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25466 accordingly. Don't add the null-device if not needed.
25467
25468 * files.el (save-some-buffers): Doc fix.
25469
25470 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25471
25472 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25473
25474 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25475
25476 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25477 Use `dolist' rather than `mapcar'.
25478
25479 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25480
25481 Add lexical binding.
25482
25483 * subr.el (apply-partially): Use new closures rather than CL.
25484 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25485 (dolist, dotimes): Use slightly different expansion for lexical code.
25486 (functionp): Move to C.
25487 (letrec): New macro.
25488 (with-wrapper-hook): Use it and apply-partially instead of CL.
25489 (eval-after-load): Preserve lexical-binding.
25490 (save-window-excursion, with-output-to-temp-buffer): Turn them
25491 into macros.
25492
25493 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25494
25495 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25496 than the arglist.
25497 (help-add-fundoc-usage): Don't add `Not documented'.
25498 (help-function-arglist): Handle closures, subroutines, and new
25499 byte-code-functions.
25500 (help-make-usage): Remove leading underscores.
25501 (describe-function-1): Handle closures.
25502 (describe-variable): Use special-variable-p for completion.
25503
25504 * files.el (lexical-binding): Declare safe.
25505
25506 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25507 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25508 (pcase): Add `let' pattern.
25509 Change memoization so it actually works.
25510 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25511 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25512 <let>: New case.
25513
25514 * emacs-lisp/macroexp.el: Use lexical binding.
25515 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25516 Don't convert ' to #' without checking that it's indeed quoting
25517 a lambda.
25518
25519 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25520 Use eval-sexp-add-defvars.
25521 (eval-sexp-add-defvars): New fun.
25522
25523 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25524
25525 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25526 Don't autoload.
25527 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25528 than the internal `byte-compile-lambda'.
25529 (defmethod): Don't hide code under quotes.
25530 (eieio-defmethod): New `code' argument.
25531
25532 * emacs-lisp/eieio-comp.el: Remove.
25533
25534 * emacs-lisp/edebug.el (edebug-eval-defun)
25535 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25536 (edebug-toggle): Avoid `eval'.
25537
25538 * emacs-lisp/disass.el (disassemble-internal): Handle new
25539 `closure' objects.
25540 (disassemble-1): Handle new byte codes.
25541
25542 * emacs-lisp/cl.el (pushnew): Silence warning.
25543
25544 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25545 (cl-byte-compile-throw): Remove.
25546 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25547
25548 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25549 closures.
25550
25551 * emacs-lisp/cconv.el: New file.
25552
25553 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25554 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25555 (byte-compile-initial-macro-environment):
25556 Handle declare-function here.
25557 (byte-compile--lexical-environment): New var.
25558 (byte-stack-ref, byte-stack-set, byte-discardN)
25559 (byte-discardN-preserve-tos): New lap codes.
25560 (byte-interactive-p): Don't use any more.
25561 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25562 New macros.
25563 (byte-compile-lapcode): Use them and handle new lap codes.
25564 (byte-compile-obsolete): Remove.
25565 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25566 (byte-compile-arglist-warn): Check late def of inlinable funs.
25567 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25568 since they should have been expanded by now.
25569 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25570 (byte-compile-from-buffer): Remove unused second arg.
25571 (byte-compile-preprocess): New function.
25572 (byte-compile-toplevel-file-form): New function to distinguish
25573 file-form calls from outside from file-form calls from hunk-handlers.
25574 (byte-compile-file-form): Simplify.
25575 (byte-compile-file-form-defsubst): Remove.
25576 (byte-compile-file-form-defmumble): Simplify now that
25577 byte-compile-lambda always returns a byte-code-function.
25578 (byte-compile): Preprocess.
25579 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25580 Remove, not used any more.
25581 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25582 (byte-compile-make-args-desc): New funs.
25583 (byte-compile-lambda): Handle lexical functions. Always return
25584 a byte-code-function.
25585 (byte-compile-reserved-constants): New var, to make up room for
25586 closed-over variables.
25587 (byte-compile-constants-vector): Obey it.
25588 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25589 (byte-compile-macroexpand-declare-function): New function.
25590 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25591 byte-code-functions.
25592 (byte-compile-form): Check obsolescence here.
25593 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25594 (byte-compile-variable-ref): Remove.
25595 (byte-compile-dynamic-variable-op): New fun.
25596 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25597 (byte-compile-variable-set): New funs.
25598 (byte-compile-discard): Add 2 args.
25599 (byte-compile-stack-ref, byte-compile-stack-set)
25600 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25601 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25602 macroexpand-all instead.
25603 (byte-compile-quote-form): Remove.
25604 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25605 (byte-compile-bind, byte-compile-unbind): New funs.
25606 (byte-compile-let): Handle let* and lexical binding.
25607 (byte-compile-let*): Remove.
25608 (byte-compile-catch, byte-compile-unwind-protect)
25609 (byte-compile-track-mouse, byte-compile-condition-case):
25610 Handle a new :fun-body form, used for lexical scoping.
25611 (byte-compile-save-window-excursion)
25612 (byte-compile-with-output-to-temp-buffer): Remove.
25613 (byte-compile-defun): Simplify.
25614 (byte-compile-stack-adjustment): New fun.
25615 (byte-compile-out): Use it.
25616 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25617
25618 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25619 handler any more.
25620
25621 * emacs-lisp/byte-opt.el: Use lexical binding.
25622 (byte-inline-lapcode): Remove (to bytecomp).
25623 (byte-compile-inline-expand): Pay attention to inlining to/from
25624 lexically bound code.
25625 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25626 any more.
25627 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25628 any more and don't call compiler-macros.
25629 (byte-compile-splice-in-already-compiled-code): Remove.
25630 (byte-code): Don't inline any more.
25631 (disassemble-offset): Receive `bytes' as argument rather than via
25632 dynamic scoping.
25633 (byte-compile-tag-number): Declare before first use.
25634 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25635 `return' even if make-spliceable.
25636 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25637 obsolete interactive-p.
25638 (byte-optimize-lapcode): Optimize new lap-codes.
25639 Don't trip up on new form of `byte-constant' lap code.
25640
25641 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25642
25643 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25644
25645 * custom.el (custom-initialize-default, custom-declare-variable):
25646 Use `defvar'.
25647
25648 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25649 New variables.
25650 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25651 (COMPILE_FIRST): Add macroexp and cconv.
25652 * makefile.w32-in: Mirror changes in Makefile.in.
25653
25654 * vc/cvs-status.el:
25655 * vc/diff-mode.el:
25656 * vc/log-edit.el:
25657 * vc/log-view.el:
25658 * vc/smerge-mode.el:
25659 * textmodes/bibtex-style.el:
25660 * textmodes/css-mode.el:
25661 * startup.el:
25662 * uniquify.el:
25663 * minibuffer.el:
25664 * newcomment.el:
25665 * reveal.el:
25666 * server.el:
25667 * mpc.el:
25668 * emacs-lisp/smie.el:
25669 * doc-view.el:
25670 * dired.el:
25671 * abbrev.el: Use lexical binding.
25672
25673 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25674
25675 * info.el (info-display-manual): New function.
25676
25677 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25678
25679 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25680
25681 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25682
25683 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25684 an entry for that server in rcirc-authinfo. (Bug#8385)
25685
25686 2011-03-31 Glenn Morris <rgm@gnu.org>
25687
25688 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25689
25690 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25691
25692 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25693
25694 * progmodes/python.el (python-default-interpreter)
25695 (python-python-command-args, python-jython-command-args)
25696 (python-which-shell, python-which-args, python-which-bufname)
25697 (python-file-queue, python-comint-output-filter-function)
25698 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25699 variables and functions.
25700
25701 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25702
25703 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25704 (completion-in-region-mode): New minor mode.
25705 (completion-in-region): Use it.
25706 (completion-in-region--data, completion-in-region-mode-map): New vars.
25707 (completion-in-region--postch): New function.
25708 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25709 New vars.
25710 (completion--capf-wrapper): New function.
25711 (completion-at-point): Use it to track well-behavedness of
25712 hook functions.
25713 (completion-help-at-point): New command.
25714
25715 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25716
25717 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25718 syntax class to search for whitespace on a single line
25719 (Message-ID: <4D938140.4030905@redhat.com>).
25720
25721 2011-03-30 Leo Liu <sdl.web@gmail.com>
25722
25723 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25724 New commands.
25725 (edit-abbrevs-map): Bind them here.
25726 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25727
25728 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25729
25730 * allout.el (allout-hide-by-annotation, allout-flag-region):
25731 Reduce possibility of overlay leakage by making them volatile.
25732
25733 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25734 hash is not shared between buffers. Mode initialization is
25735 responsible for giving it a useful starting value.
25736 (allout-item-span): Reduce possibility of overlay leakage by
25737 making them volatile.
25738 (allout-widgets-count-buttons-in-region): Add diagnostic function
25739 for tracking down button overlay leaks.
25740
25741 2011-03-29 Leo Liu <sdl.web@gmail.com>
25742
25743 * ido.el (ido-read-internal): Use the default history var
25744 minibuffer-history if no HISTORY is specified.
25745
25746 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25747
25748 * net/imap.el (imap-shell-open, imap-process-connection-type):
25749 Use imap-process-connection-type for 'shell' streams as well as
25750 Kerberos, SSL, other subprocesses.
25751
25752 2011-03-28 Leo Liu <sdl.web@gmail.com>
25753
25754 * abbrev.el (abbrev-table-empty-p): New function.
25755 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25756 nonempty ones. (Bug#5937)
25757
25758 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25759
25760 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25761
25762 2011-03-27 Leo Liu <sdl.web@gmail.com>
25763
25764 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25765 for foreground and background colors.
25766 (ansi-color-make-color-map): Adapt.
25767
25768 2011-03-25 Leo Liu <sdl.web@gmail.com>
25769
25770 * midnight.el (midnight-time-float): Remove. Note it calculates
25771 the microsecond component incorrectly and seconds-to-time does the
25772 same job.
25773 Remove redundant (require 'timer).
25774
25775 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25776 (ido-completions): Remove unused arguments. (Bug#8329)
25777
25778 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25779
25780 * minibuffer.el (completion--flush-all-sorted-completions):
25781 Remove itself from hook.
25782 (completion-at-point): Let the functions perform the completion
25783 immediately and return nil or t.
25784 * comint.el (comint-dynamic-complete-functions): Now identical to
25785 completion-at-point-functions.
25786 (comint-dynamic-list-input-ring): Remove unused var `index'.
25787 (comint--match-partial-filename, comint--unquote&expand-filename):
25788 New funs, split from comint-match-partial-filename.
25789 (comint-dynamic-complete): Use completion-at-point.
25790 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25791
25792 2011-03-24 Drew Adams <drew.adams@oracle.com>
25793
25794 * thingatpt.el: Support `defun'.
25795
25796 2011-03-23 Leo Liu <sdl.web@gmail.com>
25797
25798 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25799
25800 * help-mode.el (help-mode-finish): Tweak regexp.
25801
25802 2011-03-23 Glenn Morris <rgm@gnu.org>
25803
25804 * eshell/esh-opt.el (eshell-eval-using-options):
25805 Do not bind unused local variable `eshell-option-stub'.
25806
25807 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25808
25809 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25810
25811 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25812 keymap variable in `with-no-warnings' to avoid a warning when the
25813 keymap has been already `defconst'ed.
25814
25815 2011-03-22 Leo Liu <sdl.web@gmail.com>
25816
25817 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25818 encode all chars in abbrevs; otherwise use emacs-mule or
25819 utf-8-emacs. (Bug#8308)
25820
25821 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25822
25823 * simple.el (backward-delete-char-untabify):
25824 Avoid warning about using `delete-backward-char'.
25825
25826 * image.el (image-type-file-name-regexps): Make it variable.
25827 `imagemagick-register-types' modifies it, and the user may want
25828 to add new extensions for known image types.
25829 (imagemagick-register-types): Throw error if not using ImageMagick.
25830
25831 2011-03-22 Leo Liu <sdl.web@gmail.com>
25832
25833 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25834 located before rcirc-prompt-end-marker.
25835 (rcirc-complete): Error if point is not after rcirc prompt.
25836 Handle the case when table is nil.
25837 (rcirc-user-authenticated): Define to fix compiler warning.
25838
25839 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25840
25841 * custom.el (custom--inhibit-theme-enable): Make it affect only
25842 custom-theme-set-variables and custom-theme-set-faces.
25843 (provide-theme): Ignore custom--inhibit-theme-enable.
25844 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25845 (custom-enabling-themes): Delete variable.
25846 (enable-theme): Accept only loaded themes as arguments.
25847 Ignore the special custom-enabled-themes variable.
25848 (custom-enabled-themes): Forbid themes from setting this.
25849 Eliminate use of custom-enabling-themes.
25850 (custom-push-theme): Quote "changed" custom var entry.
25851
25852 2011-03-21 Leo Liu <sdl.web@gmail.com>
25853
25854 * ido.el (ido-read-internal): Add ido-selected to history instead
25855 of user input.
25856
25857 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25858
25859 * subr.el (deferred-action-list, deferred-action-function):
25860 Mark obsolete.
25861
25862 2011-03-21 Leo Liu <sdl.web@gmail.com>
25863
25864 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25865 change on 2011-02-13 (bug#8309).
25866
25867 * minibuffer.el (read-file-name-function): Change default value.
25868 (read-file-name--defaults): Rename from read-file-name-defaults.
25869 (read-file-name-default): Rename from read-file-name.
25870 (read-file-name): Call read-file-name-function.
25871
25872 2011-03-21 Glenn Morris <rgm@gnu.org>
25873
25874 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25875 Doc fixes.
25876
25877 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25878
25879 * cus-theme.el: Add missing provide statement.
25880 (customize-create-theme): Extract theme value correctly.
25881 (custom-theme-visit-theme): Autoload.
25882 (customize-create-theme): Prompt before inserting default faces.
25883
25884 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25885
25886 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25887 units and musical notes.
25888
25889 2011-03-20 Leo Liu <sdl.web@gmail.com>
25890
25891 * ido.el (ido-read-internal): Use completing-read-default.
25892 (ido-completing-read): Fix compatibility with completing-read.
25893
25894 2011-03-20 Christian Ohler <ohler@gnu.org>
25895
25896 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25897 (ert-delete-all-tests): Use `called-interactively-p' rather than
25898 `interactive-p'.
25899 (ert--make-xrefs-region): Respect END.
25900
25901 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25902
25903 * dired-aux.el (dired-create-directory): Signal an error if the
25904 directory already exists (Bug#8246).
25905
25906 * facemenu.el (list-colors-display): Call list-faces-display
25907 inside with-help-window.
25908 (list-colors-print): Use display property to align the final
25909 column, instead of checking window-width.
25910
25911 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25912
25913 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25914 windows-nt systems.
25915 (emerge-protect-metachars): Quote correctly for ms-dos and
25916 windows-nt systems.
25917
25918 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25919
25920 * info.el (info-initialize): Replace all uses of `:' with
25921 path-separator for compatibility with non-Unix systems.
25922 Cache quoting of path-separator. (Bug#8258)
25923
25924 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25925
25926 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25927 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25928 (mouse-avoidance-mode): Fix typos in docstrings.
25929
25930 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25931
25932 * startup.el (package-subdirectory-regexp): Move from package.el.
25933 Omit \\` and \\', and let callers add them.
25934
25935 * emacs-lisp/package.el (package-strip-version)
25936 (package-load-all-descriptors): Add \\` and \\' to
25937 package-subdirectory-regexp before using it.
25938 (package-untar-buffer): New arg DIR; ensure that file untars only
25939 into this expected directory. Remove superfluous delete-region.
25940 (package-unpack): Caller changed.
25941 (package-tar-file-info): Use package-subdirectory-regexp.
25942
25943 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25944
25945 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25946 diff-mode-shared-map (bug#8284).
25947 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25948
25949 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25950
25951 * calendar/time-date.el (format-seconds): Use assoc instead of
25952 assoc-string, since assoc-string doesn't exist in XEmacs.
25953
25954 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25955
25956 * custom.el (custom-known-themes): Reflow docstring.
25957 (custom-theme-load-path): Fix typo in docstring.
25958 (load-theme): Fix typo in error message.
25959 (custom-available-themes, custom-variable-theme-value):
25960 Use `let', not `let*'.
25961
25962 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25963
25964 * calc/README: Mention inclusion of musical notes.
25965
25966 * calc/calc-units.el (calc-lu-quant): Rename from
25967 `calc-logunits-quantity'.
25968 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25969 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25970 (calc-db): Rename from `calc-dblevel'.
25971 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25972 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25973 (calc-np): Rename from `calc-nplevel'.
25974 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25975 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25976 (calc-lu-plus): Rename from `calc-logunits-add'.
25977 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25978 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25979 (calc-lu-minus): Rename from `calc-logunits-sub'.
25980 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25981 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25982 (calc-lu-times): Rename from `calc-logunits-mul'.
25983 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25984 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25985 (calc-lu-divide): Rename from `calc-logunits-div'.
25986 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25987 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25988
25989 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25990 functions being autoloaded.
25991
25992 * calc/calc.el (calc-lu-power-reference): Rename from
25993 `calc-logunits-power-reference'.
25994 (calc-lu-field-reference): Rename from
25995 `calc-logunits-field-reference'.
25996
25997 * calc/calc-help.el (calc-l-prefix-help):
25998 Mention musical note functions.
25999
26000 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26001
26002 * minibuffer.el (completion-all-sorted-completions):
26003 Use :completion-cycle-penalty text property if present.
26004
26005 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26006
26007 * allout.el (allout-yank-processing): Adjust for new rebulleting
26008 regime so bullet being yanked is used without prompting the user
26009 for a choice.
26010
26011 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26012
26013 * startup.el (command-line): Warn the user that _emacs is deprecated.
26014
26015 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26016
26017 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26018 (delphi-verbose, delphi-comment-face, delphi-string-face)
26019 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26020 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26021 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26022 (delphi-new-comment-line, delphi-font-lock-defaults)
26023 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26024 Fix typos in docstrings.
26025
26026 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26027
26028 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26029 Invert the roles of character and string values for INSTEAD, so a
26030 string is used for the more common case of a defaulting prompt.
26031
26032 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26033
26034 * progmodes/ruby-mode.el (ruby-backward-sexp):
26035 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26036 * play/gamegrid.el (gamegrid-make-face):
26037 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26038 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26039 * notifications.el (notifications-notify):
26040 * net/xesam.el (xesam-search-engines):
26041 * net/quickurl.el (quickurl-list-insert):
26042 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26043
26044 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26045
26046 * startup.el (command-line): Update package subdirectory regexp.
26047
26048 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26049
26050 * allout.el (allout-abbreviate-flattened-numbering)
26051 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26052
26053 * subr.el (read-char-choice): Only show the cursor after the prompt,
26054 not after the answer.
26055
26056 2011-03-15 Kevin Ryde <user42@zip.com.au>
26057
26058 * help-fns.el (variable-at-point): Skip leading quotes, if any
26059 (bug#8253).
26060
26061 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26062
26063 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26064 warning message.
26065
26066 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26067
26068 * shell.el (shell): When called interactively, offer to change the
26069 shell file name on remote hosts.
26070
26071 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26072
26073 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26074 integration for LDAP parameters. The host, base, user or binddn,
26075 and secret tokens can be specified in a netrc file, for instance.
26076 This is optional because an `auth-source' parameter must be
26077 specified in the search attributes.
26078
26079 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26080
26081 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26082
26083 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26084
26085 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26086 into declaration. Remove redundant and harmful binding.
26087
26088 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26089
26090 * files.el (file-ownership-preserved-p): Pass `integer' as an
26091 explicit 2nd argument to `file-attributes'. If the file's owner
26092 is the Administrators group on Windows, and the current user is
26093 Administrator, consider that a match.
26094
26095 * server.el (server-ensure-safe-dir): Consider server directory
26096 safe on MS-Windows if its owner is the Administrators group while
26097 the current Emacs user is Administrator. Use `=' to compare
26098 numerical UIDs, since they could be integers or floats.
26099
26100 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26101
26102 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26103
26104 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26105
26106 Sync with Tramp 2.2.1.
26107
26108 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26109
26110 * net/trampver.el: Update release number.
26111
26112 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26113
26114 * progmodes/compile.el (compilation--previous-directory): Fix up
26115 various nil/dead-marker mismatches (bug#8014).
26116 (compilation-directory-properties, compilation-error-properties):
26117 Don't call it at a position past the one we're about to change.
26118
26119 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26120 Disable obsolescence warnings in the file that declares it.
26121
26122 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26123
26124 * allout-widgets.el (allout-widgets-tally):
26125 Initialize allout-widgets-tally as a hash table rather than nil to
26126 prevent mode-line redisplay warnings. Also, clarify the module
26127 description and fix a comment typo.
26128
26129 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26130
26131 * help-fns.el (describe-variable): Don't complete keywords.
26132 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26133
26134 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26135
26136 * emacs-lisp/package.el (package-version-join): Impose a standard
26137 string representation for pre/alpha/beta version lists.
26138 (package-unpack-single): Standardize the directory name by passing
26139 it through package-version-join.
26140 (package-strip-rcs-id): Accept any version string that does not
26141 signal an error in version-to-list.
26142
26143 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26144
26145 * simple.el (delete-trailing-whitespace): Return nil for the
26146 benefit of `write-file-functions'.
26147
26148 2011-03-10 Glenn Morris <rgm@gnu.org>
26149
26150 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26151
26152 * vc/vc-git.el (vc-git-program): New option.
26153 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26154 (vc-git--call): Use it.
26155
26156 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26157
26158 * cus-edit.el (Custom-newline): If no button at point, look
26159 for a subgroup button at start-of-line. (Bug#2298)
26160
26161 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26162
26163 2011-03-10 Julien Danjou <julien@danjou.info>
26164
26165 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26166 `cursor-type' is nil.
26167
26168 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26169
26170 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26171
26172 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26173
26174 * allout.el: Change so yank of distinctive-bullet items
26175 preserves the existing header prefix, rebulleting it if necessary,
26176 rather than replacing it. This is necessary for proper operation
26177 of cooperative addons like allout-widgets.
26178 (allout-make-topic-prefix, allout-rebullet-heading):
26179 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26180 value as alternate bullet to be used, instead of prompting the user
26181 for a bullet character.
26182
26183 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26184
26185 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26186 Do not use `tramp-file-name-port', because this returns also
26187 `tramp-default-port'.
26188
26189 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26190
26191 * net/rcirc.el (rcirc-handler-001): Remove useless
26192 with-rcirc-process-buffer.
26193 (rcirc-check-auth-status): Swap arguments to string-match.
26194
26195 2011-03-09 Glenn Morris <rgm@gnu.org>
26196
26197 * shell.el (shell-mode):
26198 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26199
26200 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26201 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26202
26203 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26204
26205 * emacs-lisp/package.el (package-refresh-contents)
26206 (package-menu-execute): Use condition-case-no-debug.
26207
26208 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26209
26210 * simple.el (shell-command-to-string): Use `process-file'.
26211
26212 * emacs-lisp/package.el (package-tar-file-info): Handle also
26213 remote files.
26214
26215 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26216 Use `equal' for upload base check.
26217
26218 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26219
26220 * textmodes/texinfo.el (texinfo-environments):
26221 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26222
26223 2011-03-08 Glenn Morris <rgm@gnu.org>
26224
26225 * cus-start.el (cursor-in-non-selected-windows):
26226 Fix :set quoting oddness. (Bug#8192)
26227
26228 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26229 in some setf expressions. (Bug#2159)
26230
26231 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26232
26233 * custom.el (custom-available-themes): Return themes in
26234 alphabetical order.
26235
26236 See ChangeLog.15 for earlier changes.
26237
26238 ;; Local Variables:
26239 ;; coding: utf-8
26240 ;; End:
26241
26242 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26243
26244 This file is part of GNU Emacs.
26245
26246 GNU Emacs is free software: you can redistribute it and/or modify
26247 it under the terms of the GNU General Public License as published by
26248 the Free Software Foundation, either version 3 of the License, or
26249 (at your option) any later version.
26250
26251 GNU Emacs is distributed in the hope that it will be useful,
26252 but WITHOUT ANY WARRANTY; without even the implied warranty of
26253 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26254 GNU General Public License for more details.
26255
26256 You should have received a copy of the GNU General Public License
26257 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.